docs.go 885 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695
  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.Hedgeoutmainconfig"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QryReportAreaSpotPL": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询现货损益报表(现货损益报表)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "查询类型 1-日报表 2-月报表",
  1017. "name": "querytype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "string",
  1023. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1024. "name": "querydate",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "现货商品ID",
  1031. "name": "wrstandardid",
  1032. "in": "query"
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "品牌ID",
  1037. "name": "spotgoodsbrandid",
  1038. "in": "query"
  1039. },
  1040. {
  1041. "type": "integer",
  1042. "description": "型号ID",
  1043. "name": "spotgoodsmodelid",
  1044. "in": "query"
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDayExposure": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "string",
  1090. "description": "交易日(格式:yyyyMMdd)",
  1091. "name": "tradedate",
  1092. "in": "query",
  1093. "required": true
  1094. }
  1095. ],
  1096. "responses": {
  1097. "200": {
  1098. "description": "OK",
  1099. "schema": {
  1100. "type": "array",
  1101. "items": {
  1102. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1103. }
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/Ermcp/QryReportDayFinance": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "企业风险管理(app)"
  1127. ],
  1128. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1129. "parameters": [
  1130. {
  1131. "type": "integer",
  1132. "description": "用户ID",
  1133. "name": "userid",
  1134. "in": "query",
  1135. "required": true
  1136. },
  1137. {
  1138. "type": "string",
  1139. "description": "交易日(格式:yyyyMMdd)",
  1140. "name": "tradedate",
  1141. "in": "query",
  1142. "required": true
  1143. }
  1144. ],
  1145. "responses": {
  1146. "200": {
  1147. "description": "OK",
  1148. "schema": {
  1149. "type": "array",
  1150. "items": {
  1151. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1152. }
  1153. }
  1154. },
  1155. "500": {
  1156. "description": "Internal Server Error",
  1157. "schema": {
  1158. "$ref": "#/definitions/app.Response"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "/Ermcp/QryReportDayFinanceFp": {
  1165. "get": {
  1166. "security": [
  1167. {
  1168. "ApiKeyAuth": []
  1169. }
  1170. ],
  1171. "produces": [
  1172. "application/json"
  1173. ],
  1174. "tags": [
  1175. "企业风险管理(app)"
  1176. ],
  1177. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1178. "parameters": [
  1179. {
  1180. "type": "integer",
  1181. "description": "用户ID",
  1182. "name": "userid",
  1183. "in": "query",
  1184. "required": true
  1185. },
  1186. {
  1187. "type": "string",
  1188. "description": "交易日(格式:yyyyMMdd)",
  1189. "name": "tradedate",
  1190. "in": "query",
  1191. "required": true
  1192. }
  1193. ],
  1194. "responses": {
  1195. "200": {
  1196. "description": "OK",
  1197. "schema": {
  1198. "type": "array",
  1199. "items": {
  1200. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1201. }
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/QryReportDayFinanceKx": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "用户ID",
  1231. "name": "userid",
  1232. "in": "query",
  1233. "required": true
  1234. },
  1235. {
  1236. "type": "string",
  1237. "description": "交易日(格式:yyyyMMdd)",
  1238. "name": "tradedate",
  1239. "in": "query",
  1240. "required": true
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "type": "array",
  1248. "items": {
  1249. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1250. }
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Ermcp/QryReportDaySpot": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "企业风险管理(app)"
  1274. ],
  1275. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "用户ID",
  1280. "name": "userid",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "string",
  1286. "description": "交易日(格式:yyyyMMdd)",
  1287. "name": "tradedate",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "type": "array",
  1297. "items": {
  1298. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1299. }
  1300. }
  1301. },
  1302. "500": {
  1303. "description": "Internal Server Error",
  1304. "schema": {
  1305. "$ref": "#/definitions/app.Response"
  1306. }
  1307. }
  1308. }
  1309. }
  1310. },
  1311. "/Ermcp/QryReportDaySpotDetail": {
  1312. "get": {
  1313. "security": [
  1314. {
  1315. "ApiKeyAuth": []
  1316. }
  1317. ],
  1318. "produces": [
  1319. "application/json"
  1320. ],
  1321. "tags": [
  1322. "企业风险管理(app)"
  1323. ],
  1324. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1325. "parameters": [
  1326. {
  1327. "type": "integer",
  1328. "description": "用户ID",
  1329. "name": "userid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "integer",
  1335. "description": "现货商品id",
  1336. "name": "wrstandardid",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "交易日(格式:yyyyMMdd)",
  1343. "name": "tradedate",
  1344. "in": "query",
  1345. "required": true
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "OK",
  1351. "schema": {
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1355. }
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Ermcp/QryReportMonthFinance": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "企业风险管理(app)"
  1379. ],
  1380. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1381. "parameters": [
  1382. {
  1383. "type": "integer",
  1384. "description": "用户ID",
  1385. "name": "userid",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "周期时间:月(格式:yyyyMM)",
  1392. "name": "cycletime",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QryReportMonthSpot": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "用户ID",
  1434. "name": "userid",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "string",
  1440. "description": "周期时间:月(格式:yyyyMM)",
  1441. "name": "cycletime",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QryReportMonthSpotDetail": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "integer",
  1489. "description": "现货商品id",
  1490. "name": "wrstandardid",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "周期时间:月(格式:yyyyMM)",
  1497. "name": "cycletime",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "OK",
  1505. "schema": {
  1506. "type": "array",
  1507. "items": {
  1508. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1509. }
  1510. }
  1511. },
  1512. "500": {
  1513. "description": "Internal Server Error",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/Ermcp/QueryAccMgrBizGroupSet": {
  1522. "get": {
  1523. "security": [
  1524. {
  1525. "ApiKeyAuth": []
  1526. }
  1527. ],
  1528. "produces": [
  1529. "application/json"
  1530. ],
  1531. "tags": [
  1532. "企业风险管理(app)"
  1533. ],
  1534. "summary": "查询业务类型分组(账户管理/账户设置)",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "description": "用户ID",
  1539. "name": "userid",
  1540. "in": "query",
  1541. "required": true
  1542. }
  1543. ],
  1544. "responses": {
  1545. "200": {
  1546. "description": "OK",
  1547. "schema": {
  1548. "type": "array",
  1549. "items": {
  1550. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1551. }
  1552. }
  1553. },
  1554. "500": {
  1555. "description": "Internal Server Error",
  1556. "schema": {
  1557. "$ref": "#/definitions/app.Response"
  1558. }
  1559. }
  1560. }
  1561. }
  1562. },
  1563. "/Ermcp/QueryAccMgrLoginUser": {
  1564. "get": {
  1565. "security": [
  1566. {
  1567. "ApiKeyAuth": []
  1568. }
  1569. ],
  1570. "produces": [
  1571. "application/json"
  1572. ],
  1573. "tags": [
  1574. "企业风险管理(app)"
  1575. ],
  1576. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1577. "parameters": [
  1578. {
  1579. "type": "integer",
  1580. "description": "用户ID",
  1581. "name": "userid",
  1582. "in": "query",
  1583. "required": true
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "type": "array",
  1591. "items": {
  1592. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1593. }
  1594. }
  1595. },
  1596. "500": {
  1597. "description": "Internal Server Error",
  1598. "schema": {
  1599. "$ref": "#/definitions/app.Response"
  1600. }
  1601. }
  1602. }
  1603. }
  1604. },
  1605. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1606. "get": {
  1607. "security": [
  1608. {
  1609. "ApiKeyAuth": []
  1610. }
  1611. ],
  1612. "produces": [
  1613. "application/json"
  1614. ],
  1615. "tags": [
  1616. "企业风险管理(app)"
  1617. ],
  1618. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1619. "parameters": [
  1620. {
  1621. "type": "integer",
  1622. "description": "用户ID",
  1623. "name": "userid",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "主账号id",
  1629. "name": "accountid",
  1630. "in": "query"
  1631. }
  1632. ],
  1633. "responses": {
  1634. "200": {
  1635. "description": "OK",
  1636. "schema": {
  1637. "type": "array",
  1638. "items": {
  1639. "$ref": "#/definitions/models.MainAccountInfo"
  1640. }
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Internal Server Error",
  1645. "schema": {
  1646. "$ref": "#/definitions/app.Response"
  1647. }
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/Ermcp/QueryAccMgrRole": {
  1653. "get": {
  1654. "security": [
  1655. {
  1656. "ApiKeyAuth": []
  1657. }
  1658. ],
  1659. "produces": [
  1660. "application/json"
  1661. ],
  1662. "tags": [
  1663. "企业风险管理(app)"
  1664. ],
  1665. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1666. "parameters": [
  1667. {
  1668. "type": "integer",
  1669. "description": "用户ID",
  1670. "name": "userid",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/models.ErmcpRole"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Ermcp/QueryAccMgrRoleMenu": {
  1695. "get": {
  1696. "security": [
  1697. {
  1698. "ApiKeyAuth": []
  1699. }
  1700. ],
  1701. "produces": [
  1702. "application/json"
  1703. ],
  1704. "tags": [
  1705. "企业风险管理(app)"
  1706. ],
  1707. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1708. "parameters": [
  1709. {
  1710. "type": "integer",
  1711. "description": "用户ID",
  1712. "name": "userid",
  1713. "in": "query",
  1714. "required": true
  1715. },
  1716. {
  1717. "type": "string",
  1718. "description": "角色id(可多个,逗号隔开)",
  1719. "name": "roleid",
  1720. "in": "query"
  1721. }
  1722. ],
  1723. "responses": {
  1724. "200": {
  1725. "description": "OK",
  1726. "schema": {
  1727. "type": "array",
  1728. "items": {
  1729. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1730. }
  1731. }
  1732. },
  1733. "500": {
  1734. "description": "Internal Server Error",
  1735. "schema": {
  1736. "$ref": "#/definitions/app.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1743. "get": {
  1744. "security": [
  1745. {
  1746. "ApiKeyAuth": []
  1747. }
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "企业风险管理(app)"
  1754. ],
  1755. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1756. "parameters": [
  1757. {
  1758. "type": "integer",
  1759. "description": "用户ID",
  1760. "name": "userid",
  1761. "in": "query",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "账号id",
  1767. "name": "accountid",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryAccMgrTaaccount": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "用户ID",
  1808. "name": "userid",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryAreaStock": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询机构库存(库存管理/当前库存)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "用户ID",
  1850. "name": "userid",
  1851. "in": "query",
  1852. "required": true
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "type": "array",
  1860. "items": {
  1861. "$ref": "#/definitions/models.ErmcpAreaStock"
  1862. }
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "Internal Server Error",
  1867. "schema": {
  1868. "$ref": "#/definitions/app.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/Ermcp/QueryAreaStockApply": {
  1875. "get": {
  1876. "security": [
  1877. {
  1878. "ApiKeyAuth": []
  1879. }
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "企业风险管理(app)"
  1886. ],
  1887. "summary": "查询库存申请(出入库记录|库存审核)",
  1888. "parameters": [
  1889. {
  1890. "type": "integer",
  1891. "description": "用户ID",
  1892. "name": "userid",
  1893. "in": "query",
  1894. "required": true
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1899. "name": "inouttype",
  1900. "in": "query"
  1901. },
  1902. {
  1903. "type": "integer",
  1904. "description": "合同ID",
  1905. "name": "spotcontractid",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "现货商品ID",
  1911. "name": "wrstandardid",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "品牌ID",
  1917. "name": "spotgoodsbrandid",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "型号ID",
  1923. "name": "spotgoodsmodelid",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "仓库ID",
  1929. "name": "warehouseinfoid",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "string",
  1934. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1935. "name": "applystatus",
  1936. "in": "query"
  1937. }
  1938. ],
  1939. "responses": {
  1940. "200": {
  1941. "description": "OK",
  1942. "schema": {
  1943. "type": "array",
  1944. "items": {
  1945. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1946. }
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/Ermcp/QueryAreaStockApplySum": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "produces": [
  1966. "application/json"
  1967. ],
  1968. "tags": [
  1969. "企业风险管理(app)"
  1970. ],
  1971. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1972. "parameters": [
  1973. {
  1974. "type": "integer",
  1975. "description": "合同ID",
  1976. "name": "spotcontractid",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "type": "array",
  1985. "items": {
  1986. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1987. }
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/Ermcp/QueryAreaStockReport": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "produces": [
  2007. "application/json"
  2008. ],
  2009. "tags": [
  2010. "企业风险管理(app)"
  2011. ],
  2012. "summary": "查询库存报表",
  2013. "parameters": [
  2014. {
  2015. "type": "integer",
  2016. "description": "用户ID",
  2017. "name": "userid",
  2018. "in": "query",
  2019. "required": true
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "查询类型 1-日报表 2-月报表",
  2024. "name": "querytype",
  2025. "in": "query",
  2026. "required": true
  2027. },
  2028. {
  2029. "type": "string",
  2030. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2031. "name": "querydate",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "现货商品ID",
  2038. "name": "wrstandardid",
  2039. "in": "query"
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "品牌ID",
  2044. "name": "spotgoodsbrandid",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "型号ID",
  2050. "name": "spotgoodsmodelid",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "仓库ID",
  2056. "name": "warehouseinfoid",
  2057. "in": "query"
  2058. }
  2059. ],
  2060. "responses": {
  2061. "200": {
  2062. "description": "OK",
  2063. "schema": {
  2064. "type": "array",
  2065. "items": {
  2066. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2067. }
  2068. }
  2069. },
  2070. "500": {
  2071. "description": "Internal Server Error",
  2072. "schema": {
  2073. "$ref": "#/definitions/app.Response"
  2074. }
  2075. }
  2076. }
  2077. }
  2078. },
  2079. "/Ermcp/QueryAreaStockReportDetail": {
  2080. "get": {
  2081. "security": [
  2082. {
  2083. "ApiKeyAuth": []
  2084. }
  2085. ],
  2086. "produces": [
  2087. "application/json"
  2088. ],
  2089. "tags": [
  2090. "企业风险管理(app)"
  2091. ],
  2092. "summary": "查询库存报表明细",
  2093. "parameters": [
  2094. {
  2095. "type": "integer",
  2096. "description": "用户ID",
  2097. "name": "userid",
  2098. "in": "query",
  2099. "required": true
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "查询类型 1-日报表明细 2-月报表明细",
  2104. "name": "querytype",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2111. "name": "detailtype",
  2112. "in": "query",
  2113. "required": true
  2114. },
  2115. {
  2116. "type": "string",
  2117. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2118. "name": "querydate",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "现货商品ID",
  2125. "name": "wrstandardid",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "品牌ID",
  2131. "name": "spotgoodsbrandid",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "型号ID",
  2137. "name": "spotgoodsmodelid",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "仓库ID",
  2143. "name": "warehouseinfoid",
  2144. "in": "query"
  2145. }
  2146. ],
  2147. "responses": {
  2148. "200": {
  2149. "description": "OK",
  2150. "schema": {
  2151. "type": "array",
  2152. "items": {
  2153. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2154. }
  2155. }
  2156. },
  2157. "500": {
  2158. "description": "Internal Server Error",
  2159. "schema": {
  2160. "$ref": "#/definitions/app.Response"
  2161. }
  2162. }
  2163. }
  2164. }
  2165. },
  2166. "/Ermcp/QueryAvaildGoodsGroup": {
  2167. "get": {
  2168. "security": [
  2169. {
  2170. "ApiKeyAuth": []
  2171. }
  2172. ],
  2173. "produces": [
  2174. "application/json"
  2175. ],
  2176. "tags": [
  2177. "企业风险管理(app)"
  2178. ],
  2179. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2180. "parameters": [
  2181. {
  2182. "type": "integer",
  2183. "description": "所属机构ID",
  2184. "name": "userid",
  2185. "in": "query",
  2186. "required": true
  2187. }
  2188. ],
  2189. "responses": {
  2190. "200": {
  2191. "description": "OK",
  2192. "schema": {
  2193. "type": "array",
  2194. "items": {
  2195. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2196. }
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryBusinessDj": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "用户ID",
  2226. "name": "UserId",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "string",
  2232. "description": "现货合同ID, 不填则查所有",
  2233. "name": "relatedid",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "string",
  2238. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2239. "name": "applystatus",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "type": "array",
  2248. "items": {
  2249. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2250. }
  2251. }
  2252. },
  2253. "500": {
  2254. "description": "Internal Server Error",
  2255. "schema": {
  2256. "$ref": "#/definitions/app.Response"
  2257. }
  2258. }
  2259. }
  2260. }
  2261. },
  2262. "/Ermcp/QueryBusinessFp": {
  2263. "get": {
  2264. "security": [
  2265. {
  2266. "ApiKeyAuth": []
  2267. }
  2268. ],
  2269. "produces": [
  2270. "application/json"
  2271. ],
  2272. "tags": [
  2273. "企业风险管理(app)"
  2274. ],
  2275. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2276. "parameters": [
  2277. {
  2278. "type": "integer",
  2279. "description": "用户ID",
  2280. "name": "UserId",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "string",
  2286. "description": "现货合同ID, 不填则查所有",
  2287. "name": "relatedid",
  2288. "in": "query"
  2289. },
  2290. {
  2291. "type": "string",
  2292. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2293. "name": "applystatus",
  2294. "in": "query"
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryBusinessJs": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "用户ID",
  2334. "name": "UserId",
  2335. "in": "query",
  2336. "required": true
  2337. },
  2338. {
  2339. "type": "string",
  2340. "description": "现货合同ID, 不填则查所有",
  2341. "name": "relatedid",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "string",
  2346. "description": "操作申请id",
  2347. "name": "operateapplyid",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2353. "name": "applystatus",
  2354. "in": "query"
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "type": "array",
  2362. "items": {
  2363. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2364. }
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/Ermcp/QueryBusinessJsEx": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "企业风险管理(app)"
  2388. ],
  2389. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "用户ID",
  2394. "name": "UserId",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "string",
  2400. "description": "现货合同ID, 不填则查所有",
  2401. "name": "relatedid",
  2402. "in": "query"
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2407. "name": "applystatus",
  2408. "in": "query"
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryBusinessKx": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "用户ID",
  2448. "name": "UserId",
  2449. "in": "query",
  2450. "required": true
  2451. },
  2452. {
  2453. "type": "string",
  2454. "description": "现货合同ID, 不填则查所有",
  2455. "name": "relatedid",
  2456. "in": "query"
  2457. },
  2458. {
  2459. "type": "string",
  2460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2461. "name": "applystatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Ermcp/QueryChangeLog": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "企业风险管理(app)"
  2496. ],
  2497. "summary": "查询变更记录",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "合同ID",
  2502. "name": "RelatedId",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryContract": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询合同(采购和销售)",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userId",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "合同类型 1-采购, -1-销售",
  2551. "name": "contracttype",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2558. "name": "querytype",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "string",
  2564. "description": "合同ID(SpotContractId)",
  2565. "name": "contractid",
  2566. "in": "query"
  2567. }
  2568. ],
  2569. "responses": {
  2570. "200": {
  2571. "description": "OK",
  2572. "schema": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2576. }
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryErmcpHisOrderDetails": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "获取企业风管期货历史委托单信息",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "资金账户ID",
  2606. "name": "accountID",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "string",
  2612. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2613. "name": "startDate",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "string",
  2618. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2619. "name": "endDate",
  2620. "in": "query"
  2621. }
  2622. ],
  2623. "responses": {
  2624. "200": {
  2625. "description": "OK",
  2626. "schema": {
  2627. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2628. }
  2629. },
  2630. "500": {
  2631. "description": "Internal Server Error",
  2632. "schema": {
  2633. "$ref": "#/definitions/app.Response"
  2634. }
  2635. }
  2636. }
  2637. }
  2638. },
  2639. "/Ermcp/QueryErmcpHisTradeDetails": {
  2640. "get": {
  2641. "security": [
  2642. {
  2643. "ApiKeyAuth": []
  2644. }
  2645. ],
  2646. "produces": [
  2647. "application/json"
  2648. ],
  2649. "tags": [
  2650. "企业风险管理(app)"
  2651. ],
  2652. "summary": "获取企业风管期货历史成交单信息",
  2653. "parameters": [
  2654. {
  2655. "type": "integer",
  2656. "description": "资金账户ID",
  2657. "name": "accountID",
  2658. "in": "query",
  2659. "required": true
  2660. },
  2661. {
  2662. "type": "integer",
  2663. "description": "商品ID",
  2664. "name": "goodsID",
  2665. "in": "query"
  2666. },
  2667. {
  2668. "type": "integer",
  2669. "description": "买卖方向,0:买 1:卖",
  2670. "name": "buyOrSell",
  2671. "in": "query"
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "关联委托单号",
  2676. "name": "orderID",
  2677. "in": "query"
  2678. },
  2679. {
  2680. "type": "string",
  2681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2682. "name": "startDate",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "string",
  2687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2688. "name": "endDate",
  2689. "in": "query"
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2697. }
  2698. },
  2699. "500": {
  2700. "description": "Internal Server Error",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2709. "get": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "produces": [
  2716. "application/json"
  2717. ],
  2718. "tags": [
  2719. "企业风险管理(app)"
  2720. ],
  2721. "summary": "获取企业风管期货内部持仓单信息",
  2722. "parameters": [
  2723. {
  2724. "type": "integer",
  2725. "description": "资金账户ID",
  2726. "name": "accountID",
  2727. "in": "query",
  2728. "required": true
  2729. },
  2730. {
  2731. "type": "integer",
  2732. "description": "商品ID",
  2733. "name": "goodsID",
  2734. "in": "query"
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "买卖方向,0:买 1:卖",
  2739. "name": "buyOrSell",
  2740. "in": "query"
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpOrderDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货委托单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Ermcp/QueryErmcpTradeDetails": {
  2799. "get": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "企业风险管理(app)"
  2810. ],
  2811. "summary": "获取企业风管期货成交单信息",
  2812. "parameters": [
  2813. {
  2814. "type": "integer",
  2815. "description": "资金账户ID",
  2816. "name": "accountID",
  2817. "in": "query",
  2818. "required": true
  2819. },
  2820. {
  2821. "type": "integer",
  2822. "description": "商品ID",
  2823. "name": "goodsID",
  2824. "in": "query"
  2825. },
  2826. {
  2827. "type": "integer",
  2828. "description": "买卖方向,0:买 1:卖",
  2829. "name": "buyOrSell",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "关联委托单号",
  2835. "name": "orderID",
  2836. "in": "query"
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryErmcpTradePosition": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "获取企业风管期货持仓头寸信息",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "资金账户ID",
  2874. "name": "accountID",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "所属市场ID",
  2881. "name": "marketID",
  2882. "in": "query"
  2883. }
  2884. ],
  2885. "responses": {
  2886. "200": {
  2887. "description": "OK",
  2888. "schema": {
  2889. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2890. }
  2891. },
  2892. "500": {
  2893. "description": "Internal Server Error",
  2894. "schema": {
  2895. "$ref": "#/definitions/app.Response"
  2896. }
  2897. }
  2898. }
  2899. }
  2900. },
  2901. "/Ermcp/QueryExposureDetail": {
  2902. "get": {
  2903. "security": [
  2904. {
  2905. "ApiKeyAuth": []
  2906. }
  2907. ],
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "企业风险管理(app)"
  2913. ],
  2914. "summary": "查询敞口现货明细",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "所属机构ID",
  2919. "name": "areaUserId",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "套保商品",
  2926. "name": "middleGoodsId",
  2927. "in": "query",
  2928. "required": true
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryExposureHedgePosition": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构ID",
  2968. "name": "areaUserId",
  2969. "in": "query",
  2970. "required": true
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "type": "array",
  2978. "items": {
  2979. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2980. }
  2981. }
  2982. },
  2983. "500": {
  2984. "description": "Internal Server Error",
  2985. "schema": {
  2986. "$ref": "#/definitions/app.Response"
  2987. }
  2988. }
  2989. }
  2990. }
  2991. },
  2992. "/Ermcp/QueryExposureHedgePositionDetail": {
  2993. "get": {
  2994. "security": [
  2995. {
  2996. "ApiKeyAuth": []
  2997. }
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "企业风险管理(app)"
  3004. ],
  3005. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3006. "parameters": [
  3007. {
  3008. "type": "integer",
  3009. "description": "所属机构ID",
  3010. "name": "areaUserId",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "商品id",
  3017. "name": "goodsId",
  3018. "in": "query",
  3019. "required": true
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp/QueryExposureSpot": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理(app)"
  3053. ],
  3054. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "所属机构ID",
  3059. "name": "areaUserId",
  3060. "in": "query",
  3061. "required": true
  3062. }
  3063. ],
  3064. "responses": {
  3065. "200": {
  3066. "description": "OK",
  3067. "schema": {
  3068. "type": "array",
  3069. "items": {
  3070. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3071. }
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/Ermcp/QueryExposureSpotDetail": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "produces": [
  3091. "application/json"
  3092. ],
  3093. "tags": [
  3094. "企业风险管理(app)"
  3095. ],
  3096. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3097. "parameters": [
  3098. {
  3099. "type": "integer",
  3100. "description": "所属机构ID",
  3101. "name": "areaUserId",
  3102. "in": "query",
  3103. "required": true
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "现货品种ID",
  3108. "name": "wrstandardId",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "type": "array",
  3118. "items": {
  3119. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3120. }
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/Ermcp/QueryFuturesCompany": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "produces": [
  3140. "application/json"
  3141. ],
  3142. "tags": [
  3143. "企业风险管理(app)"
  3144. ],
  3145. "summary": "查询期货公司",
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp/QueryGGConvertConfig": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理(app)"
  3177. ],
  3178. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "品种id(不填则查所有)",
  3183. "name": "goodsgroupid",
  3184. "in": "query"
  3185. }
  3186. ],
  3187. "responses": {
  3188. "200": {
  3189. "description": "OK",
  3190. "schema": {
  3191. "type": "array",
  3192. "items": {
  3193. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3194. }
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/Ermcp/QueryGoodsBrand": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "企业风险管理(app)"
  3218. ],
  3219. "summary": "查询商品品牌",
  3220. "parameters": [
  3221. {
  3222. "type": "integer",
  3223. "description": "用户ID",
  3224. "name": "userid",
  3225. "in": "query",
  3226. "required": true
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "现货商品ID",
  3231. "name": "wrstandardid",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "type": "array",
  3240. "items": {
  3241. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3242. }
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/app.Response"
  3249. }
  3250. }
  3251. }
  3252. }
  3253. },
  3254. "/Ermcp/QueryGoodsModel": {
  3255. "get": {
  3256. "security": [
  3257. {
  3258. "ApiKeyAuth": []
  3259. }
  3260. ],
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "企业风险管理(app)"
  3266. ],
  3267. "summary": "查询商品型号",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "用户ID",
  3272. "name": "userid",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "type": "array",
  3282. "items": {
  3283. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3284. }
  3285. }
  3286. },
  3287. "500": {
  3288. "description": "Internal Server Error",
  3289. "schema": {
  3290. "$ref": "#/definitions/app.Response"
  3291. }
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/Ermcp/QueryHedgePlan": {
  3297. "get": {
  3298. "security": [
  3299. {
  3300. "ApiKeyAuth": []
  3301. }
  3302. ],
  3303. "produces": [
  3304. "application/json"
  3305. ],
  3306. "tags": [
  3307. "企业风险管理(app)"
  3308. ],
  3309. "summary": "查询套保计划",
  3310. "parameters": [
  3311. {
  3312. "type": "integer",
  3313. "description": "用户ID",
  3314. "name": "userId",
  3315. "in": "query",
  3316. "required": true
  3317. },
  3318. {
  3319. "type": "string",
  3320. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3321. "name": "HedgePlanStatus",
  3322. "in": "query",
  3323. "required": true
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "type": "array",
  3331. "items": {
  3332. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3333. }
  3334. }
  3335. },
  3336. "500": {
  3337. "description": "Internal Server Error",
  3338. "schema": {
  3339. "$ref": "#/definitions/app.Response"
  3340. }
  3341. }
  3342. }
  3343. }
  3344. },
  3345. "/Ermcp/QueryHisExposure": {
  3346. "get": {
  3347. "security": [
  3348. {
  3349. "ApiKeyAuth": []
  3350. }
  3351. ],
  3352. "produces": [
  3353. "application/json"
  3354. ],
  3355. "tags": [
  3356. "企业风险管理(app)"
  3357. ],
  3358. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3359. "parameters": [
  3360. {
  3361. "type": "integer",
  3362. "description": "所属机构ID",
  3363. "name": "areaUserId",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "每个品种记录数",
  3370. "name": "lastNum",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Ermcp/QueryMiddleGoods": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "企业风险管理(app)"
  3406. ],
  3407. "summary": "查询套保品种(菜单:套保品种)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "所属机构ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "状态 0-停用 1-正常",
  3419. "name": "status",
  3420. "in": "query",
  3421. "required": true
  3422. }
  3423. ],
  3424. "responses": {
  3425. "200": {
  3426. "description": "OK",
  3427. "schema": {
  3428. "type": "array",
  3429. "items": {
  3430. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3431. }
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3444. "get": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "企业风险管理(app)"
  3455. ],
  3456. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3457. "parameters": [
  3458. {
  3459. "type": "integer",
  3460. "description": "所属机构ID",
  3461. "name": "userid",
  3462. "in": "query",
  3463. "required": true
  3464. },
  3465. {
  3466. "type": "integer",
  3467. "description": "套保品种id",
  3468. "name": "middlegoodsid",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "type": "array",
  3478. "items": {
  3479. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3480. }
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Ermcp/QueryMiddleGoodsDetail": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "企业风险管理(app)"
  3504. ],
  3505. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3506. "parameters": [
  3507. {
  3508. "type": "integer",
  3509. "description": "所属机构ID",
  3510. "name": "userid",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "套保品种id",
  3517. "name": "middlegoodsid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp/QueryPendingAuditInfo": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理(app)"
  3552. ],
  3553. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "UserId",
  3559. "in": "query",
  3560. "required": true
  3561. }
  3562. ],
  3563. "responses": {
  3564. "200": {
  3565. "description": "OK",
  3566. "schema": {
  3567. "type": "array",
  3568. "items": {
  3569. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3570. }
  3571. }
  3572. },
  3573. "500": {
  3574. "description": "Internal Server Error",
  3575. "schema": {
  3576. "$ref": "#/definitions/app.Response"
  3577. }
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "/Ermcp/QueryRealtimeExposure": {
  3583. "get": {
  3584. "security": [
  3585. {
  3586. "ApiKeyAuth": []
  3587. }
  3588. ],
  3589. "produces": [
  3590. "application/json"
  3591. ],
  3592. "tags": [
  3593. "企业风险管理(app)"
  3594. ],
  3595. "summary": "查询实时敞口",
  3596. "parameters": [
  3597. {
  3598. "type": "integer",
  3599. "description": "所属机构ID",
  3600. "name": "AreaUserID",
  3601. "in": "query",
  3602. "required": true
  3603. }
  3604. ],
  3605. "responses": {
  3606. "200": {
  3607. "description": "OK",
  3608. "schema": {
  3609. "type": "array",
  3610. "items": {
  3611. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3612. }
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/app.Response"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/Ermcp/QueryRealtimeExposurePosition": {
  3625. "get": {
  3626. "security": [
  3627. {
  3628. "ApiKeyAuth": []
  3629. }
  3630. ],
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "企业风险管理(app)"
  3636. ],
  3637. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3638. "parameters": [
  3639. {
  3640. "type": "integer",
  3641. "description": "所属机构ID",
  3642. "name": "areaUserId",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "套保商品ID",
  3649. "name": "middleGoodsId",
  3650. "in": "query",
  3651. "required": true
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "type": "array",
  3659. "items": {
  3660. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3661. }
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Ermcp/QuerySpotContract": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "企业风险管理(app)"
  3685. ],
  3686. "summary": "查询现货合同(对应现货合同菜单)",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "用户ID",
  3691. "name": "userId",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3698. "name": "QueryType",
  3699. "in": "query",
  3700. "required": true
  3701. }
  3702. ],
  3703. "responses": {
  3704. "200": {
  3705. "description": "OK",
  3706. "schema": {
  3707. "type": "array",
  3708. "items": {
  3709. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3710. }
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Ermcp/QuerySpotGoodsPrice": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "企业风险管理(app)"
  3734. ],
  3735. "summary": "查询现货市价(现货市价)",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "用户ID",
  3740. "name": "userid",
  3741. "in": "query",
  3742. "required": true
  3743. }
  3744. ],
  3745. "responses": {
  3746. "200": {
  3747. "description": "OK",
  3748. "schema": {
  3749. "type": "array",
  3750. "items": {
  3751. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3752. }
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/Ermcp/QuerySpotGoodsPriceLog": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "企业风险管理(app)"
  3776. ],
  3777. "summary": "查询现货市价详情(现货市价/详情)",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "用户ID",
  3782. "name": "userid",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "integer",
  3788. "description": "现货商品ID",
  3789. "name": "wrstandardid",
  3790. "in": "query",
  3791. "required": true
  3792. }
  3793. ],
  3794. "responses": {
  3795. "200": {
  3796. "description": "OK",
  3797. "schema": {
  3798. "type": "array",
  3799. "items": {
  3800. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3801. }
  3802. }
  3803. },
  3804. "500": {
  3805. "description": "Internal Server Error",
  3806. "schema": {
  3807. "$ref": "#/definitions/app.Response"
  3808. }
  3809. }
  3810. }
  3811. }
  3812. },
  3813. "/Ermcp/QueryTradeConfigTMP": {
  3814. "get": {
  3815. "security": [
  3816. {
  3817. "ApiKeyAuth": []
  3818. }
  3819. ],
  3820. "produces": [
  3821. "application/json"
  3822. ],
  3823. "tags": [
  3824. "企业风险管理(app)"
  3825. ],
  3826. "summary": "查询交易模板配置",
  3827. "parameters": [
  3828. {
  3829. "type": "integer",
  3830. "description": "所属机构id",
  3831. "name": "areauserid",
  3832. "in": "query",
  3833. "required": true
  3834. }
  3835. ],
  3836. "responses": {
  3837. "200": {
  3838. "description": "OK",
  3839. "schema": {
  3840. "type": "array",
  3841. "items": {
  3842. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3843. }
  3844. }
  3845. },
  3846. "500": {
  3847. "description": "Internal Server Error",
  3848. "schema": {
  3849. "$ref": "#/definitions/app.Response"
  3850. }
  3851. }
  3852. }
  3853. }
  3854. },
  3855. "/Ermcp/QueryUserInfo": {
  3856. "get": {
  3857. "security": [
  3858. {
  3859. "ApiKeyAuth": []
  3860. }
  3861. ],
  3862. "produces": [
  3863. "application/json"
  3864. ],
  3865. "tags": [
  3866. "企业风险管理(app)"
  3867. ],
  3868. "summary": "查询客户资料",
  3869. "parameters": [
  3870. {
  3871. "type": "integer",
  3872. "description": "所属机构用户ID",
  3873. "name": "MemberUserID",
  3874. "in": "query",
  3875. "required": true
  3876. },
  3877. {
  3878. "type": "integer",
  3879. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3880. "name": "queryType",
  3881. "in": "query",
  3882. "required": true
  3883. }
  3884. ],
  3885. "responses": {
  3886. "200": {
  3887. "description": "OK",
  3888. "schema": {
  3889. "type": "array",
  3890. "items": {
  3891. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3892. }
  3893. }
  3894. },
  3895. "500": {
  3896. "description": "Internal Server Error",
  3897. "schema": {
  3898. "$ref": "#/definitions/app.Response"
  3899. }
  3900. }
  3901. }
  3902. }
  3903. },
  3904. "/Ermcp/QueryWarehouseInfo": {
  3905. "get": {
  3906. "security": [
  3907. {
  3908. "ApiKeyAuth": []
  3909. }
  3910. ],
  3911. "produces": [
  3912. "application/json"
  3913. ],
  3914. "tags": [
  3915. "企业风险管理(app)"
  3916. ],
  3917. "summary": "查询仓库信息",
  3918. "parameters": [
  3919. {
  3920. "type": "integer",
  3921. "description": "用户ID",
  3922. "name": "userid",
  3923. "in": "query",
  3924. "required": true
  3925. },
  3926. {
  3927. "type": "string",
  3928. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3929. "name": "status",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "type": "array",
  3938. "items": {
  3939. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3940. }
  3941. }
  3942. },
  3943. "500": {
  3944. "description": "Internal Server Error",
  3945. "schema": {
  3946. "$ref": "#/definitions/app.Response"
  3947. }
  3948. }
  3949. }
  3950. }
  3951. },
  3952. "/Ermcp/QueryWrStandard": {
  3953. "get": {
  3954. "security": [
  3955. {
  3956. "ApiKeyAuth": []
  3957. }
  3958. ],
  3959. "produces": [
  3960. "application/json"
  3961. ],
  3962. "tags": [
  3963. "企业风险管理(app)"
  3964. ],
  3965. "summary": "查询现货商品",
  3966. "parameters": [
  3967. {
  3968. "type": "integer",
  3969. "description": "所属机构ID",
  3970. "name": "userid",
  3971. "in": "query",
  3972. "required": true
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "状态 0-停用 1-正常",
  3977. "name": "status",
  3978. "in": "query",
  3979. "required": true
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp/QueryWrStandardDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理(app)"
  4013. ],
  4014. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "所属机构ID",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "现货商品ID",
  4026. "name": "wrstandardid",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "可不填, 1-查询关联交易商品",
  4032. "name": "goods",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QryReportAreaSpotPL": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询现货损益报表(现货损益报表)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户ID",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "查询类型 1-日报表 2-月报表",
  4080. "name": "querytype",
  4081. "in": "query",
  4082. "required": true
  4083. },
  4084. {
  4085. "type": "string",
  4086. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4087. "name": "querydate",
  4088. "in": "query",
  4089. "required": true
  4090. },
  4091. {
  4092. "type": "integer",
  4093. "description": "现货商品ID",
  4094. "name": "deliverygoodsid",
  4095. "in": "query"
  4096. },
  4097. {
  4098. "type": "integer",
  4099. "description": "品牌ID",
  4100. "name": "spotgoodsbrandid",
  4101. "in": "query"
  4102. },
  4103. {
  4104. "type": "integer",
  4105. "description": "品类ID",
  4106. "name": "wrstandardid",
  4107. "in": "query"
  4108. }
  4109. ],
  4110. "responses": {
  4111. "200": {
  4112. "description": "OK",
  4113. "schema": {
  4114. "type": "array",
  4115. "items": {
  4116. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4117. }
  4118. }
  4119. },
  4120. "500": {
  4121. "description": "Internal Server Error",
  4122. "schema": {
  4123. "$ref": "#/definitions/app.Response"
  4124. }
  4125. }
  4126. }
  4127. }
  4128. },
  4129. "/Ermcp3/QryReportDayFinanceFp": {
  4130. "get": {
  4131. "security": [
  4132. {
  4133. "ApiKeyAuth": []
  4134. }
  4135. ],
  4136. "produces": [
  4137. "application/json"
  4138. ],
  4139. "tags": [
  4140. "企业风险管理v3(app)"
  4141. ],
  4142. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4143. "parameters": [
  4144. {
  4145. "type": "integer",
  4146. "description": "用户ID",
  4147. "name": "userid",
  4148. "in": "query",
  4149. "required": true
  4150. },
  4151. {
  4152. "type": "string",
  4153. "description": "交易日(格式:yyyyMMdd)",
  4154. "name": "tradedate",
  4155. "in": "query",
  4156. "required": true
  4157. }
  4158. ],
  4159. "responses": {
  4160. "200": {
  4161. "description": "OK",
  4162. "schema": {
  4163. "type": "array",
  4164. "items": {
  4165. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4166. }
  4167. }
  4168. },
  4169. "500": {
  4170. "description": "Internal Server Error",
  4171. "schema": {
  4172. "$ref": "#/definitions/app.Response"
  4173. }
  4174. }
  4175. }
  4176. }
  4177. },
  4178. "/Ermcp3/QryReportDayFinanceKx": {
  4179. "get": {
  4180. "security": [
  4181. {
  4182. "ApiKeyAuth": []
  4183. }
  4184. ],
  4185. "produces": [
  4186. "application/json"
  4187. ],
  4188. "tags": [
  4189. "企业风险管理v3(app)"
  4190. ],
  4191. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4192. "parameters": [
  4193. {
  4194. "type": "integer",
  4195. "description": "用户ID",
  4196. "name": "userid",
  4197. "in": "query",
  4198. "required": true
  4199. },
  4200. {
  4201. "type": "string",
  4202. "description": "交易日(格式:yyyyMMdd)",
  4203. "name": "tradedate",
  4204. "in": "query",
  4205. "required": true
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "type": "array",
  4213. "items": {
  4214. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4215. }
  4216. }
  4217. },
  4218. "500": {
  4219. "description": "Internal Server Error",
  4220. "schema": {
  4221. "$ref": "#/definitions/app.Response"
  4222. }
  4223. }
  4224. }
  4225. }
  4226. },
  4227. "/Ermcp3/QryReportDaySpot": {
  4228. "get": {
  4229. "security": [
  4230. {
  4231. "ApiKeyAuth": []
  4232. }
  4233. ],
  4234. "produces": [
  4235. "application/json"
  4236. ],
  4237. "tags": [
  4238. "企业风险管理v3(app)"
  4239. ],
  4240. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4241. "parameters": [
  4242. {
  4243. "type": "integer",
  4244. "description": "用户ID",
  4245. "name": "userid",
  4246. "in": "query",
  4247. "required": true
  4248. },
  4249. {
  4250. "type": "string",
  4251. "description": "交易日(格式:yyyyMMdd)",
  4252. "name": "tradedate",
  4253. "in": "query",
  4254. "required": true
  4255. }
  4256. ],
  4257. "responses": {
  4258. "200": {
  4259. "description": "OK",
  4260. "schema": {
  4261. "type": "array",
  4262. "items": {
  4263. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4264. }
  4265. }
  4266. },
  4267. "500": {
  4268. "description": "Internal Server Error",
  4269. "schema": {
  4270. "$ref": "#/definitions/app.Response"
  4271. }
  4272. }
  4273. }
  4274. }
  4275. },
  4276. "/Ermcp3/QryReportDaySpotDetail": {
  4277. "get": {
  4278. "security": [
  4279. {
  4280. "ApiKeyAuth": []
  4281. }
  4282. ],
  4283. "produces": [
  4284. "application/json"
  4285. ],
  4286. "tags": [
  4287. "企业风险管理v3(app)"
  4288. ],
  4289. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4290. "parameters": [
  4291. {
  4292. "type": "integer",
  4293. "description": "用户ID",
  4294. "name": "userid",
  4295. "in": "query",
  4296. "required": true
  4297. },
  4298. {
  4299. "type": "integer",
  4300. "description": "现货商品id",
  4301. "name": "deliverygoodsid",
  4302. "in": "query",
  4303. "required": true
  4304. },
  4305. {
  4306. "type": "string",
  4307. "description": "交易日(格式:yyyyMMdd)",
  4308. "name": "tradedate",
  4309. "in": "query",
  4310. "required": true
  4311. }
  4312. ],
  4313. "responses": {
  4314. "200": {
  4315. "description": "OK",
  4316. "schema": {
  4317. "type": "array",
  4318. "items": {
  4319. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4320. }
  4321. }
  4322. },
  4323. "500": {
  4324. "description": "Internal Server Error",
  4325. "schema": {
  4326. "$ref": "#/definitions/app.Response"
  4327. }
  4328. }
  4329. }
  4330. }
  4331. },
  4332. "/Ermcp3/QryReportMonthSpot": {
  4333. "get": {
  4334. "security": [
  4335. {
  4336. "ApiKeyAuth": []
  4337. }
  4338. ],
  4339. "produces": [
  4340. "application/json"
  4341. ],
  4342. "tags": [
  4343. "企业风险管理v3(app)"
  4344. ],
  4345. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4346. "parameters": [
  4347. {
  4348. "type": "integer",
  4349. "description": "用户ID",
  4350. "name": "userid",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "string",
  4356. "description": "周期时间:月(格式:yyyyMM)",
  4357. "name": "cycletime",
  4358. "in": "query",
  4359. "required": true
  4360. }
  4361. ],
  4362. "responses": {
  4363. "200": {
  4364. "description": "OK",
  4365. "schema": {
  4366. "type": "array",
  4367. "items": {
  4368. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4369. }
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/Ermcp3/QryReportMonthSpotDetail": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "企业风险管理v3(app)"
  4393. ],
  4394. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4395. "parameters": [
  4396. {
  4397. "type": "integer",
  4398. "description": "用户ID",
  4399. "name": "userid",
  4400. "in": "query",
  4401. "required": true
  4402. },
  4403. {
  4404. "type": "integer",
  4405. "description": "现货商品id",
  4406. "name": "deliverygoodsid",
  4407. "in": "query",
  4408. "required": true
  4409. },
  4410. {
  4411. "type": "string",
  4412. "description": "周期时间:月(格式:yyyyMM)",
  4413. "name": "cycletime",
  4414. "in": "query",
  4415. "required": true
  4416. }
  4417. ],
  4418. "responses": {
  4419. "200": {
  4420. "description": "OK",
  4421. "schema": {
  4422. "type": "array",
  4423. "items": {
  4424. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4425. }
  4426. }
  4427. },
  4428. "500": {
  4429. "description": "Internal Server Error",
  4430. "schema": {
  4431. "$ref": "#/definitions/app.Response"
  4432. }
  4433. }
  4434. }
  4435. }
  4436. },
  4437. "/Ermcp3/QueryAreaStockApply": {
  4438. "get": {
  4439. "security": [
  4440. {
  4441. "ApiKeyAuth": []
  4442. }
  4443. ],
  4444. "produces": [
  4445. "application/json"
  4446. ],
  4447. "tags": [
  4448. "企业风险管理v3(app)"
  4449. ],
  4450. "summary": "查询库存申请(出入库记录|库存审核)",
  4451. "parameters": [
  4452. {
  4453. "type": "integer",
  4454. "description": "用户ID",
  4455. "name": "userid",
  4456. "in": "query",
  4457. "required": true
  4458. },
  4459. {
  4460. "type": "integer",
  4461. "description": "现货商品ID",
  4462. "name": "deliverygoodsid",
  4463. "in": "query"
  4464. },
  4465. {
  4466. "type": "string",
  4467. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4468. "name": "inouttype",
  4469. "in": "query"
  4470. },
  4471. {
  4472. "type": "integer",
  4473. "description": "合同ID",
  4474. "name": "spotcontractid",
  4475. "in": "query"
  4476. },
  4477. {
  4478. "type": "integer",
  4479. "description": "品类ID",
  4480. "name": "wrstandardid",
  4481. "in": "query"
  4482. },
  4483. {
  4484. "type": "integer",
  4485. "description": "品牌ID",
  4486. "name": "spotgoodsbrandid",
  4487. "in": "query"
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "仓库ID",
  4492. "name": "warehouseinfoid",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "string",
  4497. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4498. "name": "applystatus",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryAreaStockApplySum": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "合同ID",
  4539. "name": "spotcontractid",
  4540. "in": "query"
  4541. }
  4542. ],
  4543. "responses": {
  4544. "200": {
  4545. "description": "OK",
  4546. "schema": {
  4547. "type": "array",
  4548. "items": {
  4549. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4550. }
  4551. }
  4552. },
  4553. "500": {
  4554. "description": "Internal Server Error",
  4555. "schema": {
  4556. "$ref": "#/definitions/app.Response"
  4557. }
  4558. }
  4559. }
  4560. }
  4561. },
  4562. "/Ermcp3/QueryAreaStockReport": {
  4563. "get": {
  4564. "security": [
  4565. {
  4566. "ApiKeyAuth": []
  4567. }
  4568. ],
  4569. "produces": [
  4570. "application/json"
  4571. ],
  4572. "tags": [
  4573. "企业风险管理v3(app)"
  4574. ],
  4575. "summary": "查询库存报表",
  4576. "parameters": [
  4577. {
  4578. "type": "integer",
  4579. "description": "用户ID",
  4580. "name": "userid",
  4581. "in": "query",
  4582. "required": true
  4583. },
  4584. {
  4585. "type": "integer",
  4586. "description": "查询类型 1-日报表 2-月报表",
  4587. "name": "querytype",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "string",
  4593. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4594. "name": "querydate",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "现货商品ID",
  4601. "name": "deliverygoodsid",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "integer",
  4606. "description": "品类ID",
  4607. "name": "wrstandardid",
  4608. "in": "query"
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "品牌ID",
  4613. "name": "spotgoodsbrandid",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "仓库ID",
  4619. "name": "warehouseinfoid",
  4620. "in": "query"
  4621. }
  4622. ],
  4623. "responses": {
  4624. "200": {
  4625. "description": "OK",
  4626. "schema": {
  4627. "type": "array",
  4628. "items": {
  4629. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4630. }
  4631. }
  4632. },
  4633. "500": {
  4634. "description": "Internal Server Error",
  4635. "schema": {
  4636. "$ref": "#/definitions/app.Response"
  4637. }
  4638. }
  4639. }
  4640. }
  4641. },
  4642. "/Ermcp3/QueryAreaStockReportDetail": {
  4643. "get": {
  4644. "security": [
  4645. {
  4646. "ApiKeyAuth": []
  4647. }
  4648. ],
  4649. "produces": [
  4650. "application/json"
  4651. ],
  4652. "tags": [
  4653. "企业风险管理v3(app)"
  4654. ],
  4655. "summary": "查询库存报表明细",
  4656. "parameters": [
  4657. {
  4658. "type": "integer",
  4659. "description": "用户ID",
  4660. "name": "userid",
  4661. "in": "query",
  4662. "required": true
  4663. },
  4664. {
  4665. "type": "integer",
  4666. "description": "查询类型 1-日报表明细 2-月报表明细",
  4667. "name": "querytype",
  4668. "in": "query",
  4669. "required": true
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4674. "name": "detailtype",
  4675. "in": "query",
  4676. "required": true
  4677. },
  4678. {
  4679. "type": "string",
  4680. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4681. "name": "querydate",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "现货商品ID",
  4688. "name": "deliverygoodsid",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "品类ID",
  4694. "name": "wrstandardid",
  4695. "in": "query"
  4696. },
  4697. {
  4698. "type": "integer",
  4699. "description": "品牌ID",
  4700. "name": "spotgoodsbrandid",
  4701. "in": "query"
  4702. },
  4703. {
  4704. "type": "integer",
  4705. "description": "仓库ID",
  4706. "name": "warehouseinfoid",
  4707. "in": "query"
  4708. }
  4709. ],
  4710. "responses": {
  4711. "200": {
  4712. "description": "OK",
  4713. "schema": {
  4714. "type": "array",
  4715. "items": {
  4716. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4717. }
  4718. }
  4719. },
  4720. "500": {
  4721. "description": "Internal Server Error",
  4722. "schema": {
  4723. "$ref": "#/definitions/app.Response"
  4724. }
  4725. }
  4726. }
  4727. }
  4728. },
  4729. "/Ermcp3/QueryDGFactoryItem": {
  4730. "get": {
  4731. "security": [
  4732. {
  4733. "ApiKeyAuth": []
  4734. }
  4735. ],
  4736. "produces": [
  4737. "application/json"
  4738. ],
  4739. "tags": [
  4740. "企业风险管理v3(app)"
  4741. ],
  4742. "summary": "查询品种要素定义项",
  4743. "parameters": [
  4744. {
  4745. "type": "integer",
  4746. "description": "所属机构ID",
  4747. "name": "areauserid",
  4748. "in": "query"
  4749. },
  4750. {
  4751. "type": "integer",
  4752. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4753. "name": "dgfactoryitemid",
  4754. "in": "query"
  4755. },
  4756. {
  4757. "type": "integer",
  4758. "description": "现货品种ID",
  4759. "name": "deliverygoodsid",
  4760. "in": "query"
  4761. },
  4762. {
  4763. "type": "integer",
  4764. "description": "要素项类型",
  4765. "name": "dgfactoryitemtypeid",
  4766. "in": "query"
  4767. },
  4768. {
  4769. "type": "integer",
  4770. "description": "顺序",
  4771. "name": "orderindex",
  4772. "in": "query"
  4773. }
  4774. ],
  4775. "responses": {
  4776. "200": {
  4777. "description": "OK",
  4778. "schema": {
  4779. "type": "array",
  4780. "items": {
  4781. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4782. }
  4783. }
  4784. },
  4785. "500": {
  4786. "description": "Internal Server Error",
  4787. "schema": {
  4788. "$ref": "#/definitions/app.Response"
  4789. }
  4790. }
  4791. }
  4792. }
  4793. },
  4794. "/Ermcp3/QueryDeliveryGoods": {
  4795. "get": {
  4796. "security": [
  4797. {
  4798. "ApiKeyAuth": []
  4799. }
  4800. ],
  4801. "produces": [
  4802. "application/json"
  4803. ],
  4804. "tags": [
  4805. "企业风险管理v3(app)"
  4806. ],
  4807. "summary": "查询现货商品",
  4808. "parameters": [
  4809. {
  4810. "type": "integer",
  4811. "description": "所属机构id",
  4812. "name": "areauserid",
  4813. "in": "query",
  4814. "required": true
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "排除已配置的现货商品 1-排除",
  4819. "name": "excludecfg",
  4820. "in": "query"
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "type": "array",
  4828. "items": {
  4829. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4830. }
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "企业风险管理v3(app)"
  4854. ],
  4855. "summary": "查询现货商品详情",
  4856. "parameters": [
  4857. {
  4858. "type": "integer",
  4859. "description": "所属机构id",
  4860. "name": "areauserid",
  4861. "in": "query",
  4862. "required": true
  4863. },
  4864. {
  4865. "type": "integer",
  4866. "description": "现货商品id",
  4867. "name": "deliverygoodsid",
  4868. "in": "query"
  4869. },
  4870. {
  4871. "type": "integer",
  4872. "description": "是否查询关联交易商品 1-查询",
  4873. "name": "qrytradegoods",
  4874. "in": "query"
  4875. }
  4876. ],
  4877. "responses": {
  4878. "200": {
  4879. "description": "OK",
  4880. "schema": {
  4881. "type": "array",
  4882. "items": {
  4883. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4884. }
  4885. }
  4886. },
  4887. "500": {
  4888. "description": "Internal Server Error",
  4889. "schema": {
  4890. "$ref": "#/definitions/app.Response"
  4891. }
  4892. }
  4893. }
  4894. }
  4895. },
  4896. "/Ermcp3/QueryExposureDetail": {
  4897. "get": {
  4898. "security": [
  4899. {
  4900. "ApiKeyAuth": []
  4901. }
  4902. ],
  4903. "produces": [
  4904. "application/json"
  4905. ],
  4906. "tags": [
  4907. "企业风险管理v3(app)"
  4908. ],
  4909. "summary": "查询敞口现货明细",
  4910. "parameters": [
  4911. {
  4912. "type": "integer",
  4913. "description": "所属机构ID",
  4914. "name": "areaUserId",
  4915. "in": "query",
  4916. "required": true
  4917. },
  4918. {
  4919. "type": "integer",
  4920. "description": "套保商品",
  4921. "name": "middleGoodsId",
  4922. "in": "query",
  4923. "required": true
  4924. }
  4925. ],
  4926. "responses": {
  4927. "200": {
  4928. "description": "OK",
  4929. "schema": {
  4930. "type": "array",
  4931. "items": {
  4932. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4933. }
  4934. }
  4935. },
  4936. "500": {
  4937. "description": "Internal Server Error",
  4938. "schema": {
  4939. "$ref": "#/definitions/app.Response"
  4940. }
  4941. }
  4942. }
  4943. }
  4944. },
  4945. "/Ermcp3/QueryExposureSpot": {
  4946. "get": {
  4947. "security": [
  4948. {
  4949. "ApiKeyAuth": []
  4950. }
  4951. ],
  4952. "produces": [
  4953. "application/json"
  4954. ],
  4955. "tags": [
  4956. "企业风险管理v3(app)"
  4957. ],
  4958. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4959. "parameters": [
  4960. {
  4961. "type": "integer",
  4962. "description": "所属机构ID",
  4963. "name": "areaUserId",
  4964. "in": "query",
  4965. "required": true
  4966. }
  4967. ],
  4968. "responses": {
  4969. "200": {
  4970. "description": "OK",
  4971. "schema": {
  4972. "type": "array",
  4973. "items": {
  4974. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4975. }
  4976. }
  4977. },
  4978. "500": {
  4979. "description": "Internal Server Error",
  4980. "schema": {
  4981. "$ref": "#/definitions/app.Response"
  4982. }
  4983. }
  4984. }
  4985. }
  4986. },
  4987. "/Ermcp3/QueryExposureSpotDetail": {
  4988. "get": {
  4989. "security": [
  4990. {
  4991. "ApiKeyAuth": []
  4992. }
  4993. ],
  4994. "produces": [
  4995. "application/json"
  4996. ],
  4997. "tags": [
  4998. "企业风险管理v3(app)"
  4999. ],
  5000. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5001. "parameters": [
  5002. {
  5003. "type": "integer",
  5004. "description": "所属机构ID",
  5005. "name": "areauserid",
  5006. "in": "query",
  5007. "required": true
  5008. },
  5009. {
  5010. "type": "integer",
  5011. "description": "现货品种ID",
  5012. "name": "deliverygoodsid",
  5013. "in": "query",
  5014. "required": true
  5015. }
  5016. ],
  5017. "responses": {
  5018. "200": {
  5019. "description": "OK",
  5020. "schema": {
  5021. "type": "array",
  5022. "items": {
  5023. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5024. }
  5025. }
  5026. },
  5027. "500": {
  5028. "description": "Internal Server Error",
  5029. "schema": {
  5030. "$ref": "#/definitions/app.Response"
  5031. }
  5032. }
  5033. }
  5034. }
  5035. },
  5036. "/Ermcp3/QueryGoodsWrstandard": {
  5037. "get": {
  5038. "security": [
  5039. {
  5040. "ApiKeyAuth": []
  5041. }
  5042. ],
  5043. "produces": [
  5044. "application/json"
  5045. ],
  5046. "tags": [
  5047. "企业风险管理v3(app)"
  5048. ],
  5049. "summary": "查询商品品类",
  5050. "parameters": [
  5051. {
  5052. "type": "integer",
  5053. "description": "所属机构ID",
  5054. "name": "areauserid",
  5055. "in": "query",
  5056. "required": true
  5057. },
  5058. {
  5059. "type": "integer",
  5060. "description": "现货商品id",
  5061. "name": "deliverygoodsid",
  5062. "in": "query"
  5063. }
  5064. ],
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "type": "array",
  5070. "items": {
  5071. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5072. }
  5073. }
  5074. },
  5075. "500": {
  5076. "description": "Internal Server Error",
  5077. "schema": {
  5078. "$ref": "#/definitions/app.Response"
  5079. }
  5080. }
  5081. }
  5082. }
  5083. },
  5084. "/Ermcp3/QueryGoodsbrand": {
  5085. "get": {
  5086. "security": [
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json"
  5093. ],
  5094. "tags": [
  5095. "企业风险管理v3(app)"
  5096. ],
  5097. "summary": "查询商品品牌",
  5098. "parameters": [
  5099. {
  5100. "type": "integer",
  5101. "description": "所属机构ID",
  5102. "name": "areauserid",
  5103. "in": "query",
  5104. "required": true
  5105. }
  5106. ],
  5107. "responses": {
  5108. "200": {
  5109. "description": "OK",
  5110. "schema": {
  5111. "type": "array",
  5112. "items": {
  5113. "$ref": "#/definitions/models.Ermcp3Brand"
  5114. }
  5115. }
  5116. },
  5117. "500": {
  5118. "description": "Internal Server Error",
  5119. "schema": {
  5120. "$ref": "#/definitions/app.Response"
  5121. }
  5122. }
  5123. }
  5124. }
  5125. },
  5126. "/Ermcp3/QuerySpotContract": {
  5127. "get": {
  5128. "security": [
  5129. {
  5130. "ApiKeyAuth": []
  5131. }
  5132. ],
  5133. "produces": [
  5134. "application/json"
  5135. ],
  5136. "tags": [
  5137. "企业风险管理v3(app)"
  5138. ],
  5139. "summary": "查询现货合同",
  5140. "parameters": [
  5141. {
  5142. "type": "integer",
  5143. "description": "所属机构ID",
  5144. "name": "areauserid",
  5145. "in": "query",
  5146. "required": true
  5147. },
  5148. {
  5149. "type": "integer",
  5150. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5151. "name": "querytype",
  5152. "in": "query",
  5153. "required": true
  5154. },
  5155. {
  5156. "type": "integer",
  5157. "description": "用户ID",
  5158. "name": "userid",
  5159. "in": "query"
  5160. },
  5161. {
  5162. "type": "integer",
  5163. "description": "用户类型 2-机构 7-企业成员",
  5164. "name": "usertype",
  5165. "in": "query"
  5166. },
  5167. {
  5168. "type": "string",
  5169. "description": "合同ID(SpotContractId)",
  5170. "name": "contractid",
  5171. "in": "query"
  5172. }
  5173. ],
  5174. "responses": {
  5175. "200": {
  5176. "description": "OK",
  5177. "schema": {
  5178. "type": "array",
  5179. "items": {
  5180. "$ref": "#/definitions/models.Ermcp3Contract"
  5181. }
  5182. }
  5183. },
  5184. "500": {
  5185. "description": "Internal Server Error",
  5186. "schema": {
  5187. "$ref": "#/definitions/app.Response"
  5188. }
  5189. }
  5190. }
  5191. }
  5192. },
  5193. "/Ermcp3/QuerySpotContractBS": {
  5194. "get": {
  5195. "security": [
  5196. {
  5197. "ApiKeyAuth": []
  5198. }
  5199. ],
  5200. "produces": [
  5201. "application/json"
  5202. ],
  5203. "tags": [
  5204. "企业风险管理v3(app)"
  5205. ],
  5206. "summary": "查询合同(采购/销售)",
  5207. "parameters": [
  5208. {
  5209. "type": "integer",
  5210. "description": "所属机构ID",
  5211. "name": "areauserid",
  5212. "in": "query",
  5213. "required": true
  5214. },
  5215. {
  5216. "type": "integer",
  5217. "description": "合同类型 1-采购, -1-销售",
  5218. "name": "contracttype",
  5219. "in": "query",
  5220. "required": true
  5221. },
  5222. {
  5223. "type": "integer",
  5224. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5225. "name": "querytype",
  5226. "in": "query",
  5227. "required": true
  5228. },
  5229. {
  5230. "type": "integer",
  5231. "description": "用户ID",
  5232. "name": "userid",
  5233. "in": "query"
  5234. },
  5235. {
  5236. "type": "integer",
  5237. "description": "用户类型 2-机构 7-企业成员",
  5238. "name": "usertype",
  5239. "in": "query"
  5240. },
  5241. {
  5242. "type": "string",
  5243. "description": "合同ID(SpotContractId)",
  5244. "name": "contractid",
  5245. "in": "query"
  5246. }
  5247. ],
  5248. "responses": {
  5249. "200": {
  5250. "description": "OK",
  5251. "schema": {
  5252. "type": "array",
  5253. "items": {
  5254. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5255. }
  5256. }
  5257. },
  5258. "500": {
  5259. "description": "Internal Server Error",
  5260. "schema": {
  5261. "$ref": "#/definitions/app.Response"
  5262. }
  5263. }
  5264. }
  5265. }
  5266. },
  5267. "/Erms2/QueryArbitrageStrategy": {
  5268. "get": {
  5269. "security": [
  5270. {
  5271. "ApiKeyAuth": []
  5272. }
  5273. ],
  5274. "produces": [
  5275. "application/json"
  5276. ],
  5277. "tags": [
  5278. "风险管理"
  5279. ],
  5280. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5281. "parameters": [
  5282. {
  5283. "type": "integer",
  5284. "description": "账户ID",
  5285. "name": "userid",
  5286. "in": "query",
  5287. "required": true
  5288. },
  5289. {
  5290. "type": "string",
  5291. "description": "商品组ID(品种ID)",
  5292. "name": "goodsgroupid",
  5293. "in": "query"
  5294. }
  5295. ],
  5296. "responses": {
  5297. "200": {
  5298. "description": "OK",
  5299. "schema": {
  5300. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5301. }
  5302. },
  5303. "500": {
  5304. "description": "Internal Server Error",
  5305. "schema": {
  5306. "$ref": "#/definitions/app.Response"
  5307. }
  5308. }
  5309. }
  5310. }
  5311. },
  5312. "/Erms2/QueryInnerTradeDetail": {
  5313. "get": {
  5314. "security": [
  5315. {
  5316. "ApiKeyAuth": []
  5317. }
  5318. ],
  5319. "produces": [
  5320. "application/json"
  5321. ],
  5322. "tags": [
  5323. "风险管理"
  5324. ],
  5325. "summary": "查询内部成交单信息",
  5326. "parameters": [
  5327. {
  5328. "type": "integer",
  5329. "description": "资金账户",
  5330. "name": "accountid",
  5331. "in": "query",
  5332. "required": true
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5340. }
  5341. },
  5342. "500": {
  5343. "description": "Internal Server Error",
  5344. "schema": {
  5345. "$ref": "#/definitions/app.Response"
  5346. }
  5347. }
  5348. }
  5349. }
  5350. },
  5351. "/Erms2/QuerySpotContract": {
  5352. "get": {
  5353. "security": [
  5354. {
  5355. "ApiKeyAuth": []
  5356. }
  5357. ],
  5358. "produces": [
  5359. "application/json"
  5360. ],
  5361. "tags": [
  5362. "风险管理"
  5363. ],
  5364. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5365. "parameters": [
  5366. {
  5367. "type": "integer",
  5368. "description": "策略申请ID",
  5369. "name": "asapplyid",
  5370. "in": "query",
  5371. "required": true
  5372. },
  5373. {
  5374. "type": "integer",
  5375. "description": "现货合同ID",
  5376. "name": "spotcontractid",
  5377. "in": "query"
  5378. }
  5379. ],
  5380. "responses": {
  5381. "200": {
  5382. "description": "OK",
  5383. "schema": {
  5384. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5385. }
  5386. },
  5387. "500": {
  5388. "description": "Internal Server Error",
  5389. "schema": {
  5390. "$ref": "#/definitions/app.Response"
  5391. }
  5392. }
  5393. }
  5394. }
  5395. },
  5396. "/Erms3/AddErms2ASApply": {
  5397. "post": {
  5398. "security": [
  5399. {
  5400. "ApiKeyAuth": []
  5401. }
  5402. ],
  5403. "produces": [
  5404. "application/json"
  5405. ],
  5406. "tags": [
  5407. "风险管理v3"
  5408. ],
  5409. "summary": "新增期现套利业务申请",
  5410. "parameters": [
  5411. {
  5412. "description": "申请参数",
  5413. "name": "jsonBody",
  5414. "in": "body",
  5415. "required": true,
  5416. "schema": {
  5417. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5418. }
  5419. }
  5420. ],
  5421. "responses": {
  5422. "200": {
  5423. "description": "OK",
  5424. "schema": {
  5425. "$ref": "#/definitions/app.Response"
  5426. }
  5427. },
  5428. "500": {
  5429. "description": "Internal Server Error",
  5430. "schema": {
  5431. "$ref": "#/definitions/app.Response"
  5432. }
  5433. }
  5434. }
  5435. }
  5436. },
  5437. "/Erms3/AddErms2SpotTradeApply": {
  5438. "post": {
  5439. "security": [
  5440. {
  5441. "ApiKeyAuth": []
  5442. }
  5443. ],
  5444. "produces": [
  5445. "application/json"
  5446. ],
  5447. "tags": [
  5448. "风险管理v3"
  5449. ],
  5450. "summary": "新增现货贸易业务申请",
  5451. "parameters": [
  5452. {
  5453. "description": "申请参数",
  5454. "name": "jsonBody",
  5455. "in": "body",
  5456. "required": true,
  5457. "schema": {
  5458. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5459. }
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "OK",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. },
  5469. "500": {
  5470. "description": "Internal Server Error",
  5471. "schema": {
  5472. "$ref": "#/definitions/app.Response"
  5473. }
  5474. }
  5475. }
  5476. }
  5477. },
  5478. "/Erms3/AddSpotContractApply": {
  5479. "post": {
  5480. "security": [
  5481. {
  5482. "ApiKeyAuth": []
  5483. }
  5484. ],
  5485. "produces": [
  5486. "application/json"
  5487. ],
  5488. "tags": [
  5489. "风险管理v3"
  5490. ],
  5491. "summary": "新增现货合同申请",
  5492. "parameters": [
  5493. {
  5494. "description": "申请参数",
  5495. "name": "jsonBody",
  5496. "in": "body",
  5497. "required": true,
  5498. "schema": {
  5499. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5500. }
  5501. }
  5502. ],
  5503. "responses": {
  5504. "200": {
  5505. "description": "OK",
  5506. "schema": {
  5507. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5508. }
  5509. },
  5510. "500": {
  5511. "description": "Internal Server Error",
  5512. "schema": {
  5513. "$ref": "#/definitions/app.Response"
  5514. }
  5515. }
  5516. }
  5517. }
  5518. },
  5519. "/Erms3/AddUserInfoApply": {
  5520. "post": {
  5521. "security": [
  5522. {
  5523. "ApiKeyAuth": []
  5524. }
  5525. ],
  5526. "produces": [
  5527. "application/json"
  5528. ],
  5529. "tags": [
  5530. "风险管理v3"
  5531. ],
  5532. "summary": "新增客户申请",
  5533. "parameters": [
  5534. {
  5535. "description": "用户信息",
  5536. "name": "jsonBody",
  5537. "in": "body",
  5538. "required": true,
  5539. "schema": {
  5540. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5541. }
  5542. }
  5543. ],
  5544. "responses": {
  5545. "200": {
  5546. "description": "OK",
  5547. "schema": {
  5548. "$ref": "#/definitions/app.Response"
  5549. }
  5550. },
  5551. "500": {
  5552. "description": "Internal Server Error",
  5553. "schema": {
  5554. "$ref": "#/definitions/app.Response"
  5555. }
  5556. }
  5557. }
  5558. }
  5559. },
  5560. "/Erms3/ModifyUserInfoApply": {
  5561. "post": {
  5562. "security": [
  5563. {
  5564. "ApiKeyAuth": []
  5565. }
  5566. ],
  5567. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "风险管理v3"
  5573. ],
  5574. "summary": "修改客户申请",
  5575. "parameters": [
  5576. {
  5577. "description": "用户信息",
  5578. "name": "jsonBody",
  5579. "in": "body",
  5580. "required": true,
  5581. "schema": {
  5582. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5583. }
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/Erms3/QueryBusinessInfo": {
  5603. "get": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "produces": [
  5610. "application/json"
  5611. ],
  5612. "tags": [
  5613. "风险管理v3"
  5614. ],
  5615. "summary": "查询业务表单数据",
  5616. "parameters": [
  5617. {
  5618. "type": "string",
  5619. "description": "资金账号ID列表,用逗号分隔",
  5620. "name": "accountids",
  5621. "in": "query",
  5622. "required": true
  5623. },
  5624. {
  5625. "type": "integer",
  5626. "description": "状态,0为未结束 1为已结束",
  5627. "name": "status",
  5628. "in": "query",
  5629. "required": true
  5630. }
  5631. ],
  5632. "responses": {
  5633. "200": {
  5634. "description": "OK",
  5635. "schema": {
  5636. "type": "array",
  5637. "items": {
  5638. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5639. }
  5640. }
  5641. },
  5642. "500": {
  5643. "description": "Internal Server Error",
  5644. "schema": {
  5645. "$ref": "#/definitions/app.Response"
  5646. }
  5647. }
  5648. }
  5649. }
  5650. },
  5651. "/Erms3/QueryPendingAuditContract": {
  5652. "get": {
  5653. "security": [
  5654. {
  5655. "ApiKeyAuth": []
  5656. }
  5657. ],
  5658. "produces": [
  5659. "application/json"
  5660. ],
  5661. "tags": [
  5662. "风险管理v3"
  5663. ],
  5664. "summary": "查询待审核合同",
  5665. "parameters": [
  5666. {
  5667. "type": "string",
  5668. "description": "资金账号ID列表,逗号隔开",
  5669. "name": "accountids",
  5670. "in": "query",
  5671. "required": true
  5672. },
  5673. {
  5674. "type": "integer",
  5675. "description": "合同类型 1-采购 -1-销售",
  5676. "name": "contracttype",
  5677. "in": "query",
  5678. "required": true
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "合同模式 1-普通 2-回购",
  5683. "name": "contractmode",
  5684. "in": "query",
  5685. "required": true
  5686. }
  5687. ],
  5688. "responses": {
  5689. "200": {
  5690. "description": "OK",
  5691. "schema": {
  5692. "type": "array",
  5693. "items": {
  5694. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5695. }
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/QueryPendingBusiness": {
  5708. "get": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "查询待审核基差贸易业务",
  5721. "parameters": [
  5722. {
  5723. "type": "string",
  5724. "description": "资金账号ID列表,逗号隔开",
  5725. "name": "accountids",
  5726. "in": "query",
  5727. "required": true
  5728. }
  5729. ],
  5730. "responses": {
  5731. "200": {
  5732. "description": "OK",
  5733. "schema": {
  5734. "type": "array",
  5735. "items": {
  5736. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5737. }
  5738. }
  5739. },
  5740. "500": {
  5741. "description": "Internal Server Error",
  5742. "schema": {
  5743. "$ref": "#/definitions/app.Response"
  5744. }
  5745. }
  5746. }
  5747. }
  5748. },
  5749. "/Erms3/QuerySpotContractAppleForm": {
  5750. "get": {
  5751. "security": [
  5752. {
  5753. "ApiKeyAuth": []
  5754. }
  5755. ],
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "查询合同申请表单数据",
  5763. "parameters": [
  5764. {
  5765. "type": "integer",
  5766. "description": "登录账号",
  5767. "name": "loginID",
  5768. "in": "query",
  5769. "required": true
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/Erms3/QuerySpotContractDetail": {
  5789. "get": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "produces": [
  5796. "application/json"
  5797. ],
  5798. "tags": [
  5799. "风险管理v3"
  5800. ],
  5801. "summary": "查询合同详细信息",
  5802. "parameters": [
  5803. {
  5804. "type": "string",
  5805. "description": "资金账号ID列表,用逗号分隔",
  5806. "name": "accountids",
  5807. "in": "query",
  5808. "required": true
  5809. },
  5810. {
  5811. "type": "integer",
  5812. "description": "合同类型,1为采购合同 -1为销售合同",
  5813. "name": "contracttype",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "integer",
  5819. "description": "合同模式,1为普通合同 2为回购销售合同",
  5820. "name": "contractmode",
  5821. "in": "query",
  5822. "required": true
  5823. },
  5824. {
  5825. "type": "integer",
  5826. "description": "状态,0为履约中 1为已完成",
  5827. "name": "status",
  5828. "in": "query",
  5829. "required": true
  5830. }
  5831. ],
  5832. "responses": {
  5833. "200": {
  5834. "description": "OK",
  5835. "schema": {
  5836. "type": "array",
  5837. "items": {
  5838. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5839. }
  5840. }
  5841. },
  5842. "500": {
  5843. "description": "Internal Server Error",
  5844. "schema": {
  5845. "$ref": "#/definitions/app.Response"
  5846. }
  5847. }
  5848. }
  5849. }
  5850. },
  5851. "/Erms3/QueryUserInfoApplies": {
  5852. "get": {
  5853. "security": [
  5854. {
  5855. "ApiKeyAuth": []
  5856. }
  5857. ],
  5858. "produces": [
  5859. "application/json"
  5860. ],
  5861. "tags": [
  5862. "风险管理v3"
  5863. ],
  5864. "summary": "客户申请信息查询",
  5865. "parameters": [
  5866. {
  5867. "type": "integer",
  5868. "description": "页码",
  5869. "name": "page",
  5870. "in": "query"
  5871. },
  5872. {
  5873. "type": "integer",
  5874. "description": "每页条数",
  5875. "name": "pagesize",
  5876. "in": "query"
  5877. },
  5878. {
  5879. "type": "string",
  5880. "description": "客户名称,支持模糊查询",
  5881. "name": "userName",
  5882. "in": "query"
  5883. }
  5884. ],
  5885. "responses": {
  5886. "200": {
  5887. "description": "OK",
  5888. "schema": {
  5889. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5890. }
  5891. },
  5892. "500": {
  5893. "description": "Internal Server Error",
  5894. "schema": {
  5895. "$ref": "#/definitions/app.Response"
  5896. }
  5897. }
  5898. }
  5899. }
  5900. },
  5901. "/Erms3/QueryUserInfos": {
  5902. "get": {
  5903. "security": [
  5904. {
  5905. "ApiKeyAuth": []
  5906. }
  5907. ],
  5908. "produces": [
  5909. "application/json"
  5910. ],
  5911. "tags": [
  5912. "风险管理v3"
  5913. ],
  5914. "summary": "客户信息查询",
  5915. "parameters": [
  5916. {
  5917. "type": "integer",
  5918. "description": "页码",
  5919. "name": "page",
  5920. "in": "query"
  5921. },
  5922. {
  5923. "type": "integer",
  5924. "description": "每页条数",
  5925. "name": "pagesize",
  5926. "in": "query"
  5927. },
  5928. {
  5929. "type": "string",
  5930. "description": "客户名称,支持模糊查询",
  5931. "name": "userName",
  5932. "in": "query"
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5940. }
  5941. },
  5942. "500": {
  5943. "description": "Internal Server Error",
  5944. "schema": {
  5945. "$ref": "#/definitions/app.Response"
  5946. }
  5947. }
  5948. }
  5949. }
  5950. },
  5951. "/HSBY/GetHsbyMyCount": {
  5952. "get": {
  5953. "security": [
  5954. {
  5955. "ApiKeyAuth": []
  5956. }
  5957. ],
  5958. "description": "说明: 不包括已完成的数量。",
  5959. "produces": [
  5960. "application/json"
  5961. ],
  5962. "tags": [
  5963. "定制【海商报业】"
  5964. ],
  5965. "summary": "获取我的订单与包裹数量",
  5966. "parameters": [
  5967. {
  5968. "type": "string",
  5969. "description": "资金账户列表,格式:1,2,3",
  5970. "name": "accountIDs",
  5971. "in": "query",
  5972. "required": true
  5973. }
  5974. ],
  5975. "responses": {
  5976. "200": {
  5977. "description": "OK",
  5978. "schema": {
  5979. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5980. }
  5981. },
  5982. "500": {
  5983. "description": "Internal Server Error",
  5984. "schema": {
  5985. "$ref": "#/definitions/app.Response"
  5986. }
  5987. }
  5988. }
  5989. }
  5990. },
  5991. "/HSBY/QueryClientFixedADConfigs": {
  5992. "get": {
  5993. "security": [
  5994. {
  5995. "ApiKeyAuth": []
  5996. }
  5997. ],
  5998. "produces": [
  5999. "application/json"
  6000. ],
  6001. "tags": [
  6002. "定制【海商报业】"
  6003. ],
  6004. "summary": "获取终端固定广告配置",
  6005. "responses": {
  6006. "200": {
  6007. "description": "OK",
  6008. "schema": {
  6009. "$ref": "#/definitions/models.Clientfixedadconfig"
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6022. "get": {
  6023. "security": [
  6024. {
  6025. "ApiKeyAuth": []
  6026. }
  6027. ],
  6028. "produces": [
  6029. "application/json"
  6030. ],
  6031. "tags": [
  6032. "定制【海商报业】"
  6033. ],
  6034. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6035. "parameters": [
  6036. {
  6037. "type": "integer",
  6038. "description": "页码",
  6039. "name": "page",
  6040. "in": "query"
  6041. },
  6042. {
  6043. "type": "integer",
  6044. "description": "每页条数",
  6045. "name": "pagesize",
  6046. "in": "query"
  6047. },
  6048. {
  6049. "type": "string",
  6050. "description": "资金账户列表,格式:1,2,3",
  6051. "name": "accountIDs",
  6052. "in": "query",
  6053. "required": true
  6054. }
  6055. ],
  6056. "responses": {
  6057. "200": {
  6058. "description": "OK",
  6059. "schema": {
  6060. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6061. }
  6062. },
  6063. "500": {
  6064. "description": "Internal Server Error",
  6065. "schema": {
  6066. "$ref": "#/definitions/app.Response"
  6067. }
  6068. }
  6069. }
  6070. }
  6071. },
  6072. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6073. "get": {
  6074. "security": [
  6075. {
  6076. "ApiKeyAuth": []
  6077. }
  6078. ],
  6079. "description": "说明:查询结果已按委托价格和委托时间排序",
  6080. "produces": [
  6081. "application/json"
  6082. ],
  6083. "tags": [
  6084. "定制【海商报业】"
  6085. ],
  6086. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6087. "parameters": [
  6088. {
  6089. "type": "integer",
  6090. "description": "商品ID",
  6091. "name": "goodsID",
  6092. "in": "query",
  6093. "required": true
  6094. },
  6095. {
  6096. "type": "string",
  6097. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6098. "name": "accountIDs",
  6099. "in": "query"
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6104. "name": "buyOrSell",
  6105. "in": "query"
  6106. },
  6107. {
  6108. "type": "number",
  6109. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6110. "name": "price",
  6111. "in": "query"
  6112. },
  6113. {
  6114. "type": "integer",
  6115. "description": "档位,不传则默认为3档",
  6116. "name": "speed",
  6117. "in": "query"
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/HSBY/QueryHsbyListingGoodsDetail": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6144. "produces": [
  6145. "application/json"
  6146. ],
  6147. "tags": [
  6148. "定制【海商报业】"
  6149. ],
  6150. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6151. "parameters": [
  6152. {
  6153. "type": "integer",
  6154. "description": "商品ID",
  6155. "name": "goodsID",
  6156. "in": "query",
  6157. "required": true
  6158. },
  6159. {
  6160. "type": "integer",
  6161. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6162. "name": "accountID",
  6163. "in": "query"
  6164. }
  6165. ],
  6166. "responses": {
  6167. "200": {
  6168. "description": "OK",
  6169. "schema": {
  6170. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6171. }
  6172. },
  6173. "500": {
  6174. "description": "Internal Server Error",
  6175. "schema": {
  6176. "$ref": "#/definitions/app.Response"
  6177. }
  6178. }
  6179. }
  6180. }
  6181. },
  6182. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6183. "get": {
  6184. "security": [
  6185. {
  6186. "ApiKeyAuth": []
  6187. }
  6188. ],
  6189. "produces": [
  6190. "application/json"
  6191. ],
  6192. "tags": [
  6193. "定制【海商报业】"
  6194. ],
  6195. "summary": "查询三级市场(商城)商品信息详情",
  6196. "parameters": [
  6197. {
  6198. "type": "integer",
  6199. "description": "委托单号",
  6200. "name": "orderID",
  6201. "in": "query",
  6202. "required": true
  6203. },
  6204. {
  6205. "type": "integer",
  6206. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6207. "name": "accountID",
  6208. "in": "query"
  6209. }
  6210. ],
  6211. "responses": {
  6212. "200": {
  6213. "description": "OK",
  6214. "schema": {
  6215. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6216. }
  6217. },
  6218. "500": {
  6219. "description": "Internal Server Error",
  6220. "schema": {
  6221. "$ref": "#/definitions/app.Response"
  6222. }
  6223. }
  6224. }
  6225. }
  6226. },
  6227. "/HSBY/QueryHsbyMarketGoodses": {
  6228. "get": {
  6229. "security": [
  6230. {
  6231. "ApiKeyAuth": []
  6232. }
  6233. ],
  6234. "produces": [
  6235. "application/json"
  6236. ],
  6237. "tags": [
  6238. "定制【海商报业】"
  6239. ],
  6240. "summary": "查询特卖商品列表(三级商城)",
  6241. "parameters": [
  6242. {
  6243. "type": "integer",
  6244. "description": "页码",
  6245. "name": "page",
  6246. "in": "query"
  6247. },
  6248. {
  6249. "type": "integer",
  6250. "description": "每页条数",
  6251. "name": "pagesize",
  6252. "in": "query"
  6253. },
  6254. {
  6255. "type": "string",
  6256. "description": "市场ID列表,格式:1,2,3",
  6257. "name": "marketIDs",
  6258. "in": "query",
  6259. "required": true
  6260. },
  6261. {
  6262. "type": "integer",
  6263. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6264. "name": "accountID",
  6265. "in": "query",
  6266. "required": true
  6267. },
  6268. {
  6269. "type": "integer",
  6270. "description": "类别ID",
  6271. "name": "categoryID",
  6272. "in": "query"
  6273. },
  6274. {
  6275. "type": "string",
  6276. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6277. "name": "goodsIDs",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "integer",
  6282. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6283. "name": "couponTypeID",
  6284. "in": "query"
  6285. }
  6286. ],
  6287. "responses": {
  6288. "200": {
  6289. "description": "OK",
  6290. "schema": {
  6291. "$ref": "#/definitions/models.HsbyMarketGoods"
  6292. }
  6293. },
  6294. "500": {
  6295. "description": "Internal Server Error",
  6296. "schema": {
  6297. "$ref": "#/definitions/app.Response"
  6298. }
  6299. }
  6300. }
  6301. }
  6302. },
  6303. "/HSBY/QueryHsbyMarkets": {
  6304. "get": {
  6305. "security": [
  6306. {
  6307. "ApiKeyAuth": []
  6308. }
  6309. ],
  6310. "produces": [
  6311. "application/json"
  6312. ],
  6313. "tags": [
  6314. "定制【海商报业】"
  6315. ],
  6316. "summary": "查询海商报业相关市场信息",
  6317. "responses": {
  6318. "200": {
  6319. "description": "OK",
  6320. "schema": {
  6321. "$ref": "#/definitions/models.HsbyMarketInfo"
  6322. }
  6323. },
  6324. "500": {
  6325. "description": "Internal Server Error",
  6326. "schema": {
  6327. "$ref": "#/definitions/app.Response"
  6328. }
  6329. }
  6330. }
  6331. }
  6332. },
  6333. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6334. "get": {
  6335. "security": [
  6336. {
  6337. "ApiKeyAuth": []
  6338. }
  6339. ],
  6340. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6341. "produces": [
  6342. "application/json"
  6343. ],
  6344. "tags": [
  6345. "定制【海商报业】"
  6346. ],
  6347. "summary": "查询“我的订单”信息",
  6348. "parameters": [
  6349. {
  6350. "type": "string",
  6351. "description": "资金账户列表,格式:1,2,3",
  6352. "name": "accountIDs",
  6353. "in": "query",
  6354. "required": true
  6355. }
  6356. ],
  6357. "responses": {
  6358. "200": {
  6359. "description": "OK",
  6360. "schema": {
  6361. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6362. }
  6363. },
  6364. "500": {
  6365. "description": "Internal Server Error",
  6366. "schema": {
  6367. "$ref": "#/definitions/app.Response"
  6368. }
  6369. }
  6370. }
  6371. }
  6372. },
  6373. "/HSBY/QueryHsbyMyGoods": {
  6374. "get": {
  6375. "security": [
  6376. {
  6377. "ApiKeyAuth": []
  6378. }
  6379. ],
  6380. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6381. "produces": [
  6382. "application/json"
  6383. ],
  6384. "tags": [
  6385. "定制【海商报业】"
  6386. ],
  6387. "summary": "查询“我的商品”信息",
  6388. "parameters": [
  6389. {
  6390. "type": "string",
  6391. "description": "资金账户列表,格式:1,2,3",
  6392. "name": "accountIDs",
  6393. "in": "query",
  6394. "required": true
  6395. }
  6396. ],
  6397. "responses": {
  6398. "200": {
  6399. "description": "OK",
  6400. "schema": {
  6401. "$ref": "#/definitions/models.HsbyMyGoods"
  6402. }
  6403. },
  6404. "500": {
  6405. "description": "Internal Server Error",
  6406. "schema": {
  6407. "$ref": "#/definitions/app.Response"
  6408. }
  6409. }
  6410. }
  6411. }
  6412. },
  6413. "/HSBY/QueryHsbyMyPackages": {
  6414. "get": {
  6415. "security": [
  6416. {
  6417. "ApiKeyAuth": []
  6418. }
  6419. ],
  6420. "produces": [
  6421. "application/json"
  6422. ],
  6423. "tags": [
  6424. "定制【海商报业】"
  6425. ],
  6426. "summary": "查询我的包裹信息",
  6427. "parameters": [
  6428. {
  6429. "type": "string",
  6430. "description": "资金账户列表,格式:1,2,3",
  6431. "name": "accountIDs",
  6432. "in": "query",
  6433. "required": true
  6434. },
  6435. {
  6436. "type": "integer",
  6437. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6438. "name": "takeOrderStatus",
  6439. "in": "query"
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "$ref": "#/definitions/models.HsbyMyPackage"
  6447. }
  6448. },
  6449. "500": {
  6450. "description": "Internal Server Error",
  6451. "schema": {
  6452. "$ref": "#/definitions/app.Response"
  6453. }
  6454. }
  6455. }
  6456. }
  6457. },
  6458. "/HSBY/QueryHsbyPreGoodsDetail": {
  6459. "get": {
  6460. "security": [
  6461. {
  6462. "ApiKeyAuth": []
  6463. }
  6464. ],
  6465. "produces": [
  6466. "application/json"
  6467. ],
  6468. "tags": [
  6469. "定制【海商报业】"
  6470. ],
  6471. "summary": "查询一级市场(预售)商品信息详情",
  6472. "parameters": [
  6473. {
  6474. "type": "integer",
  6475. "description": "商品ID",
  6476. "name": "goodsID",
  6477. "in": "query",
  6478. "required": true
  6479. },
  6480. {
  6481. "type": "integer",
  6482. "description": "资金账户,主要用于获取预售商品购买上限",
  6483. "name": "accountID",
  6484. "in": "query"
  6485. }
  6486. ],
  6487. "responses": {
  6488. "200": {
  6489. "description": "OK",
  6490. "schema": {
  6491. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6492. }
  6493. },
  6494. "500": {
  6495. "description": "Internal Server Error",
  6496. "schema": {
  6497. "$ref": "#/definitions/app.Response"
  6498. }
  6499. }
  6500. }
  6501. }
  6502. },
  6503. "/HSBY/QueryHsbyPreGoodses": {
  6504. "get": {
  6505. "security": [
  6506. {
  6507. "ApiKeyAuth": []
  6508. }
  6509. ],
  6510. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "定制【海商报业】"
  6516. ],
  6517. "summary": "查询新品上市商品列表(一级市场预售)",
  6518. "parameters": [
  6519. {
  6520. "type": "integer",
  6521. "description": "页码",
  6522. "name": "page",
  6523. "in": "query"
  6524. },
  6525. {
  6526. "type": "integer",
  6527. "description": "每页条数",
  6528. "name": "pagesize",
  6529. "in": "query"
  6530. },
  6531. {
  6532. "type": "string",
  6533. "description": "市场ID列表,格式:1,2,3",
  6534. "name": "marketIDs",
  6535. "in": "query",
  6536. "required": true
  6537. },
  6538. {
  6539. "type": "integer",
  6540. "description": "目的地(省)ID",
  6541. "name": "descProvinceID",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "integer",
  6546. "description": "目的地(市)ID",
  6547. "name": "descCityID",
  6548. "in": "query"
  6549. }
  6550. ],
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/models.HsbyPreGoods"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/HSBY/QueryHsbySellMyDetails": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6575. "produces": [
  6576. "application/json"
  6577. ],
  6578. "tags": [
  6579. "定制【海商报业】"
  6580. ],
  6581. "summary": "查询\"我的闲置\"单据信息",
  6582. "parameters": [
  6583. {
  6584. "type": "integer",
  6585. "description": "页码",
  6586. "name": "page",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "每页条数",
  6592. "name": "pagesize",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "string",
  6597. "description": "资金账户列表,格式:1,2,3",
  6598. "name": "accountIDs",
  6599. "in": "query",
  6600. "required": true
  6601. },
  6602. {
  6603. "type": "integer",
  6604. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6605. "name": "orderType",
  6606. "in": "query"
  6607. }
  6608. ],
  6609. "responses": {
  6610. "200": {
  6611. "description": "OK",
  6612. "schema": {
  6613. "$ref": "#/definitions/models.HsbySellMyDetail"
  6614. }
  6615. },
  6616. "500": {
  6617. "description": "Internal Server Error",
  6618. "schema": {
  6619. "$ref": "#/definitions/app.Response"
  6620. }
  6621. }
  6622. }
  6623. }
  6624. },
  6625. "/HSBY/QueryHsbyTopGoodses": {
  6626. "get": {
  6627. "security": [
  6628. {
  6629. "ApiKeyAuth": []
  6630. }
  6631. ],
  6632. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6633. "produces": [
  6634. "application/json"
  6635. ],
  6636. "tags": [
  6637. "定制【海商报业】"
  6638. ],
  6639. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6640. "parameters": [
  6641. {
  6642. "type": "integer",
  6643. "description": "页码",
  6644. "name": "page",
  6645. "in": "query"
  6646. },
  6647. {
  6648. "type": "integer",
  6649. "description": "每页条数",
  6650. "name": "pagesize",
  6651. "in": "query"
  6652. },
  6653. {
  6654. "type": "string",
  6655. "description": "市场ID列表,格式:1,2,3",
  6656. "name": "marketIDs",
  6657. "in": "query",
  6658. "required": true
  6659. },
  6660. {
  6661. "type": "integer",
  6662. "description": "目的地(省)ID",
  6663. "name": "descProvinceID",
  6664. "in": "query"
  6665. },
  6666. {
  6667. "type": "integer",
  6668. "description": "目的地(市)ID",
  6669. "name": "descCityID",
  6670. "in": "query"
  6671. }
  6672. ],
  6673. "responses": {
  6674. "200": {
  6675. "description": "OK",
  6676. "schema": {
  6677. "$ref": "#/definitions/models.HsbyTopGoods"
  6678. }
  6679. },
  6680. "500": {
  6681. "description": "Internal Server Error",
  6682. "schema": {
  6683. "$ref": "#/definitions/app.Response"
  6684. }
  6685. }
  6686. }
  6687. }
  6688. },
  6689. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6690. "get": {
  6691. "security": [
  6692. {
  6693. "ApiKeyAuth": []
  6694. }
  6695. ],
  6696. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6697. "produces": [
  6698. "application/json"
  6699. ],
  6700. "tags": [
  6701. "定制【海商报业】"
  6702. ],
  6703. "summary": "查询游客三级市场(商城)商品信息详情",
  6704. "parameters": [
  6705. {
  6706. "type": "integer",
  6707. "description": "商品ID",
  6708. "name": "goodsID",
  6709. "in": "query",
  6710. "required": true
  6711. }
  6712. ],
  6713. "responses": {
  6714. "200": {
  6715. "description": "OK",
  6716. "schema": {
  6717. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6718. }
  6719. },
  6720. "500": {
  6721. "description": "Internal Server Error",
  6722. "schema": {
  6723. "$ref": "#/definitions/app.Response"
  6724. }
  6725. }
  6726. }
  6727. }
  6728. },
  6729. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6730. "get": {
  6731. "security": [
  6732. {
  6733. "ApiKeyAuth": []
  6734. }
  6735. ],
  6736. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6737. "produces": [
  6738. "application/json"
  6739. ],
  6740. "tags": [
  6741. "定制【海商报业】"
  6742. ],
  6743. "summary": "查询游客特卖商品列表(三级商城)",
  6744. "parameters": [
  6745. {
  6746. "type": "integer",
  6747. "description": "页码",
  6748. "name": "page",
  6749. "in": "query"
  6750. },
  6751. {
  6752. "type": "integer",
  6753. "description": "每页条数",
  6754. "name": "pagesize",
  6755. "in": "query"
  6756. },
  6757. {
  6758. "type": "string",
  6759. "description": "市场ID列表,格式:1,2,3",
  6760. "name": "marketIDs",
  6761. "in": "query",
  6762. "required": true
  6763. },
  6764. {
  6765. "type": "integer",
  6766. "description": "类别ID",
  6767. "name": "categoryID",
  6768. "in": "query"
  6769. },
  6770. {
  6771. "type": "string",
  6772. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6773. "name": "goodsIDs",
  6774. "in": "query"
  6775. }
  6776. ],
  6777. "responses": {
  6778. "200": {
  6779. "description": "OK",
  6780. "schema": {
  6781. "$ref": "#/definitions/models.HsbyMarketGoods"
  6782. }
  6783. },
  6784. "500": {
  6785. "description": "Internal Server Error",
  6786. "schema": {
  6787. "$ref": "#/definitions/app.Response"
  6788. }
  6789. }
  6790. }
  6791. }
  6792. },
  6793. "/HSBY/QueryMyCollectionOrders": {
  6794. "get": {
  6795. "security": [
  6796. {
  6797. "ApiKeyAuth": []
  6798. }
  6799. ],
  6800. "produces": [
  6801. "application/json"
  6802. ],
  6803. "tags": [
  6804. "定制【海商报业】"
  6805. ],
  6806. "summary": "我的闲置中收款信息查询",
  6807. "parameters": [
  6808. {
  6809. "type": "integer",
  6810. "description": "页码",
  6811. "name": "page",
  6812. "in": "query"
  6813. },
  6814. {
  6815. "type": "integer",
  6816. "description": "每页条数",
  6817. "name": "pagesize",
  6818. "in": "query"
  6819. },
  6820. {
  6821. "type": "string",
  6822. "description": "资金账户,格式:1,2,3",
  6823. "name": "accountIDs",
  6824. "in": "query",
  6825. "required": true
  6826. }
  6827. ],
  6828. "responses": {
  6829. "200": {
  6830. "description": "OK",
  6831. "schema": {
  6832. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6833. }
  6834. },
  6835. "500": {
  6836. "description": "Internal Server Error",
  6837. "schema": {
  6838. "$ref": "#/definitions/app.Response"
  6839. }
  6840. }
  6841. }
  6842. }
  6843. },
  6844. "/HSBY/QueryMyCouponHolds": {
  6845. "get": {
  6846. "security": [
  6847. {
  6848. "ApiKeyAuth": []
  6849. }
  6850. ],
  6851. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6852. "produces": [
  6853. "application/json"
  6854. ],
  6855. "tags": [
  6856. "定制【海商报业】"
  6857. ],
  6858. "summary": "我的优惠卷持仓查询",
  6859. "parameters": [
  6860. {
  6861. "type": "string",
  6862. "description": "资金账户列表,格式:1,2,3",
  6863. "name": "accountIDs",
  6864. "in": "query",
  6865. "required": true
  6866. },
  6867. {
  6868. "type": "string",
  6869. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6870. "name": "holdStatus",
  6871. "in": "query"
  6872. }
  6873. ],
  6874. "responses": {
  6875. "200": {
  6876. "description": "OK",
  6877. "schema": {
  6878. "$ref": "#/definitions/models.MyCouponHold"
  6879. }
  6880. },
  6881. "500": {
  6882. "description": "Internal Server Error",
  6883. "schema": {
  6884. "$ref": "#/definitions/app.Response"
  6885. }
  6886. }
  6887. }
  6888. }
  6889. },
  6890. "/HSBY/QueryMyCoupons": {
  6891. "get": {
  6892. "security": [
  6893. {
  6894. "ApiKeyAuth": []
  6895. }
  6896. ],
  6897. "produces": [
  6898. "application/json"
  6899. ],
  6900. "tags": [
  6901. "定制【海商报业】"
  6902. ],
  6903. "summary": "我的优惠卷查询",
  6904. "parameters": [
  6905. {
  6906. "type": "string",
  6907. "description": "资金账户列表,格式:1,2,3",
  6908. "name": "accountIDs",
  6909. "in": "query",
  6910. "required": true
  6911. },
  6912. {
  6913. "type": "integer",
  6914. "description": "商品ID, 一般与sellUserID配套传入",
  6915. "name": "goodsID",
  6916. "in": "query"
  6917. },
  6918. {
  6919. "type": "integer",
  6920. "description": "卖方UserID",
  6921. "name": "sellUserID",
  6922. "in": "query"
  6923. }
  6924. ],
  6925. "responses": {
  6926. "200": {
  6927. "description": "OK",
  6928. "schema": {
  6929. "$ref": "#/definitions/models.MyCoupon"
  6930. }
  6931. },
  6932. "500": {
  6933. "description": "Internal Server Error",
  6934. "schema": {
  6935. "$ref": "#/definitions/app.Response"
  6936. }
  6937. }
  6938. }
  6939. }
  6940. },
  6941. "/HSBY/QueryMyPayOrders": {
  6942. "get": {
  6943. "security": [
  6944. {
  6945. "ApiKeyAuth": []
  6946. }
  6947. ],
  6948. "produces": [
  6949. "application/json"
  6950. ],
  6951. "tags": [
  6952. "定制【海商报业】"
  6953. ],
  6954. "summary": "获取我的订单中待付款信息",
  6955. "parameters": [
  6956. {
  6957. "type": "integer",
  6958. "description": "页码",
  6959. "name": "page",
  6960. "in": "query"
  6961. },
  6962. {
  6963. "type": "integer",
  6964. "description": "每页条数",
  6965. "name": "pagesize",
  6966. "in": "query"
  6967. },
  6968. {
  6969. "type": "string",
  6970. "description": "资金账户列表,格式:1,2,3",
  6971. "name": "accountIDs",
  6972. "in": "query",
  6973. "required": true
  6974. },
  6975. {
  6976. "type": "integer",
  6977. "description": "买方委托单号",
  6978. "name": "buyOrderID",
  6979. "in": "query"
  6980. },
  6981. {
  6982. "type": "integer",
  6983. "description": "卖方委托单号",
  6984. "name": "sellOrderID",
  6985. "in": "query"
  6986. }
  6987. ],
  6988. "responses": {
  6989. "200": {
  6990. "description": "OK",
  6991. "schema": {
  6992. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6993. }
  6994. },
  6995. "500": {
  6996. "description": "Internal Server Error",
  6997. "schema": {
  6998. "$ref": "#/definitions/app.Response"
  6999. }
  7000. }
  7001. }
  7002. }
  7003. },
  7004. "/HSBY/QueryMyUsedCoupon": {
  7005. "get": {
  7006. "security": [
  7007. {
  7008. "ApiKeyAuth": []
  7009. }
  7010. ],
  7011. "produces": [
  7012. "application/json"
  7013. ],
  7014. "tags": [
  7015. "定制【海商报业】"
  7016. ],
  7017. "summary": "已使用优惠卷查询",
  7018. "parameters": [
  7019. {
  7020. "type": "string",
  7021. "description": "资金账户列表,格式:1,2,3",
  7022. "name": "accountIDs",
  7023. "in": "query",
  7024. "required": true
  7025. }
  7026. ],
  7027. "responses": {
  7028. "200": {
  7029. "description": "OK",
  7030. "schema": {
  7031. "$ref": "#/definitions/models.MyUsedCoupon"
  7032. }
  7033. },
  7034. "500": {
  7035. "description": "Internal Server Error",
  7036. "schema": {
  7037. "$ref": "#/definitions/app.Response"
  7038. }
  7039. }
  7040. }
  7041. }
  7042. },
  7043. "/HSBY/QueryProvincesAndCities": {
  7044. "get": {
  7045. "security": [
  7046. {
  7047. "ApiKeyAuth": []
  7048. }
  7049. ],
  7050. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7051. "produces": [
  7052. "application/json"
  7053. ],
  7054. "tags": [
  7055. "定制【海商报业】"
  7056. ],
  7057. "summary": "查询省市信息(不包括区)",
  7058. "parameters": [
  7059. {
  7060. "type": "integer",
  7061. "description": "省ID",
  7062. "name": "provinceID",
  7063. "in": "query"
  7064. }
  7065. ],
  7066. "responses": {
  7067. "200": {
  7068. "description": "OK",
  7069. "schema": {
  7070. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7071. }
  7072. },
  7073. "500": {
  7074. "description": "Internal Server Error",
  7075. "schema": {
  7076. "$ref": "#/definitions/app.Response"
  7077. }
  7078. }
  7079. }
  7080. }
  7081. },
  7082. "/HSBY/SetHsbyMyPackagesStatus": {
  7083. "post": {
  7084. "security": [
  7085. {
  7086. "ApiKeyAuth": []
  7087. }
  7088. ],
  7089. "produces": [
  7090. "application/json"
  7091. ],
  7092. "tags": [
  7093. "定制【海商报业】"
  7094. ],
  7095. "summary": "设置我的包裹已收货状态",
  7096. "parameters": [
  7097. {
  7098. "type": "string",
  7099. "description": "提货单号",
  7100. "name": "takeOrderID",
  7101. "in": "query",
  7102. "required": true
  7103. },
  7104. {
  7105. "type": "integer",
  7106. "description": "资金账号",
  7107. "name": "accountID",
  7108. "in": "query",
  7109. "required": true
  7110. }
  7111. ],
  7112. "responses": {
  7113. "200": {
  7114. "description": "OK",
  7115. "schema": {
  7116. "$ref": "#/definitions/app.Response"
  7117. }
  7118. },
  7119. "500": {
  7120. "description": "Internal Server Error",
  7121. "schema": {
  7122. "$ref": "#/definitions/app.Response"
  7123. }
  7124. }
  7125. }
  7126. }
  7127. },
  7128. "/Market/QueryGoodsesByLoginID": {
  7129. "get": {
  7130. "security": [
  7131. {
  7132. "ApiKeyAuth": []
  7133. }
  7134. ],
  7135. "produces": [
  7136. "application/json"
  7137. ],
  7138. "tags": [
  7139. "通用市场"
  7140. ],
  7141. "summary": "获取登录账号有权限的商品信息",
  7142. "parameters": [
  7143. {
  7144. "type": "integer",
  7145. "description": "登录账号",
  7146. "name": "loginID",
  7147. "in": "query",
  7148. "required": true
  7149. },
  7150. {
  7151. "type": "string",
  7152. "description": "市场ID列表,格式:1,2,3",
  7153. "name": "marketIDs",
  7154. "in": "query"
  7155. }
  7156. ],
  7157. "responses": {
  7158. "200": {
  7159. "description": "OK",
  7160. "schema": {
  7161. "$ref": "#/definitions/models.Goods"
  7162. }
  7163. },
  7164. "500": {
  7165. "description": "Internal Server Error",
  7166. "schema": {
  7167. "$ref": "#/definitions/app.Response"
  7168. }
  7169. }
  7170. }
  7171. }
  7172. },
  7173. "/Market/QueryMarketRun": {
  7174. "get": {
  7175. "security": [
  7176. {
  7177. "ApiKeyAuth": []
  7178. }
  7179. ],
  7180. "produces": [
  7181. "application/json"
  7182. ],
  7183. "tags": [
  7184. "通用市场"
  7185. ],
  7186. "summary": "查询市场运行信息",
  7187. "parameters": [
  7188. {
  7189. "type": "integer",
  7190. "description": "市场ID,不传返回所有",
  7191. "name": "marketID",
  7192. "in": "query"
  7193. }
  7194. ],
  7195. "responses": {
  7196. "200": {
  7197. "description": "OK",
  7198. "schema": {
  7199. "$ref": "#/definitions/models.Marketrun"
  7200. }
  7201. },
  7202. "500": {
  7203. "description": "Internal Server Error",
  7204. "schema": {
  7205. "$ref": "#/definitions/app.Response"
  7206. }
  7207. }
  7208. }
  7209. }
  7210. },
  7211. "/Market/QueryMarketsByLoginID": {
  7212. "get": {
  7213. "security": [
  7214. {
  7215. "ApiKeyAuth": []
  7216. }
  7217. ],
  7218. "produces": [
  7219. "application/json"
  7220. ],
  7221. "tags": [
  7222. "通用市场"
  7223. ],
  7224. "summary": "获取登录账号有权限的市场信息",
  7225. "parameters": [
  7226. {
  7227. "type": "integer",
  7228. "description": "登录账号",
  7229. "name": "loginID",
  7230. "in": "query",
  7231. "required": true
  7232. }
  7233. ],
  7234. "responses": {
  7235. "200": {
  7236. "description": "OK",
  7237. "schema": {
  7238. "$ref": "#/definitions/models.Market"
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Order/QueryHisTradeDetail": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "通用单据"
  7262. ],
  7263. "summary": "历史成交单查询(合约市场)",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账户 - 格式:1,2,3",
  7268. "name": "accountID",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "成交单号",
  7275. "name": "tradeID",
  7276. "in": "query"
  7277. },
  7278. {
  7279. "type": "integer",
  7280. "description": "委托单号",
  7281. "name": "orderID",
  7282. "in": "query"
  7283. },
  7284. {
  7285. "type": "string",
  7286. "description": "交易模式 - 格式:1,2,3",
  7287. "name": "tradeMode",
  7288. "in": "query"
  7289. },
  7290. {
  7291. "type": "integer",
  7292. "description": "委托单据类型",
  7293. "name": "buildType",
  7294. "in": "query"
  7295. },
  7296. {
  7297. "type": "string",
  7298. "description": "成交类别 - 格式:1,2,3",
  7299. "name": "tradeType",
  7300. "in": "query"
  7301. },
  7302. {
  7303. "type": "string",
  7304. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7305. "name": "startDate",
  7306. "in": "query"
  7307. },
  7308. {
  7309. "type": "string",
  7310. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7311. "name": "endDate",
  7312. "in": "query"
  7313. }
  7314. ],
  7315. "responses": {
  7316. "200": {
  7317. "description": "OK",
  7318. "schema": {
  7319. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7320. }
  7321. },
  7322. "500": {
  7323. "description": "Internal Server Error",
  7324. "schema": {
  7325. "$ref": "#/definitions/app.Response"
  7326. }
  7327. }
  7328. }
  7329. }
  7330. },
  7331. "/Order/QueryHisTradeOrderDetail": {
  7332. "get": {
  7333. "security": [
  7334. {
  7335. "ApiKeyAuth": []
  7336. }
  7337. ],
  7338. "produces": [
  7339. "application/json"
  7340. ],
  7341. "tags": [
  7342. "通用单据"
  7343. ],
  7344. "summary": "历史委托单查询请求(合约市场)",
  7345. "parameters": [
  7346. {
  7347. "type": "string",
  7348. "description": "资金账户 - 格式:1,2,3",
  7349. "name": "accountID",
  7350. "in": "query",
  7351. "required": true
  7352. },
  7353. {
  7354. "type": "string",
  7355. "description": "交易模式 - 格式:1,2,3",
  7356. "name": "tradeMode",
  7357. "in": "query"
  7358. },
  7359. {
  7360. "type": "string",
  7361. "description": "委托状态 - 格式:1,2,3",
  7362. "name": "orderStatus",
  7363. "in": "query"
  7364. },
  7365. {
  7366. "type": "integer",
  7367. "description": "委托单号",
  7368. "name": "orderID",
  7369. "in": "query"
  7370. },
  7371. {
  7372. "type": "string",
  7373. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7374. "name": "startDate",
  7375. "in": "query"
  7376. },
  7377. {
  7378. "type": "string",
  7379. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7380. "name": "endDate",
  7381. "in": "query"
  7382. }
  7383. ],
  7384. "responses": {
  7385. "200": {
  7386. "description": "OK",
  7387. "schema": {
  7388. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7389. }
  7390. },
  7391. "500": {
  7392. "description": "Internal Server Error",
  7393. "schema": {
  7394. "$ref": "#/definitions/app.Response"
  7395. }
  7396. }
  7397. }
  7398. }
  7399. },
  7400. "/Order/QueryTradeDetail": {
  7401. "get": {
  7402. "security": [
  7403. {
  7404. "ApiKeyAuth": []
  7405. }
  7406. ],
  7407. "produces": [
  7408. "application/json"
  7409. ],
  7410. "tags": [
  7411. "通用单据"
  7412. ],
  7413. "summary": "成交单查询(合约市场)",
  7414. "parameters": [
  7415. {
  7416. "type": "string",
  7417. "description": "资金账户 - 格式:1,2,3",
  7418. "name": "accountID",
  7419. "in": "query",
  7420. "required": true
  7421. },
  7422. {
  7423. "type": "integer",
  7424. "description": "成交单号",
  7425. "name": "tradeID",
  7426. "in": "query"
  7427. },
  7428. {
  7429. "type": "integer",
  7430. "description": "委托单号",
  7431. "name": "orderID",
  7432. "in": "query"
  7433. },
  7434. {
  7435. "type": "string",
  7436. "description": "交易模式 - 格式:1,2,3",
  7437. "name": "tradeMode",
  7438. "in": "query"
  7439. },
  7440. {
  7441. "type": "integer",
  7442. "description": "委托单据类型",
  7443. "name": "buildType",
  7444. "in": "query"
  7445. },
  7446. {
  7447. "type": "string",
  7448. "description": "成交类别 - 格式:1,2,3",
  7449. "name": "tradeType",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Order/QueryTradeOrderDetail": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用单据"
  7481. ],
  7482. "summary": "委托单查询请求(合约市场)",
  7483. "parameters": [
  7484. {
  7485. "type": "string",
  7486. "description": "资金账户 - 格式:1,2,3",
  7487. "name": "accountID",
  7488. "in": "query",
  7489. "required": true
  7490. },
  7491. {
  7492. "type": "string",
  7493. "description": "交易模式 - 格式:1,2,3",
  7494. "name": "tradeMode",
  7495. "in": "query"
  7496. },
  7497. {
  7498. "type": "string",
  7499. "description": "委托状态 - 格式:1,2,3",
  7500. "name": "orderStatus",
  7501. "in": "query"
  7502. },
  7503. {
  7504. "type": "integer",
  7505. "description": "委托单号",
  7506. "name": "orderID",
  7507. "in": "query"
  7508. }
  7509. ],
  7510. "responses": {
  7511. "200": {
  7512. "description": "OK",
  7513. "schema": {
  7514. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7515. }
  7516. },
  7517. "500": {
  7518. "description": "Internal Server Error",
  7519. "schema": {
  7520. "$ref": "#/definitions/app.Response"
  7521. }
  7522. }
  7523. }
  7524. }
  7525. },
  7526. "/Order/QueryTradePosition": {
  7527. "get": {
  7528. "security": [
  7529. {
  7530. "ApiKeyAuth": []
  7531. }
  7532. ],
  7533. "produces": [
  7534. "application/json"
  7535. ],
  7536. "tags": [
  7537. "通用单据"
  7538. ],
  7539. "summary": "持仓汇总查询(合约市场)",
  7540. "parameters": [
  7541. {
  7542. "type": "string",
  7543. "description": "资金账户 - 格式:1,2,3",
  7544. "name": "accountID",
  7545. "in": "query",
  7546. "required": true
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "交易模式 - 格式:1,2,3",
  7551. "name": "tradeMode",
  7552. "in": "query"
  7553. }
  7554. ],
  7555. "responses": {
  7556. "200": {
  7557. "description": "OK",
  7558. "schema": {
  7559. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7560. }
  7561. },
  7562. "500": {
  7563. "description": "Internal Server Error",
  7564. "schema": {
  7565. "$ref": "#/definitions/app.Response"
  7566. }
  7567. }
  7568. }
  7569. }
  7570. },
  7571. "/Quote/QueryHistoryDatas": {
  7572. "get": {
  7573. "security": [
  7574. {
  7575. "ApiKeyAuth": []
  7576. }
  7577. ],
  7578. "produces": [
  7579. "application/json"
  7580. ],
  7581. "tags": [
  7582. "行情服务"
  7583. ],
  7584. "summary": "查询行情历史数据",
  7585. "parameters": [
  7586. {
  7587. "type": "integer",
  7588. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7589. "name": "cycleType",
  7590. "in": "query",
  7591. "required": true
  7592. },
  7593. {
  7594. "type": "string",
  7595. "description": "商品代码",
  7596. "name": "goodsCode",
  7597. "in": "query",
  7598. "required": true
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7603. "name": "startTime",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "string",
  7608. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7609. "name": "endTime",
  7610. "in": "query"
  7611. },
  7612. {
  7613. "type": "integer",
  7614. "description": "条数",
  7615. "name": "count",
  7616. "in": "query"
  7617. },
  7618. {
  7619. "type": "boolean",
  7620. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7621. "name": "isAsc",
  7622. "in": "query"
  7623. }
  7624. ],
  7625. "responses": {
  7626. "200": {
  7627. "description": "OK",
  7628. "schema": {
  7629. "$ref": "#/definitions/quote.HistoryData"
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Quote/QueryHistoryTikDatas": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "行情服务"
  7653. ],
  7654. "summary": "查询行情Tik数据",
  7655. "parameters": [
  7656. {
  7657. "type": "string",
  7658. "description": "商品代码",
  7659. "name": "goodsCode",
  7660. "in": "query",
  7661. "required": true
  7662. },
  7663. {
  7664. "type": "string",
  7665. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7666. "name": "startTime",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "string",
  7671. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7672. "name": "endTime",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "integer",
  7677. "description": "条数",
  7678. "name": "count",
  7679. "in": "query"
  7680. },
  7681. {
  7682. "type": "boolean",
  7683. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7684. "name": "isAsc",
  7685. "in": "query"
  7686. }
  7687. ],
  7688. "responses": {
  7689. "200": {
  7690. "description": "OK",
  7691. "schema": {
  7692. "$ref": "#/definitions/quote.HistoryTikData"
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Quote/QueryQuoteDay": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "行情服务"
  7716. ],
  7717. "summary": "获取商品盘面信息",
  7718. "parameters": [
  7719. {
  7720. "type": "string",
  7721. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7722. "name": "goodsCodes",
  7723. "in": "query",
  7724. "required": true
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7732. }
  7733. },
  7734. "500": {
  7735. "description": "Internal Server Error",
  7736. "schema": {
  7737. "$ref": "#/definitions/app.Response"
  7738. }
  7739. }
  7740. }
  7741. }
  7742. },
  7743. "/Quote/QueryTSData": {
  7744. "get": {
  7745. "security": [
  7746. {
  7747. "ApiKeyAuth": []
  7748. }
  7749. ],
  7750. "produces": [
  7751. "application/json"
  7752. ],
  7753. "tags": [
  7754. "行情服务"
  7755. ],
  7756. "summary": "分时图数据查询",
  7757. "parameters": [
  7758. {
  7759. "type": "string",
  7760. "description": "商品代码",
  7761. "name": "goodsCode",
  7762. "in": "query",
  7763. "required": true
  7764. }
  7765. ],
  7766. "responses": {
  7767. "200": {
  7768. "description": "OK",
  7769. "schema": {
  7770. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7771. }
  7772. },
  7773. "500": {
  7774. "description": "Internal Server Error",
  7775. "schema": {
  7776. "$ref": "#/definitions/app.Response"
  7777. }
  7778. }
  7779. }
  7780. }
  7781. },
  7782. "/SZDZ/QueryConvertConfig": {
  7783. "get": {
  7784. "security": [
  7785. {
  7786. "ApiKeyAuth": []
  7787. }
  7788. ],
  7789. "produces": [
  7790. "application/json"
  7791. ],
  7792. "tags": [
  7793. "定制【尚志大宗】"
  7794. ],
  7795. "summary": "查询交易系统转换设置",
  7796. "parameters": [
  7797. {
  7798. "type": "integer",
  7799. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7800. "name": "convertType",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "string",
  7805. "description": "外部商品代码[JD\\PD]",
  7806. "name": "outerGoodsCode",
  7807. "in": "query"
  7808. },
  7809. {
  7810. "type": "string",
  7811. "description": "内部商品ID列表[交易],格式:1,2,3",
  7812. "name": "innerGoodsIDs",
  7813. "in": "query"
  7814. }
  7815. ],
  7816. "responses": {
  7817. "200": {
  7818. "description": "OK",
  7819. "schema": {
  7820. "$ref": "#/definitions/models.Szdz3convertconfig"
  7821. }
  7822. },
  7823. "500": {
  7824. "description": "Internal Server Error",
  7825. "schema": {
  7826. "$ref": "#/definitions/app.Response"
  7827. }
  7828. }
  7829. }
  7830. }
  7831. },
  7832. "/SZDZ/QueryConvertLog": {
  7833. "get": {
  7834. "security": [
  7835. {
  7836. "ApiKeyAuth": []
  7837. }
  7838. ],
  7839. "produces": [
  7840. "application/json"
  7841. ],
  7842. "tags": [
  7843. "定制【尚志大宗】"
  7844. ],
  7845. "summary": "交易系统转换流水查询",
  7846. "parameters": [
  7847. {
  7848. "type": "string",
  7849. "description": "资金账户 - 格式:1,2,3",
  7850. "name": "accountID",
  7851. "in": "query",
  7852. "required": true
  7853. },
  7854. {
  7855. "type": "string",
  7856. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7857. "name": "startDate",
  7858. "in": "query"
  7859. },
  7860. {
  7861. "type": "string",
  7862. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7863. "name": "endDate",
  7864. "in": "query"
  7865. }
  7866. ],
  7867. "responses": {
  7868. "200": {
  7869. "description": "OK",
  7870. "schema": {
  7871. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7872. }
  7873. },
  7874. "500": {
  7875. "description": "Internal Server Error",
  7876. "schema": {
  7877. "$ref": "#/definitions/app.Response"
  7878. }
  7879. }
  7880. }
  7881. }
  7882. },
  7883. "/SZDZ/QueryGoodsPickup": {
  7884. "get": {
  7885. "security": [
  7886. {
  7887. "ApiKeyAuth": []
  7888. }
  7889. ],
  7890. "produces": [
  7891. "application/json"
  7892. ],
  7893. "tags": [
  7894. "定制【尚志大宗】"
  7895. ],
  7896. "summary": "商品提货单查询",
  7897. "parameters": [
  7898. {
  7899. "type": "string",
  7900. "description": "资金账户 - 格式:1,2,3",
  7901. "name": "accountID",
  7902. "in": "query",
  7903. "required": true
  7904. },
  7905. {
  7906. "type": "integer",
  7907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7908. "name": "takeOrderStatus",
  7909. "in": "query"
  7910. }
  7911. ],
  7912. "responses": {
  7913. "200": {
  7914. "description": "OK",
  7915. "schema": {
  7916. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7917. }
  7918. },
  7919. "500": {
  7920. "description": "Internal Server Error",
  7921. "schema": {
  7922. "$ref": "#/definitions/app.Response"
  7923. }
  7924. }
  7925. }
  7926. }
  7927. },
  7928. "/SZDZ/QueryRecieptOrder": {
  7929. "get": {
  7930. "security": [
  7931. {
  7932. "ApiKeyAuth": []
  7933. }
  7934. ],
  7935. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7936. "produces": [
  7937. "application/json"
  7938. ],
  7939. "tags": [
  7940. "定制【尚志大宗】"
  7941. ],
  7942. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7943. "parameters": [
  7944. {
  7945. "type": "integer",
  7946. "description": "页码",
  7947. "name": "page",
  7948. "in": "query"
  7949. },
  7950. {
  7951. "type": "integer",
  7952. "description": "每页条数",
  7953. "name": "pagesize",
  7954. "in": "query"
  7955. },
  7956. {
  7957. "type": "integer",
  7958. "description": "商品ID",
  7959. "name": "goodsID",
  7960. "in": "query",
  7961. "required": true
  7962. },
  7963. {
  7964. "type": "string",
  7965. "description": "所属账户名称",
  7966. "name": "accountName",
  7967. "in": "query"
  7968. },
  7969. {
  7970. "type": "integer",
  7971. "description": "市场ID",
  7972. "name": "marketID",
  7973. "in": "query"
  7974. },
  7975. {
  7976. "type": "integer",
  7977. "description": "方向 - 0:买 1:卖",
  7978. "name": "buyorsell",
  7979. "in": "query",
  7980. "required": true
  7981. }
  7982. ],
  7983. "responses": {
  7984. "200": {
  7985. "description": "OK",
  7986. "schema": {
  7987. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7988. }
  7989. },
  7990. "500": {
  7991. "description": "Internal Server Error",
  7992. "schema": {
  7993. "$ref": "#/definitions/app.Response"
  7994. }
  7995. }
  7996. }
  7997. }
  7998. },
  7999. "/SZDZ/QuerySZDZTradePosition": {
  8000. "get": {
  8001. "security": [
  8002. {
  8003. "ApiKeyAuth": []
  8004. }
  8005. ],
  8006. "produces": [
  8007. "application/json"
  8008. ],
  8009. "tags": [
  8010. "定制【尚志大宗】"
  8011. ],
  8012. "summary": "持仓汇总查询(尚志大宗)",
  8013. "parameters": [
  8014. {
  8015. "type": "integer",
  8016. "description": "资金账户",
  8017. "name": "accountID",
  8018. "in": "query",
  8019. "required": true
  8020. }
  8021. ],
  8022. "responses": {
  8023. "200": {
  8024. "description": "OK",
  8025. "schema": {
  8026. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8027. }
  8028. },
  8029. "500": {
  8030. "description": "Internal Server Error",
  8031. "schema": {
  8032. "$ref": "#/definitions/app.Response"
  8033. }
  8034. }
  8035. }
  8036. }
  8037. },
  8038. "/SZDZ/SearchWhite": {
  8039. "get": {
  8040. "security": [
  8041. {
  8042. "ApiKeyAuth": []
  8043. }
  8044. ],
  8045. "produces": [
  8046. "application/json"
  8047. ],
  8048. "tags": [
  8049. "定制【尚志大宗】"
  8050. ],
  8051. "summary": "搜索白名单",
  8052. "parameters": [
  8053. {
  8054. "type": "integer",
  8055. "description": "用户ID",
  8056. "name": "userID",
  8057. "in": "query",
  8058. "required": true
  8059. }
  8060. ],
  8061. "responses": {
  8062. "200": {
  8063. "description": "OK",
  8064. "schema": {
  8065. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8066. }
  8067. },
  8068. "500": {
  8069. "description": "Internal Server Error",
  8070. "schema": {
  8071. "$ref": "#/definitions/app.Response"
  8072. }
  8073. }
  8074. }
  8075. }
  8076. },
  8077. "/Search/SearchGoodses": {
  8078. "get": {
  8079. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8080. "produces": [
  8081. "application/json"
  8082. ],
  8083. "tags": [
  8084. "检索服务"
  8085. ],
  8086. "summary": "检索商品信息",
  8087. "parameters": [
  8088. {
  8089. "type": "string",
  8090. "description": "检索内容",
  8091. "name": "content",
  8092. "in": "query",
  8093. "required": true
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "交易模式,格式:1,2,3",
  8098. "name": "tradeModes",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "$ref": "#/definitions/models.SearchGoods"
  8107. }
  8108. },
  8109. "500": {
  8110. "description": "Internal Server Error",
  8111. "schema": {
  8112. "$ref": "#/definitions/app.Response"
  8113. }
  8114. }
  8115. }
  8116. }
  8117. },
  8118. "/TaAccount/GetTaAccounts": {
  8119. "get": {
  8120. "security": [
  8121. {
  8122. "ApiKeyAuth": []
  8123. }
  8124. ],
  8125. "produces": [
  8126. "application/json"
  8127. ],
  8128. "tags": [
  8129. "资金账户"
  8130. ],
  8131. "summary": "获取资金账户信息",
  8132. "parameters": [
  8133. {
  8134. "type": "integer",
  8135. "description": "登录账户",
  8136. "name": "loginID",
  8137. "in": "query",
  8138. "required": true
  8139. },
  8140. {
  8141. "type": "integer",
  8142. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8143. "name": "taAccountType",
  8144. "in": "query"
  8145. }
  8146. ],
  8147. "responses": {
  8148. "200": {
  8149. "description": "OK",
  8150. "schema": {
  8151. "$ref": "#/definitions/models.Taaccount"
  8152. }
  8153. },
  8154. "500": {
  8155. "description": "Internal Server Error",
  8156. "schema": {
  8157. "$ref": "#/definitions/app.Response"
  8158. }
  8159. }
  8160. }
  8161. }
  8162. },
  8163. "/TaAccount/QueryAmountLog": {
  8164. "get": {
  8165. "security": [
  8166. {
  8167. "ApiKeyAuth": []
  8168. }
  8169. ],
  8170. "produces": [
  8171. "application/json"
  8172. ],
  8173. "tags": [
  8174. "资金账户"
  8175. ],
  8176. "summary": "资金流水查询(当前)",
  8177. "parameters": [
  8178. {
  8179. "type": "integer",
  8180. "description": "页码",
  8181. "name": "page",
  8182. "in": "query"
  8183. },
  8184. {
  8185. "type": "integer",
  8186. "description": "每页条数",
  8187. "name": "pagesize",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "资金账户 - 格式:1,2,3",
  8193. "name": "accountID",
  8194. "in": "query",
  8195. "required": true
  8196. },
  8197. {
  8198. "type": "string",
  8199. "description": "资金操作类型 - 格式:1,2,3",
  8200. "name": "OperateType",
  8201. "in": "query"
  8202. }
  8203. ],
  8204. "responses": {
  8205. "200": {
  8206. "description": "OK",
  8207. "schema": {
  8208. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8209. }
  8210. },
  8211. "500": {
  8212. "description": "Internal Server Error",
  8213. "schema": {
  8214. "$ref": "#/definitions/app.Response"
  8215. }
  8216. }
  8217. }
  8218. }
  8219. },
  8220. "/TaAccount/QueryHisAmountLog": {
  8221. "get": {
  8222. "security": [
  8223. {
  8224. "ApiKeyAuth": []
  8225. }
  8226. ],
  8227. "produces": [
  8228. "application/json"
  8229. ],
  8230. "tags": [
  8231. "资金账户"
  8232. ],
  8233. "summary": "资金流水查询(历史)",
  8234. "parameters": [
  8235. {
  8236. "type": "integer",
  8237. "description": "页码",
  8238. "name": "page",
  8239. "in": "query"
  8240. },
  8241. {
  8242. "type": "integer",
  8243. "description": "每页条数",
  8244. "name": "pagesize",
  8245. "in": "query"
  8246. },
  8247. {
  8248. "type": "string",
  8249. "description": "资金账户 - 格式:1,2,3",
  8250. "name": "accountID",
  8251. "in": "query",
  8252. "required": true
  8253. },
  8254. {
  8255. "type": "string",
  8256. "description": "资金操作类型 - 格式:1,2,3",
  8257. "name": "OperateType",
  8258. "in": "query"
  8259. },
  8260. {
  8261. "type": "string",
  8262. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8263. "name": "startDate",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "string",
  8268. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8269. "name": "endDate",
  8270. "in": "query"
  8271. }
  8272. ],
  8273. "responses": {
  8274. "200": {
  8275. "description": "OK",
  8276. "schema": {
  8277. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8278. }
  8279. },
  8280. "500": {
  8281. "description": "Internal Server Error",
  8282. "schema": {
  8283. "$ref": "#/definitions/app.Response"
  8284. }
  8285. }
  8286. }
  8287. }
  8288. },
  8289. "/Trade/QueryRecieptOrder": {
  8290. "get": {
  8291. "security": [
  8292. {
  8293. "ApiKeyAuth": []
  8294. }
  8295. ],
  8296. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8297. "produces": [
  8298. "application/json"
  8299. ],
  8300. "tags": [
  8301. "通用交易"
  8302. ],
  8303. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8304. "parameters": [
  8305. {
  8306. "type": "integer",
  8307. "description": "页码",
  8308. "name": "page",
  8309. "in": "query"
  8310. },
  8311. {
  8312. "type": "integer",
  8313. "description": "每页条数",
  8314. "name": "pagesize",
  8315. "in": "query"
  8316. },
  8317. {
  8318. "type": "integer",
  8319. "description": "商品ID",
  8320. "name": "goodsID",
  8321. "in": "query",
  8322. "required": true
  8323. },
  8324. {
  8325. "type": "string",
  8326. "description": "所属账户名称",
  8327. "name": "accountName",
  8328. "in": "query"
  8329. },
  8330. {
  8331. "type": "integer",
  8332. "description": "市场ID",
  8333. "name": "marketID",
  8334. "in": "query"
  8335. },
  8336. {
  8337. "type": "integer",
  8338. "description": "方向 - 0:买 1:卖",
  8339. "name": "buyorsell",
  8340. "in": "query",
  8341. "required": true
  8342. }
  8343. ],
  8344. "responses": {
  8345. "200": {
  8346. "description": "OK",
  8347. "schema": {
  8348. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/User/AddMessageBoard": {
  8361. "post": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "用户信息"
  8372. ],
  8373. "summary": "添加用户留言板信息",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userID",
  8379. "in": "query",
  8380. "required": true
  8381. },
  8382. {
  8383. "type": "string",
  8384. "description": "留言信息",
  8385. "name": "message",
  8386. "in": "query",
  8387. "required": true
  8388. },
  8389. {
  8390. "type": "string",
  8391. "description": "联系电话",
  8392. "name": "contactNum",
  8393. "in": "query",
  8394. "required": true
  8395. }
  8396. ],
  8397. "responses": {
  8398. "200": {
  8399. "description": "OK",
  8400. "schema": {
  8401. "$ref": "#/definitions/app.Response"
  8402. }
  8403. },
  8404. "500": {
  8405. "description": "Internal Server Error",
  8406. "schema": {
  8407. "$ref": "#/definitions/app.Response"
  8408. }
  8409. }
  8410. }
  8411. }
  8412. },
  8413. "/User/AddUserFavoriteGoods": {
  8414. "post": {
  8415. "security": [
  8416. {
  8417. "ApiKeyAuth": []
  8418. }
  8419. ],
  8420. "produces": [
  8421. "application/json"
  8422. ],
  8423. "tags": [
  8424. "用户信息"
  8425. ],
  8426. "summary": "添加用户商品收藏信息",
  8427. "parameters": [
  8428. {
  8429. "type": "integer",
  8430. "description": "用户ID",
  8431. "name": "userID",
  8432. "in": "query",
  8433. "required": true
  8434. },
  8435. {
  8436. "type": "integer",
  8437. "description": "商品ID",
  8438. "name": "goodsID",
  8439. "in": "query",
  8440. "required": true
  8441. }
  8442. ],
  8443. "responses": {
  8444. "200": {
  8445. "description": "OK",
  8446. "schema": {
  8447. "$ref": "#/definitions/app.Response"
  8448. }
  8449. },
  8450. "500": {
  8451. "description": "Internal Server Error",
  8452. "schema": {
  8453. "$ref": "#/definitions/app.Response"
  8454. }
  8455. }
  8456. }
  8457. }
  8458. },
  8459. "/User/GetLoginID": {
  8460. "get": {
  8461. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8462. "produces": [
  8463. "application/json"
  8464. ],
  8465. "tags": [
  8466. "用户信息"
  8467. ],
  8468. "summary": "获取登录ID",
  8469. "parameters": [
  8470. {
  8471. "type": "string",
  8472. "description": "登录代码",
  8473. "name": "username",
  8474. "in": "query",
  8475. "required": true
  8476. }
  8477. ],
  8478. "responses": {
  8479. "200": {
  8480. "description": "OK",
  8481. "schema": {
  8482. "$ref": "#/definitions/app.Response"
  8483. }
  8484. },
  8485. "500": {
  8486. "description": "Internal Server Error",
  8487. "schema": {
  8488. "$ref": "#/definitions/app.Response"
  8489. }
  8490. }
  8491. }
  8492. }
  8493. },
  8494. "/User/GetUserAccount": {
  8495. "get": {
  8496. "security": [
  8497. {
  8498. "ApiKeyAuth": []
  8499. }
  8500. ],
  8501. "produces": [
  8502. "application/json"
  8503. ],
  8504. "tags": [
  8505. "用户信息"
  8506. ],
  8507. "summary": "获取用户账号信息",
  8508. "parameters": [
  8509. {
  8510. "type": "integer",
  8511. "description": "用户ID",
  8512. "name": "userID",
  8513. "in": "query",
  8514. "required": true
  8515. }
  8516. ],
  8517. "responses": {
  8518. "200": {
  8519. "description": "OK",
  8520. "schema": {
  8521. "$ref": "#/definitions/models.Useraccount"
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/User/GetUserAuthStatus": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "用户信息"
  8545. ],
  8546. "summary": "获取用户实名认证状态",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "用户ID",
  8551. "name": "userID",
  8552. "in": "query",
  8553. "required": true
  8554. }
  8555. ],
  8556. "responses": {
  8557. "200": {
  8558. "description": "OK",
  8559. "schema": {
  8560. "$ref": "#/definitions/app.Response"
  8561. }
  8562. },
  8563. "500": {
  8564. "description": "Internal Server Error",
  8565. "schema": {
  8566. "$ref": "#/definitions/app.Response"
  8567. }
  8568. }
  8569. }
  8570. }
  8571. },
  8572. "/User/LoginQuery": {
  8573. "get": {
  8574. "security": [
  8575. {
  8576. "ApiKeyAuth": []
  8577. }
  8578. ],
  8579. "produces": [
  8580. "application/json"
  8581. ],
  8582. "tags": [
  8583. "用户信息"
  8584. ],
  8585. "summary": "账户登录后信息查询",
  8586. "parameters": [
  8587. {
  8588. "type": "integer",
  8589. "description": "登录账号",
  8590. "name": "loginID",
  8591. "in": "query",
  8592. "required": true
  8593. }
  8594. ],
  8595. "responses": {
  8596. "200": {
  8597. "description": "OK",
  8598. "schema": {
  8599. "$ref": "#/definitions/user.LoginQueryRsp"
  8600. }
  8601. },
  8602. "500": {
  8603. "description": "Internal Server Error",
  8604. "schema": {
  8605. "$ref": "#/definitions/app.Response"
  8606. }
  8607. }
  8608. }
  8609. }
  8610. },
  8611. "/User/QueryMessageBoard": {
  8612. "get": {
  8613. "security": [
  8614. {
  8615. "ApiKeyAuth": []
  8616. }
  8617. ],
  8618. "produces": [
  8619. "application/json"
  8620. ],
  8621. "tags": [
  8622. "用户信息"
  8623. ],
  8624. "summary": "获取用户留言板信息",
  8625. "parameters": [
  8626. {
  8627. "type": "integer",
  8628. "description": "用户ID",
  8629. "name": "userID",
  8630. "in": "query",
  8631. "required": true
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "$ref": "#/definitions/models.Messageboard"
  8639. }
  8640. },
  8641. "500": {
  8642. "description": "Internal Server Error",
  8643. "schema": {
  8644. "$ref": "#/definitions/app.Response"
  8645. }
  8646. }
  8647. }
  8648. }
  8649. },
  8650. "/User/QueryUserFavoriteGoodses": {
  8651. "get": {
  8652. "security": [
  8653. {
  8654. "ApiKeyAuth": []
  8655. }
  8656. ],
  8657. "produces": [
  8658. "application/json"
  8659. ],
  8660. "tags": [
  8661. "用户信息"
  8662. ],
  8663. "summary": "获取用户商品收藏信息",
  8664. "parameters": [
  8665. {
  8666. "type": "integer",
  8667. "description": "用户ID",
  8668. "name": "userID",
  8669. "in": "query",
  8670. "required": true
  8671. }
  8672. ],
  8673. "responses": {
  8674. "200": {
  8675. "description": "OK",
  8676. "schema": {
  8677. "$ref": "#/definitions/models.Userfavoritegoods"
  8678. }
  8679. },
  8680. "500": {
  8681. "description": "Internal Server Error",
  8682. "schema": {
  8683. "$ref": "#/definitions/app.Response"
  8684. }
  8685. }
  8686. }
  8687. }
  8688. },
  8689. "/User/QueryUserInfo": {
  8690. "get": {
  8691. "security": [
  8692. {
  8693. "ApiKeyAuth": []
  8694. }
  8695. ],
  8696. "produces": [
  8697. "application/json"
  8698. ],
  8699. "tags": [
  8700. "用户信息"
  8701. ],
  8702. "summary": "获取用户信息",
  8703. "parameters": [
  8704. {
  8705. "type": "integer",
  8706. "description": "用户ID",
  8707. "name": "userID",
  8708. "in": "query",
  8709. "required": true
  8710. },
  8711. {
  8712. "type": "boolean",
  8713. "description": "是否解密",
  8714. "name": "isDecrypt",
  8715. "in": "query"
  8716. }
  8717. ],
  8718. "responses": {
  8719. "200": {
  8720. "description": "OK",
  8721. "schema": {
  8722. "$ref": "#/definitions/models.Userinfo"
  8723. }
  8724. },
  8725. "500": {
  8726. "description": "Internal Server Error",
  8727. "schema": {
  8728. "$ref": "#/definitions/app.Response"
  8729. }
  8730. }
  8731. }
  8732. }
  8733. },
  8734. "/User/QueryUserReferNum": {
  8735. "get": {
  8736. "produces": [
  8737. "application/json"
  8738. ],
  8739. "tags": [
  8740. "用户信息"
  8741. ],
  8742. "summary": "获取用户邀请码",
  8743. "parameters": [
  8744. {
  8745. "type": "integer",
  8746. "description": "用户ID",
  8747. "name": "userID",
  8748. "in": "query",
  8749. "required": true
  8750. }
  8751. ],
  8752. "responses": {
  8753. "200": {
  8754. "description": "OK",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. },
  8759. "500": {
  8760. "description": "Internal Server Error",
  8761. "schema": {
  8762. "$ref": "#/definitions/app.Response"
  8763. }
  8764. }
  8765. }
  8766. }
  8767. },
  8768. "/User/RemoveUserFavoriteGoods": {
  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": "integer",
  8792. "description": "商品ID",
  8793. "name": "goodsID",
  8794. "in": "query",
  8795. "required": true
  8796. }
  8797. ],
  8798. "responses": {
  8799. "200": {
  8800. "description": "OK",
  8801. "schema": {
  8802. "$ref": "#/definitions/app.Response"
  8803. }
  8804. },
  8805. "500": {
  8806. "description": "Internal Server Error",
  8807. "schema": {
  8808. "$ref": "#/definitions/app.Response"
  8809. }
  8810. }
  8811. }
  8812. }
  8813. },
  8814. "/User/UpdateUserAccountStatus": {
  8815. "post": {
  8816. "security": [
  8817. {
  8818. "ApiKeyAuth": []
  8819. }
  8820. ],
  8821. "produces": [
  8822. "application/json"
  8823. ],
  8824. "tags": [
  8825. "用户信息"
  8826. ],
  8827. "summary": "更新用户状态",
  8828. "parameters": [
  8829. {
  8830. "type": "integer",
  8831. "description": "用户ID",
  8832. "name": "userID",
  8833. "in": "query",
  8834. "required": true
  8835. },
  8836. {
  8837. "type": "integer",
  8838. "description": "账户状态 - 4:正常 6:注销(停用)",
  8839. "name": "accountStatus",
  8840. "in": "query",
  8841. "required": true
  8842. }
  8843. ],
  8844. "responses": {
  8845. "200": {
  8846. "description": "OK",
  8847. "schema": {
  8848. "$ref": "#/definitions/app.Response"
  8849. }
  8850. },
  8851. "500": {
  8852. "description": "Internal Server Error",
  8853. "schema": {
  8854. "$ref": "#/definitions/app.Response"
  8855. }
  8856. }
  8857. }
  8858. }
  8859. },
  8860. "/WRTrade/GetAllDeliveryGoods": {
  8861. "get": {
  8862. "security": [
  8863. {
  8864. "ApiKeyAuth": []
  8865. },
  8866. {
  8867. "ApiKeyAuth": []
  8868. }
  8869. ],
  8870. "produces": [
  8871. "application/json",
  8872. "application/json"
  8873. ],
  8874. "tags": [
  8875. "仓单贸易",
  8876. "仓单贸易"
  8877. ],
  8878. "summary": "获取带仓单分类的种类信息",
  8879. "responses": {
  8880. "200": {
  8881. "description": "OK",
  8882. "schema": {
  8883. "$ref": "#/definitions/app.Response"
  8884. }
  8885. },
  8886. "500": {
  8887. "description": "Internal Server Error",
  8888. "schema": {
  8889. "$ref": "#/definitions/app.Response"
  8890. }
  8891. }
  8892. }
  8893. }
  8894. }
  8895. },
  8896. "definitions": {
  8897. "app.Response": {
  8898. "type": "object",
  8899. "properties": {
  8900. "code": {
  8901. "type": "integer"
  8902. },
  8903. "data": {
  8904. "type": "object"
  8905. },
  8906. "msg": {
  8907. "type": "string"
  8908. },
  8909. "page": {
  8910. "description": "页码",
  8911. "type": "integer"
  8912. },
  8913. "pagesize": {
  8914. "description": "每页条数",
  8915. "type": "integer"
  8916. },
  8917. "total": {
  8918. "description": "总条数",
  8919. "type": "integer"
  8920. }
  8921. }
  8922. },
  8923. "common.ClientMenu": {
  8924. "type": "object",
  8925. "properties": {
  8926. "children": {
  8927. "description": "子菜单列表",
  8928. "type": "array",
  8929. "items": {
  8930. "$ref": "#/definitions/common.ClientMenu"
  8931. }
  8932. },
  8933. "code": {
  8934. "description": "ID",
  8935. "type": "string"
  8936. },
  8937. "isshow": {
  8938. "description": "是否显示",
  8939. "type": "boolean"
  8940. },
  8941. "rulekey": {
  8942. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8943. "type": "string"
  8944. },
  8945. "sort": {
  8946. "description": "排序",
  8947. "type": "integer"
  8948. },
  8949. "title": {
  8950. "description": "标题",
  8951. "type": "string"
  8952. },
  8953. "type": {
  8954. "description": "类型,1:菜单 2:按钮",
  8955. "type": "integer"
  8956. }
  8957. }
  8958. },
  8959. "common.QueryImageConfigsRsp": {
  8960. "type": "object",
  8961. "required": [
  8962. "configid"
  8963. ],
  8964. "properties": {
  8965. "areauserid": {
  8966. "description": "所属机构ID",
  8967. "type": "integer"
  8968. },
  8969. "configid": {
  8970. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8971. "type": "integer"
  8972. },
  8973. "createdate": {
  8974. "description": "创建时间",
  8975. "type": "string"
  8976. },
  8977. "creatorid": {
  8978. "description": "创建人",
  8979. "type": "integer"
  8980. },
  8981. "imagepath": {
  8982. "description": "图片",
  8983. "type": "string"
  8984. },
  8985. "imagetype": {
  8986. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8987. "type": "integer"
  8988. },
  8989. "isshow": {
  8990. "description": "是否展示 - 0:不展示 1:展示",
  8991. "type": "integer"
  8992. },
  8993. "marketid": {
  8994. "description": "市场ID",
  8995. "type": "integer"
  8996. },
  8997. "modifierid": {
  8998. "description": "操作人",
  8999. "type": "integer"
  9000. },
  9001. "sort": {
  9002. "description": "排序",
  9003. "type": "integer"
  9004. },
  9005. "title": {
  9006. "description": "标题",
  9007. "type": "string"
  9008. },
  9009. "trademode": {
  9010. "description": "交易模式",
  9011. "type": "integer"
  9012. },
  9013. "updatedate": {
  9014. "description": "修改时间",
  9015. "type": "string"
  9016. },
  9017. "url": {
  9018. "description": "链接(地址或商品ID)",
  9019. "type": "string"
  9020. },
  9021. "urltype": {
  9022. "description": "链接类型 - 1:直接地址 2:商品ID",
  9023. "type": "integer"
  9024. }
  9025. }
  9026. },
  9027. "common.QueryNoticeRsp": {
  9028. "type": "object",
  9029. "required": [
  9030. "autoid"
  9031. ],
  9032. "properties": {
  9033. "auditoruserid": {
  9034. "description": "审核人",
  9035. "type": "integer"
  9036. },
  9037. "auditremark": {
  9038. "description": "审核备注",
  9039. "type": "string"
  9040. },
  9041. "audittime": {
  9042. "description": "审核日期",
  9043. "type": "string"
  9044. },
  9045. "autoid": {
  9046. "description": "自增ID",
  9047. "type": "integer"
  9048. },
  9049. "content": {
  9050. "description": "内容",
  9051. "type": "string"
  9052. },
  9053. "createtime": {
  9054. "description": "创建时间",
  9055. "type": "string"
  9056. },
  9057. "creatorid": {
  9058. "description": "建仓人",
  9059. "type": "integer"
  9060. },
  9061. "endtime": {
  9062. "description": "结束时间",
  9063. "type": "string"
  9064. },
  9065. "istop": {
  9066. "description": "是否置顶 - 0:不置顶 1:置顶",
  9067. "type": "integer"
  9068. },
  9069. "msgiconurl": {
  9070. "description": "消息图标Url",
  9071. "type": "string"
  9072. },
  9073. "msgtype": {
  9074. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9075. "type": "integer"
  9076. },
  9077. "publisher": {
  9078. "description": "消息发布者",
  9079. "type": "string"
  9080. },
  9081. "readed": {
  9082. "description": "是否已读",
  9083. "type": "boolean"
  9084. },
  9085. "scheduletime": {
  9086. "description": "计划发送时间",
  9087. "type": "string"
  9088. },
  9089. "sendtype": {
  9090. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9091. "type": "integer"
  9092. },
  9093. "sentstatus": {
  9094. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9095. "type": "integer"
  9096. },
  9097. "title": {
  9098. "description": "标题",
  9099. "type": "string"
  9100. },
  9101. "userid": {
  9102. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9103. "type": "integer"
  9104. }
  9105. }
  9106. },
  9107. "common.QueryProvincesAndCitiesRsp": {
  9108. "type": "object",
  9109. "properties": {
  9110. "cities": {
  9111. "description": "市",
  9112. "type": "array",
  9113. "items": {
  9114. "$ref": "#/definitions/models.Division"
  9115. }
  9116. },
  9117. "province": {
  9118. "description": "省",
  9119. "type": "object",
  9120. "$ref": "#/definitions/models.Division"
  9121. }
  9122. }
  9123. },
  9124. "common.QueryTableDefineRsp": {
  9125. "type": "object",
  9126. "required": [
  9127. "tablekey"
  9128. ],
  9129. "properties": {
  9130. "columns": {
  9131. "description": "列头信息数组",
  9132. "type": "array",
  9133. "items": {
  9134. "$ref": "#/definitions/models.Tablecolumnconfig"
  9135. }
  9136. },
  9137. "remark": {
  9138. "description": "Remark",
  9139. "type": "string"
  9140. },
  9141. "tabelmenu": {
  9142. "description": "列表菜单",
  9143. "type": "string"
  9144. },
  9145. "tablekey": {
  9146. "description": "列表Key",
  9147. "type": "string"
  9148. },
  9149. "tablename": {
  9150. "description": "列表名称",
  9151. "type": "string"
  9152. },
  9153. "tabletype": {
  9154. "description": "列表类型 - 1:管理端 2:终端",
  9155. "type": "integer"
  9156. }
  9157. }
  9158. },
  9159. "common.QueryTraderMenuRsp": {
  9160. "type": "object",
  9161. "properties": {
  9162. "OperationMenu": {
  9163. "description": "功能菜单",
  9164. "type": "array",
  9165. "items": {
  9166. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9167. }
  9168. },
  9169. "QuoteMenu": {
  9170. "description": "报价牌分类菜单",
  9171. "type": "array",
  9172. "items": {
  9173. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9174. }
  9175. }
  9176. }
  9177. },
  9178. "cptrade.Cptradepositioncancel": {
  9179. "type": "object",
  9180. "required": [
  9181. "cancelid"
  9182. ],
  9183. "properties": {
  9184. "accountid": {
  9185. "description": "申请人账户ID",
  9186. "type": "integer"
  9187. },
  9188. "applystatus": {
  9189. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9190. "type": "integer"
  9191. },
  9192. "applytime": {
  9193. "description": "申请时间",
  9194. "type": "string"
  9195. },
  9196. "cancelid": {
  9197. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9198. "type": "integer"
  9199. },
  9200. "cancelqty": {
  9201. "description": "注销数量",
  9202. "type": "integer"
  9203. },
  9204. "createtime": {
  9205. "description": "创建时间",
  9206. "type": "string"
  9207. },
  9208. "creatorid": {
  9209. "description": "创建人ID",
  9210. "type": "integer"
  9211. },
  9212. "creatorname": {
  9213. "description": "创建人",
  9214. "type": "string"
  9215. },
  9216. "goodscode": {
  9217. "description": "订单商品代码",
  9218. "type": "string"
  9219. },
  9220. "goodsid": {
  9221. "description": "商品ID",
  9222. "type": "integer"
  9223. },
  9224. "goodsname": {
  9225. "description": "订单商品名称",
  9226. "type": "string"
  9227. },
  9228. "goodunit": {
  9229. "description": "报价单位",
  9230. "type": "string"
  9231. },
  9232. "handlestatus": {
  9233. "description": "处理状态",
  9234. "type": "integer"
  9235. },
  9236. "marketid": {
  9237. "description": "市场ID",
  9238. "type": "integer"
  9239. },
  9240. "marketname": {
  9241. "description": "市场名称",
  9242. "type": "string"
  9243. },
  9244. "tradedate": {
  9245. "description": "交易日(yyyyMMdd)",
  9246. "type": "string"
  9247. },
  9248. "userid": {
  9249. "description": "申请人ID",
  9250. "type": "integer"
  9251. }
  9252. }
  9253. },
  9254. "cptrade.Cptradepresaleapply": {
  9255. "type": "object",
  9256. "required": [
  9257. "applyid"
  9258. ],
  9259. "properties": {
  9260. "accountid": {
  9261. "description": "申请人账户ID",
  9262. "type": "integer"
  9263. },
  9264. "applyid": {
  9265. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9266. "type": "integer"
  9267. },
  9268. "applyremark": {
  9269. "description": "申请备注",
  9270. "type": "string"
  9271. },
  9272. "applystatus": {
  9273. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9274. "type": "integer"
  9275. },
  9276. "applytime": {
  9277. "description": "申请时间",
  9278. "type": "string"
  9279. },
  9280. "attachmenturl": {
  9281. "description": "附件地址",
  9282. "type": "string"
  9283. },
  9284. "endtime": {
  9285. "description": "预售结束时间",
  9286. "type": "string"
  9287. },
  9288. "goodscode": {
  9289. "description": "商品代码",
  9290. "type": "string"
  9291. },
  9292. "goodsid": {
  9293. "description": "商品ID",
  9294. "type": "integer"
  9295. },
  9296. "goodsname": {
  9297. "description": "商品名称",
  9298. "type": "string"
  9299. },
  9300. "goodunit": {
  9301. "description": "报价单位",
  9302. "type": "string"
  9303. },
  9304. "handlestatus": {
  9305. "description": "处理状态",
  9306. "type": "integer"
  9307. },
  9308. "marketid": {
  9309. "description": "预售市场ID",
  9310. "type": "integer"
  9311. },
  9312. "marketname": {
  9313. "description": "预售市场名称",
  9314. "type": "string"
  9315. },
  9316. "presaleqty": {
  9317. "description": "预售数量",
  9318. "type": "integer"
  9319. },
  9320. "relatedgoodscode": {
  9321. "description": "关联交易合约代码",
  9322. "type": "string"
  9323. },
  9324. "relatedgoodsid": {
  9325. "description": "关联交易合约ID",
  9326. "type": "integer"
  9327. },
  9328. "relatedgoodsname": {
  9329. "description": "关联交易合约名称",
  9330. "type": "string"
  9331. },
  9332. "starttime": {
  9333. "description": "预售开始时间",
  9334. "type": "string"
  9335. },
  9336. "tradedate": {
  9337. "description": "交易日(yyyyMMdd)",
  9338. "type": "string"
  9339. },
  9340. "trademode": {
  9341. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9342. "type": "integer"
  9343. },
  9344. "userid": {
  9345. "description": "申请人ID",
  9346. "type": "integer"
  9347. }
  9348. }
  9349. },
  9350. "cptrade.Cptradeusergoodsdata": {
  9351. "type": "object",
  9352. "required": [
  9353. "accountid",
  9354. "goodsid"
  9355. ],
  9356. "properties": {
  9357. "EnabledQty": {
  9358. "description": "可用量",
  9359. "type": "integer"
  9360. },
  9361. "GoodsCode": {
  9362. "description": "订单商品代码",
  9363. "type": "string"
  9364. },
  9365. "GoodsName": {
  9366. "description": "订单商品名称",
  9367. "type": "string"
  9368. },
  9369. "WRStandardCode": {
  9370. "description": "仓单标准代码",
  9371. "type": "string"
  9372. },
  9373. "WRStandardName": {
  9374. "description": "仓单标准名称",
  9375. "type": "string"
  9376. },
  9377. "accountid": {
  9378. "description": "账户ID",
  9379. "type": "integer"
  9380. },
  9381. "cancelqty": {
  9382. "description": "注销量",
  9383. "type": "integer"
  9384. },
  9385. "curpresaleqty": {
  9386. "description": "当前预售量",
  9387. "type": "integer"
  9388. },
  9389. "deliveryqty": {
  9390. "description": "交割量",
  9391. "type": "integer"
  9392. },
  9393. "freezeamount": {
  9394. "description": "冻结金额",
  9395. "type": "number"
  9396. },
  9397. "goodsid": {
  9398. "description": "商品ID",
  9399. "type": "integer"
  9400. },
  9401. "goodunit": {
  9402. "description": "报价单位",
  9403. "type": "string"
  9404. },
  9405. "hasspotfreeze": {
  9406. "description": "是否有现货冻结 - 0:否 1:有",
  9407. "type": "integer"
  9408. },
  9409. "inqty": {
  9410. "description": "转入量(总数量)",
  9411. "type": "integer"
  9412. },
  9413. "marketid": {
  9414. "description": "市场ID",
  9415. "type": "integer"
  9416. },
  9417. "presaledamount": {
  9418. "description": "已预售总金额",
  9419. "type": "integer"
  9420. },
  9421. "presaledqty": {
  9422. "description": "已预售量",
  9423. "type": "integer"
  9424. },
  9425. "userid": {
  9426. "description": "用户ID",
  9427. "type": "integer"
  9428. },
  9429. "wrstandardid": {
  9430. "description": "仓单标准ID",
  9431. "type": "integer"
  9432. }
  9433. }
  9434. },
  9435. "cptrade.QueryCPTradeMyBidRsp": {
  9436. "type": "object",
  9437. "required": [
  9438. "accountid",
  9439. "goodsid",
  9440. "marketid",
  9441. "orderid",
  9442. "orderqty",
  9443. "ordertime",
  9444. "tradeprice",
  9445. "tradeqty"
  9446. ],
  9447. "properties": {
  9448. "accountid": {
  9449. "description": "账户ID[报价币种]",
  9450. "type": "integer"
  9451. },
  9452. "goodsid": {
  9453. "description": "商品ID",
  9454. "type": "integer"
  9455. },
  9456. "goodunit": {
  9457. "description": "报价单位",
  9458. "type": "string"
  9459. },
  9460. "marketid": {
  9461. "description": "市场ID",
  9462. "type": "integer"
  9463. },
  9464. "orderid": {
  9465. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9466. "type": "integer"
  9467. },
  9468. "orderprice": {
  9469. "description": "委托价格",
  9470. "type": "number"
  9471. },
  9472. "orderqty": {
  9473. "description": "委托数量",
  9474. "type": "integer"
  9475. },
  9476. "ordertime": {
  9477. "description": "委托时间",
  9478. "type": "string"
  9479. },
  9480. "ordertotalprice": {
  9481. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9482. "type": "number"
  9483. },
  9484. "ordertotalweight": {
  9485. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9486. "type": "integer"
  9487. },
  9488. "totaltotalprice": {
  9489. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9490. "type": "number"
  9491. },
  9492. "tradeprice": {
  9493. "description": "成交价格",
  9494. "type": "number"
  9495. },
  9496. "tradeqty": {
  9497. "description": "成交数量",
  9498. "type": "integer"
  9499. }
  9500. }
  9501. },
  9502. "cptrade.QueryCPTradeOrderDetailRsq": {
  9503. "type": "object",
  9504. "required": [
  9505. "accountid",
  9506. "buildtype",
  9507. "buyorsell",
  9508. "goodsid",
  9509. "marketid",
  9510. "memberuserid",
  9511. "operatetype",
  9512. "orderqty",
  9513. "ordertime",
  9514. "pricemode",
  9515. "strorderid",
  9516. "tradedate",
  9517. "validtype"
  9518. ],
  9519. "properties": {
  9520. "accountid": {
  9521. "description": "账户ID[报价币种]",
  9522. "type": "integer"
  9523. },
  9524. "buildtype": {
  9525. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9526. "type": "integer"
  9527. },
  9528. "buyorsell": {
  9529. "description": "买卖 - 0:买 1:卖",
  9530. "type": "integer"
  9531. },
  9532. "cancelorderid": {
  9533. "description": "撤单单号(撤单时填写)",
  9534. "type": "integer"
  9535. },
  9536. "cancelqty": {
  9537. "description": "撤单数量",
  9538. "type": "integer"
  9539. },
  9540. "clientordertime": {
  9541. "description": "客户端委托时间",
  9542. "type": "string"
  9543. },
  9544. "clientticket": {
  9545. "description": "客户端流水号",
  9546. "type": "string"
  9547. },
  9548. "clienttype": {
  9549. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9550. "type": "integer"
  9551. },
  9552. "closeexchagechargevalue": {
  9553. "description": "平仓交易所手续费设置值",
  9554. "type": "number"
  9555. },
  9556. "closefeealgorithm": {
  9557. "description": "平仓手续费收取方式 1:比率 2:固定",
  9558. "type": "integer"
  9559. },
  9560. "closefreezecharge": {
  9561. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9562. "type": "number"
  9563. },
  9564. "closememberchargevalue": {
  9565. "description": "平仓会员手续费设置值",
  9566. "type": "number"
  9567. },
  9568. "closeqty": {
  9569. "description": "平仓数量(先建后平操作 需要记录)",
  9570. "type": "integer"
  9571. },
  9572. "closetradeqty": {
  9573. "description": "平仓成交数量(先建后平操作,需要记录)",
  9574. "type": "integer"
  9575. },
  9576. "closeunfreezecharge": {
  9577. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9578. "type": "number"
  9579. },
  9580. "delistingtype": {
  9581. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9582. "type": "integer"
  9583. },
  9584. "freezecharge": {
  9585. "description": "冻结手续费",
  9586. "type": "number"
  9587. },
  9588. "freezemargin": {
  9589. "description": "冻结保证金(冻结交易金额)",
  9590. "type": "number"
  9591. },
  9592. "gcaccountid": {
  9593. "description": "账户ID[合约币种]",
  9594. "type": "integer"
  9595. },
  9596. "goodsid": {
  9597. "description": "商品ID",
  9598. "type": "integer"
  9599. },
  9600. "isconfirmexercise": {
  9601. "description": "是否确认行权- 0:否 1:是",
  9602. "type": "integer"
  9603. },
  9604. "ispreexercise": {
  9605. "description": "是否预申报- 0:否 1:是",
  9606. "type": "integer"
  9607. },
  9608. "listingselecttype": {
  9609. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9610. "type": "integer"
  9611. },
  9612. "marginalgorithm": {
  9613. "description": "保证金收取方式 1:比率 2:固定",
  9614. "type": "integer"
  9615. },
  9616. "marginvalue": {
  9617. "description": "即市保证金设置值",
  9618. "type": "number"
  9619. },
  9620. "marketid": {
  9621. "description": "市场ID",
  9622. "type": "integer"
  9623. },
  9624. "marketmaxsub": {
  9625. "description": "市价最大偏移范围",
  9626. "type": "number"
  9627. },
  9628. "memberuserid": {
  9629. "description": "所属会员UserID",
  9630. "type": "integer"
  9631. },
  9632. "openexchagechargevalue": {
  9633. "description": "建仓交易所手续费设置值",
  9634. "type": "number"
  9635. },
  9636. "openfeealgorithm": {
  9637. "description": "建仓手续费收取方式 1:比率 2:固定",
  9638. "type": "integer"
  9639. },
  9640. "openfreezecharge": {
  9641. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9642. "type": "number"
  9643. },
  9644. "openmemberchargevalue": {
  9645. "description": "建仓会员手续费设置值",
  9646. "type": "number"
  9647. },
  9648. "openqty": {
  9649. "description": "开仓数量(先建后平操作,需要记录)",
  9650. "type": "integer"
  9651. },
  9652. "opentradeqty": {
  9653. "description": "开仓成交数量(先建后平操作,需要记录)",
  9654. "type": "integer"
  9655. },
  9656. "openunfreezecharge": {
  9657. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9658. "type": "number"
  9659. },
  9660. "operatetype": {
  9661. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9662. "type": "integer"
  9663. },
  9664. "operatorid": {
  9665. "description": "登录账号(LoginID)",
  9666. "type": "integer"
  9667. },
  9668. "optiontype": {
  9669. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9670. "type": "integer"
  9671. },
  9672. "orderprice": {
  9673. "description": "委托价格",
  9674. "type": "number"
  9675. },
  9676. "orderqty": {
  9677. "description": "委托数量",
  9678. "type": "integer"
  9679. },
  9680. "ordersrc": {
  9681. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9682. "type": "integer"
  9683. },
  9684. "orderstatus": {
  9685. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9686. "type": "integer"
  9687. },
  9688. "ordertime": {
  9689. "description": "委托时间",
  9690. "type": "string"
  9691. },
  9692. "preexerciseprice": {
  9693. "description": "预申报价格",
  9694. "type": "number"
  9695. },
  9696. "premium": {
  9697. "description": "权利金",
  9698. "type": "number"
  9699. },
  9700. "preorderid": {
  9701. "description": "关联预埋单号(止盈止损单时填写)",
  9702. "type": "integer"
  9703. },
  9704. "pricemode": {
  9705. "description": "取价方式 - 1:市价 2: 限价",
  9706. "type": "integer"
  9707. },
  9708. "quoteid": {
  9709. "description": "报价单ID",
  9710. "type": "integer"
  9711. },
  9712. "relatedid": {
  9713. "description": "关联单号(交割单)",
  9714. "type": "integer"
  9715. },
  9716. "retcode": {
  9717. "description": "错误代码",
  9718. "type": "integer"
  9719. },
  9720. "sessionid": {
  9721. "description": "会话ID",
  9722. "type": "integer"
  9723. },
  9724. "strorderid": {
  9725. "description": "委托单号",
  9726. "type": "string"
  9727. },
  9728. "tradedate": {
  9729. "description": "交易日(yyyyMMdd)",
  9730. "type": "string"
  9731. },
  9732. "tradeproperty": {
  9733. "description": "交易属性",
  9734. "type": "integer"
  9735. },
  9736. "tradeqty": {
  9737. "description": "成交数量",
  9738. "type": "integer"
  9739. },
  9740. "unfreezecharge": {
  9741. "description": "解冻手续费",
  9742. "type": "number"
  9743. },
  9744. "unfreezemargin": {
  9745. "description": "解冻保证金",
  9746. "type": "number"
  9747. },
  9748. "updatetime": {
  9749. "description": "更新时间",
  9750. "type": "string"
  9751. },
  9752. "uuid": {
  9753. "description": "发起端唯一id",
  9754. "type": "string"
  9755. },
  9756. "validtime": {
  9757. "description": "有效期限",
  9758. "type": "string"
  9759. },
  9760. "validtype": {
  9761. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9762. "type": "integer"
  9763. },
  9764. "volumetype": {
  9765. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9766. "type": "integer"
  9767. }
  9768. }
  9769. },
  9770. "cptrade.QueryMyCPTradeGoodsRsp": {
  9771. "type": "object",
  9772. "required": [
  9773. "goodscode",
  9774. "goodsid",
  9775. "goodsname",
  9776. "marketid",
  9777. "relatedgoodscode",
  9778. "relatedgoodsname"
  9779. ],
  9780. "properties": {
  9781. "accountid": {
  9782. "description": "卖方账户ID",
  9783. "type": "integer"
  9784. },
  9785. "agreeunit": {
  9786. "description": "合约单位",
  9787. "type": "number"
  9788. },
  9789. "applyid": {
  9790. "description": "关联申请ID",
  9791. "type": "integer"
  9792. },
  9793. "attachmenturl": {
  9794. "description": "附件地址",
  9795. "type": "string"
  9796. },
  9797. "createtime": {
  9798. "description": "创建时间",
  9799. "type": "string"
  9800. },
  9801. "currencyid": {
  9802. "description": "报价货币ID",
  9803. "type": "integer"
  9804. },
  9805. "decimalplace": {
  9806. "description": "报价小数位",
  9807. "type": "integer"
  9808. },
  9809. "endtime": {
  9810. "description": "预售结束时间",
  9811. "type": "string"
  9812. },
  9813. "floorprice": {
  9814. "description": "底价[大宗式竞拍]",
  9815. "type": "number"
  9816. },
  9817. "goodscode": {
  9818. "description": "商品代码(预售)",
  9819. "type": "string"
  9820. },
  9821. "goodsdetail": {
  9822. "description": "详情[大宗]",
  9823. "type": "string"
  9824. },
  9825. "goodsid": {
  9826. "description": "商品ID(自增ID SEQ_GOODS)",
  9827. "type": "integer"
  9828. },
  9829. "goodsname": {
  9830. "description": "商品名称(预售)",
  9831. "type": "string"
  9832. },
  9833. "goodunit": {
  9834. "description": "报价单位",
  9835. "type": "string"
  9836. },
  9837. "goodunitid": {
  9838. "description": "报价单位ID",
  9839. "type": "integer"
  9840. },
  9841. "marketid": {
  9842. "description": "所属市场ID",
  9843. "type": "integer"
  9844. },
  9845. "marketname": {
  9846. "description": "预售市场名称",
  9847. "type": "string"
  9848. },
  9849. "presaledamount": {
  9850. "description": "已预售总金额(预售结束时更新)",
  9851. "type": "number"
  9852. },
  9853. "presaledqty": {
  9854. "description": "已预售量(预售结束时更新)",
  9855. "type": "integer"
  9856. },
  9857. "presalemode": {
  9858. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9859. "type": "integer"
  9860. },
  9861. "presaleqty": {
  9862. "description": "预售数量",
  9863. "type": "integer"
  9864. },
  9865. "refprice": {
  9866. "description": "参考价格[一口价]",
  9867. "type": "number"
  9868. },
  9869. "relatedgoodscode": {
  9870. "description": "商品代码(订单)",
  9871. "type": "string"
  9872. },
  9873. "relatedgoodsid": {
  9874. "description": "关联交易合约ID",
  9875. "type": "integer"
  9876. },
  9877. "relatedgoodsname": {
  9878. "description": "商品名称(订单)",
  9879. "type": "string"
  9880. },
  9881. "relatedmarketid": {
  9882. "description": "关联交易合约市场ID",
  9883. "type": "integer"
  9884. },
  9885. "sellstatus": {
  9886. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9887. "type": "integer"
  9888. },
  9889. "startprice": {
  9890. "description": "起拍价[大宗式竞拍]",
  9891. "type": "number"
  9892. },
  9893. "starttime": {
  9894. "description": "预售开始时间",
  9895. "type": "string"
  9896. },
  9897. "tradedate": {
  9898. "description": "交易日(yyyyMMdd)",
  9899. "type": "string"
  9900. },
  9901. "tradeprice": {
  9902. "description": "成交价[大宗]",
  9903. "type": "number"
  9904. },
  9905. "userid": {
  9906. "description": "卖方用户ID",
  9907. "type": "integer"
  9908. }
  9909. }
  9910. },
  9911. "cptrade.QueryPresaleGoodsExRsp": {
  9912. "type": "object",
  9913. "required": [
  9914. "goodsid"
  9915. ],
  9916. "properties": {
  9917. "attachmenturl": {
  9918. "description": "附件地址",
  9919. "type": "string"
  9920. },
  9921. "createtime": {
  9922. "description": "创建时间",
  9923. "type": "string"
  9924. },
  9925. "endtime": {
  9926. "description": "预售结束时间",
  9927. "type": "string"
  9928. },
  9929. "floorprice": {
  9930. "description": "底价[大宗式竞拍]",
  9931. "type": "number"
  9932. },
  9933. "goodsdetail": {
  9934. "description": "详情[大宗]",
  9935. "type": "string"
  9936. },
  9937. "goodsid": {
  9938. "description": "商品ID(预售)",
  9939. "type": "integer"
  9940. },
  9941. "goodunit": {
  9942. "description": "报价单位",
  9943. "type": "string"
  9944. },
  9945. "marketid": {
  9946. "description": "预售市场ID - 根据预售模式选择市场",
  9947. "type": "integer"
  9948. },
  9949. "presaledamount": {
  9950. "description": "已预售总金额(预售结束时更新)",
  9951. "type": "number"
  9952. },
  9953. "presaledqty": {
  9954. "description": "已预售量(预售结束时更新)",
  9955. "type": "integer"
  9956. },
  9957. "presalemode": {
  9958. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9959. "type": "integer"
  9960. },
  9961. "presaleqty": {
  9962. "description": "预售数量",
  9963. "type": "integer"
  9964. },
  9965. "refprice": {
  9966. "description": "参考价格[一口价]",
  9967. "type": "number"
  9968. },
  9969. "relatedgoodsid": {
  9970. "description": "关联交易合约ID",
  9971. "type": "integer"
  9972. },
  9973. "relatedmarketid": {
  9974. "description": "关联交易合约市场ID",
  9975. "type": "integer"
  9976. },
  9977. "sellstatus": {
  9978. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9979. "type": "integer"
  9980. },
  9981. "startprice": {
  9982. "description": "起拍价[大宗式竞拍]",
  9983. "type": "number"
  9984. },
  9985. "starttime": {
  9986. "description": "预售开始时间",
  9987. "type": "string"
  9988. },
  9989. "tradedate": {
  9990. "description": "交易日(yyyyMMdd)",
  9991. "type": "string"
  9992. },
  9993. "tradeprice": {
  9994. "description": "成交价[大宗]",
  9995. "type": "number"
  9996. }
  9997. }
  9998. },
  9999. "delivery.QueryDeliveryRelationRsp": {
  10000. "type": "object",
  10001. "required": [
  10002. "begindate",
  10003. "enddate",
  10004. "goodsid",
  10005. "mindeliveryqty",
  10006. "xdeliveryratio"
  10007. ],
  10008. "properties": {
  10009. "begindate": {
  10010. "description": "起始日期(yyyyMMdd)",
  10011. "type": "string"
  10012. },
  10013. "buytemplateid": {
  10014. "description": "买履约计划模板ID",
  10015. "type": "integer"
  10016. },
  10017. "deliverygoodscode": {
  10018. "description": "品种代码",
  10019. "type": "string"
  10020. },
  10021. "deliverygoodsid": {
  10022. "description": "交割商品",
  10023. "type": "integer"
  10024. },
  10025. "deliverygoodsname": {
  10026. "description": "品种名称",
  10027. "type": "string"
  10028. },
  10029. "deliverymode": {
  10030. "description": "交割方式 - 1:点选式 2:申报式",
  10031. "type": "integer"
  10032. },
  10033. "deliverypricerule": {
  10034. "description": "交割价规则- 1:行情价 2:建仓价",
  10035. "type": "integer"
  10036. },
  10037. "deliverytype": {
  10038. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10039. "type": "integer"
  10040. },
  10041. "enddate": {
  10042. "description": "结束日期(yyyyMMdd)",
  10043. "type": "string"
  10044. },
  10045. "goodscode": {
  10046. "description": "商品代码",
  10047. "type": "string"
  10048. },
  10049. "goodsid": {
  10050. "description": "交易合约ID",
  10051. "type": "integer"
  10052. },
  10053. "goodsname": {
  10054. "description": "商品名称",
  10055. "type": "string"
  10056. },
  10057. "marketid": {
  10058. "description": "市场ID",
  10059. "type": "integer"
  10060. },
  10061. "mindeliveryqty": {
  10062. "description": "最小交割系数(K)",
  10063. "type": "integer"
  10064. },
  10065. "p2deliveryprice": {
  10066. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10067. "type": "number"
  10068. },
  10069. "p2deliveryratio": {
  10070. "description": "P2合约系数(p)",
  10071. "type": "integer"
  10072. },
  10073. "p2goodsid": {
  10074. "description": "P2合约ID",
  10075. "type": "integer"
  10076. },
  10077. "p2pricemode": {
  10078. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10079. "type": "integer"
  10080. },
  10081. "pdeliveryprice": {
  10082. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10083. "type": "number"
  10084. },
  10085. "pdeliveryratio": {
  10086. "description": "P合约系数(n)",
  10087. "type": "integer"
  10088. },
  10089. "pgoodsid": {
  10090. "description": "P合约ID",
  10091. "type": "integer"
  10092. },
  10093. "ppricemode": {
  10094. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10095. "type": "integer"
  10096. },
  10097. "rratio": {
  10098. "description": "兑换系数(R)",
  10099. "type": "integer"
  10100. },
  10101. "rratio1": {
  10102. "description": "兑换系数(交易合约)(R1)",
  10103. "type": "integer"
  10104. },
  10105. "rratio2": {
  10106. "description": "兑换系数(仓单标准)(R2)",
  10107. "type": "integer"
  10108. },
  10109. "selltemplateid": {
  10110. "description": "卖履约计划模板ID",
  10111. "type": "integer"
  10112. },
  10113. "wrstandardid": {
  10114. "description": "仓单标准ID",
  10115. "type": "integer"
  10116. },
  10117. "xdeliveryratio": {
  10118. "description": "交易合约系数(m)",
  10119. "type": "integer"
  10120. }
  10121. }
  10122. },
  10123. "ermcp.ExposureDetailRsp": {
  10124. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10125. },
  10126. "ermcp.ExposureHedgePosDetailRsp": {
  10127. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10128. },
  10129. "ermcp.ExposureHedgePositionRsp": {
  10130. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10131. },
  10132. "ermcp.ExposureSpotDetailRsp": {
  10133. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10134. },
  10135. "ermcp.ExposureSpotRsp": {
  10136. "$ref": "#/definitions/models.AreaSpotModel"
  10137. },
  10138. "ermcp.HisExposureRsp": {
  10139. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10140. },
  10141. "ermcp.PendingAuditCntRsp": {
  10142. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10143. },
  10144. "ermcp.QryAreaStockApplyRsp": {
  10145. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10146. },
  10147. "ermcp.QryAvalidGPRsp": {
  10148. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10149. },
  10150. "ermcp.QryBusinessDjRsp": {
  10151. "type": "object",
  10152. "properties": {
  10153. "amount": {
  10154. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10155. "type": "number"
  10156. },
  10157. "applyid": {
  10158. "description": "申请人",
  10159. "type": "string"
  10160. },
  10161. "applyname": {
  10162. "description": "申请人名称",
  10163. "type": "string"
  10164. },
  10165. "applystatus": {
  10166. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10167. "type": "integer"
  10168. },
  10169. "applytime": {
  10170. "description": "申请时间",
  10171. "type": "string"
  10172. },
  10173. "attachurl": {
  10174. "description": "附件",
  10175. "type": "string"
  10176. },
  10177. "auditid": {
  10178. "description": "审核人ID",
  10179. "type": "string"
  10180. },
  10181. "auditname": {
  10182. "description": "审核人名称",
  10183. "type": "string"
  10184. },
  10185. "audittime": {
  10186. "description": "审核时间",
  10187. "type": "string"
  10188. },
  10189. "buyusername": {
  10190. "description": "采购方名称",
  10191. "type": "string"
  10192. },
  10193. "contractno": {
  10194. "description": "合同编号",
  10195. "type": "string"
  10196. },
  10197. "contractstatus": {
  10198. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10199. "type": "integer"
  10200. },
  10201. "contracttype": {
  10202. "description": "现货合同类型 - 1:采购 -1:销售",
  10203. "type": "integer"
  10204. },
  10205. "deliverygoodscode": {
  10206. "description": "现货品种代码",
  10207. "type": "string"
  10208. },
  10209. "deliverygoodsid": {
  10210. "description": "现货商品ID",
  10211. "type": "integer"
  10212. },
  10213. "deliverygoodsname": {
  10214. "description": "现货品种名称",
  10215. "type": "string"
  10216. },
  10217. "enumdicname": {
  10218. "description": "单位名称",
  10219. "type": "string"
  10220. },
  10221. "goodscode": {
  10222. "description": "点价合约",
  10223. "type": "string"
  10224. },
  10225. "goodsname": {
  10226. "description": "商品名称",
  10227. "type": "string"
  10228. },
  10229. "operateapplyid": {
  10230. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10231. "type": "string"
  10232. },
  10233. "operateapplytype": {
  10234. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10235. "type": "integer"
  10236. },
  10237. "pricedPrice": {
  10238. "description": "点价价格(非必填)",
  10239. "type": "number"
  10240. },
  10241. "pricedQty": {
  10242. "description": "点价数量(非必填)",
  10243. "type": "number"
  10244. },
  10245. "pricemove": {
  10246. "description": "升贴水",
  10247. "type": "number"
  10248. },
  10249. "pricetype": {
  10250. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10251. "type": "integer"
  10252. },
  10253. "relatedid": {
  10254. "description": "现货合同ID",
  10255. "type": "string"
  10256. },
  10257. "sellusername": {
  10258. "description": "销售方名字",
  10259. "type": "string"
  10260. },
  10261. "userid": {
  10262. "description": "用户ID",
  10263. "type": "integer"
  10264. },
  10265. "wrstandardcode": {
  10266. "description": "品类代码",
  10267. "type": "string"
  10268. },
  10269. "wrstandardid": {
  10270. "description": "品类id",
  10271. "type": "integer"
  10272. },
  10273. "wrstandardname": {
  10274. "description": "品类名称",
  10275. "type": "string"
  10276. }
  10277. }
  10278. },
  10279. "ermcp.QryBussinessFpRsp": {
  10280. "type": "object",
  10281. "properties": {
  10282. "applyid": {
  10283. "description": "申请人",
  10284. "type": "string"
  10285. },
  10286. "applyname": {
  10287. "description": "申请人名称",
  10288. "type": "string"
  10289. },
  10290. "applystatus": {
  10291. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10292. "type": "integer"
  10293. },
  10294. "applytime": {
  10295. "description": "申请时间",
  10296. "type": "string"
  10297. },
  10298. "attachurl": {
  10299. "description": "附件",
  10300. "type": "string"
  10301. },
  10302. "auditid": {
  10303. "description": "审核人ID",
  10304. "type": "string"
  10305. },
  10306. "auditname": {
  10307. "description": "审核人名称",
  10308. "type": "string"
  10309. },
  10310. "audittime": {
  10311. "description": "审核时间",
  10312. "type": "string"
  10313. },
  10314. "buyusername": {
  10315. "description": "采购方名称",
  10316. "type": "string"
  10317. },
  10318. "contractno": {
  10319. "description": "合同编号",
  10320. "type": "string"
  10321. },
  10322. "contractstatus": {
  10323. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10324. "type": "integer"
  10325. },
  10326. "contracttype": {
  10327. "description": "现货合同类型 - 1:采购 -1:销售",
  10328. "type": "integer"
  10329. },
  10330. "deliverygoodscode": {
  10331. "description": "现货品种代码",
  10332. "type": "string"
  10333. },
  10334. "deliverygoodsid": {
  10335. "description": "现货商品ID",
  10336. "type": "integer"
  10337. },
  10338. "deliverygoodsname": {
  10339. "description": "现货品种名称",
  10340. "type": "string"
  10341. },
  10342. "enumdicname": {
  10343. "description": "单位名称",
  10344. "type": "string"
  10345. },
  10346. "goodscode": {
  10347. "description": "点价合约",
  10348. "type": "string"
  10349. },
  10350. "goodsname": {
  10351. "description": "商品名称",
  10352. "type": "string"
  10353. },
  10354. "invoiceAmount": {
  10355. "description": "已开收票金额(销售为开票,采购为收票)",
  10356. "type": "number"
  10357. },
  10358. "operateapplyid": {
  10359. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10360. "type": "string"
  10361. },
  10362. "operateapplytype": {
  10363. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10364. "type": "integer"
  10365. },
  10366. "pricemove": {
  10367. "description": "升贴水",
  10368. "type": "number"
  10369. },
  10370. "pricetype": {
  10371. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10372. "type": "integer"
  10373. },
  10374. "relatedid": {
  10375. "description": "现货合同ID",
  10376. "type": "string"
  10377. },
  10378. "sellusername": {
  10379. "description": "销售方名字",
  10380. "type": "string"
  10381. },
  10382. "userid": {
  10383. "description": "用户ID",
  10384. "type": "integer"
  10385. },
  10386. "wrstandardcode": {
  10387. "description": "品类代码",
  10388. "type": "string"
  10389. },
  10390. "wrstandardid": {
  10391. "description": "品类id",
  10392. "type": "integer"
  10393. },
  10394. "wrstandardname": {
  10395. "description": "品类名称",
  10396. "type": "string"
  10397. }
  10398. }
  10399. },
  10400. "ermcp.QryBussinessJsExRsp": {
  10401. "type": "object",
  10402. "properties": {
  10403. "applyid": {
  10404. "description": "申请人",
  10405. "type": "string"
  10406. },
  10407. "applyname": {
  10408. "description": "申请人名称",
  10409. "type": "string"
  10410. },
  10411. "applystatus": {
  10412. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10413. "type": "integer"
  10414. },
  10415. "applytime": {
  10416. "description": "申请时间",
  10417. "type": "string"
  10418. },
  10419. "attachurl": {
  10420. "description": "附件",
  10421. "type": "string"
  10422. },
  10423. "auditid": {
  10424. "description": "审核人ID",
  10425. "type": "string"
  10426. },
  10427. "auditname": {
  10428. "description": "审核人名称",
  10429. "type": "string"
  10430. },
  10431. "audittime": {
  10432. "description": "审核时间",
  10433. "type": "string"
  10434. },
  10435. "buyusername": {
  10436. "description": "采购方名称",
  10437. "type": "string"
  10438. },
  10439. "contractno": {
  10440. "description": "合同编号",
  10441. "type": "string"
  10442. },
  10443. "contractstatus": {
  10444. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10445. "type": "integer"
  10446. },
  10447. "contracttype": {
  10448. "description": "现货合同类型 - 1:采购 -1:销售",
  10449. "type": "integer"
  10450. },
  10451. "deliverygoodscode": {
  10452. "description": "现货品种代码",
  10453. "type": "string"
  10454. },
  10455. "deliverygoodsid": {
  10456. "description": "现货商品ID",
  10457. "type": "integer"
  10458. },
  10459. "deliverygoodsname": {
  10460. "description": "现货品种名称",
  10461. "type": "string"
  10462. },
  10463. "enumdicname": {
  10464. "description": "单位名称",
  10465. "type": "string"
  10466. },
  10467. "goodscode": {
  10468. "description": "点价合约",
  10469. "type": "string"
  10470. },
  10471. "goodsname": {
  10472. "description": "商品名称",
  10473. "type": "string"
  10474. },
  10475. "operateapplyid": {
  10476. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10477. "type": "string"
  10478. },
  10479. "operateapplytype": {
  10480. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10481. "type": "integer"
  10482. },
  10483. "pricemove": {
  10484. "description": "升贴水",
  10485. "type": "number"
  10486. },
  10487. "pricetype": {
  10488. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10489. "type": "integer"
  10490. },
  10491. "reckontype": {
  10492. "description": "结算类型",
  10493. "type": "string"
  10494. },
  10495. "reckonvalue": {
  10496. "description": "值",
  10497. "type": "number"
  10498. },
  10499. "relatedid": {
  10500. "description": "现货合同ID",
  10501. "type": "string"
  10502. },
  10503. "sellusername": {
  10504. "description": "销售方名字",
  10505. "type": "string"
  10506. },
  10507. "userid": {
  10508. "description": "用户ID",
  10509. "type": "integer"
  10510. },
  10511. "wrstandardcode": {
  10512. "description": "品类代码",
  10513. "type": "string"
  10514. },
  10515. "wrstandardid": {
  10516. "description": "品类id",
  10517. "type": "integer"
  10518. },
  10519. "wrstandardname": {
  10520. "description": "品类名称",
  10521. "type": "string"
  10522. }
  10523. }
  10524. },
  10525. "ermcp.QryBussinessJsRsp": {
  10526. "type": "object",
  10527. "properties": {
  10528. "addmargin": {
  10529. "description": "追加保证金(非必填)",
  10530. "type": "number"
  10531. },
  10532. "applyid": {
  10533. "description": "申请人",
  10534. "type": "string"
  10535. },
  10536. "applyname": {
  10537. "description": "申请人名称",
  10538. "type": "string"
  10539. },
  10540. "applystatus": {
  10541. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10542. "type": "integer"
  10543. },
  10544. "applytime": {
  10545. "description": "申请时间",
  10546. "type": "string"
  10547. },
  10548. "attachurl": {
  10549. "description": "附件",
  10550. "type": "string"
  10551. },
  10552. "auditid": {
  10553. "description": "审核人ID",
  10554. "type": "string"
  10555. },
  10556. "auditname": {
  10557. "description": "审核人名称",
  10558. "type": "string"
  10559. },
  10560. "audittime": {
  10561. "description": "审核时间",
  10562. "type": "string"
  10563. },
  10564. "buyusername": {
  10565. "description": "采购方名称",
  10566. "type": "string"
  10567. },
  10568. "contractno": {
  10569. "description": "合同编号",
  10570. "type": "string"
  10571. },
  10572. "contractstatus": {
  10573. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10574. "type": "integer"
  10575. },
  10576. "contracttype": {
  10577. "description": "现货合同类型 - 1:采购 -1:销售",
  10578. "type": "integer"
  10579. },
  10580. "decmargin": {
  10581. "description": "减少保证金(非必填)",
  10582. "type": "number"
  10583. },
  10584. "deliverygoodscode": {
  10585. "description": "现货品种代码",
  10586. "type": "string"
  10587. },
  10588. "deliverygoodsid": {
  10589. "description": "现货商品ID",
  10590. "type": "integer"
  10591. },
  10592. "deliverygoodsname": {
  10593. "description": "现货品种名称",
  10594. "type": "string"
  10595. },
  10596. "enumdicname": {
  10597. "description": "单位名称",
  10598. "type": "string"
  10599. },
  10600. "goodscode": {
  10601. "description": "点价合约",
  10602. "type": "string"
  10603. },
  10604. "goodsname": {
  10605. "description": "商品名称",
  10606. "type": "string"
  10607. },
  10608. "operateapplyid": {
  10609. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10610. "type": "string"
  10611. },
  10612. "operateapplytype": {
  10613. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10614. "type": "integer"
  10615. },
  10616. "pricemove": {
  10617. "description": "升贴水",
  10618. "type": "number"
  10619. },
  10620. "pricetype": {
  10621. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10622. "type": "integer"
  10623. },
  10624. "reckonadjustamount": {
  10625. "description": "结算调整金额(非必填)",
  10626. "type": "number"
  10627. },
  10628. "reckonosamount": {
  10629. "description": "结算溢短金额(非必填)",
  10630. "type": "number"
  10631. },
  10632. "reckonotheramount": {
  10633. "description": "结算其他费用(非必填)",
  10634. "type": "number"
  10635. },
  10636. "reckonrealqty": {
  10637. "description": "结算实际数量(非必填)",
  10638. "type": "number"
  10639. },
  10640. "relatedid": {
  10641. "description": "现货合同ID",
  10642. "type": "string"
  10643. },
  10644. "sellusername": {
  10645. "description": "销售方名字",
  10646. "type": "string"
  10647. },
  10648. "userid": {
  10649. "description": "用户ID",
  10650. "type": "integer"
  10651. },
  10652. "wrstandardcode": {
  10653. "description": "品类代码",
  10654. "type": "string"
  10655. },
  10656. "wrstandardid": {
  10657. "description": "品类id",
  10658. "type": "integer"
  10659. },
  10660. "wrstandardname": {
  10661. "description": "品类名称",
  10662. "type": "string"
  10663. }
  10664. }
  10665. },
  10666. "ermcp.QryBussinessKxRsp": {
  10667. "type": "object",
  10668. "properties": {
  10669. "applyid": {
  10670. "description": "申请人",
  10671. "type": "string"
  10672. },
  10673. "applyname": {
  10674. "description": "申请人名称",
  10675. "type": "string"
  10676. },
  10677. "applystatus": {
  10678. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10679. "type": "integer"
  10680. },
  10681. "applytime": {
  10682. "description": "申请时间",
  10683. "type": "string"
  10684. },
  10685. "attachurl": {
  10686. "description": "附件",
  10687. "type": "string"
  10688. },
  10689. "auditid": {
  10690. "description": "审核人ID",
  10691. "type": "string"
  10692. },
  10693. "auditname": {
  10694. "description": "审核人名称",
  10695. "type": "string"
  10696. },
  10697. "audittime": {
  10698. "description": "审核时间",
  10699. "type": "string"
  10700. },
  10701. "buyusername": {
  10702. "description": "采购方名称",
  10703. "type": "string"
  10704. },
  10705. "contractno": {
  10706. "description": "合同编号",
  10707. "type": "string"
  10708. },
  10709. "contractstatus": {
  10710. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10711. "type": "integer"
  10712. },
  10713. "contracttype": {
  10714. "description": "现货合同类型 - 1:采购 -1:销售",
  10715. "type": "integer"
  10716. },
  10717. "deductamount": {
  10718. "description": "退款(非必填)",
  10719. "type": "number"
  10720. },
  10721. "deliverygoodscode": {
  10722. "description": "现货品种代码",
  10723. "type": "string"
  10724. },
  10725. "deliverygoodsid": {
  10726. "description": "现货商品ID",
  10727. "type": "integer"
  10728. },
  10729. "deliverygoodsname": {
  10730. "description": "现货品种名称",
  10731. "type": "string"
  10732. },
  10733. "enumdicname": {
  10734. "description": "单位名称",
  10735. "type": "string"
  10736. },
  10737. "goodscode": {
  10738. "description": "点价合约",
  10739. "type": "string"
  10740. },
  10741. "goodsname": {
  10742. "description": "商品名称",
  10743. "type": "string"
  10744. },
  10745. "kxtype": {
  10746. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10747. "type": "integer"
  10748. },
  10749. "operateapplyid": {
  10750. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10751. "type": "string"
  10752. },
  10753. "operateapplytype": {
  10754. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10755. "type": "integer"
  10756. },
  10757. "payamount": {
  10758. "description": "收付款(非必填)",
  10759. "type": "number"
  10760. },
  10761. "pricemove": {
  10762. "description": "升贴水",
  10763. "type": "number"
  10764. },
  10765. "pricetype": {
  10766. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10767. "type": "integer"
  10768. },
  10769. "relatedid": {
  10770. "description": "现货合同ID",
  10771. "type": "string"
  10772. },
  10773. "sellusername": {
  10774. "description": "销售方名字",
  10775. "type": "string"
  10776. },
  10777. "userid": {
  10778. "description": "用户ID",
  10779. "type": "integer"
  10780. },
  10781. "wrstandardcode": {
  10782. "description": "品类代码",
  10783. "type": "string"
  10784. },
  10785. "wrstandardid": {
  10786. "description": "品类id",
  10787. "type": "integer"
  10788. },
  10789. "wrstandardname": {
  10790. "description": "品类名称",
  10791. "type": "string"
  10792. }
  10793. }
  10794. },
  10795. "ermcp.QryErmcpRsp": {
  10796. "$ref": "#/definitions/models.ErmcpModel"
  10797. },
  10798. "ermcp.QryGGCovertCfgRsp": {
  10799. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10800. },
  10801. "ermcp.QryHedgePlanRsp": {
  10802. "$ref": "#/definitions/models.ErmcpHedgePlan"
  10803. },
  10804. "ermcp.QryMGChangeLogRsp": {
  10805. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10806. },
  10807. "ermcp.QryMiddleGoodsDetailRsp": {
  10808. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10809. },
  10810. "ermcp.QryMiddleGoodsRsp": {
  10811. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10812. },
  10813. "ermcp.QryOPLogRsp": {
  10814. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10815. },
  10816. "ermcp.QryReportDaySpotDetailRsp": {
  10817. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10818. },
  10819. "ermcp.QryReportExposureDayRsp": {
  10820. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  10821. },
  10822. "ermcp.QryReportFinanceDayRsp": {
  10823. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10824. },
  10825. "ermcp.QryReportFinanceKxRsp": {
  10826. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10827. },
  10828. "ermcp.QryReportFinanceMonRsp": {
  10829. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  10830. },
  10831. "ermcp.QryReportSpotDayRsp": {
  10832. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10833. },
  10834. "ermcp.QryReportSpotMonRsp": {
  10835. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  10836. },
  10837. "ermcp.QryReportSpotMonthDetailRsp": {
  10838. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10839. },
  10840. "ermcp.QrySpotContractRsp": {
  10841. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  10842. },
  10843. "ermcp.QryUserInfoRsp": {
  10844. "$ref": "#/definitions/models.ErmcpUserModel"
  10845. },
  10846. "ermcp.QryWarehouseRsp": {
  10847. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10848. },
  10849. "ermcp.QryWrStandardDetailRsp": {
  10850. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  10851. },
  10852. "ermcp.QryWrStandardRsp": {
  10853. "$ref": "#/definitions/models.ErmcpWrstandard"
  10854. },
  10855. "ermcp.QueryAreaStockApplySumRsp": {
  10856. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  10857. },
  10858. "ermcp.QueryErmcpTradePositionRsp": {
  10859. "type": "object",
  10860. "properties": {
  10861. "agreeunit": {
  10862. "description": "合约单位",
  10863. "type": "number"
  10864. },
  10865. "buyorsell": {
  10866. "description": "方向 - 0:买 1:卖",
  10867. "type": "integer"
  10868. },
  10869. "curpositionqty": {
  10870. "description": "持仓(总仓数量, 期末头寸)",
  10871. "type": "integer"
  10872. },
  10873. "curtdposition": {
  10874. "description": "今仓数量(期末今日头寸)",
  10875. "type": "integer"
  10876. },
  10877. "curtdpositionenabled": {
  10878. "description": "今仓可用",
  10879. "type": "integer"
  10880. },
  10881. "decimalplace": {
  10882. "description": "报价小数位",
  10883. "type": "integer"
  10884. },
  10885. "enableqty": {
  10886. "description": "可用(总仓可用)",
  10887. "type": "integer"
  10888. },
  10889. "exexchangename": {
  10890. "description": "外部交易所名称",
  10891. "type": "string"
  10892. },
  10893. "goodscode": {
  10894. "description": "商品代码(内部)",
  10895. "type": "string"
  10896. },
  10897. "goodsid": {
  10898. "description": "商品ID(自增ID SEQ_GOODS)",
  10899. "type": "integer"
  10900. },
  10901. "goodsname": {
  10902. "description": "商品名称",
  10903. "type": "string"
  10904. },
  10905. "last": {
  10906. "description": "现价",
  10907. "type": "number"
  10908. },
  10909. "marketid": {
  10910. "description": "所属市场ID",
  10911. "type": "integer"
  10912. },
  10913. "openaverageprice": {
  10914. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10915. "type": "number"
  10916. },
  10917. "opencost": {
  10918. "description": "开仓成本",
  10919. "type": "number"
  10920. },
  10921. "openpl": {
  10922. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10923. "type": "number"
  10924. },
  10925. "outgoodscode": {
  10926. "description": "商品代码(外部)",
  10927. "type": "string"
  10928. },
  10929. "positionaverageprice": {
  10930. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10931. "type": "number"
  10932. },
  10933. "positioncost": {
  10934. "description": "持仓成本",
  10935. "type": "number"
  10936. },
  10937. "positionpl": {
  10938. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10939. "type": "number"
  10940. },
  10941. "positionplrate": {
  10942. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10943. "type": "number"
  10944. },
  10945. "usedmargin": {
  10946. "description": "占用保证金",
  10947. "type": "number"
  10948. }
  10949. }
  10950. },
  10951. "ermcp.RealtimeExposurePositionRsp": {
  10952. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10953. },
  10954. "ermcp.RealtimeExposureRsp": {
  10955. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10956. },
  10957. "erms2.QueryArbitrageStrategyRsp": {
  10958. "type": "object",
  10959. "required": [
  10960. "asapplyid"
  10961. ],
  10962. "properties": {
  10963. "applybasis": {
  10964. "description": "申请基差",
  10965. "type": "number"
  10966. },
  10967. "asapplyid": {
  10968. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10969. "type": "string"
  10970. },
  10971. "asname": {
  10972. "description": "策略名称",
  10973. "type": "string"
  10974. },
  10975. "asno": {
  10976. "description": "策略编号",
  10977. "type": "string"
  10978. },
  10979. "basischangepl": {
  10980. "description": "基差变动损益[结算更新]",
  10981. "type": "number"
  10982. },
  10983. "biztype": {
  10984. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10985. "type": "integer"
  10986. },
  10987. "closetradedate": {
  10988. "description": "完结交易日(yyyyMMdd)",
  10989. "type": "string"
  10990. },
  10991. "curbasis": {
  10992. "description": "当前基差[结算更新]",
  10993. "type": "number"
  10994. },
  10995. "deliverygoodsid": {
  10996. "description": "现货品种ID",
  10997. "type": "integer"
  10998. },
  10999. "futureavgprice": {
  11000. "description": "期货建仓均价",
  11001. "type": "number"
  11002. },
  11003. "futurecloseamount": {
  11004. "description": "期货平仓金额",
  11005. "type": "number"
  11006. },
  11007. "futurecloseqty": {
  11008. "description": "期货平仓数量",
  11009. "type": "number"
  11010. },
  11011. "futureopenamount": {
  11012. "description": "期货开仓金额",
  11013. "type": "number"
  11014. },
  11015. "futureopenqty": {
  11016. "description": "期货开仓数量",
  11017. "type": "number"
  11018. },
  11019. "futurepl": {
  11020. "description": "期货总盈亏[结算更新]",
  11021. "type": "number"
  11022. },
  11023. "futureqty": {
  11024. "description": "期货持仓数量",
  11025. "type": "number"
  11026. },
  11027. "futurequote": {
  11028. "description": "期货额度",
  11029. "type": "number"
  11030. },
  11031. "goodsgroupid": {
  11032. "description": "期货品种ID",
  11033. "type": "integer"
  11034. },
  11035. "marketid": {
  11036. "description": "市场ID",
  11037. "type": "integer"
  11038. },
  11039. "netexposure": {
  11040. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11041. "type": "number"
  11042. },
  11043. "netexposurepl": {
  11044. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11045. "type": "number"
  11046. },
  11047. "netexposurerate": {
  11048. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11049. "type": "number"
  11050. },
  11051. "openbasis": {
  11052. "description": "建仓基差",
  11053. "type": "number"
  11054. },
  11055. "pricedspotqty": {
  11056. "description": "已定价现货数量",
  11057. "type": "number"
  11058. },
  11059. "pricedspotqtynotax": {
  11060. "description": "已定价现货不含税数量",
  11061. "type": "number"
  11062. },
  11063. "remark": {
  11064. "description": "备注",
  11065. "type": "string"
  11066. },
  11067. "spotavgprice": {
  11068. "description": "现货均价",
  11069. "type": "number"
  11070. },
  11071. "spotbuyamount": {
  11072. "description": "现货采购金额",
  11073. "type": "number"
  11074. },
  11075. "spotbuyqty": {
  11076. "description": "现货采购数量",
  11077. "type": "number"
  11078. },
  11079. "spotpl": {
  11080. "description": "现货总盈亏[结算更新]",
  11081. "type": "number"
  11082. },
  11083. "spotquota": {
  11084. "description": "现货额度",
  11085. "type": "number"
  11086. },
  11087. "spotsellamount": {
  11088. "description": "现货销售金额",
  11089. "type": "number"
  11090. },
  11091. "spotsellqty": {
  11092. "description": "现货销售数量",
  11093. "type": "number"
  11094. },
  11095. "spotusedquota": {
  11096. "description": "现货占用资金",
  11097. "type": "number"
  11098. },
  11099. "strategystatus": {
  11100. "description": "策略状态 - 0:未结束 1:已结束",
  11101. "type": "integer"
  11102. },
  11103. "totalpl": {
  11104. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11105. "type": "number"
  11106. },
  11107. "tradedate": {
  11108. "description": "交易日(yyyyMMdd)",
  11109. "type": "string"
  11110. },
  11111. "updatetime": {
  11112. "description": "更新时间",
  11113. "type": "string"
  11114. },
  11115. "usedquota": {
  11116. "description": "已占用资金",
  11117. "type": "number"
  11118. },
  11119. "userid": {
  11120. "description": "所属机构",
  11121. "type": "integer"
  11122. }
  11123. }
  11124. },
  11125. "erms2.QueryInnerTradeDetailRsp": {
  11126. "type": "object",
  11127. "required": [
  11128. "asapplyid",
  11129. "buyorsell",
  11130. "goodscode",
  11131. "goodsgroupid",
  11132. "goodsgroupname",
  11133. "goodsname",
  11134. "tradeid"
  11135. ],
  11136. "properties": {
  11137. "accountid": {
  11138. "description": "账号ID",
  11139. "type": "integer"
  11140. },
  11141. "agreeunit": {
  11142. "description": "合约单位",
  11143. "type": "number"
  11144. },
  11145. "asapplyid": {
  11146. "description": "策略申请ID",
  11147. "type": "integer"
  11148. },
  11149. "asname": {
  11150. "description": "策略名称",
  11151. "type": "string"
  11152. },
  11153. "asno": {
  11154. "description": "策略编号",
  11155. "type": "string"
  11156. },
  11157. "buyorsell": {
  11158. "description": "方向 - 0:买 1:卖",
  11159. "type": "integer"
  11160. },
  11161. "channelbuildtype": {
  11162. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11163. "type": "integer"
  11164. },
  11165. "closetype": {
  11166. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11167. "type": "integer"
  11168. },
  11169. "decimalplace": {
  11170. "description": "报价小数位",
  11171. "type": "integer"
  11172. },
  11173. "detailtype": {
  11174. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11175. "type": "integer"
  11176. },
  11177. "exexchangecode": {
  11178. "description": "外部交易所代码",
  11179. "type": "string"
  11180. },
  11181. "exexchangename": {
  11182. "description": "外部交易所名称",
  11183. "type": "string"
  11184. },
  11185. "goodscode": {
  11186. "description": "商品代码(合约)",
  11187. "type": "string"
  11188. },
  11189. "goodsgroupid": {
  11190. "description": "商品组ID(品种ID)",
  11191. "type": "integer"
  11192. },
  11193. "goodsgroupname": {
  11194. "description": "商品组名称(品种)",
  11195. "type": "string"
  11196. },
  11197. "goodsid": {
  11198. "description": "商品ID",
  11199. "type": "integer"
  11200. },
  11201. "goodsname": {
  11202. "description": "商品名称(合约)",
  11203. "type": "string"
  11204. },
  11205. "goodunit": {
  11206. "description": "报价单位",
  11207. "type": "string"
  11208. },
  11209. "marketid": {
  11210. "description": "市场ID",
  11211. "type": "integer"
  11212. },
  11213. "orderid": {
  11214. "description": "委托单号",
  11215. "type": "string"
  11216. },
  11217. "outgoodscode": {
  11218. "description": "商品代码(外部)",
  11219. "type": "string"
  11220. },
  11221. "relatedouttradeid": {
  11222. "description": "关联外部成交单ID",
  11223. "type": "string"
  11224. },
  11225. "remark": {
  11226. "description": "备注",
  11227. "type": "string"
  11228. },
  11229. "spotcontractid": {
  11230. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11231. "type": "integer"
  11232. },
  11233. "spotcontractno": {
  11234. "description": "现货合同编号",
  11235. "type": "string"
  11236. },
  11237. "tradeid": {
  11238. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11239. "type": "string"
  11240. },
  11241. "tradeprice": {
  11242. "description": "成交价格",
  11243. "type": "number"
  11244. },
  11245. "tradeqty": {
  11246. "description": "成交数量",
  11247. "type": "integer"
  11248. },
  11249. "tradetime": {
  11250. "description": "成交时间",
  11251. "type": "string"
  11252. },
  11253. "updatetime": {
  11254. "description": "更新时间",
  11255. "type": "string"
  11256. }
  11257. }
  11258. },
  11259. "erms2.QuerySpotContractRsp": {
  11260. "type": "object",
  11261. "required": [
  11262. "spotcontractid"
  11263. ],
  11264. "properties": {
  11265. "accountid": {
  11266. "description": "资金账户ID",
  11267. "type": "integer"
  11268. },
  11269. "areauserid": {
  11270. "description": "所属机构",
  11271. "type": "integer"
  11272. },
  11273. "closedate": {
  11274. "description": "终止日期",
  11275. "type": "string"
  11276. },
  11277. "closeremark": {
  11278. "description": "结束备注",
  11279. "type": "string"
  11280. },
  11281. "closetradedate": {
  11282. "description": "完结交易日(yyyyMMdd)",
  11283. "type": "string"
  11284. },
  11285. "closetype": {
  11286. "description": "终止类型 - 1:违约 2:提前终止",
  11287. "type": "integer"
  11288. },
  11289. "contractamount": {
  11290. "description": "合同金额",
  11291. "type": "number"
  11292. },
  11293. "contractattachment": {
  11294. "description": "合同附件",
  11295. "type": "string"
  11296. },
  11297. "contractno": {
  11298. "description": "现货合同编号",
  11299. "type": "string"
  11300. },
  11301. "contractqty": {
  11302. "description": "合同数量(数值) (用于计算)",
  11303. "type": "number"
  11304. },
  11305. "contractqtychar": {
  11306. "description": "合同数量\\已订价数量 (用于显示)",
  11307. "type": "string"
  11308. },
  11309. "contractstatus": {
  11310. "description": "合同状态 - 0:未结束 1:已结束",
  11311. "type": "integer"
  11312. },
  11313. "contracttype": {
  11314. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11315. "type": "integer"
  11316. },
  11317. "customeraccountid": {
  11318. "description": "客户资金账户ID",
  11319. "type": "integer"
  11320. },
  11321. "customeruserid": {
  11322. "description": "客户ID",
  11323. "type": "integer"
  11324. },
  11325. "deliverygoodsdesc": {
  11326. "description": "品种说明",
  11327. "type": "string"
  11328. },
  11329. "deliverygoodsid": {
  11330. "description": "现货品种ID",
  11331. "type": "integer"
  11332. },
  11333. "handlestatus": {
  11334. "description": "处理状态",
  11335. "type": "integer"
  11336. },
  11337. "invoiceatt": {
  11338. "description": "发票附件",
  11339. "type": "string"
  11340. },
  11341. "invoicedatetime": {
  11342. "description": "开收票更新时间",
  11343. "type": "string"
  11344. },
  11345. "invoiceopentime": {
  11346. "description": "开票时间",
  11347. "type": "string"
  11348. },
  11349. "invoiceremark": {
  11350. "description": "发票备注",
  11351. "type": "string"
  11352. },
  11353. "invoicestatus": {
  11354. "description": "开收票状态 - 0:未开票 1:已开票",
  11355. "type": "integer"
  11356. },
  11357. "lastdate": {
  11358. "description": "交货时间",
  11359. "type": "string"
  11360. },
  11361. "marketid": {
  11362. "description": "市场ID",
  11363. "type": "integer"
  11364. },
  11365. "paydatetime": {
  11366. "description": "收付款更新时间",
  11367. "type": "string"
  11368. },
  11369. "payremark": {
  11370. "description": "收付款备注",
  11371. "type": "string"
  11372. },
  11373. "paystatus": {
  11374. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11375. "type": "integer"
  11376. },
  11377. "positionqty": {
  11378. "description": "头寸数量 - 合同数量去小数部分",
  11379. "type": "integer"
  11380. },
  11381. "producttype": {
  11382. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11383. "type": "integer"
  11384. },
  11385. "relatedqty": {
  11386. "description": "已关联数量",
  11387. "type": "number"
  11388. },
  11389. "relatedstatus": {
  11390. "description": "关联完结状态 - 0:未结束 1:已结束",
  11391. "type": "integer"
  11392. },
  11393. "remark": {
  11394. "description": "备注",
  11395. "type": "string"
  11396. },
  11397. "signdate": {
  11398. "description": "签订日期",
  11399. "type": "string"
  11400. },
  11401. "spotcontractid": {
  11402. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11403. "type": "string"
  11404. },
  11405. "spotdatetime": {
  11406. "description": "收发货更新时间",
  11407. "type": "string"
  11408. },
  11409. "spotprice": {
  11410. "description": "价格",
  11411. "type": "number"
  11412. },
  11413. "spotremark": {
  11414. "description": "收发货备注",
  11415. "type": "string"
  11416. },
  11417. "spotstatus": {
  11418. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11419. "type": "integer"
  11420. },
  11421. "tradedate": {
  11422. "description": "交易日(yyyyMMdd)",
  11423. "type": "string"
  11424. },
  11425. "userid": {
  11426. "description": "业务员用户ID",
  11427. "type": "integer"
  11428. },
  11429. "warehouseid": {
  11430. "description": "仓库ID",
  11431. "type": "integer"
  11432. },
  11433. "wrfactortypeid": {
  11434. "description": "仓单要素类型ID",
  11435. "type": "integer"
  11436. },
  11437. "wrstandardid": {
  11438. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11439. "type": "integer"
  11440. }
  11441. }
  11442. },
  11443. "erms3.AddErms2ASApplyReq": {
  11444. "type": "object",
  11445. "required": [
  11446. "asapplyid"
  11447. ],
  11448. "properties": {
  11449. "applybasis": {
  11450. "description": "申请基差",
  11451. "type": "number"
  11452. },
  11453. "applystatus": {
  11454. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11455. "type": "integer"
  11456. },
  11457. "asapplyid": {
  11458. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11459. "type": "integer"
  11460. },
  11461. "asname": {
  11462. "description": "策略名称",
  11463. "type": "string"
  11464. },
  11465. "asno": {
  11466. "description": "策略编号",
  11467. "type": "string"
  11468. },
  11469. "auditid": {
  11470. "description": "审核人",
  11471. "type": "integer"
  11472. },
  11473. "auditremark": {
  11474. "description": "审核备注",
  11475. "type": "string"
  11476. },
  11477. "audittime": {
  11478. "description": "审核时间",
  11479. "type": "string"
  11480. },
  11481. "biztype": {
  11482. "description": "业务类型 - 1:正向套利 2:反向套利",
  11483. "type": "integer"
  11484. },
  11485. "createtime": {
  11486. "description": "创建时间",
  11487. "type": "string"
  11488. },
  11489. "creatorid": {
  11490. "description": "创建人",
  11491. "type": "integer"
  11492. },
  11493. "deliverygoodsid": {
  11494. "description": "现货品种ID",
  11495. "type": "integer"
  11496. },
  11497. "futurequote": {
  11498. "description": "期货额度",
  11499. "type": "number"
  11500. },
  11501. "goodsgroupid": {
  11502. "description": "期货品种ID",
  11503. "type": "integer"
  11504. },
  11505. "marketid": {
  11506. "description": "市场ID",
  11507. "type": "integer"
  11508. },
  11509. "remark": {
  11510. "description": "备注",
  11511. "type": "string"
  11512. },
  11513. "spotquota": {
  11514. "description": "现货额度",
  11515. "type": "number"
  11516. },
  11517. "tradedate": {
  11518. "description": "交易日(yyyyMMdd)",
  11519. "type": "string"
  11520. },
  11521. "userid": {
  11522. "description": "所属机构",
  11523. "type": "integer"
  11524. }
  11525. }
  11526. },
  11527. "erms3.AddErms2SpotTradeApplyReq": {
  11528. "type": "object",
  11529. "required": [
  11530. "spottradeid"
  11531. ],
  11532. "properties": {
  11533. "applyjsondetail": {
  11534. "description": "申请明细(JSON)",
  11535. "type": "string"
  11536. },
  11537. "applystatus": {
  11538. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11539. "type": "integer"
  11540. },
  11541. "areauserid": {
  11542. "description": "所属机构",
  11543. "type": "integer"
  11544. },
  11545. "auditid": {
  11546. "description": "审核人",
  11547. "type": "integer"
  11548. },
  11549. "auditremark": {
  11550. "description": "审核备注",
  11551. "type": "string"
  11552. },
  11553. "audittime": {
  11554. "description": "审核时间",
  11555. "type": "string"
  11556. },
  11557. "createtime": {
  11558. "description": "创建时间",
  11559. "type": "string"
  11560. },
  11561. "creatorid": {
  11562. "description": "创建人",
  11563. "type": "integer"
  11564. },
  11565. "deliverygoodsid": {
  11566. "description": "现货品种ID",
  11567. "type": "integer"
  11568. },
  11569. "futureaccountid": {
  11570. "description": "期货资金账户",
  11571. "type": "integer"
  11572. },
  11573. "goodsgroupid": {
  11574. "description": "期货品种",
  11575. "type": "integer"
  11576. },
  11577. "marketid": {
  11578. "description": "市场ID",
  11579. "type": "integer"
  11580. },
  11581. "remark": {
  11582. "description": "备注",
  11583. "type": "string"
  11584. },
  11585. "spotaccountid": {
  11586. "description": "现货资金账户",
  11587. "type": "integer"
  11588. },
  11589. "spottradeid": {
  11590. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11591. "type": "integer"
  11592. },
  11593. "spottradename": {
  11594. "description": "业务名称",
  11595. "type": "string"
  11596. },
  11597. "spottradeno": {
  11598. "description": "业务编号",
  11599. "type": "string"
  11600. },
  11601. "tradedate": {
  11602. "description": "交易日(yyyyMMdd)",
  11603. "type": "string"
  11604. },
  11605. "wrstandardid": {
  11606. "description": "仓单标准ID",
  11607. "type": "integer"
  11608. }
  11609. }
  11610. },
  11611. "erms3.AddSpotContractApplyReq": {
  11612. "type": "object",
  11613. "required": [
  11614. "accountid",
  11615. "areauserid",
  11616. "contractno",
  11617. "contracttype",
  11618. "customeraccountid",
  11619. "customeruserid",
  11620. "details",
  11621. "orimargin",
  11622. "signdate"
  11623. ],
  11624. "properties": {
  11625. "accountid": {
  11626. "description": "资金账户ID",
  11627. "type": "integer"
  11628. },
  11629. "areauserid": {
  11630. "description": "所属机构",
  11631. "type": "integer"
  11632. },
  11633. "contractattachment": {
  11634. "description": "合同附件",
  11635. "type": "string"
  11636. },
  11637. "contractno": {
  11638. "description": "现货合同编号",
  11639. "type": "string"
  11640. },
  11641. "contracttype": {
  11642. "description": "现货合同类型 - 1:采购 -1:销售",
  11643. "type": "integer"
  11644. },
  11645. "creatorid": {
  11646. "description": "申请人",
  11647. "type": "integer"
  11648. },
  11649. "customeraccountid": {
  11650. "description": "客户资金账户ID",
  11651. "type": "integer"
  11652. },
  11653. "customeruserid": {
  11654. "description": "客户ID",
  11655. "type": "integer"
  11656. },
  11657. "details": {
  11658. "description": "明细",
  11659. "type": "array",
  11660. "items": {
  11661. "$ref": "#/definitions/erms3.SoptContractDetail"
  11662. }
  11663. },
  11664. "orimargin": {
  11665. "description": "初始保证金",
  11666. "type": "number"
  11667. },
  11668. "remark": {
  11669. "description": "备注",
  11670. "type": "string"
  11671. },
  11672. "signdate": {
  11673. "description": "签订日期",
  11674. "type": "string"
  11675. }
  11676. }
  11677. },
  11678. "erms3.AddSpotContractApplyRsp": {
  11679. "type": "object",
  11680. "required": [
  11681. "contractno"
  11682. ],
  11683. "properties": {
  11684. "contractno": {
  11685. "description": "现货合同编号",
  11686. "type": "string"
  11687. },
  11688. "spotcontractid": {
  11689. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11690. "type": "integer"
  11691. }
  11692. }
  11693. },
  11694. "erms3.AddUserInfoApplyReq": {
  11695. "type": "object",
  11696. "required": [
  11697. "userid"
  11698. ],
  11699. "properties": {
  11700. "accountid": {
  11701. "description": "交易系统帐号Id (加密存储)",
  11702. "type": "integer"
  11703. },
  11704. "areacode": {
  11705. "description": "机构代码",
  11706. "type": "string"
  11707. },
  11708. "areaid": {
  11709. "description": "机构Id",
  11710. "type": "integer"
  11711. },
  11712. "attachment1": {
  11713. "description": "附件1",
  11714. "type": "string"
  11715. },
  11716. "attachment2": {
  11717. "description": "附件2",
  11718. "type": "string"
  11719. },
  11720. "attachment3": {
  11721. "description": "附件3",
  11722. "type": "string"
  11723. },
  11724. "attachment4": {
  11725. "description": "附件4",
  11726. "type": "string"
  11727. },
  11728. "attachment5": {
  11729. "description": "附件5",
  11730. "type": "string"
  11731. },
  11732. "auditedby": {
  11733. "description": "审核人",
  11734. "type": "string"
  11735. },
  11736. "auditime": {
  11737. "description": "审核时间",
  11738. "type": "string"
  11739. },
  11740. "bankaccount": {
  11741. "description": "银行帐号 (加密存储)",
  11742. "type": "string"
  11743. },
  11744. "bankaccountname": {
  11745. "description": "收款人名称",
  11746. "type": "string"
  11747. },
  11748. "bankcardbackphotourl": {
  11749. "description": "银行卡背面照地址",
  11750. "type": "string"
  11751. },
  11752. "bankcardfrontphotourl": {
  11753. "description": "银行卡正面照地址",
  11754. "type": "string"
  11755. },
  11756. "bankid": {
  11757. "description": "银行编码",
  11758. "type": "string"
  11759. },
  11760. "bankname": {
  11761. "description": "银行名称",
  11762. "type": "string"
  11763. },
  11764. "bankpictureurl": {
  11765. "description": "银行卡正面地址",
  11766. "type": "string"
  11767. },
  11768. "biznature": {
  11769. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11770. "type": "integer"
  11771. },
  11772. "bizscope": {
  11773. "description": "企业经营范围(企业)",
  11774. "type": "string"
  11775. },
  11776. "biztype": {
  11777. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11778. "type": "integer"
  11779. },
  11780. "brokerid": {
  11781. "description": "经纪人ID(加密存储)",
  11782. "type": "string"
  11783. },
  11784. "cardaddress": {
  11785. "description": "证件地址 (加密存储)",
  11786. "type": "string"
  11787. },
  11788. "cardbackphotourl": {
  11789. "description": "背面证件照地址",
  11790. "type": "string"
  11791. },
  11792. "cardfrontphotourl": {
  11793. "description": "正面证件照地址",
  11794. "type": "string"
  11795. },
  11796. "cardnum": {
  11797. "description": "证件号码 (加密存储)",
  11798. "type": "string"
  11799. },
  11800. "cardtype": {
  11801. "description": "证件类型",
  11802. "type": "integer"
  11803. },
  11804. "cityid": {
  11805. "description": "市",
  11806. "type": "integer"
  11807. },
  11808. "company": {
  11809. "description": "公司(个人)",
  11810. "type": "string"
  11811. },
  11812. "contactcardbackphotourl": {
  11813. "description": "联系人证件背面图片地址",
  11814. "type": "string"
  11815. },
  11816. "contactcardfrontphotourl": {
  11817. "description": "联系人证件正面图片地址",
  11818. "type": "string"
  11819. },
  11820. "contactname": {
  11821. "description": "联系人",
  11822. "type": "string"
  11823. },
  11824. "countryid": {
  11825. "description": "国家",
  11826. "type": "integer"
  11827. },
  11828. "createtime": {
  11829. "description": "开户申请时间",
  11830. "type": "string"
  11831. },
  11832. "cusbankid": {
  11833. "description": "签约类型",
  11834. "type": "string"
  11835. },
  11836. "cusbankname": {
  11837. "description": "签约类型名称",
  11838. "type": "string"
  11839. },
  11840. "customername": {
  11841. "description": "客户名称(企业名称)",
  11842. "type": "string"
  11843. },
  11844. "districtid": {
  11845. "description": "地区",
  11846. "type": "integer"
  11847. },
  11848. "email": {
  11849. "description": "Email地址(加密存储)",
  11850. "type": "string"
  11851. },
  11852. "halfbodyphotourl": {
  11853. "description": "半身照地址",
  11854. "type": "string"
  11855. },
  11856. "headurl": {
  11857. "description": "头像地址",
  11858. "type": "string"
  11859. },
  11860. "ipaddress": {
  11861. "description": "IP地址",
  11862. "type": "string"
  11863. },
  11864. "isvalidate": {
  11865. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11866. "type": "string"
  11867. },
  11868. "legalcardbackphotourl": {
  11869. "description": "法人身份证背面照地址",
  11870. "type": "string"
  11871. },
  11872. "legalcardfrontphotourl": {
  11873. "description": "法人身份证正面照地址",
  11874. "type": "string"
  11875. },
  11876. "legalpersonname": {
  11877. "description": "法人姓名(企业)",
  11878. "type": "string"
  11879. },
  11880. "logincode": {
  11881. "description": "登录帐号 (加密存储)",
  11882. "type": "string"
  11883. },
  11884. "memberareaid": {
  11885. "description": "所属会员ID",
  11886. "type": "integer"
  11887. },
  11888. "mobile2": {
  11889. "description": "手机号码[明文-尚志]",
  11890. "type": "string"
  11891. },
  11892. "mobilephone": {
  11893. "description": "手机号码 (加密存储)",
  11894. "type": "string"
  11895. },
  11896. "modifiedby": {
  11897. "description": "修改人帐号",
  11898. "type": "integer"
  11899. },
  11900. "modifiedtime": {
  11901. "description": "修改时间",
  11902. "type": "string"
  11903. },
  11904. "nickname": {
  11905. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11906. "type": "string"
  11907. },
  11908. "openmode": {
  11909. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11910. "type": "integer"
  11911. },
  11912. "otherurl": {
  11913. "description": "其它图片地址[使用分号分隔]",
  11914. "type": "string"
  11915. },
  11916. "postalcode": {
  11917. "description": "邮政编码",
  11918. "type": "string"
  11919. },
  11920. "provinceid": {
  11921. "description": "省",
  11922. "type": "integer"
  11923. },
  11924. "proxystatementurl": {
  11925. "description": "授权委托书",
  11926. "type": "string"
  11927. },
  11928. "qq": {
  11929. "description": "QQ(加密存储",
  11930. "type": "string"
  11931. },
  11932. "referral": {
  11933. "description": "推荐人编码",
  11934. "type": "string"
  11935. },
  11936. "remark": {
  11937. "description": "备注",
  11938. "type": "string"
  11939. },
  11940. "removebeforestatus": {
  11941. "description": "REMOVEBEFORESTATUS",
  11942. "type": "integer"
  11943. },
  11944. "sex": {
  11945. "description": "性别 - 0:女 1:男",
  11946. "type": "integer"
  11947. },
  11948. "signedstatus": {
  11949. "description": "账户一号签签约状态",
  11950. "type": "integer"
  11951. },
  11952. "signpdfurl": {
  11953. "description": "签约pdf文件",
  11954. "type": "string"
  11955. },
  11956. "subbranch": {
  11957. "description": "开户支行",
  11958. "type": "string"
  11959. },
  11960. "telphone": {
  11961. "description": "联系电话(加密存储)",
  11962. "type": "string"
  11963. },
  11964. "userid": {
  11965. "description": "用户ID(自增ID)",
  11966. "type": "integer"
  11967. },
  11968. "userinfotype": {
  11969. "description": "用户信息类型 - 1:个人 2:企业",
  11970. "type": "integer"
  11971. },
  11972. "username": {
  11973. "description": "用户姓名",
  11974. "type": "string"
  11975. },
  11976. "userstate": {
  11977. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11978. "type": "integer"
  11979. },
  11980. "usertype": {
  11981. "description": "用户类型 - 1:投资者 2:机构",
  11982. "type": "integer"
  11983. },
  11984. "videourl": {
  11985. "description": "视频地址",
  11986. "type": "string"
  11987. },
  11988. "wechat": {
  11989. "description": "微信号 (加密存储)",
  11990. "type": "string"
  11991. }
  11992. }
  11993. },
  11994. "erms3.CustomerInfo": {
  11995. "type": "object",
  11996. "required": [
  11997. "userid"
  11998. ],
  11999. "properties": {
  12000. "accountids": {
  12001. "description": "资金账户ID列表",
  12002. "type": "array",
  12003. "items": {
  12004. "type": "integer"
  12005. }
  12006. },
  12007. "customername": {
  12008. "description": "名称(企业名称)",
  12009. "type": "string"
  12010. },
  12011. "mobile": {
  12012. "description": "手机号码",
  12013. "type": "string"
  12014. },
  12015. "userid": {
  12016. "description": "用户ID",
  12017. "type": "integer"
  12018. }
  12019. }
  12020. },
  12021. "erms3.ModifyUserInfoApplyReq": {
  12022. "type": "object",
  12023. "required": [
  12024. "userid"
  12025. ],
  12026. "properties": {
  12027. "accountid": {
  12028. "description": "交易系统帐号Id (加密存储)",
  12029. "type": "integer"
  12030. },
  12031. "areacode": {
  12032. "description": "机构代码",
  12033. "type": "string"
  12034. },
  12035. "areaid": {
  12036. "description": "机构Id",
  12037. "type": "integer"
  12038. },
  12039. "attachment1": {
  12040. "description": "附件1",
  12041. "type": "string"
  12042. },
  12043. "attachment2": {
  12044. "description": "附件2",
  12045. "type": "string"
  12046. },
  12047. "attachment3": {
  12048. "description": "附件3",
  12049. "type": "string"
  12050. },
  12051. "attachment4": {
  12052. "description": "附件4",
  12053. "type": "string"
  12054. },
  12055. "attachment5": {
  12056. "description": "附件5",
  12057. "type": "string"
  12058. },
  12059. "auditedby": {
  12060. "description": "审核人",
  12061. "type": "string"
  12062. },
  12063. "auditime": {
  12064. "description": "审核时间",
  12065. "type": "string"
  12066. },
  12067. "bankaccount": {
  12068. "description": "银行帐号 (加密存储)",
  12069. "type": "string"
  12070. },
  12071. "bankaccountname": {
  12072. "description": "收款人名称",
  12073. "type": "string"
  12074. },
  12075. "bankcardbackphotourl": {
  12076. "description": "银行卡背面照地址",
  12077. "type": "string"
  12078. },
  12079. "bankcardfrontphotourl": {
  12080. "description": "银行卡正面照地址",
  12081. "type": "string"
  12082. },
  12083. "bankid": {
  12084. "description": "银行编码",
  12085. "type": "string"
  12086. },
  12087. "bankname": {
  12088. "description": "银行名称",
  12089. "type": "string"
  12090. },
  12091. "bankpictureurl": {
  12092. "description": "银行卡正面地址",
  12093. "type": "string"
  12094. },
  12095. "biznature": {
  12096. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12097. "type": "integer"
  12098. },
  12099. "bizscope": {
  12100. "description": "企业经营范围(企业)",
  12101. "type": "string"
  12102. },
  12103. "biztype": {
  12104. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12105. "type": "integer"
  12106. },
  12107. "brokerid": {
  12108. "description": "经纪人ID(加密存储)",
  12109. "type": "string"
  12110. },
  12111. "cardaddress": {
  12112. "description": "证件地址 (加密存储)",
  12113. "type": "string"
  12114. },
  12115. "cardbackphotourl": {
  12116. "description": "背面证件照地址",
  12117. "type": "string"
  12118. },
  12119. "cardfrontphotourl": {
  12120. "description": "正面证件照地址",
  12121. "type": "string"
  12122. },
  12123. "cardnum": {
  12124. "description": "证件号码 (加密存储)",
  12125. "type": "string"
  12126. },
  12127. "cardtype": {
  12128. "description": "证件类型",
  12129. "type": "integer"
  12130. },
  12131. "cityid": {
  12132. "description": "市",
  12133. "type": "integer"
  12134. },
  12135. "company": {
  12136. "description": "公司(个人)",
  12137. "type": "string"
  12138. },
  12139. "contactcardbackphotourl": {
  12140. "description": "联系人证件背面图片地址",
  12141. "type": "string"
  12142. },
  12143. "contactcardfrontphotourl": {
  12144. "description": "联系人证件正面图片地址",
  12145. "type": "string"
  12146. },
  12147. "contactname": {
  12148. "description": "联系人",
  12149. "type": "string"
  12150. },
  12151. "countryid": {
  12152. "description": "国家",
  12153. "type": "integer"
  12154. },
  12155. "createtime": {
  12156. "description": "开户申请时间",
  12157. "type": "string"
  12158. },
  12159. "cusbankid": {
  12160. "description": "签约类型",
  12161. "type": "string"
  12162. },
  12163. "cusbankname": {
  12164. "description": "签约类型名称",
  12165. "type": "string"
  12166. },
  12167. "customername": {
  12168. "description": "客户名称(企业名称)",
  12169. "type": "string"
  12170. },
  12171. "districtid": {
  12172. "description": "地区",
  12173. "type": "integer"
  12174. },
  12175. "email": {
  12176. "description": "Email地址(加密存储)",
  12177. "type": "string"
  12178. },
  12179. "halfbodyphotourl": {
  12180. "description": "半身照地址",
  12181. "type": "string"
  12182. },
  12183. "headurl": {
  12184. "description": "头像地址",
  12185. "type": "string"
  12186. },
  12187. "ipaddress": {
  12188. "description": "IP地址",
  12189. "type": "string"
  12190. },
  12191. "isvalidate": {
  12192. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12193. "type": "string"
  12194. },
  12195. "legalcardbackphotourl": {
  12196. "description": "法人身份证背面照地址",
  12197. "type": "string"
  12198. },
  12199. "legalcardfrontphotourl": {
  12200. "description": "法人身份证正面照地址",
  12201. "type": "string"
  12202. },
  12203. "legalpersonname": {
  12204. "description": "法人姓名(企业)",
  12205. "type": "string"
  12206. },
  12207. "logincode": {
  12208. "description": "登录帐号 (加密存储)",
  12209. "type": "string"
  12210. },
  12211. "memberareaid": {
  12212. "description": "所属会员ID",
  12213. "type": "integer"
  12214. },
  12215. "mobile2": {
  12216. "description": "手机号码[明文-尚志]",
  12217. "type": "string"
  12218. },
  12219. "mobilephone": {
  12220. "description": "手机号码 (加密存储)",
  12221. "type": "string"
  12222. },
  12223. "modifiedby": {
  12224. "description": "修改人帐号",
  12225. "type": "integer"
  12226. },
  12227. "modifiedtime": {
  12228. "description": "修改时间",
  12229. "type": "string"
  12230. },
  12231. "nickname": {
  12232. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12233. "type": "string"
  12234. },
  12235. "openmode": {
  12236. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12237. "type": "integer"
  12238. },
  12239. "otherurl": {
  12240. "description": "其它图片地址[使用分号分隔]",
  12241. "type": "string"
  12242. },
  12243. "postalcode": {
  12244. "description": "邮政编码",
  12245. "type": "string"
  12246. },
  12247. "provinceid": {
  12248. "description": "省",
  12249. "type": "integer"
  12250. },
  12251. "proxystatementurl": {
  12252. "description": "授权委托书",
  12253. "type": "string"
  12254. },
  12255. "qq": {
  12256. "description": "QQ(加密存储",
  12257. "type": "string"
  12258. },
  12259. "referral": {
  12260. "description": "推荐人编码",
  12261. "type": "string"
  12262. },
  12263. "remark": {
  12264. "description": "备注",
  12265. "type": "string"
  12266. },
  12267. "removebeforestatus": {
  12268. "description": "REMOVEBEFORESTATUS",
  12269. "type": "integer"
  12270. },
  12271. "sex": {
  12272. "description": "性别 - 0:女 1:男",
  12273. "type": "integer"
  12274. },
  12275. "signedstatus": {
  12276. "description": "账户一号签签约状态",
  12277. "type": "integer"
  12278. },
  12279. "signpdfurl": {
  12280. "description": "签约pdf文件",
  12281. "type": "string"
  12282. },
  12283. "subbranch": {
  12284. "description": "开户支行",
  12285. "type": "string"
  12286. },
  12287. "telphone": {
  12288. "description": "联系电话(加密存储)",
  12289. "type": "string"
  12290. },
  12291. "userid": {
  12292. "description": "用户ID(自增ID)",
  12293. "type": "integer"
  12294. },
  12295. "userinfotype": {
  12296. "description": "用户信息类型 - 1:个人 2:企业",
  12297. "type": "integer"
  12298. },
  12299. "username": {
  12300. "description": "用户姓名",
  12301. "type": "string"
  12302. },
  12303. "userstate": {
  12304. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12305. "type": "integer"
  12306. },
  12307. "usertype": {
  12308. "description": "用户类型 - 1:投资者 2:机构",
  12309. "type": "integer"
  12310. },
  12311. "videourl": {
  12312. "description": "视频地址",
  12313. "type": "string"
  12314. },
  12315. "wechat": {
  12316. "description": "微信号 (加密存储)",
  12317. "type": "string"
  12318. }
  12319. }
  12320. },
  12321. "erms3.QryAuditContractRsp": {
  12322. "type": "object",
  12323. "required": [
  12324. "matchcustomername",
  12325. "spotcontractid"
  12326. ],
  12327. "properties": {
  12328. "accountid": {
  12329. "description": "交易员ID",
  12330. "type": "string"
  12331. },
  12332. "applystatus": {
  12333. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12334. "type": "integer"
  12335. },
  12336. "curdeliveryqty": {
  12337. "description": "未交收量",
  12338. "type": "integer"
  12339. },
  12340. "customername": {
  12341. "description": "采购方ID",
  12342. "type": "string"
  12343. },
  12344. "deliverygoodsid": {
  12345. "description": "品种ID",
  12346. "type": "string"
  12347. },
  12348. "deliveryqty": {
  12349. "description": "交收量",
  12350. "type": "integer"
  12351. },
  12352. "enumdicname": {
  12353. "description": "单位名称",
  12354. "type": "string"
  12355. },
  12356. "matchaccountid": {
  12357. "description": "业务员ID",
  12358. "type": "string"
  12359. },
  12360. "matchcustomername": {
  12361. "description": "销售方ID",
  12362. "type": "string"
  12363. },
  12364. "pricedqty": {
  12365. "description": "定价量",
  12366. "type": "number"
  12367. },
  12368. "signdate": {
  12369. "description": "签订日期",
  12370. "type": "string"
  12371. },
  12372. "spotcontractid": {
  12373. "description": "合同ID",
  12374. "type": "string"
  12375. },
  12376. "totaldqty": {
  12377. "description": "合同量",
  12378. "type": "number"
  12379. },
  12380. "unpricedqty": {
  12381. "description": "未定价量",
  12382. "type": "number"
  12383. },
  12384. "wrstandardname": {
  12385. "description": "商品名称",
  12386. "type": "string"
  12387. }
  12388. }
  12389. },
  12390. "erms3.QryPendingBizRsp": {
  12391. "$ref": "#/definitions/models.PendingAuditBizModel"
  12392. },
  12393. "erms3.QueryBusinessInfoRsp": {
  12394. "type": "object",
  12395. "properties": {
  12396. "businessid": {
  12397. "description": "业务ID.",
  12398. "type": "integer"
  12399. },
  12400. "buyamount": {
  12401. "description": "采购额.",
  12402. "type": "number"
  12403. },
  12404. "buyqty": {
  12405. "description": "采购量.",
  12406. "type": "string"
  12407. },
  12408. "futurepl": {
  12409. "description": "期货盈亏.",
  12410. "type": "number"
  12411. },
  12412. "futureqty": {
  12413. "description": "期货敞口.",
  12414. "type": "string"
  12415. },
  12416. "goodsid": {
  12417. "description": "商品名称/商品代码.",
  12418. "type": "string"
  12419. },
  12420. "hedgingqty": {
  12421. "description": "套保量.",
  12422. "type": "string"
  12423. },
  12424. "sellamount": {
  12425. "description": "销售额.",
  12426. "type": "number"
  12427. },
  12428. "sellqty": {
  12429. "description": "销售量.",
  12430. "type": "string"
  12431. },
  12432. "spotmarketvalue": {
  12433. "description": "现货市值.",
  12434. "type": "number"
  12435. },
  12436. "spotpl": {
  12437. "description": "浮动权益.",
  12438. "type": "number"
  12439. },
  12440. "spotqty": {
  12441. "description": "现货量.",
  12442. "type": "string"
  12443. },
  12444. "statu": {
  12445. "description": "状态,0-未结束 1-已结束.",
  12446. "type": "integer"
  12447. },
  12448. "totalpl": {
  12449. "description": "总盈亏.",
  12450. "type": "number"
  12451. },
  12452. "totalqty": {
  12453. "description": "总敞口.",
  12454. "type": "string"
  12455. },
  12456. "type": {
  12457. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12458. "type": "integer"
  12459. }
  12460. }
  12461. },
  12462. "erms3.QuerySpotContractAppleFormRsp": {
  12463. "type": "object",
  12464. "properties": {
  12465. "goodses": {
  12466. "description": "合约列表",
  12467. "type": "array",
  12468. "items": {
  12469. "$ref": "#/definitions/models.GoodsIDAndName"
  12470. }
  12471. },
  12472. "oppositeusers": {
  12473. "description": "对方账号列表",
  12474. "type": "array",
  12475. "items": {
  12476. "$ref": "#/definitions/erms3.CustomerInfo"
  12477. }
  12478. },
  12479. "ouruser": {
  12480. "description": "我方账号",
  12481. "type": "object",
  12482. "$ref": "#/definitions/erms3.CustomerInfo"
  12483. },
  12484. "warehouseinfos": {
  12485. "description": "仓库信息列表",
  12486. "type": "array",
  12487. "items": {
  12488. "$ref": "#/definitions/models.Warehouseinfo"
  12489. }
  12490. },
  12491. "wrstandards": {
  12492. "description": "仓单标准列表",
  12493. "type": "array",
  12494. "items": {
  12495. "$ref": "#/definitions/models.WRStandardInfo"
  12496. }
  12497. }
  12498. }
  12499. },
  12500. "erms3.QuerySpotContractInfoRsp": {
  12501. "type": "object",
  12502. "properties": {
  12503. "accountid": {
  12504. "description": "表示交易员ID.",
  12505. "type": "integer"
  12506. },
  12507. "curdeliveryqty": {
  12508. "description": "表示未交收量.",
  12509. "type": "number"
  12510. },
  12511. "customername": {
  12512. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12513. "type": "string"
  12514. },
  12515. "deliverygoodsid": {
  12516. "description": "表示品种ID.",
  12517. "type": "string"
  12518. },
  12519. "deliveryqty": {
  12520. "description": "表示交收量.",
  12521. "type": "number"
  12522. },
  12523. "matchaccountid": {
  12524. "description": "表示业务员ID.",
  12525. "type": "integer"
  12526. },
  12527. "matchcustomername": {
  12528. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12529. "type": "string"
  12530. },
  12531. "priceqty": {
  12532. "description": "表示定价量.",
  12533. "type": "number"
  12534. },
  12535. "relatedbizid": {
  12536. "description": "表示业务ID.",
  12537. "type": "string"
  12538. },
  12539. "signdate": {
  12540. "description": "表示签订日期.",
  12541. "type": "string"
  12542. },
  12543. "spotcontractid": {
  12544. "description": "合同ID",
  12545. "type": "string"
  12546. },
  12547. "status": {
  12548. "description": "表示状态,0-履约中 1-已完成.",
  12549. "type": "integer"
  12550. },
  12551. "totalqty": {
  12552. "description": "表示合同量.",
  12553. "type": "number"
  12554. },
  12555. "unpricedqty": {
  12556. "description": "表示未定价量.",
  12557. "type": "number"
  12558. },
  12559. "wrstandardname": {
  12560. "description": "表示商品ID.",
  12561. "type": "string"
  12562. }
  12563. }
  12564. },
  12565. "erms3.QueryUserInfoAppliesRsp": {
  12566. "type": "object",
  12567. "required": [
  12568. "userid"
  12569. ],
  12570. "properties": {
  12571. "biznature": {
  12572. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12573. "type": "integer"
  12574. },
  12575. "contactname": {
  12576. "description": "联系人",
  12577. "type": "string"
  12578. },
  12579. "createtime": {
  12580. "description": "开户申请时间",
  12581. "type": "string"
  12582. },
  12583. "userid": {
  12584. "description": "用户ID(自增ID)",
  12585. "type": "integer"
  12586. },
  12587. "userinfotype": {
  12588. "description": "用户信息类型 - 1:个人 2:企业",
  12589. "type": "integer"
  12590. },
  12591. "username": {
  12592. "description": "用户姓名",
  12593. "type": "string"
  12594. },
  12595. "userstate": {
  12596. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12597. "type": "integer"
  12598. }
  12599. }
  12600. },
  12601. "erms3.QueryUserInfosRsp": {
  12602. "type": "object",
  12603. "required": [
  12604. "userid"
  12605. ],
  12606. "properties": {
  12607. "biznature": {
  12608. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12609. "type": "integer"
  12610. },
  12611. "contactname": {
  12612. "description": "联系人",
  12613. "type": "string"
  12614. },
  12615. "customername": {
  12616. "description": "客户名称(企业名称)",
  12617. "type": "string"
  12618. },
  12619. "userid": {
  12620. "description": "用户ID",
  12621. "type": "integer"
  12622. },
  12623. "userinfotype": {
  12624. "description": "用户信息类型 - 1:个人 2:企业",
  12625. "type": "integer"
  12626. },
  12627. "userstatus": {
  12628. "description": "用户状态 - 1:正常 2:注销",
  12629. "type": "integer"
  12630. }
  12631. }
  12632. },
  12633. "erms3.SoptContractDetail": {
  12634. "type": "object",
  12635. "required": [
  12636. "deliverygoodsid",
  12637. "producttype",
  12638. "unitname",
  12639. "warehouseid",
  12640. "wrstandardid",
  12641. "wrstandardname"
  12642. ],
  12643. "properties": {
  12644. "deliverygoodsdesc": {
  12645. "description": "现货品种说明",
  12646. "type": "string"
  12647. },
  12648. "deliverygoodsid": {
  12649. "description": "现货品种ID",
  12650. "type": "integer"
  12651. },
  12652. "deliverygoodsname": {
  12653. "description": "现货品种名称",
  12654. "type": "string"
  12655. },
  12656. "pointdesc": {
  12657. "description": "点价描述",
  12658. "type": "string"
  12659. },
  12660. "producttype": {
  12661. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12662. "type": "integer"
  12663. },
  12664. "producttypename": {
  12665. "description": "产品类型名称",
  12666. "type": "string"
  12667. },
  12668. "spotPointOrderVoList": {
  12669. "description": "点价列表",
  12670. "type": "array",
  12671. "items": {
  12672. "$ref": "#/definitions/erms3.SpotPointOrder"
  12673. }
  12674. },
  12675. "spotPriceOrderList": {
  12676. "description": "定价列表",
  12677. "type": "array",
  12678. "items": {
  12679. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12680. }
  12681. },
  12682. "unitname": {
  12683. "description": "单位名称",
  12684. "type": "string"
  12685. },
  12686. "warehouseid": {
  12687. "description": "仓库ID",
  12688. "type": "integer"
  12689. },
  12690. "warehousename": {
  12691. "description": "仓库名称",
  12692. "type": "string"
  12693. },
  12694. "wrstandardid": {
  12695. "description": "交易标的ID",
  12696. "type": "integer"
  12697. },
  12698. "wrstandardname": {
  12699. "description": "交易标的名称",
  12700. "type": "string"
  12701. }
  12702. }
  12703. },
  12704. "erms3.SpotPointOrder": {
  12705. "type": "object",
  12706. "required": [
  12707. "basic",
  12708. "goodsid",
  12709. "qty"
  12710. ],
  12711. "properties": {
  12712. "basic": {
  12713. "description": "基差",
  12714. "type": "number"
  12715. },
  12716. "deliveryenddate": {
  12717. "description": "交收结束日期",
  12718. "type": "string"
  12719. },
  12720. "deliverystartdate": {
  12721. "description": "交收开始日期",
  12722. "type": "string"
  12723. },
  12724. "enddate": {
  12725. "description": "点价结束日期",
  12726. "type": "string"
  12727. },
  12728. "goodsid": {
  12729. "description": "商品ID",
  12730. "type": "integer"
  12731. },
  12732. "goodsname": {
  12733. "description": "商品名称",
  12734. "type": "string"
  12735. },
  12736. "qty": {
  12737. "description": "数量",
  12738. "type": "number"
  12739. },
  12740. "startdate": {
  12741. "description": "点价开始日期",
  12742. "type": "string"
  12743. }
  12744. }
  12745. },
  12746. "erms3.SpotPriceOrder": {
  12747. "type": "object",
  12748. "required": [
  12749. "amount",
  12750. "price",
  12751. "qty"
  12752. ],
  12753. "properties": {
  12754. "amount": {
  12755. "description": "金额",
  12756. "type": "number"
  12757. },
  12758. "deliveryenddate": {
  12759. "description": "交收结束日期",
  12760. "type": "string"
  12761. },
  12762. "deliverystartdate": {
  12763. "description": "交收开始日期",
  12764. "type": "string"
  12765. },
  12766. "price": {
  12767. "description": "价格",
  12768. "type": "number"
  12769. },
  12770. "qty": {
  12771. "description": "数量",
  12772. "type": "number"
  12773. }
  12774. }
  12775. },
  12776. "hsby.GetHsbyMyCountRsp": {
  12777. "type": "object",
  12778. "properties": {
  12779. "myCouponCount": {
  12780. "description": "我的优惠卷数量",
  12781. "type": "integer"
  12782. },
  12783. "myOrderDetailListingCount": {
  12784. "description": "我的订单求购中数量",
  12785. "type": "integer"
  12786. },
  12787. "myOrderDetailPreCount": {
  12788. "description": "我的订单抢购中数量",
  12789. "type": "integer"
  12790. },
  12791. "myPackageUnReceiveCount": {
  12792. "description": "我的包裹待收货数量",
  12793. "type": "integer"
  12794. },
  12795. "myPackageUnSendCount": {
  12796. "description": "我的包裹待发货数量",
  12797. "type": "integer"
  12798. },
  12799. "myPayOrderCount": {
  12800. "description": "我的订单待付款数量",
  12801. "type": "integer"
  12802. }
  12803. }
  12804. },
  12805. "hsby.QueryProvincesAndCitiesRsp": {
  12806. "type": "object",
  12807. "properties": {
  12808. "cities": {
  12809. "description": "市",
  12810. "type": "array",
  12811. "items": {
  12812. "$ref": "#/definitions/models.Division"
  12813. }
  12814. },
  12815. "province": {
  12816. "description": "省",
  12817. "type": "object",
  12818. "$ref": "#/definitions/models.Division"
  12819. }
  12820. }
  12821. },
  12822. "models.AreaSpotModel": {
  12823. "type": "object",
  12824. "properties": {
  12825. "areauserid": {
  12826. "description": "所属机构",
  12827. "type": "integer"
  12828. },
  12829. "decreaseqty": {
  12830. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12831. "type": "number"
  12832. },
  12833. "increaseqty": {
  12834. "description": "增加数量=销售计划数量+采购已定价数量",
  12835. "type": "number"
  12836. },
  12837. "oritoalspotqty": {
  12838. "description": "昨日数量",
  12839. "type": "number"
  12840. },
  12841. "totalspotqty": {
  12842. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12843. "type": "number"
  12844. },
  12845. "updatetime": {
  12846. "description": "更新时间",
  12847. "type": "string"
  12848. },
  12849. "wrstandardcode": {
  12850. "description": "现货品种代码",
  12851. "type": "string"
  12852. },
  12853. "wrstandardid": {
  12854. "description": "现货商品ID",
  12855. "type": "integer"
  12856. },
  12857. "wrstandardname": {
  12858. "description": "现货品种",
  12859. "type": "string"
  12860. }
  12861. }
  12862. },
  12863. "models.Clientfixedadconfig": {
  12864. "type": "object",
  12865. "required": [
  12866. "adsort",
  12867. "adtype"
  12868. ],
  12869. "properties": {
  12870. "adsort": {
  12871. "description": "排序",
  12872. "type": "integer"
  12873. },
  12874. "adtype": {
  12875. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12876. "type": "integer"
  12877. },
  12878. "areauserid": {
  12879. "description": "所属机构ID",
  12880. "type": "integer"
  12881. },
  12882. "createdate": {
  12883. "description": "创建时间",
  12884. "type": "string"
  12885. },
  12886. "creatorid": {
  12887. "description": "创建人",
  12888. "type": "integer"
  12889. },
  12890. "imagepath": {
  12891. "description": "图片",
  12892. "type": "string"
  12893. },
  12894. "isshow": {
  12895. "description": "是否展示 - 0:不展示 1:展示",
  12896. "type": "integer"
  12897. },
  12898. "modifierid": {
  12899. "description": "操作人",
  12900. "type": "integer"
  12901. },
  12902. "recsize": {
  12903. "description": "推荐尺寸",
  12904. "type": "string"
  12905. },
  12906. "title": {
  12907. "description": "标题",
  12908. "type": "string"
  12909. },
  12910. "updatedate": {
  12911. "description": "更新时间",
  12912. "type": "string"
  12913. },
  12914. "urlcontent": {
  12915. "description": "链接(地址或商品ID)",
  12916. "type": "string"
  12917. },
  12918. "urltype": {
  12919. "description": "链接类型 - 1:直接地址 2:商品ID",
  12920. "type": "integer"
  12921. }
  12922. }
  12923. },
  12924. "models.Division": {
  12925. "type": "object",
  12926. "required": [
  12927. "autoid",
  12928. "divisioncode"
  12929. ],
  12930. "properties": {
  12931. "autoid": {
  12932. "description": "自增ID",
  12933. "type": "integer"
  12934. },
  12935. "divisioncode": {
  12936. "description": "行政代码",
  12937. "type": "string"
  12938. },
  12939. "divisionlevel": {
  12940. "description": "行政级别",
  12941. "type": "string"
  12942. },
  12943. "divisionname": {
  12944. "description": "行政名称",
  12945. "type": "string"
  12946. },
  12947. "modifierid": {
  12948. "description": "修改人",
  12949. "type": "integer"
  12950. },
  12951. "modifytime": {
  12952. "description": "修改时间",
  12953. "type": "string"
  12954. },
  12955. "parentcode": {
  12956. "description": "上级行政代码",
  12957. "type": "string"
  12958. },
  12959. "pathname": {
  12960. "description": "路径名称",
  12961. "type": "string"
  12962. },
  12963. "postcode": {
  12964. "description": "邮政编码",
  12965. "type": "string"
  12966. },
  12967. "separablename": {
  12968. "description": "可拆分的全称",
  12969. "type": "string"
  12970. },
  12971. "shortcode": {
  12972. "description": "地区简码",
  12973. "type": "string"
  12974. }
  12975. }
  12976. },
  12977. "models.Enumdicitem": {
  12978. "type": "object",
  12979. "required": [
  12980. "autoid",
  12981. "enumdiccode",
  12982. "enumdicid",
  12983. "enumitemname"
  12984. ],
  12985. "properties": {
  12986. "autoid": {
  12987. "description": "自增ID",
  12988. "type": "integer"
  12989. },
  12990. "bankmappedvalue": {
  12991. "description": "银行服务对应值",
  12992. "type": "string"
  12993. },
  12994. "enumdiccode": {
  12995. "description": "所属枚举代码",
  12996. "type": "string"
  12997. },
  12998. "enumdicid": {
  12999. "description": "所属枚举ID",
  13000. "type": "integer"
  13001. },
  13002. "enumdicname": {
  13003. "description": "枚举项名称",
  13004. "type": "string"
  13005. },
  13006. "enumitemname": {
  13007. "description": "枚举项值",
  13008. "type": "integer"
  13009. },
  13010. "enumitemstatus": {
  13011. "description": "枚举项状态 - 1.启用 2.不启用",
  13012. "type": "integer"
  13013. },
  13014. "enumitemvalue": {
  13015. "description": "通用值 - [币种通用简写]",
  13016. "type": "string"
  13017. },
  13018. "param1": {
  13019. "description": "参数1[币种:币种小数位]",
  13020. "type": "string"
  13021. },
  13022. "param2": {
  13023. "description": "参数1[币种:币种显示单位]",
  13024. "type": "string"
  13025. },
  13026. "remark": {
  13027. "description": "备注",
  13028. "type": "string"
  13029. }
  13030. }
  13031. },
  13032. "models.Ermcp3AreaSpot": {
  13033. "type": "object",
  13034. "properties": {
  13035. "areauserid": {
  13036. "description": "所属机构",
  13037. "type": "integer"
  13038. },
  13039. "decreaseqty": {
  13040. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13041. "type": "number"
  13042. },
  13043. "deliverygoodscode": {
  13044. "description": "现货品种代码",
  13045. "type": "string"
  13046. },
  13047. "deliverygoodsid": {
  13048. "description": "现货品种id",
  13049. "type": "integer"
  13050. },
  13051. "deliverygoodsname": {
  13052. "description": "现货品种名称",
  13053. "type": "string"
  13054. },
  13055. "increaseqty": {
  13056. "description": "增加数量=销售计划数量+采购已定价数量",
  13057. "type": "number"
  13058. },
  13059. "oritoalspotqty": {
  13060. "description": "昨日数量",
  13061. "type": "number"
  13062. },
  13063. "totalspotqty": {
  13064. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13065. "type": "number"
  13066. },
  13067. "updatetime": {
  13068. "description": "更新时间",
  13069. "type": "string"
  13070. }
  13071. }
  13072. },
  13073. "models.Ermcp3AreaSpotDetail": {
  13074. "type": "object",
  13075. "properties": {
  13076. "contracttype": {
  13077. "description": "合同类型 1-采购 -1-销售",
  13078. "type": "integer"
  13079. },
  13080. "createtime": {
  13081. "description": "创建时间",
  13082. "type": "string"
  13083. },
  13084. "deliverygoodscode": {
  13085. "description": "现货品种代码",
  13086. "type": "string"
  13087. },
  13088. "deliverygoodsid": {
  13089. "description": "现货品种id",
  13090. "type": "integer"
  13091. },
  13092. "deliverygoodsname": {
  13093. "description": "现货品种名称",
  13094. "type": "string"
  13095. },
  13096. "enumdicname": {
  13097. "description": "现货商品单位名称",
  13098. "type": "string"
  13099. },
  13100. "logtype": {
  13101. "description": "记录类型 1-套保 2-现货合同",
  13102. "type": "integer"
  13103. },
  13104. "qty": {
  13105. "description": "数量",
  13106. "type": "number"
  13107. },
  13108. "recordname": {
  13109. "description": "类型名称",
  13110. "type": "string"
  13111. },
  13112. "relatedid": {
  13113. "description": "套保计划ID/现货合同ID",
  13114. "type": "string"
  13115. },
  13116. "relatedno": {
  13117. "description": "编号",
  13118. "type": "string"
  13119. },
  13120. "strtime": {
  13121. "description": "时间",
  13122. "type": "string"
  13123. }
  13124. }
  13125. },
  13126. "models.Ermcp3AreaStockApply": {
  13127. "type": "object",
  13128. "properties": {
  13129. "applyid": {
  13130. "description": "申请人",
  13131. "type": "integer"
  13132. },
  13133. "applyname": {
  13134. "description": "申请人名称",
  13135. "type": "string"
  13136. },
  13137. "applyremark": {
  13138. "description": "申请备注",
  13139. "type": "string"
  13140. },
  13141. "applysrc": {
  13142. "description": "申请来源 - 1:管理端 2:终端",
  13143. "type": "integer"
  13144. },
  13145. "applystatus": {
  13146. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13147. "type": "integer"
  13148. },
  13149. "applytime": {
  13150. "description": "申请时间",
  13151. "type": "string"
  13152. },
  13153. "auditid": {
  13154. "description": "审核人",
  13155. "type": "integer"
  13156. },
  13157. "auditname": {
  13158. "description": "审核人名称",
  13159. "type": "string"
  13160. },
  13161. "auditremark": {
  13162. "description": "审核备注",
  13163. "type": "string"
  13164. },
  13165. "auditsrc": {
  13166. "description": "审核来源 - 1:管理端 2:终端",
  13167. "type": "integer"
  13168. },
  13169. "audittime": {
  13170. "description": "审核时间",
  13171. "type": "string"
  13172. },
  13173. "audittradedate": {
  13174. "description": "审核交易日(yyyyMMdd)",
  13175. "type": "string"
  13176. },
  13177. "brandname": {
  13178. "description": "品牌名称",
  13179. "type": "string"
  13180. },
  13181. "buyuserid": {
  13182. "description": "采购方userid",
  13183. "type": "integer"
  13184. },
  13185. "buyusername": {
  13186. "description": "采购方名称",
  13187. "type": "string"
  13188. },
  13189. "contractno": {
  13190. "description": "合同编号",
  13191. "type": "string"
  13192. },
  13193. "contractqty": {
  13194. "description": "合同量",
  13195. "type": "number"
  13196. },
  13197. "contracttype": {
  13198. "description": "现货合同类型 - 1:采购 -1:销售",
  13199. "type": "integer"
  13200. },
  13201. "deliverygoodscode": {
  13202. "description": "现货品种代码",
  13203. "type": "string"
  13204. },
  13205. "deliverygoodsid": {
  13206. "description": "现货品种id",
  13207. "type": "integer"
  13208. },
  13209. "deliverygoodsname": {
  13210. "description": "现货品种名称",
  13211. "type": "string"
  13212. },
  13213. "enumdicname": {
  13214. "description": "现货商品单位名称",
  13215. "type": "string"
  13216. },
  13217. "inoutapplyid": {
  13218. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13219. "type": "string"
  13220. },
  13221. "inouttype": {
  13222. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13223. "type": "integer"
  13224. },
  13225. "pricetype": {
  13226. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13227. "type": "integer"
  13228. },
  13229. "qty": {
  13230. "description": "数量",
  13231. "type": "number"
  13232. },
  13233. "selluserid": {
  13234. "description": "销售方userid",
  13235. "type": "integer"
  13236. },
  13237. "sellusername": {
  13238. "description": "销售方名称",
  13239. "type": "string"
  13240. },
  13241. "spotcontractid": {
  13242. "description": "关联现货合同ID",
  13243. "type": "string"
  13244. },
  13245. "spotgoodsbrandid": {
  13246. "description": "现货品牌ID",
  13247. "type": "integer"
  13248. },
  13249. "unitid": {
  13250. "description": "单位id",
  13251. "type": "integer"
  13252. },
  13253. "userid": {
  13254. "description": "机构ID",
  13255. "type": "integer"
  13256. },
  13257. "warehousecode": {
  13258. "description": "仓库代码",
  13259. "type": "string"
  13260. },
  13261. "warehouseinfoid": {
  13262. "description": "现货仓库ID",
  13263. "type": "string"
  13264. },
  13265. "warehousename": {
  13266. "description": "仓库名称",
  13267. "type": "string"
  13268. },
  13269. "warehousetype": {
  13270. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13271. "type": "integer"
  13272. },
  13273. "wrstandardcode": {
  13274. "description": "品类代码",
  13275. "type": "string"
  13276. },
  13277. "wrstandardid": {
  13278. "description": "品类ID",
  13279. "type": "string"
  13280. },
  13281. "wrstandardname": {
  13282. "description": "品类名称",
  13283. "type": "string"
  13284. }
  13285. }
  13286. },
  13287. "models.Ermcp3AreaStockApplySum": {
  13288. "type": "object",
  13289. "properties": {
  13290. "brandname": {
  13291. "description": "品牌名称",
  13292. "type": "string"
  13293. },
  13294. "inouttype": {
  13295. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13296. "type": "integer"
  13297. },
  13298. "spotcontractid": {
  13299. "description": "关联现货合同ID",
  13300. "type": "string"
  13301. },
  13302. "spotgoodsbrandid": {
  13303. "description": "品牌id",
  13304. "type": "integer"
  13305. },
  13306. "totalqty": {
  13307. "description": "总数量",
  13308. "type": "number"
  13309. },
  13310. "wrstandardid": {
  13311. "description": "品类id",
  13312. "type": "integer"
  13313. },
  13314. "wrstandardname": {
  13315. "description": "品类名称",
  13316. "type": "string"
  13317. }
  13318. }
  13319. },
  13320. "models.Ermcp3AreaStockReport": {
  13321. "type": "object",
  13322. "properties": {
  13323. "brandname": {
  13324. "description": "品牌名称",
  13325. "type": "string"
  13326. },
  13327. "curstock": {
  13328. "description": "期末库存量",
  13329. "type": "number"
  13330. },
  13331. "deliverygoodscode": {
  13332. "description": "现货品种代码",
  13333. "type": "string"
  13334. },
  13335. "deliverygoodsid": {
  13336. "description": "现货品种id",
  13337. "type": "integer"
  13338. },
  13339. "deliverygoodsname": {
  13340. "description": "现货品种名称",
  13341. "type": "string"
  13342. },
  13343. "enumdicname": {
  13344. "description": "单位名称",
  13345. "type": "string"
  13346. },
  13347. "goodsunitid": {
  13348. "description": "现货单位id",
  13349. "type": "integer"
  13350. },
  13351. "oristock": {
  13352. "description": "期初库存量",
  13353. "type": "number"
  13354. },
  13355. "spotgoodsbrandid": {
  13356. "description": "现货品牌ID",
  13357. "type": "integer"
  13358. },
  13359. "todaybuyinqty": {
  13360. "description": "今日采购入库量",
  13361. "type": "number"
  13362. },
  13363. "todayproduceinqty": {
  13364. "description": "今日生产入库量",
  13365. "type": "number"
  13366. },
  13367. "todayproduceoutqty": {
  13368. "description": "今日生产出库量",
  13369. "type": "number"
  13370. },
  13371. "todayselloutqty": {
  13372. "description": "今日销售出库量",
  13373. "type": "number"
  13374. },
  13375. "unitid": {
  13376. "description": "品类单位id",
  13377. "type": "integer"
  13378. },
  13379. "updatetime": {
  13380. "description": "更新时间",
  13381. "type": "string"
  13382. },
  13383. "userid": {
  13384. "description": "机构ID",
  13385. "type": "integer"
  13386. },
  13387. "username": {
  13388. "description": "机构名称",
  13389. "type": "string"
  13390. },
  13391. "warehousecode": {
  13392. "description": "仓库代码",
  13393. "type": "string"
  13394. },
  13395. "warehouseinfoid": {
  13396. "description": "仓库ID",
  13397. "type": "string"
  13398. },
  13399. "warehousename": {
  13400. "description": "仓库名称",
  13401. "type": "string"
  13402. },
  13403. "warehousetype": {
  13404. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13405. "type": "integer"
  13406. },
  13407. "wrstandardcode": {
  13408. "description": "品类代码",
  13409. "type": "string"
  13410. },
  13411. "wrstandardid": {
  13412. "description": "品类ID",
  13413. "type": "string"
  13414. },
  13415. "wrstandardname": {
  13416. "description": "品类名称",
  13417. "type": "string"
  13418. }
  13419. }
  13420. },
  13421. "models.Ermcp3Brand": {
  13422. "type": "object",
  13423. "properties": {
  13424. "areauserid": {
  13425. "description": "用户id",
  13426. "type": "integer"
  13427. },
  13428. "brandid": {
  13429. "description": "品牌id",
  13430. "type": "integer"
  13431. },
  13432. "brandname": {
  13433. "description": "品牌名称",
  13434. "type": "string"
  13435. },
  13436. "deliverygoodsid": {
  13437. "description": "品种ID",
  13438. "type": "integer"
  13439. }
  13440. }
  13441. },
  13442. "models.Ermcp3Contract": {
  13443. "type": "object",
  13444. "properties": {
  13445. "accountid": {
  13446. "description": "期货账户id",
  13447. "type": "string"
  13448. },
  13449. "amount": {
  13450. "description": "金额 [1:一口价、3:暂定价]",
  13451. "type": "number"
  13452. },
  13453. "attachment": {
  13454. "description": "附件",
  13455. "type": "string"
  13456. },
  13457. "auditremark": {
  13458. "description": "审核意见",
  13459. "type": "string"
  13460. },
  13461. "audittime": {
  13462. "description": "审核时间",
  13463. "type": "string"
  13464. },
  13465. "biztype": {
  13466. "description": "业务类型 1-套保 2-套利",
  13467. "type": "integer"
  13468. },
  13469. "brandname": {
  13470. "description": "品牌名称",
  13471. "type": "string"
  13472. },
  13473. "buynickname": {
  13474. "description": "销售方昵称",
  13475. "type": "string"
  13476. },
  13477. "buyuserid": {
  13478. "description": "采购方ID",
  13479. "type": "integer"
  13480. },
  13481. "buyusername": {
  13482. "description": "采购方名称",
  13483. "type": "string"
  13484. },
  13485. "contracctstatus": {
  13486. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13487. "type": "integer"
  13488. },
  13489. "contractmargin": {
  13490. "description": "合同保证金",
  13491. "type": "number"
  13492. },
  13493. "contractno": {
  13494. "description": "现货合同编号",
  13495. "type": "string"
  13496. },
  13497. "contracttype": {
  13498. "description": "现货合同类型 - 1:采购 -1:销售",
  13499. "type": "integer"
  13500. },
  13501. "convertfactor": {
  13502. "description": "标仓系数(品类)",
  13503. "type": "number"
  13504. },
  13505. "createtime": {
  13506. "description": "创建时间",
  13507. "type": "string"
  13508. },
  13509. "deliveryenddate": {
  13510. "description": "交收期(结束)",
  13511. "type": "string"
  13512. },
  13513. "deliverygoodscode": {
  13514. "description": "现货品种代码",
  13515. "type": "string"
  13516. },
  13517. "deliverygoodsid": {
  13518. "description": "现货品种ID",
  13519. "type": "integer"
  13520. },
  13521. "deliverygoodsname": {
  13522. "description": "现货品种名称",
  13523. "type": "string"
  13524. },
  13525. "deliverystartdate": {
  13526. "description": "交收期(开始)",
  13527. "type": "string"
  13528. },
  13529. "enddate": {
  13530. "description": "点价结束日期 [2:点价 3:暂定价]",
  13531. "type": "string"
  13532. },
  13533. "enumdicname": {
  13534. "description": "单位名称",
  13535. "type": "string"
  13536. },
  13537. "goodscode": {
  13538. "description": "点价合约代码",
  13539. "type": "string"
  13540. },
  13541. "goodsid": {
  13542. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13543. "type": "integer"
  13544. },
  13545. "goodsname": {
  13546. "description": "点价商品名称",
  13547. "type": "string"
  13548. },
  13549. "margin": {
  13550. "description": "当前保证金",
  13551. "type": "number"
  13552. },
  13553. "meruserid": {
  13554. "description": "业务员id",
  13555. "type": "integer"
  13556. },
  13557. "meruserlogincode": {
  13558. "description": "业务员登录代码",
  13559. "type": "string"
  13560. },
  13561. "price": {
  13562. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13563. "type": "number"
  13564. },
  13565. "pricemove": {
  13566. "description": "升贴水 [2:点价 3:暂定价]",
  13567. "type": "number"
  13568. },
  13569. "pricetype": {
  13570. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13571. "type": "integer"
  13572. },
  13573. "producttype": {
  13574. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13575. "type": "integer"
  13576. },
  13577. "qty": {
  13578. "description": "数量",
  13579. "type": "number"
  13580. },
  13581. "remark": {
  13582. "description": "备注",
  13583. "type": "string"
  13584. },
  13585. "saleuserid": {
  13586. "description": "销售员id",
  13587. "type": "integer"
  13588. },
  13589. "saleuserlogincode": {
  13590. "description": "销售员登录代码",
  13591. "type": "string"
  13592. },
  13593. "sellnickname": {
  13594. "description": "采购方昵称",
  13595. "type": "string"
  13596. },
  13597. "selluserid": {
  13598. "description": "销售方ID",
  13599. "type": "integer"
  13600. },
  13601. "sellusername": {
  13602. "description": "销售方名称",
  13603. "type": "string"
  13604. },
  13605. "spotcontractid": {
  13606. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13607. "type": "string"
  13608. },
  13609. "spotgoodsbrandid": {
  13610. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13611. "type": "integer"
  13612. },
  13613. "spotgoodsdesc": {
  13614. "description": "商品型号",
  13615. "type": "string"
  13616. },
  13617. "startdate": {
  13618. "description": "点价开始日期 [2:点价 3:暂定价]",
  13619. "type": "string"
  13620. },
  13621. "tradeuserid": {
  13622. "description": "交易员id",
  13623. "type": "integer"
  13624. },
  13625. "tradeuserlogincode": {
  13626. "description": "交易员登录代码",
  13627. "type": "string"
  13628. },
  13629. "unitid": {
  13630. "description": "单位id(取品类上的单位id)",
  13631. "type": "integer"
  13632. },
  13633. "updatetime": {
  13634. "description": "更新时间",
  13635. "type": "string"
  13636. },
  13637. "userid": {
  13638. "description": "所属机构ID",
  13639. "type": "integer"
  13640. },
  13641. "wrstandardcode": {
  13642. "description": "品类代码",
  13643. "type": "string"
  13644. },
  13645. "wrstandardid": {
  13646. "description": "品类ID",
  13647. "type": "integer"
  13648. },
  13649. "wrstandardname": {
  13650. "description": "品类名称",
  13651. "type": "string"
  13652. }
  13653. }
  13654. },
  13655. "models.Ermcp3ExposureDetail": {
  13656. "type": "object",
  13657. "properties": {
  13658. "areauserid": {
  13659. "description": "机构ID",
  13660. "type": "integer"
  13661. },
  13662. "changeQty": {
  13663. "description": "套保变动量",
  13664. "type": "number"
  13665. },
  13666. "contracttype": {
  13667. "description": "现货合同类型 - 1:采购 -1:销售",
  13668. "type": "integer"
  13669. },
  13670. "convertfactor": {
  13671. "description": "标仓系数",
  13672. "type": "number"
  13673. },
  13674. "convertratio": {
  13675. "description": "套保系数",
  13676. "type": "number"
  13677. },
  13678. "createtime": {
  13679. "description": "时间",
  13680. "type": "string"
  13681. },
  13682. "deliverygoodscode": {
  13683. "description": "现货品种代码",
  13684. "type": "string"
  13685. },
  13686. "deliverygoodsid": {
  13687. "description": "现货品种id",
  13688. "type": "integer"
  13689. },
  13690. "deliverygoodsname": {
  13691. "description": "现货品种名称",
  13692. "type": "string"
  13693. },
  13694. "enumdicname": {
  13695. "description": "现货商品单位名称",
  13696. "type": "string"
  13697. },
  13698. "logtype": {
  13699. "description": "类型 - 1:套保计划 2:现货合同",
  13700. "type": "integer"
  13701. },
  13702. "middlegoodsId": {
  13703. "description": "套保商品id",
  13704. "type": "integer"
  13705. },
  13706. "middlegoodscode": {
  13707. "description": "套保商品代码",
  13708. "type": "string"
  13709. },
  13710. "middlegoodsname": {
  13711. "description": "套保商品名称",
  13712. "type": "string"
  13713. },
  13714. "qty": {
  13715. "description": "数量",
  13716. "type": "number"
  13717. },
  13718. "relateNo": {
  13719. "description": "现货合同/套保计划编号",
  13720. "type": "string"
  13721. }
  13722. }
  13723. },
  13724. "models.Ermcp3ReportAreaSpotPL": {
  13725. "type": "object",
  13726. "properties": {
  13727. "actualpl": {
  13728. "description": "实际损益",
  13729. "type": "number"
  13730. },
  13731. "areauserid": {
  13732. "description": "所属机构",
  13733. "type": "integer"
  13734. },
  13735. "brandname": {
  13736. "description": "品牌名称",
  13737. "type": "string"
  13738. },
  13739. "curamount": {
  13740. "description": "期末额",
  13741. "type": "number"
  13742. },
  13743. "curaverageprice": {
  13744. "description": "期末均价",
  13745. "type": "number"
  13746. },
  13747. "curbuyamount": {
  13748. "description": "期末采购总额(采购额)",
  13749. "type": "number"
  13750. },
  13751. "curbuyqty": {
  13752. "description": "期末采购总量",
  13753. "type": "number"
  13754. },
  13755. "curmarketvalue": {
  13756. "description": "参考市值",
  13757. "type": "number"
  13758. },
  13759. "curqty": {
  13760. "description": "期末量",
  13761. "type": "number"
  13762. },
  13763. "cursellamount": {
  13764. "description": "期末销售总额(销售额)",
  13765. "type": "number"
  13766. },
  13767. "cursellqty": {
  13768. "description": "期末销售总量",
  13769. "type": "number"
  13770. },
  13771. "curspotprice": {
  13772. "description": "参考市价",
  13773. "type": "number"
  13774. },
  13775. "deliverygoodscode": {
  13776. "description": "现货品种代码",
  13777. "type": "string"
  13778. },
  13779. "deliverygoodsid": {
  13780. "description": "现货品种id",
  13781. "type": "integer"
  13782. },
  13783. "deliverygoodsname": {
  13784. "description": "现货品种名称",
  13785. "type": "string"
  13786. },
  13787. "enumdicname": {
  13788. "description": "现货商品单位名称",
  13789. "type": "string"
  13790. },
  13791. "floatpl": {
  13792. "description": "浮动损益",
  13793. "type": "number"
  13794. },
  13795. "gbenumdicname": {
  13796. "description": "品类单位名称",
  13797. "type": "string"
  13798. },
  13799. "gbunitid": {
  13800. "description": "现货单位id",
  13801. "type": "integer"
  13802. },
  13803. "modelname": {
  13804. "description": "品类名称",
  13805. "type": "string"
  13806. },
  13807. "oriamount": {
  13808. "description": "期初额",
  13809. "type": "number"
  13810. },
  13811. "oriaverageprice": {
  13812. "description": "期初均价",
  13813. "type": "number"
  13814. },
  13815. "oribuyamount": {
  13816. "description": "期初采购总额",
  13817. "type": "number"
  13818. },
  13819. "oribuyqty": {
  13820. "description": "期初采购总量",
  13821. "type": "number"
  13822. },
  13823. "oriqty": {
  13824. "description": "期初量",
  13825. "type": "number"
  13826. },
  13827. "orisellamount": {
  13828. "description": "期初销售总额",
  13829. "type": "number"
  13830. },
  13831. "orisellqty": {
  13832. "description": "期初销售总量",
  13833. "type": "number"
  13834. },
  13835. "spotgoodsbrandid": {
  13836. "description": "现货品牌ID",
  13837. "type": "integer"
  13838. },
  13839. "todaybuyamount": {
  13840. "description": "今日采购额",
  13841. "type": "number"
  13842. },
  13843. "todaybuyaverageprice": {
  13844. "description": "今日采购均价(采购均价)",
  13845. "type": "number"
  13846. },
  13847. "todaybuyqty": {
  13848. "description": "今日采购量(采购增量)",
  13849. "type": "number"
  13850. },
  13851. "todaysellamount": {
  13852. "description": "今日销售额",
  13853. "type": "number"
  13854. },
  13855. "todaysellaverageprice": {
  13856. "description": "今日销售均价(销售均价)",
  13857. "type": "number"
  13858. },
  13859. "todaysellqty": {
  13860. "description": "今日销售量(销售增量)",
  13861. "type": "number"
  13862. },
  13863. "unitid": {
  13864. "description": "品类单位id",
  13865. "type": "integer"
  13866. },
  13867. "updatetime": {
  13868. "description": "更新时间",
  13869. "type": "string"
  13870. },
  13871. "wrstandardcode": {
  13872. "description": "品类代码",
  13873. "type": "string"
  13874. },
  13875. "wrstandardid": {
  13876. "description": "品类ID",
  13877. "type": "integer"
  13878. },
  13879. "wrstandardname": {
  13880. "description": "品类名称",
  13881. "type": "string"
  13882. }
  13883. }
  13884. },
  13885. "models.Ermcp3ReportDaySpot": {
  13886. "type": "object",
  13887. "properties": {
  13888. "areauserid": {
  13889. "description": "所属机构T",
  13890. "type": "integer"
  13891. },
  13892. "buyinqty": {
  13893. "description": "采购入库量",
  13894. "type": "number"
  13895. },
  13896. "deliverygoodscode": {
  13897. "description": "现货品种代码",
  13898. "type": "string"
  13899. },
  13900. "deliverygoodsid": {
  13901. "description": "现货品种id",
  13902. "type": "integer"
  13903. },
  13904. "deliverygoodsname": {
  13905. "description": "现货品种名称",
  13906. "type": "string"
  13907. },
  13908. "enumdicname": {
  13909. "description": "现货商品单位名称",
  13910. "type": "string"
  13911. },
  13912. "reckondate": {
  13913. "description": "日照时期(yyyyMMdd)",
  13914. "type": "string"
  13915. },
  13916. "selloutqty": {
  13917. "description": "销售出库量",
  13918. "type": "number"
  13919. },
  13920. "todaybuyreckonqty": {
  13921. "description": "采购确定量",
  13922. "type": "number"
  13923. },
  13924. "todaysellreckonqty": {
  13925. "description": "销售确定量",
  13926. "type": "number"
  13927. },
  13928. "totalbuypricedqty": {
  13929. "description": "采购定价量 = 期末 - 期初",
  13930. "type": "number"
  13931. },
  13932. "totalsellpricedqty": {
  13933. "description": "销售定价量 = 期末 - 期初",
  13934. "type": "number"
  13935. }
  13936. }
  13937. },
  13938. "models.Ermcp3ReportMonSpot": {
  13939. "type": "object",
  13940. "properties": {
  13941. "areauserid": {
  13942. "description": "所属机构id",
  13943. "type": "integer"
  13944. },
  13945. "buyinqty": {
  13946. "description": "采购入库量",
  13947. "type": "number"
  13948. },
  13949. "cycletime": {
  13950. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13951. "type": "string"
  13952. },
  13953. "cycletype": {
  13954. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13955. "type": "integer"
  13956. },
  13957. "deliverygoodscode": {
  13958. "description": "现货品种代码",
  13959. "type": "string"
  13960. },
  13961. "deliverygoodsid": {
  13962. "description": "现货品种id",
  13963. "type": "integer"
  13964. },
  13965. "deliverygoodsname": {
  13966. "description": "现货品种名称",
  13967. "type": "string"
  13968. },
  13969. "enumdicname": {
  13970. "description": "现货商品单位名称",
  13971. "type": "string"
  13972. },
  13973. "selloutqty": {
  13974. "description": "销售出库量",
  13975. "type": "number"
  13976. },
  13977. "todaybuyreckonqty": {
  13978. "description": "采购确定量",
  13979. "type": "number"
  13980. },
  13981. "todaysellreckonqty": {
  13982. "description": "销售确定量",
  13983. "type": "number"
  13984. },
  13985. "totalbuypricedqty": {
  13986. "description": "采购定价量 = 期末 - 期初",
  13987. "type": "number"
  13988. },
  13989. "totalsellpricedqty": {
  13990. "description": "销售定价量 = 期末 - 期初",
  13991. "type": "number"
  13992. }
  13993. }
  13994. },
  13995. "models.Ermcp3ReportOPLog": {
  13996. "type": "object",
  13997. "properties": {
  13998. "applyid": {
  13999. "description": "操作人",
  14000. "type": "integer"
  14001. },
  14002. "applyname": {
  14003. "description": "操作人名称",
  14004. "type": "string"
  14005. },
  14006. "biztype": {
  14007. "description": "业务类型 - 1:套保计划 2:现货合同",
  14008. "type": "integer"
  14009. },
  14010. "brandname": {
  14011. "description": "品牌名称",
  14012. "type": "string"
  14013. },
  14014. "contracttype": {
  14015. "description": "现货合同类型 - 1:采购 -1:销售",
  14016. "type": "integer"
  14017. },
  14018. "deliverygoodscode": {
  14019. "description": "现货品种代码",
  14020. "type": "string"
  14021. },
  14022. "deliverygoodsid": {
  14023. "description": "现货品种id",
  14024. "type": "integer"
  14025. },
  14026. "deliverygoodsname": {
  14027. "description": "现货品种名称",
  14028. "type": "string"
  14029. },
  14030. "enumdicName": {
  14031. "description": "单位名称",
  14032. "type": "string"
  14033. },
  14034. "logdatetime": {
  14035. "description": "流水日期(时间)",
  14036. "type": "string"
  14037. },
  14038. "logid": {
  14039. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14040. "type": "string"
  14041. },
  14042. "logtypename": {
  14043. "description": "合同类型(名称)",
  14044. "type": "string"
  14045. },
  14046. "logvalue": {
  14047. "description": "数值",
  14048. "type": "string"
  14049. },
  14050. "operatelogtype": {
  14051. "description": "操作流水类型 -",
  14052. "type": "integer"
  14053. },
  14054. "optypename": {
  14055. "description": "流水类型名称",
  14056. "type": "string"
  14057. },
  14058. "relatedid": {
  14059. "description": "现货合同ID\\套保计划",
  14060. "type": "string"
  14061. },
  14062. "relatedno": {
  14063. "description": "合同编号",
  14064. "type": "string"
  14065. },
  14066. "tradedate": {
  14067. "description": "交易日(yyyyMMdd)",
  14068. "type": "string"
  14069. },
  14070. "userid": {
  14071. "description": "机构ID",
  14072. "type": "integer"
  14073. }
  14074. }
  14075. },
  14076. "models.Ermcp3SellBuyContract": {
  14077. "type": "object",
  14078. "properties": {
  14079. "accountname": {
  14080. "description": "账户名称",
  14081. "type": "string"
  14082. },
  14083. "attachment": {
  14084. "description": "附件",
  14085. "type": "string"
  14086. },
  14087. "audittime": {
  14088. "description": "审核时间",
  14089. "type": "string"
  14090. },
  14091. "brandname": {
  14092. "description": "品牌名称",
  14093. "type": "string"
  14094. },
  14095. "contracctstatus": {
  14096. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14097. "type": "integer"
  14098. },
  14099. "contractmargin": {
  14100. "description": "合同保证金",
  14101. "type": "number"
  14102. },
  14103. "contractno": {
  14104. "description": "合同编号",
  14105. "type": "string"
  14106. },
  14107. "contracttype": {
  14108. "description": "合同类型 1-采购, -1-销售",
  14109. "type": "integer"
  14110. },
  14111. "convertfactor": {
  14112. "description": "标仓系数(品类)",
  14113. "type": "number"
  14114. },
  14115. "createtime": {
  14116. "description": "创建时间",
  14117. "type": "string"
  14118. },
  14119. "daikaiamount": {
  14120. "description": "应收(开)票额",
  14121. "type": "number"
  14122. },
  14123. "deliveryenddate": {
  14124. "description": "交割结束日",
  14125. "type": "string"
  14126. },
  14127. "deliverygoodscode": {
  14128. "description": "现货品种代码",
  14129. "type": "string"
  14130. },
  14131. "deliverygoodsid": {
  14132. "description": "现货商品ID",
  14133. "type": "integer"
  14134. },
  14135. "deliverygoodsname": {
  14136. "description": "现货品种名称",
  14137. "type": "string"
  14138. },
  14139. "deliverystartdate": {
  14140. "description": "交割开始日",
  14141. "type": "string"
  14142. },
  14143. "enddate": {
  14144. "description": "点价结束日",
  14145. "type": "string"
  14146. },
  14147. "enumdicname": {
  14148. "description": "单位名称",
  14149. "type": "string"
  14150. },
  14151. "goodscode": {
  14152. "description": "点价商品代码",
  14153. "type": "string"
  14154. },
  14155. "goodsid": {
  14156. "description": "点价商品ID",
  14157. "type": "integer"
  14158. },
  14159. "goodsname": {
  14160. "description": "点价商品名称",
  14161. "type": "string"
  14162. },
  14163. "invoiceamount": {
  14164. "description": "已开票额",
  14165. "type": "number"
  14166. },
  14167. "loanamount": {
  14168. "description": "贷款总额=已定价额+调整金额",
  14169. "type": "number"
  14170. },
  14171. "margin": {
  14172. "description": "保证金",
  14173. "type": "number"
  14174. },
  14175. "payamount": {
  14176. "description": "已收付额(收款或付款)",
  14177. "type": "number"
  14178. },
  14179. "preinvoiceamount": {
  14180. "description": "预收(开)票额",
  14181. "type": "number"
  14182. },
  14183. "prepayamount": {
  14184. "description": "预收付额",
  14185. "type": "number"
  14186. },
  14187. "price": {
  14188. "description": "价格",
  14189. "type": "number"
  14190. },
  14191. "pricedamount": {
  14192. "description": "已定价额",
  14193. "type": "number"
  14194. },
  14195. "pricedavg": {
  14196. "description": "已点均价",
  14197. "type": "number"
  14198. },
  14199. "pricedqty": {
  14200. "description": "已定价量",
  14201. "type": "number"
  14202. },
  14203. "pricemove": {
  14204. "description": "升贴水",
  14205. "type": "number"
  14206. },
  14207. "pricetype": {
  14208. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14209. "type": "integer"
  14210. },
  14211. "producttype": {
  14212. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14213. "type": "integer"
  14214. },
  14215. "qty": {
  14216. "description": "合同量",
  14217. "type": "number"
  14218. },
  14219. "reckonadjustamount": {
  14220. "description": "调整金额",
  14221. "type": "number"
  14222. },
  14223. "reckonedamount": {
  14224. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14225. "type": "number"
  14226. },
  14227. "reckonotheramount": {
  14228. "description": "其它费用",
  14229. "type": "number"
  14230. },
  14231. "reckonrealqty": {
  14232. "description": "已确定量",
  14233. "type": "number"
  14234. },
  14235. "remark": {
  14236. "description": "备注",
  14237. "type": "string"
  14238. },
  14239. "spotcontractid": {
  14240. "description": "合同ID",
  14241. "type": "string"
  14242. },
  14243. "spotgoodsbrandid": {
  14244. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14245. "type": "integer"
  14246. },
  14247. "spotgoodsdesc": {
  14248. "description": "商品型号(商品规格)",
  14249. "type": "string"
  14250. },
  14251. "startdate": {
  14252. "description": "点价开始日",
  14253. "type": "string"
  14254. },
  14255. "totalamount": {
  14256. "description": "合计总额",
  14257. "type": "number"
  14258. },
  14259. "unpayamount": {
  14260. "description": "应收付款额(应支付或应收款)",
  14261. "type": "number"
  14262. },
  14263. "unpricedqty": {
  14264. "description": "未定价量",
  14265. "type": "number"
  14266. },
  14267. "unsureqty": {
  14268. "description": "未确定量",
  14269. "type": "number"
  14270. },
  14271. "userid": {
  14272. "description": "机构ID",
  14273. "type": "integer"
  14274. },
  14275. "wrstandardcode": {
  14276. "description": "品类代码",
  14277. "type": "string"
  14278. },
  14279. "wrstandardid": {
  14280. "description": "品类ID",
  14281. "type": "integer"
  14282. },
  14283. "wrstandardname": {
  14284. "description": "品类名称",
  14285. "type": "string"
  14286. }
  14287. }
  14288. },
  14289. "models.Ermcp3Wrstandard": {
  14290. "type": "object",
  14291. "properties": {
  14292. "areauserid": {
  14293. "description": "所属机构",
  14294. "type": "integer"
  14295. },
  14296. "createtime": {
  14297. "description": "创建时间",
  14298. "type": "string"
  14299. },
  14300. "creatorid": {
  14301. "description": "创建人",
  14302. "type": "integer"
  14303. },
  14304. "deliverygoodsid": {
  14305. "description": "现货品种ID",
  14306. "type": "integer"
  14307. },
  14308. "enumdicname": {
  14309. "description": "品类单位名称",
  14310. "type": "string"
  14311. },
  14312. "isvalid": {
  14313. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14314. "type": "integer"
  14315. },
  14316. "minivalue": {
  14317. "description": "最小变动值",
  14318. "type": "integer"
  14319. },
  14320. "minivaluedp": {
  14321. "description": "最小变动值小数位",
  14322. "type": "integer"
  14323. },
  14324. "realminivalue": {
  14325. "description": "实际最小变动值",
  14326. "type": "integer"
  14327. },
  14328. "realminivaluedp": {
  14329. "description": "实际最小变动值小数位",
  14330. "type": "integer"
  14331. },
  14332. "remark": {
  14333. "description": "备注",
  14334. "type": "string"
  14335. },
  14336. "unitid": {
  14337. "description": "品类单位ID",
  14338. "type": "integer"
  14339. },
  14340. "updatetime": {
  14341. "description": "更新时间",
  14342. "type": "string"
  14343. },
  14344. "wrstandardcode": {
  14345. "description": "品类代码",
  14346. "type": "string"
  14347. },
  14348. "wrstandardid": {
  14349. "description": "品类ID(SEQ_WRSTANDARD)",
  14350. "type": "integer"
  14351. },
  14352. "wrstandardname": {
  14353. "description": "品类名称",
  14354. "type": "string"
  14355. }
  14356. }
  14357. },
  14358. "models.ErmcpAreaSpotDetailModel": {
  14359. "type": "object",
  14360. "properties": {
  14361. "contracttype": {
  14362. "description": "合同类型 1-采购 -1-销售",
  14363. "type": "integer"
  14364. },
  14365. "createtime": {
  14366. "description": "创建时间",
  14367. "type": "string"
  14368. },
  14369. "enumdicname": {
  14370. "description": "现货商品单位名称",
  14371. "type": "string"
  14372. },
  14373. "logtype": {
  14374. "description": "记录类型 1-套保 2-现货合同",
  14375. "type": "integer"
  14376. },
  14377. "qty": {
  14378. "description": "数量",
  14379. "type": "number"
  14380. },
  14381. "recordname": {
  14382. "description": "类型名称",
  14383. "type": "string"
  14384. },
  14385. "relatedid": {
  14386. "description": "套保计划ID/现货合同ID",
  14387. "type": "string"
  14388. },
  14389. "relatedno": {
  14390. "description": "编号",
  14391. "type": "string"
  14392. },
  14393. "strtime": {
  14394. "description": "时间",
  14395. "type": "string"
  14396. },
  14397. "wrstandardcode": {
  14398. "description": "现货商品代码",
  14399. "type": "string"
  14400. },
  14401. "wrstandardname": {
  14402. "description": "现货商品名称",
  14403. "type": "string"
  14404. }
  14405. }
  14406. },
  14407. "models.ErmcpAreaStock": {
  14408. "type": "object",
  14409. "properties": {
  14410. "brandname": {
  14411. "description": "品牌名称",
  14412. "type": "string"
  14413. },
  14414. "curstock": {
  14415. "description": "期末库存量(今日量)",
  14416. "type": "number"
  14417. },
  14418. "deliverygoodsid": {
  14419. "description": "现货品种ID",
  14420. "type": "integer"
  14421. },
  14422. "enumdicname": {
  14423. "description": "单位名称",
  14424. "type": "string"
  14425. },
  14426. "modelname": {
  14427. "description": "型号名称",
  14428. "type": "string"
  14429. },
  14430. "oristock": {
  14431. "description": "期初库存量(昨日量)",
  14432. "type": "number"
  14433. },
  14434. "spotgoodsbrandid": {
  14435. "description": "现货品牌ID",
  14436. "type": "integer"
  14437. },
  14438. "spotgoodsmodelid": {
  14439. "description": "现货型号ID",
  14440. "type": "integer"
  14441. },
  14442. "todaybuyinqty": {
  14443. "description": "今日采购入库量",
  14444. "type": "number"
  14445. },
  14446. "todayproduceinqty": {
  14447. "description": "今日生产入库量",
  14448. "type": "number"
  14449. },
  14450. "todayproduceoutqty": {
  14451. "description": "今日生产出库量",
  14452. "type": "number"
  14453. },
  14454. "todayselloutqty": {
  14455. "description": "今日销售出库量",
  14456. "type": "number"
  14457. },
  14458. "unitid": {
  14459. "description": "单位id",
  14460. "type": "integer"
  14461. },
  14462. "updatetime": {
  14463. "description": "更新时间",
  14464. "type": "string"
  14465. },
  14466. "userid": {
  14467. "description": "机构ID",
  14468. "type": "integer"
  14469. },
  14470. "username": {
  14471. "description": "机构名称",
  14472. "type": "string"
  14473. },
  14474. "warehousecode": {
  14475. "description": "仓库代码",
  14476. "type": "string"
  14477. },
  14478. "warehouseinfoid": {
  14479. "description": "仓库ID",
  14480. "type": "string"
  14481. },
  14482. "warehousename": {
  14483. "description": "仓库名称",
  14484. "type": "string"
  14485. },
  14486. "warehousetype": {
  14487. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14488. "type": "integer"
  14489. },
  14490. "wrstandardcode": {
  14491. "description": "现货商品代码",
  14492. "type": "string"
  14493. },
  14494. "wrstandardid": {
  14495. "description": "现货商品ID",
  14496. "type": "string"
  14497. },
  14498. "wrstandardname": {
  14499. "description": "现货商品名称",
  14500. "type": "string"
  14501. }
  14502. }
  14503. },
  14504. "models.ErmcpAreaStockApply": {
  14505. "type": "object",
  14506. "properties": {
  14507. "applyid": {
  14508. "description": "申请人",
  14509. "type": "integer"
  14510. },
  14511. "applyname": {
  14512. "description": "申请人名称",
  14513. "type": "string"
  14514. },
  14515. "applyremark": {
  14516. "description": "申请备注",
  14517. "type": "string"
  14518. },
  14519. "applysrc": {
  14520. "description": "申请来源 - 1:管理端 2:终端",
  14521. "type": "integer"
  14522. },
  14523. "applystatus": {
  14524. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14525. "type": "integer"
  14526. },
  14527. "applytime": {
  14528. "description": "申请时间",
  14529. "type": "string"
  14530. },
  14531. "auditid": {
  14532. "description": "审核人",
  14533. "type": "integer"
  14534. },
  14535. "auditname": {
  14536. "description": "审核人名称",
  14537. "type": "string"
  14538. },
  14539. "auditremark": {
  14540. "description": "审核备注",
  14541. "type": "string"
  14542. },
  14543. "auditsrc": {
  14544. "description": "审核来源 - 1:管理端 2:终端",
  14545. "type": "integer"
  14546. },
  14547. "audittime": {
  14548. "description": "审核时间",
  14549. "type": "string"
  14550. },
  14551. "audittradedate": {
  14552. "description": "审核交易日(yyyyMMdd)",
  14553. "type": "string"
  14554. },
  14555. "brandname": {
  14556. "description": "品牌名称",
  14557. "type": "string"
  14558. },
  14559. "buyuserid": {
  14560. "description": "采购方userid",
  14561. "type": "integer"
  14562. },
  14563. "buyusername": {
  14564. "description": "采购方名称",
  14565. "type": "string"
  14566. },
  14567. "contractno": {
  14568. "description": "合同编号",
  14569. "type": "string"
  14570. },
  14571. "contractqty": {
  14572. "description": "合同量",
  14573. "type": "number"
  14574. },
  14575. "contracttype": {
  14576. "description": "现货合同类型 - 1:采购 -1:销售",
  14577. "type": "integer"
  14578. },
  14579. "deliverygoodsid": {
  14580. "description": "现货品种ID",
  14581. "type": "integer"
  14582. },
  14583. "enumdicname": {
  14584. "description": "现货商品单位名称",
  14585. "type": "string"
  14586. },
  14587. "inoutapplyid": {
  14588. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14589. "type": "string"
  14590. },
  14591. "inouttype": {
  14592. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14593. "type": "integer"
  14594. },
  14595. "modelname": {
  14596. "description": "型号名称",
  14597. "type": "string"
  14598. },
  14599. "pricetype": {
  14600. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14601. "type": "integer"
  14602. },
  14603. "qty": {
  14604. "description": "数量",
  14605. "type": "number"
  14606. },
  14607. "selluserid": {
  14608. "description": "销售方userid",
  14609. "type": "integer"
  14610. },
  14611. "sellusername": {
  14612. "description": "销售方名称",
  14613. "type": "string"
  14614. },
  14615. "spotcontractid": {
  14616. "description": "关联现货合同ID",
  14617. "type": "string"
  14618. },
  14619. "spotgoodsbrandid": {
  14620. "description": "现货品牌ID",
  14621. "type": "integer"
  14622. },
  14623. "spotgoodsmodelid": {
  14624. "description": "现货型号ID",
  14625. "type": "integer"
  14626. },
  14627. "unitid": {
  14628. "description": "单位id",
  14629. "type": "integer"
  14630. },
  14631. "userid": {
  14632. "description": "机构ID",
  14633. "type": "integer"
  14634. },
  14635. "warehousecode": {
  14636. "description": "仓库代码",
  14637. "type": "string"
  14638. },
  14639. "warehouseinfoid": {
  14640. "description": "现货仓库ID",
  14641. "type": "string"
  14642. },
  14643. "warehousename": {
  14644. "description": "仓库名称",
  14645. "type": "string"
  14646. },
  14647. "warehousetype": {
  14648. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14649. "type": "integer"
  14650. },
  14651. "wrstandardcode": {
  14652. "description": "现货商品代码",
  14653. "type": "string"
  14654. },
  14655. "wrstandardid": {
  14656. "description": "现货商品ID",
  14657. "type": "string"
  14658. },
  14659. "wrstandardname": {
  14660. "description": "现货商品名称",
  14661. "type": "string"
  14662. }
  14663. }
  14664. },
  14665. "models.ErmcpAreaStockApplySum": {
  14666. "type": "object",
  14667. "properties": {
  14668. "brandname": {
  14669. "description": "品牌名称",
  14670. "type": "string"
  14671. },
  14672. "inouttype": {
  14673. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14674. "type": "integer"
  14675. },
  14676. "modelname": {
  14677. "description": "型号名称",
  14678. "type": "string"
  14679. },
  14680. "spotcontractid": {
  14681. "description": "关联现货合同ID",
  14682. "type": "string"
  14683. },
  14684. "spotgoodsbrandid": {
  14685. "description": "品牌id",
  14686. "type": "integer"
  14687. },
  14688. "spotgoodsmodelid": {
  14689. "description": "型号id",
  14690. "type": "integer"
  14691. },
  14692. "totalqty": {
  14693. "description": "总数量",
  14694. "type": "number"
  14695. }
  14696. }
  14697. },
  14698. "models.ErmcpAreaStockReport": {
  14699. "type": "object",
  14700. "properties": {
  14701. "brandname": {
  14702. "description": "品牌名称",
  14703. "type": "string"
  14704. },
  14705. "curstock": {
  14706. "description": "期末库存量",
  14707. "type": "number"
  14708. },
  14709. "deliverygoodsid": {
  14710. "description": "现货品种ID",
  14711. "type": "integer"
  14712. },
  14713. "enumdicname": {
  14714. "description": "单位名称",
  14715. "type": "string"
  14716. },
  14717. "modelname": {
  14718. "description": "型号名称",
  14719. "type": "string"
  14720. },
  14721. "oristock": {
  14722. "description": "期初库存量",
  14723. "type": "number"
  14724. },
  14725. "spotgoodsbrandid": {
  14726. "description": "现货品牌ID",
  14727. "type": "integer"
  14728. },
  14729. "spotgoodsmodelid": {
  14730. "description": "现货型号ID",
  14731. "type": "integer"
  14732. },
  14733. "todaybuyinqty": {
  14734. "description": "今日采购入库量",
  14735. "type": "number"
  14736. },
  14737. "todayproduceinqty": {
  14738. "description": "今日生产入库量",
  14739. "type": "number"
  14740. },
  14741. "todayproduceoutqty": {
  14742. "description": "今日生产出库量",
  14743. "type": "number"
  14744. },
  14745. "todayselloutqty": {
  14746. "description": "今日销售出库量",
  14747. "type": "number"
  14748. },
  14749. "unitid": {
  14750. "description": "单位id",
  14751. "type": "integer"
  14752. },
  14753. "updatetime": {
  14754. "description": "更新时间",
  14755. "type": "string"
  14756. },
  14757. "userid": {
  14758. "description": "机构ID",
  14759. "type": "integer"
  14760. },
  14761. "username": {
  14762. "description": "机构名称",
  14763. "type": "string"
  14764. },
  14765. "warehousecode": {
  14766. "description": "仓库代码",
  14767. "type": "string"
  14768. },
  14769. "warehouseinfoid": {
  14770. "description": "仓库ID",
  14771. "type": "string"
  14772. },
  14773. "warehousename": {
  14774. "description": "仓库名称",
  14775. "type": "string"
  14776. },
  14777. "warehousetype": {
  14778. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14779. "type": "integer"
  14780. },
  14781. "wrstandardcode": {
  14782. "description": "现货商品代码",
  14783. "type": "string"
  14784. },
  14785. "wrstandardid": {
  14786. "description": "现货商品ID",
  14787. "type": "string"
  14788. },
  14789. "wrstandardname": {
  14790. "description": "现货商品名称",
  14791. "type": "string"
  14792. }
  14793. }
  14794. },
  14795. "models.ErmcpAvalidGoodsGroupModel": {
  14796. "type": "object",
  14797. "properties": {
  14798. "goodsgroupid": {
  14799. "description": "期货品种id",
  14800. "type": "integer"
  14801. },
  14802. "goodsgroupname": {
  14803. "description": "期货品种名称",
  14804. "type": "string"
  14805. },
  14806. "goodunitid": {
  14807. "description": "品种单位id",
  14808. "type": "integer"
  14809. },
  14810. "goodunitname": {
  14811. "description": "品种单位名称",
  14812. "type": "string"
  14813. },
  14814. "outergroupcode": {
  14815. "description": "期货品种代码",
  14816. "type": "string"
  14817. }
  14818. }
  14819. },
  14820. "models.ErmcpBizGroupEx": {
  14821. "type": "object",
  14822. "properties": {
  14823. "acclist": {
  14824. "description": "账号列表",
  14825. "type": "array",
  14826. "items": {
  14827. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14828. }
  14829. },
  14830. "bizgroupid": {
  14831. "description": "业务分组id",
  14832. "type": "integer"
  14833. },
  14834. "biztype": {
  14835. "description": "业务类型 1-套保 2-套利",
  14836. "type": "integer"
  14837. },
  14838. "wrlist": {
  14839. "description": "现货商品表",
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14843. }
  14844. }
  14845. }
  14846. },
  14847. "models.ErmcpBizGroupSpotGoods": {
  14848. "type": "object",
  14849. "properties": {
  14850. "areauserid": {
  14851. "description": "所属机构id",
  14852. "type": "integer"
  14853. },
  14854. "bizgroupid": {
  14855. "description": "分组id",
  14856. "type": "integer"
  14857. },
  14858. "biztype": {
  14859. "description": "业务类型 1-套保 2-套利",
  14860. "type": "integer"
  14861. },
  14862. "deliverygoodscode": {
  14863. "description": "现货商品代码",
  14864. "type": "string"
  14865. },
  14866. "deliverygoodsid": {
  14867. "description": "现货商品id",
  14868. "type": "integer"
  14869. },
  14870. "deliverygoodsname": {
  14871. "description": "现货商品名称",
  14872. "type": "string"
  14873. },
  14874. "unitid": {
  14875. "description": "现货商品单位id",
  14876. "type": "integer"
  14877. }
  14878. }
  14879. },
  14880. "models.ErmcpBizGroupTaAccount": {
  14881. "type": "object",
  14882. "properties": {
  14883. "accountid": {
  14884. "description": "账号id",
  14885. "type": "string"
  14886. },
  14887. "accountname": {
  14888. "description": "账号名称",
  14889. "type": "string"
  14890. },
  14891. "areauserid": {
  14892. "description": "所属机构id",
  14893. "type": "integer"
  14894. },
  14895. "bizgroupid": {
  14896. "description": "业务分组id",
  14897. "type": "integer"
  14898. },
  14899. "ismain": {
  14900. "description": "是否主账号 1-是 0-否",
  14901. "type": "integer"
  14902. }
  14903. }
  14904. },
  14905. "models.ErmcpDGFactoryItem": {
  14906. "type": "object",
  14907. "properties": {
  14908. "areauserid": {
  14909. "description": "用户id",
  14910. "type": "integer"
  14911. },
  14912. "deliverygoodsid": {
  14913. "description": "现货品种ID",
  14914. "type": "integer"
  14915. },
  14916. "dgfactoryitemid": {
  14917. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14918. "type": "integer"
  14919. },
  14920. "dgfactoryitemtypeid": {
  14921. "description": "要素项类型",
  14922. "type": "integer"
  14923. },
  14924. "dgfactoryitemvalue": {
  14925. "description": "要素项值(类型为仓库时填写仓库名称)",
  14926. "type": "string"
  14927. },
  14928. "isvalid": {
  14929. "description": "是否有效 - 0:无效 1:有效",
  14930. "type": "integer"
  14931. },
  14932. "orderindex": {
  14933. "description": "顺序",
  14934. "type": "integer"
  14935. },
  14936. "warehouseid": {
  14937. "description": "仓库ID(类型为仓库时填写)",
  14938. "type": "integer"
  14939. }
  14940. }
  14941. },
  14942. "models.ErmcpDeliveryGoods": {
  14943. "type": "object",
  14944. "properties": {
  14945. "agreeunit": {
  14946. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  14947. "type": "integer"
  14948. },
  14949. "areauserid": {
  14950. "description": "所属机构",
  14951. "type": "integer"
  14952. },
  14953. "auditflag": {
  14954. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  14955. "type": "integer"
  14956. },
  14957. "categoryid": {
  14958. "description": "类别ID(SEQ_WRCATEGORY)",
  14959. "type": "integer"
  14960. },
  14961. "deliverygoodscode": {
  14962. "description": "现货品种代码",
  14963. "type": "string"
  14964. },
  14965. "deliverygoodsid": {
  14966. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  14967. "type": "integer"
  14968. },
  14969. "deliverygoodsname": {
  14970. "description": "现货品种名称",
  14971. "type": "string"
  14972. },
  14973. "deliverygoodstype": {
  14974. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  14975. "type": "integer"
  14976. },
  14977. "dgstatus": {
  14978. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  14979. "type": "integer"
  14980. },
  14981. "enumdicname": {
  14982. "description": "现货品种单位名称",
  14983. "type": "string"
  14984. },
  14985. "goodsunitid": {
  14986. "description": "现货品种单位ID",
  14987. "type": "integer"
  14988. },
  14989. "isvalid": {
  14990. "description": "是否有效 - 0:无效 1:有效",
  14991. "type": "integer"
  14992. },
  14993. "qtydecimalplace": {
  14994. "description": "成交量小数位",
  14995. "type": "integer"
  14996. },
  14997. "standardqty": {
  14998. "description": "标准数量(库位数量) [标准品特有]",
  14999. "type": "integer"
  15000. },
  15001. "standardqtyrange": {
  15002. "description": "标准数量偏差范围 [标准品特有]",
  15003. "type": "integer"
  15004. }
  15005. }
  15006. },
  15007. "models.ErmcpDeliveryGoodsDetail": {
  15008. "type": "object",
  15009. "properties": {
  15010. "data": {
  15011. "description": "现货商品基本信息(交割品种)",
  15012. "type": "object",
  15013. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15014. },
  15015. "gblist": {
  15016. "description": "品牌列表",
  15017. "type": "array",
  15018. "items": {
  15019. "$ref": "#/definitions/models.Ermcp3Brand"
  15020. }
  15021. },
  15022. "gmlist": {
  15023. "description": "品类列表(仓单标准)",
  15024. "type": "array",
  15025. "items": {
  15026. "$ref": "#/definitions/models.ErmcpWrstandard"
  15027. }
  15028. },
  15029. "goodslist": {
  15030. "description": "关联交易商品列表",
  15031. "type": "array",
  15032. "items": {
  15033. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  15034. }
  15035. },
  15036. "wrslist": {
  15037. "description": "套保信息列表",
  15038. "type": "array",
  15039. "items": {
  15040. "$ref": "#/definitions/models.WRSConverTDetail"
  15041. }
  15042. }
  15043. }
  15044. },
  15045. "models.ErmcpExposureDetailModel": {
  15046. "type": "object",
  15047. "properties": {
  15048. "areauserid": {
  15049. "description": "机构ID",
  15050. "type": "integer"
  15051. },
  15052. "changeQty": {
  15053. "description": "套保变动量",
  15054. "type": "number"
  15055. },
  15056. "contracttype": {
  15057. "description": "现货合同类型 - 1:采购 -1:销售",
  15058. "type": "integer"
  15059. },
  15060. "convertfactor": {
  15061. "description": "标仓系数",
  15062. "type": "number"
  15063. },
  15064. "convertratio": {
  15065. "description": "套保系数",
  15066. "type": "number"
  15067. },
  15068. "createtime": {
  15069. "description": "时间",
  15070. "type": "string"
  15071. },
  15072. "enumdicname": {
  15073. "description": "现货商品单位名称",
  15074. "type": "string"
  15075. },
  15076. "logtype": {
  15077. "description": "类型 - 1:套保计划 2:现货合同",
  15078. "type": "integer"
  15079. },
  15080. "middlegoodsId": {
  15081. "description": "套保商品id",
  15082. "type": "integer"
  15083. },
  15084. "middlegoodscode": {
  15085. "description": "套保商品代码",
  15086. "type": "string"
  15087. },
  15088. "middlegoodsname": {
  15089. "description": "套保商品名称",
  15090. "type": "string"
  15091. },
  15092. "qty": {
  15093. "description": "数量",
  15094. "type": "number"
  15095. },
  15096. "relateNo": {
  15097. "description": "现货合同/套保计划编号",
  15098. "type": "string"
  15099. },
  15100. "wrstandardcode": {
  15101. "description": "现货商品代码",
  15102. "type": "string"
  15103. },
  15104. "wrstandardid": {
  15105. "description": "现货商品ID",
  15106. "type": "integer"
  15107. },
  15108. "wrstandardname": {
  15109. "description": "现货商品名称",
  15110. "type": "string"
  15111. }
  15112. }
  15113. },
  15114. "models.ErmcpExposurePostion": {
  15115. "type": "object",
  15116. "properties": {
  15117. "agreeunit": {
  15118. "description": "合约单位",
  15119. "type": "string"
  15120. },
  15121. "areauserid": {
  15122. "description": "所属机构id",
  15123. "type": "integer"
  15124. },
  15125. "convertratio": {
  15126. "description": "期货品种系数(折算系数)",
  15127. "type": "number"
  15128. },
  15129. "curqty": {
  15130. "description": "当前持仓",
  15131. "type": "integer"
  15132. },
  15133. "diffhedgeqty": {
  15134. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15135. "type": "number"
  15136. },
  15137. "diffqty": {
  15138. "description": "持仓变动量=当前持仓-昨日持仓",
  15139. "type": "integer"
  15140. },
  15141. "goodscode": {
  15142. "description": "商品代码",
  15143. "type": "string"
  15144. },
  15145. "goodsid": {
  15146. "description": "商品id",
  15147. "type": "integer"
  15148. },
  15149. "goodsname": {
  15150. "description": "商品名称",
  15151. "type": "string"
  15152. },
  15153. "middlegoodsid": {
  15154. "description": "套保商品id",
  15155. "type": "integer"
  15156. },
  15157. "ydqty": {
  15158. "description": "昨日持仓",
  15159. "type": "integer"
  15160. }
  15161. }
  15162. },
  15163. "models.ErmcpFuturesCompany": {
  15164. "type": "object",
  15165. "properties": {
  15166. "brokerid": {
  15167. "description": "经纪公司代码",
  15168. "type": "string"
  15169. },
  15170. "channeladdress": {
  15171. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15172. "type": "string"
  15173. },
  15174. "channelid": {
  15175. "description": "对冲渠道ID",
  15176. "type": "string"
  15177. },
  15178. "createtime": {
  15179. "description": "创建时间",
  15180. "type": "string"
  15181. },
  15182. "creatorid": {
  15183. "description": "创建人",
  15184. "type": "string"
  15185. },
  15186. "fcid": {
  15187. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15188. "type": "integer"
  15189. },
  15190. "fcname": {
  15191. "description": "期货公司名称",
  15192. "type": "string"
  15193. },
  15194. "isvalid": {
  15195. "description": "是否有效 - 0:无效 1:有效",
  15196. "type": "integer"
  15197. },
  15198. "mhpaddress": {
  15199. "description": "MHP服务地址(IP:Port)",
  15200. "type": "string"
  15201. },
  15202. "riskrulegroupid": {
  15203. "description": "风控规则组ID",
  15204. "type": "string"
  15205. },
  15206. "tradefeetmpid": {
  15207. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15208. "type": "string"
  15209. },
  15210. "trademargintmpid": {
  15211. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15212. "type": "string"
  15213. },
  15214. "traderatetmpid": {
  15215. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15216. "type": "string"
  15217. },
  15218. "updatetime": {
  15219. "description": "更新时间",
  15220. "type": "string"
  15221. },
  15222. "updatorid": {
  15223. "description": "更新人",
  15224. "type": "string"
  15225. }
  15226. }
  15227. },
  15228. "models.ErmcpGGConvertCfg": {
  15229. "type": "object",
  15230. "properties": {
  15231. "convertratio": {
  15232. "description": "折算系数",
  15233. "type": "number"
  15234. },
  15235. "destgoodsgroupid": {
  15236. "description": "目标品种ID",
  15237. "type": "integer"
  15238. },
  15239. "dstcode": {
  15240. "description": "目录品种代码",
  15241. "type": "string"
  15242. },
  15243. "dstexchangecode": {
  15244. "description": "目标期货交易所",
  15245. "type": "string"
  15246. },
  15247. "dstname": {
  15248. "description": "目标品种名称",
  15249. "type": "string"
  15250. },
  15251. "dstunitid": {
  15252. "description": "目标品种单位ID",
  15253. "type": "integer"
  15254. },
  15255. "dstunitidname": {
  15256. "description": "目标品种单位名称",
  15257. "type": "string"
  15258. },
  15259. "modifytime": {
  15260. "description": "修改时间",
  15261. "type": "string"
  15262. },
  15263. "srccode": {
  15264. "description": "源品种代码",
  15265. "type": "string"
  15266. },
  15267. "srcexchangecode": {
  15268. "description": "源期货交易所",
  15269. "type": "string"
  15270. },
  15271. "srcgoodsgroupid": {
  15272. "description": "源品种ID",
  15273. "type": "integer"
  15274. },
  15275. "srcname": {
  15276. "description": "源品种名称",
  15277. "type": "string"
  15278. },
  15279. "srcunitid": {
  15280. "description": "源品种单位ID",
  15281. "type": "integer"
  15282. },
  15283. "srcunitidname": {
  15284. "description": "源品种单位名称",
  15285. "type": "string"
  15286. }
  15287. }
  15288. },
  15289. "models.ErmcpGoodsBrand": {
  15290. "type": "object",
  15291. "properties": {
  15292. "areauserid": {
  15293. "description": "所属机构",
  15294. "type": "integer"
  15295. },
  15296. "brandid": {
  15297. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15298. "type": "integer"
  15299. },
  15300. "brandname": {
  15301. "description": "品牌名称",
  15302. "type": "string"
  15303. },
  15304. "createtime": {
  15305. "description": "创建时间",
  15306. "type": "string"
  15307. },
  15308. "creatorid": {
  15309. "description": "创建人",
  15310. "type": "integer"
  15311. },
  15312. "creatorsrc": {
  15313. "description": "创建人来源 - 1:管理端 2:终端",
  15314. "type": "integer"
  15315. },
  15316. "deliverygoodsid": {
  15317. "description": "现货品种ID",
  15318. "type": "integer"
  15319. },
  15320. "isvalid": {
  15321. "description": "是否有效 - 0:无效 1:有效",
  15322. "type": "integer"
  15323. },
  15324. "updatetime": {
  15325. "description": "更新时间",
  15326. "type": "string"
  15327. },
  15328. "updatorid": {
  15329. "description": "更新人",
  15330. "type": "integer"
  15331. },
  15332. "updatorsrc": {
  15333. "description": "更新人来源 - 1:管理端 2:终端",
  15334. "type": "integer"
  15335. },
  15336. "wrstandardid": {
  15337. "description": "现货商品ID",
  15338. "type": "integer"
  15339. }
  15340. }
  15341. },
  15342. "models.ErmcpGoodsModel": {
  15343. "type": "object",
  15344. "properties": {
  15345. "areauserid": {
  15346. "description": "所属机构",
  15347. "type": "integer"
  15348. },
  15349. "convertfactor": {
  15350. "description": "标仓系数",
  15351. "type": "number"
  15352. },
  15353. "createtime": {
  15354. "description": "创建时间",
  15355. "type": "string"
  15356. },
  15357. "creatorid": {
  15358. "description": "创建人",
  15359. "type": "integer"
  15360. },
  15361. "creatorsrc": {
  15362. "description": "创建人来源 - 1:管理端 2:终端",
  15363. "type": "integer"
  15364. },
  15365. "deliverygoodsid": {
  15366. "description": "现货品种ID",
  15367. "type": "integer"
  15368. },
  15369. "isvalid": {
  15370. "description": "是否有效 - 0:无效 1:有效",
  15371. "type": "integer"
  15372. },
  15373. "modelid": {
  15374. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15375. "type": "integer"
  15376. },
  15377. "modelname": {
  15378. "description": "型号名称",
  15379. "type": "string"
  15380. },
  15381. "updatetime": {
  15382. "description": "更新时间",
  15383. "type": "string"
  15384. },
  15385. "updatorid": {
  15386. "description": "更新人",
  15387. "type": "integer"
  15388. },
  15389. "updatorsrc": {
  15390. "description": "更新人来源 - 1:管理端 2:终端",
  15391. "type": "integer"
  15392. },
  15393. "wrstandardid": {
  15394. "description": "现货商品ID",
  15395. "type": "integer"
  15396. }
  15397. }
  15398. },
  15399. "models.ErmcpHedgePlan": {
  15400. "type": "object",
  15401. "properties": {
  15402. "areauserid": {
  15403. "description": "用户ID",
  15404. "type": "integer"
  15405. },
  15406. "audittime": {
  15407. "description": "审核时间",
  15408. "type": "string"
  15409. },
  15410. "contracttype": {
  15411. "description": "计划类型 - 1:采购 -1:销售",
  15412. "type": "integer"
  15413. },
  15414. "convertfactor": {
  15415. "description": "标仓系数",
  15416. "type": "number"
  15417. },
  15418. "createtime": {
  15419. "description": "创建时间",
  15420. "type": "string"
  15421. },
  15422. "deliverygoodsid": {
  15423. "description": "现货品种ID",
  15424. "type": "integer"
  15425. },
  15426. "deliverygoodsname": {
  15427. "description": "现货品种名称",
  15428. "type": "string"
  15429. },
  15430. "enumdicname": {
  15431. "description": "单位名称",
  15432. "type": "string"
  15433. },
  15434. "hedgeplanid": {
  15435. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15436. "type": "string"
  15437. },
  15438. "hedgeplanno": {
  15439. "description": "套保计划编号(名称)",
  15440. "type": "string"
  15441. },
  15442. "hedgeplanstatus": {
  15443. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15444. "type": "integer"
  15445. },
  15446. "planqty": {
  15447. "description": "计划数量",
  15448. "type": "number"
  15449. },
  15450. "plantime": {
  15451. "description": "计划时间",
  15452. "type": "string"
  15453. },
  15454. "producttype": {
  15455. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15456. "type": "integer"
  15457. },
  15458. "remark": {
  15459. "description": "备注",
  15460. "type": "string"
  15461. },
  15462. "spotgoodsdesc": {
  15463. "description": "商品型号",
  15464. "type": "string"
  15465. },
  15466. "unitid": {
  15467. "description": "单位id",
  15468. "type": "integer"
  15469. },
  15470. "updatetime": {
  15471. "description": "更新时间",
  15472. "type": "string"
  15473. },
  15474. "wrstandardid": {
  15475. "description": "现货商品ID",
  15476. "type": "integer"
  15477. },
  15478. "wrstandardname": {
  15479. "description": "现货商品名称",
  15480. "type": "string"
  15481. }
  15482. }
  15483. },
  15484. "models.ErmcpHedgePosition": {
  15485. "type": "object",
  15486. "properties": {
  15487. "accountid": {
  15488. "description": "资金账号[外部母账户]",
  15489. "type": "integer"
  15490. },
  15491. "curbuyposition": {
  15492. "description": "期末买头寸",
  15493. "type": "integer"
  15494. },
  15495. "cursellposition": {
  15496. "description": "期末卖头寸",
  15497. "type": "integer"
  15498. },
  15499. "curtdbuyposition": {
  15500. "description": "期末今日买头寸",
  15501. "type": "integer"
  15502. },
  15503. "curtdsellposition": {
  15504. "description": "期末今日卖头寸",
  15505. "type": "integer"
  15506. },
  15507. "curydbuyposition": {
  15508. "description": "期末上日买头寸",
  15509. "type": "integer"
  15510. },
  15511. "curydsellposition": {
  15512. "description": "期末上日卖头寸",
  15513. "type": "integer"
  15514. },
  15515. "decreaseqty": {
  15516. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15517. "type": "integer"
  15518. },
  15519. "fretdbuyposition": {
  15520. "description": "冻结今日买头寸",
  15521. "type": "integer"
  15522. },
  15523. "fretdsellposition": {
  15524. "description": "冻结今日卖头寸",
  15525. "type": "integer"
  15526. },
  15527. "freydbuyposition": {
  15528. "description": "冻结上日买头寸",
  15529. "type": "integer"
  15530. },
  15531. "freydsellposition": {
  15532. "description": "冻结上日卖头寸",
  15533. "type": "integer"
  15534. },
  15535. "goodscode": {
  15536. "description": "商品代码",
  15537. "type": "string"
  15538. },
  15539. "goodsid": {
  15540. "description": "商品id",
  15541. "type": "integer"
  15542. },
  15543. "goodsname": {
  15544. "description": "商品名称",
  15545. "type": "string"
  15546. },
  15547. "hedgeaccountcode": {
  15548. "description": "对冲账号",
  15549. "type": "string"
  15550. },
  15551. "hedgegoodsid": {
  15552. "description": "对冲合约ID",
  15553. "type": "integer"
  15554. },
  15555. "increaseqty": {
  15556. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15557. "type": "integer"
  15558. },
  15559. "marketid": {
  15560. "description": "市场ID",
  15561. "type": "integer"
  15562. },
  15563. "relateduserid": {
  15564. "description": "关联用户id",
  15565. "type": "integer"
  15566. },
  15567. "totalcurqty": {
  15568. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15569. "type": "integer"
  15570. },
  15571. "totalydqty": {
  15572. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15573. "type": "integer"
  15574. },
  15575. "tradedate": {
  15576. "description": "交易日(yyyyMMdd)",
  15577. "type": "string"
  15578. },
  15579. "ydbuyposition": {
  15580. "description": "期初买头寸",
  15581. "type": "integer"
  15582. },
  15583. "ydsellposition": {
  15584. "description": "期初卖头寸",
  15585. "type": "integer"
  15586. }
  15587. }
  15588. },
  15589. "models.ErmcpHedgePositionDetail": {
  15590. "type": "object",
  15591. "properties": {
  15592. "buyorsell": {
  15593. "description": "买卖方向 0-买 1-卖",
  15594. "type": "integer"
  15595. },
  15596. "channelbuildtype": {
  15597. "description": "开平方向 1-建仓 2-平仓",
  15598. "type": "integer"
  15599. },
  15600. "goodscode": {
  15601. "description": "商品代码",
  15602. "type": "string"
  15603. },
  15604. "goodsname": {
  15605. "description": "商品名称",
  15606. "type": "string"
  15607. },
  15608. "hedgegoodsid": {
  15609. "description": "商品id",
  15610. "type": "integer"
  15611. },
  15612. "tradeqty": {
  15613. "description": "数量(成交数量)",
  15614. "type": "integer"
  15615. },
  15616. "tradetime": {
  15617. "description": "时间(成交时间)",
  15618. "type": "string"
  15619. }
  15620. }
  15621. },
  15622. "models.ErmcpHisExposure": {
  15623. "type": "object",
  15624. "properties": {
  15625. "needhedgeexposoure": {
  15626. "description": "应套保敞口",
  15627. "type": "number"
  15628. },
  15629. "reckondate": {
  15630. "description": "日照时期(yyyyMMdd)",
  15631. "type": "string"
  15632. },
  15633. "totalexposure": {
  15634. "description": "总敞口",
  15635. "type": "number"
  15636. }
  15637. }
  15638. },
  15639. "models.ErmcpHisExposureS": {
  15640. "type": "object",
  15641. "properties": {
  15642. "data": {
  15643. "description": "历史敞口",
  15644. "type": "array",
  15645. "items": {
  15646. "$ref": "#/definitions/models.ErmcpHisExposure"
  15647. }
  15648. },
  15649. "enumdicname": {
  15650. "description": "单位名称",
  15651. "type": "string"
  15652. },
  15653. "middlegoodscode": {
  15654. "description": "套保品种代码",
  15655. "type": "string"
  15656. },
  15657. "middlegoodsid": {
  15658. "description": "套保品种ID",
  15659. "type": "integer"
  15660. },
  15661. "middlegoodsname": {
  15662. "description": "套保品种名称",
  15663. "type": "string"
  15664. }
  15665. }
  15666. },
  15667. "models.ErmcpLoginUser": {
  15668. "type": "object",
  15669. "properties": {
  15670. "accountname": {
  15671. "description": "用户名称",
  15672. "type": "string"
  15673. },
  15674. "clientroleid": {
  15675. "description": "角色id(usertype=2)",
  15676. "type": "integer"
  15677. },
  15678. "createtime": {
  15679. "description": "创建时间",
  15680. "type": "string"
  15681. },
  15682. "logincode": {
  15683. "description": "登录代码",
  15684. "type": "string"
  15685. },
  15686. "loginid": {
  15687. "description": "登录id(LOGINID)",
  15688. "type": "integer"
  15689. },
  15690. "loginstatus": {
  15691. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15692. "type": "integer"
  15693. },
  15694. "memberuserid": {
  15695. "description": "所属会员id",
  15696. "type": "integer"
  15697. },
  15698. "modifytime": {
  15699. "description": "修改时间",
  15700. "type": "string"
  15701. },
  15702. "rolename": {
  15703. "description": "角色名称",
  15704. "type": "string"
  15705. },
  15706. "rolestatus": {
  15707. "description": "角色状态 1-启用 2-停用",
  15708. "type": "integer"
  15709. },
  15710. "roletype": {
  15711. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15712. "type": "string"
  15713. },
  15714. "userid": {
  15715. "description": "用户id",
  15716. "type": "integer"
  15717. },
  15718. "usertype": {
  15719. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15720. "type": "integer"
  15721. }
  15722. }
  15723. },
  15724. "models.ErmcpLoginUserEx": {
  15725. "type": "object",
  15726. "properties": {
  15727. "roleid": {
  15728. "description": "角色id",
  15729. "type": "integer"
  15730. },
  15731. "rolename": {
  15732. "description": "角色名称",
  15733. "type": "string"
  15734. },
  15735. "userlist": {
  15736. "description": "用户列表",
  15737. "type": "array",
  15738. "items": {
  15739. "$ref": "#/definitions/models.ErmcpLoginUser"
  15740. }
  15741. },
  15742. "usertype": {
  15743. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15744. "type": "integer"
  15745. }
  15746. }
  15747. },
  15748. "models.ErmcpMiddleGoodsChangeLog": {
  15749. "type": "object",
  15750. "properties": {
  15751. "aftervalue": {
  15752. "description": "变更后",
  15753. "type": "number"
  15754. },
  15755. "applyid": {
  15756. "description": "操作人",
  15757. "type": "integer"
  15758. },
  15759. "applyname": {
  15760. "description": "操作人名称",
  15761. "type": "string"
  15762. },
  15763. "applysrc": {
  15764. "description": "操作来源 - 1:管理端 2:终端",
  15765. "type": "integer"
  15766. },
  15767. "beforevalue": {
  15768. "description": "变更前",
  15769. "type": "number"
  15770. },
  15771. "changelogtype": {
  15772. "description": "变更流水类型 - 1:套保比率变更",
  15773. "type": "integer"
  15774. },
  15775. "handlestatus": {
  15776. "description": "处理状态",
  15777. "type": "integer"
  15778. },
  15779. "logdatetime": {
  15780. "description": "流水日期",
  15781. "type": "string"
  15782. },
  15783. "logid": {
  15784. "description": "流水ID",
  15785. "type": "integer"
  15786. },
  15787. "logremark": {
  15788. "description": "流水备注",
  15789. "type": "string"
  15790. },
  15791. "middlegoodsid": {
  15792. "description": "套保品种ID",
  15793. "type": "integer"
  15794. },
  15795. "tradedate": {
  15796. "description": "交易日(yyyyMMdd)",
  15797. "type": "string"
  15798. },
  15799. "updatetime": {
  15800. "description": "更新时间",
  15801. "type": "string"
  15802. }
  15803. }
  15804. },
  15805. "models.ErmcpMiddleGoodsDetail": {
  15806. "type": "object",
  15807. "properties": {
  15808. "cvList": {
  15809. "description": "期货品种折算列表",
  15810. "type": "array",
  15811. "items": {
  15812. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15813. }
  15814. },
  15815. "mg": {
  15816. "description": "套保品种基本信息",
  15817. "type": "object",
  15818. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15819. },
  15820. "wrcList": {
  15821. "description": "现货品种列表(现货商品折算配置)",
  15822. "type": "array",
  15823. "items": {
  15824. "$ref": "#/definitions/models.WRSConverTDetail"
  15825. }
  15826. }
  15827. }
  15828. },
  15829. "models.ErmcpMiddleGoodsModel": {
  15830. "type": "object",
  15831. "properties": {
  15832. "areauserid": {
  15833. "description": "机构用户ID",
  15834. "type": "integer"
  15835. },
  15836. "createtime": {
  15837. "description": "修改时间",
  15838. "type": "string"
  15839. },
  15840. "enumdicname": {
  15841. "description": "单位名称",
  15842. "type": "string"
  15843. },
  15844. "evaluateratio": {
  15845. "description": "估价系数",
  15846. "type": "number"
  15847. },
  15848. "goodsgroupid": {
  15849. "description": "关联期货品种ID",
  15850. "type": "integer"
  15851. },
  15852. "isvalid": {
  15853. "description": "状态 0-无效(停用) 1-有效(正常)",
  15854. "type": "integer"
  15855. },
  15856. "middlegoodscode": {
  15857. "description": "套保品种代码",
  15858. "type": "string"
  15859. },
  15860. "middlegoodsid": {
  15861. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15862. "type": "integer"
  15863. },
  15864. "middlegoodsname": {
  15865. "description": "套保品种名称",
  15866. "type": "string"
  15867. },
  15868. "modifytime": {
  15869. "description": "修改时间",
  15870. "type": "string"
  15871. },
  15872. "needhedgeratio": {
  15873. "description": "套保比率",
  15874. "type": "number"
  15875. },
  15876. "qtydecimalplace": {
  15877. "description": "数量小数位",
  15878. "type": "integer"
  15879. },
  15880. "relatedgoodsid": {
  15881. "description": "关联交易商品ID",
  15882. "type": "integer"
  15883. },
  15884. "relatedgoodstype": {
  15885. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15886. "type": "integer"
  15887. },
  15888. "remark": {
  15889. "description": "备注",
  15890. "type": "string"
  15891. }
  15892. }
  15893. },
  15894. "models.ErmcpModel": {
  15895. "type": "object",
  15896. "properties": {
  15897. "accountname": {
  15898. "description": "账户名称",
  15899. "type": "string"
  15900. },
  15901. "attachment": {
  15902. "description": "附件",
  15903. "type": "string"
  15904. },
  15905. "audittime": {
  15906. "description": "审核时间",
  15907. "type": "string"
  15908. },
  15909. "brandname": {
  15910. "description": "品牌名称",
  15911. "type": "string"
  15912. },
  15913. "contracctstatus": {
  15914. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15915. "type": "integer"
  15916. },
  15917. "contractmargin": {
  15918. "description": "合同保证金",
  15919. "type": "number"
  15920. },
  15921. "contractno": {
  15922. "description": "合同编号",
  15923. "type": "string"
  15924. },
  15925. "contracttype": {
  15926. "description": "合同类型 1-采购, -1-销售",
  15927. "type": "integer"
  15928. },
  15929. "convertfactor": {
  15930. "description": "标仓系数",
  15931. "type": "number"
  15932. },
  15933. "createtime": {
  15934. "description": "创建时间",
  15935. "type": "string"
  15936. },
  15937. "daikaiamount": {
  15938. "description": "应收(开)票额",
  15939. "type": "number"
  15940. },
  15941. "deliveryenddate": {
  15942. "description": "交割结束日",
  15943. "type": "string"
  15944. },
  15945. "deliverygoodscode": {
  15946. "description": "现货品种代码",
  15947. "type": "string"
  15948. },
  15949. "deliverygoodsid": {
  15950. "description": "现货商品ID",
  15951. "type": "integer"
  15952. },
  15953. "deliverygoodsname": {
  15954. "description": "现货品种名称",
  15955. "type": "string"
  15956. },
  15957. "deliverystartdate": {
  15958. "description": "交割开始日",
  15959. "type": "string"
  15960. },
  15961. "enddate": {
  15962. "description": "点价结束日",
  15963. "type": "string"
  15964. },
  15965. "enumdicname": {
  15966. "description": "单位名称",
  15967. "type": "string"
  15968. },
  15969. "goodscode": {
  15970. "description": "点价商品代码",
  15971. "type": "string"
  15972. },
  15973. "goodsid": {
  15974. "description": "点价商品ID",
  15975. "type": "integer"
  15976. },
  15977. "goodsname": {
  15978. "description": "点价商品名称",
  15979. "type": "string"
  15980. },
  15981. "invoiceamount": {
  15982. "description": "已开票额",
  15983. "type": "number"
  15984. },
  15985. "loanamount": {
  15986. "description": "贷款总额=已定价额+调整金额",
  15987. "type": "number"
  15988. },
  15989. "margin": {
  15990. "description": "保证金",
  15991. "type": "number"
  15992. },
  15993. "modelname": {
  15994. "description": "型号名称",
  15995. "type": "string"
  15996. },
  15997. "payamount": {
  15998. "description": "已收付额(收款或付款)",
  15999. "type": "number"
  16000. },
  16001. "preinvoiceamount": {
  16002. "description": "预收(开)票额",
  16003. "type": "number"
  16004. },
  16005. "prepayamount": {
  16006. "description": "预收付额",
  16007. "type": "number"
  16008. },
  16009. "price": {
  16010. "description": "价格",
  16011. "type": "number"
  16012. },
  16013. "pricedamount": {
  16014. "description": "已定价额",
  16015. "type": "number"
  16016. },
  16017. "pricedavg": {
  16018. "description": "已点均价",
  16019. "type": "number"
  16020. },
  16021. "pricedqty": {
  16022. "description": "已定价量",
  16023. "type": "number"
  16024. },
  16025. "pricemove": {
  16026. "description": "升贴水",
  16027. "type": "number"
  16028. },
  16029. "pricetype": {
  16030. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16031. "type": "integer"
  16032. },
  16033. "producttype": {
  16034. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16035. "type": "integer"
  16036. },
  16037. "qty": {
  16038. "description": "合同量",
  16039. "type": "number"
  16040. },
  16041. "reckonadjustamount": {
  16042. "description": "调整金额",
  16043. "type": "number"
  16044. },
  16045. "reckonedamount": {
  16046. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16047. "type": "number"
  16048. },
  16049. "reckonotheramount": {
  16050. "description": "其它费用",
  16051. "type": "number"
  16052. },
  16053. "reckonrealqty": {
  16054. "description": "已确定量",
  16055. "type": "number"
  16056. },
  16057. "remark": {
  16058. "description": "备注",
  16059. "type": "string"
  16060. },
  16061. "spotcontractid": {
  16062. "description": "合同ID",
  16063. "type": "string"
  16064. },
  16065. "spotgoodsbrandid": {
  16066. "description": "现货品牌ID",
  16067. "type": "integer"
  16068. },
  16069. "spotgoodsdesc": {
  16070. "description": "商品型号(商品规格)",
  16071. "type": "string"
  16072. },
  16073. "spotgoodsmodelid": {
  16074. "description": "现货型号ID",
  16075. "type": "integer"
  16076. },
  16077. "startdate": {
  16078. "description": "点价开始日",
  16079. "type": "string"
  16080. },
  16081. "totalamount": {
  16082. "description": "合计总额",
  16083. "type": "number"
  16084. },
  16085. "unpayamount": {
  16086. "description": "应收付款额(应支付或应收款)",
  16087. "type": "number"
  16088. },
  16089. "unpricedqty": {
  16090. "description": "未定价量",
  16091. "type": "number"
  16092. },
  16093. "unsureqty": {
  16094. "description": "未确定量",
  16095. "type": "number"
  16096. },
  16097. "userid": {
  16098. "description": "用户ID",
  16099. "type": "integer"
  16100. },
  16101. "wrstandardcode": {
  16102. "description": "现货商品代码",
  16103. "type": "string"
  16104. },
  16105. "wrstandardid": {
  16106. "description": "现货商品ID",
  16107. "type": "integer"
  16108. },
  16109. "wrstandardname": {
  16110. "description": "现货商品名称",
  16111. "type": "string"
  16112. }
  16113. }
  16114. },
  16115. "models.ErmcpOPLogModel": {
  16116. "type": "object",
  16117. "properties": {
  16118. "aftervalue": {
  16119. "description": "变更后",
  16120. "type": "number"
  16121. },
  16122. "applyid": {
  16123. "description": "操作人ID",
  16124. "type": "string"
  16125. },
  16126. "applyname": {
  16127. "description": "操作人名称",
  16128. "type": "string"
  16129. },
  16130. "beforevalue": {
  16131. "description": "变更前",
  16132. "type": "number"
  16133. },
  16134. "biztype": {
  16135. "description": "业务类型 - 1:套保计划 2:现货合同",
  16136. "type": "integer"
  16137. },
  16138. "contracttype": {
  16139. "description": "现货合同类型 - 1:采购 -1:销售",
  16140. "type": "integer"
  16141. },
  16142. "logvalue": {
  16143. "description": "数值",
  16144. "type": "number"
  16145. },
  16146. "operatelogtype": {
  16147. "description": "操作流水类型",
  16148. "type": "integer"
  16149. },
  16150. "operatelogtypedesc": {
  16151. "description": "操作流水类型名称",
  16152. "type": "string"
  16153. },
  16154. "relatedid": {
  16155. "description": "现货合同ID\\套保计划",
  16156. "type": "string"
  16157. },
  16158. "updatetime": {
  16159. "description": "更新时间",
  16160. "type": "string"
  16161. }
  16162. }
  16163. },
  16164. "models.ErmcpPendingAudit": {
  16165. "type": "object",
  16166. "properties": {
  16167. "areastockqty": {
  16168. "description": "待审核数量: 库存申请",
  16169. "type": "integer"
  16170. },
  16171. "businessdjqty": {
  16172. "description": "待审核数量: 点价",
  16173. "type": "integer"
  16174. },
  16175. "businessfpqty": {
  16176. "description": "待审核数量: 发票",
  16177. "type": "integer"
  16178. },
  16179. "businessjsqty": {
  16180. "description": "待审核数量: 结算",
  16181. "type": "integer"
  16182. },
  16183. "businesskxqty": {
  16184. "description": "待审核数量: 款项",
  16185. "type": "integer"
  16186. },
  16187. "hedgeplanqty": {
  16188. "description": "待审核数量: 套保计划",
  16189. "type": "integer"
  16190. },
  16191. "spotcontractqty": {
  16192. "description": "待审核数量: 现货合同",
  16193. "type": "integer"
  16194. },
  16195. "userqty": {
  16196. "description": "待审核数量: 用户",
  16197. "type": "integer"
  16198. }
  16199. }
  16200. },
  16201. "models.ErmcpRealExposureModel": {
  16202. "type": "object",
  16203. "properties": {
  16204. "AreaUserID": {
  16205. "description": "所属机构",
  16206. "type": "integer"
  16207. },
  16208. "BuyFutureQty": {
  16209. "description": "买入期货数量",
  16210. "type": "number"
  16211. },
  16212. "BuyPlanQty": {
  16213. "description": "采购计划数量",
  16214. "type": "number"
  16215. },
  16216. "BuyPricedQty": {
  16217. "description": "采购合同已定价数量",
  16218. "type": "number"
  16219. },
  16220. "MiddleGoodsCode": {
  16221. "description": "套保品种代码",
  16222. "type": "string"
  16223. },
  16224. "MiddleGoodsHedgeRatio": {
  16225. "description": "应套保比例",
  16226. "type": "number"
  16227. },
  16228. "MiddleGoodsID": {
  16229. "description": "套保品种",
  16230. "type": "integer"
  16231. },
  16232. "MiddleGoodsName": {
  16233. "description": "套保品种名称",
  16234. "type": "string"
  16235. },
  16236. "NeedHedgeExposoure": {
  16237. "description": "应套保敞口",
  16238. "type": "number"
  16239. },
  16240. "NeedHedgeRatio": {
  16241. "description": "应套保敞口比例",
  16242. "type": "number"
  16243. },
  16244. "OriBuyFutureQty": {
  16245. "description": "期初买入期货数量",
  16246. "type": "number"
  16247. },
  16248. "OriBuyPlanQty": {
  16249. "description": "期初采购计划数量",
  16250. "type": "number"
  16251. },
  16252. "OriBuyPricedQty": {
  16253. "description": "期初采购合同已定价数量",
  16254. "type": "number"
  16255. },
  16256. "OriSellFutureQty": {
  16257. "description": "期初卖出期货数量",
  16258. "type": "number"
  16259. },
  16260. "OriSellPlanQty": {
  16261. "description": "期初销售计划数量",
  16262. "type": "number"
  16263. },
  16264. "OriSellPricedQty": {
  16265. "description": "期初销售合同已定价数量",
  16266. "type": "number"
  16267. },
  16268. "SellFutureQty": {
  16269. "description": "卖出期货数量",
  16270. "type": "number"
  16271. },
  16272. "SellPlanQty": {
  16273. "description": "销售计划数量",
  16274. "type": "number"
  16275. },
  16276. "SellPricedQty": {
  16277. "description": "销售合同已定价数量",
  16278. "type": "number"
  16279. },
  16280. "TotalExposure": {
  16281. "description": "总敞口",
  16282. "type": "number"
  16283. },
  16284. "TotalFutureQty": {
  16285. "description": "期货数量",
  16286. "type": "number"
  16287. },
  16288. "TotalHedgeRatio": {
  16289. "description": "敞口比例",
  16290. "type": "number"
  16291. },
  16292. "TotalNeedHedgeQty": {
  16293. "description": "期货应套保量",
  16294. "type": "number"
  16295. },
  16296. "TotalSpotQty": {
  16297. "description": "现货数量",
  16298. "type": "number"
  16299. },
  16300. "diffFutuQty": {
  16301. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16302. "type": "number"
  16303. },
  16304. "diffSpotQty": {
  16305. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16306. "type": "number"
  16307. },
  16308. "enumdicname": {
  16309. "description": "单位名称",
  16310. "type": "string"
  16311. },
  16312. "oriTotalFutuQty": {
  16313. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16314. "type": "number"
  16315. },
  16316. "oriTotalSpotQty": {
  16317. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16318. "type": "number"
  16319. }
  16320. }
  16321. },
  16322. "models.ErmcpRelatedGoods": {
  16323. "type": "object",
  16324. "properties": {
  16325. "deliverygoodsid": {
  16326. "description": "品种ID",
  16327. "type": "integer"
  16328. },
  16329. "goodscode": {
  16330. "description": "商品代码",
  16331. "type": "string"
  16332. },
  16333. "goodsid": {
  16334. "description": "商品id",
  16335. "type": "integer"
  16336. },
  16337. "goodsname": {
  16338. "description": "商品名称",
  16339. "type": "string"
  16340. }
  16341. }
  16342. },
  16343. "models.ErmcpReportAreaSpotPL": {
  16344. "type": "object",
  16345. "properties": {
  16346. "actualpl": {
  16347. "description": "实际损益",
  16348. "type": "number"
  16349. },
  16350. "areauserid": {
  16351. "description": "所属机构",
  16352. "type": "integer"
  16353. },
  16354. "brandname": {
  16355. "description": "品牌名称",
  16356. "type": "string"
  16357. },
  16358. "curamount": {
  16359. "description": "期末额",
  16360. "type": "number"
  16361. },
  16362. "curaverageprice": {
  16363. "description": "期末均价",
  16364. "type": "number"
  16365. },
  16366. "curbuyamount": {
  16367. "description": "期末采购总额(采购额)",
  16368. "type": "number"
  16369. },
  16370. "curbuyqty": {
  16371. "description": "期末采购总量",
  16372. "type": "number"
  16373. },
  16374. "curmarketvalue": {
  16375. "description": "参考市值",
  16376. "type": "number"
  16377. },
  16378. "curqty": {
  16379. "description": "期末量",
  16380. "type": "number"
  16381. },
  16382. "cursellamount": {
  16383. "description": "期末销售总额(销售额)",
  16384. "type": "number"
  16385. },
  16386. "cursellqty": {
  16387. "description": "期末销售总量",
  16388. "type": "number"
  16389. },
  16390. "curspotprice": {
  16391. "description": "参考市价",
  16392. "type": "number"
  16393. },
  16394. "enumdicname": {
  16395. "description": "现货商品单位名称",
  16396. "type": "string"
  16397. },
  16398. "floatpl": {
  16399. "description": "浮动损益",
  16400. "type": "number"
  16401. },
  16402. "gbenumdicname": {
  16403. "description": "品类单位名称",
  16404. "type": "string"
  16405. },
  16406. "gbunitid": {
  16407. "description": "品类单位id",
  16408. "type": "integer"
  16409. },
  16410. "modelname": {
  16411. "description": "品类名称",
  16412. "type": "string"
  16413. },
  16414. "oriamount": {
  16415. "description": "期初额",
  16416. "type": "number"
  16417. },
  16418. "oriaverageprice": {
  16419. "description": "期初均价",
  16420. "type": "number"
  16421. },
  16422. "oribuyamount": {
  16423. "description": "期初采购总额",
  16424. "type": "number"
  16425. },
  16426. "oribuyqty": {
  16427. "description": "期初采购总量",
  16428. "type": "number"
  16429. },
  16430. "oriqty": {
  16431. "description": "期初量",
  16432. "type": "number"
  16433. },
  16434. "orisellamount": {
  16435. "description": "期初销售总额",
  16436. "type": "number"
  16437. },
  16438. "orisellqty": {
  16439. "description": "期初销售总量",
  16440. "type": "number"
  16441. },
  16442. "spotgoodsbrandid": {
  16443. "description": "现货品牌ID",
  16444. "type": "integer"
  16445. },
  16446. "spotgoodsmodelid": {
  16447. "description": "现货品类ID",
  16448. "type": "integer"
  16449. },
  16450. "todaybuyamount": {
  16451. "description": "今日采购额",
  16452. "type": "number"
  16453. },
  16454. "todaybuyaverageprice": {
  16455. "description": "今日采购均价(采购均价)",
  16456. "type": "number"
  16457. },
  16458. "todaybuyqty": {
  16459. "description": "今日采购量(采购增量)",
  16460. "type": "number"
  16461. },
  16462. "todaysellamount": {
  16463. "description": "今日销售额",
  16464. "type": "number"
  16465. },
  16466. "todaysellaverageprice": {
  16467. "description": "今日销售均价(销售均价)",
  16468. "type": "number"
  16469. },
  16470. "todaysellqty": {
  16471. "description": "今日销售量(销售增量)",
  16472. "type": "number"
  16473. },
  16474. "unitid": {
  16475. "description": "现货商品单位id",
  16476. "type": "integer"
  16477. },
  16478. "updatetime": {
  16479. "description": "更新时间",
  16480. "type": "string"
  16481. },
  16482. "wrstandardcode": {
  16483. "description": "现货商品代码",
  16484. "type": "string"
  16485. },
  16486. "wrstandardid": {
  16487. "description": "现货商品ID",
  16488. "type": "integer"
  16489. },
  16490. "wrstandardname": {
  16491. "description": "现货商品名称",
  16492. "type": "string"
  16493. }
  16494. }
  16495. },
  16496. "models.ErmcpReportDayExposure": {
  16497. "type": "object",
  16498. "properties": {
  16499. "areauserid": {
  16500. "description": "所属机构",
  16501. "type": "integer"
  16502. },
  16503. "buyfutureqty": {
  16504. "description": "买入期货数量",
  16505. "type": "number"
  16506. },
  16507. "buyplanqty": {
  16508. "description": "采购计划数量",
  16509. "type": "number"
  16510. },
  16511. "buypricedqty": {
  16512. "description": "采购合同已定价数量",
  16513. "type": "number"
  16514. },
  16515. "diffFutuQty": {
  16516. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16517. "type": "number"
  16518. },
  16519. "diffSpotQty": {
  16520. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16521. "type": "number"
  16522. },
  16523. "enumdicname": {
  16524. "description": "单位名称",
  16525. "type": "string"
  16526. },
  16527. "middlegoodscode": {
  16528. "description": "套保品种代码",
  16529. "type": "string"
  16530. },
  16531. "middlegoodshedgeratio": {
  16532. "description": "应套保比例",
  16533. "type": "number"
  16534. },
  16535. "middlegoodsid": {
  16536. "description": "套保品种ID",
  16537. "type": "integer"
  16538. },
  16539. "middlegoodsname": {
  16540. "description": "套保品种名称",
  16541. "type": "string"
  16542. },
  16543. "needhedgeexposoure": {
  16544. "description": "应套保敞口",
  16545. "type": "number"
  16546. },
  16547. "needhedgeratio": {
  16548. "description": "应套保敞口比例",
  16549. "type": "number"
  16550. },
  16551. "oriTotalFutuQty": {
  16552. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16553. "type": "number"
  16554. },
  16555. "oriTotalSpotQty": {
  16556. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16557. "type": "number"
  16558. },
  16559. "oribuyfutureqty": {
  16560. "description": "期初买入期货数量",
  16561. "type": "number"
  16562. },
  16563. "oribuyplanqty": {
  16564. "description": "期初采购计划数量",
  16565. "type": "number"
  16566. },
  16567. "oribuypricedqty": {
  16568. "description": "期初采购合同已定价数量",
  16569. "type": "number"
  16570. },
  16571. "orisellfutureqty": {
  16572. "description": "期初卖出期货数量",
  16573. "type": "number"
  16574. },
  16575. "orisellplanqty": {
  16576. "description": "期初销售计划数量",
  16577. "type": "number"
  16578. },
  16579. "orisellpricedqty": {
  16580. "description": "期初销售合同已定价数量",
  16581. "type": "number"
  16582. },
  16583. "reckondate": {
  16584. "description": "日照时期(yyyyMMdd)",
  16585. "type": "string"
  16586. },
  16587. "sellfutureqty": {
  16588. "description": "卖出期货数量",
  16589. "type": "number"
  16590. },
  16591. "sellplanqty": {
  16592. "description": "销售计划数量",
  16593. "type": "number"
  16594. },
  16595. "sellpricedqty": {
  16596. "description": "销售合同已定价数量",
  16597. "type": "number"
  16598. },
  16599. "totalexposure": {
  16600. "description": "总敞口",
  16601. "type": "number"
  16602. },
  16603. "totalfutureqty": {
  16604. "description": "期货数量",
  16605. "type": "number"
  16606. },
  16607. "totalhedgeratio": {
  16608. "description": "敞口比例",
  16609. "type": "number"
  16610. },
  16611. "totalneedhedgeqty": {
  16612. "description": "期货应套保量",
  16613. "type": "number"
  16614. },
  16615. "totalspotqty": {
  16616. "description": "现货数量",
  16617. "type": "number"
  16618. }
  16619. }
  16620. },
  16621. "models.ErmcpReportDayFR": {
  16622. "type": "object",
  16623. "properties": {
  16624. "areauserid": {
  16625. "description": "所属机构",
  16626. "type": "integer"
  16627. },
  16628. "collectinvoiceamount": {
  16629. "description": "今日开票金额",
  16630. "type": "number"
  16631. },
  16632. "collectinvoicecount": {
  16633. "description": "今日开票笔数",
  16634. "type": "integer"
  16635. },
  16636. "collectmoneyamount": {
  16637. "description": "今日收款金额",
  16638. "type": "number"
  16639. },
  16640. "collectmoneycount": {
  16641. "description": "今日收款笔数",
  16642. "type": "integer"
  16643. },
  16644. "payinvoiceamount": {
  16645. "description": "今日收票金额",
  16646. "type": "number"
  16647. },
  16648. "payinvoicecount": {
  16649. "description": "今日收票笔数",
  16650. "type": "integer"
  16651. },
  16652. "paymoneyamount": {
  16653. "description": "今日付款金额",
  16654. "type": "number"
  16655. },
  16656. "paymoneycount": {
  16657. "description": "今日付款笔数",
  16658. "type": "integer"
  16659. },
  16660. "reckondate": {
  16661. "description": "日照时期(yyyyMMdd)",
  16662. "type": "string"
  16663. },
  16664. "updatetime": {
  16665. "description": "更新时间",
  16666. "type": "string"
  16667. }
  16668. }
  16669. },
  16670. "models.ErmcpReportDaySpot": {
  16671. "type": "object",
  16672. "properties": {
  16673. "areauserid": {
  16674. "description": "所属机构T",
  16675. "type": "integer"
  16676. },
  16677. "buyinqty": {
  16678. "description": "采购入库量",
  16679. "type": "number"
  16680. },
  16681. "enumdicname": {
  16682. "description": "现货商品单位名称",
  16683. "type": "string"
  16684. },
  16685. "reckondate": {
  16686. "description": "日照时期(yyyyMMdd)",
  16687. "type": "string"
  16688. },
  16689. "selloutqty": {
  16690. "description": "销售出库量",
  16691. "type": "number"
  16692. },
  16693. "todaybuyreckonqty": {
  16694. "description": "采购确定量",
  16695. "type": "number"
  16696. },
  16697. "todaysellreckonqty": {
  16698. "description": "销售确定量",
  16699. "type": "number"
  16700. },
  16701. "totalbuypricedqty": {
  16702. "description": "采购定价量 = 期末 - 期初",
  16703. "type": "number"
  16704. },
  16705. "totalsellpricedqty": {
  16706. "description": "销售定价量 = 期末 - 期初",
  16707. "type": "number"
  16708. },
  16709. "wrstandardcode": {
  16710. "description": "现货商品代码",
  16711. "type": "string"
  16712. },
  16713. "wrstandardid": {
  16714. "description": "现货商品ID",
  16715. "type": "integer"
  16716. },
  16717. "wrstandardname": {
  16718. "description": "现货商品名称",
  16719. "type": "string"
  16720. }
  16721. }
  16722. },
  16723. "models.ErmcpReportMonSpot": {
  16724. "type": "object",
  16725. "properties": {
  16726. "areauserid": {
  16727. "description": "所属机构T",
  16728. "type": "integer"
  16729. },
  16730. "buyinqty": {
  16731. "description": "采购入库量",
  16732. "type": "number"
  16733. },
  16734. "cycletime": {
  16735. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16736. "type": "string"
  16737. },
  16738. "cycletype": {
  16739. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16740. "type": "integer"
  16741. },
  16742. "enumdicname": {
  16743. "description": "现货商品单位名称",
  16744. "type": "string"
  16745. },
  16746. "selloutqty": {
  16747. "description": "销售出库量",
  16748. "type": "number"
  16749. },
  16750. "todaybuyreckonqty": {
  16751. "description": "采购确定量",
  16752. "type": "number"
  16753. },
  16754. "todaysellreckonqty": {
  16755. "description": "销售确定量",
  16756. "type": "number"
  16757. },
  16758. "totalbuypricedqty": {
  16759. "description": "采购定价量 = 期末 - 期初",
  16760. "type": "number"
  16761. },
  16762. "totalsellpricedqty": {
  16763. "description": "销售定价量 = 期末 - 期初",
  16764. "type": "number"
  16765. },
  16766. "wrstandardcode": {
  16767. "description": "现货商品代码",
  16768. "type": "string"
  16769. },
  16770. "wrstandardid": {
  16771. "description": "现货商品ID",
  16772. "type": "integer"
  16773. },
  16774. "wrstandardname": {
  16775. "description": "现货商品名称",
  16776. "type": "string"
  16777. }
  16778. }
  16779. },
  16780. "models.ErmcpReportMonthFR": {
  16781. "type": "object",
  16782. "properties": {
  16783. "areauserid": {
  16784. "description": "所属机构【原值】",
  16785. "type": "integer"
  16786. },
  16787. "collectinvoiceamount": {
  16788. "description": "今日开票金额【汇总】",
  16789. "type": "number"
  16790. },
  16791. "collectinvoicecount": {
  16792. "description": "今日开票笔数【汇总】",
  16793. "type": "integer"
  16794. },
  16795. "collectmoneyamount": {
  16796. "description": "今日收款金额【汇总】",
  16797. "type": "number"
  16798. },
  16799. "collectmoneycount": {
  16800. "description": "今日收款笔数 【汇总】",
  16801. "type": "integer"
  16802. },
  16803. "cycletime": {
  16804. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16805. "type": "string"
  16806. },
  16807. "cycletype": {
  16808. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16809. "type": "integer"
  16810. },
  16811. "dayFr": {
  16812. "description": "日报表明细",
  16813. "type": "array",
  16814. "items": {
  16815. "$ref": "#/definitions/models.ErmcpReportDayFR"
  16816. }
  16817. },
  16818. "payinvoiceamount": {
  16819. "description": "今日收票金额【汇总】",
  16820. "type": "number"
  16821. },
  16822. "payinvoicecount": {
  16823. "description": "今日收票笔数【汇总】",
  16824. "type": "integer"
  16825. },
  16826. "paymoneyamount": {
  16827. "description": "今日付款金额【汇总】",
  16828. "type": "number"
  16829. },
  16830. "paymoneycount": {
  16831. "description": "今日付款笔数【汇总】",
  16832. "type": "integer"
  16833. },
  16834. "updatetime": {
  16835. "description": "更新时间",
  16836. "type": "string"
  16837. }
  16838. }
  16839. },
  16840. "models.ErmcpReportOPLog": {
  16841. "type": "object",
  16842. "properties": {
  16843. "applyid": {
  16844. "description": "操作人",
  16845. "type": "integer"
  16846. },
  16847. "applyname": {
  16848. "description": "操作人名称",
  16849. "type": "string"
  16850. },
  16851. "biztype": {
  16852. "description": "业务类型 - 1:套保计划 2:现货合同",
  16853. "type": "integer"
  16854. },
  16855. "brandname": {
  16856. "description": "品牌名称",
  16857. "type": "string"
  16858. },
  16859. "contracttype": {
  16860. "description": "现货合同类型 - 1:采购 -1:销售",
  16861. "type": "integer"
  16862. },
  16863. "enumdicName": {
  16864. "description": "单位名称",
  16865. "type": "string"
  16866. },
  16867. "logdatetime": {
  16868. "description": "流水日期(时间)",
  16869. "type": "string"
  16870. },
  16871. "logid": {
  16872. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  16873. "type": "string"
  16874. },
  16875. "logtypename": {
  16876. "description": "合同类型(名称)",
  16877. "type": "string"
  16878. },
  16879. "logvalue": {
  16880. "description": "数值",
  16881. "type": "string"
  16882. },
  16883. "modelname": {
  16884. "description": "型号名称",
  16885. "type": "string"
  16886. },
  16887. "operatelogtype": {
  16888. "description": "操作流水类型 -",
  16889. "type": "integer"
  16890. },
  16891. "optypename": {
  16892. "description": "流水类型名称",
  16893. "type": "string"
  16894. },
  16895. "relatedid": {
  16896. "description": "现货合同ID\\套保计划",
  16897. "type": "string"
  16898. },
  16899. "relatedno": {
  16900. "description": "合同编号",
  16901. "type": "string"
  16902. },
  16903. "tradedate": {
  16904. "description": "交易日(yyyyMMdd)",
  16905. "type": "string"
  16906. },
  16907. "userid": {
  16908. "description": "机构ID",
  16909. "type": "integer"
  16910. },
  16911. "wrstandardcode": {
  16912. "description": "现货商品代码",
  16913. "type": "string"
  16914. },
  16915. "wrstandardid": {
  16916. "description": "现货商品ID",
  16917. "type": "integer"
  16918. },
  16919. "wrstandardname": {
  16920. "description": "现货商品名称",
  16921. "type": "string"
  16922. }
  16923. }
  16924. },
  16925. "models.ErmcpRole": {
  16926. "type": "object",
  16927. "properties": {
  16928. "areauserid": {
  16929. "description": "所属机构",
  16930. "type": "integer"
  16931. },
  16932. "autoid": {
  16933. "description": "角色ID(自增ID)",
  16934. "type": "integer"
  16935. },
  16936. "modifierid": {
  16937. "description": "修改人(创建人)",
  16938. "type": "integer"
  16939. },
  16940. "modifiername": {
  16941. "description": "修改人名称",
  16942. "type": "string"
  16943. },
  16944. "modifytime": {
  16945. "description": "修改时间(创建时间)",
  16946. "type": "string"
  16947. },
  16948. "rolename": {
  16949. "description": "角色名称",
  16950. "type": "string"
  16951. },
  16952. "rolestatus": {
  16953. "description": "角色状态 - 1:启用 2:停用",
  16954. "type": "integer"
  16955. },
  16956. "roletype": {
  16957. "description": "角色类型 - 1- 管理端 2- 交易端",
  16958. "type": "integer"
  16959. }
  16960. }
  16961. },
  16962. "models.ErmcpRoleMenu": {
  16963. "type": "object",
  16964. "properties": {
  16965. "iconame": {
  16966. "description": "菜单图标",
  16967. "type": "string"
  16968. },
  16969. "menutype": {
  16970. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16971. "type": "integer"
  16972. },
  16973. "parentcode": {
  16974. "description": "上级资源代码",
  16975. "type": "string"
  16976. },
  16977. "remark": {
  16978. "description": "菜单备注",
  16979. "type": "string"
  16980. },
  16981. "resourcecode": {
  16982. "description": "菜单代码",
  16983. "type": "string"
  16984. },
  16985. "resourcelevel": {
  16986. "description": "级别",
  16987. "type": "integer"
  16988. },
  16989. "resourcename": {
  16990. "description": "菜单名称",
  16991. "type": "string"
  16992. },
  16993. "roleid": {
  16994. "description": "角色id",
  16995. "type": "integer"
  16996. },
  16997. "sort": {
  16998. "description": "排序",
  16999. "type": "integer"
  17000. },
  17001. "url": {
  17002. "description": "URL",
  17003. "type": "string"
  17004. },
  17005. "userid": {
  17006. "description": "用户id",
  17007. "type": "integer"
  17008. }
  17009. }
  17010. },
  17011. "models.ErmcpRoleMenuEx": {
  17012. "type": "object",
  17013. "properties": {
  17014. "menu": {
  17015. "description": "父级菜单",
  17016. "type": "object",
  17017. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17018. },
  17019. "subMenu": {
  17020. "description": "子级菜单",
  17021. "type": "array",
  17022. "items": {
  17023. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17024. }
  17025. }
  17026. }
  17027. },
  17028. "models.ErmcpSpotContractModel": {
  17029. "type": "object",
  17030. "properties": {
  17031. "amount": {
  17032. "description": "金额 [1:一口价、3:暂定价]",
  17033. "type": "number"
  17034. },
  17035. "attachment": {
  17036. "description": "附件",
  17037. "type": "string"
  17038. },
  17039. "auditremark": {
  17040. "description": "审核意见",
  17041. "type": "string"
  17042. },
  17043. "audittime": {
  17044. "description": "审核时间",
  17045. "type": "string"
  17046. },
  17047. "brandname": {
  17048. "description": "品牌名称",
  17049. "type": "string"
  17050. },
  17051. "buyuserid": {
  17052. "description": "采购方ID",
  17053. "type": "integer"
  17054. },
  17055. "buyusername": {
  17056. "description": "采购方名称",
  17057. "type": "string"
  17058. },
  17059. "contracctstatus": {
  17060. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17061. "type": "integer"
  17062. },
  17063. "contractmargin": {
  17064. "description": "合同保证金",
  17065. "type": "number"
  17066. },
  17067. "contractno": {
  17068. "description": "现货合同编号",
  17069. "type": "string"
  17070. },
  17071. "contracttype": {
  17072. "description": "现货合同类型 - 1:采购 -1:销售",
  17073. "type": "integer"
  17074. },
  17075. "convertfactor": {
  17076. "description": "标仓系数",
  17077. "type": "number"
  17078. },
  17079. "createtime": {
  17080. "description": "创建时间",
  17081. "type": "string"
  17082. },
  17083. "deliveryenddate": {
  17084. "description": "交收期(结束)",
  17085. "type": "string"
  17086. },
  17087. "deliverygoodscode": {
  17088. "description": "现货品种代码",
  17089. "type": "string"
  17090. },
  17091. "deliverygoodsid": {
  17092. "description": "现货品种ID",
  17093. "type": "integer"
  17094. },
  17095. "deliverygoodsname": {
  17096. "description": "现货品种名称",
  17097. "type": "string"
  17098. },
  17099. "deliverystartdate": {
  17100. "description": "交收期(开始)",
  17101. "type": "string"
  17102. },
  17103. "enddate": {
  17104. "description": "点价结束日期 [2:点价 3:暂定价]",
  17105. "type": "string"
  17106. },
  17107. "enumdicname": {
  17108. "description": "单位名称",
  17109. "type": "string"
  17110. },
  17111. "goodscode": {
  17112. "description": "点价合约代码",
  17113. "type": "string"
  17114. },
  17115. "goodsid": {
  17116. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17117. "type": "integer"
  17118. },
  17119. "goodsname": {
  17120. "description": "点价商品名称",
  17121. "type": "string"
  17122. },
  17123. "margin": {
  17124. "description": "当前保证金",
  17125. "type": "number"
  17126. },
  17127. "modelname": {
  17128. "description": "型号名称",
  17129. "type": "string"
  17130. },
  17131. "price": {
  17132. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17133. "type": "number"
  17134. },
  17135. "pricemove": {
  17136. "description": "升贴水 [2:点价 3:暂定价]",
  17137. "type": "number"
  17138. },
  17139. "pricetype": {
  17140. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17141. "type": "integer"
  17142. },
  17143. "producttype": {
  17144. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17145. "type": "integer"
  17146. },
  17147. "qty": {
  17148. "description": "数量",
  17149. "type": "number"
  17150. },
  17151. "remark": {
  17152. "description": "备注",
  17153. "type": "string"
  17154. },
  17155. "selluserid": {
  17156. "description": "销售方ID",
  17157. "type": "integer"
  17158. },
  17159. "sellusername": {
  17160. "description": "销售方名称",
  17161. "type": "string"
  17162. },
  17163. "spotcontractid": {
  17164. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17165. "type": "string"
  17166. },
  17167. "spotgoodsbrandid": {
  17168. "description": "现货品牌ID",
  17169. "type": "integer"
  17170. },
  17171. "spotgoodsdesc": {
  17172. "description": "商品型号",
  17173. "type": "string"
  17174. },
  17175. "spotgoodsmodelid": {
  17176. "description": "现货型号ID",
  17177. "type": "integer"
  17178. },
  17179. "startdate": {
  17180. "description": "点价开始日期 [2:点价 3:暂定价]",
  17181. "type": "string"
  17182. },
  17183. "updatetime": {
  17184. "description": "更新时间",
  17185. "type": "string"
  17186. },
  17187. "userid": {
  17188. "description": "机构ID",
  17189. "type": "integer"
  17190. },
  17191. "wrstandardcode": {
  17192. "description": "现货商品代码",
  17193. "type": "string"
  17194. },
  17195. "wrstandardid": {
  17196. "description": "现货商品ID",
  17197. "type": "integer"
  17198. },
  17199. "wrstandardname": {
  17200. "description": "现货商品名称",
  17201. "type": "string"
  17202. }
  17203. }
  17204. },
  17205. "models.ErmcpSpotGoodsPrice": {
  17206. "type": "object",
  17207. "properties": {
  17208. "areauserid": {
  17209. "description": "所属机构id",
  17210. "type": "integer"
  17211. },
  17212. "brandname": {
  17213. "description": "品牌名称",
  17214. "type": "string"
  17215. },
  17216. "currencyid": {
  17217. "description": "报价货币ID",
  17218. "type": "integer"
  17219. },
  17220. "enumdicname": {
  17221. "description": "现货商品单位名称",
  17222. "type": "string"
  17223. },
  17224. "gbenumdicname": {
  17225. "description": "品类单位名称",
  17226. "type": "string"
  17227. },
  17228. "gmunitid": {
  17229. "description": "品类单位id",
  17230. "type": "integer"
  17231. },
  17232. "isvalid": {
  17233. "description": "是否有效 - 0:无效 1:有效",
  17234. "type": "integer"
  17235. },
  17236. "modelname": {
  17237. "description": "品类名称",
  17238. "type": "string"
  17239. },
  17240. "operateid": {
  17241. "description": "最后操作人",
  17242. "type": "integer"
  17243. },
  17244. "operatesrc": {
  17245. "description": "最后操作来源 - 1:管理端 2:终端",
  17246. "type": "integer"
  17247. },
  17248. "operatetime": {
  17249. "description": "最后操作时间",
  17250. "type": "string"
  17251. },
  17252. "operatorname": {
  17253. "description": "操作人名称",
  17254. "type": "string"
  17255. },
  17256. "spotgoodsbrandid": {
  17257. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17258. "type": "integer"
  17259. },
  17260. "spotgoodsmodelid": {
  17261. "description": "现货品类ID(通用则为0)",
  17262. "type": "integer"
  17263. },
  17264. "spotgoodsprice": {
  17265. "description": "现货价格",
  17266. "type": "number"
  17267. },
  17268. "tradedate": {
  17269. "description": "交易日(yyyyMMdd)",
  17270. "type": "string"
  17271. },
  17272. "unitid": {
  17273. "description": "现货商品单位id",
  17274. "type": "integer"
  17275. },
  17276. "wrstandardcode": {
  17277. "description": "现货商品代码",
  17278. "type": "string"
  17279. },
  17280. "wrstandardid": {
  17281. "description": "现货商品ID",
  17282. "type": "integer"
  17283. },
  17284. "wrstandardname": {
  17285. "description": "现货商品名称",
  17286. "type": "string"
  17287. }
  17288. }
  17289. },
  17290. "models.ErmcpSpotGoodsPriceLog": {
  17291. "type": "object",
  17292. "properties": {
  17293. "areauserid": {
  17294. "description": "所属机构id",
  17295. "type": "integer"
  17296. },
  17297. "brandname": {
  17298. "description": "品牌名称",
  17299. "type": "string"
  17300. },
  17301. "currencyid": {
  17302. "description": "报价货币ID",
  17303. "type": "integer"
  17304. },
  17305. "enumdicname": {
  17306. "description": "现货商品单位名称",
  17307. "type": "string"
  17308. },
  17309. "gbenumdicname": {
  17310. "description": "品类单位名称",
  17311. "type": "string"
  17312. },
  17313. "gmunitid": {
  17314. "description": "品类单位id",
  17315. "type": "integer"
  17316. },
  17317. "logid": {
  17318. "description": "日志id",
  17319. "type": "integer"
  17320. },
  17321. "modelname": {
  17322. "description": "品类名称",
  17323. "type": "string"
  17324. },
  17325. "operateid": {
  17326. "description": "最后操作人",
  17327. "type": "integer"
  17328. },
  17329. "operatesrc": {
  17330. "description": "最后操作来源 - 1:管理端 2:终端",
  17331. "type": "integer"
  17332. },
  17333. "operatetime": {
  17334. "description": "最后操作时间",
  17335. "type": "string"
  17336. },
  17337. "operatorname": {
  17338. "description": "操作人名称",
  17339. "type": "string"
  17340. },
  17341. "spotgoodsbrandid": {
  17342. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17343. "type": "integer"
  17344. },
  17345. "spotgoodsmodelid": {
  17346. "description": "现货品类ID(通用则为0)",
  17347. "type": "integer"
  17348. },
  17349. "spotgoodsprice": {
  17350. "description": "现货价格",
  17351. "type": "number"
  17352. },
  17353. "tradedate": {
  17354. "description": "交易日(yyyyMMdd)",
  17355. "type": "string"
  17356. },
  17357. "unitid": {
  17358. "description": "现货商品单位id",
  17359. "type": "integer"
  17360. },
  17361. "wrstandardcode": {
  17362. "description": "现货商品代码",
  17363. "type": "string"
  17364. },
  17365. "wrstandardid": {
  17366. "description": "现货商品ID",
  17367. "type": "integer"
  17368. },
  17369. "wrstandardname": {
  17370. "description": "现货商品名称",
  17371. "type": "string"
  17372. }
  17373. }
  17374. },
  17375. "models.ErmcpTaAccount": {
  17376. "type": "object",
  17377. "properties": {
  17378. "accountid": {
  17379. "description": "账户id",
  17380. "type": "integer"
  17381. },
  17382. "accountname": {
  17383. "description": "账户名称",
  17384. "type": "string"
  17385. },
  17386. "currencyid": {
  17387. "description": "币种id",
  17388. "type": "integer"
  17389. },
  17390. "ismain": {
  17391. "description": "是否主账户 0-否 1-是",
  17392. "type": "integer"
  17393. },
  17394. "parentaccountid": {
  17395. "description": "父账户id",
  17396. "type": "integer"
  17397. },
  17398. "relateduserid": {
  17399. "description": "关联userid",
  17400. "type": "integer"
  17401. },
  17402. "tradestatus": {
  17403. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17404. "type": "integer"
  17405. }
  17406. }
  17407. },
  17408. "models.ErmcpTaAccountEx": {
  17409. "type": "object",
  17410. "properties": {
  17411. "mainAcc": {
  17412. "description": "主账号",
  17413. "type": "object",
  17414. "$ref": "#/definitions/models.ErmcpTaAccount"
  17415. },
  17416. "subacclist": {
  17417. "description": "子账号列表",
  17418. "type": "array",
  17419. "items": {
  17420. "$ref": "#/definitions/models.ErmcpTaAccount"
  17421. }
  17422. }
  17423. }
  17424. },
  17425. "models.ErmcpTaAccountInfo": {
  17426. "type": "object",
  17427. "properties": {
  17428. "accountid": {
  17429. "description": "资金账户ID",
  17430. "type": "integer"
  17431. },
  17432. "accountname": {
  17433. "description": "账户名称",
  17434. "type": "string"
  17435. },
  17436. "balance": {
  17437. "description": "期初余额",
  17438. "type": "number"
  17439. },
  17440. "capitalbalance": {
  17441. "description": "本金余额[外部子账户实际出入金余额]",
  17442. "type": "number"
  17443. },
  17444. "closepl": {
  17445. "description": "今日平仓盈亏",
  17446. "type": "number"
  17447. },
  17448. "creditdecrease": {
  17449. "description": "今日授信减少",
  17450. "type": "number"
  17451. },
  17452. "creditincrease": {
  17453. "description": "今日授信增加",
  17454. "type": "number"
  17455. },
  17456. "curdebt": {
  17457. "description": "期末欠款",
  17458. "type": "number"
  17459. },
  17460. "currencyid": {
  17461. "description": "货币ID",
  17462. "type": "integer"
  17463. },
  17464. "currentbalance": {
  17465. "description": "期末余额",
  17466. "type": "number"
  17467. },
  17468. "freezecharge": {
  17469. "description": "手续费冻结",
  17470. "type": "number"
  17471. },
  17472. "freezemargin": {
  17473. "description": "冻结保证金",
  17474. "type": "number"
  17475. },
  17476. "fromaccountid": {
  17477. "description": "所属上级账户",
  17478. "type": "integer"
  17479. },
  17480. "inamount": {
  17481. "description": "今日入金金额(包括三方入金)",
  17482. "type": "number"
  17483. },
  17484. "ismain": {
  17485. "description": "是否母账号 0:不是母账户 1:是母账户",
  17486. "type": "integer"
  17487. },
  17488. "mortgagecredit": {
  17489. "description": "授信金额",
  17490. "type": "number"
  17491. },
  17492. "oridebt": {
  17493. "description": "期初欠款",
  17494. "type": "number"
  17495. },
  17496. "orifreezecharge": {
  17497. "description": "期初手续费冻结",
  17498. "type": "number"
  17499. },
  17500. "orifreezemargin": {
  17501. "description": "期初冻结保证金",
  17502. "type": "number"
  17503. },
  17504. "orimortgagecredit": {
  17505. "description": "期初授信金额",
  17506. "type": "number"
  17507. },
  17508. "oriothercredit": {
  17509. "description": "期初其它授信金额",
  17510. "type": "number"
  17511. },
  17512. "oriotherfreezemargin": {
  17513. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17514. "type": "number"
  17515. },
  17516. "orioutamountfreeze": {
  17517. "description": "期初出金冻结",
  17518. "type": "number"
  17519. },
  17520. "oriusedmargin": {
  17521. "description": "期初占用保证金",
  17522. "type": "number"
  17523. },
  17524. "othercredit": {
  17525. "description": "其它授信金额",
  17526. "type": "number"
  17527. },
  17528. "othercreditdecrease": {
  17529. "description": "今日其它授信减少",
  17530. "type": "number"
  17531. },
  17532. "othercreditincrease": {
  17533. "description": "今日其它授信增加",
  17534. "type": "number"
  17535. },
  17536. "otherfreezemargin": {
  17537. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17538. "type": "number"
  17539. },
  17540. "outamount": {
  17541. "description": "今日出金金额(包括三方出金)",
  17542. "type": "number"
  17543. },
  17544. "outamountfreeze": {
  17545. "description": "出金冻结",
  17546. "type": "number"
  17547. },
  17548. "outthreshold": {
  17549. "description": "出金阈值",
  17550. "type": "number"
  17551. },
  17552. "parentaccountid": {
  17553. "description": "所属根账号",
  17554. "type": "integer"
  17555. },
  17556. "paycharge": {
  17557. "description": "今日手续费支出",
  17558. "type": "number"
  17559. },
  17560. "relateduserid": {
  17561. "description": "关联用户",
  17562. "type": "integer"
  17563. },
  17564. "signstatus": {
  17565. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17566. "type": "integer"
  17567. },
  17568. "sublevelpath": {
  17569. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17570. "type": "string"
  17571. },
  17572. "taaccounttype": {
  17573. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17574. "type": "integer"
  17575. },
  17576. "thirdinamount": {
  17577. "description": "今日三方入金",
  17578. "type": "number"
  17579. },
  17580. "thirdoutamount": {
  17581. "description": "今日三方出金",
  17582. "type": "number"
  17583. },
  17584. "tradestatus": {
  17585. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17586. "type": "integer"
  17587. },
  17588. "transferamount": {
  17589. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17590. "type": "number"
  17591. },
  17592. "usedmargin": {
  17593. "description": "占用保证金",
  17594. "type": "number"
  17595. },
  17596. "userid": {
  17597. "description": "用户ID",
  17598. "type": "integer"
  17599. }
  17600. }
  17601. },
  17602. "models.ErmcpTradeConfigTMP": {
  17603. "type": "object",
  17604. "properties": {
  17605. "areauserid": {
  17606. "description": "所属机构",
  17607. "type": "integer"
  17608. },
  17609. "basiccurrencyid": {
  17610. "description": "基本币种ID[汇率] - 目标币种",
  17611. "type": "integer"
  17612. },
  17613. "mainaccountid": {
  17614. "description": "主账户ID",
  17615. "type": "integer"
  17616. },
  17617. "modifierid": {
  17618. "description": "修改人",
  17619. "type": "integer"
  17620. },
  17621. "remark": {
  17622. "description": "备注",
  17623. "type": "string"
  17624. },
  17625. "tradeconfigtmpid": {
  17626. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17627. "type": "integer"
  17628. },
  17629. "tradeconfigtmpname": {
  17630. "description": "交易配置模板名称",
  17631. "type": "string"
  17632. },
  17633. "tradeconfigtmptype": {
  17634. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17635. "type": "integer"
  17636. },
  17637. "updatetime": {
  17638. "description": "更新时间",
  17639. "type": "string"
  17640. }
  17641. }
  17642. },
  17643. "models.ErmcpUserModel": {
  17644. "type": "object",
  17645. "properties": {
  17646. "address": {
  17647. "description": "通讯地址",
  17648. "type": "string"
  17649. },
  17650. "attachment1": {
  17651. "description": "附件1",
  17652. "type": "string"
  17653. },
  17654. "audittime": {
  17655. "description": "审核时间",
  17656. "type": "string"
  17657. },
  17658. "cardfrontphotourl": {
  17659. "description": "证件正面图片地址",
  17660. "type": "string"
  17661. },
  17662. "cardnum": {
  17663. "description": "证件号码",
  17664. "type": "string"
  17665. },
  17666. "cardtype": {
  17667. "description": "证件类型",
  17668. "type": "integer"
  17669. },
  17670. "cardtypename": {
  17671. "description": "证件类型名称",
  17672. "type": "string"
  17673. },
  17674. "cityid": {
  17675. "description": "市",
  17676. "type": "integer"
  17677. },
  17678. "countryid": {
  17679. "description": "国家",
  17680. "type": "integer"
  17681. },
  17682. "createtime": {
  17683. "description": "创建时间",
  17684. "type": "string"
  17685. },
  17686. "customername": {
  17687. "description": "企业名称",
  17688. "type": "string"
  17689. },
  17690. "districtid": {
  17691. "description": "区域",
  17692. "type": "integer"
  17693. },
  17694. "memberuserid": {
  17695. "description": "所属机构ID",
  17696. "type": "integer"
  17697. },
  17698. "mobile": {
  17699. "description": "手机号码",
  17700. "type": "string"
  17701. },
  17702. "modifytime": {
  17703. "description": "修改时间",
  17704. "type": "string"
  17705. },
  17706. "nickname": {
  17707. "description": "昵称",
  17708. "type": "string"
  17709. },
  17710. "provinceid": {
  17711. "description": "省",
  17712. "type": "integer"
  17713. },
  17714. "remark": {
  17715. "description": "备注",
  17716. "type": "string"
  17717. },
  17718. "status": {
  17719. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17720. "type": "integer"
  17721. },
  17722. "statusdesc": {
  17723. "description": "账户状态中文描述",
  17724. "type": "string"
  17725. },
  17726. "telphone": {
  17727. "description": "联系电话",
  17728. "type": "string"
  17729. },
  17730. "userid": {
  17731. "description": "用户ID",
  17732. "type": "integer"
  17733. },
  17734. "userinfotype": {
  17735. "description": "客户类型",
  17736. "type": "string"
  17737. }
  17738. }
  17739. },
  17740. "models.ErmcpWareHouseInfo": {
  17741. "type": "object",
  17742. "properties": {
  17743. "address": {
  17744. "description": "详细地址",
  17745. "type": "string"
  17746. },
  17747. "areauserid": {
  17748. "description": "所属机构",
  17749. "type": "integer"
  17750. },
  17751. "autoid": {
  17752. "description": "自增ID(仓库ID)",
  17753. "type": "integer"
  17754. },
  17755. "cityid": {
  17756. "description": "市",
  17757. "type": "integer"
  17758. },
  17759. "contactname": {
  17760. "description": "联系人",
  17761. "type": "string"
  17762. },
  17763. "contactnum": {
  17764. "description": "联系电话",
  17765. "type": "string"
  17766. },
  17767. "countryid": {
  17768. "description": "国家",
  17769. "type": "integer"
  17770. },
  17771. "createtime": {
  17772. "description": "创建时间",
  17773. "type": "string"
  17774. },
  17775. "districtid": {
  17776. "description": "区",
  17777. "type": "integer"
  17778. },
  17779. "hasvideo": {
  17780. "description": "是否有视频 - 0:无 1:有",
  17781. "type": "integer"
  17782. },
  17783. "provinceid": {
  17784. "description": "省",
  17785. "type": "integer"
  17786. },
  17787. "remark": {
  17788. "description": "审核备注",
  17789. "type": "string"
  17790. },
  17791. "videourl": {
  17792. "description": "视频地址",
  17793. "type": "string"
  17794. },
  17795. "warehousecode": {
  17796. "description": "仓库代码",
  17797. "type": "string"
  17798. },
  17799. "warehousename": {
  17800. "description": "仓库名称",
  17801. "type": "string"
  17802. },
  17803. "warehousestatus": {
  17804. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17805. "type": "integer"
  17806. },
  17807. "warehousetype": {
  17808. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17809. "type": "integer"
  17810. }
  17811. }
  17812. },
  17813. "models.ErmcpWrstandDetail": {
  17814. "type": "object",
  17815. "properties": {
  17816. "gbList": {
  17817. "description": "品牌列表",
  17818. "type": "array",
  17819. "items": {
  17820. "$ref": "#/definitions/models.GoodsBrand"
  17821. }
  17822. },
  17823. "goodsList": {
  17824. "description": "关联交易商品列表",
  17825. "type": "array",
  17826. "items": {
  17827. "$ref": "#/definitions/models.RelatedGoodsEx"
  17828. }
  17829. },
  17830. "gtList": {
  17831. "description": "型号列表",
  17832. "type": "array",
  17833. "items": {
  17834. "$ref": "#/definitions/models.GoodsTypeModel"
  17835. }
  17836. },
  17837. "wrd": {
  17838. "description": "基本信息",
  17839. "type": "object",
  17840. "$ref": "#/definitions/models.ErmcpWrstandard"
  17841. },
  17842. "wrsList": {
  17843. "description": "套保信息列表",
  17844. "type": "array",
  17845. "items": {
  17846. "$ref": "#/definitions/models.WRSConverTDetail"
  17847. }
  17848. }
  17849. }
  17850. },
  17851. "models.ErmcpWrstandard": {
  17852. "type": "object",
  17853. "properties": {
  17854. "areauserid": {
  17855. "description": "所属机构",
  17856. "type": "integer"
  17857. },
  17858. "createtime": {
  17859. "description": "创建时间",
  17860. "type": "string"
  17861. },
  17862. "creatorid": {
  17863. "description": "创建人",
  17864. "type": "integer"
  17865. },
  17866. "deliverygoodsid": {
  17867. "description": "品种ID",
  17868. "type": "integer"
  17869. },
  17870. "enumdicname": {
  17871. "description": "单位名称",
  17872. "type": "string"
  17873. },
  17874. "isvalid": {
  17875. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17876. "type": "integer"
  17877. },
  17878. "minivalue": {
  17879. "description": "最小变动值",
  17880. "type": "integer"
  17881. },
  17882. "minivaluedp": {
  17883. "description": "最小变动值小数位",
  17884. "type": "integer"
  17885. },
  17886. "realminivalue": {
  17887. "description": "实际最小变动值",
  17888. "type": "integer"
  17889. },
  17890. "realminivaluedp": {
  17891. "description": "实际最小变动值小数位",
  17892. "type": "integer"
  17893. },
  17894. "remark": {
  17895. "description": "备注",
  17896. "type": "string"
  17897. },
  17898. "unitid": {
  17899. "description": "单位ID",
  17900. "type": "integer"
  17901. },
  17902. "updatetime": {
  17903. "description": "更新时间",
  17904. "type": "string"
  17905. },
  17906. "wrstandardcode": {
  17907. "description": "现货商品代码",
  17908. "type": "string"
  17909. },
  17910. "wrstandardid": {
  17911. "description": "现货商品ID(SEQ_WRSTANDARD)",
  17912. "type": "integer"
  17913. },
  17914. "wrstandardname": {
  17915. "description": "现货商品名称",
  17916. "type": "string"
  17917. }
  17918. }
  17919. },
  17920. "models.Externalexchange": {
  17921. "type": "object",
  17922. "required": [
  17923. "autoid"
  17924. ],
  17925. "properties": {
  17926. "autoid": {
  17927. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17928. "type": "integer"
  17929. },
  17930. "exchangefullname": {
  17931. "description": "外部交易所全称",
  17932. "type": "string"
  17933. },
  17934. "exexchangecode": {
  17935. "description": "外部交易所代码",
  17936. "type": "string"
  17937. },
  17938. "exexchangename": {
  17939. "description": "外部交易所名称(简称)",
  17940. "type": "string"
  17941. },
  17942. "ismarketprice": {
  17943. "description": "是否支持市价 - 0:不支持 1:支持",
  17944. "type": "integer"
  17945. },
  17946. "quotegear": {
  17947. "description": "行情档位(1-10)",
  17948. "type": "integer"
  17949. },
  17950. "showbrokerflag": {
  17951. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17952. "type": "integer"
  17953. },
  17954. "updatetime": {
  17955. "description": "更新时间",
  17956. "type": "string"
  17957. }
  17958. }
  17959. },
  17960. "models.Funcmenulist": {
  17961. "type": "object",
  17962. "required": [
  17963. "resourcecode"
  17964. ],
  17965. "properties": {
  17966. "iconame": {
  17967. "description": "菜单图标",
  17968. "type": "string"
  17969. },
  17970. "menutype": {
  17971. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17972. "type": "integer"
  17973. },
  17974. "parentcode": {
  17975. "description": "上级资源代码",
  17976. "type": "string"
  17977. },
  17978. "remark": {
  17979. "description": "备注",
  17980. "type": "string"
  17981. },
  17982. "resourcecode": {
  17983. "description": "资源代码",
  17984. "type": "string"
  17985. },
  17986. "resourcelevel": {
  17987. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17988. "type": "integer"
  17989. },
  17990. "resourcename": {
  17991. "description": "资源名",
  17992. "type": "string"
  17993. },
  17994. "sort": {
  17995. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17996. "type": "integer"
  17997. },
  17998. "url": {
  17999. "description": "URL",
  18000. "type": "string"
  18001. }
  18002. }
  18003. },
  18004. "models.Goods": {
  18005. "type": "object",
  18006. "required": [
  18007. "goodscode",
  18008. "goodsid",
  18009. "goodsname",
  18010. "marketid"
  18011. ],
  18012. "properties": {
  18013. "agreeunit": {
  18014. "description": "合约单位",
  18015. "type": "number"
  18016. },
  18017. "auditaccountid": {
  18018. "description": "审核操作员账号",
  18019. "type": "integer"
  18020. },
  18021. "audittime": {
  18022. "description": "审核时间",
  18023. "type": "string"
  18024. },
  18025. "cancelaccountid": {
  18026. "description": "注销操作员账号",
  18027. "type": "integer"
  18028. },
  18029. "canceltime": {
  18030. "description": "注销时间",
  18031. "type": "string"
  18032. },
  18033. "closepricemode": {
  18034. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18035. "type": "integer"
  18036. },
  18037. "closepriceparam": {
  18038. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18039. "type": "number"
  18040. },
  18041. "createtime": {
  18042. "description": "创建时间",
  18043. "type": "string"
  18044. },
  18045. "creatorid": {
  18046. "description": "创建人",
  18047. "type": "integer"
  18048. },
  18049. "currencyid": {
  18050. "description": "报价货币ID",
  18051. "type": "integer"
  18052. },
  18053. "cutmode": {
  18054. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18055. "type": "integer"
  18056. },
  18057. "decimalplace": {
  18058. "description": "报价小数位",
  18059. "type": "integer"
  18060. },
  18061. "delistingdate": {
  18062. "description": "商品退市时间(状态:退市) -- 已作废",
  18063. "type": "string"
  18064. },
  18065. "delistingmode": {
  18066. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18067. "type": "integer"
  18068. },
  18069. "deliveryflag": {
  18070. "description": "交割标志 - 0:不可交割 1:可交割",
  18071. "type": "integer"
  18072. },
  18073. "forceclosemode": {
  18074. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18075. "type": "integer"
  18076. },
  18077. "forceclosevalue": {
  18078. "description": "定期强平参数 [收益权]",
  18079. "type": "integer"
  18080. },
  18081. "goodscode": {
  18082. "description": "商品代码(内部)",
  18083. "type": "string"
  18084. },
  18085. "goodscurrencyid": {
  18086. "description": "合约货币ID",
  18087. "type": "integer"
  18088. },
  18089. "goodsgroupid": {
  18090. "description": "所属商品组ID",
  18091. "type": "integer"
  18092. },
  18093. "goodsid": {
  18094. "description": "商品ID(自增ID SEQ_GOODS)",
  18095. "type": "integer"
  18096. },
  18097. "goodsname": {
  18098. "description": "商品名称",
  18099. "type": "string"
  18100. },
  18101. "goodsquotetype": {
  18102. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18103. "type": "integer"
  18104. },
  18105. "goodsstatus": {
  18106. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18107. "type": "integer"
  18108. },
  18109. "goodstradetype": {
  18110. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18111. "type": "integer"
  18112. },
  18113. "goodunitid": {
  18114. "description": "报价单位ID",
  18115. "type": "integer"
  18116. },
  18117. "hasquoter": {
  18118. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18119. "type": "integer"
  18120. },
  18121. "hqprotecttime": {
  18122. "description": "行情保护时间(秒)",
  18123. "type": "integer"
  18124. },
  18125. "innerdealmode": {
  18126. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18127. "type": "integer"
  18128. },
  18129. "isbuylimited": {
  18130. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18131. "type": "integer"
  18132. },
  18133. "lasttradedate": {
  18134. "description": "最后交易日期(状态:待退市)",
  18135. "type": "string"
  18136. },
  18137. "listingdate": {
  18138. "description": "交易开始日期",
  18139. "type": "string"
  18140. },
  18141. "marketid": {
  18142. "description": "所属市场ID",
  18143. "type": "integer"
  18144. },
  18145. "modifierid": {
  18146. "description": "修改人",
  18147. "type": "integer"
  18148. },
  18149. "modifystatus": {
  18150. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18151. "type": "integer"
  18152. },
  18153. "modifytime": {
  18154. "description": "修改时间",
  18155. "type": "string"
  18156. },
  18157. "outerdealmode": {
  18158. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18159. "type": "integer"
  18160. },
  18161. "outgoodscode": {
  18162. "description": "商品代码(外部)",
  18163. "type": "string"
  18164. },
  18165. "qtydecimalplace": {
  18166. "description": "成交量小数位",
  18167. "type": "integer"
  18168. },
  18169. "quotegear": {
  18170. "description": "行情档位(1-10)",
  18171. "type": "integer"
  18172. },
  18173. "quoteminunit": {
  18174. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18175. "type": "integer"
  18176. },
  18177. "quoteshowtype": {
  18178. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18179. "type": "integer"
  18180. },
  18181. "quoteshowtypeinterval": {
  18182. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18183. "type": "integer"
  18184. },
  18185. "remark": {
  18186. "description": "备注",
  18187. "type": "string"
  18188. }
  18189. }
  18190. },
  18191. "models.GoodsBrand": {
  18192. "type": "object",
  18193. "properties": {
  18194. "brandid": {
  18195. "description": "品牌ID",
  18196. "type": "integer"
  18197. },
  18198. "brandname": {
  18199. "description": "品牌名称",
  18200. "type": "string"
  18201. },
  18202. "isvalid": {
  18203. "description": "是否有效 - 0:无效 1:有效",
  18204. "type": "integer"
  18205. }
  18206. }
  18207. },
  18208. "models.GoodsIDAndName": {
  18209. "type": "object",
  18210. "required": [
  18211. "goodscode",
  18212. "goodsid",
  18213. "goodsname",
  18214. "marketid"
  18215. ],
  18216. "properties": {
  18217. "goodscode": {
  18218. "description": "商品代码(内部)",
  18219. "type": "string"
  18220. },
  18221. "goodsid": {
  18222. "description": "商品ID(自增ID SEQ_GOODS)",
  18223. "type": "integer"
  18224. },
  18225. "goodsname": {
  18226. "description": "商品名称",
  18227. "type": "string"
  18228. },
  18229. "marketid": {
  18230. "description": "所属市场ID",
  18231. "type": "integer"
  18232. }
  18233. }
  18234. },
  18235. "models.GoodsTypeModel": {
  18236. "type": "object",
  18237. "properties": {
  18238. "convertfactor": {
  18239. "description": "标仓系数",
  18240. "type": "number"
  18241. },
  18242. "modelid": {
  18243. "description": "型号ID",
  18244. "type": "integer"
  18245. },
  18246. "modelname": {
  18247. "description": "型号名称",
  18248. "type": "string"
  18249. },
  18250. "updatetime": {
  18251. "description": "更新时间",
  18252. "type": "string"
  18253. }
  18254. }
  18255. },
  18256. "models.Goodsgroup": {
  18257. "type": "object",
  18258. "required": [
  18259. "goodsgroupid",
  18260. "goodsgroupname",
  18261. "goodsgroupstatus",
  18262. "marketid"
  18263. ],
  18264. "properties": {
  18265. "agreeunit": {
  18266. "description": "合约单位",
  18267. "type": "number"
  18268. },
  18269. "canshort": {
  18270. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18271. "type": "integer"
  18272. },
  18273. "closepricemode": {
  18274. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18275. "type": "integer"
  18276. },
  18277. "closepriceparam": {
  18278. "description": "强平最新价浮动比例 - 方式为2时使用",
  18279. "type": "number"
  18280. },
  18281. "createtime": {
  18282. "description": "创建时间",
  18283. "type": "string"
  18284. },
  18285. "creatorid": {
  18286. "description": "创建人",
  18287. "type": "integer"
  18288. },
  18289. "currencyid": {
  18290. "description": "报价货币ID",
  18291. "type": "integer"
  18292. },
  18293. "decimalplace": {
  18294. "description": "报价小数位",
  18295. "type": "integer"
  18296. },
  18297. "exercisetype": {
  18298. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18299. "type": "integer"
  18300. },
  18301. "exexchangeid": {
  18302. "description": "外部交易所ID[通道交易]",
  18303. "type": "integer"
  18304. },
  18305. "goodsgroupid": {
  18306. "description": "商品组ID(自增ID)",
  18307. "type": "integer"
  18308. },
  18309. "goodsgroupname": {
  18310. "description": "商品组名称",
  18311. "type": "string"
  18312. },
  18313. "goodsgroupstatus": {
  18314. "description": "商品组状态 - 1:正常 2:注销",
  18315. "type": "integer"
  18316. },
  18317. "goodunitid": {
  18318. "description": "报价单位ID",
  18319. "type": "integer"
  18320. },
  18321. "innerdealmode": {
  18322. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18323. "type": "integer"
  18324. },
  18325. "isbuylimited": {
  18326. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18327. "type": "integer"
  18328. },
  18329. "marketid": {
  18330. "description": "所属市场ID",
  18331. "type": "integer"
  18332. },
  18333. "modifierid": {
  18334. "description": "修改人",
  18335. "type": "integer"
  18336. },
  18337. "modifytime": {
  18338. "description": "修改时间",
  18339. "type": "string"
  18340. },
  18341. "outerdealmode": {
  18342. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18343. "type": "integer"
  18344. },
  18345. "outergroupcode": {
  18346. "description": "外部商品组代码[通道交易]",
  18347. "type": "string"
  18348. },
  18349. "premiumdecimalplace": {
  18350. "description": "权利金小数位[场外期权]",
  18351. "type": "integer"
  18352. },
  18353. "premiumspreadalgorithm": {
  18354. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18355. "type": "integer"
  18356. },
  18357. "premiumspreadvalue": {
  18358. "description": "权利金点差值[场外期权]",
  18359. "type": "number"
  18360. },
  18361. "qtydecimalplace": {
  18362. "description": "成交量小数位",
  18363. "type": "integer"
  18364. },
  18365. "quotegear": {
  18366. "description": "行情档位(1-10)",
  18367. "type": "integer"
  18368. },
  18369. "quoteminunit": {
  18370. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18371. "type": "integer"
  18372. },
  18373. "quoterid": {
  18374. "description": "报价商ID[场外期权]",
  18375. "type": "integer"
  18376. },
  18377. "quotesourcegroupid": {
  18378. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18379. "type": "integer"
  18380. },
  18381. "syncgoodsqty": {
  18382. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18383. "type": "integer"
  18384. }
  18385. }
  18386. },
  18387. "models.Goodssortbypreposition": {
  18388. "type": "object",
  18389. "required": [
  18390. "goodscode",
  18391. "tradedate"
  18392. ],
  18393. "properties": {
  18394. "goodscode": {
  18395. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18396. "type": "string"
  18397. },
  18398. "goodsgroupcode": {
  18399. "description": "品种代码",
  18400. "type": "string"
  18401. },
  18402. "prepositionqty": {
  18403. "description": "昨持仓量",
  18404. "type": "integer"
  18405. },
  18406. "sortindex": {
  18407. "description": "排序",
  18408. "type": "integer"
  18409. },
  18410. "tradedate": {
  18411. "description": "交易日",
  18412. "type": "string"
  18413. },
  18414. "updatetime": {
  18415. "description": "更新时间",
  18416. "type": "string"
  18417. }
  18418. }
  18419. },
  18420. "models.Hedgeinnerholderdetail": {
  18421. "type": "object",
  18422. "required": [
  18423. "buyorsell",
  18424. "tradeid"
  18425. ],
  18426. "properties": {
  18427. "accountid": {
  18428. "description": "账号ID",
  18429. "type": "integer"
  18430. },
  18431. "buyorsell": {
  18432. "description": "方向 - 0:买 1:卖",
  18433. "type": "integer"
  18434. },
  18435. "freezeqty": {
  18436. "description": "冻结数量 - 按单平使用",
  18437. "type": "integer"
  18438. },
  18439. "goodsid": {
  18440. "description": "商品ID",
  18441. "type": "integer"
  18442. },
  18443. "holderamount": {
  18444. "description": "持仓金额 [商品币种]",
  18445. "type": "number"
  18446. },
  18447. "holderdays": {
  18448. "description": "剩余冻结天数",
  18449. "type": "integer"
  18450. },
  18451. "holderprice": {
  18452. "description": "持仓价格",
  18453. "type": "number"
  18454. },
  18455. "holderqty": {
  18456. "description": "持仓数量",
  18457. "type": "integer"
  18458. },
  18459. "marketid": {
  18460. "description": "市场ID",
  18461. "type": "integer"
  18462. },
  18463. "openprice": {
  18464. "description": "建仓价格",
  18465. "type": "number"
  18466. },
  18467. "openqty": {
  18468. "description": "建仓数量",
  18469. "type": "integer"
  18470. },
  18471. "parentaccountid": {
  18472. "description": "所属母账户",
  18473. "type": "integer"
  18474. },
  18475. "releaseamount": {
  18476. "description": "释放持仓金额[商品币种]",
  18477. "type": "number"
  18478. },
  18479. "tradeamount": {
  18480. "description": "成交金额[账户]",
  18481. "type": "number"
  18482. },
  18483. "tradedate": {
  18484. "description": "交易日(yyyyMMdd)",
  18485. "type": "string"
  18486. },
  18487. "tradeid": {
  18488. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18489. "type": "string"
  18490. },
  18491. "tradetime": {
  18492. "description": "交易时间",
  18493. "type": "string"
  18494. }
  18495. }
  18496. },
  18497. "models.Hedgeoutmainconfig": {
  18498. "type": "object",
  18499. "required": [
  18500. "accountid"
  18501. ],
  18502. "properties": {
  18503. "accountcurrecnygroup": {
  18504. "description": "资金账户币种组 [易盛]",
  18505. "type": "string"
  18506. },
  18507. "accountcurrency": {
  18508. "description": "资金账户基币 [易盛]",
  18509. "type": "string"
  18510. },
  18511. "accountid": {
  18512. "description": "资金账号ID(母账号)",
  18513. "type": "integer"
  18514. },
  18515. "appid": {
  18516. "description": "AppID",
  18517. "type": "string"
  18518. },
  18519. "authcode": {
  18520. "description": "授权码[易盛]",
  18521. "type": "string"
  18522. },
  18523. "brokerid": {
  18524. "description": "经纪公司代码",
  18525. "type": "string"
  18526. },
  18527. "channeladdress": {
  18528. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18529. "type": "string"
  18530. },
  18531. "channelid": {
  18532. "description": "对冲渠道ID",
  18533. "type": "integer"
  18534. },
  18535. "connectflag": {
  18536. "description": "是否联接外部交易 - 0:不连接 1:连接",
  18537. "type": "integer"
  18538. },
  18539. "exchangeratecurrencygroup": {
  18540. "description": "汇率币种组 [易盛]",
  18541. "type": "string"
  18542. },
  18543. "fcid": {
  18544. "description": "期货公司ID",
  18545. "type": "integer"
  18546. },
  18547. "fcname": {
  18548. "description": "期货公司名称",
  18549. "type": "string"
  18550. },
  18551. "hedgeaccountcode": {
  18552. "description": "对冲账号ID",
  18553. "type": "string"
  18554. },
  18555. "hedgeaccountpwd": {
  18556. "description": "对冲账号密码",
  18557. "type": "string"
  18558. },
  18559. "hedgeaccounttype": {
  18560. "description": "母账号类型 - 1-交易下单 2-跟单",
  18561. "type": "integer"
  18562. },
  18563. "limitnumber": {
  18564. "description": "挂单笔数限额",
  18565. "type": "integer"
  18566. },
  18567. "marketid": {
  18568. "description": "内部市场ID(母账号的操作",
  18569. "type": "integer"
  18570. },
  18571. "status": {
  18572. "description": "渠道账号状态 1-可买入可卖出 2-可卖出不可买入",
  18573. "type": "integer"
  18574. },
  18575. "userproductinfo": {
  18576. "description": "客户端产品信息",
  18577. "type": "string"
  18578. }
  18579. }
  18580. },
  18581. "models.HsbyBuyMyPayOrder": {
  18582. "type": "object",
  18583. "required": [
  18584. "goodscode",
  18585. "goodsname",
  18586. "tradeid",
  18587. "trademode"
  18588. ],
  18589. "properties": {
  18590. "agreeunit": {
  18591. "description": "合约单位",
  18592. "type": "number"
  18593. },
  18594. "buyaccountid": {
  18595. "description": "买方账号ID[报价币种]",
  18596. "type": "integer"
  18597. },
  18598. "buyorderid": {
  18599. "description": "买方委托单号",
  18600. "type": "string"
  18601. },
  18602. "createtime": {
  18603. "description": "创建时间",
  18604. "type": "string"
  18605. },
  18606. "currencysign": {
  18607. "description": "货币符号",
  18608. "type": "string"
  18609. },
  18610. "decimalplace": {
  18611. "description": "报价小数位",
  18612. "type": "integer"
  18613. },
  18614. "goodscode": {
  18615. "description": "商品代码(内部)",
  18616. "type": "string"
  18617. },
  18618. "goodsid": {
  18619. "description": "商品ID",
  18620. "type": "integer"
  18621. },
  18622. "goodsname": {
  18623. "description": "商品名称",
  18624. "type": "string"
  18625. },
  18626. "marketid": {
  18627. "description": "市场ID",
  18628. "type": "integer"
  18629. },
  18630. "offamount": {
  18631. "description": "优惠金额",
  18632. "type": "number"
  18633. },
  18634. "originalamount": {
  18635. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18636. "type": "number"
  18637. },
  18638. "payamount": {
  18639. "description": "支付金额 = TradeAmount + TradeCharge",
  18640. "type": "number"
  18641. },
  18642. "payflag": {
  18643. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18644. "type": "integer"
  18645. },
  18646. "paylimitedtime": {
  18647. "description": "支付期限",
  18648. "type": "string"
  18649. },
  18650. "paytime": {
  18651. "description": "付款时间",
  18652. "type": "string"
  18653. },
  18654. "picurls1": {
  18655. "description": "预售商品介绍图片[多张用逗号分隔]",
  18656. "type": "string"
  18657. },
  18658. "picurls2": {
  18659. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18660. "type": "string"
  18661. },
  18662. "sellaccountid": {
  18663. "description": "卖方账号ID[报价币种]",
  18664. "type": "integer"
  18665. },
  18666. "sellorderid": {
  18667. "description": "卖方委托单号",
  18668. "type": "string"
  18669. },
  18670. "tradeamount": {
  18671. "description": "成交金额",
  18672. "type": "number"
  18673. },
  18674. "tradecharge": {
  18675. "description": "成交手续费(买方)",
  18676. "type": "number"
  18677. },
  18678. "tradedate": {
  18679. "description": "交易日(yyyyMMdd)",
  18680. "type": "string"
  18681. },
  18682. "tradeid": {
  18683. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18684. "type": "string"
  18685. },
  18686. "trademode": {
  18687. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18688. "type": "integer"
  18689. },
  18690. "tradeprice": {
  18691. "description": "成交价格",
  18692. "type": "number"
  18693. },
  18694. "tradeqty": {
  18695. "description": "成交数量",
  18696. "type": "integer"
  18697. },
  18698. "vendorname1": {
  18699. "description": "预售商品供应商名称",
  18700. "type": "string"
  18701. },
  18702. "vendorname2": {
  18703. "description": "挂牌商品供应商名称",
  18704. "type": "string"
  18705. }
  18706. }
  18707. },
  18708. "models.HsbyBuyMyTradeDetail": {
  18709. "type": "object",
  18710. "required": [
  18711. "accountid",
  18712. "buyorsell",
  18713. "goodscode",
  18714. "goodsid",
  18715. "goodsname",
  18716. "marketid",
  18717. "orderid",
  18718. "qty",
  18719. "time",
  18720. "trademode"
  18721. ],
  18722. "properties": {
  18723. "accountid": {
  18724. "description": "账户ID[报价币种]",
  18725. "type": "integer"
  18726. },
  18727. "agreeunit": {
  18728. "description": "合约单位",
  18729. "type": "number"
  18730. },
  18731. "amount": {
  18732. "description": "金额 = 价格 * 数量 * 合约单位",
  18733. "type": "number"
  18734. },
  18735. "buyorsell": {
  18736. "description": "买卖 - 0:买 1:卖",
  18737. "type": "integer"
  18738. },
  18739. "currencysign": {
  18740. "description": "货币符号",
  18741. "type": "string"
  18742. },
  18743. "decimalplace": {
  18744. "description": "报价小数位",
  18745. "type": "integer"
  18746. },
  18747. "goodscode": {
  18748. "description": "商品代码(内部)",
  18749. "type": "string"
  18750. },
  18751. "goodsid": {
  18752. "description": "商品ID",
  18753. "type": "integer"
  18754. },
  18755. "goodsname": {
  18756. "description": "商品名称",
  18757. "type": "string"
  18758. },
  18759. "marketid": {
  18760. "description": "市场ID",
  18761. "type": "integer"
  18762. },
  18763. "orderamount": {
  18764. "description": "委托金额",
  18765. "type": "number"
  18766. },
  18767. "orderid": {
  18768. "description": "单号(成交单号)",
  18769. "type": "string"
  18770. },
  18771. "picurls1": {
  18772. "description": "预售商品介绍图片[多张用逗号分隔]",
  18773. "type": "string"
  18774. },
  18775. "picurls2": {
  18776. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18777. "type": "string"
  18778. },
  18779. "price": {
  18780. "description": "价格",
  18781. "type": "number"
  18782. },
  18783. "qty": {
  18784. "description": "数量",
  18785. "type": "integer"
  18786. },
  18787. "time": {
  18788. "description": "时间",
  18789. "type": "string"
  18790. },
  18791. "trademode": {
  18792. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18793. "type": "integer"
  18794. },
  18795. "vendorname1": {
  18796. "description": "预售商品供应商名称",
  18797. "type": "string"
  18798. },
  18799. "vendorname2": {
  18800. "description": "挂牌商品供应商名称",
  18801. "type": "string"
  18802. }
  18803. }
  18804. },
  18805. "models.HsbyGoodsOrderDetail": {
  18806. "type": "object",
  18807. "required": [
  18808. "buyorsell",
  18809. "orderid",
  18810. "ordertime"
  18811. ],
  18812. "properties": {
  18813. "buyorsell": {
  18814. "description": "买卖 - 0:买 1:卖",
  18815. "type": "integer"
  18816. },
  18817. "currencysign": {
  18818. "description": "货币符号",
  18819. "type": "string"
  18820. },
  18821. "customername": {
  18822. "description": "客户名称(企业名称),已脱敏",
  18823. "type": "string"
  18824. },
  18825. "enableqty": {
  18826. "description": "可用数量",
  18827. "type": "integer"
  18828. },
  18829. "goodunit": {
  18830. "description": "报价单位",
  18831. "type": "string"
  18832. },
  18833. "orderid": {
  18834. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18835. "type": "string"
  18836. },
  18837. "orderprice": {
  18838. "description": "委托价格",
  18839. "type": "number"
  18840. },
  18841. "ordertime": {
  18842. "description": "委托时间",
  18843. "type": "string"
  18844. }
  18845. }
  18846. },
  18847. "models.HsbyListingGoodsDetail": {
  18848. "type": "object",
  18849. "required": [
  18850. "goodscode",
  18851. "goodsid",
  18852. "goodsname",
  18853. "marketid",
  18854. "trademode"
  18855. ],
  18856. "properties": {
  18857. "agreeunit": {
  18858. "description": "合约单位",
  18859. "type": "number"
  18860. },
  18861. "buymaxqty": {
  18862. "description": "购买上限 [71] - 0为不限",
  18863. "type": "integer"
  18864. },
  18865. "currency": {
  18866. "description": "货币",
  18867. "type": "string"
  18868. },
  18869. "currencysign": {
  18870. "description": "货币符号",
  18871. "type": "string"
  18872. },
  18873. "decimalplace": {
  18874. "description": "报价小数位",
  18875. "type": "integer"
  18876. },
  18877. "desccityid": {
  18878. "description": "目的地(市)ID",
  18879. "type": "integer"
  18880. },
  18881. "descprovinceid": {
  18882. "description": "目的地(省)ID",
  18883. "type": "integer"
  18884. },
  18885. "goodscode": {
  18886. "description": "商品代码(内部)",
  18887. "type": "string"
  18888. },
  18889. "goodsdesc": {
  18890. "description": "商品详情",
  18891. "type": "string"
  18892. },
  18893. "goodsid": {
  18894. "description": "商品ID(自增ID SEQ_GOODS)",
  18895. "type": "integer"
  18896. },
  18897. "goodsname": {
  18898. "description": "商品名称",
  18899. "type": "string"
  18900. },
  18901. "goodsprice": {
  18902. "description": "商品价格",
  18903. "type": "number"
  18904. },
  18905. "hotindex": {
  18906. "description": "景点热度",
  18907. "type": "integer"
  18908. },
  18909. "last": {
  18910. "description": "现价",
  18911. "type": "number"
  18912. },
  18913. "limitdown": {
  18914. "description": "跌停价",
  18915. "type": "number"
  18916. },
  18917. "limitup": {
  18918. "description": "涨停价",
  18919. "type": "number"
  18920. },
  18921. "lotsize": {
  18922. "description": "手数最小变动单位",
  18923. "type": "integer"
  18924. },
  18925. "marketid": {
  18926. "description": "所属市场ID",
  18927. "type": "integer"
  18928. },
  18929. "picurls": {
  18930. "description": "介绍图片[多张用逗号分隔]",
  18931. "type": "string"
  18932. },
  18933. "quoteminunit": {
  18934. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18935. "type": "integer"
  18936. },
  18937. "stepvalue": {
  18938. "description": "价格最小变动单位",
  18939. "type": "number"
  18940. },
  18941. "trademode": {
  18942. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18943. "type": "integer"
  18944. },
  18945. "vendorattr": {
  18946. "description": "供应商附件(多张,逗号分隔)",
  18947. "type": "string"
  18948. },
  18949. "vendorname": {
  18950. "description": "供应商名称",
  18951. "type": "string"
  18952. },
  18953. "vendorphone": {
  18954. "description": "供应商客服电话",
  18955. "type": "string"
  18956. },
  18957. "videourls": {
  18958. "description": "介绍视频[多张用逗号分隔]",
  18959. "type": "string"
  18960. }
  18961. }
  18962. },
  18963. "models.HsbyMarketGoods": {
  18964. "type": "object",
  18965. "required": [
  18966. "accountid",
  18967. "buyorsell",
  18968. "goodscode",
  18969. "goodsid",
  18970. "goodsname",
  18971. "marketid",
  18972. "orderid",
  18973. "trademode"
  18974. ],
  18975. "properties": {
  18976. "accountid": {
  18977. "description": "账户ID[报价币种]",
  18978. "type": "integer"
  18979. },
  18980. "agreeunit": {
  18981. "description": "合约单位",
  18982. "type": "number"
  18983. },
  18984. "buyorsell": {
  18985. "description": "买卖 - 0:买 1:卖",
  18986. "type": "integer"
  18987. },
  18988. "categoryid": {
  18989. "description": "类别ID(WRCATEGORY)",
  18990. "type": "integer"
  18991. },
  18992. "currency": {
  18993. "description": "货币",
  18994. "type": "string"
  18995. },
  18996. "currencysign": {
  18997. "description": "货币符号",
  18998. "type": "string"
  18999. },
  19000. "customername": {
  19001. "description": "卖家名称",
  19002. "type": "string"
  19003. },
  19004. "decimalplace": {
  19005. "description": "报价小数位",
  19006. "type": "integer"
  19007. },
  19008. "goodscode": {
  19009. "description": "商品代码(内部)",
  19010. "type": "string"
  19011. },
  19012. "goodsid": {
  19013. "description": "商品ID",
  19014. "type": "integer"
  19015. },
  19016. "goodsname": {
  19017. "description": "商品名称",
  19018. "type": "string"
  19019. },
  19020. "goodsprice": {
  19021. "description": "商品价格",
  19022. "type": "number"
  19023. },
  19024. "hascoupon": {
  19025. "description": "是否可用优惠卷",
  19026. "type": "boolean"
  19027. },
  19028. "hotindex": {
  19029. "description": "景点热度",
  19030. "type": "integer"
  19031. },
  19032. "marketid": {
  19033. "description": "市场ID",
  19034. "type": "integer"
  19035. },
  19036. "orderid": {
  19037. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19038. "type": "string"
  19039. },
  19040. "orderprice": {
  19041. "description": "委托价格",
  19042. "type": "number"
  19043. },
  19044. "orderstatus": {
  19045. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19046. "type": "integer"
  19047. },
  19048. "picurls": {
  19049. "description": "介绍图片[多张用逗号分隔]",
  19050. "type": "string"
  19051. },
  19052. "quoteminunit": {
  19053. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19054. "type": "integer"
  19055. },
  19056. "sellUserID": {
  19057. "description": "卖方UserID",
  19058. "type": "integer"
  19059. },
  19060. "trademode": {
  19061. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19062. "type": "integer"
  19063. },
  19064. "videourls": {
  19065. "description": "介绍视频[多张用逗号分隔]",
  19066. "type": "string"
  19067. }
  19068. }
  19069. },
  19070. "models.HsbyMarketGoodsDetail": {
  19071. "type": "object",
  19072. "required": [
  19073. "accountid",
  19074. "buyorsell",
  19075. "goodscode",
  19076. "goodsid",
  19077. "goodsname",
  19078. "marketid",
  19079. "orderid",
  19080. "orderqty",
  19081. "trademode"
  19082. ],
  19083. "properties": {
  19084. "accountid": {
  19085. "description": "账户ID[报价币种]",
  19086. "type": "integer"
  19087. },
  19088. "agreeunit": {
  19089. "description": "合约单位",
  19090. "type": "number"
  19091. },
  19092. "buymaxqty": {
  19093. "description": "购买上限 [71] - 0为不限",
  19094. "type": "integer"
  19095. },
  19096. "buyorsell": {
  19097. "description": "买卖 - 0:买 1:卖",
  19098. "type": "integer"
  19099. },
  19100. "cancelqty": {
  19101. "description": "撤单数量",
  19102. "type": "integer"
  19103. },
  19104. "categoryid": {
  19105. "description": "类别ID(WRCATEGORY)",
  19106. "type": "integer"
  19107. },
  19108. "currency": {
  19109. "description": "货币",
  19110. "type": "string"
  19111. },
  19112. "currencysign": {
  19113. "description": "货币符号",
  19114. "type": "string"
  19115. },
  19116. "customername": {
  19117. "description": "卖家名称",
  19118. "type": "string"
  19119. },
  19120. "decimalplace": {
  19121. "description": "报价小数位",
  19122. "type": "integer"
  19123. },
  19124. "goodscode": {
  19125. "description": "商品代码(内部)",
  19126. "type": "string"
  19127. },
  19128. "goodsdesc": {
  19129. "description": "商品详情",
  19130. "type": "string"
  19131. },
  19132. "goodsid": {
  19133. "description": "商品ID",
  19134. "type": "integer"
  19135. },
  19136. "goodsname": {
  19137. "description": "商品名称",
  19138. "type": "string"
  19139. },
  19140. "goodsprice": {
  19141. "description": "商品价格",
  19142. "type": "number"
  19143. },
  19144. "hotindex": {
  19145. "description": "景点热度",
  19146. "type": "integer"
  19147. },
  19148. "lotsize": {
  19149. "description": "手数最小变动单位",
  19150. "type": "integer"
  19151. },
  19152. "marketid": {
  19153. "description": "市场ID",
  19154. "type": "integer"
  19155. },
  19156. "orderid": {
  19157. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19158. "type": "string"
  19159. },
  19160. "orderprice": {
  19161. "description": "委托价格",
  19162. "type": "number"
  19163. },
  19164. "orderqty": {
  19165. "description": "委托数量",
  19166. "type": "integer"
  19167. },
  19168. "orderstatus": {
  19169. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19170. "type": "integer"
  19171. },
  19172. "picurls": {
  19173. "description": "介绍图片[多张用逗号分隔]",
  19174. "type": "string"
  19175. },
  19176. "quoteminunit": {
  19177. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19178. "type": "integer"
  19179. },
  19180. "sellUserID": {
  19181. "description": "卖方UserID",
  19182. "type": "integer"
  19183. },
  19184. "trademode": {
  19185. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19186. "type": "integer"
  19187. },
  19188. "tradeqty": {
  19189. "description": "成交数量",
  19190. "type": "integer"
  19191. },
  19192. "vendorattr": {
  19193. "description": "供应商附件(多张,逗号分隔)",
  19194. "type": "string"
  19195. },
  19196. "vendorname": {
  19197. "description": "供应商名称",
  19198. "type": "string"
  19199. },
  19200. "vendorphone": {
  19201. "description": "供应商客服电话",
  19202. "type": "string"
  19203. },
  19204. "videourls": {
  19205. "description": "介绍视频[多张用逗号分隔]",
  19206. "type": "string"
  19207. }
  19208. }
  19209. },
  19210. "models.HsbyMarketInfo": {
  19211. "type": "object",
  19212. "required": [
  19213. "marketid",
  19214. "marketstatus",
  19215. "trademode"
  19216. ],
  19217. "properties": {
  19218. "marketid": {
  19219. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19220. "type": "integer"
  19221. },
  19222. "marketname": {
  19223. "description": "市场名称",
  19224. "type": "string"
  19225. },
  19226. "marketstatus": {
  19227. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19228. "type": "integer"
  19229. },
  19230. "trademode": {
  19231. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19232. "type": "integer"
  19233. }
  19234. }
  19235. },
  19236. "models.HsbyMyGoods": {
  19237. "type": "object",
  19238. "required": [
  19239. "accountid",
  19240. "goodscode",
  19241. "goodsid",
  19242. "goodsname",
  19243. "marketid",
  19244. "trademode"
  19245. ],
  19246. "properties": {
  19247. "accountid": {
  19248. "description": "账号Id",
  19249. "type": "integer"
  19250. },
  19251. "agreeunit": {
  19252. "description": "合约单位",
  19253. "type": "number"
  19254. },
  19255. "buyaverageprice": {
  19256. "description": "持仓均价",
  19257. "type": "number"
  19258. },
  19259. "buycurholderamount": {
  19260. "description": "买当前持仓总金额[商品币种]",
  19261. "type": "number"
  19262. },
  19263. "buycurpositionqty": {
  19264. "description": "买当前持仓总数量",
  19265. "type": "integer"
  19266. },
  19267. "buymaxqty": {
  19268. "description": "购买上限 [71] - 0为不限",
  19269. "type": "integer"
  19270. },
  19271. "currencysign": {
  19272. "description": "货币符号",
  19273. "type": "string"
  19274. },
  19275. "decimalplace": {
  19276. "description": "报价小数位",
  19277. "type": "integer"
  19278. },
  19279. "enableqty": {
  19280. "description": "可用数量",
  19281. "type": "integer"
  19282. },
  19283. "goodscode": {
  19284. "description": "商品代码(内部)",
  19285. "type": "string"
  19286. },
  19287. "goodsid": {
  19288. "description": "商品Id",
  19289. "type": "integer"
  19290. },
  19291. "goodsname": {
  19292. "description": "商品名称",
  19293. "type": "string"
  19294. },
  19295. "goodsprice": {
  19296. "description": "商品价格",
  19297. "type": "number"
  19298. },
  19299. "goodsstatus": {
  19300. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19301. "type": "integer"
  19302. },
  19303. "last": {
  19304. "description": "现价(仅使用于挂牌点选)",
  19305. "type": "number"
  19306. },
  19307. "limitdown": {
  19308. "description": "跌停价(仅使用于挂牌点选)",
  19309. "type": "number"
  19310. },
  19311. "limitup": {
  19312. "description": "涨停价(仅使用于挂牌点选)",
  19313. "type": "number"
  19314. },
  19315. "lotsize": {
  19316. "description": "手数最小变动单位",
  19317. "type": "integer"
  19318. },
  19319. "marketid": {
  19320. "description": "所属市场ID",
  19321. "type": "integer"
  19322. },
  19323. "picurls": {
  19324. "description": "介绍图片[多张用逗号分隔]",
  19325. "type": "string"
  19326. },
  19327. "quoteminunit": {
  19328. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19329. "type": "integer"
  19330. },
  19331. "stepvalue": {
  19332. "description": "价格最小变动单位",
  19333. "type": "number"
  19334. },
  19335. "trademode": {
  19336. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19337. "type": "integer"
  19338. }
  19339. }
  19340. },
  19341. "models.HsbyMyPackage": {
  19342. "type": "object",
  19343. "required": [
  19344. "goodscode",
  19345. "goodsname",
  19346. "takeorderid",
  19347. "trademode"
  19348. ],
  19349. "properties": {
  19350. "accountid": {
  19351. "description": "账户ID",
  19352. "type": "integer"
  19353. },
  19354. "address": {
  19355. "description": "提货人详细地址",
  19356. "type": "string"
  19357. },
  19358. "agreeunit": {
  19359. "description": "合约单位",
  19360. "type": "number"
  19361. },
  19362. "amount": {
  19363. "description": "提货金额",
  19364. "type": "number"
  19365. },
  19366. "auditer": {
  19367. "description": "审核人",
  19368. "type": "integer"
  19369. },
  19370. "audittime": {
  19371. "description": "审核时间",
  19372. "type": "string"
  19373. },
  19374. "averageprice": {
  19375. "description": "均价",
  19376. "type": "number"
  19377. },
  19378. "cardnum": {
  19379. "description": "提货人证件号码",
  19380. "type": "string"
  19381. },
  19382. "cardtypeid": {
  19383. "description": "提货人证件类型",
  19384. "type": "integer"
  19385. },
  19386. "checkremark": {
  19387. "description": "审核备注",
  19388. "type": "string"
  19389. },
  19390. "currencysign": {
  19391. "description": "货币符号",
  19392. "type": "string"
  19393. },
  19394. "decimalplace": {
  19395. "description": "报价小数位",
  19396. "type": "integer"
  19397. },
  19398. "goodscode": {
  19399. "description": "商品代码(内部)",
  19400. "type": "string"
  19401. },
  19402. "goodsid": {
  19403. "description": "商品ID",
  19404. "type": "integer"
  19405. },
  19406. "goodsname": {
  19407. "description": "商品名称",
  19408. "type": "string"
  19409. },
  19410. "handlestatus": {
  19411. "description": "处理状态",
  19412. "type": "integer"
  19413. },
  19414. "marketid": {
  19415. "description": "市场ID",
  19416. "type": "integer"
  19417. },
  19418. "phonenum": {
  19419. "description": "提货人联系方式",
  19420. "type": "string"
  19421. },
  19422. "picurls": {
  19423. "description": "介绍图片[多张用逗号分隔]",
  19424. "type": "string"
  19425. },
  19426. "qty": {
  19427. "description": "提货数量",
  19428. "type": "number"
  19429. },
  19430. "recivername": {
  19431. "description": "提货人姓名",
  19432. "type": "string"
  19433. },
  19434. "reqtime": {
  19435. "description": "更新时间",
  19436. "type": "string"
  19437. },
  19438. "takemode": {
  19439. "description": "提货方式 - 2:自提 3:配送",
  19440. "type": "integer"
  19441. },
  19442. "takeorderid": {
  19443. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19444. "type": "string"
  19445. },
  19446. "takeorderstatus": {
  19447. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19448. "type": "integer"
  19449. },
  19450. "takeremark": {
  19451. "description": "提货备注",
  19452. "type": "string"
  19453. },
  19454. "tradedate": {
  19455. "description": "交易日(yyyyMMdd)",
  19456. "type": "string"
  19457. },
  19458. "trademode": {
  19459. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19460. "type": "integer"
  19461. },
  19462. "userid": {
  19463. "description": "用户ID",
  19464. "type": "integer"
  19465. },
  19466. "vendorname": {
  19467. "description": "供应商名称",
  19468. "type": "string"
  19469. }
  19470. }
  19471. },
  19472. "models.HsbyPreGoods": {
  19473. "type": "object",
  19474. "required": [
  19475. "goodscode",
  19476. "goodsid",
  19477. "goodsname",
  19478. "marketid",
  19479. "trademode"
  19480. ],
  19481. "properties": {
  19482. "agreeunit": {
  19483. "description": "合约单位",
  19484. "type": "number"
  19485. },
  19486. "currency": {
  19487. "description": "货币",
  19488. "type": "string"
  19489. },
  19490. "currencysign": {
  19491. "description": "货币符号",
  19492. "type": "string"
  19493. },
  19494. "decimalplace": {
  19495. "description": "报价小数位",
  19496. "type": "integer"
  19497. },
  19498. "desccityid": {
  19499. "description": "目的地(市)",
  19500. "type": "integer"
  19501. },
  19502. "descprovinceid": {
  19503. "description": "目的地(省)",
  19504. "type": "integer"
  19505. },
  19506. "enableqty": {
  19507. "description": "剩余数量",
  19508. "type": "integer"
  19509. },
  19510. "goodscode": {
  19511. "description": "商品代码(内部)",
  19512. "type": "string"
  19513. },
  19514. "goodsid": {
  19515. "description": "商品ID(自增ID SEQ_GOODS)",
  19516. "type": "integer"
  19517. },
  19518. "goodsname": {
  19519. "description": "商品名称",
  19520. "type": "string"
  19521. },
  19522. "goodsstatus": {
  19523. "description": "商品状态- 2:未上市 3:上市",
  19524. "type": "integer"
  19525. },
  19526. "lasttradedate": {
  19527. "description": "最后交易日期(状态:待退市)",
  19528. "type": "string"
  19529. },
  19530. "listingdate": {
  19531. "description": "交易开始日期",
  19532. "type": "string"
  19533. },
  19534. "marketid": {
  19535. "description": "所属市场ID",
  19536. "type": "integer"
  19537. },
  19538. "picurls": {
  19539. "description": "介绍图片[多张用逗号分隔]",
  19540. "type": "string"
  19541. },
  19542. "presaledqty": {
  19543. "description": "已预售量(预售结束时更新)",
  19544. "type": "integer"
  19545. },
  19546. "presaleqty": {
  19547. "description": "预售数量",
  19548. "type": "integer"
  19549. },
  19550. "quoteminunit": {
  19551. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19552. "type": "integer"
  19553. },
  19554. "refprice": {
  19555. "description": "参考价格[一口价]",
  19556. "type": "number"
  19557. },
  19558. "relatedgoodsid": {
  19559. "description": "关联交易合约ID",
  19560. "type": "integer"
  19561. },
  19562. "trademode": {
  19563. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19564. "type": "integer"
  19565. },
  19566. "videourls": {
  19567. "description": "介绍视频[多张用逗号分隔]",
  19568. "type": "string"
  19569. }
  19570. }
  19571. },
  19572. "models.HsbyPreGoodsDetail": {
  19573. "type": "object",
  19574. "required": [
  19575. "goodscode",
  19576. "goodsid",
  19577. "goodsname",
  19578. "marketid",
  19579. "trademode"
  19580. ],
  19581. "properties": {
  19582. "agreeunit": {
  19583. "description": "合约单位",
  19584. "type": "number"
  19585. },
  19586. "buymaxqty": {
  19587. "description": "购买上限 [71] - 0为不限",
  19588. "type": "integer"
  19589. },
  19590. "currency": {
  19591. "description": "货币",
  19592. "type": "string"
  19593. },
  19594. "currencysign": {
  19595. "description": "货币符号",
  19596. "type": "string"
  19597. },
  19598. "customername": {
  19599. "description": "发行单位",
  19600. "type": "string"
  19601. },
  19602. "decimalplace": {
  19603. "description": "报价小数位",
  19604. "type": "integer"
  19605. },
  19606. "desccityid": {
  19607. "description": "目的地(市)ID",
  19608. "type": "integer"
  19609. },
  19610. "descprovinceid": {
  19611. "description": "目的地(省)ID",
  19612. "type": "integer"
  19613. },
  19614. "enableqty": {
  19615. "description": "剩余数量",
  19616. "type": "integer"
  19617. },
  19618. "goodscode": {
  19619. "description": "商品代码(内部)",
  19620. "type": "string"
  19621. },
  19622. "goodsdesc": {
  19623. "description": "商品详情",
  19624. "type": "string"
  19625. },
  19626. "goodsid": {
  19627. "description": "商品ID(自增ID SEQ_GOODS)",
  19628. "type": "integer"
  19629. },
  19630. "goodsname": {
  19631. "description": "商品名称",
  19632. "type": "string"
  19633. },
  19634. "goodsstatus": {
  19635. "description": "商品状态- 2:未上市 3:上市",
  19636. "type": "integer"
  19637. },
  19638. "goodunit": {
  19639. "description": "报价单位",
  19640. "type": "string"
  19641. },
  19642. "lasttradedate": {
  19643. "description": "最后交易日期(状态:待退市)",
  19644. "type": "string"
  19645. },
  19646. "listingdate": {
  19647. "description": "交易开始日期",
  19648. "type": "string"
  19649. },
  19650. "lotsize": {
  19651. "description": "手数最小变动单位",
  19652. "type": "integer"
  19653. },
  19654. "marketid": {
  19655. "description": "所属市场ID",
  19656. "type": "integer"
  19657. },
  19658. "picurls": {
  19659. "description": "介绍图片[多张用逗号分隔]",
  19660. "type": "string"
  19661. },
  19662. "presaledqty": {
  19663. "description": "已预售量(预售结束时更新)",
  19664. "type": "integer"
  19665. },
  19666. "presaleqty": {
  19667. "description": "预售数量",
  19668. "type": "integer"
  19669. },
  19670. "quoteminunit": {
  19671. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19672. "type": "integer"
  19673. },
  19674. "refprice": {
  19675. "description": "参考价格[一口价]",
  19676. "type": "number"
  19677. },
  19678. "relatedgoodsid": {
  19679. "description": "关联交易合约ID",
  19680. "type": "integer"
  19681. },
  19682. "stepvalue": {
  19683. "description": "价格最小变动单位",
  19684. "type": "number"
  19685. },
  19686. "trademode": {
  19687. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19688. "type": "integer"
  19689. },
  19690. "vendorattr": {
  19691. "description": "供应商附件(多张,逗号分隔)",
  19692. "type": "string"
  19693. },
  19694. "vendorname": {
  19695. "description": "供应商名称",
  19696. "type": "string"
  19697. },
  19698. "vendorphone": {
  19699. "description": "供应商客服电话",
  19700. "type": "string"
  19701. },
  19702. "videourls": {
  19703. "description": "介绍视频[多张用逗号分隔]",
  19704. "type": "string"
  19705. }
  19706. }
  19707. },
  19708. "models.HsbySellCollectionOrder": {
  19709. "type": "object",
  19710. "required": [
  19711. "goodscode",
  19712. "goodsname",
  19713. "tradeid",
  19714. "trademode"
  19715. ],
  19716. "properties": {
  19717. "agreeunit": {
  19718. "description": "合约单位",
  19719. "type": "number"
  19720. },
  19721. "buyaccountid": {
  19722. "description": "买方账号ID[报价币种]",
  19723. "type": "integer"
  19724. },
  19725. "buyorderid": {
  19726. "description": "买方委托单号",
  19727. "type": "string"
  19728. },
  19729. "createtime": {
  19730. "description": "创建时间",
  19731. "type": "string"
  19732. },
  19733. "currencysign": {
  19734. "description": "货币符号",
  19735. "type": "string"
  19736. },
  19737. "decimalplace": {
  19738. "description": "报价小数位",
  19739. "type": "integer"
  19740. },
  19741. "goodscode": {
  19742. "description": "商品代码(内部)",
  19743. "type": "string"
  19744. },
  19745. "goodsid": {
  19746. "description": "商品ID",
  19747. "type": "integer"
  19748. },
  19749. "goodsname": {
  19750. "description": "商品名称",
  19751. "type": "string"
  19752. },
  19753. "marketid": {
  19754. "description": "市场ID",
  19755. "type": "integer"
  19756. },
  19757. "offamount": {
  19758. "description": "优惠金额",
  19759. "type": "number"
  19760. },
  19761. "payamount": {
  19762. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19763. "type": "number"
  19764. },
  19765. "payflag": {
  19766. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19767. "type": "integer"
  19768. },
  19769. "paylimitedtime": {
  19770. "description": "支付期限",
  19771. "type": "string"
  19772. },
  19773. "paytime": {
  19774. "description": "付款时间",
  19775. "type": "string"
  19776. },
  19777. "picurls": {
  19778. "description": "商品介绍图片[多张用逗号分隔]",
  19779. "type": "string"
  19780. },
  19781. "sellaccountid": {
  19782. "description": "卖方账号ID[报价币种]",
  19783. "type": "integer"
  19784. },
  19785. "sellorderid": {
  19786. "description": "卖方委托单号",
  19787. "type": "string"
  19788. },
  19789. "tradeamount": {
  19790. "description": "成交金额",
  19791. "type": "number"
  19792. },
  19793. "tradecharge": {
  19794. "description": "成交手续费(买方)",
  19795. "type": "number"
  19796. },
  19797. "tradedate": {
  19798. "description": "交易日(yyyyMMdd)",
  19799. "type": "string"
  19800. },
  19801. "tradeid": {
  19802. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19803. "type": "string"
  19804. },
  19805. "trademode": {
  19806. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19807. "type": "integer"
  19808. },
  19809. "tradeprice": {
  19810. "description": "成交价格",
  19811. "type": "number"
  19812. },
  19813. "tradeqty": {
  19814. "description": "成交数量",
  19815. "type": "integer"
  19816. }
  19817. }
  19818. },
  19819. "models.HsbySellMyDetail": {
  19820. "type": "object",
  19821. "required": [
  19822. "accountid",
  19823. "buyorsell",
  19824. "goodscode",
  19825. "goodsid",
  19826. "goodsname",
  19827. "marketid",
  19828. "orderid",
  19829. "time",
  19830. "trademode"
  19831. ],
  19832. "properties": {
  19833. "accountid": {
  19834. "description": "账户ID[报价币种]",
  19835. "type": "integer"
  19836. },
  19837. "agreeunit": {
  19838. "description": "合约单位",
  19839. "type": "number"
  19840. },
  19841. "buyorsell": {
  19842. "description": "买卖 - 0:买 1:卖",
  19843. "type": "integer"
  19844. },
  19845. "currencysign": {
  19846. "description": "货币符号",
  19847. "type": "string"
  19848. },
  19849. "decimalplace": {
  19850. "description": "报价小数位",
  19851. "type": "integer"
  19852. },
  19853. "goodscode": {
  19854. "description": "商品代码(内部)",
  19855. "type": "string"
  19856. },
  19857. "goodsid": {
  19858. "description": "商品ID",
  19859. "type": "integer"
  19860. },
  19861. "goodsname": {
  19862. "description": "商品名称",
  19863. "type": "string"
  19864. },
  19865. "marketid": {
  19866. "description": "市场ID",
  19867. "type": "integer"
  19868. },
  19869. "orderid": {
  19870. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19871. "type": "string"
  19872. },
  19873. "ordertype": {
  19874. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19875. "type": "integer"
  19876. },
  19877. "picurls": {
  19878. "description": "介绍图片[多张用逗号分隔]",
  19879. "type": "string"
  19880. },
  19881. "price": {
  19882. "description": "价格",
  19883. "type": "number"
  19884. },
  19885. "qty": {
  19886. "description": "数量",
  19887. "type": "integer"
  19888. },
  19889. "time": {
  19890. "description": "时间",
  19891. "type": "string"
  19892. },
  19893. "trademode": {
  19894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19895. "type": "integer"
  19896. },
  19897. "vendorname": {
  19898. "description": "供应商名称",
  19899. "type": "string"
  19900. }
  19901. }
  19902. },
  19903. "models.HsbyTopGoods": {
  19904. "type": "object",
  19905. "required": [
  19906. "goodscode",
  19907. "goodsid",
  19908. "goodsname",
  19909. "marketid",
  19910. "trademode"
  19911. ],
  19912. "properties": {
  19913. "agreeunit": {
  19914. "description": "合约单位",
  19915. "type": "number"
  19916. },
  19917. "currency": {
  19918. "description": "货币",
  19919. "type": "string"
  19920. },
  19921. "currencysign": {
  19922. "description": "货币符号",
  19923. "type": "string"
  19924. },
  19925. "decimalplace": {
  19926. "description": "报价小数位",
  19927. "type": "integer"
  19928. },
  19929. "desccityid": {
  19930. "description": "目的地(市)",
  19931. "type": "integer"
  19932. },
  19933. "descprovinceid": {
  19934. "description": "目的地(省)",
  19935. "type": "integer"
  19936. },
  19937. "goodscode": {
  19938. "description": "商品代码(内部)",
  19939. "type": "string"
  19940. },
  19941. "goodsid": {
  19942. "description": "商品ID(自增ID SEQ_GOODS)",
  19943. "type": "integer"
  19944. },
  19945. "goodsname": {
  19946. "description": "商品名称",
  19947. "type": "string"
  19948. },
  19949. "hotindex": {
  19950. "description": "景点热度",
  19951. "type": "integer"
  19952. },
  19953. "last": {
  19954. "description": "现价",
  19955. "type": "number"
  19956. },
  19957. "marketid": {
  19958. "description": "所属市场ID",
  19959. "type": "integer"
  19960. },
  19961. "picurls": {
  19962. "description": "介绍图片[多张用逗号分隔]",
  19963. "type": "string"
  19964. },
  19965. "quoteminunit": {
  19966. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19967. "type": "integer"
  19968. },
  19969. "trademode": {
  19970. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19971. "type": "integer"
  19972. },
  19973. "videourls": {
  19974. "description": "介绍视频[多张用逗号分隔]",
  19975. "type": "string"
  19976. }
  19977. }
  19978. },
  19979. "models.HybsMyBuyOrderDetail": {
  19980. "type": "object",
  19981. "required": [
  19982. "accountid",
  19983. "buyorsell",
  19984. "goodscode",
  19985. "goodsid",
  19986. "goodsname",
  19987. "marketid",
  19988. "orderid",
  19989. "orderqty",
  19990. "ordertime",
  19991. "trademode"
  19992. ],
  19993. "properties": {
  19994. "accountid": {
  19995. "description": "账户ID[报价币种]",
  19996. "type": "integer"
  19997. },
  19998. "agreeunit": {
  19999. "description": "合约单位",
  20000. "type": "number"
  20001. },
  20002. "buyorsell": {
  20003. "description": "买卖 - 0:买 1:卖",
  20004. "type": "integer"
  20005. },
  20006. "cancelqty": {
  20007. "description": "撤单数量",
  20008. "type": "integer"
  20009. },
  20010. "currencysign": {
  20011. "description": "货币符号",
  20012. "type": "string"
  20013. },
  20014. "decimalplace": {
  20015. "description": "报价小数位",
  20016. "type": "integer"
  20017. },
  20018. "goodscode": {
  20019. "description": "商品代码(内部)",
  20020. "type": "string"
  20021. },
  20022. "goodsid": {
  20023. "description": "商品ID",
  20024. "type": "integer"
  20025. },
  20026. "goodsname": {
  20027. "description": "商品名称",
  20028. "type": "string"
  20029. },
  20030. "listingselecttype": {
  20031. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20032. "type": "integer"
  20033. },
  20034. "marketid": {
  20035. "description": "市场ID",
  20036. "type": "integer"
  20037. },
  20038. "mybuystatus": {
  20039. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20040. "type": "integer"
  20041. },
  20042. "orderamount": {
  20043. "description": "委托金额",
  20044. "type": "number"
  20045. },
  20046. "orderid": {
  20047. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20048. "type": "string"
  20049. },
  20050. "orderprice": {
  20051. "description": "委托价格",
  20052. "type": "number"
  20053. },
  20054. "orderqty": {
  20055. "description": "委托数量",
  20056. "type": "integer"
  20057. },
  20058. "orderstatus": {
  20059. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20060. "type": "integer"
  20061. },
  20062. "ordertime": {
  20063. "description": "委托时间",
  20064. "type": "string"
  20065. },
  20066. "picurls1": {
  20067. "description": "预售商品介绍图片[多张用逗号分隔]",
  20068. "type": "string"
  20069. },
  20070. "picurls2": {
  20071. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20072. "type": "string"
  20073. },
  20074. "trademode": {
  20075. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20076. "type": "integer"
  20077. },
  20078. "tradeqty": {
  20079. "description": "成交数量",
  20080. "type": "integer"
  20081. },
  20082. "vendorname1": {
  20083. "description": "预售商品供应商名称",
  20084. "type": "string"
  20085. },
  20086. "vendorname2": {
  20087. "description": "挂牌商品供应商名称",
  20088. "type": "string"
  20089. }
  20090. }
  20091. },
  20092. "models.Loginaccount": {
  20093. "type": "object",
  20094. "required": [
  20095. "loginid"
  20096. ],
  20097. "properties": {
  20098. "canoutin": {
  20099. "description": "是否可出入金 - 0:不可 1:可",
  20100. "type": "integer"
  20101. },
  20102. "clientroleid": {
  20103. "description": "终端角色ID",
  20104. "type": "integer"
  20105. },
  20106. "haslogined": {
  20107. "description": "是否已登录 - 0:未登录 1:已登录",
  20108. "type": "integer"
  20109. },
  20110. "hasupdatedpwd": {
  20111. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20112. "type": "integer"
  20113. },
  20114. "lastloginip": {
  20115. "description": "最新登录地址",
  20116. "type": "string"
  20117. },
  20118. "lastloginmode": {
  20119. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20120. "type": "integer"
  20121. },
  20122. "lastloginremark": {
  20123. "description": "最新登录描述",
  20124. "type": "string"
  20125. },
  20126. "lastlogintime": {
  20127. "description": "最新登录时间",
  20128. "type": "string"
  20129. },
  20130. "logincode": {
  20131. "description": "登录代码",
  20132. "type": "string"
  20133. },
  20134. "loginfailnum": {
  20135. "description": "连续登录失败次数(登录成功时清零)",
  20136. "type": "integer"
  20137. },
  20138. "loginid": {
  20139. "description": "登陆账号",
  20140. "type": "integer"
  20141. },
  20142. "loginport": {
  20143. "description": "最新登录端口",
  20144. "type": "integer"
  20145. },
  20146. "loginstatus": {
  20147. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20148. "type": "integer"
  20149. },
  20150. "loginusertype": {
  20151. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20152. "type": "integer"
  20153. },
  20154. "modifierid": {
  20155. "description": "修改人",
  20156. "type": "integer"
  20157. },
  20158. "modifytime": {
  20159. "description": "修改时间",
  20160. "type": "string"
  20161. },
  20162. "pwdwrongcount": {
  20163. "description": "密码错误次数",
  20164. "type": "integer"
  20165. },
  20166. "taaccountrighttype": {
  20167. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20168. "type": "integer"
  20169. },
  20170. "unfreezetime": {
  20171. "description": "账户解冻时间",
  20172. "type": "string"
  20173. },
  20174. "userid": {
  20175. "description": "用户ID",
  20176. "type": "integer"
  20177. }
  20178. }
  20179. },
  20180. "models.MainAccountInfo": {
  20181. "type": "object",
  20182. "properties": {
  20183. "accountid": {
  20184. "description": "账号id",
  20185. "type": "string"
  20186. },
  20187. "appid": {
  20188. "description": "AppID",
  20189. "type": "string"
  20190. },
  20191. "authcode": {
  20192. "description": "授权码",
  20193. "type": "string"
  20194. },
  20195. "brokerid": {
  20196. "description": "经纪商id",
  20197. "type": "string"
  20198. },
  20199. "fcid": {
  20200. "description": "期货公司id",
  20201. "type": "integer"
  20202. },
  20203. "fcname": {
  20204. "description": "期货公司代码",
  20205. "type": "string"
  20206. },
  20207. "hedgeaccountcode": {
  20208. "description": "外部账号代码",
  20209. "type": "string"
  20210. },
  20211. "hedgeaccountpwd": {
  20212. "description": "密码",
  20213. "type": "string"
  20214. },
  20215. "ismain": {
  20216. "description": "是否主账号",
  20217. "type": "integer"
  20218. },
  20219. "relateduserid": {
  20220. "description": "关联用户id",
  20221. "type": "integer"
  20222. }
  20223. }
  20224. },
  20225. "models.Market": {
  20226. "type": "object",
  20227. "required": [
  20228. "marketid",
  20229. "marketstatus",
  20230. "openmethod",
  20231. "reckonpricealgorithm",
  20232. "trademode",
  20233. "tradeproperty"
  20234. ],
  20235. "properties": {
  20236. "auctionwrtype": {
  20237. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20238. "type": "integer"
  20239. },
  20240. "canacceptquote": {
  20241. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20242. "type": "integer"
  20243. },
  20244. "cangoodsexercise": {
  20245. "description": "[期权]是否可现货行权- 0:否 1:是",
  20246. "type": "integer"
  20247. },
  20248. "cangoodsexercisetype": {
  20249. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20250. "type": "integer"
  20251. },
  20252. "canmanualquotestrike": {
  20253. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20254. "type": "integer"
  20255. },
  20256. "canmutistage": {
  20257. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20258. "type": "integer"
  20259. },
  20260. "canpreexercise": {
  20261. "description": "[期权]是否可预申报- 0:否 1:是",
  20262. "type": "integer"
  20263. },
  20264. "clearinterval": {
  20265. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20266. "type": "integer"
  20267. },
  20268. "contracttmp": {
  20269. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20270. "type": "string"
  20271. },
  20272. "exchareaid": {
  20273. "description": "所属交易所,可以没有",
  20274. "type": "integer"
  20275. },
  20276. "goodstype": {
  20277. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20278. "type": "integer"
  20279. },
  20280. "hasrebate": {
  20281. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20282. "type": "integer"
  20283. },
  20284. "hastradecredit": {
  20285. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20286. "type": "integer"
  20287. },
  20288. "haswr": {
  20289. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20290. "type": "integer"
  20291. },
  20292. "isdeductmargin": {
  20293. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20294. "type": "integer"
  20295. },
  20296. "isrecordsource": {
  20297. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20298. "type": "integer"
  20299. },
  20300. "isreleasemargin": {
  20301. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20302. "type": "integer"
  20303. },
  20304. "marginformula": {
  20305. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20306. "type": "integer"
  20307. },
  20308. "marginformula2": {
  20309. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20310. "type": "integer"
  20311. },
  20312. "marketid": {
  20313. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20314. "type": "integer"
  20315. },
  20316. "marketname": {
  20317. "description": "市场名称",
  20318. "type": "string"
  20319. },
  20320. "marketserviceid": {
  20321. "description": "市场服务ID",
  20322. "type": "integer"
  20323. },
  20324. "marketstatus": {
  20325. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20326. "type": "integer"
  20327. },
  20328. "markettype": {
  20329. "description": "市场类型- 1:非交易服务 2:交易服务",
  20330. "type": "integer"
  20331. },
  20332. "matchermode": {
  20333. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20334. "type": "integer"
  20335. },
  20336. "openmethod": {
  20337. "description": "开盘模式 - 0 自动 1手动",
  20338. "type": "integer"
  20339. },
  20340. "otcuserid": {
  20341. "description": "场外期权做市商[场外期权]",
  20342. "type": "integer"
  20343. },
  20344. "outersynctime": {
  20345. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20346. "type": "string"
  20347. },
  20348. "pendingflag": {
  20349. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20350. "type": "integer"
  20351. },
  20352. "pendingtime": {
  20353. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20354. "type": "string"
  20355. },
  20356. "performancetempid": {
  20357. "description": "履约计划模板ID - 作废",
  20358. "type": "integer"
  20359. },
  20360. "premiumquotemode": {
  20361. "description": "权利金报价方式 - 1:自动 2:手动",
  20362. "type": "integer"
  20363. },
  20364. "rebateratio": {
  20365. "description": "返利比率[竞价式]",
  20366. "type": "number"
  20367. },
  20368. "reckonorder": {
  20369. "description": "结算顺序",
  20370. "type": "integer"
  20371. },
  20372. "reckonpricealgorithm": {
  20373. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20374. "type": "integer"
  20375. },
  20376. "reckonpriceparam": {
  20377. "description": "结算价参数",
  20378. "type": "integer"
  20379. },
  20380. "reckontime": {
  20381. "description": "结算时间[通道交易-对冲](HH:mm)",
  20382. "type": "string"
  20383. },
  20384. "roleprioritytype": {
  20385. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20386. "type": "integer"
  20387. },
  20388. "selllistingauditflag": {
  20389. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20390. "type": "integer"
  20391. },
  20392. "trademarkettype": {
  20393. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20394. "type": "integer"
  20395. },
  20396. "trademode": {
  20397. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20398. "type": "integer"
  20399. },
  20400. "tradeproperty": {
  20401. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20402. "type": "integer"
  20403. },
  20404. "tradetype": {
  20405. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20406. "type": "integer"
  20407. }
  20408. }
  20409. },
  20410. "models.Marketrun": {
  20411. "type": "object",
  20412. "required": [
  20413. "marketid",
  20414. "nexttradedate",
  20415. "reckonflag",
  20416. "runstatus",
  20417. "tradedate",
  20418. "tradedate2"
  20419. ],
  20420. "properties": {
  20421. "afternexttradedate": {
  20422. "description": "下下交易日",
  20423. "type": "string"
  20424. },
  20425. "clearquoteflag": {
  20426. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20427. "type": "integer"
  20428. },
  20429. "lastreckondate": {
  20430. "description": "最新交易日(结算成功)",
  20431. "type": "string"
  20432. },
  20433. "machinedate": {
  20434. "description": "机器时间",
  20435. "type": "string"
  20436. },
  20437. "manualflag": {
  20438. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20439. "type": "integer"
  20440. },
  20441. "marketid": {
  20442. "description": "市场ID",
  20443. "type": "integer"
  20444. },
  20445. "nexttradedate": {
  20446. "description": "下一交易日",
  20447. "type": "string"
  20448. },
  20449. "pretradedate": {
  20450. "description": "上一交易日",
  20451. "type": "string"
  20452. },
  20453. "reckonflag": {
  20454. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20455. "type": "integer"
  20456. },
  20457. "runstatus": {
  20458. "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.今日免清算",
  20459. "type": "integer"
  20460. },
  20461. "sectionid": {
  20462. "description": "时间段号[多时段时用]",
  20463. "type": "integer"
  20464. },
  20465. "tradedate": {
  20466. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20467. "type": "string"
  20468. },
  20469. "tradedate2": {
  20470. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20471. "type": "string"
  20472. },
  20473. "updatetime": {
  20474. "description": "更新时间",
  20475. "type": "string"
  20476. }
  20477. }
  20478. },
  20479. "models.Messageboard": {
  20480. "type": "object",
  20481. "required": [
  20482. "messageboardid"
  20483. ],
  20484. "properties": {
  20485. "contactnum": {
  20486. "description": "联系电话",
  20487. "type": "string"
  20488. },
  20489. "createtime": {
  20490. "description": "创建时间",
  20491. "type": "string"
  20492. },
  20493. "message": {
  20494. "description": "留言信息",
  20495. "type": "string"
  20496. },
  20497. "messageboardid": {
  20498. "description": "留言簿ID(SEQ_MessageBoard)",
  20499. "type": "integer"
  20500. },
  20501. "userid": {
  20502. "description": "用户ID",
  20503. "type": "integer"
  20504. }
  20505. }
  20506. },
  20507. "models.MyCoupon": {
  20508. "type": "object",
  20509. "required": [
  20510. "accountid",
  20511. "coupontypeid"
  20512. ],
  20513. "properties": {
  20514. "accountid": {
  20515. "description": "资金账户ID",
  20516. "type": "integer"
  20517. },
  20518. "areauserid": {
  20519. "description": "所属机构",
  20520. "type": "integer"
  20521. },
  20522. "conditionvalue": {
  20523. "description": "条件阈值(可为0)",
  20524. "type": "number"
  20525. },
  20526. "couponcategroy": {
  20527. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20528. "type": "integer"
  20529. },
  20530. "couponname": {
  20531. "description": "优惠券名称",
  20532. "type": "string"
  20533. },
  20534. "coupontypeid": {
  20535. "description": "优惠券类型ID",
  20536. "type": "string"
  20537. },
  20538. "couponvalue": {
  20539. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20540. "type": "number"
  20541. },
  20542. "curfreezeqty": {
  20543. "description": "期末冻结数量",
  20544. "type": "integer"
  20545. },
  20546. "curqty": {
  20547. "description": "期末数量",
  20548. "type": "integer"
  20549. },
  20550. "isgeneral": {
  20551. "description": "是否通用券 - 0:否 1:是",
  20552. "type": "integer"
  20553. },
  20554. "isunusable": {
  20555. "description": "是否不可用",
  20556. "type": "boolean"
  20557. },
  20558. "limitedflag": {
  20559. "description": "是否指定商品 - 0:不限 1:限制",
  20560. "type": "integer"
  20561. },
  20562. "limitedgoodsids": {
  20563. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20564. "type": "string"
  20565. },
  20566. "orifreezeqty": {
  20567. "description": "期初冻结数量",
  20568. "type": "integer"
  20569. },
  20570. "oriqty": {
  20571. "description": "期初数量",
  20572. "type": "integer"
  20573. },
  20574. "reasontype": {
  20575. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20576. "type": "integer"
  20577. },
  20578. "todaydecrease": {
  20579. "description": "今日减少",
  20580. "type": "integer"
  20581. },
  20582. "todayincrease": {
  20583. "description": "今日增加",
  20584. "type": "integer"
  20585. },
  20586. "userid": {
  20587. "description": "用户ID",
  20588. "type": "integer"
  20589. },
  20590. "userscope": {
  20591. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20592. "type": "string"
  20593. }
  20594. }
  20595. },
  20596. "models.MyCouponHold": {
  20597. "type": "object",
  20598. "required": [
  20599. "couponholdid"
  20600. ],
  20601. "properties": {
  20602. "accountid": {
  20603. "description": "资金账户ID",
  20604. "type": "integer"
  20605. },
  20606. "conditionvalue": {
  20607. "description": "条件阈值(可为0)",
  20608. "type": "number"
  20609. },
  20610. "couponcategroy": {
  20611. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20612. "type": "integer"
  20613. },
  20614. "couponholdid": {
  20615. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20616. "type": "string"
  20617. },
  20618. "couponname": {
  20619. "description": "优惠券名称",
  20620. "type": "string"
  20621. },
  20622. "coupontypeid": {
  20623. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20624. "type": "string"
  20625. },
  20626. "couponvalue": {
  20627. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20628. "type": "number"
  20629. },
  20630. "createtime": {
  20631. "description": "创建时间",
  20632. "type": "string"
  20633. },
  20634. "enddate": {
  20635. "description": "结束日期",
  20636. "type": "string"
  20637. },
  20638. "giveapplyid": {
  20639. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20640. "type": "integer"
  20641. },
  20642. "holdstatus": {
  20643. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20644. "type": "integer"
  20645. },
  20646. "isgeneral": {
  20647. "description": "是否通用券 - 0:否 1:是",
  20648. "type": "integer"
  20649. },
  20650. "limitedflag": {
  20651. "description": "是否指定商品 - 0:不限 1:限制",
  20652. "type": "integer"
  20653. },
  20654. "limitedgoodsids": {
  20655. "description": "指定商品IDs[逗号分隔]",
  20656. "type": "string"
  20657. },
  20658. "qty": {
  20659. "description": "数量(按1平铺)",
  20660. "type": "integer"
  20661. },
  20662. "startdate": {
  20663. "description": "开始日期",
  20664. "type": "string"
  20665. },
  20666. "userid": {
  20667. "description": "用户ID",
  20668. "type": "integer"
  20669. },
  20670. "userscope": {
  20671. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20672. "type": "string"
  20673. }
  20674. }
  20675. },
  20676. "models.MyUsedCoupon": {
  20677. "type": "object",
  20678. "required": [
  20679. "coupontypeid",
  20680. "orderid"
  20681. ],
  20682. "properties": {
  20683. "accountid": {
  20684. "description": "资金账户ID(买方)",
  20685. "type": "integer"
  20686. },
  20687. "conditionvalue": {
  20688. "description": "条件阈值(可为0)",
  20689. "type": "number"
  20690. },
  20691. "couponcategroy": {
  20692. "description": "种类 - 1:现金券 2:折扣券",
  20693. "type": "integer"
  20694. },
  20695. "couponname": {
  20696. "description": "优惠券名称",
  20697. "type": "string"
  20698. },
  20699. "coupontypeid": {
  20700. "description": "优惠券类型ID(买方)",
  20701. "type": "string"
  20702. },
  20703. "couponvalue": {
  20704. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20705. "type": "number"
  20706. },
  20707. "createtime": {
  20708. "description": "创建时间",
  20709. "type": "string"
  20710. },
  20711. "goodsid": {
  20712. "description": "商品ID",
  20713. "type": "integer"
  20714. },
  20715. "handlestatus": {
  20716. "description": "处理状态",
  20717. "type": "integer"
  20718. },
  20719. "marketid": {
  20720. "description": "市场ID",
  20721. "type": "integer"
  20722. },
  20723. "offamount": {
  20724. "description": "优惠金额",
  20725. "type": "number"
  20726. },
  20727. "orderid": {
  20728. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20729. "type": "string"
  20730. },
  20731. "sellaccountid": {
  20732. "description": "资金账户ID(卖方)",
  20733. "type": "integer"
  20734. },
  20735. "tradeamount": {
  20736. "description": "成交金额",
  20737. "type": "number"
  20738. },
  20739. "tradeid": {
  20740. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20741. "type": "string"
  20742. },
  20743. "usedqty": {
  20744. "description": "使用数量",
  20745. "type": "integer"
  20746. }
  20747. }
  20748. },
  20749. "models.OperationPrimaryMenu": {
  20750. "type": "object",
  20751. "properties": {
  20752. "Children": {
  20753. "description": "二级功能菜单",
  20754. "type": "array",
  20755. "items": {
  20756. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20757. }
  20758. },
  20759. "Key": {
  20760. "description": "菜单KEY",
  20761. "type": "string"
  20762. },
  20763. "Label": {
  20764. "description": "菜单标题",
  20765. "type": "string"
  20766. }
  20767. }
  20768. },
  20769. "models.OperationSecondaryMenu": {
  20770. "type": "object",
  20771. "properties": {
  20772. "Key": {
  20773. "description": "菜单KEY",
  20774. "type": "string"
  20775. },
  20776. "Label": {
  20777. "description": "菜单标题",
  20778. "type": "string"
  20779. },
  20780. "TabList": {
  20781. "description": "三级功能菜单",
  20782. "type": "array",
  20783. "items": {
  20784. "$ref": "#/definitions/models.OperationTabMenu"
  20785. }
  20786. }
  20787. }
  20788. },
  20789. "models.OperationTabMenu": {
  20790. "type": "object",
  20791. "properties": {
  20792. "Key": {
  20793. "description": "菜单KEY",
  20794. "type": "string"
  20795. },
  20796. "Label": {
  20797. "description": "菜单标题",
  20798. "type": "string"
  20799. }
  20800. }
  20801. },
  20802. "models.PendingAuditBizModel": {
  20803. "type": "object",
  20804. "properties": {
  20805. "accountid": {
  20806. "description": "现货账户",
  20807. "type": "string"
  20808. },
  20809. "areaname": {
  20810. "description": "所属部门",
  20811. "type": "string"
  20812. },
  20813. "bizid": {
  20814. "description": "业务ID",
  20815. "type": "string"
  20816. },
  20817. "bizname": {
  20818. "description": "业务名称",
  20819. "type": "string"
  20820. },
  20821. "status": {
  20822. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20823. "type": "integer"
  20824. },
  20825. "type": {
  20826. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20827. "type": "integer"
  20828. }
  20829. }
  20830. },
  20831. "models.QueryErrorInfosRsp": {
  20832. "type": "object",
  20833. "required": [
  20834. "errorid"
  20835. ],
  20836. "properties": {
  20837. "description": {
  20838. "description": "异常描述",
  20839. "type": "string"
  20840. },
  20841. "errorcode": {
  20842. "description": "异常代码",
  20843. "type": "string"
  20844. },
  20845. "errorid": {
  20846. "description": "异常ID",
  20847. "type": "integer"
  20848. },
  20849. "modulecode": {
  20850. "description": "所属模块",
  20851. "type": "string"
  20852. },
  20853. "operatecode": {
  20854. "description": "所属操作",
  20855. "type": "string"
  20856. },
  20857. "rownumber": {
  20858. "description": "行号",
  20859. "type": "string"
  20860. }
  20861. }
  20862. },
  20863. "models.QueryHedgeOrderDetailRsp": {
  20864. "type": "object",
  20865. "properties": {
  20866. "accountid": {
  20867. "description": "账户ID",
  20868. "type": "integer"
  20869. },
  20870. "buyorsell": {
  20871. "description": "买卖 - 0:买 1:卖",
  20872. "type": "integer"
  20873. },
  20874. "cancellogincode": {
  20875. "description": "撤单人",
  20876. "type": "string"
  20877. },
  20878. "channelbuildtype": {
  20879. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20880. "type": "integer"
  20881. },
  20882. "channelinnerorderstatus": {
  20883. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20884. "type": "integer"
  20885. },
  20886. "channeloperatetype": {
  20887. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20888. "type": "integer"
  20889. },
  20890. "closetype": {
  20891. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20892. "type": "integer"
  20893. },
  20894. "curexchangerate": {
  20895. "description": "当前汇率",
  20896. "type": "number"
  20897. },
  20898. "exchangefullname": {
  20899. "description": "外部交易所全称",
  20900. "type": "string"
  20901. },
  20902. "goodscode": {
  20903. "description": "商品代码(内部)",
  20904. "type": "string"
  20905. },
  20906. "goodsid": {
  20907. "description": "商品ID",
  20908. "type": "integer"
  20909. },
  20910. "goodsname": {
  20911. "description": "商品名称",
  20912. "type": "string"
  20913. },
  20914. "marketid": {
  20915. "description": "市场ID",
  20916. "type": "integer"
  20917. },
  20918. "openfreezemargin": {
  20919. "description": "冻结保证金(冻结交易金额)",
  20920. "type": "number"
  20921. },
  20922. "orderid": {
  20923. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20924. "type": "string"
  20925. },
  20926. "orderlogincode": {
  20927. "description": "委托人",
  20928. "type": "string"
  20929. },
  20930. "orderprice": {
  20931. "description": "委托价格(账户)",
  20932. "type": "number"
  20933. },
  20934. "orderqty": {
  20935. "description": "委托数量",
  20936. "type": "integer"
  20937. },
  20938. "ordertime": {
  20939. "description": "委托时间",
  20940. "type": "string"
  20941. },
  20942. "pricemode": {
  20943. "description": "取价方式 - 1:市价 2: 限价",
  20944. "type": "integer"
  20945. },
  20946. "tradedate": {
  20947. "description": "交易日(yyyyMMdd)",
  20948. "type": "string"
  20949. },
  20950. "tradeqty": {
  20951. "description": "成交数量",
  20952. "type": "integer"
  20953. }
  20954. }
  20955. },
  20956. "models.QueryHedgeTradeDetailRsp": {
  20957. "type": "object",
  20958. "properties": {
  20959. "accountid": {
  20960. "description": "账号ID",
  20961. "type": "integer"
  20962. },
  20963. "buyorsell": {
  20964. "description": "方向 - 0:买 1:卖",
  20965. "type": "integer"
  20966. },
  20967. "channelbuildtype": {
  20968. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20969. "type": "integer"
  20970. },
  20971. "closecharge": {
  20972. "description": "平仓手续费(账户)",
  20973. "type": "number"
  20974. },
  20975. "closecharge2": {
  20976. "description": "平仓手续费(商品)",
  20977. "type": "number"
  20978. },
  20979. "closepl": {
  20980. "description": "平仓盈亏(账户)",
  20981. "type": "number"
  20982. },
  20983. "closepl2": {
  20984. "description": "平仓盈亏(商品)",
  20985. "type": "number"
  20986. },
  20987. "closepl3": {
  20988. "description": "平仓盈亏(账户)(逐笔)",
  20989. "type": "number"
  20990. },
  20991. "closepl4": {
  20992. "description": "平仓盈亏(商品)(逐笔)",
  20993. "type": "number"
  20994. },
  20995. "closetype": {
  20996. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20997. "type": "integer"
  20998. },
  20999. "curexchangerate": {
  21000. "description": "当前汇率",
  21001. "type": "number"
  21002. },
  21003. "exchangefullname": {
  21004. "description": "外部交易所全称",
  21005. "type": "string"
  21006. },
  21007. "goodscode": {
  21008. "description": "商品代码(内部)",
  21009. "type": "string"
  21010. },
  21011. "goodsid": {
  21012. "description": "商品ID",
  21013. "type": "integer"
  21014. },
  21015. "goodsname": {
  21016. "description": "商品名称",
  21017. "type": "string"
  21018. },
  21019. "marketid": {
  21020. "description": "市场ID",
  21021. "type": "integer"
  21022. },
  21023. "opencharge": {
  21024. "description": "建仓手续费(账户)",
  21025. "type": "number"
  21026. },
  21027. "opencharge2": {
  21028. "description": "建仓手续费(商品)",
  21029. "type": "number"
  21030. },
  21031. "orderid": {
  21032. "description": "委托单号",
  21033. "type": "string"
  21034. },
  21035. "orderlogincode": {
  21036. "description": "委托人",
  21037. "type": "string"
  21038. },
  21039. "tradeamount": {
  21040. "description": "成交金额(账户)",
  21041. "type": "number"
  21042. },
  21043. "tradedate": {
  21044. "description": "交易日(yyyyMMdd)",
  21045. "type": "string"
  21046. },
  21047. "tradeid": {
  21048. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21049. "type": "string"
  21050. },
  21051. "tradeprice": {
  21052. "description": "成交价格",
  21053. "type": "number"
  21054. },
  21055. "tradeqty": {
  21056. "description": "成交数量",
  21057. "type": "integer"
  21058. },
  21059. "tradetime": {
  21060. "description": "成交时间",
  21061. "type": "string"
  21062. },
  21063. "tradetype": {
  21064. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21065. "type": "integer"
  21066. }
  21067. }
  21068. },
  21069. "models.QuotePrimaryMenu": {
  21070. "type": "object",
  21071. "properties": {
  21072. "Index": {
  21073. "description": "序号",
  21074. "type": "integer"
  21075. },
  21076. "Key": {
  21077. "description": "键名",
  21078. "type": "string"
  21079. },
  21080. "Name": {
  21081. "description": "菜单名称",
  21082. "type": "string"
  21083. },
  21084. "SubMenus": {
  21085. "description": "子菜单",
  21086. "type": "array",
  21087. "items": {
  21088. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21089. }
  21090. },
  21091. "SubTitleType": {
  21092. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21093. "type": "integer"
  21094. },
  21095. "TradeModes": {
  21096. "description": "包含市场交易类型",
  21097. "type": "string"
  21098. }
  21099. }
  21100. },
  21101. "models.QuoteSecondaryMenu": {
  21102. "type": "object",
  21103. "properties": {
  21104. "ExExchangeCode": {
  21105. "description": "外部交易所代码",
  21106. "type": "string"
  21107. },
  21108. "ExExchangeID": {
  21109. "description": "外部交易所ID",
  21110. "type": "integer"
  21111. },
  21112. "GoodsGroupIDs": {
  21113. "description": "商品组ID列表",
  21114. "type": "array",
  21115. "items": {
  21116. "type": "integer"
  21117. }
  21118. },
  21119. "Index": {
  21120. "description": "序号",
  21121. "type": "integer"
  21122. },
  21123. "MarketID": {
  21124. "description": "市场ID",
  21125. "type": "integer"
  21126. },
  21127. "MenuTitle": {
  21128. "description": "菜单标题(市场名称或外部交易所名称)",
  21129. "type": "string"
  21130. },
  21131. "TradeMode": {
  21132. "description": "交易模式",
  21133. "type": "integer"
  21134. }
  21135. }
  21136. },
  21137. "models.RelatedGoodsEx": {
  21138. "type": "object",
  21139. "properties": {
  21140. "goodscode": {
  21141. "description": "商品代码",
  21142. "type": "string"
  21143. },
  21144. "goodsid": {
  21145. "description": "商品id",
  21146. "type": "integer"
  21147. },
  21148. "goodsname": {
  21149. "description": "商品名称",
  21150. "type": "string"
  21151. }
  21152. }
  21153. },
  21154. "models.SearchGoods": {
  21155. "type": "object",
  21156. "required": [
  21157. "goodscode",
  21158. "goodsid",
  21159. "goodsname",
  21160. "marketid",
  21161. "trademode"
  21162. ],
  21163. "properties": {
  21164. "goodscode": {
  21165. "description": "商品代码(内部)",
  21166. "type": "string"
  21167. },
  21168. "goodsid": {
  21169. "description": "商品ID(自增ID SEQ_GOODS)",
  21170. "type": "integer"
  21171. },
  21172. "goodsname": {
  21173. "description": "商品名称",
  21174. "type": "string"
  21175. },
  21176. "marketid": {
  21177. "description": "所属市场ID",
  21178. "type": "integer"
  21179. },
  21180. "marketname": {
  21181. "description": "市场名称",
  21182. "type": "string"
  21183. },
  21184. "trademode": {
  21185. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21186. "type": "integer"
  21187. }
  21188. }
  21189. },
  21190. "models.Systemparam": {
  21191. "type": "object",
  21192. "required": [
  21193. "paramcode"
  21194. ],
  21195. "properties": {
  21196. "loginid": {
  21197. "description": "更新用户账号,登录账号",
  21198. "type": "string"
  21199. },
  21200. "modifyflag": {
  21201. "description": "修改标志0 不允许修改 1 允许修改",
  21202. "type": "integer"
  21203. },
  21204. "paramcode": {
  21205. "description": "参数代码",
  21206. "type": "string"
  21207. },
  21208. "paramname": {
  21209. "description": "参数名",
  21210. "type": "string"
  21211. },
  21212. "paramtype": {
  21213. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21214. "type": "integer"
  21215. },
  21216. "paramvalue": {
  21217. "description": "参数值",
  21218. "type": "string"
  21219. },
  21220. "paramvalue2": {
  21221. "description": "参数值(CLOB)",
  21222. "type": "string"
  21223. },
  21224. "regexpress": {
  21225. "description": "正则表达式",
  21226. "type": "string"
  21227. },
  21228. "remark": {
  21229. "description": "备注",
  21230. "type": "string"
  21231. },
  21232. "serverip": {
  21233. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21234. "type": "string"
  21235. },
  21236. "showflag": {
  21237. "description": "是否显示0 不显示 1 显示",
  21238. "type": "integer"
  21239. },
  21240. "updatetime": {
  21241. "description": "更新时间",
  21242. "type": "string"
  21243. },
  21244. "userid": {
  21245. "description": "更新用户ID",
  21246. "type": "integer"
  21247. }
  21248. }
  21249. },
  21250. "models.Szdz3convertconfig": {
  21251. "type": "object",
  21252. "required": [
  21253. "converttype",
  21254. "innergoodsid",
  21255. "outergoodscode"
  21256. ],
  21257. "properties": {
  21258. "canin": {
  21259. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21260. "type": "integer"
  21261. },
  21262. "canout": {
  21263. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21264. "type": "integer"
  21265. },
  21266. "converttype": {
  21267. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21268. "type": "integer"
  21269. },
  21270. "createtime": {
  21271. "description": "创建时间",
  21272. "type": "string"
  21273. },
  21274. "creatorid": {
  21275. "description": "创建人",
  21276. "type": "integer"
  21277. },
  21278. "daymaxvalue": {
  21279. "description": "当日最大转入限制",
  21280. "type": "number"
  21281. },
  21282. "freezedays": {
  21283. "description": "冻结天数 [5:花生米转交易]",
  21284. "type": "integer"
  21285. },
  21286. "innergoodsid": {
  21287. "description": "内部商品ID[交易]",
  21288. "type": "integer"
  21289. },
  21290. "inratio": {
  21291. "description": "目标值",
  21292. "type": "integer"
  21293. },
  21294. "modifierid": {
  21295. "description": "修改人",
  21296. "type": "integer"
  21297. },
  21298. "modifytime": {
  21299. "description": "修改时间",
  21300. "type": "string"
  21301. },
  21302. "outergoodscode": {
  21303. "description": "外部商品代码[JD\\PD]",
  21304. "type": "string"
  21305. },
  21306. "outratio": {
  21307. "description": "源值",
  21308. "type": "integer"
  21309. },
  21310. "pddecimalplace": {
  21311. "description": "PD小数位",
  21312. "type": "integer"
  21313. },
  21314. "timemaxvalue": {
  21315. "description": "单次最大转入限制",
  21316. "type": "number"
  21317. },
  21318. "timeminvalue": {
  21319. "description": "单次最小转入限制",
  21320. "type": "number"
  21321. }
  21322. }
  21323. },
  21324. "models.Szdz3searchwhitelist": {
  21325. "type": "object",
  21326. "required": [
  21327. "userid"
  21328. ],
  21329. "properties": {
  21330. "createtime": {
  21331. "description": "创建时间",
  21332. "type": "string"
  21333. },
  21334. "creatorid": {
  21335. "description": "创建人",
  21336. "type": "integer"
  21337. },
  21338. "modifierid": {
  21339. "description": "修改人",
  21340. "type": "integer"
  21341. },
  21342. "modifytime": {
  21343. "description": "修改时间",
  21344. "type": "string"
  21345. },
  21346. "userid": {
  21347. "description": "用户ID",
  21348. "type": "integer"
  21349. }
  21350. }
  21351. },
  21352. "models.Taaccount": {
  21353. "type": "object",
  21354. "required": [
  21355. "accountid",
  21356. "userid"
  21357. ],
  21358. "properties": {
  21359. "accountflag": {
  21360. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21361. "type": "integer"
  21362. },
  21363. "accountid": {
  21364. "description": "资金账户ID",
  21365. "type": "integer"
  21366. },
  21367. "accountname": {
  21368. "description": "账户名称",
  21369. "type": "string"
  21370. },
  21371. "balance": {
  21372. "description": "期初余额",
  21373. "type": "number"
  21374. },
  21375. "capitalbalance": {
  21376. "description": "本金余额[外部子账户实际出入金余额]",
  21377. "type": "number"
  21378. },
  21379. "changeflag": {
  21380. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21381. "type": "integer"
  21382. },
  21383. "changetime": {
  21384. "description": "账户状态变更时间",
  21385. "type": "string"
  21386. },
  21387. "closepl": {
  21388. "description": "今日平仓盈亏",
  21389. "type": "number"
  21390. },
  21391. "creditdecrease": {
  21392. "description": "今日授信减少",
  21393. "type": "number"
  21394. },
  21395. "creditincrease": {
  21396. "description": "今日授信增加",
  21397. "type": "number"
  21398. },
  21399. "currencyid": {
  21400. "description": "货币ID",
  21401. "type": "integer"
  21402. },
  21403. "currentbalance": {
  21404. "description": "期末余额",
  21405. "type": "number"
  21406. },
  21407. "freezecharge": {
  21408. "description": "手续费冻结",
  21409. "type": "number"
  21410. },
  21411. "freezemargin": {
  21412. "description": "冻结保证金",
  21413. "type": "number"
  21414. },
  21415. "fromaccountid": {
  21416. "description": "所属上级账户",
  21417. "type": "integer"
  21418. },
  21419. "inamount": {
  21420. "description": "今日入金金额(包括三方入金)",
  21421. "type": "number"
  21422. },
  21423. "ismain": {
  21424. "description": "是否母账号 0:不是母账户 1:是母账户",
  21425. "type": "integer"
  21426. },
  21427. "ismarketaccount": {
  21428. "description": "是否机构接单账号 0:不是 1:是",
  21429. "type": "integer"
  21430. },
  21431. "isreckonaccount": {
  21432. "description": "是否机构分润账号 0:不是 1:是",
  21433. "type": "integer"
  21434. },
  21435. "mortgagecredit": {
  21436. "description": "授信金额",
  21437. "type": "number"
  21438. },
  21439. "orifreezecharge": {
  21440. "description": "期初手续费冻结",
  21441. "type": "number"
  21442. },
  21443. "orifreezemargin": {
  21444. "description": "期初冻结保证金",
  21445. "type": "number"
  21446. },
  21447. "orimortgagecredit": {
  21448. "description": "期初授信金额",
  21449. "type": "number"
  21450. },
  21451. "oriothercredit": {
  21452. "description": "期初其它授信金额",
  21453. "type": "number"
  21454. },
  21455. "oriotherfreezemargin": {
  21456. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21457. "type": "number"
  21458. },
  21459. "orioutamountfreeze": {
  21460. "description": "期初出金冻结",
  21461. "type": "number"
  21462. },
  21463. "oriusedmargin": {
  21464. "description": "期初占用保证金",
  21465. "type": "number"
  21466. },
  21467. "othercredit": {
  21468. "description": "其它授信金额",
  21469. "type": "number"
  21470. },
  21471. "othercreditdecrease": {
  21472. "description": "今日其它授信减少",
  21473. "type": "number"
  21474. },
  21475. "othercreditincrease": {
  21476. "description": "今日其它授信增加",
  21477. "type": "number"
  21478. },
  21479. "otherfreezemargin": {
  21480. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21481. "type": "number"
  21482. },
  21483. "otherincome": {
  21484. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21485. "type": "number"
  21486. },
  21487. "otherpay": {
  21488. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21489. "type": "number"
  21490. },
  21491. "outamount": {
  21492. "description": "今日出金金额(包括三方出金)",
  21493. "type": "number"
  21494. },
  21495. "outamountfreeze": {
  21496. "description": "出金冻结",
  21497. "type": "number"
  21498. },
  21499. "outthreshold": {
  21500. "description": "出金阈值",
  21501. "type": "number"
  21502. },
  21503. "parentaccountid": {
  21504. "description": "所属根账号",
  21505. "type": "integer"
  21506. },
  21507. "paycharge": {
  21508. "description": "今日手续费支出",
  21509. "type": "number"
  21510. },
  21511. "relatedaccountstatus": {
  21512. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21513. "type": "integer"
  21514. },
  21515. "relateduserid": {
  21516. "description": "关联用户",
  21517. "type": "integer"
  21518. },
  21519. "serivcegroup": {
  21520. "description": "服务分组",
  21521. "type": "integer"
  21522. },
  21523. "signstatus": {
  21524. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21525. "type": "integer"
  21526. },
  21527. "sublevelpath": {
  21528. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21529. "type": "string"
  21530. },
  21531. "taaccounttype": {
  21532. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21533. "type": "integer"
  21534. },
  21535. "thirdinamount": {
  21536. "description": "今日三方入金",
  21537. "type": "number"
  21538. },
  21539. "thirdoutamount": {
  21540. "description": "今日三方出金",
  21541. "type": "number"
  21542. },
  21543. "tradestatus": {
  21544. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21545. "type": "integer"
  21546. },
  21547. "tradestatuschangetime": {
  21548. "description": "激活时间",
  21549. "type": "string"
  21550. },
  21551. "transferamount": {
  21552. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21553. "type": "number"
  21554. },
  21555. "usedmargin": {
  21556. "description": "占用保证金",
  21557. "type": "number"
  21558. },
  21559. "userid": {
  21560. "description": "用户ID",
  21561. "type": "integer"
  21562. }
  21563. }
  21564. },
  21565. "models.Tablecolumnconfig": {
  21566. "type": "object",
  21567. "required": [
  21568. "autoid"
  21569. ],
  21570. "properties": {
  21571. "aligntype": {
  21572. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21573. "type": "integer"
  21574. },
  21575. "autoid": {
  21576. "description": "AutoID",
  21577. "type": "integer"
  21578. },
  21579. "columnfield": {
  21580. "description": "列字段",
  21581. "type": "string"
  21582. },
  21583. "columntitle": {
  21584. "description": "列Title",
  21585. "type": "string"
  21586. },
  21587. "columnwidth": {
  21588. "description": "列宽",
  21589. "type": "string"
  21590. },
  21591. "formatterstring": {
  21592. "description": "格式化字符",
  21593. "type": "string"
  21594. },
  21595. "formattertype": {
  21596. "description": "格式化类型",
  21597. "type": "string"
  21598. },
  21599. "groupname": {
  21600. "description": "表头分组名称",
  21601. "type": "string"
  21602. },
  21603. "isshow": {
  21604. "description": "是否显示 - 0:不显示 1:显示",
  21605. "type": "integer"
  21606. },
  21607. "needsummary": {
  21608. "description": "是否需要汇总 - 0:不需要 1:需要",
  21609. "type": "integer"
  21610. },
  21611. "orderindex": {
  21612. "description": "顺序",
  21613. "type": "integer"
  21614. },
  21615. "remark": {
  21616. "description": "备注",
  21617. "type": "string"
  21618. },
  21619. "summarytype": {
  21620. "description": "汇总类型 - 1:加总 2:最后一个",
  21621. "type": "integer"
  21622. },
  21623. "tablekey": {
  21624. "description": "列表Key",
  21625. "type": "string"
  21626. }
  21627. }
  21628. },
  21629. "models.Useraccount": {
  21630. "type": "object",
  21631. "required": [
  21632. "userid"
  21633. ],
  21634. "properties": {
  21635. "accountname": {
  21636. "description": "账户名称(机构名称)",
  21637. "type": "string"
  21638. },
  21639. "accountstatus": {
  21640. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21641. "type": "integer"
  21642. },
  21643. "auditremark": {
  21644. "description": "审核备注",
  21645. "type": "string"
  21646. },
  21647. "audittime": {
  21648. "description": "审核时间",
  21649. "type": "string"
  21650. },
  21651. "audituserid": {
  21652. "description": "审核人",
  21653. "type": "integer"
  21654. },
  21655. "broker": {
  21656. "description": "所属经纪人ID",
  21657. "type": "integer"
  21658. },
  21659. "canceltime": {
  21660. "description": "销户时间",
  21661. "type": "string"
  21662. },
  21663. "canceluserid": {
  21664. "description": "销户人",
  21665. "type": "integer"
  21666. },
  21667. "createtime": {
  21668. "description": "创建时间",
  21669. "type": "string"
  21670. },
  21671. "creatorid": {
  21672. "description": "创建人",
  21673. "type": "integer"
  21674. },
  21675. "hasauth": {
  21676. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21677. "type": "integer"
  21678. },
  21679. "isanonymous": {
  21680. "description": "是否匿名下单 - 0:否 1:是",
  21681. "type": "integer"
  21682. },
  21683. "maxinvestornum": {
  21684. "description": "最大用户数(经纪会员下投资者个数)",
  21685. "type": "integer"
  21686. },
  21687. "memberuserid": {
  21688. "description": "所属会员ID",
  21689. "type": "integer"
  21690. },
  21691. "modifierid": {
  21692. "description": "修改人",
  21693. "type": "integer"
  21694. },
  21695. "modifyremark": {
  21696. "description": "变更备注",
  21697. "type": "string"
  21698. },
  21699. "modifystatus": {
  21700. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21701. "type": "integer"
  21702. },
  21703. "modifytime": {
  21704. "description": "修改时间",
  21705. "type": "string"
  21706. },
  21707. "parentuserid": {
  21708. "description": "所属机构ID",
  21709. "type": "integer"
  21710. },
  21711. "reckonaccountid": {
  21712. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21713. "type": "integer"
  21714. },
  21715. "refercount": {
  21716. "description": "推荐总人数",
  21717. "type": "integer"
  21718. },
  21719. "refereeuserid": {
  21720. "description": "推荐人ID",
  21721. "type": "integer"
  21722. },
  21723. "refernum": {
  21724. "description": "推荐码",
  21725. "type": "string"
  21726. },
  21727. "subarealevelpath": {
  21728. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21729. "type": "string"
  21730. },
  21731. "userid": {
  21732. "description": "用户ID",
  21733. "type": "integer"
  21734. },
  21735. "usertype": {
  21736. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21737. "type": "integer"
  21738. }
  21739. }
  21740. },
  21741. "models.Userfavoritegoods": {
  21742. "type": "object",
  21743. "required": [
  21744. "goodsid"
  21745. ],
  21746. "properties": {
  21747. "goodsid": {
  21748. "description": "商品ID",
  21749. "type": "integer"
  21750. }
  21751. }
  21752. },
  21753. "models.Userinfo": {
  21754. "type": "object",
  21755. "required": [
  21756. "userid"
  21757. ],
  21758. "properties": {
  21759. "address": {
  21760. "description": "地址",
  21761. "type": "string"
  21762. },
  21763. "attachment1": {
  21764. "description": "附件1",
  21765. "type": "string"
  21766. },
  21767. "attachment2": {
  21768. "description": "附件2",
  21769. "type": "string"
  21770. },
  21771. "bankaccount": {
  21772. "description": "银行帐号 (加密存储)",
  21773. "type": "string"
  21774. },
  21775. "bankaccountname": {
  21776. "description": "收款人名称",
  21777. "type": "string"
  21778. },
  21779. "bankcardfrontphotourl": {
  21780. "description": "银行卡正面照地址",
  21781. "type": "string"
  21782. },
  21783. "bankid": {
  21784. "description": "银行编码",
  21785. "type": "string"
  21786. },
  21787. "bankname": {
  21788. "description": "银行名称",
  21789. "type": "string"
  21790. },
  21791. "biznature": {
  21792. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21793. "type": "integer"
  21794. },
  21795. "bizscope": {
  21796. "description": "企业经营范围(企业)",
  21797. "type": "string"
  21798. },
  21799. "cardbackphotourl": {
  21800. "description": "证件背面图片地址",
  21801. "type": "string"
  21802. },
  21803. "cardfrontphotourl": {
  21804. "description": "证件正面图片地址",
  21805. "type": "string"
  21806. },
  21807. "cardnum": {
  21808. "description": "证件号码(加密存储)",
  21809. "type": "string"
  21810. },
  21811. "cardtypeid": {
  21812. "description": "证件类型ID",
  21813. "type": "integer"
  21814. },
  21815. "cityid": {
  21816. "description": "市",
  21817. "type": "integer"
  21818. },
  21819. "company": {
  21820. "description": "公司(个人)",
  21821. "type": "string"
  21822. },
  21823. "contactname": {
  21824. "description": "联系人",
  21825. "type": "string"
  21826. },
  21827. "countryid": {
  21828. "description": "国家",
  21829. "type": "integer"
  21830. },
  21831. "createtime": {
  21832. "description": "创建时间",
  21833. "type": "string"
  21834. },
  21835. "creatorid": {
  21836. "description": "创建人",
  21837. "type": "integer"
  21838. },
  21839. "customername": {
  21840. "description": "客户名称(企业名称)",
  21841. "type": "string"
  21842. },
  21843. "districtid": {
  21844. "description": "地区",
  21845. "type": "integer"
  21846. },
  21847. "email": {
  21848. "description": "邮件(加密存储)",
  21849. "type": "string"
  21850. },
  21851. "fax": {
  21852. "description": "传真(加密存储)",
  21853. "type": "string"
  21854. },
  21855. "halfbodyphotourl": {
  21856. "description": "半身照地址",
  21857. "type": "string"
  21858. },
  21859. "hasencrypt": {
  21860. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21861. "type": "integer"
  21862. },
  21863. "headurl": {
  21864. "description": "头像地址",
  21865. "type": "string"
  21866. },
  21867. "legalcardbackphotourl": {
  21868. "description": "法人身份证背面照地址",
  21869. "type": "string"
  21870. },
  21871. "legalcardfrontphotourl": {
  21872. "description": "法人身份证正面照地址",
  21873. "type": "string"
  21874. },
  21875. "legalpersonname": {
  21876. "description": "法人姓名(企业)",
  21877. "type": "string"
  21878. },
  21879. "mobile": {
  21880. "description": "手机号码(加密存储)",
  21881. "type": "string"
  21882. },
  21883. "mobile2": {
  21884. "description": "手机号码[明文-尚志]",
  21885. "type": "string"
  21886. },
  21887. "modifierid": {
  21888. "description": "修改人",
  21889. "type": "integer"
  21890. },
  21891. "modifiertime": {
  21892. "description": "修改时间",
  21893. "type": "string"
  21894. },
  21895. "needinvoice": {
  21896. "description": "是否需要发票 - 0:不需要 1:需要",
  21897. "type": "integer"
  21898. },
  21899. "nickname": {
  21900. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21901. "type": "string"
  21902. },
  21903. "openmode": {
  21904. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21905. "type": "integer"
  21906. },
  21907. "otherurl": {
  21908. "description": "其它图片地址[使用分号分隔]",
  21909. "type": "string"
  21910. },
  21911. "postalcode": {
  21912. "description": "邮政编码",
  21913. "type": "string"
  21914. },
  21915. "provinceid": {
  21916. "description": "省",
  21917. "type": "integer"
  21918. },
  21919. "qq": {
  21920. "description": "QQ(加密存储",
  21921. "type": "string"
  21922. },
  21923. "remark": {
  21924. "description": "备注",
  21925. "type": "string"
  21926. },
  21927. "sex": {
  21928. "description": "用户性别 0: 女 1: 男",
  21929. "type": "integer"
  21930. },
  21931. "signpdfurl": {
  21932. "description": "签约pdf文件",
  21933. "type": "string"
  21934. },
  21935. "telphone": {
  21936. "description": "联系电话(加密存储)",
  21937. "type": "string"
  21938. },
  21939. "userid": {
  21940. "description": "用户ID",
  21941. "type": "integer"
  21942. },
  21943. "userinfotype": {
  21944. "description": "用户信息类型 - 1:个人 2:企业",
  21945. "type": "integer"
  21946. },
  21947. "userstatus": {
  21948. "description": "用户状态 - 1:正常 2:注销",
  21949. "type": "integer"
  21950. },
  21951. "usertype": {
  21952. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21953. "type": "integer"
  21954. },
  21955. "wechat": {
  21956. "description": "微信(加密存储)",
  21957. "type": "string"
  21958. },
  21959. "wskhinfo": {
  21960. "description": "开户申请信息(JSON)",
  21961. "type": "string"
  21962. }
  21963. }
  21964. },
  21965. "models.WRSConverTDetail": {
  21966. "type": "object",
  21967. "properties": {
  21968. "convertratio": {
  21969. "description": "套保系数",
  21970. "type": "number"
  21971. },
  21972. "deliverygoodscode": {
  21973. "description": "现货商品代码",
  21974. "type": "string"
  21975. },
  21976. "deliverygoodsid": {
  21977. "description": "现货品种ID",
  21978. "type": "integer"
  21979. },
  21980. "deliverygoodsname": {
  21981. "description": "现货商品名称",
  21982. "type": "string"
  21983. },
  21984. "enumdicname": {
  21985. "description": "单位名称",
  21986. "type": "string"
  21987. },
  21988. "goodsunitid": {
  21989. "description": "套保品种单位id",
  21990. "type": "integer"
  21991. },
  21992. "middlegoodscode": {
  21993. "description": "套保品种代码",
  21994. "type": "string"
  21995. },
  21996. "middlegoodsid": {
  21997. "description": "套保品种ID",
  21998. "type": "integer"
  21999. },
  22000. "middlegoodsname": {
  22001. "description": "套保品种名称",
  22002. "type": "string"
  22003. },
  22004. "modifytime": {
  22005. "description": "修改时间",
  22006. "type": "string"
  22007. },
  22008. "wrstandardid": {
  22009. "description": "品类ID",
  22010. "type": "integer"
  22011. }
  22012. }
  22013. },
  22014. "models.WRStandardInfo": {
  22015. "type": "object",
  22016. "required": [
  22017. "wrstandardid"
  22018. ],
  22019. "properties": {
  22020. "areauserid": {
  22021. "description": "所属机构",
  22022. "type": "integer"
  22023. },
  22024. "convertfactor": {
  22025. "description": "标仓系数",
  22026. "type": "number"
  22027. },
  22028. "createtime": {
  22029. "description": "创建时间",
  22030. "type": "string"
  22031. },
  22032. "creatorid": {
  22033. "description": "创建人",
  22034. "type": "integer"
  22035. },
  22036. "deliverygoodsid": {
  22037. "description": "品种ID",
  22038. "type": "integer"
  22039. },
  22040. "deliverygoodsname": {
  22041. "description": "交割商品名称",
  22042. "type": "string"
  22043. },
  22044. "factoryitemjson": {
  22045. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22046. "type": "string"
  22047. },
  22048. "isvalid": {
  22049. "description": "是否有效 - 0:无效 1:有效",
  22050. "type": "integer"
  22051. },
  22052. "minivalue": {
  22053. "description": "最小变动值",
  22054. "type": "integer"
  22055. },
  22056. "minivaluedp": {
  22057. "description": "最小变动值小数位",
  22058. "type": "integer"
  22059. },
  22060. "realminivalue": {
  22061. "description": "实际最小变动值",
  22062. "type": "integer"
  22063. },
  22064. "realminivaluedp": {
  22065. "description": "实际最小变动值小数位",
  22066. "type": "integer"
  22067. },
  22068. "remark": {
  22069. "description": "备注",
  22070. "type": "string"
  22071. },
  22072. "unitid": {
  22073. "description": "单位ID",
  22074. "type": "integer"
  22075. },
  22076. "unitname": {
  22077. "description": "单位",
  22078. "type": "string"
  22079. },
  22080. "updatetime": {
  22081. "description": "更新时间",
  22082. "type": "string"
  22083. },
  22084. "updatorid": {
  22085. "description": "更新人",
  22086. "type": "integer"
  22087. },
  22088. "wrsstatus": {
  22089. "description": "状态 - 作废 - 0:未激活 1:正常",
  22090. "type": "integer"
  22091. },
  22092. "wrstandardcode": {
  22093. "description": "现货品类代码",
  22094. "type": "string"
  22095. },
  22096. "wrstandardid": {
  22097. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22098. "type": "integer"
  22099. },
  22100. "wrstandardname": {
  22101. "description": "现货品类名称",
  22102. "type": "string"
  22103. }
  22104. }
  22105. },
  22106. "models.Warehouseinfo": {
  22107. "type": "object",
  22108. "required": [
  22109. "autoid",
  22110. "warehousecode"
  22111. ],
  22112. "properties": {
  22113. "address": {
  22114. "description": "详细地址",
  22115. "type": "string"
  22116. },
  22117. "areauserid": {
  22118. "description": "所属机构",
  22119. "type": "integer"
  22120. },
  22121. "autoid": {
  22122. "description": "自增ID",
  22123. "type": "integer"
  22124. },
  22125. "cityid": {
  22126. "description": "市",
  22127. "type": "integer"
  22128. },
  22129. "contactname": {
  22130. "description": "联系人",
  22131. "type": "string"
  22132. },
  22133. "contactnum": {
  22134. "description": "联系电话",
  22135. "type": "string"
  22136. },
  22137. "countryid": {
  22138. "description": "国家",
  22139. "type": "integer"
  22140. },
  22141. "createtime": {
  22142. "description": "创建时间",
  22143. "type": "string"
  22144. },
  22145. "districtid": {
  22146. "description": "区",
  22147. "type": "integer"
  22148. },
  22149. "hasvideo": {
  22150. "description": "是否有视频 - 0:无 1:有",
  22151. "type": "integer"
  22152. },
  22153. "provinceid": {
  22154. "description": "省",
  22155. "type": "integer"
  22156. },
  22157. "remark": {
  22158. "description": "审核备注",
  22159. "type": "string"
  22160. },
  22161. "videourl": {
  22162. "description": "视频地址",
  22163. "type": "string"
  22164. },
  22165. "warehousecode": {
  22166. "description": "仓库代码",
  22167. "type": "string"
  22168. },
  22169. "warehousename": {
  22170. "description": "仓库名称",
  22171. "type": "string"
  22172. },
  22173. "warehousestatus": {
  22174. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22175. "type": "integer"
  22176. },
  22177. "warehousetype": {
  22178. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22179. "type": "integer"
  22180. }
  22181. }
  22182. },
  22183. "order.QueryHisTradeDetailRsp": {
  22184. "type": "object",
  22185. "required": [
  22186. "accountid",
  22187. "buyorsell",
  22188. "goodsid",
  22189. "histradedate",
  22190. "marketid",
  22191. "memberuserid",
  22192. "orderid",
  22193. "tradeamount",
  22194. "tradedate",
  22195. "tradeid",
  22196. "tradeprice",
  22197. "tradeqty",
  22198. "tradetime"
  22199. ],
  22200. "properties": {
  22201. "accountid": {
  22202. "description": "账户ID[报价币种]",
  22203. "type": "integer"
  22204. },
  22205. "buildtype": {
  22206. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22207. "type": "integer"
  22208. },
  22209. "buyorsell": {
  22210. "description": "方向 - 0:买 1:卖",
  22211. "type": "integer"
  22212. },
  22213. "charge": {
  22214. "description": "手续费",
  22215. "type": "number"
  22216. },
  22217. "closecharge": {
  22218. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22219. "type": "number"
  22220. },
  22221. "closeexchagechargevalue": {
  22222. "description": "平仓交易所手续费设置值",
  22223. "type": "number"
  22224. },
  22225. "closefeealgorithm": {
  22226. "description": "平仓手续费收取方式 1:比率 2:固定",
  22227. "type": "integer"
  22228. },
  22229. "closememberchargevalue": {
  22230. "description": "平仓会员手续费设置值",
  22231. "type": "number"
  22232. },
  22233. "closepl": {
  22234. "description": "平仓盈亏",
  22235. "type": "number"
  22236. },
  22237. "closepl2": {
  22238. "description": "平仓盈亏[逐笔]",
  22239. "type": "number"
  22240. },
  22241. "closeqty": {
  22242. "description": "平仓数量(先建后平操作 需要记录)",
  22243. "type": "integer"
  22244. },
  22245. "creditamount": {
  22246. "description": "授信金额",
  22247. "type": "number"
  22248. },
  22249. "gcaccountid": {
  22250. "description": "账户ID[合约币种]",
  22251. "type": "integer"
  22252. },
  22253. "goodscode": {
  22254. "description": "商品代码",
  22255. "type": "string"
  22256. },
  22257. "goodsid": {
  22258. "description": "商品ID",
  22259. "type": "integer"
  22260. },
  22261. "goodsname": {
  22262. "description": "商品名称",
  22263. "type": "string"
  22264. },
  22265. "histradedate": {
  22266. "description": "历史交易日",
  22267. "type": "string"
  22268. },
  22269. "intclosepl": {
  22270. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22271. "type": "integer"
  22272. },
  22273. "isconfirmexercise": {
  22274. "description": "是否确认行权- 0:否 1:是",
  22275. "type": "integer"
  22276. },
  22277. "ismain": {
  22278. "description": "是否主单 - 0:不是 1:是",
  22279. "type": "integer"
  22280. },
  22281. "ispreexercise": {
  22282. "description": "是否预申报- 0:否 1:是",
  22283. "type": "integer"
  22284. },
  22285. "isreckoned": {
  22286. "description": "是否结算 - 0:未结算 1:已结算",
  22287. "type": "integer"
  22288. },
  22289. "isvaliddata": {
  22290. "description": "是否有效 - 0:无效 1:有效",
  22291. "type": "integer"
  22292. },
  22293. "listingselecttype": {
  22294. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22295. "type": "integer"
  22296. },
  22297. "marketid": {
  22298. "description": "市场ID",
  22299. "type": "integer"
  22300. },
  22301. "marketname": {
  22302. "description": "市场名称",
  22303. "type": "string"
  22304. },
  22305. "matchaccountid": {
  22306. "description": "对手账号id",
  22307. "type": "integer"
  22308. },
  22309. "memberuserid": {
  22310. "description": "会员id 个人投资者 需要填写",
  22311. "type": "integer"
  22312. },
  22313. "opencharge": {
  22314. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22315. "type": "number"
  22316. },
  22317. "openexchagechargevalue": {
  22318. "description": "建仓交易所手续费设置值",
  22319. "type": "number"
  22320. },
  22321. "openfeealgorithm": {
  22322. "description": "建仓手续费收取方式 1:比率 2:固定",
  22323. "type": "integer"
  22324. },
  22325. "openmemberchargevalue": {
  22326. "description": "建仓会员手续费设置值",
  22327. "type": "number"
  22328. },
  22329. "openqty": {
  22330. "description": "开仓数量(先建后平操作 需要记录)",
  22331. "type": "integer"
  22332. },
  22333. "optiontype": {
  22334. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22335. "type": "integer"
  22336. },
  22337. "orderid": {
  22338. "description": "委托单号",
  22339. "type": "string"
  22340. },
  22341. "performanceplanid": {
  22342. "description": "履约计划ID[期权]",
  22343. "type": "integer"
  22344. },
  22345. "performancestatus": {
  22346. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22347. "type": "integer"
  22348. },
  22349. "preexerciseprice": {
  22350. "description": "预申报价格",
  22351. "type": "number"
  22352. },
  22353. "premium": {
  22354. "description": "权利金 - [持仓单的权利金]",
  22355. "type": "number"
  22356. },
  22357. "relatedouttradeid": {
  22358. "description": "关联外部成交单ID",
  22359. "type": "integer"
  22360. },
  22361. "status": {
  22362. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22363. "type": "integer"
  22364. },
  22365. "tradeamount": {
  22366. "description": "成交金额[账户币种,用于所有权]",
  22367. "type": "number"
  22368. },
  22369. "tradedate": {
  22370. "description": "交易日(yyyyMMdd)",
  22371. "type": "string"
  22372. },
  22373. "tradeid": {
  22374. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22375. "type": "string"
  22376. },
  22377. "trademode": {
  22378. "description": "交易模式",
  22379. "type": "integer"
  22380. },
  22381. "tradeprice": {
  22382. "description": "成交价格",
  22383. "type": "number"
  22384. },
  22385. "tradeproperty": {
  22386. "description": "交易属性",
  22387. "type": "integer"
  22388. },
  22389. "tradeqty": {
  22390. "description": "成交数量",
  22391. "type": "integer"
  22392. },
  22393. "tradetime": {
  22394. "description": "成交时间",
  22395. "type": "string"
  22396. },
  22397. "tradetype": {
  22398. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22399. "type": "integer"
  22400. }
  22401. }
  22402. },
  22403. "order.QueryHisTradeOrderDetailRsp": {
  22404. "type": "object",
  22405. "required": [
  22406. "accountid",
  22407. "buildtype",
  22408. "buyorsell",
  22409. "goodsid",
  22410. "histradedate",
  22411. "marketid",
  22412. "memberuserid",
  22413. "operatetype",
  22414. "orderid",
  22415. "orderqty",
  22416. "ordertime",
  22417. "pricemode",
  22418. "tradedate",
  22419. "validtype"
  22420. ],
  22421. "properties": {
  22422. "accountid": {
  22423. "description": "账户ID[报价币种]",
  22424. "type": "integer"
  22425. },
  22426. "buildtype": {
  22427. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22428. "type": "integer"
  22429. },
  22430. "buyorsell": {
  22431. "description": "买卖 - 0:买 1:卖",
  22432. "type": "integer"
  22433. },
  22434. "cancelorderid": {
  22435. "description": "撤单单号(撤单时填写)",
  22436. "type": "string"
  22437. },
  22438. "cancelqty": {
  22439. "description": "撤单数量",
  22440. "type": "integer"
  22441. },
  22442. "clientordertime": {
  22443. "description": "客户端委托时间",
  22444. "type": "string"
  22445. },
  22446. "clientticket": {
  22447. "description": "客户端流水号",
  22448. "type": "string"
  22449. },
  22450. "clienttype": {
  22451. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22452. "type": "integer"
  22453. },
  22454. "closeexchagechargevalue": {
  22455. "description": "平仓交易所手续费设置值",
  22456. "type": "number"
  22457. },
  22458. "closefeealgorithm": {
  22459. "description": "平仓手续费收取方式 1:比率 2:固定",
  22460. "type": "integer"
  22461. },
  22462. "closefreezecharge": {
  22463. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22464. "type": "number"
  22465. },
  22466. "closememberchargevalue": {
  22467. "description": "平仓会员手续费设置值",
  22468. "type": "number"
  22469. },
  22470. "closeqty": {
  22471. "description": "平仓数量(先建后平操作 需要记录)",
  22472. "type": "integer"
  22473. },
  22474. "closetradeqty": {
  22475. "description": "平仓成交数量(先建后平操作,需要记录)",
  22476. "type": "integer"
  22477. },
  22478. "closeunfreezecharge": {
  22479. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22480. "type": "number"
  22481. },
  22482. "delistingtype": {
  22483. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22484. "type": "integer"
  22485. },
  22486. "freezecharge": {
  22487. "description": "冻结手续费",
  22488. "type": "number"
  22489. },
  22490. "freezemargin": {
  22491. "description": "冻结保证金(冻结交易金额)",
  22492. "type": "number"
  22493. },
  22494. "gcaccountid": {
  22495. "description": "账户ID[合约币种]",
  22496. "type": "integer"
  22497. },
  22498. "goodscode": {
  22499. "description": "商品代码",
  22500. "type": "string"
  22501. },
  22502. "goodsid": {
  22503. "description": "商品ID",
  22504. "type": "integer"
  22505. },
  22506. "goodsname": {
  22507. "description": "商品名称",
  22508. "type": "string"
  22509. },
  22510. "histradedate": {
  22511. "description": "历史交易日",
  22512. "type": "string"
  22513. },
  22514. "isconfirmexercise": {
  22515. "description": "是否确认行权- 0:否 1:是",
  22516. "type": "integer"
  22517. },
  22518. "ispreexercise": {
  22519. "description": "是否预申报- 0:否 1:是",
  22520. "type": "integer"
  22521. },
  22522. "isvaliddata": {
  22523. "description": "是否有效 - 0:无效 1:有效",
  22524. "type": "integer"
  22525. },
  22526. "listingselecttype": {
  22527. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22528. "type": "integer"
  22529. },
  22530. "marginalgorithm": {
  22531. "description": "保证金收取方式 1:比率 2:固定",
  22532. "type": "integer"
  22533. },
  22534. "marginvalue": {
  22535. "description": "即市保证金设置值",
  22536. "type": "number"
  22537. },
  22538. "marketid": {
  22539. "description": "市场ID",
  22540. "type": "integer"
  22541. },
  22542. "marketmaxsub": {
  22543. "description": "市价最大偏移范围",
  22544. "type": "number"
  22545. },
  22546. "marketname": {
  22547. "description": "市场名称",
  22548. "type": "string"
  22549. },
  22550. "memberuserid": {
  22551. "description": "所属会员UserID",
  22552. "type": "integer"
  22553. },
  22554. "openexchagechargevalue": {
  22555. "description": "建仓交易所手续费设置值",
  22556. "type": "number"
  22557. },
  22558. "openfeealgorithm": {
  22559. "description": "建仓手续费收取方式 1:比率 2:固定",
  22560. "type": "integer"
  22561. },
  22562. "openfreezecharge": {
  22563. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22564. "type": "number"
  22565. },
  22566. "openmemberchargevalue": {
  22567. "description": "建仓会员手续费设置值",
  22568. "type": "number"
  22569. },
  22570. "openqty": {
  22571. "description": "开仓数量(先建后平操作,需要记录)",
  22572. "type": "integer"
  22573. },
  22574. "opentradeqty": {
  22575. "description": "开仓成交数量(先建后平操作,需要记录)",
  22576. "type": "integer"
  22577. },
  22578. "openunfreezecharge": {
  22579. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22580. "type": "number"
  22581. },
  22582. "operatetype": {
  22583. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22584. "type": "integer"
  22585. },
  22586. "operatorid": {
  22587. "description": "登录账号(LoginID)",
  22588. "type": "integer"
  22589. },
  22590. "optiontype": {
  22591. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22592. "type": "integer"
  22593. },
  22594. "orderid": {
  22595. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22596. "type": "string"
  22597. },
  22598. "orderprice": {
  22599. "description": "委托价格",
  22600. "type": "number"
  22601. },
  22602. "orderqty": {
  22603. "description": "委托数量",
  22604. "type": "integer"
  22605. },
  22606. "ordersrc": {
  22607. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22608. "type": "integer"
  22609. },
  22610. "orderstatus": {
  22611. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22612. "type": "integer"
  22613. },
  22614. "ordertime": {
  22615. "description": "委托时间",
  22616. "type": "string"
  22617. },
  22618. "preexerciseprice": {
  22619. "description": "预申报价格",
  22620. "type": "number"
  22621. },
  22622. "premium": {
  22623. "description": "权利金",
  22624. "type": "number"
  22625. },
  22626. "preorderid": {
  22627. "description": "关联预埋单号(止盈止损单时填写)",
  22628. "type": "string"
  22629. },
  22630. "pricemode": {
  22631. "description": "取价方式 - 1:市价 2: 限价",
  22632. "type": "integer"
  22633. },
  22634. "quoteid": {
  22635. "description": "报价单ID",
  22636. "type": "integer"
  22637. },
  22638. "relatedid": {
  22639. "description": "关联单号(交割单)",
  22640. "type": "string"
  22641. },
  22642. "retcode": {
  22643. "description": "错误代码",
  22644. "type": "integer"
  22645. },
  22646. "sessionid": {
  22647. "description": "会话ID",
  22648. "type": "integer"
  22649. },
  22650. "tradedate": {
  22651. "description": "交易日(yyyyMMdd)",
  22652. "type": "string"
  22653. },
  22654. "trademode": {
  22655. "description": "交易模式",
  22656. "type": "integer"
  22657. },
  22658. "tradeproperty": {
  22659. "description": "交易属性",
  22660. "type": "integer"
  22661. },
  22662. "tradeqty": {
  22663. "description": "成交数量",
  22664. "type": "integer"
  22665. },
  22666. "unfreezecharge": {
  22667. "description": "解冻手续费",
  22668. "type": "number"
  22669. },
  22670. "unfreezemargin": {
  22671. "description": "解冻保证金",
  22672. "type": "number"
  22673. },
  22674. "updatetime": {
  22675. "description": "更新时间",
  22676. "type": "string"
  22677. },
  22678. "uuid": {
  22679. "description": "发起端唯一id",
  22680. "type": "string"
  22681. },
  22682. "validtime": {
  22683. "description": "有效期限",
  22684. "type": "string"
  22685. },
  22686. "validtype": {
  22687. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22688. "type": "integer"
  22689. },
  22690. "volumetype": {
  22691. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22692. "type": "integer"
  22693. }
  22694. }
  22695. },
  22696. "order.QueryTradeDetailRsp": {
  22697. "type": "object",
  22698. "required": [
  22699. "accountid",
  22700. "buyorsell",
  22701. "goodsid",
  22702. "marketid",
  22703. "memberuserid",
  22704. "orderid",
  22705. "tradeamount",
  22706. "tradedate",
  22707. "tradeid",
  22708. "tradeprice",
  22709. "tradeqty",
  22710. "tradetime"
  22711. ],
  22712. "properties": {
  22713. "accountid": {
  22714. "description": "账户ID[报价币种]",
  22715. "type": "integer"
  22716. },
  22717. "buildtype": {
  22718. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22719. "type": "integer"
  22720. },
  22721. "buyorsell": {
  22722. "description": "方向 - 0:买 1:卖",
  22723. "type": "integer"
  22724. },
  22725. "charge": {
  22726. "description": "手续费",
  22727. "type": "number"
  22728. },
  22729. "closecharge": {
  22730. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22731. "type": "number"
  22732. },
  22733. "closeexchagechargevalue": {
  22734. "description": "平仓交易所手续费设置值",
  22735. "type": "number"
  22736. },
  22737. "closefeealgorithm": {
  22738. "description": "平仓手续费收取方式 1:比率 2:固定",
  22739. "type": "integer"
  22740. },
  22741. "closememberchargevalue": {
  22742. "description": "平仓会员手续费设置值",
  22743. "type": "number"
  22744. },
  22745. "closepl": {
  22746. "description": "平仓盈亏",
  22747. "type": "number"
  22748. },
  22749. "closepl2": {
  22750. "description": "平仓盈亏[逐笔]",
  22751. "type": "number"
  22752. },
  22753. "closeqty": {
  22754. "description": "平仓数量(先建后平操作 需要记录)",
  22755. "type": "integer"
  22756. },
  22757. "creditamount": {
  22758. "description": "授信金额",
  22759. "type": "number"
  22760. },
  22761. "gcaccountid": {
  22762. "description": "账户ID[合约币种]",
  22763. "type": "integer"
  22764. },
  22765. "goodscode": {
  22766. "description": "商品代码",
  22767. "type": "string"
  22768. },
  22769. "goodsid": {
  22770. "description": "商品ID",
  22771. "type": "integer"
  22772. },
  22773. "goodsname": {
  22774. "description": "商品名称",
  22775. "type": "string"
  22776. },
  22777. "intclosepl": {
  22778. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22779. "type": "integer"
  22780. },
  22781. "isconfirmexercise": {
  22782. "description": "是否确认行权- 0:否 1:是",
  22783. "type": "integer"
  22784. },
  22785. "ismain": {
  22786. "description": "是否主单 - 0:不是 1:是",
  22787. "type": "integer"
  22788. },
  22789. "ispreexercise": {
  22790. "description": "是否预申报- 0:否 1:是",
  22791. "type": "integer"
  22792. },
  22793. "isreckoned": {
  22794. "description": "是否结算 - 0:未结算 1:已结算",
  22795. "type": "integer"
  22796. },
  22797. "listingselecttype": {
  22798. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22799. "type": "integer"
  22800. },
  22801. "marketid": {
  22802. "description": "市场ID",
  22803. "type": "integer"
  22804. },
  22805. "marketname": {
  22806. "description": "市场名称",
  22807. "type": "string"
  22808. },
  22809. "matchaccountid": {
  22810. "description": "对手账号id",
  22811. "type": "integer"
  22812. },
  22813. "memberuserid": {
  22814. "description": "会员id 个人投资者 需要填写",
  22815. "type": "integer"
  22816. },
  22817. "opencharge": {
  22818. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22819. "type": "number"
  22820. },
  22821. "openexchagechargevalue": {
  22822. "description": "建仓交易所手续费设置值",
  22823. "type": "number"
  22824. },
  22825. "openfeealgorithm": {
  22826. "description": "建仓手续费收取方式 1:比率 2:固定",
  22827. "type": "integer"
  22828. },
  22829. "openmemberchargevalue": {
  22830. "description": "建仓会员手续费设置值",
  22831. "type": "number"
  22832. },
  22833. "openqty": {
  22834. "description": "开仓数量(先建后平操作 需要记录)",
  22835. "type": "integer"
  22836. },
  22837. "optiontype": {
  22838. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22839. "type": "integer"
  22840. },
  22841. "orderid": {
  22842. "description": "委托单号",
  22843. "type": "string"
  22844. },
  22845. "performanceplanid": {
  22846. "description": "履约计划ID[期权]",
  22847. "type": "integer"
  22848. },
  22849. "performancestatus": {
  22850. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22851. "type": "integer"
  22852. },
  22853. "preexerciseprice": {
  22854. "description": "预申报价格",
  22855. "type": "number"
  22856. },
  22857. "premium": {
  22858. "description": "权利金 - [持仓单的权利金]",
  22859. "type": "number"
  22860. },
  22861. "relatedouttradeid": {
  22862. "description": "关联外部成交单ID",
  22863. "type": "integer"
  22864. },
  22865. "status": {
  22866. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22867. "type": "integer"
  22868. },
  22869. "tradeamount": {
  22870. "description": "成交金额[账户币种,用于所有权]",
  22871. "type": "number"
  22872. },
  22873. "tradedate": {
  22874. "description": "交易日(yyyyMMdd)",
  22875. "type": "string"
  22876. },
  22877. "tradeid": {
  22878. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22879. "type": "string"
  22880. },
  22881. "trademode": {
  22882. "description": "交易模式",
  22883. "type": "integer"
  22884. },
  22885. "tradeprice": {
  22886. "description": "成交价格",
  22887. "type": "number"
  22888. },
  22889. "tradeproperty": {
  22890. "description": "交易属性",
  22891. "type": "integer"
  22892. },
  22893. "tradeqty": {
  22894. "description": "成交数量",
  22895. "type": "integer"
  22896. },
  22897. "tradetime": {
  22898. "description": "成交时间",
  22899. "type": "string"
  22900. },
  22901. "tradetype": {
  22902. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22903. "type": "integer"
  22904. }
  22905. }
  22906. },
  22907. "order.QueryTradeOrderDetailRsp": {
  22908. "type": "object",
  22909. "required": [
  22910. "accountid",
  22911. "buildtype",
  22912. "buyorsell",
  22913. "goodsid",
  22914. "marketid",
  22915. "operatetype",
  22916. "orderqty",
  22917. "ordertime",
  22918. "pricemode",
  22919. "tradedate",
  22920. "validtype"
  22921. ],
  22922. "properties": {
  22923. "accountid": {
  22924. "description": "账户ID[报价币种]",
  22925. "type": "integer"
  22926. },
  22927. "buildtype": {
  22928. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22929. "type": "integer"
  22930. },
  22931. "buyorsell": {
  22932. "description": "买卖 - 0:买 1:卖",
  22933. "type": "integer"
  22934. },
  22935. "cancelorderid": {
  22936. "description": "撤单单号(撤单时填写)",
  22937. "type": "string"
  22938. },
  22939. "cancelqty": {
  22940. "description": "撤单数量",
  22941. "type": "integer"
  22942. },
  22943. "clienttype": {
  22944. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22945. "type": "integer"
  22946. },
  22947. "closefreezecharge": {
  22948. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22949. "type": "number"
  22950. },
  22951. "closeqty": {
  22952. "description": "平仓数量(先建后平操作 需要记录)",
  22953. "type": "integer"
  22954. },
  22955. "closetradeqty": {
  22956. "description": "平仓成交数量(先建后平操作,需要记录)",
  22957. "type": "integer"
  22958. },
  22959. "closeunfreezecharge": {
  22960. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22961. "type": "number"
  22962. },
  22963. "delistingtype": {
  22964. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22965. "type": "integer"
  22966. },
  22967. "enableqty": {
  22968. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22969. "type": "integer"
  22970. },
  22971. "freezecharge": {
  22972. "description": "冻结手续费",
  22973. "type": "number"
  22974. },
  22975. "freezemargin": {
  22976. "description": "冻结保证金(冻结交易金额)",
  22977. "type": "number"
  22978. },
  22979. "goodscode": {
  22980. "description": "商品代码",
  22981. "type": "string"
  22982. },
  22983. "goodsid": {
  22984. "description": "商品ID",
  22985. "type": "integer"
  22986. },
  22987. "goodsname": {
  22988. "description": "商品名称",
  22989. "type": "string"
  22990. },
  22991. "listingselecttype": {
  22992. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22993. "type": "integer"
  22994. },
  22995. "marketid": {
  22996. "description": "市场ID",
  22997. "type": "integer"
  22998. },
  22999. "marketname": {
  23000. "description": "市场名称",
  23001. "type": "string"
  23002. },
  23003. "openfreezecharge": {
  23004. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23005. "type": "number"
  23006. },
  23007. "openqty": {
  23008. "description": "开仓数量(先建后平操作,需要记录)",
  23009. "type": "integer"
  23010. },
  23011. "opentradeqty": {
  23012. "description": "开仓成交数量(先建后平操作,需要记录)",
  23013. "type": "integer"
  23014. },
  23015. "openunfreezecharge": {
  23016. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23017. "type": "number"
  23018. },
  23019. "operatetype": {
  23020. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23021. "type": "integer"
  23022. },
  23023. "operatorid": {
  23024. "description": "登录账号(LoginID)",
  23025. "type": "integer"
  23026. },
  23027. "orderid": {
  23028. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23029. "type": "string"
  23030. },
  23031. "orderprice": {
  23032. "description": "委托价格",
  23033. "type": "number"
  23034. },
  23035. "orderqty": {
  23036. "description": "委托数量",
  23037. "type": "integer"
  23038. },
  23039. "ordersrc": {
  23040. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23041. "type": "integer"
  23042. },
  23043. "orderstatus": {
  23044. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23045. "type": "integer"
  23046. },
  23047. "ordertime": {
  23048. "description": "委托时间",
  23049. "type": "string"
  23050. },
  23051. "preorderid": {
  23052. "description": "关联预埋单号(止盈止损单时填写)",
  23053. "type": "string"
  23054. },
  23055. "pricemode": {
  23056. "description": "取价方式 - 1:市价 2: 限价",
  23057. "type": "integer"
  23058. },
  23059. "relatedid": {
  23060. "description": "关联单号(交割单)",
  23061. "type": "string"
  23062. },
  23063. "tradedate": {
  23064. "description": "交易日(yyyyMMdd)",
  23065. "type": "string"
  23066. },
  23067. "trademode": {
  23068. "description": "交易模式",
  23069. "type": "integer"
  23070. },
  23071. "tradeqty": {
  23072. "description": "成交数量",
  23073. "type": "integer"
  23074. },
  23075. "unfreezecharge": {
  23076. "description": "解冻手续费",
  23077. "type": "number"
  23078. },
  23079. "unfreezemargin": {
  23080. "description": "解冻保证金",
  23081. "type": "number"
  23082. },
  23083. "validtime": {
  23084. "description": "有效期限",
  23085. "type": "string"
  23086. },
  23087. "validtype": {
  23088. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23089. "type": "integer"
  23090. },
  23091. "volumetype": {
  23092. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23093. "type": "integer"
  23094. }
  23095. }
  23096. },
  23097. "order.QueryTradePositionRsp": {
  23098. "type": "object",
  23099. "required": [
  23100. "goodsid"
  23101. ],
  23102. "properties": {
  23103. "accountid": {
  23104. "description": "资金账户",
  23105. "type": "integer"
  23106. },
  23107. "agreeunit": {
  23108. "description": "合约单位",
  23109. "type": "number"
  23110. },
  23111. "averageprice": {
  23112. "description": "持仓均价",
  23113. "type": "number"
  23114. },
  23115. "buyorsell": {
  23116. "description": "方向 - 0:买 1:卖",
  23117. "type": "integer"
  23118. },
  23119. "closetotalqty": {
  23120. "description": "平仓总数量",
  23121. "type": "integer"
  23122. },
  23123. "curholderamount": {
  23124. "description": "当前持仓总金额[商品币种]",
  23125. "type": "number"
  23126. },
  23127. "curpositionqty": {
  23128. "description": "当前持仓总数量",
  23129. "type": "integer"
  23130. },
  23131. "currencyid": {
  23132. "description": "报价货币ID",
  23133. "type": "integer"
  23134. },
  23135. "curtdposition": {
  23136. "description": "期末今日头寸",
  23137. "type": "integer"
  23138. },
  23139. "decimalplace": {
  23140. "description": "报价小数位",
  23141. "type": "integer"
  23142. },
  23143. "enableqty": {
  23144. "description": "可用量",
  23145. "type": "integer"
  23146. },
  23147. "fretdposition": {
  23148. "description": "冻结今日头寸",
  23149. "type": "integer"
  23150. },
  23151. "frozenqty": {
  23152. "description": "持仓冻结数量",
  23153. "type": "integer"
  23154. },
  23155. "goodscode": {
  23156. "description": "商品代码",
  23157. "type": "string"
  23158. },
  23159. "goodsid": {
  23160. "description": "商品Id",
  23161. "type": "integer"
  23162. },
  23163. "goodsname": {
  23164. "description": "商品名称",
  23165. "type": "string"
  23166. },
  23167. "goodunit": {
  23168. "description": "报价单位",
  23169. "type": "string"
  23170. },
  23171. "goodunitid": {
  23172. "description": "报价单位ID",
  23173. "type": "integer"
  23174. },
  23175. "holderamount": {
  23176. "description": "期初持仓总金额[商品币种]",
  23177. "type": "number"
  23178. },
  23179. "marketid": {
  23180. "description": "所属市场ID",
  23181. "type": "integer"
  23182. },
  23183. "openreqqty": {
  23184. "description": "开仓申请数量(用于比较最大持仓数量)",
  23185. "type": "integer"
  23186. },
  23187. "opentotalqty": {
  23188. "description": "开仓总数量",
  23189. "type": "integer"
  23190. },
  23191. "otherfrozenqty": {
  23192. "description": "持仓其他冻结数量(交割冻结)",
  23193. "type": "integer"
  23194. },
  23195. "positionqty": {
  23196. "description": "期初持仓数量",
  23197. "type": "integer"
  23198. },
  23199. "tnqty": {
  23200. "description": "T+N冻结总量",
  23201. "type": "integer"
  23202. },
  23203. "tnusedqty": {
  23204. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23205. "type": "integer"
  23206. },
  23207. "trademode": {
  23208. "description": "交易模式",
  23209. "type": "integer"
  23210. },
  23211. "usedmargin": {
  23212. "description": "占用保证金[商品币种]",
  23213. "type": "number"
  23214. }
  23215. }
  23216. },
  23217. "quote.HistoryData": {
  23218. "type": "object",
  23219. "properties": {
  23220. "c": {
  23221. "description": "收盘价",
  23222. "type": "number"
  23223. },
  23224. "f": {
  23225. "description": "是否补充数据",
  23226. "type": "boolean"
  23227. },
  23228. "h": {
  23229. "description": "最高价",
  23230. "type": "number"
  23231. },
  23232. "hv": {
  23233. "description": "持仓量",
  23234. "type": "integer"
  23235. },
  23236. "l": {
  23237. "description": "最低价",
  23238. "type": "number"
  23239. },
  23240. "o": {
  23241. "description": "开盘价",
  23242. "type": "number"
  23243. },
  23244. "s": {
  23245. "description": "结算价,日线周期(包括)以上才有",
  23246. "type": "number"
  23247. },
  23248. "ts": {
  23249. "description": "时间",
  23250. "type": "string"
  23251. },
  23252. "tt": {
  23253. "description": "总金额",
  23254. "type": "number"
  23255. },
  23256. "tv": {
  23257. "description": "总量",
  23258. "type": "integer"
  23259. }
  23260. }
  23261. },
  23262. "quote.HistoryTikData": {
  23263. "type": "object",
  23264. "properties": {
  23265. "AV": {
  23266. "description": "卖量",
  23267. "type": "integer"
  23268. },
  23269. "Ask": {
  23270. "description": "卖价",
  23271. "type": "number"
  23272. },
  23273. "BV": {
  23274. "description": "买量",
  23275. "type": "integer"
  23276. },
  23277. "Bid": {
  23278. "description": "买价",
  23279. "type": "number"
  23280. },
  23281. "HI": {
  23282. "description": "单笔持仓",
  23283. "type": "integer"
  23284. },
  23285. "HV": {
  23286. "description": "持仓量",
  23287. "type": "integer"
  23288. },
  23289. "PE": {
  23290. "description": "现价",
  23291. "type": "number"
  23292. },
  23293. "TDR": {
  23294. "description": "交易方向,0:买 1:卖",
  23295. "type": "integer"
  23296. },
  23297. "TK": {
  23298. "description": "交易类型",
  23299. "type": "integer"
  23300. },
  23301. "TS": {
  23302. "description": "行情时间文本",
  23303. "type": "string"
  23304. },
  23305. "TT": {
  23306. "description": "现金额",
  23307. "type": "number"
  23308. },
  23309. "Vol": {
  23310. "description": "现量",
  23311. "type": "integer"
  23312. }
  23313. }
  23314. },
  23315. "quote.QueryQuoteDayRsp": {
  23316. "type": "object",
  23317. "properties": {
  23318. "ask": {
  23319. "description": "卖1",
  23320. "type": "number"
  23321. },
  23322. "ask10": {
  23323. "description": "卖10",
  23324. "type": "number"
  23325. },
  23326. "ask2": {
  23327. "description": "卖2",
  23328. "type": "number"
  23329. },
  23330. "ask3": {
  23331. "description": "卖3",
  23332. "type": "number"
  23333. },
  23334. "ask4": {
  23335. "description": "卖4",
  23336. "type": "number"
  23337. },
  23338. "ask5": {
  23339. "description": "卖5",
  23340. "type": "number"
  23341. },
  23342. "ask6": {
  23343. "description": "卖6",
  23344. "type": "number"
  23345. },
  23346. "ask7": {
  23347. "description": "卖7",
  23348. "type": "number"
  23349. },
  23350. "ask8": {
  23351. "description": "卖8",
  23352. "type": "number"
  23353. },
  23354. "ask9": {
  23355. "description": "卖9",
  23356. "type": "number"
  23357. },
  23358. "askorderid": {
  23359. "description": "卖单号1",
  23360. "type": "integer"
  23361. },
  23362. "askorderid2": {
  23363. "description": "卖单号2",
  23364. "type": "integer"
  23365. },
  23366. "askorderid3": {
  23367. "description": "卖单号3",
  23368. "type": "integer"
  23369. },
  23370. "askorderid4": {
  23371. "description": "卖单号4",
  23372. "type": "integer"
  23373. },
  23374. "askorderid5": {
  23375. "description": "卖单号5",
  23376. "type": "integer"
  23377. },
  23378. "askordervolume": {
  23379. "description": "卖单量1",
  23380. "type": "integer"
  23381. },
  23382. "askordervolume10": {
  23383. "description": "卖单量10",
  23384. "type": "integer"
  23385. },
  23386. "askordervolume2": {
  23387. "description": "卖单量2",
  23388. "type": "integer"
  23389. },
  23390. "askordervolume3": {
  23391. "description": "卖单量3",
  23392. "type": "integer"
  23393. },
  23394. "askordervolume4": {
  23395. "description": "卖单量4",
  23396. "type": "integer"
  23397. },
  23398. "askordervolume5": {
  23399. "description": "卖单量5",
  23400. "type": "integer"
  23401. },
  23402. "askordervolume6": {
  23403. "description": "卖单量6",
  23404. "type": "integer"
  23405. },
  23406. "askordervolume7": {
  23407. "description": "卖单量7",
  23408. "type": "integer"
  23409. },
  23410. "askordervolume8": {
  23411. "description": "卖单量8",
  23412. "type": "integer"
  23413. },
  23414. "askordervolume9": {
  23415. "description": "卖单量9",
  23416. "type": "integer"
  23417. },
  23418. "askqueueinfo": {
  23419. "description": "大利市卖港股用",
  23420. "type": "string"
  23421. },
  23422. "askvolume": {
  23423. "description": "卖量1",
  23424. "type": "integer"
  23425. },
  23426. "askvolume10": {
  23427. "description": "卖量10",
  23428. "type": "integer"
  23429. },
  23430. "askvolume2": {
  23431. "description": "卖量2",
  23432. "type": "integer"
  23433. },
  23434. "askvolume3": {
  23435. "description": "卖量3",
  23436. "type": "integer"
  23437. },
  23438. "askvolume4": {
  23439. "description": "卖量4",
  23440. "type": "integer"
  23441. },
  23442. "askvolume5": {
  23443. "description": "卖量5",
  23444. "type": "integer"
  23445. },
  23446. "askvolume6": {
  23447. "description": "卖量6",
  23448. "type": "integer"
  23449. },
  23450. "askvolume7": {
  23451. "description": "卖量7",
  23452. "type": "integer"
  23453. },
  23454. "askvolume8": {
  23455. "description": "卖量8",
  23456. "type": "integer"
  23457. },
  23458. "askvolume9": {
  23459. "description": "卖量9",
  23460. "type": "integer"
  23461. },
  23462. "averageprice": {
  23463. "description": "均价",
  23464. "type": "number"
  23465. },
  23466. "bid": {
  23467. "description": "买1",
  23468. "type": "number"
  23469. },
  23470. "bid10": {
  23471. "description": "买10",
  23472. "type": "number"
  23473. },
  23474. "bid2": {
  23475. "description": "买2",
  23476. "type": "number"
  23477. },
  23478. "bid3": {
  23479. "description": "买3",
  23480. "type": "number"
  23481. },
  23482. "bid4": {
  23483. "description": "买4",
  23484. "type": "number"
  23485. },
  23486. "bid5": {
  23487. "description": "买5",
  23488. "type": "number"
  23489. },
  23490. "bid6": {
  23491. "description": "买6",
  23492. "type": "number"
  23493. },
  23494. "bid7": {
  23495. "description": "买7",
  23496. "type": "number"
  23497. },
  23498. "bid8": {
  23499. "description": "买8",
  23500. "type": "number"
  23501. },
  23502. "bid9": {
  23503. "description": "买9",
  23504. "type": "number"
  23505. },
  23506. "bidorderid": {
  23507. "description": "买单号1",
  23508. "type": "integer"
  23509. },
  23510. "bidorderid2": {
  23511. "description": "买单号2",
  23512. "type": "integer"
  23513. },
  23514. "bidorderid3": {
  23515. "description": "买单号3",
  23516. "type": "integer"
  23517. },
  23518. "bidorderid4": {
  23519. "description": "买单号4",
  23520. "type": "integer"
  23521. },
  23522. "bidorderid5": {
  23523. "description": "买单号5",
  23524. "type": "integer"
  23525. },
  23526. "bidordervolume": {
  23527. "description": "买单量1",
  23528. "type": "integer"
  23529. },
  23530. "bidordervolume10": {
  23531. "description": "买单量10",
  23532. "type": "integer"
  23533. },
  23534. "bidordervolume2": {
  23535. "description": "买单量2",
  23536. "type": "integer"
  23537. },
  23538. "bidordervolume3": {
  23539. "description": "买单量3",
  23540. "type": "integer"
  23541. },
  23542. "bidordervolume4": {
  23543. "description": "买单量4",
  23544. "type": "integer"
  23545. },
  23546. "bidordervolume5": {
  23547. "description": "买单量5",
  23548. "type": "integer"
  23549. },
  23550. "bidordervolume6": {
  23551. "description": "买单量6",
  23552. "type": "integer"
  23553. },
  23554. "bidordervolume7": {
  23555. "description": "买单量7",
  23556. "type": "integer"
  23557. },
  23558. "bidordervolume8": {
  23559. "description": "买单量8",
  23560. "type": "integer"
  23561. },
  23562. "bidordervolume9": {
  23563. "description": "买单量9",
  23564. "type": "integer"
  23565. },
  23566. "bidqueueinfo": {
  23567. "description": "大利市买港股用",
  23568. "type": "string"
  23569. },
  23570. "bidvolume": {
  23571. "description": "买量1",
  23572. "type": "integer"
  23573. },
  23574. "bidvolume10": {
  23575. "description": "买量10",
  23576. "type": "integer"
  23577. },
  23578. "bidvolume2": {
  23579. "description": "买量2",
  23580. "type": "integer"
  23581. },
  23582. "bidvolume3": {
  23583. "description": "买量3",
  23584. "type": "integer"
  23585. },
  23586. "bidvolume4": {
  23587. "description": "买量4",
  23588. "type": "integer"
  23589. },
  23590. "bidvolume5": {
  23591. "description": "买量5",
  23592. "type": "integer"
  23593. },
  23594. "bidvolume6": {
  23595. "description": "买量6",
  23596. "type": "integer"
  23597. },
  23598. "bidvolume7": {
  23599. "description": "买量7",
  23600. "type": "integer"
  23601. },
  23602. "bidvolume8": {
  23603. "description": "买量8",
  23604. "type": "integer"
  23605. },
  23606. "bidvolume9": {
  23607. "description": "买量9",
  23608. "type": "integer"
  23609. },
  23610. "calloptionpremiums": {
  23611. "description": "认购期权1",
  23612. "type": "integer"
  23613. },
  23614. "calloptionpremiums2": {
  23615. "description": "认购期权2",
  23616. "type": "integer"
  23617. },
  23618. "calloptionpremiums3": {
  23619. "description": "认购期权3",
  23620. "type": "integer"
  23621. },
  23622. "calloptionpremiums4": {
  23623. "description": "认购期权4",
  23624. "type": "integer"
  23625. },
  23626. "calloptionpremiums5": {
  23627. "description": "认购期权5",
  23628. "type": "integer"
  23629. },
  23630. "cleartime": {
  23631. "description": "清盘时间",
  23632. "type": "integer"
  23633. },
  23634. "exchangecode": {
  23635. "description": "交易所代码",
  23636. "type": "integer"
  23637. },
  23638. "exchangedate": {
  23639. "description": "交易日",
  23640. "type": "integer"
  23641. },
  23642. "goodscode": {
  23643. "description": "商品代码",
  23644. "type": "string"
  23645. },
  23646. "grepmarketprice": {
  23647. "description": "暗盘价 港股专用",
  23648. "type": "number"
  23649. },
  23650. "highest": {
  23651. "description": "最高价",
  23652. "type": "number"
  23653. },
  23654. "holdincrement": {
  23655. "description": "单笔持仓",
  23656. "type": "integer"
  23657. },
  23658. "holdvolume": {
  23659. "description": "持仓",
  23660. "type": "integer"
  23661. },
  23662. "iep": {
  23663. "description": "平衡价 港股专用",
  23664. "type": "number"
  23665. },
  23666. "iev": {
  23667. "description": "平衡量 港股专用",
  23668. "type": "number"
  23669. },
  23670. "inventory": {
  23671. "description": "库存",
  23672. "type": "integer"
  23673. },
  23674. "iscleared": {
  23675. "description": "是否清盘标志",
  23676. "type": "integer"
  23677. },
  23678. "issettled": {
  23679. "description": "是否结算标志",
  23680. "type": "integer"
  23681. },
  23682. "last": {
  23683. "description": "最新价",
  23684. "type": "number"
  23685. },
  23686. "lastlot": {
  23687. "description": "最新成交手数",
  23688. "type": "integer"
  23689. },
  23690. "lasttime": {
  23691. "description": "行情时间(只有现价变化行情时间才变化)",
  23692. "type": "string"
  23693. },
  23694. "lastturnover": {
  23695. "description": "最新成交金额",
  23696. "type": "number"
  23697. },
  23698. "lastvolume": {
  23699. "description": "最新成交量",
  23700. "type": "integer"
  23701. },
  23702. "limitdown": {
  23703. "description": "跌停价",
  23704. "type": "number"
  23705. },
  23706. "limitup": {
  23707. "description": "涨停价",
  23708. "type": "number"
  23709. },
  23710. "lowest": {
  23711. "description": "最低价",
  23712. "type": "number"
  23713. },
  23714. "nontotalholdervolume": {
  23715. "description": "非交易持仓量",
  23716. "type": "integer"
  23717. },
  23718. "nontotallot": {
  23719. "description": "非交易总手数",
  23720. "type": "integer"
  23721. },
  23722. "nontotalturnover": {
  23723. "description": "非交易总金额",
  23724. "type": "integer"
  23725. },
  23726. "nontotalvolume": {
  23727. "description": "非交易总量",
  23728. "type": "integer"
  23729. },
  23730. "opened": {
  23731. "description": "开盘价",
  23732. "type": "number"
  23733. },
  23734. "opentime": {
  23735. "description": "开盘时间",
  23736. "type": "string"
  23737. },
  23738. "orderid": {
  23739. "description": "序号",
  23740. "type": "integer"
  23741. },
  23742. "preclose": {
  23743. "description": "昨收",
  23744. "type": "number"
  23745. },
  23746. "preholdvolume": {
  23747. "description": "昨持仓",
  23748. "type": "integer"
  23749. },
  23750. "presettle": {
  23751. "description": "昨结价",
  23752. "type": "number"
  23753. },
  23754. "publictradetype": {
  23755. "description": "公共交易标志类型 港股专用",
  23756. "type": "string"
  23757. },
  23758. "putoptionpremiums": {
  23759. "description": "认沽期权1",
  23760. "type": "integer"
  23761. },
  23762. "putoptionpremiums2": {
  23763. "description": "认沽期权2",
  23764. "type": "integer"
  23765. },
  23766. "putoptionpremiums3": {
  23767. "description": "认沽期权3",
  23768. "type": "integer"
  23769. },
  23770. "putoptionpremiums4": {
  23771. "description": "认沽期权4",
  23772. "type": "integer"
  23773. },
  23774. "putoptionpremiums5": {
  23775. "description": "认沽期权5",
  23776. "type": "integer"
  23777. },
  23778. "settle": {
  23779. "description": "结算价",
  23780. "type": "number"
  23781. },
  23782. "strikeprice": {
  23783. "description": "发行价",
  23784. "type": "number"
  23785. },
  23786. "totalaskvolume": {
  23787. "description": "内盘",
  23788. "type": "integer"
  23789. },
  23790. "totalbidvolume": {
  23791. "description": "外盘",
  23792. "type": "integer"
  23793. },
  23794. "totallot": {
  23795. "description": "总手数",
  23796. "type": "integer"
  23797. },
  23798. "totalturnover": {
  23799. "description": "总金额",
  23800. "type": "number"
  23801. },
  23802. "totalvolume": {
  23803. "description": "总量",
  23804. "type": "integer"
  23805. },
  23806. "utclasttime": {
  23807. "description": "utc的行情时间",
  23808. "type": "string"
  23809. }
  23810. }
  23811. },
  23812. "quote.QueryTSDataRsp": {
  23813. "type": "object",
  23814. "properties": {
  23815. "Count": {
  23816. "description": "交易日应有数据个数",
  23817. "type": "integer"
  23818. },
  23819. "decimalPlace": {
  23820. "description": "小数位",
  23821. "type": "integer"
  23822. },
  23823. "endTime": {
  23824. "description": "结束时间",
  23825. "type": "string"
  23826. },
  23827. "goodsCode": {
  23828. "description": "商品代码",
  23829. "type": "string"
  23830. },
  23831. "historyDatas": {
  23832. "description": "历史数据",
  23833. "type": "array",
  23834. "items": {
  23835. "$ref": "#/definitions/quote.HistoryData"
  23836. }
  23837. },
  23838. "outGoodsCode": {
  23839. "description": "外部商品代码",
  23840. "type": "string"
  23841. },
  23842. "preSettle": {
  23843. "description": "昨结价",
  23844. "type": "number"
  23845. },
  23846. "runSteps": {
  23847. "description": "交易日开休市计划",
  23848. "type": "array",
  23849. "items": {
  23850. "$ref": "#/definitions/quote.TSDataRunStep"
  23851. }
  23852. },
  23853. "startTime": {
  23854. "description": "开始时间",
  23855. "type": "string"
  23856. },
  23857. "tradeDate": {
  23858. "description": "交易日",
  23859. "type": "string"
  23860. }
  23861. }
  23862. },
  23863. "quote.TSDataRunStep": {
  23864. "type": "object",
  23865. "properties": {
  23866. "end": {
  23867. "description": "真实结束时间",
  23868. "type": "string"
  23869. },
  23870. "endflag": {
  23871. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23872. "type": "integer"
  23873. },
  23874. "endtime": {
  23875. "description": "结束时间(HH:mm)",
  23876. "type": "string"
  23877. },
  23878. "endweekday": {
  23879. "description": "结束周几",
  23880. "type": "integer"
  23881. },
  23882. "groupid": {
  23883. "description": "分组ID",
  23884. "type": "integer"
  23885. },
  23886. "runstep": {
  23887. "description": "运行阶段 - 2:连续交易",
  23888. "type": "integer"
  23889. },
  23890. "sectionid": {
  23891. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23892. "type": "integer"
  23893. },
  23894. "start": {
  23895. "description": "真实开始时间",
  23896. "type": "string"
  23897. },
  23898. "startflag": {
  23899. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23900. "type": "integer"
  23901. },
  23902. "starttime": {
  23903. "description": "起始时间(HH:mm)",
  23904. "type": "string"
  23905. },
  23906. "startweekday": {
  23907. "description": "起始周几",
  23908. "type": "integer"
  23909. },
  23910. "tradeweekday": {
  23911. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23912. "type": "integer"
  23913. }
  23914. }
  23915. },
  23916. "szdz.QueryConvertLogRsp": {
  23917. "type": "object",
  23918. "required": [
  23919. "logid"
  23920. ],
  23921. "properties": {
  23922. "accountid": {
  23923. "description": "资金账户ID",
  23924. "type": "integer"
  23925. },
  23926. "clientticket": {
  23927. "description": "客户端流水号",
  23928. "type": "string"
  23929. },
  23930. "converttype": {
  23931. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23932. "type": "integer"
  23933. },
  23934. "createtime": {
  23935. "description": "记账时间",
  23936. "type": "string"
  23937. },
  23938. "daymaxvalue": {
  23939. "description": "配置当日最大转入限制",
  23940. "type": "number"
  23941. },
  23942. "daymaxvalue2": {
  23943. "description": "配置当日最大转入限制(转入)",
  23944. "type": "number"
  23945. },
  23946. "goodscode": {
  23947. "description": "商品代码",
  23948. "type": "string"
  23949. },
  23950. "goodsname": {
  23951. "description": "商品名称",
  23952. "type": "string"
  23953. },
  23954. "handlestatus": {
  23955. "description": "处理状态",
  23956. "type": "integer"
  23957. },
  23958. "innergoodsid": {
  23959. "description": "内部商品ID",
  23960. "type": "integer"
  23961. },
  23962. "inratio": {
  23963. "description": "配置转入比值",
  23964. "type": "integer"
  23965. },
  23966. "invalue": {
  23967. "description": "目标值",
  23968. "type": "number"
  23969. },
  23970. "logid": {
  23971. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23972. "type": "integer"
  23973. },
  23974. "mobile": {
  23975. "description": "手机号码(加密存储)",
  23976. "type": "string"
  23977. },
  23978. "outergoodscode": {
  23979. "description": "外部商品代码[JD\\PD]",
  23980. "type": "string"
  23981. },
  23982. "outratio": {
  23983. "description": "配置转出比值",
  23984. "type": "integer"
  23985. },
  23986. "outvalue": {
  23987. "description": "源值",
  23988. "type": "number"
  23989. },
  23990. "pddecimalplace": {
  23991. "description": "PD小数位",
  23992. "type": "integer"
  23993. },
  23994. "qty": {
  23995. "description": "数量",
  23996. "type": "string"
  23997. },
  23998. "remark": {
  23999. "description": "备注",
  24000. "type": "string"
  24001. },
  24002. "sessionid": {
  24003. "description": "会话ID",
  24004. "type": "integer"
  24005. },
  24006. "timemaxvalue": {
  24007. "description": "配置单次最大转入限制",
  24008. "type": "number"
  24009. },
  24010. "timemaxvalue2": {
  24011. "description": "配置单次最大转入限制(转入)",
  24012. "type": "number"
  24013. },
  24014. "timeminvalue": {
  24015. "description": "配置单次最小数量限制",
  24016. "type": "number"
  24017. },
  24018. "timeminvalue2": {
  24019. "description": "配置单次最小数量限制(转入)",
  24020. "type": "number"
  24021. },
  24022. "tradedate": {
  24023. "description": "交易日(yyyyMMdd)",
  24024. "type": "string"
  24025. },
  24026. "userid": {
  24027. "description": "用户ID",
  24028. "type": "integer"
  24029. }
  24030. }
  24031. },
  24032. "szdz.QueryGoodsPickupRsp": {
  24033. "type": "object",
  24034. "required": [
  24035. "takeorderid"
  24036. ],
  24037. "properties": {
  24038. "accountid": {
  24039. "description": "账户ID",
  24040. "type": "integer"
  24041. },
  24042. "address": {
  24043. "description": "提货人详细地址",
  24044. "type": "string"
  24045. },
  24046. "auditer": {
  24047. "description": "审核人",
  24048. "type": "integer"
  24049. },
  24050. "audittime": {
  24051. "description": "审核时间",
  24052. "type": "string"
  24053. },
  24054. "cardnum": {
  24055. "description": "提货人证件号码",
  24056. "type": "string"
  24057. },
  24058. "cardtypeid": {
  24059. "description": "提货人证件类型",
  24060. "type": "integer"
  24061. },
  24062. "checkremark": {
  24063. "description": "审核备注",
  24064. "type": "string"
  24065. },
  24066. "goodscode": {
  24067. "description": "商品代码",
  24068. "type": "string"
  24069. },
  24070. "goodsid": {
  24071. "description": "商品ID",
  24072. "type": "integer"
  24073. },
  24074. "goodsname": {
  24075. "description": "商品名称",
  24076. "type": "string"
  24077. },
  24078. "handlestatus": {
  24079. "description": "处理状态",
  24080. "type": "integer"
  24081. },
  24082. "marketid": {
  24083. "description": "市场ID",
  24084. "type": "integer"
  24085. },
  24086. "phonenum": {
  24087. "description": "提货人联系方式",
  24088. "type": "string"
  24089. },
  24090. "qty": {
  24091. "description": "提货数量",
  24092. "type": "number"
  24093. },
  24094. "recivername": {
  24095. "description": "提货人姓名",
  24096. "type": "string"
  24097. },
  24098. "reqtime": {
  24099. "description": "更新时间",
  24100. "type": "string"
  24101. },
  24102. "takemode": {
  24103. "description": "提货方式 - 2:自提 3:配送",
  24104. "type": "integer"
  24105. },
  24106. "takeorderid": {
  24107. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24108. "type": "string"
  24109. },
  24110. "takeorderstatus": {
  24111. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24112. "type": "integer"
  24113. },
  24114. "takeremark": {
  24115. "description": "提货备注",
  24116. "type": "string"
  24117. },
  24118. "tradedate": {
  24119. "description": "交易日(yyyyMMdd)",
  24120. "type": "string"
  24121. },
  24122. "userid": {
  24123. "description": "用户ID",
  24124. "type": "integer"
  24125. }
  24126. }
  24127. },
  24128. "szdz.QueryRecieptOrderRsp": {
  24129. "type": "object",
  24130. "required": [
  24131. "ordertime"
  24132. ],
  24133. "properties": {
  24134. "accountName": {
  24135. "description": "所属账号名称(已脱敏)",
  24136. "type": "string"
  24137. },
  24138. "accountid": {
  24139. "description": "资金账号",
  24140. "type": "integer"
  24141. },
  24142. "buyorsell": {
  24143. "description": "方向 - 0:买 1:卖",
  24144. "type": "integer"
  24145. },
  24146. "enableqty": {
  24147. "description": "可摘数量",
  24148. "type": "integer"
  24149. },
  24150. "goodscode": {
  24151. "description": "商品代码",
  24152. "type": "string"
  24153. },
  24154. "goodsid": {
  24155. "description": "商品ID",
  24156. "type": "integer"
  24157. },
  24158. "goodsname": {
  24159. "description": "商品名称",
  24160. "type": "string"
  24161. },
  24162. "orderid": {
  24163. "description": "委托单号",
  24164. "type": "string"
  24165. },
  24166. "orderprice": {
  24167. "description": "委托价格",
  24168. "type": "number"
  24169. },
  24170. "ordertime": {
  24171. "description": "委托时间",
  24172. "type": "string"
  24173. },
  24174. "tradedate": {
  24175. "description": "交易日(yyyyMMdd)",
  24176. "type": "string"
  24177. }
  24178. }
  24179. },
  24180. "szdz.QuerySZDZTradePositionRsp": {
  24181. "type": "object",
  24182. "properties": {
  24183. "accountid": {
  24184. "description": "账号Id",
  24185. "type": "integer"
  24186. },
  24187. "agreeunit": {
  24188. "description": "合约单位",
  24189. "type": "number"
  24190. },
  24191. "averageprice": {
  24192. "description": "持仓均价",
  24193. "type": "number"
  24194. },
  24195. "buyorsell": {
  24196. "description": "方向 - 0:买 1:卖",
  24197. "type": "integer"
  24198. },
  24199. "closetotalqty": {
  24200. "description": "平仓总数量",
  24201. "type": "integer"
  24202. },
  24203. "curholderamount": {
  24204. "description": "当前持仓总金额",
  24205. "type": "number"
  24206. },
  24207. "curpositionqty": {
  24208. "description": "当前持仓总数量",
  24209. "type": "integer"
  24210. },
  24211. "currencyid": {
  24212. "description": "报价货币ID",
  24213. "type": "integer"
  24214. },
  24215. "curtdposition": {
  24216. "description": "期末今日头寸",
  24217. "type": "integer"
  24218. },
  24219. "decimalplace": {
  24220. "description": "报价小数位",
  24221. "type": "integer"
  24222. },
  24223. "enableqty": {
  24224. "description": "可用量",
  24225. "type": "integer"
  24226. },
  24227. "fretdposition": {
  24228. "description": "冻结今日头寸",
  24229. "type": "integer"
  24230. },
  24231. "frozenqty": {
  24232. "description": "持仓冻结数量",
  24233. "type": "integer"
  24234. },
  24235. "goodscode": {
  24236. "description": "商品代码(内部)",
  24237. "type": "string"
  24238. },
  24239. "goodsid": {
  24240. "description": "商品Id",
  24241. "type": "integer"
  24242. },
  24243. "goodsname": {
  24244. "description": "商品名称",
  24245. "type": "string"
  24246. },
  24247. "goodunit": {
  24248. "description": "报价单位",
  24249. "type": "string"
  24250. },
  24251. "goodunitid": {
  24252. "description": "报价单位ID",
  24253. "type": "integer"
  24254. },
  24255. "holderamount": {
  24256. "description": "期初持仓总金额",
  24257. "type": "number"
  24258. },
  24259. "marketid": {
  24260. "description": "市场ID",
  24261. "type": "integer"
  24262. },
  24263. "openreqqty": {
  24264. "description": "开仓申请数量",
  24265. "type": "integer"
  24266. },
  24267. "opentotalqty": {
  24268. "description": "开仓总数量",
  24269. "type": "integer"
  24270. },
  24271. "otherfrozenqty": {
  24272. "description": "持仓其他冻结数量(交割冻结)",
  24273. "type": "integer"
  24274. },
  24275. "positionqty": {
  24276. "description": "期初持仓数量",
  24277. "type": "integer"
  24278. },
  24279. "szdz3freezqty": {
  24280. "description": "尚志大宗转换冻结总数量",
  24281. "type": "integer"
  24282. },
  24283. "tnqty": {
  24284. "description": "T+N冻结总量",
  24285. "type": "integer"
  24286. },
  24287. "tnusedqty": {
  24288. "description": "T+N使用量",
  24289. "type": "integer"
  24290. },
  24291. "trademode": {
  24292. "description": "交易模式",
  24293. "type": "integer"
  24294. },
  24295. "usedmargin": {
  24296. "description": "占用保证金",
  24297. "type": "number"
  24298. }
  24299. }
  24300. },
  24301. "taaccount.QueryAmountLogRsp": {
  24302. "type": "object",
  24303. "required": [
  24304. "accountid",
  24305. "amount",
  24306. "amountadjusttype",
  24307. "autoid",
  24308. "balance",
  24309. "createtime",
  24310. "currentbalance",
  24311. "operatetype"
  24312. ],
  24313. "properties": {
  24314. "OPERATETYPENAME": {
  24315. "description": "资金操作类型名称",
  24316. "type": "string"
  24317. },
  24318. "accountid": {
  24319. "description": "资金账户ID",
  24320. "type": "integer"
  24321. },
  24322. "agoodscode": {
  24323. "description": "竞拍商品代码",
  24324. "type": "string"
  24325. },
  24326. "agoodsname": {
  24327. "description": "竞拍商品名称",
  24328. "type": "string"
  24329. },
  24330. "amount": {
  24331. "description": "资金金额",
  24332. "type": "number"
  24333. },
  24334. "amountadjusttype": {
  24335. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24336. "type": "integer"
  24337. },
  24338. "autoid": {
  24339. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24340. "type": "integer"
  24341. },
  24342. "balance": {
  24343. "description": "期初余额",
  24344. "type": "number"
  24345. },
  24346. "businesscode": {
  24347. "description": "业务编号",
  24348. "type": "integer"
  24349. },
  24350. "createtime": {
  24351. "description": "发生时间",
  24352. "type": "string"
  24353. },
  24354. "currencyid": {
  24355. "description": "币种ID",
  24356. "type": "integer"
  24357. },
  24358. "currentbalance": {
  24359. "description": "期末余额(变动后金额)",
  24360. "type": "number"
  24361. },
  24362. "dgoodscode": {
  24363. "description": "交割商品代码",
  24364. "type": "string"
  24365. },
  24366. "dgoodsname": {
  24367. "description": "交割商品名称",
  24368. "type": "string"
  24369. },
  24370. "goodscode": {
  24371. "description": "商品代码",
  24372. "type": "string"
  24373. },
  24374. "goodsid": {
  24375. "description": "商品ID",
  24376. "type": "integer"
  24377. },
  24378. "goodsname": {
  24379. "description": "商品名称",
  24380. "type": "string"
  24381. },
  24382. "marketid": {
  24383. "description": "市场ID",
  24384. "type": "integer"
  24385. },
  24386. "marketname": {
  24387. "description": "市场名称",
  24388. "type": "string"
  24389. },
  24390. "moneyticket": {
  24391. "description": "资金流水号:银行端流水号",
  24392. "type": "integer"
  24393. },
  24394. "operatetype": {
  24395. "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:营销收款",
  24396. "type": "integer"
  24397. },
  24398. "relationorderid": {
  24399. "description": "关联单号",
  24400. "type": "string"
  24401. },
  24402. "remark": {
  24403. "description": "备注",
  24404. "type": "string"
  24405. },
  24406. "trademode": {
  24407. "description": "交易模式",
  24408. "type": "integer"
  24409. }
  24410. }
  24411. },
  24412. "taaccount.QueryHisAmountLogRsp": {
  24413. "type": "object",
  24414. "required": [
  24415. "accountid",
  24416. "amount",
  24417. "amountadjusttype",
  24418. "autoid",
  24419. "balance",
  24420. "createtime",
  24421. "currentbalance",
  24422. "histradedate",
  24423. "operatetype"
  24424. ],
  24425. "properties": {
  24426. "OPERATETYPENAME": {
  24427. "description": "资金操作类型名称",
  24428. "type": "string"
  24429. },
  24430. "accountid": {
  24431. "description": "资金账户ID",
  24432. "type": "integer"
  24433. },
  24434. "agoodscode": {
  24435. "description": "竞拍商品代码",
  24436. "type": "string"
  24437. },
  24438. "agoodsname": {
  24439. "description": "竞拍商品名称",
  24440. "type": "string"
  24441. },
  24442. "amount": {
  24443. "description": "资金金额",
  24444. "type": "number"
  24445. },
  24446. "amountadjusttype": {
  24447. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24448. "type": "integer"
  24449. },
  24450. "autoid": {
  24451. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24452. "type": "integer"
  24453. },
  24454. "balance": {
  24455. "description": "期初余额",
  24456. "type": "number"
  24457. },
  24458. "businesscode": {
  24459. "description": "业务编号",
  24460. "type": "integer"
  24461. },
  24462. "createtime": {
  24463. "description": "发生时间",
  24464. "type": "string"
  24465. },
  24466. "currencyid": {
  24467. "description": "币种ID",
  24468. "type": "integer"
  24469. },
  24470. "currentbalance": {
  24471. "description": "期末余额(变动后金额)",
  24472. "type": "number"
  24473. },
  24474. "dgoodscode": {
  24475. "description": "交割商品代码",
  24476. "type": "string"
  24477. },
  24478. "dgoodsname": {
  24479. "description": "交割商品名称",
  24480. "type": "string"
  24481. },
  24482. "goodscode": {
  24483. "description": "商品代码",
  24484. "type": "string"
  24485. },
  24486. "goodsid": {
  24487. "description": "商品ID",
  24488. "type": "integer"
  24489. },
  24490. "goodsname": {
  24491. "description": "商品名称",
  24492. "type": "string"
  24493. },
  24494. "histradedate": {
  24495. "description": "历史交易日",
  24496. "type": "string"
  24497. },
  24498. "isvaliddata": {
  24499. "description": "是否有效 - 0:无效 1:有效",
  24500. "type": "integer"
  24501. },
  24502. "marketid": {
  24503. "description": "市场ID",
  24504. "type": "integer"
  24505. },
  24506. "marketname": {
  24507. "description": "市场名称",
  24508. "type": "string"
  24509. },
  24510. "moneyticket": {
  24511. "description": "资金流水号:银行端流水号",
  24512. "type": "integer"
  24513. },
  24514. "operatetype": {
  24515. "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:营销收款",
  24516. "type": "integer"
  24517. },
  24518. "relationorderid": {
  24519. "description": "关联单号",
  24520. "type": "string"
  24521. },
  24522. "remark": {
  24523. "description": "备注",
  24524. "type": "string"
  24525. },
  24526. "trademode": {
  24527. "description": "交易模式",
  24528. "type": "integer"
  24529. }
  24530. }
  24531. },
  24532. "trade.QueryRecieptOrderRsp": {
  24533. "type": "object",
  24534. "required": [
  24535. "ordertime"
  24536. ],
  24537. "properties": {
  24538. "accountName": {
  24539. "description": "所属账号名称(已脱敏)",
  24540. "type": "string"
  24541. },
  24542. "accountid": {
  24543. "description": "资金账号",
  24544. "type": "integer"
  24545. },
  24546. "buyorsell": {
  24547. "description": "方向 - 0:买 1:卖",
  24548. "type": "integer"
  24549. },
  24550. "enableqty": {
  24551. "description": "可摘数量",
  24552. "type": "integer"
  24553. },
  24554. "goodscode": {
  24555. "description": "商品代码",
  24556. "type": "string"
  24557. },
  24558. "goodsid": {
  24559. "description": "商品ID",
  24560. "type": "integer"
  24561. },
  24562. "goodsname": {
  24563. "description": "商品名称",
  24564. "type": "string"
  24565. },
  24566. "orderid": {
  24567. "description": "委托单号",
  24568. "type": "string"
  24569. },
  24570. "orderprice": {
  24571. "description": "委托价格",
  24572. "type": "number"
  24573. },
  24574. "ordertime": {
  24575. "description": "委托时间",
  24576. "type": "string"
  24577. },
  24578. "tradedate": {
  24579. "description": "交易日(yyyyMMdd)",
  24580. "type": "string"
  24581. }
  24582. }
  24583. },
  24584. "user.LoginQueryRsp": {
  24585. "type": "object",
  24586. "properties": {
  24587. "externalExchanges": {
  24588. "description": "外部交易所",
  24589. "type": "array",
  24590. "items": {
  24591. "$ref": "#/definitions/models.Externalexchange"
  24592. }
  24593. },
  24594. "goodsgroups": {
  24595. "description": "商品组",
  24596. "type": "array",
  24597. "items": {
  24598. "$ref": "#/definitions/models.Goodsgroup"
  24599. }
  24600. },
  24601. "loginAccount": {
  24602. "description": "登录账号",
  24603. "type": "object",
  24604. "$ref": "#/definitions/models.Loginaccount"
  24605. },
  24606. "markets": {
  24607. "description": "市场",
  24608. "type": "array",
  24609. "items": {
  24610. "$ref": "#/definitions/models.Market"
  24611. }
  24612. },
  24613. "systemParams": {
  24614. "description": "系统参数",
  24615. "type": "array",
  24616. "items": {
  24617. "$ref": "#/definitions/models.Systemparam"
  24618. }
  24619. },
  24620. "userAccount": {
  24621. "description": "用户账号",
  24622. "type": "object",
  24623. "$ref": "#/definitions/models.Useraccount"
  24624. },
  24625. "userInfo": {
  24626. "description": "用户信息",
  24627. "type": "object",
  24628. "$ref": "#/definitions/models.Userinfo"
  24629. },
  24630. "username": {
  24631. "description": "用户姓名",
  24632. "type": "string"
  24633. }
  24634. }
  24635. }
  24636. },
  24637. "securityDefinitions": {
  24638. "ApiKeyAuth": {
  24639. "type": "apiKey",
  24640. "name": "Authorization",
  24641. "in": "header"
  24642. }
  24643. }
  24644. }`
  24645. type swaggerInfo struct {
  24646. Version string
  24647. Host string
  24648. BasePath string
  24649. Schemes []string
  24650. Title string
  24651. Description string
  24652. }
  24653. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24654. var SwaggerInfo = swaggerInfo{
  24655. Version: "1.0",
  24656. Host: "",
  24657. BasePath: "/api",
  24658. Schemes: []string{},
  24659. Title: "MTP2.0 查询服务 API",
  24660. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24661. }
  24662. type s struct{}
  24663. func (s *s) ReadDoc() string {
  24664. sInfo := SwaggerInfo
  24665. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24666. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24667. "marshal": func(v interface{}) string {
  24668. a, _ := json.Marshal(v)
  24669. return string(a)
  24670. },
  24671. }).Parse(doc)
  24672. if err != nil {
  24673. return doc
  24674. }
  24675. var tpl bytes.Buffer
  24676. if err := t.Execute(&tpl, sInfo); err != nil {
  24677. return doc
  24678. }
  24679. return tpl.String()
  24680. }
  24681. func init() {
  24682. swag.Register(swag.Name, &s{})
  24683. }