docs.go 896 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000
  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. "/Ermcp3/QuerySpotGoodsPrice": {
  5268. "get": {
  5269. "security": [
  5270. {
  5271. "ApiKeyAuth": []
  5272. }
  5273. ],
  5274. "produces": [
  5275. "application/json"
  5276. ],
  5277. "tags": [
  5278. "企业风险管理v3(app)"
  5279. ],
  5280. "summary": "查询现货市价(现货市价)",
  5281. "parameters": [
  5282. {
  5283. "type": "integer",
  5284. "description": "用户ID",
  5285. "name": "userid",
  5286. "in": "query",
  5287. "required": true
  5288. }
  5289. ],
  5290. "responses": {
  5291. "200": {
  5292. "description": "OK",
  5293. "schema": {
  5294. "type": "array",
  5295. "items": {
  5296. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5297. }
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "企业风险管理v3(app)"
  5321. ],
  5322. "summary": "查询现货市价详情(现货市价/详情)",
  5323. "parameters": [
  5324. {
  5325. "type": "integer",
  5326. "description": "用户ID",
  5327. "name": "userid",
  5328. "in": "query",
  5329. "required": true
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "现货商品ID",
  5334. "name": "deliverygoodsid",
  5335. "in": "query",
  5336. "required": true
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "type": "array",
  5344. "items": {
  5345. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5346. }
  5347. }
  5348. },
  5349. "500": {
  5350. "description": "Internal Server Error",
  5351. "schema": {
  5352. "$ref": "#/definitions/app.Response"
  5353. }
  5354. }
  5355. }
  5356. }
  5357. },
  5358. "/Erms2/QueryArbitrageStrategy": {
  5359. "get": {
  5360. "security": [
  5361. {
  5362. "ApiKeyAuth": []
  5363. }
  5364. ],
  5365. "produces": [
  5366. "application/json"
  5367. ],
  5368. "tags": [
  5369. "风险管理"
  5370. ],
  5371. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5372. "parameters": [
  5373. {
  5374. "type": "integer",
  5375. "description": "账户ID",
  5376. "name": "userid",
  5377. "in": "query",
  5378. "required": true
  5379. },
  5380. {
  5381. "type": "string",
  5382. "description": "商品组ID(品种ID)",
  5383. "name": "goodsgroupid",
  5384. "in": "query"
  5385. }
  5386. ],
  5387. "responses": {
  5388. "200": {
  5389. "description": "OK",
  5390. "schema": {
  5391. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/app.Response"
  5398. }
  5399. }
  5400. }
  5401. }
  5402. },
  5403. "/Erms2/QueryInnerTradeDetail": {
  5404. "get": {
  5405. "security": [
  5406. {
  5407. "ApiKeyAuth": []
  5408. }
  5409. ],
  5410. "produces": [
  5411. "application/json"
  5412. ],
  5413. "tags": [
  5414. "风险管理"
  5415. ],
  5416. "summary": "查询内部成交单信息",
  5417. "parameters": [
  5418. {
  5419. "type": "integer",
  5420. "description": "资金账户",
  5421. "name": "accountid",
  5422. "in": "query",
  5423. "required": true
  5424. }
  5425. ],
  5426. "responses": {
  5427. "200": {
  5428. "description": "OK",
  5429. "schema": {
  5430. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5431. }
  5432. },
  5433. "500": {
  5434. "description": "Internal Server Error",
  5435. "schema": {
  5436. "$ref": "#/definitions/app.Response"
  5437. }
  5438. }
  5439. }
  5440. }
  5441. },
  5442. "/Erms2/QuerySpotContract": {
  5443. "get": {
  5444. "security": [
  5445. {
  5446. "ApiKeyAuth": []
  5447. }
  5448. ],
  5449. "produces": [
  5450. "application/json"
  5451. ],
  5452. "tags": [
  5453. "风险管理"
  5454. ],
  5455. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5456. "parameters": [
  5457. {
  5458. "type": "integer",
  5459. "description": "策略申请ID",
  5460. "name": "asapplyid",
  5461. "in": "query",
  5462. "required": true
  5463. },
  5464. {
  5465. "type": "integer",
  5466. "description": "现货合同ID",
  5467. "name": "spotcontractid",
  5468. "in": "query"
  5469. }
  5470. ],
  5471. "responses": {
  5472. "200": {
  5473. "description": "OK",
  5474. "schema": {
  5475. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5476. }
  5477. },
  5478. "500": {
  5479. "description": "Internal Server Error",
  5480. "schema": {
  5481. "$ref": "#/definitions/app.Response"
  5482. }
  5483. }
  5484. }
  5485. }
  5486. },
  5487. "/Erms3/AddErms2ASApply": {
  5488. "post": {
  5489. "security": [
  5490. {
  5491. "ApiKeyAuth": []
  5492. }
  5493. ],
  5494. "produces": [
  5495. "application/json"
  5496. ],
  5497. "tags": [
  5498. "风险管理v3"
  5499. ],
  5500. "summary": "新增期现套利业务申请",
  5501. "parameters": [
  5502. {
  5503. "description": "申请参数",
  5504. "name": "jsonBody",
  5505. "in": "body",
  5506. "required": true,
  5507. "schema": {
  5508. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5509. }
  5510. }
  5511. ],
  5512. "responses": {
  5513. "200": {
  5514. "description": "OK",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. },
  5519. "500": {
  5520. "description": "Internal Server Error",
  5521. "schema": {
  5522. "$ref": "#/definitions/app.Response"
  5523. }
  5524. }
  5525. }
  5526. }
  5527. },
  5528. "/Erms3/AddErms2SpotTradeApply": {
  5529. "post": {
  5530. "security": [
  5531. {
  5532. "ApiKeyAuth": []
  5533. }
  5534. ],
  5535. "produces": [
  5536. "application/json"
  5537. ],
  5538. "tags": [
  5539. "风险管理v3"
  5540. ],
  5541. "summary": "新增现货贸易业务申请",
  5542. "parameters": [
  5543. {
  5544. "description": "申请参数",
  5545. "name": "jsonBody",
  5546. "in": "body",
  5547. "required": true,
  5548. "schema": {
  5549. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5550. }
  5551. }
  5552. ],
  5553. "responses": {
  5554. "200": {
  5555. "description": "OK",
  5556. "schema": {
  5557. "$ref": "#/definitions/app.Response"
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Erms3/AddSpotContractApply": {
  5570. "post": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "风险管理v3"
  5581. ],
  5582. "summary": "新增现货合同申请",
  5583. "parameters": [
  5584. {
  5585. "description": "申请参数",
  5586. "name": "jsonBody",
  5587. "in": "body",
  5588. "required": true,
  5589. "schema": {
  5590. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5591. }
  5592. }
  5593. ],
  5594. "responses": {
  5595. "200": {
  5596. "description": "OK",
  5597. "schema": {
  5598. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5599. }
  5600. },
  5601. "500": {
  5602. "description": "Internal Server Error",
  5603. "schema": {
  5604. "$ref": "#/definitions/app.Response"
  5605. }
  5606. }
  5607. }
  5608. }
  5609. },
  5610. "/Erms3/AddUserInfoApply": {
  5611. "post": {
  5612. "security": [
  5613. {
  5614. "ApiKeyAuth": []
  5615. }
  5616. ],
  5617. "produces": [
  5618. "application/json"
  5619. ],
  5620. "tags": [
  5621. "风险管理v3"
  5622. ],
  5623. "summary": "新增客户申请",
  5624. "parameters": [
  5625. {
  5626. "description": "用户信息",
  5627. "name": "jsonBody",
  5628. "in": "body",
  5629. "required": true,
  5630. "schema": {
  5631. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5632. }
  5633. }
  5634. ],
  5635. "responses": {
  5636. "200": {
  5637. "description": "OK",
  5638. "schema": {
  5639. "$ref": "#/definitions/app.Response"
  5640. }
  5641. },
  5642. "500": {
  5643. "description": "Internal Server Error",
  5644. "schema": {
  5645. "$ref": "#/definitions/app.Response"
  5646. }
  5647. }
  5648. }
  5649. }
  5650. },
  5651. "/Erms3/ModifyUserInfoApply": {
  5652. "post": {
  5653. "security": [
  5654. {
  5655. "ApiKeyAuth": []
  5656. }
  5657. ],
  5658. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "风险管理v3"
  5664. ],
  5665. "summary": "修改客户申请",
  5666. "parameters": [
  5667. {
  5668. "description": "用户信息",
  5669. "name": "jsonBody",
  5670. "in": "body",
  5671. "required": true,
  5672. "schema": {
  5673. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5674. }
  5675. }
  5676. ],
  5677. "responses": {
  5678. "200": {
  5679. "description": "OK",
  5680. "schema": {
  5681. "$ref": "#/definitions/app.Response"
  5682. }
  5683. },
  5684. "500": {
  5685. "description": "Internal Server Error",
  5686. "schema": {
  5687. "$ref": "#/definitions/app.Response"
  5688. }
  5689. }
  5690. }
  5691. }
  5692. },
  5693. "/Erms3/QueryBusinessInfo": {
  5694. "get": {
  5695. "security": [
  5696. {
  5697. "ApiKeyAuth": []
  5698. }
  5699. ],
  5700. "produces": [
  5701. "application/json"
  5702. ],
  5703. "tags": [
  5704. "风险管理v3"
  5705. ],
  5706. "summary": "查询业务表单数据",
  5707. "parameters": [
  5708. {
  5709. "type": "string",
  5710. "description": "资金账号ID列表,用逗号分隔",
  5711. "name": "accountids",
  5712. "in": "query",
  5713. "required": true
  5714. },
  5715. {
  5716. "type": "integer",
  5717. "description": "状态,0为未结束 1为已结束",
  5718. "name": "status",
  5719. "in": "query",
  5720. "required": true
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "type": "array",
  5728. "items": {
  5729. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5730. }
  5731. }
  5732. },
  5733. "500": {
  5734. "description": "Internal Server Error",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. }
  5739. }
  5740. }
  5741. },
  5742. "/Erms3/QueryPendingAuditContract": {
  5743. "get": {
  5744. "security": [
  5745. {
  5746. "ApiKeyAuth": []
  5747. }
  5748. ],
  5749. "produces": [
  5750. "application/json"
  5751. ],
  5752. "tags": [
  5753. "风险管理v3"
  5754. ],
  5755. "summary": "查询待审核合同",
  5756. "parameters": [
  5757. {
  5758. "type": "string",
  5759. "description": "资金账号ID列表,逗号隔开",
  5760. "name": "accountids",
  5761. "in": "query",
  5762. "required": true
  5763. },
  5764. {
  5765. "type": "integer",
  5766. "description": "合同类型 1-采购 -1-销售",
  5767. "name": "contracttype",
  5768. "in": "query",
  5769. "required": true
  5770. },
  5771. {
  5772. "type": "integer",
  5773. "description": "合同模式 1-普通 2-回购",
  5774. "name": "contractmode",
  5775. "in": "query",
  5776. "required": true
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "type": "array",
  5784. "items": {
  5785. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5786. }
  5787. }
  5788. },
  5789. "500": {
  5790. "description": "Internal Server Error",
  5791. "schema": {
  5792. "$ref": "#/definitions/app.Response"
  5793. }
  5794. }
  5795. }
  5796. }
  5797. },
  5798. "/Erms3/QueryPendingBusiness": {
  5799. "get": {
  5800. "security": [
  5801. {
  5802. "ApiKeyAuth": []
  5803. }
  5804. ],
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "风险管理v3"
  5810. ],
  5811. "summary": "查询待审核基差贸易业务",
  5812. "parameters": [
  5813. {
  5814. "type": "string",
  5815. "description": "资金账号ID列表,逗号隔开",
  5816. "name": "accountids",
  5817. "in": "query",
  5818. "required": true
  5819. }
  5820. ],
  5821. "responses": {
  5822. "200": {
  5823. "description": "OK",
  5824. "schema": {
  5825. "type": "array",
  5826. "items": {
  5827. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5828. }
  5829. }
  5830. },
  5831. "500": {
  5832. "description": "Internal Server Error",
  5833. "schema": {
  5834. "$ref": "#/definitions/app.Response"
  5835. }
  5836. }
  5837. }
  5838. }
  5839. },
  5840. "/Erms3/QuerySpotContractAppleForm": {
  5841. "get": {
  5842. "security": [
  5843. {
  5844. "ApiKeyAuth": []
  5845. }
  5846. ],
  5847. "produces": [
  5848. "application/json"
  5849. ],
  5850. "tags": [
  5851. "风险管理v3"
  5852. ],
  5853. "summary": "查询合同申请表单数据",
  5854. "parameters": [
  5855. {
  5856. "type": "integer",
  5857. "description": "登录账号",
  5858. "name": "loginID",
  5859. "in": "query",
  5860. "required": true
  5861. }
  5862. ],
  5863. "responses": {
  5864. "200": {
  5865. "description": "OK",
  5866. "schema": {
  5867. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/Erms3/QuerySpotContractDetail": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "风险管理v3"
  5891. ],
  5892. "summary": "查询合同详细信息",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账号ID列表,用逗号分隔",
  5897. "name": "accountids",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "合同类型,1为采购合同 -1为销售合同",
  5904. "name": "contracttype",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同模式,1为普通合同 2为回购销售合同",
  5911. "name": "contractmode",
  5912. "in": "query",
  5913. "required": true
  5914. },
  5915. {
  5916. "type": "integer",
  5917. "description": "状态,0为履约中 1为已完成",
  5918. "name": "status",
  5919. "in": "query",
  5920. "required": true
  5921. }
  5922. ],
  5923. "responses": {
  5924. "200": {
  5925. "description": "OK",
  5926. "schema": {
  5927. "type": "array",
  5928. "items": {
  5929. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5930. }
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/Erms3/QueryUserInfoApplies": {
  5943. "get": {
  5944. "security": [
  5945. {
  5946. "ApiKeyAuth": []
  5947. }
  5948. ],
  5949. "produces": [
  5950. "application/json"
  5951. ],
  5952. "tags": [
  5953. "风险管理v3"
  5954. ],
  5955. "summary": "客户申请信息查询",
  5956. "parameters": [
  5957. {
  5958. "type": "integer",
  5959. "description": "页码",
  5960. "name": "page",
  5961. "in": "query"
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "每页条数",
  5966. "name": "pagesize",
  5967. "in": "query"
  5968. },
  5969. {
  5970. "type": "string",
  5971. "description": "客户名称,支持模糊查询",
  5972. "name": "userName",
  5973. "in": "query"
  5974. }
  5975. ],
  5976. "responses": {
  5977. "200": {
  5978. "description": "OK",
  5979. "schema": {
  5980. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/Erms3/QueryUserInfos": {
  5993. "get": {
  5994. "security": [
  5995. {
  5996. "ApiKeyAuth": []
  5997. }
  5998. ],
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "风险管理v3"
  6004. ],
  6005. "summary": "客户信息查询",
  6006. "parameters": [
  6007. {
  6008. "type": "integer",
  6009. "description": "页码",
  6010. "name": "page",
  6011. "in": "query"
  6012. },
  6013. {
  6014. "type": "integer",
  6015. "description": "每页条数",
  6016. "name": "pagesize",
  6017. "in": "query"
  6018. },
  6019. {
  6020. "type": "string",
  6021. "description": "客户名称,支持模糊查询",
  6022. "name": "userName",
  6023. "in": "query"
  6024. }
  6025. ],
  6026. "responses": {
  6027. "200": {
  6028. "description": "OK",
  6029. "schema": {
  6030. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6031. }
  6032. },
  6033. "500": {
  6034. "description": "Internal Server Error",
  6035. "schema": {
  6036. "$ref": "#/definitions/app.Response"
  6037. }
  6038. }
  6039. }
  6040. }
  6041. },
  6042. "/HSBY/GetHsbyMyCount": {
  6043. "get": {
  6044. "security": [
  6045. {
  6046. "ApiKeyAuth": []
  6047. }
  6048. ],
  6049. "description": "说明: 不包括已完成的数量。",
  6050. "produces": [
  6051. "application/json"
  6052. ],
  6053. "tags": [
  6054. "定制【海商报业】"
  6055. ],
  6056. "summary": "获取我的订单与包裹数量",
  6057. "parameters": [
  6058. {
  6059. "type": "string",
  6060. "description": "资金账户列表,格式:1,2,3",
  6061. "name": "accountIDs",
  6062. "in": "query",
  6063. "required": true
  6064. }
  6065. ],
  6066. "responses": {
  6067. "200": {
  6068. "description": "OK",
  6069. "schema": {
  6070. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6071. }
  6072. },
  6073. "500": {
  6074. "description": "Internal Server Error",
  6075. "schema": {
  6076. "$ref": "#/definitions/app.Response"
  6077. }
  6078. }
  6079. }
  6080. }
  6081. },
  6082. "/HSBY/QueryClientFixedADConfigs": {
  6083. "get": {
  6084. "security": [
  6085. {
  6086. "ApiKeyAuth": []
  6087. }
  6088. ],
  6089. "produces": [
  6090. "application/json"
  6091. ],
  6092. "tags": [
  6093. "定制【海商报业】"
  6094. ],
  6095. "summary": "获取终端固定广告配置",
  6096. "responses": {
  6097. "200": {
  6098. "description": "OK",
  6099. "schema": {
  6100. "$ref": "#/definitions/models.Clientfixedadconfig"
  6101. }
  6102. },
  6103. "500": {
  6104. "description": "Internal Server Error",
  6105. "schema": {
  6106. "$ref": "#/definitions/app.Response"
  6107. }
  6108. }
  6109. }
  6110. }
  6111. },
  6112. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6113. "get": {
  6114. "security": [
  6115. {
  6116. "ApiKeyAuth": []
  6117. }
  6118. ],
  6119. "produces": [
  6120. "application/json"
  6121. ],
  6122. "tags": [
  6123. "定制【海商报业】"
  6124. ],
  6125. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6126. "parameters": [
  6127. {
  6128. "type": "integer",
  6129. "description": "页码",
  6130. "name": "page",
  6131. "in": "query"
  6132. },
  6133. {
  6134. "type": "integer",
  6135. "description": "每页条数",
  6136. "name": "pagesize",
  6137. "in": "query"
  6138. },
  6139. {
  6140. "type": "string",
  6141. "description": "资金账户列表,格式:1,2,3",
  6142. "name": "accountIDs",
  6143. "in": "query",
  6144. "required": true
  6145. }
  6146. ],
  6147. "responses": {
  6148. "200": {
  6149. "description": "OK",
  6150. "schema": {
  6151. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6152. }
  6153. },
  6154. "500": {
  6155. "description": "Internal Server Error",
  6156. "schema": {
  6157. "$ref": "#/definitions/app.Response"
  6158. }
  6159. }
  6160. }
  6161. }
  6162. },
  6163. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6164. "get": {
  6165. "security": [
  6166. {
  6167. "ApiKeyAuth": []
  6168. }
  6169. ],
  6170. "description": "说明:查询结果已按委托价格和委托时间排序",
  6171. "produces": [
  6172. "application/json"
  6173. ],
  6174. "tags": [
  6175. "定制【海商报业】"
  6176. ],
  6177. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6178. "parameters": [
  6179. {
  6180. "type": "integer",
  6181. "description": "商品ID",
  6182. "name": "goodsID",
  6183. "in": "query",
  6184. "required": true
  6185. },
  6186. {
  6187. "type": "string",
  6188. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6189. "name": "accountIDs",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "integer",
  6194. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6195. "name": "buyOrSell",
  6196. "in": "query"
  6197. },
  6198. {
  6199. "type": "number",
  6200. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6201. "name": "price",
  6202. "in": "query"
  6203. },
  6204. {
  6205. "type": "integer",
  6206. "description": "档位,不传则默认为3档",
  6207. "name": "speed",
  6208. "in": "query"
  6209. }
  6210. ],
  6211. "responses": {
  6212. "200": {
  6213. "description": "OK",
  6214. "schema": {
  6215. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6216. }
  6217. },
  6218. "500": {
  6219. "description": "Internal Server Error",
  6220. "schema": {
  6221. "$ref": "#/definitions/app.Response"
  6222. }
  6223. }
  6224. }
  6225. }
  6226. },
  6227. "/HSBY/QueryHsbyListingGoodsDetail": {
  6228. "get": {
  6229. "security": [
  6230. {
  6231. "ApiKeyAuth": []
  6232. }
  6233. ],
  6234. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6235. "produces": [
  6236. "application/json"
  6237. ],
  6238. "tags": [
  6239. "定制【海商报业】"
  6240. ],
  6241. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6242. "parameters": [
  6243. {
  6244. "type": "integer",
  6245. "description": "商品ID",
  6246. "name": "goodsID",
  6247. "in": "query",
  6248. "required": true
  6249. },
  6250. {
  6251. "type": "integer",
  6252. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6253. "name": "accountID",
  6254. "in": "query"
  6255. }
  6256. ],
  6257. "responses": {
  6258. "200": {
  6259. "description": "OK",
  6260. "schema": {
  6261. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6262. }
  6263. },
  6264. "500": {
  6265. "description": "Internal Server Error",
  6266. "schema": {
  6267. "$ref": "#/definitions/app.Response"
  6268. }
  6269. }
  6270. }
  6271. }
  6272. },
  6273. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6274. "get": {
  6275. "security": [
  6276. {
  6277. "ApiKeyAuth": []
  6278. }
  6279. ],
  6280. "produces": [
  6281. "application/json"
  6282. ],
  6283. "tags": [
  6284. "定制【海商报业】"
  6285. ],
  6286. "summary": "查询三级市场(商城)商品信息详情",
  6287. "parameters": [
  6288. {
  6289. "type": "integer",
  6290. "description": "委托单号",
  6291. "name": "orderID",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "integer",
  6297. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6298. "name": "accountID",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/HSBY/QueryHsbyMarketGoodses": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "定制【海商报业】"
  6330. ],
  6331. "summary": "查询特卖商品列表(三级商城)",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "市场ID列表,格式:1,2,3",
  6348. "name": "marketIDs",
  6349. "in": "query",
  6350. "required": true
  6351. },
  6352. {
  6353. "type": "integer",
  6354. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6355. "name": "accountID",
  6356. "in": "query",
  6357. "required": true
  6358. },
  6359. {
  6360. "type": "integer",
  6361. "description": "类别ID",
  6362. "name": "categoryID",
  6363. "in": "query"
  6364. },
  6365. {
  6366. "type": "string",
  6367. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6368. "name": "goodsIDs",
  6369. "in": "query"
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6374. "name": "couponTypeID",
  6375. "in": "query"
  6376. }
  6377. ],
  6378. "responses": {
  6379. "200": {
  6380. "description": "OK",
  6381. "schema": {
  6382. "$ref": "#/definitions/models.HsbyMarketGoods"
  6383. }
  6384. },
  6385. "500": {
  6386. "description": "Internal Server Error",
  6387. "schema": {
  6388. "$ref": "#/definitions/app.Response"
  6389. }
  6390. }
  6391. }
  6392. }
  6393. },
  6394. "/HSBY/QueryHsbyMarkets": {
  6395. "get": {
  6396. "security": [
  6397. {
  6398. "ApiKeyAuth": []
  6399. }
  6400. ],
  6401. "produces": [
  6402. "application/json"
  6403. ],
  6404. "tags": [
  6405. "定制【海商报业】"
  6406. ],
  6407. "summary": "查询海商报业相关市场信息",
  6408. "responses": {
  6409. "200": {
  6410. "description": "OK",
  6411. "schema": {
  6412. "$ref": "#/definitions/models.HsbyMarketInfo"
  6413. }
  6414. },
  6415. "500": {
  6416. "description": "Internal Server Error",
  6417. "schema": {
  6418. "$ref": "#/definitions/app.Response"
  6419. }
  6420. }
  6421. }
  6422. }
  6423. },
  6424. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6425. "get": {
  6426. "security": [
  6427. {
  6428. "ApiKeyAuth": []
  6429. }
  6430. ],
  6431. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6432. "produces": [
  6433. "application/json"
  6434. ],
  6435. "tags": [
  6436. "定制【海商报业】"
  6437. ],
  6438. "summary": "查询“我的订单”信息",
  6439. "parameters": [
  6440. {
  6441. "type": "string",
  6442. "description": "资金账户列表,格式:1,2,3",
  6443. "name": "accountIDs",
  6444. "in": "query",
  6445. "required": true
  6446. }
  6447. ],
  6448. "responses": {
  6449. "200": {
  6450. "description": "OK",
  6451. "schema": {
  6452. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6453. }
  6454. },
  6455. "500": {
  6456. "description": "Internal Server Error",
  6457. "schema": {
  6458. "$ref": "#/definitions/app.Response"
  6459. }
  6460. }
  6461. }
  6462. }
  6463. },
  6464. "/HSBY/QueryHsbyMyGoods": {
  6465. "get": {
  6466. "security": [
  6467. {
  6468. "ApiKeyAuth": []
  6469. }
  6470. ],
  6471. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6472. "produces": [
  6473. "application/json"
  6474. ],
  6475. "tags": [
  6476. "定制【海商报业】"
  6477. ],
  6478. "summary": "查询“我的商品”信息",
  6479. "parameters": [
  6480. {
  6481. "type": "string",
  6482. "description": "资金账户列表,格式:1,2,3",
  6483. "name": "accountIDs",
  6484. "in": "query",
  6485. "required": true
  6486. }
  6487. ],
  6488. "responses": {
  6489. "200": {
  6490. "description": "OK",
  6491. "schema": {
  6492. "$ref": "#/definitions/models.HsbyMyGoods"
  6493. }
  6494. },
  6495. "500": {
  6496. "description": "Internal Server Error",
  6497. "schema": {
  6498. "$ref": "#/definitions/app.Response"
  6499. }
  6500. }
  6501. }
  6502. }
  6503. },
  6504. "/HSBY/QueryHsbyMyPackages": {
  6505. "get": {
  6506. "security": [
  6507. {
  6508. "ApiKeyAuth": []
  6509. }
  6510. ],
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "定制【海商报业】"
  6516. ],
  6517. "summary": "查询我的包裹信息",
  6518. "parameters": [
  6519. {
  6520. "type": "string",
  6521. "description": "资金账户列表,格式:1,2,3",
  6522. "name": "accountIDs",
  6523. "in": "query",
  6524. "required": true
  6525. },
  6526. {
  6527. "type": "integer",
  6528. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6529. "name": "takeOrderStatus",
  6530. "in": "query"
  6531. }
  6532. ],
  6533. "responses": {
  6534. "200": {
  6535. "description": "OK",
  6536. "schema": {
  6537. "$ref": "#/definitions/models.HsbyMyPackage"
  6538. }
  6539. },
  6540. "500": {
  6541. "description": "Internal Server Error",
  6542. "schema": {
  6543. "$ref": "#/definitions/app.Response"
  6544. }
  6545. }
  6546. }
  6547. }
  6548. },
  6549. "/HSBY/QueryHsbyPreGoodsDetail": {
  6550. "get": {
  6551. "security": [
  6552. {
  6553. "ApiKeyAuth": []
  6554. }
  6555. ],
  6556. "produces": [
  6557. "application/json"
  6558. ],
  6559. "tags": [
  6560. "定制【海商报业】"
  6561. ],
  6562. "summary": "查询一级市场(预售)商品信息详情",
  6563. "parameters": [
  6564. {
  6565. "type": "integer",
  6566. "description": "商品ID",
  6567. "name": "goodsID",
  6568. "in": "query",
  6569. "required": true
  6570. },
  6571. {
  6572. "type": "integer",
  6573. "description": "资金账户,主要用于获取预售商品购买上限",
  6574. "name": "accountID",
  6575. "in": "query"
  6576. }
  6577. ],
  6578. "responses": {
  6579. "200": {
  6580. "description": "OK",
  6581. "schema": {
  6582. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6583. }
  6584. },
  6585. "500": {
  6586. "description": "Internal Server Error",
  6587. "schema": {
  6588. "$ref": "#/definitions/app.Response"
  6589. }
  6590. }
  6591. }
  6592. }
  6593. },
  6594. "/HSBY/QueryHsbyPreGoodses": {
  6595. "get": {
  6596. "security": [
  6597. {
  6598. "ApiKeyAuth": []
  6599. }
  6600. ],
  6601. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "定制【海商报业】"
  6607. ],
  6608. "summary": "查询新品上市商品列表(一级市场预售)",
  6609. "parameters": [
  6610. {
  6611. "type": "integer",
  6612. "description": "页码",
  6613. "name": "page",
  6614. "in": "query"
  6615. },
  6616. {
  6617. "type": "integer",
  6618. "description": "每页条数",
  6619. "name": "pagesize",
  6620. "in": "query"
  6621. },
  6622. {
  6623. "type": "string",
  6624. "description": "市场ID列表,格式:1,2,3",
  6625. "name": "marketIDs",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "目的地(省)ID",
  6632. "name": "descProvinceID",
  6633. "in": "query"
  6634. },
  6635. {
  6636. "type": "integer",
  6637. "description": "目的地(市)ID",
  6638. "name": "descCityID",
  6639. "in": "query"
  6640. }
  6641. ],
  6642. "responses": {
  6643. "200": {
  6644. "description": "OK",
  6645. "schema": {
  6646. "$ref": "#/definitions/models.HsbyPreGoods"
  6647. }
  6648. },
  6649. "500": {
  6650. "description": "Internal Server Error",
  6651. "schema": {
  6652. "$ref": "#/definitions/app.Response"
  6653. }
  6654. }
  6655. }
  6656. }
  6657. },
  6658. "/HSBY/QueryHsbySellMyDetails": {
  6659. "get": {
  6660. "security": [
  6661. {
  6662. "ApiKeyAuth": []
  6663. }
  6664. ],
  6665. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "定制【海商报业】"
  6671. ],
  6672. "summary": "查询\"我的闲置\"单据信息",
  6673. "parameters": [
  6674. {
  6675. "type": "integer",
  6676. "description": "页码",
  6677. "name": "page",
  6678. "in": "query"
  6679. },
  6680. {
  6681. "type": "integer",
  6682. "description": "每页条数",
  6683. "name": "pagesize",
  6684. "in": "query"
  6685. },
  6686. {
  6687. "type": "string",
  6688. "description": "资金账户列表,格式:1,2,3",
  6689. "name": "accountIDs",
  6690. "in": "query",
  6691. "required": true
  6692. },
  6693. {
  6694. "type": "integer",
  6695. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6696. "name": "orderType",
  6697. "in": "query"
  6698. }
  6699. ],
  6700. "responses": {
  6701. "200": {
  6702. "description": "OK",
  6703. "schema": {
  6704. "$ref": "#/definitions/models.HsbySellMyDetail"
  6705. }
  6706. },
  6707. "500": {
  6708. "description": "Internal Server Error",
  6709. "schema": {
  6710. "$ref": "#/definitions/app.Response"
  6711. }
  6712. }
  6713. }
  6714. }
  6715. },
  6716. "/HSBY/QueryHsbyTopGoodses": {
  6717. "get": {
  6718. "security": [
  6719. {
  6720. "ApiKeyAuth": []
  6721. }
  6722. ],
  6723. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6724. "produces": [
  6725. "application/json"
  6726. ],
  6727. "tags": [
  6728. "定制【海商报业】"
  6729. ],
  6730. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6731. "parameters": [
  6732. {
  6733. "type": "integer",
  6734. "description": "页码",
  6735. "name": "page",
  6736. "in": "query"
  6737. },
  6738. {
  6739. "type": "integer",
  6740. "description": "每页条数",
  6741. "name": "pagesize",
  6742. "in": "query"
  6743. },
  6744. {
  6745. "type": "string",
  6746. "description": "市场ID列表,格式:1,2,3",
  6747. "name": "marketIDs",
  6748. "in": "query",
  6749. "required": true
  6750. },
  6751. {
  6752. "type": "integer",
  6753. "description": "目的地(省)ID",
  6754. "name": "descProvinceID",
  6755. "in": "query"
  6756. },
  6757. {
  6758. "type": "integer",
  6759. "description": "目的地(市)ID",
  6760. "name": "descCityID",
  6761. "in": "query"
  6762. }
  6763. ],
  6764. "responses": {
  6765. "200": {
  6766. "description": "OK",
  6767. "schema": {
  6768. "$ref": "#/definitions/models.HsbyTopGoods"
  6769. }
  6770. },
  6771. "500": {
  6772. "description": "Internal Server Error",
  6773. "schema": {
  6774. "$ref": "#/definitions/app.Response"
  6775. }
  6776. }
  6777. }
  6778. }
  6779. },
  6780. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6781. "get": {
  6782. "security": [
  6783. {
  6784. "ApiKeyAuth": []
  6785. }
  6786. ],
  6787. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6788. "produces": [
  6789. "application/json"
  6790. ],
  6791. "tags": [
  6792. "定制【海商报业】"
  6793. ],
  6794. "summary": "查询游客三级市场(商城)商品信息详情",
  6795. "parameters": [
  6796. {
  6797. "type": "integer",
  6798. "description": "商品ID",
  6799. "name": "goodsID",
  6800. "in": "query",
  6801. "required": true
  6802. }
  6803. ],
  6804. "responses": {
  6805. "200": {
  6806. "description": "OK",
  6807. "schema": {
  6808. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6809. }
  6810. },
  6811. "500": {
  6812. "description": "Internal Server Error",
  6813. "schema": {
  6814. "$ref": "#/definitions/app.Response"
  6815. }
  6816. }
  6817. }
  6818. }
  6819. },
  6820. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6821. "get": {
  6822. "security": [
  6823. {
  6824. "ApiKeyAuth": []
  6825. }
  6826. ],
  6827. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6828. "produces": [
  6829. "application/json"
  6830. ],
  6831. "tags": [
  6832. "定制【海商报业】"
  6833. ],
  6834. "summary": "查询游客特卖商品列表(三级商城)",
  6835. "parameters": [
  6836. {
  6837. "type": "integer",
  6838. "description": "页码",
  6839. "name": "page",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "integer",
  6844. "description": "每页条数",
  6845. "name": "pagesize",
  6846. "in": "query"
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "市场ID列表,格式:1,2,3",
  6851. "name": "marketIDs",
  6852. "in": "query",
  6853. "required": true
  6854. },
  6855. {
  6856. "type": "integer",
  6857. "description": "类别ID",
  6858. "name": "categoryID",
  6859. "in": "query"
  6860. },
  6861. {
  6862. "type": "string",
  6863. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6864. "name": "goodsIDs",
  6865. "in": "query"
  6866. }
  6867. ],
  6868. "responses": {
  6869. "200": {
  6870. "description": "OK",
  6871. "schema": {
  6872. "$ref": "#/definitions/models.HsbyMarketGoods"
  6873. }
  6874. },
  6875. "500": {
  6876. "description": "Internal Server Error",
  6877. "schema": {
  6878. "$ref": "#/definitions/app.Response"
  6879. }
  6880. }
  6881. }
  6882. }
  6883. },
  6884. "/HSBY/QueryMyCollectionOrders": {
  6885. "get": {
  6886. "security": [
  6887. {
  6888. "ApiKeyAuth": []
  6889. }
  6890. ],
  6891. "produces": [
  6892. "application/json"
  6893. ],
  6894. "tags": [
  6895. "定制【海商报业】"
  6896. ],
  6897. "summary": "我的闲置中收款信息查询",
  6898. "parameters": [
  6899. {
  6900. "type": "integer",
  6901. "description": "页码",
  6902. "name": "page",
  6903. "in": "query"
  6904. },
  6905. {
  6906. "type": "integer",
  6907. "description": "每页条数",
  6908. "name": "pagesize",
  6909. "in": "query"
  6910. },
  6911. {
  6912. "type": "string",
  6913. "description": "资金账户,格式:1,2,3",
  6914. "name": "accountIDs",
  6915. "in": "query",
  6916. "required": true
  6917. }
  6918. ],
  6919. "responses": {
  6920. "200": {
  6921. "description": "OK",
  6922. "schema": {
  6923. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6924. }
  6925. },
  6926. "500": {
  6927. "description": "Internal Server Error",
  6928. "schema": {
  6929. "$ref": "#/definitions/app.Response"
  6930. }
  6931. }
  6932. }
  6933. }
  6934. },
  6935. "/HSBY/QueryMyCouponHolds": {
  6936. "get": {
  6937. "security": [
  6938. {
  6939. "ApiKeyAuth": []
  6940. }
  6941. ],
  6942. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6943. "produces": [
  6944. "application/json"
  6945. ],
  6946. "tags": [
  6947. "定制【海商报业】"
  6948. ],
  6949. "summary": "我的优惠卷持仓查询",
  6950. "parameters": [
  6951. {
  6952. "type": "string",
  6953. "description": "资金账户列表,格式:1,2,3",
  6954. "name": "accountIDs",
  6955. "in": "query",
  6956. "required": true
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6961. "name": "holdStatus",
  6962. "in": "query"
  6963. }
  6964. ],
  6965. "responses": {
  6966. "200": {
  6967. "description": "OK",
  6968. "schema": {
  6969. "$ref": "#/definitions/models.MyCouponHold"
  6970. }
  6971. },
  6972. "500": {
  6973. "description": "Internal Server Error",
  6974. "schema": {
  6975. "$ref": "#/definitions/app.Response"
  6976. }
  6977. }
  6978. }
  6979. }
  6980. },
  6981. "/HSBY/QueryMyCoupons": {
  6982. "get": {
  6983. "security": [
  6984. {
  6985. "ApiKeyAuth": []
  6986. }
  6987. ],
  6988. "produces": [
  6989. "application/json"
  6990. ],
  6991. "tags": [
  6992. "定制【海商报业】"
  6993. ],
  6994. "summary": "我的优惠卷查询",
  6995. "parameters": [
  6996. {
  6997. "type": "string",
  6998. "description": "资金账户列表,格式:1,2,3",
  6999. "name": "accountIDs",
  7000. "in": "query",
  7001. "required": true
  7002. },
  7003. {
  7004. "type": "integer",
  7005. "description": "商品ID, 一般与sellUserID配套传入",
  7006. "name": "goodsID",
  7007. "in": "query"
  7008. },
  7009. {
  7010. "type": "integer",
  7011. "description": "卖方UserID",
  7012. "name": "sellUserID",
  7013. "in": "query"
  7014. }
  7015. ],
  7016. "responses": {
  7017. "200": {
  7018. "description": "OK",
  7019. "schema": {
  7020. "$ref": "#/definitions/models.MyCoupon"
  7021. }
  7022. },
  7023. "500": {
  7024. "description": "Internal Server Error",
  7025. "schema": {
  7026. "$ref": "#/definitions/app.Response"
  7027. }
  7028. }
  7029. }
  7030. }
  7031. },
  7032. "/HSBY/QueryMyPayOrders": {
  7033. "get": {
  7034. "security": [
  7035. {
  7036. "ApiKeyAuth": []
  7037. }
  7038. ],
  7039. "produces": [
  7040. "application/json"
  7041. ],
  7042. "tags": [
  7043. "定制【海商报业】"
  7044. ],
  7045. "summary": "获取我的订单中待付款信息",
  7046. "parameters": [
  7047. {
  7048. "type": "integer",
  7049. "description": "页码",
  7050. "name": "page",
  7051. "in": "query"
  7052. },
  7053. {
  7054. "type": "integer",
  7055. "description": "每页条数",
  7056. "name": "pagesize",
  7057. "in": "query"
  7058. },
  7059. {
  7060. "type": "string",
  7061. "description": "资金账户列表,格式:1,2,3",
  7062. "name": "accountIDs",
  7063. "in": "query",
  7064. "required": true
  7065. },
  7066. {
  7067. "type": "integer",
  7068. "description": "买方委托单号",
  7069. "name": "buyOrderID",
  7070. "in": "query"
  7071. },
  7072. {
  7073. "type": "integer",
  7074. "description": "卖方委托单号",
  7075. "name": "sellOrderID",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/HSBY/QueryMyUsedCoupon": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【海商报业】"
  7107. ],
  7108. "summary": "已使用优惠卷查询",
  7109. "parameters": [
  7110. {
  7111. "type": "string",
  7112. "description": "资金账户列表,格式:1,2,3",
  7113. "name": "accountIDs",
  7114. "in": "query",
  7115. "required": true
  7116. }
  7117. ],
  7118. "responses": {
  7119. "200": {
  7120. "description": "OK",
  7121. "schema": {
  7122. "$ref": "#/definitions/models.MyUsedCoupon"
  7123. }
  7124. },
  7125. "500": {
  7126. "description": "Internal Server Error",
  7127. "schema": {
  7128. "$ref": "#/definitions/app.Response"
  7129. }
  7130. }
  7131. }
  7132. }
  7133. },
  7134. "/HSBY/QueryProvincesAndCities": {
  7135. "get": {
  7136. "security": [
  7137. {
  7138. "ApiKeyAuth": []
  7139. }
  7140. ],
  7141. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7142. "produces": [
  7143. "application/json"
  7144. ],
  7145. "tags": [
  7146. "定制【海商报业】"
  7147. ],
  7148. "summary": "查询省市信息(不包括区)",
  7149. "parameters": [
  7150. {
  7151. "type": "integer",
  7152. "description": "省ID",
  7153. "name": "provinceID",
  7154. "in": "query"
  7155. }
  7156. ],
  7157. "responses": {
  7158. "200": {
  7159. "description": "OK",
  7160. "schema": {
  7161. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7162. }
  7163. },
  7164. "500": {
  7165. "description": "Internal Server Error",
  7166. "schema": {
  7167. "$ref": "#/definitions/app.Response"
  7168. }
  7169. }
  7170. }
  7171. }
  7172. },
  7173. "/HSBY/SetHsbyMyPackagesStatus": {
  7174. "post": {
  7175. "security": [
  7176. {
  7177. "ApiKeyAuth": []
  7178. }
  7179. ],
  7180. "produces": [
  7181. "application/json"
  7182. ],
  7183. "tags": [
  7184. "定制【海商报业】"
  7185. ],
  7186. "summary": "设置我的包裹已收货状态",
  7187. "parameters": [
  7188. {
  7189. "type": "string",
  7190. "description": "提货单号",
  7191. "name": "takeOrderID",
  7192. "in": "query",
  7193. "required": true
  7194. },
  7195. {
  7196. "type": "integer",
  7197. "description": "资金账号",
  7198. "name": "accountID",
  7199. "in": "query",
  7200. "required": true
  7201. }
  7202. ],
  7203. "responses": {
  7204. "200": {
  7205. "description": "OK",
  7206. "schema": {
  7207. "$ref": "#/definitions/app.Response"
  7208. }
  7209. },
  7210. "500": {
  7211. "description": "Internal Server Error",
  7212. "schema": {
  7213. "$ref": "#/definitions/app.Response"
  7214. }
  7215. }
  7216. }
  7217. }
  7218. },
  7219. "/Market/QueryGoodsesByLoginID": {
  7220. "get": {
  7221. "security": [
  7222. {
  7223. "ApiKeyAuth": []
  7224. }
  7225. ],
  7226. "produces": [
  7227. "application/json"
  7228. ],
  7229. "tags": [
  7230. "通用市场"
  7231. ],
  7232. "summary": "获取登录账号有权限的商品信息",
  7233. "parameters": [
  7234. {
  7235. "type": "integer",
  7236. "description": "登录账号",
  7237. "name": "loginID",
  7238. "in": "query",
  7239. "required": true
  7240. },
  7241. {
  7242. "type": "string",
  7243. "description": "市场ID列表,格式:1,2,3",
  7244. "name": "marketIDs",
  7245. "in": "query"
  7246. }
  7247. ],
  7248. "responses": {
  7249. "200": {
  7250. "description": "OK",
  7251. "schema": {
  7252. "$ref": "#/definitions/models.Goods"
  7253. }
  7254. },
  7255. "500": {
  7256. "description": "Internal Server Error",
  7257. "schema": {
  7258. "$ref": "#/definitions/app.Response"
  7259. }
  7260. }
  7261. }
  7262. }
  7263. },
  7264. "/Market/QueryMarketRun": {
  7265. "get": {
  7266. "security": [
  7267. {
  7268. "ApiKeyAuth": []
  7269. }
  7270. ],
  7271. "produces": [
  7272. "application/json"
  7273. ],
  7274. "tags": [
  7275. "通用市场"
  7276. ],
  7277. "summary": "查询市场运行信息",
  7278. "parameters": [
  7279. {
  7280. "type": "integer",
  7281. "description": "市场ID,不传返回所有",
  7282. "name": "marketID",
  7283. "in": "query"
  7284. }
  7285. ],
  7286. "responses": {
  7287. "200": {
  7288. "description": "OK",
  7289. "schema": {
  7290. "$ref": "#/definitions/models.Marketrun"
  7291. }
  7292. },
  7293. "500": {
  7294. "description": "Internal Server Error",
  7295. "schema": {
  7296. "$ref": "#/definitions/app.Response"
  7297. }
  7298. }
  7299. }
  7300. }
  7301. },
  7302. "/Market/QueryMarketsByLoginID": {
  7303. "get": {
  7304. "security": [
  7305. {
  7306. "ApiKeyAuth": []
  7307. }
  7308. ],
  7309. "produces": [
  7310. "application/json"
  7311. ],
  7312. "tags": [
  7313. "通用市场"
  7314. ],
  7315. "summary": "获取登录账号有权限的市场信息",
  7316. "parameters": [
  7317. {
  7318. "type": "integer",
  7319. "description": "登录账号",
  7320. "name": "loginID",
  7321. "in": "query",
  7322. "required": true
  7323. }
  7324. ],
  7325. "responses": {
  7326. "200": {
  7327. "description": "OK",
  7328. "schema": {
  7329. "$ref": "#/definitions/models.Market"
  7330. }
  7331. },
  7332. "500": {
  7333. "description": "Internal Server Error",
  7334. "schema": {
  7335. "$ref": "#/definitions/app.Response"
  7336. }
  7337. }
  7338. }
  7339. }
  7340. },
  7341. "/Order/QueryHisTradeDetail": {
  7342. "get": {
  7343. "security": [
  7344. {
  7345. "ApiKeyAuth": []
  7346. }
  7347. ],
  7348. "produces": [
  7349. "application/json"
  7350. ],
  7351. "tags": [
  7352. "通用单据"
  7353. ],
  7354. "summary": "历史成交单查询(合约市场)",
  7355. "parameters": [
  7356. {
  7357. "type": "string",
  7358. "description": "资金账户 - 格式:1,2,3",
  7359. "name": "accountID",
  7360. "in": "query",
  7361. "required": true
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "成交单号",
  7366. "name": "tradeID",
  7367. "in": "query"
  7368. },
  7369. {
  7370. "type": "integer",
  7371. "description": "委托单号",
  7372. "name": "orderID",
  7373. "in": "query"
  7374. },
  7375. {
  7376. "type": "string",
  7377. "description": "交易模式 - 格式:1,2,3",
  7378. "name": "tradeMode",
  7379. "in": "query"
  7380. },
  7381. {
  7382. "type": "integer",
  7383. "description": "委托单据类型",
  7384. "name": "buildType",
  7385. "in": "query"
  7386. },
  7387. {
  7388. "type": "string",
  7389. "description": "成交类别 - 格式:1,2,3",
  7390. "name": "tradeType",
  7391. "in": "query"
  7392. },
  7393. {
  7394. "type": "string",
  7395. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7396. "name": "startDate",
  7397. "in": "query"
  7398. },
  7399. {
  7400. "type": "string",
  7401. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7402. "name": "endDate",
  7403. "in": "query"
  7404. }
  7405. ],
  7406. "responses": {
  7407. "200": {
  7408. "description": "OK",
  7409. "schema": {
  7410. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7411. }
  7412. },
  7413. "500": {
  7414. "description": "Internal Server Error",
  7415. "schema": {
  7416. "$ref": "#/definitions/app.Response"
  7417. }
  7418. }
  7419. }
  7420. }
  7421. },
  7422. "/Order/QueryHisTradeOrderDetail": {
  7423. "get": {
  7424. "security": [
  7425. {
  7426. "ApiKeyAuth": []
  7427. }
  7428. ],
  7429. "produces": [
  7430. "application/json"
  7431. ],
  7432. "tags": [
  7433. "通用单据"
  7434. ],
  7435. "summary": "历史委托单查询请求(合约市场)",
  7436. "parameters": [
  7437. {
  7438. "type": "string",
  7439. "description": "资金账户 - 格式:1,2,3",
  7440. "name": "accountID",
  7441. "in": "query",
  7442. "required": true
  7443. },
  7444. {
  7445. "type": "string",
  7446. "description": "交易模式 - 格式:1,2,3",
  7447. "name": "tradeMode",
  7448. "in": "query"
  7449. },
  7450. {
  7451. "type": "string",
  7452. "description": "委托状态 - 格式:1,2,3",
  7453. "name": "orderStatus",
  7454. "in": "query"
  7455. },
  7456. {
  7457. "type": "integer",
  7458. "description": "委托单号",
  7459. "name": "orderID",
  7460. "in": "query"
  7461. },
  7462. {
  7463. "type": "string",
  7464. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7465. "name": "startDate",
  7466. "in": "query"
  7467. },
  7468. {
  7469. "type": "string",
  7470. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7471. "name": "endDate",
  7472. "in": "query"
  7473. }
  7474. ],
  7475. "responses": {
  7476. "200": {
  7477. "description": "OK",
  7478. "schema": {
  7479. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7480. }
  7481. },
  7482. "500": {
  7483. "description": "Internal Server Error",
  7484. "schema": {
  7485. "$ref": "#/definitions/app.Response"
  7486. }
  7487. }
  7488. }
  7489. }
  7490. },
  7491. "/Order/QueryTradeDetail": {
  7492. "get": {
  7493. "security": [
  7494. {
  7495. "ApiKeyAuth": []
  7496. }
  7497. ],
  7498. "produces": [
  7499. "application/json"
  7500. ],
  7501. "tags": [
  7502. "通用单据"
  7503. ],
  7504. "summary": "成交单查询(合约市场)",
  7505. "parameters": [
  7506. {
  7507. "type": "string",
  7508. "description": "资金账户 - 格式:1,2,3",
  7509. "name": "accountID",
  7510. "in": "query",
  7511. "required": true
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "成交单号",
  7516. "name": "tradeID",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "委托单号",
  7522. "name": "orderID",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "交易模式 - 格式:1,2,3",
  7528. "name": "tradeMode",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "委托单据类型",
  7534. "name": "buildType",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "成交类别 - 格式:1,2,3",
  7540. "name": "tradeType",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Order/QueryTradeOrderDetail": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用单据"
  7572. ],
  7573. "summary": "委托单查询请求(合约市场)",
  7574. "parameters": [
  7575. {
  7576. "type": "string",
  7577. "description": "资金账户 - 格式:1,2,3",
  7578. "name": "accountID",
  7579. "in": "query",
  7580. "required": true
  7581. },
  7582. {
  7583. "type": "string",
  7584. "description": "交易模式 - 格式:1,2,3",
  7585. "name": "tradeMode",
  7586. "in": "query"
  7587. },
  7588. {
  7589. "type": "string",
  7590. "description": "委托状态 - 格式:1,2,3",
  7591. "name": "orderStatus",
  7592. "in": "query"
  7593. },
  7594. {
  7595. "type": "integer",
  7596. "description": "委托单号",
  7597. "name": "orderID",
  7598. "in": "query"
  7599. }
  7600. ],
  7601. "responses": {
  7602. "200": {
  7603. "description": "OK",
  7604. "schema": {
  7605. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7606. }
  7607. },
  7608. "500": {
  7609. "description": "Internal Server Error",
  7610. "schema": {
  7611. "$ref": "#/definitions/app.Response"
  7612. }
  7613. }
  7614. }
  7615. }
  7616. },
  7617. "/Order/QueryTradePosition": {
  7618. "get": {
  7619. "security": [
  7620. {
  7621. "ApiKeyAuth": []
  7622. }
  7623. ],
  7624. "produces": [
  7625. "application/json"
  7626. ],
  7627. "tags": [
  7628. "通用单据"
  7629. ],
  7630. "summary": "持仓汇总查询(合约市场)",
  7631. "parameters": [
  7632. {
  7633. "type": "string",
  7634. "description": "资金账户 - 格式:1,2,3",
  7635. "name": "accountID",
  7636. "in": "query",
  7637. "required": true
  7638. },
  7639. {
  7640. "type": "string",
  7641. "description": "交易模式 - 格式:1,2,3",
  7642. "name": "tradeMode",
  7643. "in": "query"
  7644. }
  7645. ],
  7646. "responses": {
  7647. "200": {
  7648. "description": "OK",
  7649. "schema": {
  7650. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7651. }
  7652. },
  7653. "500": {
  7654. "description": "Internal Server Error",
  7655. "schema": {
  7656. "$ref": "#/definitions/app.Response"
  7657. }
  7658. }
  7659. }
  7660. }
  7661. },
  7662. "/Quote/QueryHistoryDatas": {
  7663. "get": {
  7664. "security": [
  7665. {
  7666. "ApiKeyAuth": []
  7667. }
  7668. ],
  7669. "produces": [
  7670. "application/json"
  7671. ],
  7672. "tags": [
  7673. "行情服务"
  7674. ],
  7675. "summary": "查询行情历史数据",
  7676. "parameters": [
  7677. {
  7678. "type": "integer",
  7679. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7680. "name": "cycleType",
  7681. "in": "query",
  7682. "required": true
  7683. },
  7684. {
  7685. "type": "string",
  7686. "description": "商品代码",
  7687. "name": "goodsCode",
  7688. "in": "query",
  7689. "required": true
  7690. },
  7691. {
  7692. "type": "string",
  7693. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7694. "name": "startTime",
  7695. "in": "query"
  7696. },
  7697. {
  7698. "type": "string",
  7699. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7700. "name": "endTime",
  7701. "in": "query"
  7702. },
  7703. {
  7704. "type": "integer",
  7705. "description": "条数",
  7706. "name": "count",
  7707. "in": "query"
  7708. },
  7709. {
  7710. "type": "boolean",
  7711. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7712. "name": "isAsc",
  7713. "in": "query"
  7714. }
  7715. ],
  7716. "responses": {
  7717. "200": {
  7718. "description": "OK",
  7719. "schema": {
  7720. "$ref": "#/definitions/quote.HistoryData"
  7721. }
  7722. },
  7723. "500": {
  7724. "description": "Internal Server Error",
  7725. "schema": {
  7726. "$ref": "#/definitions/app.Response"
  7727. }
  7728. }
  7729. }
  7730. }
  7731. },
  7732. "/Quote/QueryHistoryTikDatas": {
  7733. "get": {
  7734. "security": [
  7735. {
  7736. "ApiKeyAuth": []
  7737. }
  7738. ],
  7739. "produces": [
  7740. "application/json"
  7741. ],
  7742. "tags": [
  7743. "行情服务"
  7744. ],
  7745. "summary": "查询行情Tik数据",
  7746. "parameters": [
  7747. {
  7748. "type": "string",
  7749. "description": "商品代码",
  7750. "name": "goodsCode",
  7751. "in": "query",
  7752. "required": true
  7753. },
  7754. {
  7755. "type": "string",
  7756. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7757. "name": "startTime",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7763. "name": "endTime",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "integer",
  7768. "description": "条数",
  7769. "name": "count",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "boolean",
  7774. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7775. "name": "isAsc",
  7776. "in": "query"
  7777. }
  7778. ],
  7779. "responses": {
  7780. "200": {
  7781. "description": "OK",
  7782. "schema": {
  7783. "$ref": "#/definitions/quote.HistoryTikData"
  7784. }
  7785. },
  7786. "500": {
  7787. "description": "Internal Server Error",
  7788. "schema": {
  7789. "$ref": "#/definitions/app.Response"
  7790. }
  7791. }
  7792. }
  7793. }
  7794. },
  7795. "/Quote/QueryQuoteDay": {
  7796. "get": {
  7797. "security": [
  7798. {
  7799. "ApiKeyAuth": []
  7800. }
  7801. ],
  7802. "produces": [
  7803. "application/json"
  7804. ],
  7805. "tags": [
  7806. "行情服务"
  7807. ],
  7808. "summary": "获取商品盘面信息",
  7809. "parameters": [
  7810. {
  7811. "type": "string",
  7812. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7813. "name": "goodsCodes",
  7814. "in": "query",
  7815. "required": true
  7816. }
  7817. ],
  7818. "responses": {
  7819. "200": {
  7820. "description": "OK",
  7821. "schema": {
  7822. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7823. }
  7824. },
  7825. "500": {
  7826. "description": "Internal Server Error",
  7827. "schema": {
  7828. "$ref": "#/definitions/app.Response"
  7829. }
  7830. }
  7831. }
  7832. }
  7833. },
  7834. "/Quote/QueryTSData": {
  7835. "get": {
  7836. "security": [
  7837. {
  7838. "ApiKeyAuth": []
  7839. }
  7840. ],
  7841. "produces": [
  7842. "application/json"
  7843. ],
  7844. "tags": [
  7845. "行情服务"
  7846. ],
  7847. "summary": "分时图数据查询",
  7848. "parameters": [
  7849. {
  7850. "type": "string",
  7851. "description": "商品代码",
  7852. "name": "goodsCode",
  7853. "in": "query",
  7854. "required": true
  7855. }
  7856. ],
  7857. "responses": {
  7858. "200": {
  7859. "description": "OK",
  7860. "schema": {
  7861. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7862. }
  7863. },
  7864. "500": {
  7865. "description": "Internal Server Error",
  7866. "schema": {
  7867. "$ref": "#/definitions/app.Response"
  7868. }
  7869. }
  7870. }
  7871. }
  7872. },
  7873. "/SZDZ/QueryConvertConfig": {
  7874. "get": {
  7875. "security": [
  7876. {
  7877. "ApiKeyAuth": []
  7878. }
  7879. ],
  7880. "produces": [
  7881. "application/json"
  7882. ],
  7883. "tags": [
  7884. "定制【尚志大宗】"
  7885. ],
  7886. "summary": "查询交易系统转换设置",
  7887. "parameters": [
  7888. {
  7889. "type": "integer",
  7890. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7891. "name": "convertType",
  7892. "in": "query"
  7893. },
  7894. {
  7895. "type": "string",
  7896. "description": "外部商品代码[JD\\PD]",
  7897. "name": "outerGoodsCode",
  7898. "in": "query"
  7899. },
  7900. {
  7901. "type": "string",
  7902. "description": "内部商品ID列表[交易],格式:1,2,3",
  7903. "name": "innerGoodsIDs",
  7904. "in": "query"
  7905. }
  7906. ],
  7907. "responses": {
  7908. "200": {
  7909. "description": "OK",
  7910. "schema": {
  7911. "$ref": "#/definitions/models.Szdz3convertconfig"
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/SZDZ/QueryConvertLog": {
  7924. "get": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "定制【尚志大宗】"
  7935. ],
  7936. "summary": "交易系统转换流水查询",
  7937. "parameters": [
  7938. {
  7939. "type": "string",
  7940. "description": "资金账户 - 格式:1,2,3",
  7941. "name": "accountID",
  7942. "in": "query",
  7943. "required": true
  7944. },
  7945. {
  7946. "type": "string",
  7947. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7948. "name": "startDate",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "string",
  7953. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7954. "name": "endDate",
  7955. "in": "query"
  7956. }
  7957. ],
  7958. "responses": {
  7959. "200": {
  7960. "description": "OK",
  7961. "schema": {
  7962. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7963. }
  7964. },
  7965. "500": {
  7966. "description": "Internal Server Error",
  7967. "schema": {
  7968. "$ref": "#/definitions/app.Response"
  7969. }
  7970. }
  7971. }
  7972. }
  7973. },
  7974. "/SZDZ/QueryGoodsPickup": {
  7975. "get": {
  7976. "security": [
  7977. {
  7978. "ApiKeyAuth": []
  7979. }
  7980. ],
  7981. "produces": [
  7982. "application/json"
  7983. ],
  7984. "tags": [
  7985. "定制【尚志大宗】"
  7986. ],
  7987. "summary": "商品提货单查询",
  7988. "parameters": [
  7989. {
  7990. "type": "string",
  7991. "description": "资金账户 - 格式:1,2,3",
  7992. "name": "accountID",
  7993. "in": "query",
  7994. "required": true
  7995. },
  7996. {
  7997. "type": "integer",
  7998. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7999. "name": "takeOrderStatus",
  8000. "in": "query"
  8001. }
  8002. ],
  8003. "responses": {
  8004. "200": {
  8005. "description": "OK",
  8006. "schema": {
  8007. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/app.Response"
  8014. }
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "/SZDZ/QueryRecieptOrder": {
  8020. "get": {
  8021. "security": [
  8022. {
  8023. "ApiKeyAuth": []
  8024. }
  8025. ],
  8026. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8027. "produces": [
  8028. "application/json"
  8029. ],
  8030. "tags": [
  8031. "定制【尚志大宗】"
  8032. ],
  8033. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8034. "parameters": [
  8035. {
  8036. "type": "integer",
  8037. "description": "页码",
  8038. "name": "page",
  8039. "in": "query"
  8040. },
  8041. {
  8042. "type": "integer",
  8043. "description": "每页条数",
  8044. "name": "pagesize",
  8045. "in": "query"
  8046. },
  8047. {
  8048. "type": "integer",
  8049. "description": "商品ID",
  8050. "name": "goodsID",
  8051. "in": "query",
  8052. "required": true
  8053. },
  8054. {
  8055. "type": "string",
  8056. "description": "所属账户名称",
  8057. "name": "accountName",
  8058. "in": "query"
  8059. },
  8060. {
  8061. "type": "integer",
  8062. "description": "市场ID",
  8063. "name": "marketID",
  8064. "in": "query"
  8065. },
  8066. {
  8067. "type": "integer",
  8068. "description": "方向 - 0:买 1:卖",
  8069. "name": "buyorsell",
  8070. "in": "query",
  8071. "required": true
  8072. }
  8073. ],
  8074. "responses": {
  8075. "200": {
  8076. "description": "OK",
  8077. "schema": {
  8078. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8079. }
  8080. },
  8081. "500": {
  8082. "description": "Internal Server Error",
  8083. "schema": {
  8084. "$ref": "#/definitions/app.Response"
  8085. }
  8086. }
  8087. }
  8088. }
  8089. },
  8090. "/SZDZ/QuerySZDZTradePosition": {
  8091. "get": {
  8092. "security": [
  8093. {
  8094. "ApiKeyAuth": []
  8095. }
  8096. ],
  8097. "produces": [
  8098. "application/json"
  8099. ],
  8100. "tags": [
  8101. "定制【尚志大宗】"
  8102. ],
  8103. "summary": "持仓汇总查询(尚志大宗)",
  8104. "parameters": [
  8105. {
  8106. "type": "integer",
  8107. "description": "资金账户",
  8108. "name": "accountID",
  8109. "in": "query",
  8110. "required": true
  8111. }
  8112. ],
  8113. "responses": {
  8114. "200": {
  8115. "description": "OK",
  8116. "schema": {
  8117. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8118. }
  8119. },
  8120. "500": {
  8121. "description": "Internal Server Error",
  8122. "schema": {
  8123. "$ref": "#/definitions/app.Response"
  8124. }
  8125. }
  8126. }
  8127. }
  8128. },
  8129. "/SZDZ/SearchWhite": {
  8130. "get": {
  8131. "security": [
  8132. {
  8133. "ApiKeyAuth": []
  8134. }
  8135. ],
  8136. "produces": [
  8137. "application/json"
  8138. ],
  8139. "tags": [
  8140. "定制【尚志大宗】"
  8141. ],
  8142. "summary": "搜索白名单",
  8143. "parameters": [
  8144. {
  8145. "type": "integer",
  8146. "description": "用户ID",
  8147. "name": "userID",
  8148. "in": "query",
  8149. "required": true
  8150. }
  8151. ],
  8152. "responses": {
  8153. "200": {
  8154. "description": "OK",
  8155. "schema": {
  8156. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8157. }
  8158. },
  8159. "500": {
  8160. "description": "Internal Server Error",
  8161. "schema": {
  8162. "$ref": "#/definitions/app.Response"
  8163. }
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "/Search/SearchGoodses": {
  8169. "get": {
  8170. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8171. "produces": [
  8172. "application/json"
  8173. ],
  8174. "tags": [
  8175. "检索服务"
  8176. ],
  8177. "summary": "检索商品信息",
  8178. "parameters": [
  8179. {
  8180. "type": "string",
  8181. "description": "检索内容",
  8182. "name": "content",
  8183. "in": "query",
  8184. "required": true
  8185. },
  8186. {
  8187. "type": "string",
  8188. "description": "交易模式,格式:1,2,3",
  8189. "name": "tradeModes",
  8190. "in": "query"
  8191. }
  8192. ],
  8193. "responses": {
  8194. "200": {
  8195. "description": "OK",
  8196. "schema": {
  8197. "$ref": "#/definitions/models.SearchGoods"
  8198. }
  8199. },
  8200. "500": {
  8201. "description": "Internal Server Error",
  8202. "schema": {
  8203. "$ref": "#/definitions/app.Response"
  8204. }
  8205. }
  8206. }
  8207. }
  8208. },
  8209. "/TaAccount/GetTaAccounts": {
  8210. "get": {
  8211. "security": [
  8212. {
  8213. "ApiKeyAuth": []
  8214. }
  8215. ],
  8216. "produces": [
  8217. "application/json"
  8218. ],
  8219. "tags": [
  8220. "资金账户"
  8221. ],
  8222. "summary": "获取资金账户信息",
  8223. "parameters": [
  8224. {
  8225. "type": "integer",
  8226. "description": "登录账户",
  8227. "name": "loginID",
  8228. "in": "query",
  8229. "required": true
  8230. },
  8231. {
  8232. "type": "integer",
  8233. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8234. "name": "taAccountType",
  8235. "in": "query"
  8236. }
  8237. ],
  8238. "responses": {
  8239. "200": {
  8240. "description": "OK",
  8241. "schema": {
  8242. "$ref": "#/definitions/models.Taaccount"
  8243. }
  8244. },
  8245. "500": {
  8246. "description": "Internal Server Error",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. }
  8251. }
  8252. }
  8253. },
  8254. "/TaAccount/QueryAmountLog": {
  8255. "get": {
  8256. "security": [
  8257. {
  8258. "ApiKeyAuth": []
  8259. }
  8260. ],
  8261. "produces": [
  8262. "application/json"
  8263. ],
  8264. "tags": [
  8265. "资金账户"
  8266. ],
  8267. "summary": "资金流水查询(当前)",
  8268. "parameters": [
  8269. {
  8270. "type": "integer",
  8271. "description": "页码",
  8272. "name": "page",
  8273. "in": "query"
  8274. },
  8275. {
  8276. "type": "integer",
  8277. "description": "每页条数",
  8278. "name": "pagesize",
  8279. "in": "query"
  8280. },
  8281. {
  8282. "type": "string",
  8283. "description": "资金账户 - 格式:1,2,3",
  8284. "name": "accountID",
  8285. "in": "query",
  8286. "required": true
  8287. },
  8288. {
  8289. "type": "string",
  8290. "description": "资金操作类型 - 格式:1,2,3",
  8291. "name": "OperateType",
  8292. "in": "query"
  8293. }
  8294. ],
  8295. "responses": {
  8296. "200": {
  8297. "description": "OK",
  8298. "schema": {
  8299. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8300. }
  8301. },
  8302. "500": {
  8303. "description": "Internal Server Error",
  8304. "schema": {
  8305. "$ref": "#/definitions/app.Response"
  8306. }
  8307. }
  8308. }
  8309. }
  8310. },
  8311. "/TaAccount/QueryHisAmountLog": {
  8312. "get": {
  8313. "security": [
  8314. {
  8315. "ApiKeyAuth": []
  8316. }
  8317. ],
  8318. "produces": [
  8319. "application/json"
  8320. ],
  8321. "tags": [
  8322. "资金账户"
  8323. ],
  8324. "summary": "资金流水查询(历史)",
  8325. "parameters": [
  8326. {
  8327. "type": "integer",
  8328. "description": "页码",
  8329. "name": "page",
  8330. "in": "query"
  8331. },
  8332. {
  8333. "type": "integer",
  8334. "description": "每页条数",
  8335. "name": "pagesize",
  8336. "in": "query"
  8337. },
  8338. {
  8339. "type": "string",
  8340. "description": "资金账户 - 格式:1,2,3",
  8341. "name": "accountID",
  8342. "in": "query",
  8343. "required": true
  8344. },
  8345. {
  8346. "type": "string",
  8347. "description": "资金操作类型 - 格式:1,2,3",
  8348. "name": "OperateType",
  8349. "in": "query"
  8350. },
  8351. {
  8352. "type": "string",
  8353. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8354. "name": "startDate",
  8355. "in": "query"
  8356. },
  8357. {
  8358. "type": "string",
  8359. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8360. "name": "endDate",
  8361. "in": "query"
  8362. }
  8363. ],
  8364. "responses": {
  8365. "200": {
  8366. "description": "OK",
  8367. "schema": {
  8368. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8369. }
  8370. },
  8371. "500": {
  8372. "description": "Internal Server Error",
  8373. "schema": {
  8374. "$ref": "#/definitions/app.Response"
  8375. }
  8376. }
  8377. }
  8378. }
  8379. },
  8380. "/Trade/QueryRecieptOrder": {
  8381. "get": {
  8382. "security": [
  8383. {
  8384. "ApiKeyAuth": []
  8385. }
  8386. ],
  8387. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8388. "produces": [
  8389. "application/json"
  8390. ],
  8391. "tags": [
  8392. "通用交易"
  8393. ],
  8394. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8395. "parameters": [
  8396. {
  8397. "type": "integer",
  8398. "description": "页码",
  8399. "name": "page",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "integer",
  8404. "description": "每页条数",
  8405. "name": "pagesize",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "integer",
  8410. "description": "商品ID",
  8411. "name": "goodsID",
  8412. "in": "query",
  8413. "required": true
  8414. },
  8415. {
  8416. "type": "string",
  8417. "description": "所属账户名称",
  8418. "name": "accountName",
  8419. "in": "query"
  8420. },
  8421. {
  8422. "type": "integer",
  8423. "description": "市场ID",
  8424. "name": "marketID",
  8425. "in": "query"
  8426. },
  8427. {
  8428. "type": "integer",
  8429. "description": "方向 - 0:买 1:卖",
  8430. "name": "buyorsell",
  8431. "in": "query",
  8432. "required": true
  8433. }
  8434. ],
  8435. "responses": {
  8436. "200": {
  8437. "description": "OK",
  8438. "schema": {
  8439. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8440. }
  8441. },
  8442. "500": {
  8443. "description": "Internal Server Error",
  8444. "schema": {
  8445. "$ref": "#/definitions/app.Response"
  8446. }
  8447. }
  8448. }
  8449. }
  8450. },
  8451. "/User/AddMessageBoard": {
  8452. "post": {
  8453. "security": [
  8454. {
  8455. "ApiKeyAuth": []
  8456. }
  8457. ],
  8458. "produces": [
  8459. "application/json"
  8460. ],
  8461. "tags": [
  8462. "用户信息"
  8463. ],
  8464. "summary": "添加用户留言板信息",
  8465. "parameters": [
  8466. {
  8467. "type": "integer",
  8468. "description": "用户ID",
  8469. "name": "userID",
  8470. "in": "query",
  8471. "required": true
  8472. },
  8473. {
  8474. "type": "string",
  8475. "description": "留言信息",
  8476. "name": "message",
  8477. "in": "query",
  8478. "required": true
  8479. },
  8480. {
  8481. "type": "string",
  8482. "description": "联系电话",
  8483. "name": "contactNum",
  8484. "in": "query",
  8485. "required": true
  8486. }
  8487. ],
  8488. "responses": {
  8489. "200": {
  8490. "description": "OK",
  8491. "schema": {
  8492. "$ref": "#/definitions/app.Response"
  8493. }
  8494. },
  8495. "500": {
  8496. "description": "Internal Server Error",
  8497. "schema": {
  8498. "$ref": "#/definitions/app.Response"
  8499. }
  8500. }
  8501. }
  8502. }
  8503. },
  8504. "/User/AddUserFavoriteGoods": {
  8505. "post": {
  8506. "security": [
  8507. {
  8508. "ApiKeyAuth": []
  8509. }
  8510. ],
  8511. "produces": [
  8512. "application/json"
  8513. ],
  8514. "tags": [
  8515. "用户信息"
  8516. ],
  8517. "summary": "添加用户商品收藏信息",
  8518. "parameters": [
  8519. {
  8520. "type": "integer",
  8521. "description": "用户ID",
  8522. "name": "userID",
  8523. "in": "query",
  8524. "required": true
  8525. },
  8526. {
  8527. "type": "integer",
  8528. "description": "商品ID",
  8529. "name": "goodsID",
  8530. "in": "query",
  8531. "required": true
  8532. }
  8533. ],
  8534. "responses": {
  8535. "200": {
  8536. "description": "OK",
  8537. "schema": {
  8538. "$ref": "#/definitions/app.Response"
  8539. }
  8540. },
  8541. "500": {
  8542. "description": "Internal Server Error",
  8543. "schema": {
  8544. "$ref": "#/definitions/app.Response"
  8545. }
  8546. }
  8547. }
  8548. }
  8549. },
  8550. "/User/GetLoginID": {
  8551. "get": {
  8552. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8553. "produces": [
  8554. "application/json"
  8555. ],
  8556. "tags": [
  8557. "用户信息"
  8558. ],
  8559. "summary": "获取登录ID",
  8560. "parameters": [
  8561. {
  8562. "type": "string",
  8563. "description": "登录代码",
  8564. "name": "username",
  8565. "in": "query",
  8566. "required": true
  8567. }
  8568. ],
  8569. "responses": {
  8570. "200": {
  8571. "description": "OK",
  8572. "schema": {
  8573. "$ref": "#/definitions/app.Response"
  8574. }
  8575. },
  8576. "500": {
  8577. "description": "Internal Server Error",
  8578. "schema": {
  8579. "$ref": "#/definitions/app.Response"
  8580. }
  8581. }
  8582. }
  8583. }
  8584. },
  8585. "/User/GetUserAccount": {
  8586. "get": {
  8587. "security": [
  8588. {
  8589. "ApiKeyAuth": []
  8590. }
  8591. ],
  8592. "produces": [
  8593. "application/json"
  8594. ],
  8595. "tags": [
  8596. "用户信息"
  8597. ],
  8598. "summary": "获取用户账号信息",
  8599. "parameters": [
  8600. {
  8601. "type": "integer",
  8602. "description": "用户ID",
  8603. "name": "userID",
  8604. "in": "query",
  8605. "required": true
  8606. }
  8607. ],
  8608. "responses": {
  8609. "200": {
  8610. "description": "OK",
  8611. "schema": {
  8612. "$ref": "#/definitions/models.Useraccount"
  8613. }
  8614. },
  8615. "500": {
  8616. "description": "Internal Server Error",
  8617. "schema": {
  8618. "$ref": "#/definitions/app.Response"
  8619. }
  8620. }
  8621. }
  8622. }
  8623. },
  8624. "/User/GetUserAuthStatus": {
  8625. "get": {
  8626. "security": [
  8627. {
  8628. "ApiKeyAuth": []
  8629. }
  8630. ],
  8631. "produces": [
  8632. "application/json"
  8633. ],
  8634. "tags": [
  8635. "用户信息"
  8636. ],
  8637. "summary": "获取用户实名认证状态",
  8638. "parameters": [
  8639. {
  8640. "type": "integer",
  8641. "description": "用户ID",
  8642. "name": "userID",
  8643. "in": "query",
  8644. "required": true
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "$ref": "#/definitions/app.Response"
  8652. }
  8653. },
  8654. "500": {
  8655. "description": "Internal Server Error",
  8656. "schema": {
  8657. "$ref": "#/definitions/app.Response"
  8658. }
  8659. }
  8660. }
  8661. }
  8662. },
  8663. "/User/LoginQuery": {
  8664. "get": {
  8665. "security": [
  8666. {
  8667. "ApiKeyAuth": []
  8668. }
  8669. ],
  8670. "produces": [
  8671. "application/json"
  8672. ],
  8673. "tags": [
  8674. "用户信息"
  8675. ],
  8676. "summary": "账户登录后信息查询",
  8677. "parameters": [
  8678. {
  8679. "type": "integer",
  8680. "description": "登录账号",
  8681. "name": "loginID",
  8682. "in": "query",
  8683. "required": true
  8684. }
  8685. ],
  8686. "responses": {
  8687. "200": {
  8688. "description": "OK",
  8689. "schema": {
  8690. "$ref": "#/definitions/user.LoginQueryRsp"
  8691. }
  8692. },
  8693. "500": {
  8694. "description": "Internal Server Error",
  8695. "schema": {
  8696. "$ref": "#/definitions/app.Response"
  8697. }
  8698. }
  8699. }
  8700. }
  8701. },
  8702. "/User/QueryMessageBoard": {
  8703. "get": {
  8704. "security": [
  8705. {
  8706. "ApiKeyAuth": []
  8707. }
  8708. ],
  8709. "produces": [
  8710. "application/json"
  8711. ],
  8712. "tags": [
  8713. "用户信息"
  8714. ],
  8715. "summary": "获取用户留言板信息",
  8716. "parameters": [
  8717. {
  8718. "type": "integer",
  8719. "description": "用户ID",
  8720. "name": "userID",
  8721. "in": "query",
  8722. "required": true
  8723. }
  8724. ],
  8725. "responses": {
  8726. "200": {
  8727. "description": "OK",
  8728. "schema": {
  8729. "$ref": "#/definitions/models.Messageboard"
  8730. }
  8731. },
  8732. "500": {
  8733. "description": "Internal Server Error",
  8734. "schema": {
  8735. "$ref": "#/definitions/app.Response"
  8736. }
  8737. }
  8738. }
  8739. }
  8740. },
  8741. "/User/QueryUserFavoriteGoodses": {
  8742. "get": {
  8743. "security": [
  8744. {
  8745. "ApiKeyAuth": []
  8746. }
  8747. ],
  8748. "produces": [
  8749. "application/json"
  8750. ],
  8751. "tags": [
  8752. "用户信息"
  8753. ],
  8754. "summary": "获取用户商品收藏信息",
  8755. "parameters": [
  8756. {
  8757. "type": "integer",
  8758. "description": "用户ID",
  8759. "name": "userID",
  8760. "in": "query",
  8761. "required": true
  8762. }
  8763. ],
  8764. "responses": {
  8765. "200": {
  8766. "description": "OK",
  8767. "schema": {
  8768. "$ref": "#/definitions/models.Userfavoritegoods"
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/User/QueryUserInfo": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "用户信息"
  8792. ],
  8793. "summary": "获取用户信息",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userID",
  8799. "in": "query",
  8800. "required": true
  8801. },
  8802. {
  8803. "type": "boolean",
  8804. "description": "是否解密",
  8805. "name": "isDecrypt",
  8806. "in": "query"
  8807. }
  8808. ],
  8809. "responses": {
  8810. "200": {
  8811. "description": "OK",
  8812. "schema": {
  8813. "$ref": "#/definitions/models.Userinfo"
  8814. }
  8815. },
  8816. "500": {
  8817. "description": "Internal Server Error",
  8818. "schema": {
  8819. "$ref": "#/definitions/app.Response"
  8820. }
  8821. }
  8822. }
  8823. }
  8824. },
  8825. "/User/QueryUserReferNum": {
  8826. "get": {
  8827. "produces": [
  8828. "application/json"
  8829. ],
  8830. "tags": [
  8831. "用户信息"
  8832. ],
  8833. "summary": "获取用户邀请码",
  8834. "parameters": [
  8835. {
  8836. "type": "integer",
  8837. "description": "用户ID",
  8838. "name": "userID",
  8839. "in": "query",
  8840. "required": true
  8841. }
  8842. ],
  8843. "responses": {
  8844. "200": {
  8845. "description": "OK",
  8846. "schema": {
  8847. "$ref": "#/definitions/app.Response"
  8848. }
  8849. },
  8850. "500": {
  8851. "description": "Internal Server Error",
  8852. "schema": {
  8853. "$ref": "#/definitions/app.Response"
  8854. }
  8855. }
  8856. }
  8857. }
  8858. },
  8859. "/User/RemoveUserFavoriteGoods": {
  8860. "post": {
  8861. "security": [
  8862. {
  8863. "ApiKeyAuth": []
  8864. }
  8865. ],
  8866. "produces": [
  8867. "application/json"
  8868. ],
  8869. "tags": [
  8870. "用户信息"
  8871. ],
  8872. "summary": "移除用户商品收藏信息",
  8873. "parameters": [
  8874. {
  8875. "type": "integer",
  8876. "description": "用户ID",
  8877. "name": "userID",
  8878. "in": "query",
  8879. "required": true
  8880. },
  8881. {
  8882. "type": "integer",
  8883. "description": "商品ID",
  8884. "name": "goodsID",
  8885. "in": "query",
  8886. "required": true
  8887. }
  8888. ],
  8889. "responses": {
  8890. "200": {
  8891. "description": "OK",
  8892. "schema": {
  8893. "$ref": "#/definitions/app.Response"
  8894. }
  8895. },
  8896. "500": {
  8897. "description": "Internal Server Error",
  8898. "schema": {
  8899. "$ref": "#/definitions/app.Response"
  8900. }
  8901. }
  8902. }
  8903. }
  8904. },
  8905. "/User/UpdateUserAccountStatus": {
  8906. "post": {
  8907. "security": [
  8908. {
  8909. "ApiKeyAuth": []
  8910. }
  8911. ],
  8912. "produces": [
  8913. "application/json"
  8914. ],
  8915. "tags": [
  8916. "用户信息"
  8917. ],
  8918. "summary": "更新用户状态",
  8919. "parameters": [
  8920. {
  8921. "type": "integer",
  8922. "description": "用户ID",
  8923. "name": "userID",
  8924. "in": "query",
  8925. "required": true
  8926. },
  8927. {
  8928. "type": "integer",
  8929. "description": "账户状态 - 4:正常 6:注销(停用)",
  8930. "name": "accountStatus",
  8931. "in": "query",
  8932. "required": true
  8933. }
  8934. ],
  8935. "responses": {
  8936. "200": {
  8937. "description": "OK",
  8938. "schema": {
  8939. "$ref": "#/definitions/app.Response"
  8940. }
  8941. },
  8942. "500": {
  8943. "description": "Internal Server Error",
  8944. "schema": {
  8945. "$ref": "#/definitions/app.Response"
  8946. }
  8947. }
  8948. }
  8949. }
  8950. },
  8951. "/WRTrade/GetAllDeliveryGoods": {
  8952. "get": {
  8953. "security": [
  8954. {
  8955. "ApiKeyAuth": []
  8956. },
  8957. {
  8958. "ApiKeyAuth": []
  8959. }
  8960. ],
  8961. "produces": [
  8962. "application/json",
  8963. "application/json"
  8964. ],
  8965. "tags": [
  8966. "仓单贸易",
  8967. "仓单贸易"
  8968. ],
  8969. "summary": "获取带仓单分类的种类信息",
  8970. "responses": {
  8971. "200": {
  8972. "description": "OK",
  8973. "schema": {
  8974. "$ref": "#/definitions/app.Response"
  8975. }
  8976. },
  8977. "500": {
  8978. "description": "Internal Server Error",
  8979. "schema": {
  8980. "$ref": "#/definitions/app.Response"
  8981. }
  8982. }
  8983. }
  8984. }
  8985. }
  8986. },
  8987. "definitions": {
  8988. "app.Response": {
  8989. "type": "object",
  8990. "properties": {
  8991. "code": {
  8992. "type": "integer"
  8993. },
  8994. "data": {
  8995. "type": "object"
  8996. },
  8997. "msg": {
  8998. "type": "string"
  8999. },
  9000. "page": {
  9001. "description": "页码",
  9002. "type": "integer"
  9003. },
  9004. "pagesize": {
  9005. "description": "每页条数",
  9006. "type": "integer"
  9007. },
  9008. "total": {
  9009. "description": "总条数",
  9010. "type": "integer"
  9011. }
  9012. }
  9013. },
  9014. "common.ClientMenu": {
  9015. "type": "object",
  9016. "properties": {
  9017. "children": {
  9018. "description": "子菜单列表",
  9019. "type": "array",
  9020. "items": {
  9021. "$ref": "#/definitions/common.ClientMenu"
  9022. }
  9023. },
  9024. "code": {
  9025. "description": "ID",
  9026. "type": "string"
  9027. },
  9028. "isshow": {
  9029. "description": "是否显示",
  9030. "type": "boolean"
  9031. },
  9032. "rulekey": {
  9033. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9034. "type": "string"
  9035. },
  9036. "sort": {
  9037. "description": "排序",
  9038. "type": "integer"
  9039. },
  9040. "title": {
  9041. "description": "标题",
  9042. "type": "string"
  9043. },
  9044. "type": {
  9045. "description": "类型,1:菜单 2:按钮",
  9046. "type": "integer"
  9047. }
  9048. }
  9049. },
  9050. "common.QueryImageConfigsRsp": {
  9051. "type": "object",
  9052. "required": [
  9053. "configid"
  9054. ],
  9055. "properties": {
  9056. "areauserid": {
  9057. "description": "所属机构ID",
  9058. "type": "integer"
  9059. },
  9060. "configid": {
  9061. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9062. "type": "integer"
  9063. },
  9064. "createdate": {
  9065. "description": "创建时间",
  9066. "type": "string"
  9067. },
  9068. "creatorid": {
  9069. "description": "创建人",
  9070. "type": "integer"
  9071. },
  9072. "imagepath": {
  9073. "description": "图片",
  9074. "type": "string"
  9075. },
  9076. "imagetype": {
  9077. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9078. "type": "integer"
  9079. },
  9080. "isshow": {
  9081. "description": "是否展示 - 0:不展示 1:展示",
  9082. "type": "integer"
  9083. },
  9084. "marketid": {
  9085. "description": "市场ID",
  9086. "type": "integer"
  9087. },
  9088. "modifierid": {
  9089. "description": "操作人",
  9090. "type": "integer"
  9091. },
  9092. "sort": {
  9093. "description": "排序",
  9094. "type": "integer"
  9095. },
  9096. "title": {
  9097. "description": "标题",
  9098. "type": "string"
  9099. },
  9100. "trademode": {
  9101. "description": "交易模式",
  9102. "type": "integer"
  9103. },
  9104. "updatedate": {
  9105. "description": "修改时间",
  9106. "type": "string"
  9107. },
  9108. "url": {
  9109. "description": "链接(地址或商品ID)",
  9110. "type": "string"
  9111. },
  9112. "urltype": {
  9113. "description": "链接类型 - 1:直接地址 2:商品ID",
  9114. "type": "integer"
  9115. }
  9116. }
  9117. },
  9118. "common.QueryNoticeRsp": {
  9119. "type": "object",
  9120. "required": [
  9121. "autoid"
  9122. ],
  9123. "properties": {
  9124. "auditoruserid": {
  9125. "description": "审核人",
  9126. "type": "integer"
  9127. },
  9128. "auditremark": {
  9129. "description": "审核备注",
  9130. "type": "string"
  9131. },
  9132. "audittime": {
  9133. "description": "审核日期",
  9134. "type": "string"
  9135. },
  9136. "autoid": {
  9137. "description": "自增ID",
  9138. "type": "integer"
  9139. },
  9140. "content": {
  9141. "description": "内容",
  9142. "type": "string"
  9143. },
  9144. "createtime": {
  9145. "description": "创建时间",
  9146. "type": "string"
  9147. },
  9148. "creatorid": {
  9149. "description": "建仓人",
  9150. "type": "integer"
  9151. },
  9152. "endtime": {
  9153. "description": "结束时间",
  9154. "type": "string"
  9155. },
  9156. "istop": {
  9157. "description": "是否置顶 - 0:不置顶 1:置顶",
  9158. "type": "integer"
  9159. },
  9160. "msgiconurl": {
  9161. "description": "消息图标Url",
  9162. "type": "string"
  9163. },
  9164. "msgtype": {
  9165. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9166. "type": "integer"
  9167. },
  9168. "publisher": {
  9169. "description": "消息发布者",
  9170. "type": "string"
  9171. },
  9172. "readed": {
  9173. "description": "是否已读",
  9174. "type": "boolean"
  9175. },
  9176. "scheduletime": {
  9177. "description": "计划发送时间",
  9178. "type": "string"
  9179. },
  9180. "sendtype": {
  9181. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9182. "type": "integer"
  9183. },
  9184. "sentstatus": {
  9185. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9186. "type": "integer"
  9187. },
  9188. "title": {
  9189. "description": "标题",
  9190. "type": "string"
  9191. },
  9192. "userid": {
  9193. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9194. "type": "integer"
  9195. }
  9196. }
  9197. },
  9198. "common.QueryProvincesAndCitiesRsp": {
  9199. "type": "object",
  9200. "properties": {
  9201. "cities": {
  9202. "description": "市",
  9203. "type": "array",
  9204. "items": {
  9205. "$ref": "#/definitions/models.Division"
  9206. }
  9207. },
  9208. "province": {
  9209. "description": "省",
  9210. "type": "object",
  9211. "$ref": "#/definitions/models.Division"
  9212. }
  9213. }
  9214. },
  9215. "common.QueryTableDefineRsp": {
  9216. "type": "object",
  9217. "required": [
  9218. "tablekey"
  9219. ],
  9220. "properties": {
  9221. "columns": {
  9222. "description": "列头信息数组",
  9223. "type": "array",
  9224. "items": {
  9225. "$ref": "#/definitions/models.Tablecolumnconfig"
  9226. }
  9227. },
  9228. "remark": {
  9229. "description": "Remark",
  9230. "type": "string"
  9231. },
  9232. "tabelmenu": {
  9233. "description": "列表菜单",
  9234. "type": "string"
  9235. },
  9236. "tablekey": {
  9237. "description": "列表Key",
  9238. "type": "string"
  9239. },
  9240. "tablename": {
  9241. "description": "列表名称",
  9242. "type": "string"
  9243. },
  9244. "tabletype": {
  9245. "description": "列表类型 - 1:管理端 2:终端",
  9246. "type": "integer"
  9247. }
  9248. }
  9249. },
  9250. "common.QueryTraderMenuRsp": {
  9251. "type": "object",
  9252. "properties": {
  9253. "OperationMenu": {
  9254. "description": "功能菜单",
  9255. "type": "array",
  9256. "items": {
  9257. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9258. }
  9259. },
  9260. "QuoteMenu": {
  9261. "description": "报价牌分类菜单",
  9262. "type": "array",
  9263. "items": {
  9264. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9265. }
  9266. }
  9267. }
  9268. },
  9269. "cptrade.Cptradepositioncancel": {
  9270. "type": "object",
  9271. "required": [
  9272. "cancelid"
  9273. ],
  9274. "properties": {
  9275. "accountid": {
  9276. "description": "申请人账户ID",
  9277. "type": "integer"
  9278. },
  9279. "applystatus": {
  9280. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9281. "type": "integer"
  9282. },
  9283. "applytime": {
  9284. "description": "申请时间",
  9285. "type": "string"
  9286. },
  9287. "cancelid": {
  9288. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9289. "type": "integer"
  9290. },
  9291. "cancelqty": {
  9292. "description": "注销数量",
  9293. "type": "integer"
  9294. },
  9295. "createtime": {
  9296. "description": "创建时间",
  9297. "type": "string"
  9298. },
  9299. "creatorid": {
  9300. "description": "创建人ID",
  9301. "type": "integer"
  9302. },
  9303. "creatorname": {
  9304. "description": "创建人",
  9305. "type": "string"
  9306. },
  9307. "goodscode": {
  9308. "description": "订单商品代码",
  9309. "type": "string"
  9310. },
  9311. "goodsid": {
  9312. "description": "商品ID",
  9313. "type": "integer"
  9314. },
  9315. "goodsname": {
  9316. "description": "订单商品名称",
  9317. "type": "string"
  9318. },
  9319. "goodunit": {
  9320. "description": "报价单位",
  9321. "type": "string"
  9322. },
  9323. "handlestatus": {
  9324. "description": "处理状态",
  9325. "type": "integer"
  9326. },
  9327. "marketid": {
  9328. "description": "市场ID",
  9329. "type": "integer"
  9330. },
  9331. "marketname": {
  9332. "description": "市场名称",
  9333. "type": "string"
  9334. },
  9335. "tradedate": {
  9336. "description": "交易日(yyyyMMdd)",
  9337. "type": "string"
  9338. },
  9339. "userid": {
  9340. "description": "申请人ID",
  9341. "type": "integer"
  9342. }
  9343. }
  9344. },
  9345. "cptrade.Cptradepresaleapply": {
  9346. "type": "object",
  9347. "required": [
  9348. "applyid"
  9349. ],
  9350. "properties": {
  9351. "accountid": {
  9352. "description": "申请人账户ID",
  9353. "type": "integer"
  9354. },
  9355. "applyid": {
  9356. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9357. "type": "integer"
  9358. },
  9359. "applyremark": {
  9360. "description": "申请备注",
  9361. "type": "string"
  9362. },
  9363. "applystatus": {
  9364. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9365. "type": "integer"
  9366. },
  9367. "applytime": {
  9368. "description": "申请时间",
  9369. "type": "string"
  9370. },
  9371. "attachmenturl": {
  9372. "description": "附件地址",
  9373. "type": "string"
  9374. },
  9375. "endtime": {
  9376. "description": "预售结束时间",
  9377. "type": "string"
  9378. },
  9379. "goodscode": {
  9380. "description": "商品代码",
  9381. "type": "string"
  9382. },
  9383. "goodsid": {
  9384. "description": "商品ID",
  9385. "type": "integer"
  9386. },
  9387. "goodsname": {
  9388. "description": "商品名称",
  9389. "type": "string"
  9390. },
  9391. "goodunit": {
  9392. "description": "报价单位",
  9393. "type": "string"
  9394. },
  9395. "handlestatus": {
  9396. "description": "处理状态",
  9397. "type": "integer"
  9398. },
  9399. "marketid": {
  9400. "description": "预售市场ID",
  9401. "type": "integer"
  9402. },
  9403. "marketname": {
  9404. "description": "预售市场名称",
  9405. "type": "string"
  9406. },
  9407. "presaleqty": {
  9408. "description": "预售数量",
  9409. "type": "integer"
  9410. },
  9411. "relatedgoodscode": {
  9412. "description": "关联交易合约代码",
  9413. "type": "string"
  9414. },
  9415. "relatedgoodsid": {
  9416. "description": "关联交易合约ID",
  9417. "type": "integer"
  9418. },
  9419. "relatedgoodsname": {
  9420. "description": "关联交易合约名称",
  9421. "type": "string"
  9422. },
  9423. "starttime": {
  9424. "description": "预售开始时间",
  9425. "type": "string"
  9426. },
  9427. "tradedate": {
  9428. "description": "交易日(yyyyMMdd)",
  9429. "type": "string"
  9430. },
  9431. "trademode": {
  9432. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9433. "type": "integer"
  9434. },
  9435. "userid": {
  9436. "description": "申请人ID",
  9437. "type": "integer"
  9438. }
  9439. }
  9440. },
  9441. "cptrade.Cptradeusergoodsdata": {
  9442. "type": "object",
  9443. "required": [
  9444. "accountid",
  9445. "goodsid"
  9446. ],
  9447. "properties": {
  9448. "EnabledQty": {
  9449. "description": "可用量",
  9450. "type": "integer"
  9451. },
  9452. "GoodsCode": {
  9453. "description": "订单商品代码",
  9454. "type": "string"
  9455. },
  9456. "GoodsName": {
  9457. "description": "订单商品名称",
  9458. "type": "string"
  9459. },
  9460. "WRStandardCode": {
  9461. "description": "仓单标准代码",
  9462. "type": "string"
  9463. },
  9464. "WRStandardName": {
  9465. "description": "仓单标准名称",
  9466. "type": "string"
  9467. },
  9468. "accountid": {
  9469. "description": "账户ID",
  9470. "type": "integer"
  9471. },
  9472. "cancelqty": {
  9473. "description": "注销量",
  9474. "type": "integer"
  9475. },
  9476. "curpresaleqty": {
  9477. "description": "当前预售量",
  9478. "type": "integer"
  9479. },
  9480. "deliveryqty": {
  9481. "description": "交割量",
  9482. "type": "integer"
  9483. },
  9484. "freezeamount": {
  9485. "description": "冻结金额",
  9486. "type": "number"
  9487. },
  9488. "goodsid": {
  9489. "description": "商品ID",
  9490. "type": "integer"
  9491. },
  9492. "goodunit": {
  9493. "description": "报价单位",
  9494. "type": "string"
  9495. },
  9496. "hasspotfreeze": {
  9497. "description": "是否有现货冻结 - 0:否 1:有",
  9498. "type": "integer"
  9499. },
  9500. "inqty": {
  9501. "description": "转入量(总数量)",
  9502. "type": "integer"
  9503. },
  9504. "marketid": {
  9505. "description": "市场ID",
  9506. "type": "integer"
  9507. },
  9508. "presaledamount": {
  9509. "description": "已预售总金额",
  9510. "type": "integer"
  9511. },
  9512. "presaledqty": {
  9513. "description": "已预售量",
  9514. "type": "integer"
  9515. },
  9516. "userid": {
  9517. "description": "用户ID",
  9518. "type": "integer"
  9519. },
  9520. "wrstandardid": {
  9521. "description": "仓单标准ID",
  9522. "type": "integer"
  9523. }
  9524. }
  9525. },
  9526. "cptrade.QueryCPTradeMyBidRsp": {
  9527. "type": "object",
  9528. "required": [
  9529. "accountid",
  9530. "goodsid",
  9531. "marketid",
  9532. "orderid",
  9533. "orderqty",
  9534. "ordertime",
  9535. "tradeprice",
  9536. "tradeqty"
  9537. ],
  9538. "properties": {
  9539. "accountid": {
  9540. "description": "账户ID[报价币种]",
  9541. "type": "integer"
  9542. },
  9543. "goodsid": {
  9544. "description": "商品ID",
  9545. "type": "integer"
  9546. },
  9547. "goodunit": {
  9548. "description": "报价单位",
  9549. "type": "string"
  9550. },
  9551. "marketid": {
  9552. "description": "市场ID",
  9553. "type": "integer"
  9554. },
  9555. "orderid": {
  9556. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9557. "type": "integer"
  9558. },
  9559. "orderprice": {
  9560. "description": "委托价格",
  9561. "type": "number"
  9562. },
  9563. "orderqty": {
  9564. "description": "委托数量",
  9565. "type": "integer"
  9566. },
  9567. "ordertime": {
  9568. "description": "委托时间",
  9569. "type": "string"
  9570. },
  9571. "ordertotalprice": {
  9572. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9573. "type": "number"
  9574. },
  9575. "ordertotalweight": {
  9576. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9577. "type": "integer"
  9578. },
  9579. "totaltotalprice": {
  9580. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9581. "type": "number"
  9582. },
  9583. "tradeprice": {
  9584. "description": "成交价格",
  9585. "type": "number"
  9586. },
  9587. "tradeqty": {
  9588. "description": "成交数量",
  9589. "type": "integer"
  9590. }
  9591. }
  9592. },
  9593. "cptrade.QueryCPTradeOrderDetailRsq": {
  9594. "type": "object",
  9595. "required": [
  9596. "accountid",
  9597. "buildtype",
  9598. "buyorsell",
  9599. "goodsid",
  9600. "marketid",
  9601. "memberuserid",
  9602. "operatetype",
  9603. "orderqty",
  9604. "ordertime",
  9605. "pricemode",
  9606. "strorderid",
  9607. "tradedate",
  9608. "validtype"
  9609. ],
  9610. "properties": {
  9611. "accountid": {
  9612. "description": "账户ID[报价币种]",
  9613. "type": "integer"
  9614. },
  9615. "buildtype": {
  9616. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9617. "type": "integer"
  9618. },
  9619. "buyorsell": {
  9620. "description": "买卖 - 0:买 1:卖",
  9621. "type": "integer"
  9622. },
  9623. "cancelorderid": {
  9624. "description": "撤单单号(撤单时填写)",
  9625. "type": "integer"
  9626. },
  9627. "cancelqty": {
  9628. "description": "撤单数量",
  9629. "type": "integer"
  9630. },
  9631. "clientordertime": {
  9632. "description": "客户端委托时间",
  9633. "type": "string"
  9634. },
  9635. "clientticket": {
  9636. "description": "客户端流水号",
  9637. "type": "string"
  9638. },
  9639. "clienttype": {
  9640. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9641. "type": "integer"
  9642. },
  9643. "closeexchagechargevalue": {
  9644. "description": "平仓交易所手续费设置值",
  9645. "type": "number"
  9646. },
  9647. "closefeealgorithm": {
  9648. "description": "平仓手续费收取方式 1:比率 2:固定",
  9649. "type": "integer"
  9650. },
  9651. "closefreezecharge": {
  9652. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9653. "type": "number"
  9654. },
  9655. "closememberchargevalue": {
  9656. "description": "平仓会员手续费设置值",
  9657. "type": "number"
  9658. },
  9659. "closeqty": {
  9660. "description": "平仓数量(先建后平操作 需要记录)",
  9661. "type": "integer"
  9662. },
  9663. "closetradeqty": {
  9664. "description": "平仓成交数量(先建后平操作,需要记录)",
  9665. "type": "integer"
  9666. },
  9667. "closeunfreezecharge": {
  9668. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9669. "type": "number"
  9670. },
  9671. "delistingtype": {
  9672. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9673. "type": "integer"
  9674. },
  9675. "freezecharge": {
  9676. "description": "冻结手续费",
  9677. "type": "number"
  9678. },
  9679. "freezemargin": {
  9680. "description": "冻结保证金(冻结交易金额)",
  9681. "type": "number"
  9682. },
  9683. "gcaccountid": {
  9684. "description": "账户ID[合约币种]",
  9685. "type": "integer"
  9686. },
  9687. "goodsid": {
  9688. "description": "商品ID",
  9689. "type": "integer"
  9690. },
  9691. "isconfirmexercise": {
  9692. "description": "是否确认行权- 0:否 1:是",
  9693. "type": "integer"
  9694. },
  9695. "ispreexercise": {
  9696. "description": "是否预申报- 0:否 1:是",
  9697. "type": "integer"
  9698. },
  9699. "listingselecttype": {
  9700. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9701. "type": "integer"
  9702. },
  9703. "marginalgorithm": {
  9704. "description": "保证金收取方式 1:比率 2:固定",
  9705. "type": "integer"
  9706. },
  9707. "marginvalue": {
  9708. "description": "即市保证金设置值",
  9709. "type": "number"
  9710. },
  9711. "marketid": {
  9712. "description": "市场ID",
  9713. "type": "integer"
  9714. },
  9715. "marketmaxsub": {
  9716. "description": "市价最大偏移范围",
  9717. "type": "number"
  9718. },
  9719. "memberuserid": {
  9720. "description": "所属会员UserID",
  9721. "type": "integer"
  9722. },
  9723. "openexchagechargevalue": {
  9724. "description": "建仓交易所手续费设置值",
  9725. "type": "number"
  9726. },
  9727. "openfeealgorithm": {
  9728. "description": "建仓手续费收取方式 1:比率 2:固定",
  9729. "type": "integer"
  9730. },
  9731. "openfreezecharge": {
  9732. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9733. "type": "number"
  9734. },
  9735. "openmemberchargevalue": {
  9736. "description": "建仓会员手续费设置值",
  9737. "type": "number"
  9738. },
  9739. "openqty": {
  9740. "description": "开仓数量(先建后平操作,需要记录)",
  9741. "type": "integer"
  9742. },
  9743. "opentradeqty": {
  9744. "description": "开仓成交数量(先建后平操作,需要记录)",
  9745. "type": "integer"
  9746. },
  9747. "openunfreezecharge": {
  9748. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9749. "type": "number"
  9750. },
  9751. "operatetype": {
  9752. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9753. "type": "integer"
  9754. },
  9755. "operatorid": {
  9756. "description": "登录账号(LoginID)",
  9757. "type": "integer"
  9758. },
  9759. "optiontype": {
  9760. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9761. "type": "integer"
  9762. },
  9763. "orderprice": {
  9764. "description": "委托价格",
  9765. "type": "number"
  9766. },
  9767. "orderqty": {
  9768. "description": "委托数量",
  9769. "type": "integer"
  9770. },
  9771. "ordersrc": {
  9772. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9773. "type": "integer"
  9774. },
  9775. "orderstatus": {
  9776. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9777. "type": "integer"
  9778. },
  9779. "ordertime": {
  9780. "description": "委托时间",
  9781. "type": "string"
  9782. },
  9783. "preexerciseprice": {
  9784. "description": "预申报价格",
  9785. "type": "number"
  9786. },
  9787. "premium": {
  9788. "description": "权利金",
  9789. "type": "number"
  9790. },
  9791. "preorderid": {
  9792. "description": "关联预埋单号(止盈止损单时填写)",
  9793. "type": "integer"
  9794. },
  9795. "pricemode": {
  9796. "description": "取价方式 - 1:市价 2: 限价",
  9797. "type": "integer"
  9798. },
  9799. "quoteid": {
  9800. "description": "报价单ID",
  9801. "type": "integer"
  9802. },
  9803. "relatedid": {
  9804. "description": "关联单号(交割单)",
  9805. "type": "integer"
  9806. },
  9807. "retcode": {
  9808. "description": "错误代码",
  9809. "type": "integer"
  9810. },
  9811. "sessionid": {
  9812. "description": "会话ID",
  9813. "type": "integer"
  9814. },
  9815. "strorderid": {
  9816. "description": "委托单号",
  9817. "type": "string"
  9818. },
  9819. "tradedate": {
  9820. "description": "交易日(yyyyMMdd)",
  9821. "type": "string"
  9822. },
  9823. "tradeproperty": {
  9824. "description": "交易属性",
  9825. "type": "integer"
  9826. },
  9827. "tradeqty": {
  9828. "description": "成交数量",
  9829. "type": "integer"
  9830. },
  9831. "unfreezecharge": {
  9832. "description": "解冻手续费",
  9833. "type": "number"
  9834. },
  9835. "unfreezemargin": {
  9836. "description": "解冻保证金",
  9837. "type": "number"
  9838. },
  9839. "updatetime": {
  9840. "description": "更新时间",
  9841. "type": "string"
  9842. },
  9843. "uuid": {
  9844. "description": "发起端唯一id",
  9845. "type": "string"
  9846. },
  9847. "validtime": {
  9848. "description": "有效期限",
  9849. "type": "string"
  9850. },
  9851. "validtype": {
  9852. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9853. "type": "integer"
  9854. },
  9855. "volumetype": {
  9856. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9857. "type": "integer"
  9858. }
  9859. }
  9860. },
  9861. "cptrade.QueryMyCPTradeGoodsRsp": {
  9862. "type": "object",
  9863. "required": [
  9864. "goodscode",
  9865. "goodsid",
  9866. "goodsname",
  9867. "marketid",
  9868. "relatedgoodscode",
  9869. "relatedgoodsname"
  9870. ],
  9871. "properties": {
  9872. "accountid": {
  9873. "description": "卖方账户ID",
  9874. "type": "integer"
  9875. },
  9876. "agreeunit": {
  9877. "description": "合约单位",
  9878. "type": "number"
  9879. },
  9880. "applyid": {
  9881. "description": "关联申请ID",
  9882. "type": "integer"
  9883. },
  9884. "attachmenturl": {
  9885. "description": "附件地址",
  9886. "type": "string"
  9887. },
  9888. "createtime": {
  9889. "description": "创建时间",
  9890. "type": "string"
  9891. },
  9892. "currencyid": {
  9893. "description": "报价货币ID",
  9894. "type": "integer"
  9895. },
  9896. "decimalplace": {
  9897. "description": "报价小数位",
  9898. "type": "integer"
  9899. },
  9900. "endtime": {
  9901. "description": "预售结束时间",
  9902. "type": "string"
  9903. },
  9904. "floorprice": {
  9905. "description": "底价[大宗式竞拍]",
  9906. "type": "number"
  9907. },
  9908. "goodscode": {
  9909. "description": "商品代码(预售)",
  9910. "type": "string"
  9911. },
  9912. "goodsdetail": {
  9913. "description": "详情[大宗]",
  9914. "type": "string"
  9915. },
  9916. "goodsid": {
  9917. "description": "商品ID(自增ID SEQ_GOODS)",
  9918. "type": "integer"
  9919. },
  9920. "goodsname": {
  9921. "description": "商品名称(预售)",
  9922. "type": "string"
  9923. },
  9924. "goodunit": {
  9925. "description": "报价单位",
  9926. "type": "string"
  9927. },
  9928. "goodunitid": {
  9929. "description": "报价单位ID",
  9930. "type": "integer"
  9931. },
  9932. "marketid": {
  9933. "description": "所属市场ID",
  9934. "type": "integer"
  9935. },
  9936. "marketname": {
  9937. "description": "预售市场名称",
  9938. "type": "string"
  9939. },
  9940. "presaledamount": {
  9941. "description": "已预售总金额(预售结束时更新)",
  9942. "type": "number"
  9943. },
  9944. "presaledqty": {
  9945. "description": "已预售量(预售结束时更新)",
  9946. "type": "integer"
  9947. },
  9948. "presalemode": {
  9949. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9950. "type": "integer"
  9951. },
  9952. "presaleqty": {
  9953. "description": "预售数量",
  9954. "type": "integer"
  9955. },
  9956. "refprice": {
  9957. "description": "参考价格[一口价]",
  9958. "type": "number"
  9959. },
  9960. "relatedgoodscode": {
  9961. "description": "商品代码(订单)",
  9962. "type": "string"
  9963. },
  9964. "relatedgoodsid": {
  9965. "description": "关联交易合约ID",
  9966. "type": "integer"
  9967. },
  9968. "relatedgoodsname": {
  9969. "description": "商品名称(订单)",
  9970. "type": "string"
  9971. },
  9972. "relatedmarketid": {
  9973. "description": "关联交易合约市场ID",
  9974. "type": "integer"
  9975. },
  9976. "sellstatus": {
  9977. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9978. "type": "integer"
  9979. },
  9980. "startprice": {
  9981. "description": "起拍价[大宗式竞拍]",
  9982. "type": "number"
  9983. },
  9984. "starttime": {
  9985. "description": "预售开始时间",
  9986. "type": "string"
  9987. },
  9988. "tradedate": {
  9989. "description": "交易日(yyyyMMdd)",
  9990. "type": "string"
  9991. },
  9992. "tradeprice": {
  9993. "description": "成交价[大宗]",
  9994. "type": "number"
  9995. },
  9996. "userid": {
  9997. "description": "卖方用户ID",
  9998. "type": "integer"
  9999. }
  10000. }
  10001. },
  10002. "cptrade.QueryPresaleGoodsExRsp": {
  10003. "type": "object",
  10004. "required": [
  10005. "goodsid"
  10006. ],
  10007. "properties": {
  10008. "attachmenturl": {
  10009. "description": "附件地址",
  10010. "type": "string"
  10011. },
  10012. "createtime": {
  10013. "description": "创建时间",
  10014. "type": "string"
  10015. },
  10016. "endtime": {
  10017. "description": "预售结束时间",
  10018. "type": "string"
  10019. },
  10020. "floorprice": {
  10021. "description": "底价[大宗式竞拍]",
  10022. "type": "number"
  10023. },
  10024. "goodsdetail": {
  10025. "description": "详情[大宗]",
  10026. "type": "string"
  10027. },
  10028. "goodsid": {
  10029. "description": "商品ID(预售)",
  10030. "type": "integer"
  10031. },
  10032. "goodunit": {
  10033. "description": "报价单位",
  10034. "type": "string"
  10035. },
  10036. "marketid": {
  10037. "description": "预售市场ID - 根据预售模式选择市场",
  10038. "type": "integer"
  10039. },
  10040. "presaledamount": {
  10041. "description": "已预售总金额(预售结束时更新)",
  10042. "type": "number"
  10043. },
  10044. "presaledqty": {
  10045. "description": "已预售量(预售结束时更新)",
  10046. "type": "integer"
  10047. },
  10048. "presalemode": {
  10049. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10050. "type": "integer"
  10051. },
  10052. "presaleqty": {
  10053. "description": "预售数量",
  10054. "type": "integer"
  10055. },
  10056. "refprice": {
  10057. "description": "参考价格[一口价]",
  10058. "type": "number"
  10059. },
  10060. "relatedgoodsid": {
  10061. "description": "关联交易合约ID",
  10062. "type": "integer"
  10063. },
  10064. "relatedmarketid": {
  10065. "description": "关联交易合约市场ID",
  10066. "type": "integer"
  10067. },
  10068. "sellstatus": {
  10069. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10070. "type": "integer"
  10071. },
  10072. "startprice": {
  10073. "description": "起拍价[大宗式竞拍]",
  10074. "type": "number"
  10075. },
  10076. "starttime": {
  10077. "description": "预售开始时间",
  10078. "type": "string"
  10079. },
  10080. "tradedate": {
  10081. "description": "交易日(yyyyMMdd)",
  10082. "type": "string"
  10083. },
  10084. "tradeprice": {
  10085. "description": "成交价[大宗]",
  10086. "type": "number"
  10087. }
  10088. }
  10089. },
  10090. "delivery.QueryDeliveryRelationRsp": {
  10091. "type": "object",
  10092. "required": [
  10093. "begindate",
  10094. "enddate",
  10095. "goodsid",
  10096. "mindeliveryqty",
  10097. "xdeliveryratio"
  10098. ],
  10099. "properties": {
  10100. "begindate": {
  10101. "description": "起始日期(yyyyMMdd)",
  10102. "type": "string"
  10103. },
  10104. "buytemplateid": {
  10105. "description": "买履约计划模板ID",
  10106. "type": "integer"
  10107. },
  10108. "deliverygoodscode": {
  10109. "description": "品种代码",
  10110. "type": "string"
  10111. },
  10112. "deliverygoodsid": {
  10113. "description": "交割商品",
  10114. "type": "integer"
  10115. },
  10116. "deliverygoodsname": {
  10117. "description": "品种名称",
  10118. "type": "string"
  10119. },
  10120. "deliverymode": {
  10121. "description": "交割方式 - 1:点选式 2:申报式",
  10122. "type": "integer"
  10123. },
  10124. "deliverypricerule": {
  10125. "description": "交割价规则- 1:行情价 2:建仓价",
  10126. "type": "integer"
  10127. },
  10128. "deliverytype": {
  10129. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10130. "type": "integer"
  10131. },
  10132. "enddate": {
  10133. "description": "结束日期(yyyyMMdd)",
  10134. "type": "string"
  10135. },
  10136. "goodscode": {
  10137. "description": "商品代码",
  10138. "type": "string"
  10139. },
  10140. "goodsid": {
  10141. "description": "交易合约ID",
  10142. "type": "integer"
  10143. },
  10144. "goodsname": {
  10145. "description": "商品名称",
  10146. "type": "string"
  10147. },
  10148. "marketid": {
  10149. "description": "市场ID",
  10150. "type": "integer"
  10151. },
  10152. "mindeliveryqty": {
  10153. "description": "最小交割系数(K)",
  10154. "type": "integer"
  10155. },
  10156. "p2deliveryprice": {
  10157. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10158. "type": "number"
  10159. },
  10160. "p2deliveryratio": {
  10161. "description": "P2合约系数(p)",
  10162. "type": "integer"
  10163. },
  10164. "p2goodsid": {
  10165. "description": "P2合约ID",
  10166. "type": "integer"
  10167. },
  10168. "p2pricemode": {
  10169. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10170. "type": "integer"
  10171. },
  10172. "pdeliveryprice": {
  10173. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10174. "type": "number"
  10175. },
  10176. "pdeliveryratio": {
  10177. "description": "P合约系数(n)",
  10178. "type": "integer"
  10179. },
  10180. "pgoodsid": {
  10181. "description": "P合约ID",
  10182. "type": "integer"
  10183. },
  10184. "ppricemode": {
  10185. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10186. "type": "integer"
  10187. },
  10188. "rratio": {
  10189. "description": "兑换系数(R)",
  10190. "type": "integer"
  10191. },
  10192. "rratio1": {
  10193. "description": "兑换系数(交易合约)(R1)",
  10194. "type": "integer"
  10195. },
  10196. "rratio2": {
  10197. "description": "兑换系数(仓单标准)(R2)",
  10198. "type": "integer"
  10199. },
  10200. "selltemplateid": {
  10201. "description": "卖履约计划模板ID",
  10202. "type": "integer"
  10203. },
  10204. "wrstandardid": {
  10205. "description": "仓单标准ID",
  10206. "type": "integer"
  10207. },
  10208. "xdeliveryratio": {
  10209. "description": "交易合约系数(m)",
  10210. "type": "integer"
  10211. }
  10212. }
  10213. },
  10214. "ermcp.ExposureDetailRsp": {
  10215. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10216. },
  10217. "ermcp.ExposureHedgePosDetailRsp": {
  10218. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10219. },
  10220. "ermcp.ExposureHedgePositionRsp": {
  10221. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10222. },
  10223. "ermcp.ExposureSpotDetailRsp": {
  10224. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10225. },
  10226. "ermcp.ExposureSpotRsp": {
  10227. "$ref": "#/definitions/models.AreaSpotModel"
  10228. },
  10229. "ermcp.HisExposureRsp": {
  10230. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10231. },
  10232. "ermcp.PendingAuditCntRsp": {
  10233. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10234. },
  10235. "ermcp.QryAreaStockApplyRsp": {
  10236. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10237. },
  10238. "ermcp.QryAvalidGPRsp": {
  10239. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10240. },
  10241. "ermcp.QryBusinessDjRsp": {
  10242. "type": "object",
  10243. "properties": {
  10244. "amount": {
  10245. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10246. "type": "number"
  10247. },
  10248. "applyid": {
  10249. "description": "申请人",
  10250. "type": "string"
  10251. },
  10252. "applyname": {
  10253. "description": "申请人名称",
  10254. "type": "string"
  10255. },
  10256. "applystatus": {
  10257. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10258. "type": "integer"
  10259. },
  10260. "applytime": {
  10261. "description": "申请时间",
  10262. "type": "string"
  10263. },
  10264. "attachurl": {
  10265. "description": "附件",
  10266. "type": "string"
  10267. },
  10268. "auditid": {
  10269. "description": "审核人ID",
  10270. "type": "string"
  10271. },
  10272. "auditname": {
  10273. "description": "审核人名称",
  10274. "type": "string"
  10275. },
  10276. "audittime": {
  10277. "description": "审核时间",
  10278. "type": "string"
  10279. },
  10280. "buyusername": {
  10281. "description": "采购方名称",
  10282. "type": "string"
  10283. },
  10284. "contractno": {
  10285. "description": "合同编号",
  10286. "type": "string"
  10287. },
  10288. "contractstatus": {
  10289. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10290. "type": "integer"
  10291. },
  10292. "contracttype": {
  10293. "description": "现货合同类型 - 1:采购 -1:销售",
  10294. "type": "integer"
  10295. },
  10296. "deliverygoodscode": {
  10297. "description": "现货品种代码",
  10298. "type": "string"
  10299. },
  10300. "deliverygoodsid": {
  10301. "description": "现货商品ID",
  10302. "type": "integer"
  10303. },
  10304. "deliverygoodsname": {
  10305. "description": "现货品种名称",
  10306. "type": "string"
  10307. },
  10308. "enumdicname": {
  10309. "description": "单位名称",
  10310. "type": "string"
  10311. },
  10312. "goodscode": {
  10313. "description": "点价合约",
  10314. "type": "string"
  10315. },
  10316. "goodsname": {
  10317. "description": "商品名称",
  10318. "type": "string"
  10319. },
  10320. "operateapplyid": {
  10321. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10322. "type": "string"
  10323. },
  10324. "operateapplytype": {
  10325. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10326. "type": "integer"
  10327. },
  10328. "pricedPrice": {
  10329. "description": "点价价格(非必填)",
  10330. "type": "number"
  10331. },
  10332. "pricedQty": {
  10333. "description": "点价数量(非必填)",
  10334. "type": "number"
  10335. },
  10336. "pricemove": {
  10337. "description": "升贴水",
  10338. "type": "number"
  10339. },
  10340. "pricetype": {
  10341. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10342. "type": "integer"
  10343. },
  10344. "relatedid": {
  10345. "description": "现货合同ID",
  10346. "type": "string"
  10347. },
  10348. "sellusername": {
  10349. "description": "销售方名字",
  10350. "type": "string"
  10351. },
  10352. "userid": {
  10353. "description": "用户ID",
  10354. "type": "integer"
  10355. },
  10356. "wrstandardcode": {
  10357. "description": "品类代码",
  10358. "type": "string"
  10359. },
  10360. "wrstandardid": {
  10361. "description": "品类id",
  10362. "type": "integer"
  10363. },
  10364. "wrstandardname": {
  10365. "description": "品类名称",
  10366. "type": "string"
  10367. }
  10368. }
  10369. },
  10370. "ermcp.QryBussinessFpRsp": {
  10371. "type": "object",
  10372. "properties": {
  10373. "applyid": {
  10374. "description": "申请人",
  10375. "type": "string"
  10376. },
  10377. "applyname": {
  10378. "description": "申请人名称",
  10379. "type": "string"
  10380. },
  10381. "applystatus": {
  10382. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10383. "type": "integer"
  10384. },
  10385. "applytime": {
  10386. "description": "申请时间",
  10387. "type": "string"
  10388. },
  10389. "attachurl": {
  10390. "description": "附件",
  10391. "type": "string"
  10392. },
  10393. "auditid": {
  10394. "description": "审核人ID",
  10395. "type": "string"
  10396. },
  10397. "auditname": {
  10398. "description": "审核人名称",
  10399. "type": "string"
  10400. },
  10401. "audittime": {
  10402. "description": "审核时间",
  10403. "type": "string"
  10404. },
  10405. "buyusername": {
  10406. "description": "采购方名称",
  10407. "type": "string"
  10408. },
  10409. "contractno": {
  10410. "description": "合同编号",
  10411. "type": "string"
  10412. },
  10413. "contractstatus": {
  10414. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10415. "type": "integer"
  10416. },
  10417. "contracttype": {
  10418. "description": "现货合同类型 - 1:采购 -1:销售",
  10419. "type": "integer"
  10420. },
  10421. "deliverygoodscode": {
  10422. "description": "现货品种代码",
  10423. "type": "string"
  10424. },
  10425. "deliverygoodsid": {
  10426. "description": "现货商品ID",
  10427. "type": "integer"
  10428. },
  10429. "deliverygoodsname": {
  10430. "description": "现货品种名称",
  10431. "type": "string"
  10432. },
  10433. "enumdicname": {
  10434. "description": "单位名称",
  10435. "type": "string"
  10436. },
  10437. "goodscode": {
  10438. "description": "点价合约",
  10439. "type": "string"
  10440. },
  10441. "goodsname": {
  10442. "description": "商品名称",
  10443. "type": "string"
  10444. },
  10445. "invoiceAmount": {
  10446. "description": "已开收票金额(销售为开票,采购为收票)",
  10447. "type": "number"
  10448. },
  10449. "operateapplyid": {
  10450. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10451. "type": "string"
  10452. },
  10453. "operateapplytype": {
  10454. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10455. "type": "integer"
  10456. },
  10457. "pricemove": {
  10458. "description": "升贴水",
  10459. "type": "number"
  10460. },
  10461. "pricetype": {
  10462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10463. "type": "integer"
  10464. },
  10465. "relatedid": {
  10466. "description": "现货合同ID",
  10467. "type": "string"
  10468. },
  10469. "sellusername": {
  10470. "description": "销售方名字",
  10471. "type": "string"
  10472. },
  10473. "userid": {
  10474. "description": "用户ID",
  10475. "type": "integer"
  10476. },
  10477. "wrstandardcode": {
  10478. "description": "品类代码",
  10479. "type": "string"
  10480. },
  10481. "wrstandardid": {
  10482. "description": "品类id",
  10483. "type": "integer"
  10484. },
  10485. "wrstandardname": {
  10486. "description": "品类名称",
  10487. "type": "string"
  10488. }
  10489. }
  10490. },
  10491. "ermcp.QryBussinessJsExRsp": {
  10492. "type": "object",
  10493. "properties": {
  10494. "applyid": {
  10495. "description": "申请人",
  10496. "type": "string"
  10497. },
  10498. "applyname": {
  10499. "description": "申请人名称",
  10500. "type": "string"
  10501. },
  10502. "applystatus": {
  10503. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10504. "type": "integer"
  10505. },
  10506. "applytime": {
  10507. "description": "申请时间",
  10508. "type": "string"
  10509. },
  10510. "attachurl": {
  10511. "description": "附件",
  10512. "type": "string"
  10513. },
  10514. "auditid": {
  10515. "description": "审核人ID",
  10516. "type": "string"
  10517. },
  10518. "auditname": {
  10519. "description": "审核人名称",
  10520. "type": "string"
  10521. },
  10522. "audittime": {
  10523. "description": "审核时间",
  10524. "type": "string"
  10525. },
  10526. "buyusername": {
  10527. "description": "采购方名称",
  10528. "type": "string"
  10529. },
  10530. "contractno": {
  10531. "description": "合同编号",
  10532. "type": "string"
  10533. },
  10534. "contractstatus": {
  10535. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10536. "type": "integer"
  10537. },
  10538. "contracttype": {
  10539. "description": "现货合同类型 - 1:采购 -1:销售",
  10540. "type": "integer"
  10541. },
  10542. "deliverygoodscode": {
  10543. "description": "现货品种代码",
  10544. "type": "string"
  10545. },
  10546. "deliverygoodsid": {
  10547. "description": "现货商品ID",
  10548. "type": "integer"
  10549. },
  10550. "deliverygoodsname": {
  10551. "description": "现货品种名称",
  10552. "type": "string"
  10553. },
  10554. "enumdicname": {
  10555. "description": "单位名称",
  10556. "type": "string"
  10557. },
  10558. "goodscode": {
  10559. "description": "点价合约",
  10560. "type": "string"
  10561. },
  10562. "goodsname": {
  10563. "description": "商品名称",
  10564. "type": "string"
  10565. },
  10566. "operateapplyid": {
  10567. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10568. "type": "string"
  10569. },
  10570. "operateapplytype": {
  10571. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10572. "type": "integer"
  10573. },
  10574. "pricemove": {
  10575. "description": "升贴水",
  10576. "type": "number"
  10577. },
  10578. "pricetype": {
  10579. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10580. "type": "integer"
  10581. },
  10582. "reckontype": {
  10583. "description": "结算类型",
  10584. "type": "string"
  10585. },
  10586. "reckonvalue": {
  10587. "description": "值",
  10588. "type": "number"
  10589. },
  10590. "relatedid": {
  10591. "description": "现货合同ID",
  10592. "type": "string"
  10593. },
  10594. "sellusername": {
  10595. "description": "销售方名字",
  10596. "type": "string"
  10597. },
  10598. "userid": {
  10599. "description": "用户ID",
  10600. "type": "integer"
  10601. },
  10602. "wrstandardcode": {
  10603. "description": "品类代码",
  10604. "type": "string"
  10605. },
  10606. "wrstandardid": {
  10607. "description": "品类id",
  10608. "type": "integer"
  10609. },
  10610. "wrstandardname": {
  10611. "description": "品类名称",
  10612. "type": "string"
  10613. }
  10614. }
  10615. },
  10616. "ermcp.QryBussinessJsRsp": {
  10617. "type": "object",
  10618. "properties": {
  10619. "addmargin": {
  10620. "description": "追加保证金(非必填)",
  10621. "type": "number"
  10622. },
  10623. "applyid": {
  10624. "description": "申请人",
  10625. "type": "string"
  10626. },
  10627. "applyname": {
  10628. "description": "申请人名称",
  10629. "type": "string"
  10630. },
  10631. "applystatus": {
  10632. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10633. "type": "integer"
  10634. },
  10635. "applytime": {
  10636. "description": "申请时间",
  10637. "type": "string"
  10638. },
  10639. "attachurl": {
  10640. "description": "附件",
  10641. "type": "string"
  10642. },
  10643. "auditid": {
  10644. "description": "审核人ID",
  10645. "type": "string"
  10646. },
  10647. "auditname": {
  10648. "description": "审核人名称",
  10649. "type": "string"
  10650. },
  10651. "audittime": {
  10652. "description": "审核时间",
  10653. "type": "string"
  10654. },
  10655. "buyusername": {
  10656. "description": "采购方名称",
  10657. "type": "string"
  10658. },
  10659. "contractno": {
  10660. "description": "合同编号",
  10661. "type": "string"
  10662. },
  10663. "contractstatus": {
  10664. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10665. "type": "integer"
  10666. },
  10667. "contracttype": {
  10668. "description": "现货合同类型 - 1:采购 -1:销售",
  10669. "type": "integer"
  10670. },
  10671. "decmargin": {
  10672. "description": "减少保证金(非必填)",
  10673. "type": "number"
  10674. },
  10675. "deliverygoodscode": {
  10676. "description": "现货品种代码",
  10677. "type": "string"
  10678. },
  10679. "deliverygoodsid": {
  10680. "description": "现货商品ID",
  10681. "type": "integer"
  10682. },
  10683. "deliverygoodsname": {
  10684. "description": "现货品种名称",
  10685. "type": "string"
  10686. },
  10687. "enumdicname": {
  10688. "description": "单位名称",
  10689. "type": "string"
  10690. },
  10691. "goodscode": {
  10692. "description": "点价合约",
  10693. "type": "string"
  10694. },
  10695. "goodsname": {
  10696. "description": "商品名称",
  10697. "type": "string"
  10698. },
  10699. "operateapplyid": {
  10700. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10701. "type": "string"
  10702. },
  10703. "operateapplytype": {
  10704. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10705. "type": "integer"
  10706. },
  10707. "pricemove": {
  10708. "description": "升贴水",
  10709. "type": "number"
  10710. },
  10711. "pricetype": {
  10712. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10713. "type": "integer"
  10714. },
  10715. "reckonadjustamount": {
  10716. "description": "结算调整金额(非必填)",
  10717. "type": "number"
  10718. },
  10719. "reckonosamount": {
  10720. "description": "结算溢短金额(非必填)",
  10721. "type": "number"
  10722. },
  10723. "reckonotheramount": {
  10724. "description": "结算其他费用(非必填)",
  10725. "type": "number"
  10726. },
  10727. "reckonrealqty": {
  10728. "description": "结算实际数量(非必填)",
  10729. "type": "number"
  10730. },
  10731. "relatedid": {
  10732. "description": "现货合同ID",
  10733. "type": "string"
  10734. },
  10735. "sellusername": {
  10736. "description": "销售方名字",
  10737. "type": "string"
  10738. },
  10739. "userid": {
  10740. "description": "用户ID",
  10741. "type": "integer"
  10742. },
  10743. "wrstandardcode": {
  10744. "description": "品类代码",
  10745. "type": "string"
  10746. },
  10747. "wrstandardid": {
  10748. "description": "品类id",
  10749. "type": "integer"
  10750. },
  10751. "wrstandardname": {
  10752. "description": "品类名称",
  10753. "type": "string"
  10754. }
  10755. }
  10756. },
  10757. "ermcp.QryBussinessKxRsp": {
  10758. "type": "object",
  10759. "properties": {
  10760. "applyid": {
  10761. "description": "申请人",
  10762. "type": "string"
  10763. },
  10764. "applyname": {
  10765. "description": "申请人名称",
  10766. "type": "string"
  10767. },
  10768. "applystatus": {
  10769. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10770. "type": "integer"
  10771. },
  10772. "applytime": {
  10773. "description": "申请时间",
  10774. "type": "string"
  10775. },
  10776. "attachurl": {
  10777. "description": "附件",
  10778. "type": "string"
  10779. },
  10780. "auditid": {
  10781. "description": "审核人ID",
  10782. "type": "string"
  10783. },
  10784. "auditname": {
  10785. "description": "审核人名称",
  10786. "type": "string"
  10787. },
  10788. "audittime": {
  10789. "description": "审核时间",
  10790. "type": "string"
  10791. },
  10792. "buyusername": {
  10793. "description": "采购方名称",
  10794. "type": "string"
  10795. },
  10796. "contractno": {
  10797. "description": "合同编号",
  10798. "type": "string"
  10799. },
  10800. "contractstatus": {
  10801. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10802. "type": "integer"
  10803. },
  10804. "contracttype": {
  10805. "description": "现货合同类型 - 1:采购 -1:销售",
  10806. "type": "integer"
  10807. },
  10808. "deductamount": {
  10809. "description": "退款(非必填)",
  10810. "type": "number"
  10811. },
  10812. "deliverygoodscode": {
  10813. "description": "现货品种代码",
  10814. "type": "string"
  10815. },
  10816. "deliverygoodsid": {
  10817. "description": "现货商品ID",
  10818. "type": "integer"
  10819. },
  10820. "deliverygoodsname": {
  10821. "description": "现货品种名称",
  10822. "type": "string"
  10823. },
  10824. "enumdicname": {
  10825. "description": "单位名称",
  10826. "type": "string"
  10827. },
  10828. "goodscode": {
  10829. "description": "点价合约",
  10830. "type": "string"
  10831. },
  10832. "goodsname": {
  10833. "description": "商品名称",
  10834. "type": "string"
  10835. },
  10836. "kxtype": {
  10837. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10838. "type": "integer"
  10839. },
  10840. "operateapplyid": {
  10841. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10842. "type": "string"
  10843. },
  10844. "operateapplytype": {
  10845. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10846. "type": "integer"
  10847. },
  10848. "payamount": {
  10849. "description": "收付款(非必填)",
  10850. "type": "number"
  10851. },
  10852. "pricemove": {
  10853. "description": "升贴水",
  10854. "type": "number"
  10855. },
  10856. "pricetype": {
  10857. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10858. "type": "integer"
  10859. },
  10860. "relatedid": {
  10861. "description": "现货合同ID",
  10862. "type": "string"
  10863. },
  10864. "sellusername": {
  10865. "description": "销售方名字",
  10866. "type": "string"
  10867. },
  10868. "userid": {
  10869. "description": "用户ID",
  10870. "type": "integer"
  10871. },
  10872. "wrstandardcode": {
  10873. "description": "品类代码",
  10874. "type": "string"
  10875. },
  10876. "wrstandardid": {
  10877. "description": "品类id",
  10878. "type": "integer"
  10879. },
  10880. "wrstandardname": {
  10881. "description": "品类名称",
  10882. "type": "string"
  10883. }
  10884. }
  10885. },
  10886. "ermcp.QryErmcpRsp": {
  10887. "$ref": "#/definitions/models.ErmcpModel"
  10888. },
  10889. "ermcp.QryGGCovertCfgRsp": {
  10890. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10891. },
  10892. "ermcp.QryHedgePlanRsp": {
  10893. "$ref": "#/definitions/models.ErmcpHedgePlan"
  10894. },
  10895. "ermcp.QryMGChangeLogRsp": {
  10896. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10897. },
  10898. "ermcp.QryMiddleGoodsDetailRsp": {
  10899. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10900. },
  10901. "ermcp.QryMiddleGoodsRsp": {
  10902. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10903. },
  10904. "ermcp.QryOPLogRsp": {
  10905. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10906. },
  10907. "ermcp.QryReportDaySpotDetailRsp": {
  10908. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10909. },
  10910. "ermcp.QryReportExposureDayRsp": {
  10911. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  10912. },
  10913. "ermcp.QryReportFinanceDayRsp": {
  10914. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10915. },
  10916. "ermcp.QryReportFinanceKxRsp": {
  10917. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10918. },
  10919. "ermcp.QryReportFinanceMonRsp": {
  10920. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  10921. },
  10922. "ermcp.QryReportSpotDayRsp": {
  10923. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10924. },
  10925. "ermcp.QryReportSpotMonRsp": {
  10926. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  10927. },
  10928. "ermcp.QryReportSpotMonthDetailRsp": {
  10929. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10930. },
  10931. "ermcp.QrySpotContractRsp": {
  10932. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  10933. },
  10934. "ermcp.QryUserInfoRsp": {
  10935. "$ref": "#/definitions/models.ErmcpUserModel"
  10936. },
  10937. "ermcp.QryWarehouseRsp": {
  10938. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10939. },
  10940. "ermcp.QryWrStandardDetailRsp": {
  10941. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  10942. },
  10943. "ermcp.QryWrStandardRsp": {
  10944. "$ref": "#/definitions/models.ErmcpWrstandard"
  10945. },
  10946. "ermcp.QueryAreaStockApplySumRsp": {
  10947. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  10948. },
  10949. "ermcp.QueryErmcpTradePositionRsp": {
  10950. "type": "object",
  10951. "properties": {
  10952. "agreeunit": {
  10953. "description": "合约单位",
  10954. "type": "number"
  10955. },
  10956. "buyorsell": {
  10957. "description": "方向 - 0:买 1:卖",
  10958. "type": "integer"
  10959. },
  10960. "curpositionqty": {
  10961. "description": "持仓(总仓数量, 期末头寸)",
  10962. "type": "integer"
  10963. },
  10964. "curtdposition": {
  10965. "description": "今仓数量(期末今日头寸)",
  10966. "type": "integer"
  10967. },
  10968. "curtdpositionenabled": {
  10969. "description": "今仓可用",
  10970. "type": "integer"
  10971. },
  10972. "decimalplace": {
  10973. "description": "报价小数位",
  10974. "type": "integer"
  10975. },
  10976. "enableqty": {
  10977. "description": "可用(总仓可用)",
  10978. "type": "integer"
  10979. },
  10980. "exexchangename": {
  10981. "description": "外部交易所名称",
  10982. "type": "string"
  10983. },
  10984. "goodscode": {
  10985. "description": "商品代码(内部)",
  10986. "type": "string"
  10987. },
  10988. "goodsid": {
  10989. "description": "商品ID(自增ID SEQ_GOODS)",
  10990. "type": "integer"
  10991. },
  10992. "goodsname": {
  10993. "description": "商品名称",
  10994. "type": "string"
  10995. },
  10996. "last": {
  10997. "description": "现价",
  10998. "type": "number"
  10999. },
  11000. "marketid": {
  11001. "description": "所属市场ID",
  11002. "type": "integer"
  11003. },
  11004. "openaverageprice": {
  11005. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11006. "type": "number"
  11007. },
  11008. "opencost": {
  11009. "description": "开仓成本",
  11010. "type": "number"
  11011. },
  11012. "openpl": {
  11013. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11014. "type": "number"
  11015. },
  11016. "outgoodscode": {
  11017. "description": "商品代码(外部)",
  11018. "type": "string"
  11019. },
  11020. "positionaverageprice": {
  11021. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11022. "type": "number"
  11023. },
  11024. "positioncost": {
  11025. "description": "持仓成本",
  11026. "type": "number"
  11027. },
  11028. "positionpl": {
  11029. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11030. "type": "number"
  11031. },
  11032. "positionplrate": {
  11033. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11034. "type": "number"
  11035. },
  11036. "usedmargin": {
  11037. "description": "占用保证金",
  11038. "type": "number"
  11039. }
  11040. }
  11041. },
  11042. "ermcp.RealtimeExposurePositionRsp": {
  11043. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11044. },
  11045. "ermcp.RealtimeExposureRsp": {
  11046. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11047. },
  11048. "erms2.QueryArbitrageStrategyRsp": {
  11049. "type": "object",
  11050. "required": [
  11051. "asapplyid"
  11052. ],
  11053. "properties": {
  11054. "applybasis": {
  11055. "description": "申请基差",
  11056. "type": "number"
  11057. },
  11058. "asapplyid": {
  11059. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11060. "type": "string"
  11061. },
  11062. "asname": {
  11063. "description": "策略名称",
  11064. "type": "string"
  11065. },
  11066. "asno": {
  11067. "description": "策略编号",
  11068. "type": "string"
  11069. },
  11070. "basischangepl": {
  11071. "description": "基差变动损益[结算更新]",
  11072. "type": "number"
  11073. },
  11074. "biztype": {
  11075. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11076. "type": "integer"
  11077. },
  11078. "closetradedate": {
  11079. "description": "完结交易日(yyyyMMdd)",
  11080. "type": "string"
  11081. },
  11082. "curbasis": {
  11083. "description": "当前基差[结算更新]",
  11084. "type": "number"
  11085. },
  11086. "deliverygoodsid": {
  11087. "description": "现货品种ID",
  11088. "type": "integer"
  11089. },
  11090. "futureavgprice": {
  11091. "description": "期货建仓均价",
  11092. "type": "number"
  11093. },
  11094. "futurecloseamount": {
  11095. "description": "期货平仓金额",
  11096. "type": "number"
  11097. },
  11098. "futurecloseqty": {
  11099. "description": "期货平仓数量",
  11100. "type": "number"
  11101. },
  11102. "futureopenamount": {
  11103. "description": "期货开仓金额",
  11104. "type": "number"
  11105. },
  11106. "futureopenqty": {
  11107. "description": "期货开仓数量",
  11108. "type": "number"
  11109. },
  11110. "futurepl": {
  11111. "description": "期货总盈亏[结算更新]",
  11112. "type": "number"
  11113. },
  11114. "futureqty": {
  11115. "description": "期货持仓数量",
  11116. "type": "number"
  11117. },
  11118. "futurequote": {
  11119. "description": "期货额度",
  11120. "type": "number"
  11121. },
  11122. "goodsgroupid": {
  11123. "description": "期货品种ID",
  11124. "type": "integer"
  11125. },
  11126. "marketid": {
  11127. "description": "市场ID",
  11128. "type": "integer"
  11129. },
  11130. "netexposure": {
  11131. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11132. "type": "number"
  11133. },
  11134. "netexposurepl": {
  11135. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11136. "type": "number"
  11137. },
  11138. "netexposurerate": {
  11139. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11140. "type": "number"
  11141. },
  11142. "openbasis": {
  11143. "description": "建仓基差",
  11144. "type": "number"
  11145. },
  11146. "pricedspotqty": {
  11147. "description": "已定价现货数量",
  11148. "type": "number"
  11149. },
  11150. "pricedspotqtynotax": {
  11151. "description": "已定价现货不含税数量",
  11152. "type": "number"
  11153. },
  11154. "remark": {
  11155. "description": "备注",
  11156. "type": "string"
  11157. },
  11158. "spotavgprice": {
  11159. "description": "现货均价",
  11160. "type": "number"
  11161. },
  11162. "spotbuyamount": {
  11163. "description": "现货采购金额",
  11164. "type": "number"
  11165. },
  11166. "spotbuyqty": {
  11167. "description": "现货采购数量",
  11168. "type": "number"
  11169. },
  11170. "spotpl": {
  11171. "description": "现货总盈亏[结算更新]",
  11172. "type": "number"
  11173. },
  11174. "spotquota": {
  11175. "description": "现货额度",
  11176. "type": "number"
  11177. },
  11178. "spotsellamount": {
  11179. "description": "现货销售金额",
  11180. "type": "number"
  11181. },
  11182. "spotsellqty": {
  11183. "description": "现货销售数量",
  11184. "type": "number"
  11185. },
  11186. "spotusedquota": {
  11187. "description": "现货占用资金",
  11188. "type": "number"
  11189. },
  11190. "strategystatus": {
  11191. "description": "策略状态 - 0:未结束 1:已结束",
  11192. "type": "integer"
  11193. },
  11194. "totalpl": {
  11195. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11196. "type": "number"
  11197. },
  11198. "tradedate": {
  11199. "description": "交易日(yyyyMMdd)",
  11200. "type": "string"
  11201. },
  11202. "updatetime": {
  11203. "description": "更新时间",
  11204. "type": "string"
  11205. },
  11206. "usedquota": {
  11207. "description": "已占用资金",
  11208. "type": "number"
  11209. },
  11210. "userid": {
  11211. "description": "所属机构",
  11212. "type": "integer"
  11213. }
  11214. }
  11215. },
  11216. "erms2.QueryInnerTradeDetailRsp": {
  11217. "type": "object",
  11218. "required": [
  11219. "asapplyid",
  11220. "buyorsell",
  11221. "goodscode",
  11222. "goodsgroupid",
  11223. "goodsgroupname",
  11224. "goodsname",
  11225. "tradeid"
  11226. ],
  11227. "properties": {
  11228. "accountid": {
  11229. "description": "账号ID",
  11230. "type": "integer"
  11231. },
  11232. "agreeunit": {
  11233. "description": "合约单位",
  11234. "type": "number"
  11235. },
  11236. "asapplyid": {
  11237. "description": "策略申请ID",
  11238. "type": "integer"
  11239. },
  11240. "asname": {
  11241. "description": "策略名称",
  11242. "type": "string"
  11243. },
  11244. "asno": {
  11245. "description": "策略编号",
  11246. "type": "string"
  11247. },
  11248. "buyorsell": {
  11249. "description": "方向 - 0:买 1:卖",
  11250. "type": "integer"
  11251. },
  11252. "channelbuildtype": {
  11253. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11254. "type": "integer"
  11255. },
  11256. "closetype": {
  11257. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11258. "type": "integer"
  11259. },
  11260. "decimalplace": {
  11261. "description": "报价小数位",
  11262. "type": "integer"
  11263. },
  11264. "detailtype": {
  11265. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11266. "type": "integer"
  11267. },
  11268. "exexchangecode": {
  11269. "description": "外部交易所代码",
  11270. "type": "string"
  11271. },
  11272. "exexchangename": {
  11273. "description": "外部交易所名称",
  11274. "type": "string"
  11275. },
  11276. "goodscode": {
  11277. "description": "商品代码(合约)",
  11278. "type": "string"
  11279. },
  11280. "goodsgroupid": {
  11281. "description": "商品组ID(品种ID)",
  11282. "type": "integer"
  11283. },
  11284. "goodsgroupname": {
  11285. "description": "商品组名称(品种)",
  11286. "type": "string"
  11287. },
  11288. "goodsid": {
  11289. "description": "商品ID",
  11290. "type": "integer"
  11291. },
  11292. "goodsname": {
  11293. "description": "商品名称(合约)",
  11294. "type": "string"
  11295. },
  11296. "goodunit": {
  11297. "description": "报价单位",
  11298. "type": "string"
  11299. },
  11300. "marketid": {
  11301. "description": "市场ID",
  11302. "type": "integer"
  11303. },
  11304. "orderid": {
  11305. "description": "委托单号",
  11306. "type": "string"
  11307. },
  11308. "outgoodscode": {
  11309. "description": "商品代码(外部)",
  11310. "type": "string"
  11311. },
  11312. "relatedouttradeid": {
  11313. "description": "关联外部成交单ID",
  11314. "type": "string"
  11315. },
  11316. "remark": {
  11317. "description": "备注",
  11318. "type": "string"
  11319. },
  11320. "spotcontractid": {
  11321. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11322. "type": "integer"
  11323. },
  11324. "spotcontractno": {
  11325. "description": "现货合同编号",
  11326. "type": "string"
  11327. },
  11328. "tradeid": {
  11329. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11330. "type": "string"
  11331. },
  11332. "tradeprice": {
  11333. "description": "成交价格",
  11334. "type": "number"
  11335. },
  11336. "tradeqty": {
  11337. "description": "成交数量",
  11338. "type": "integer"
  11339. },
  11340. "tradetime": {
  11341. "description": "成交时间",
  11342. "type": "string"
  11343. },
  11344. "updatetime": {
  11345. "description": "更新时间",
  11346. "type": "string"
  11347. }
  11348. }
  11349. },
  11350. "erms2.QuerySpotContractRsp": {
  11351. "type": "object",
  11352. "required": [
  11353. "spotcontractid"
  11354. ],
  11355. "properties": {
  11356. "accountid": {
  11357. "description": "资金账户ID",
  11358. "type": "integer"
  11359. },
  11360. "areauserid": {
  11361. "description": "所属机构",
  11362. "type": "integer"
  11363. },
  11364. "closedate": {
  11365. "description": "终止日期",
  11366. "type": "string"
  11367. },
  11368. "closeremark": {
  11369. "description": "结束备注",
  11370. "type": "string"
  11371. },
  11372. "closetradedate": {
  11373. "description": "完结交易日(yyyyMMdd)",
  11374. "type": "string"
  11375. },
  11376. "closetype": {
  11377. "description": "终止类型 - 1:违约 2:提前终止",
  11378. "type": "integer"
  11379. },
  11380. "contractamount": {
  11381. "description": "合同金额",
  11382. "type": "number"
  11383. },
  11384. "contractattachment": {
  11385. "description": "合同附件",
  11386. "type": "string"
  11387. },
  11388. "contractno": {
  11389. "description": "现货合同编号",
  11390. "type": "string"
  11391. },
  11392. "contractqty": {
  11393. "description": "合同数量(数值) (用于计算)",
  11394. "type": "number"
  11395. },
  11396. "contractqtychar": {
  11397. "description": "合同数量\\已订价数量 (用于显示)",
  11398. "type": "string"
  11399. },
  11400. "contractstatus": {
  11401. "description": "合同状态 - 0:未结束 1:已结束",
  11402. "type": "integer"
  11403. },
  11404. "contracttype": {
  11405. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11406. "type": "integer"
  11407. },
  11408. "customeraccountid": {
  11409. "description": "客户资金账户ID",
  11410. "type": "integer"
  11411. },
  11412. "customeruserid": {
  11413. "description": "客户ID",
  11414. "type": "integer"
  11415. },
  11416. "deliverygoodsdesc": {
  11417. "description": "品种说明",
  11418. "type": "string"
  11419. },
  11420. "deliverygoodsid": {
  11421. "description": "现货品种ID",
  11422. "type": "integer"
  11423. },
  11424. "handlestatus": {
  11425. "description": "处理状态",
  11426. "type": "integer"
  11427. },
  11428. "invoiceatt": {
  11429. "description": "发票附件",
  11430. "type": "string"
  11431. },
  11432. "invoicedatetime": {
  11433. "description": "开收票更新时间",
  11434. "type": "string"
  11435. },
  11436. "invoiceopentime": {
  11437. "description": "开票时间",
  11438. "type": "string"
  11439. },
  11440. "invoiceremark": {
  11441. "description": "发票备注",
  11442. "type": "string"
  11443. },
  11444. "invoicestatus": {
  11445. "description": "开收票状态 - 0:未开票 1:已开票",
  11446. "type": "integer"
  11447. },
  11448. "lastdate": {
  11449. "description": "交货时间",
  11450. "type": "string"
  11451. },
  11452. "marketid": {
  11453. "description": "市场ID",
  11454. "type": "integer"
  11455. },
  11456. "paydatetime": {
  11457. "description": "收付款更新时间",
  11458. "type": "string"
  11459. },
  11460. "payremark": {
  11461. "description": "收付款备注",
  11462. "type": "string"
  11463. },
  11464. "paystatus": {
  11465. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11466. "type": "integer"
  11467. },
  11468. "positionqty": {
  11469. "description": "头寸数量 - 合同数量去小数部分",
  11470. "type": "integer"
  11471. },
  11472. "producttype": {
  11473. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11474. "type": "integer"
  11475. },
  11476. "relatedqty": {
  11477. "description": "已关联数量",
  11478. "type": "number"
  11479. },
  11480. "relatedstatus": {
  11481. "description": "关联完结状态 - 0:未结束 1:已结束",
  11482. "type": "integer"
  11483. },
  11484. "remark": {
  11485. "description": "备注",
  11486. "type": "string"
  11487. },
  11488. "signdate": {
  11489. "description": "签订日期",
  11490. "type": "string"
  11491. },
  11492. "spotcontractid": {
  11493. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11494. "type": "string"
  11495. },
  11496. "spotdatetime": {
  11497. "description": "收发货更新时间",
  11498. "type": "string"
  11499. },
  11500. "spotprice": {
  11501. "description": "价格",
  11502. "type": "number"
  11503. },
  11504. "spotremark": {
  11505. "description": "收发货备注",
  11506. "type": "string"
  11507. },
  11508. "spotstatus": {
  11509. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11510. "type": "integer"
  11511. },
  11512. "tradedate": {
  11513. "description": "交易日(yyyyMMdd)",
  11514. "type": "string"
  11515. },
  11516. "userid": {
  11517. "description": "业务员用户ID",
  11518. "type": "integer"
  11519. },
  11520. "warehouseid": {
  11521. "description": "仓库ID",
  11522. "type": "integer"
  11523. },
  11524. "wrfactortypeid": {
  11525. "description": "仓单要素类型ID",
  11526. "type": "integer"
  11527. },
  11528. "wrstandardid": {
  11529. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11530. "type": "integer"
  11531. }
  11532. }
  11533. },
  11534. "erms3.AddErms2ASApplyReq": {
  11535. "type": "object",
  11536. "required": [
  11537. "asapplyid"
  11538. ],
  11539. "properties": {
  11540. "applybasis": {
  11541. "description": "申请基差",
  11542. "type": "number"
  11543. },
  11544. "applystatus": {
  11545. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11546. "type": "integer"
  11547. },
  11548. "asapplyid": {
  11549. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11550. "type": "integer"
  11551. },
  11552. "asname": {
  11553. "description": "策略名称",
  11554. "type": "string"
  11555. },
  11556. "asno": {
  11557. "description": "策略编号",
  11558. "type": "string"
  11559. },
  11560. "auditid": {
  11561. "description": "审核人",
  11562. "type": "integer"
  11563. },
  11564. "auditremark": {
  11565. "description": "审核备注",
  11566. "type": "string"
  11567. },
  11568. "audittime": {
  11569. "description": "审核时间",
  11570. "type": "string"
  11571. },
  11572. "biztype": {
  11573. "description": "业务类型 - 1:正向套利 2:反向套利",
  11574. "type": "integer"
  11575. },
  11576. "createtime": {
  11577. "description": "创建时间",
  11578. "type": "string"
  11579. },
  11580. "creatorid": {
  11581. "description": "创建人",
  11582. "type": "integer"
  11583. },
  11584. "deliverygoodsid": {
  11585. "description": "现货品种ID",
  11586. "type": "integer"
  11587. },
  11588. "futurequote": {
  11589. "description": "期货额度",
  11590. "type": "number"
  11591. },
  11592. "goodsgroupid": {
  11593. "description": "期货品种ID",
  11594. "type": "integer"
  11595. },
  11596. "marketid": {
  11597. "description": "市场ID",
  11598. "type": "integer"
  11599. },
  11600. "remark": {
  11601. "description": "备注",
  11602. "type": "string"
  11603. },
  11604. "spotquota": {
  11605. "description": "现货额度",
  11606. "type": "number"
  11607. },
  11608. "tradedate": {
  11609. "description": "交易日(yyyyMMdd)",
  11610. "type": "string"
  11611. },
  11612. "userid": {
  11613. "description": "所属机构",
  11614. "type": "integer"
  11615. }
  11616. }
  11617. },
  11618. "erms3.AddErms2SpotTradeApplyReq": {
  11619. "type": "object",
  11620. "required": [
  11621. "spottradeid"
  11622. ],
  11623. "properties": {
  11624. "applyjsondetail": {
  11625. "description": "申请明细(JSON)",
  11626. "type": "string"
  11627. },
  11628. "applystatus": {
  11629. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11630. "type": "integer"
  11631. },
  11632. "areauserid": {
  11633. "description": "所属机构",
  11634. "type": "integer"
  11635. },
  11636. "auditid": {
  11637. "description": "审核人",
  11638. "type": "integer"
  11639. },
  11640. "auditremark": {
  11641. "description": "审核备注",
  11642. "type": "string"
  11643. },
  11644. "audittime": {
  11645. "description": "审核时间",
  11646. "type": "string"
  11647. },
  11648. "createtime": {
  11649. "description": "创建时间",
  11650. "type": "string"
  11651. },
  11652. "creatorid": {
  11653. "description": "创建人",
  11654. "type": "integer"
  11655. },
  11656. "deliverygoodsid": {
  11657. "description": "现货品种ID",
  11658. "type": "integer"
  11659. },
  11660. "futureaccountid": {
  11661. "description": "期货资金账户",
  11662. "type": "integer"
  11663. },
  11664. "goodsgroupid": {
  11665. "description": "期货品种",
  11666. "type": "integer"
  11667. },
  11668. "marketid": {
  11669. "description": "市场ID",
  11670. "type": "integer"
  11671. },
  11672. "remark": {
  11673. "description": "备注",
  11674. "type": "string"
  11675. },
  11676. "spotaccountid": {
  11677. "description": "现货资金账户",
  11678. "type": "integer"
  11679. },
  11680. "spottradeid": {
  11681. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11682. "type": "integer"
  11683. },
  11684. "spottradename": {
  11685. "description": "业务名称",
  11686. "type": "string"
  11687. },
  11688. "spottradeno": {
  11689. "description": "业务编号",
  11690. "type": "string"
  11691. },
  11692. "tradedate": {
  11693. "description": "交易日(yyyyMMdd)",
  11694. "type": "string"
  11695. },
  11696. "wrstandardid": {
  11697. "description": "仓单标准ID",
  11698. "type": "integer"
  11699. }
  11700. }
  11701. },
  11702. "erms3.AddSpotContractApplyReq": {
  11703. "type": "object",
  11704. "required": [
  11705. "accountid",
  11706. "areauserid",
  11707. "contractno",
  11708. "contracttype",
  11709. "customeraccountid",
  11710. "customeruserid",
  11711. "details",
  11712. "orimargin",
  11713. "signdate"
  11714. ],
  11715. "properties": {
  11716. "accountid": {
  11717. "description": "资金账户ID",
  11718. "type": "integer"
  11719. },
  11720. "areauserid": {
  11721. "description": "所属机构",
  11722. "type": "integer"
  11723. },
  11724. "contractattachment": {
  11725. "description": "合同附件",
  11726. "type": "string"
  11727. },
  11728. "contractno": {
  11729. "description": "现货合同编号",
  11730. "type": "string"
  11731. },
  11732. "contracttype": {
  11733. "description": "现货合同类型 - 1:采购 -1:销售",
  11734. "type": "integer"
  11735. },
  11736. "creatorid": {
  11737. "description": "申请人",
  11738. "type": "integer"
  11739. },
  11740. "customeraccountid": {
  11741. "description": "客户资金账户ID",
  11742. "type": "integer"
  11743. },
  11744. "customeruserid": {
  11745. "description": "客户ID",
  11746. "type": "integer"
  11747. },
  11748. "details": {
  11749. "description": "明细",
  11750. "type": "array",
  11751. "items": {
  11752. "$ref": "#/definitions/erms3.SoptContractDetail"
  11753. }
  11754. },
  11755. "orimargin": {
  11756. "description": "初始保证金",
  11757. "type": "number"
  11758. },
  11759. "remark": {
  11760. "description": "备注",
  11761. "type": "string"
  11762. },
  11763. "signdate": {
  11764. "description": "签订日期",
  11765. "type": "string"
  11766. }
  11767. }
  11768. },
  11769. "erms3.AddSpotContractApplyRsp": {
  11770. "type": "object",
  11771. "required": [
  11772. "contractno"
  11773. ],
  11774. "properties": {
  11775. "contractno": {
  11776. "description": "现货合同编号",
  11777. "type": "string"
  11778. },
  11779. "spotcontractid": {
  11780. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11781. "type": "integer"
  11782. }
  11783. }
  11784. },
  11785. "erms3.AddUserInfoApplyReq": {
  11786. "type": "object",
  11787. "required": [
  11788. "userid"
  11789. ],
  11790. "properties": {
  11791. "accountid": {
  11792. "description": "交易系统帐号Id (加密存储)",
  11793. "type": "integer"
  11794. },
  11795. "areacode": {
  11796. "description": "机构代码",
  11797. "type": "string"
  11798. },
  11799. "areaid": {
  11800. "description": "机构Id",
  11801. "type": "integer"
  11802. },
  11803. "attachment1": {
  11804. "description": "附件1",
  11805. "type": "string"
  11806. },
  11807. "attachment2": {
  11808. "description": "附件2",
  11809. "type": "string"
  11810. },
  11811. "attachment3": {
  11812. "description": "附件3",
  11813. "type": "string"
  11814. },
  11815. "attachment4": {
  11816. "description": "附件4",
  11817. "type": "string"
  11818. },
  11819. "attachment5": {
  11820. "description": "附件5",
  11821. "type": "string"
  11822. },
  11823. "auditedby": {
  11824. "description": "审核人",
  11825. "type": "string"
  11826. },
  11827. "auditime": {
  11828. "description": "审核时间",
  11829. "type": "string"
  11830. },
  11831. "bankaccount": {
  11832. "description": "银行帐号 (加密存储)",
  11833. "type": "string"
  11834. },
  11835. "bankaccountname": {
  11836. "description": "收款人名称",
  11837. "type": "string"
  11838. },
  11839. "bankcardbackphotourl": {
  11840. "description": "银行卡背面照地址",
  11841. "type": "string"
  11842. },
  11843. "bankcardfrontphotourl": {
  11844. "description": "银行卡正面照地址",
  11845. "type": "string"
  11846. },
  11847. "bankid": {
  11848. "description": "银行编码",
  11849. "type": "string"
  11850. },
  11851. "bankname": {
  11852. "description": "银行名称",
  11853. "type": "string"
  11854. },
  11855. "bankpictureurl": {
  11856. "description": "银行卡正面地址",
  11857. "type": "string"
  11858. },
  11859. "biznature": {
  11860. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11861. "type": "integer"
  11862. },
  11863. "bizscope": {
  11864. "description": "企业经营范围(企业)",
  11865. "type": "string"
  11866. },
  11867. "biztype": {
  11868. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11869. "type": "integer"
  11870. },
  11871. "brokerid": {
  11872. "description": "经纪人ID(加密存储)",
  11873. "type": "string"
  11874. },
  11875. "cardaddress": {
  11876. "description": "证件地址 (加密存储)",
  11877. "type": "string"
  11878. },
  11879. "cardbackphotourl": {
  11880. "description": "背面证件照地址",
  11881. "type": "string"
  11882. },
  11883. "cardfrontphotourl": {
  11884. "description": "正面证件照地址",
  11885. "type": "string"
  11886. },
  11887. "cardnum": {
  11888. "description": "证件号码 (加密存储)",
  11889. "type": "string"
  11890. },
  11891. "cardtype": {
  11892. "description": "证件类型",
  11893. "type": "integer"
  11894. },
  11895. "cityid": {
  11896. "description": "市",
  11897. "type": "integer"
  11898. },
  11899. "company": {
  11900. "description": "公司(个人)",
  11901. "type": "string"
  11902. },
  11903. "contactcardbackphotourl": {
  11904. "description": "联系人证件背面图片地址",
  11905. "type": "string"
  11906. },
  11907. "contactcardfrontphotourl": {
  11908. "description": "联系人证件正面图片地址",
  11909. "type": "string"
  11910. },
  11911. "contactname": {
  11912. "description": "联系人",
  11913. "type": "string"
  11914. },
  11915. "countryid": {
  11916. "description": "国家",
  11917. "type": "integer"
  11918. },
  11919. "createtime": {
  11920. "description": "开户申请时间",
  11921. "type": "string"
  11922. },
  11923. "cusbankid": {
  11924. "description": "签约类型",
  11925. "type": "string"
  11926. },
  11927. "cusbankname": {
  11928. "description": "签约类型名称",
  11929. "type": "string"
  11930. },
  11931. "customername": {
  11932. "description": "客户名称(企业名称)",
  11933. "type": "string"
  11934. },
  11935. "districtid": {
  11936. "description": "地区",
  11937. "type": "integer"
  11938. },
  11939. "email": {
  11940. "description": "Email地址(加密存储)",
  11941. "type": "string"
  11942. },
  11943. "halfbodyphotourl": {
  11944. "description": "半身照地址",
  11945. "type": "string"
  11946. },
  11947. "headurl": {
  11948. "description": "头像地址",
  11949. "type": "string"
  11950. },
  11951. "ipaddress": {
  11952. "description": "IP地址",
  11953. "type": "string"
  11954. },
  11955. "isvalidate": {
  11956. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11957. "type": "string"
  11958. },
  11959. "legalcardbackphotourl": {
  11960. "description": "法人身份证背面照地址",
  11961. "type": "string"
  11962. },
  11963. "legalcardfrontphotourl": {
  11964. "description": "法人身份证正面照地址",
  11965. "type": "string"
  11966. },
  11967. "legalpersonname": {
  11968. "description": "法人姓名(企业)",
  11969. "type": "string"
  11970. },
  11971. "logincode": {
  11972. "description": "登录帐号 (加密存储)",
  11973. "type": "string"
  11974. },
  11975. "memberareaid": {
  11976. "description": "所属会员ID",
  11977. "type": "integer"
  11978. },
  11979. "mobile2": {
  11980. "description": "手机号码[明文-尚志]",
  11981. "type": "string"
  11982. },
  11983. "mobilephone": {
  11984. "description": "手机号码 (加密存储)",
  11985. "type": "string"
  11986. },
  11987. "modifiedby": {
  11988. "description": "修改人帐号",
  11989. "type": "integer"
  11990. },
  11991. "modifiedtime": {
  11992. "description": "修改时间",
  11993. "type": "string"
  11994. },
  11995. "nickname": {
  11996. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11997. "type": "string"
  11998. },
  11999. "openmode": {
  12000. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12001. "type": "integer"
  12002. },
  12003. "otherurl": {
  12004. "description": "其它图片地址[使用分号分隔]",
  12005. "type": "string"
  12006. },
  12007. "postalcode": {
  12008. "description": "邮政编码",
  12009. "type": "string"
  12010. },
  12011. "provinceid": {
  12012. "description": "省",
  12013. "type": "integer"
  12014. },
  12015. "proxystatementurl": {
  12016. "description": "授权委托书",
  12017. "type": "string"
  12018. },
  12019. "qq": {
  12020. "description": "QQ(加密存储",
  12021. "type": "string"
  12022. },
  12023. "referral": {
  12024. "description": "推荐人编码",
  12025. "type": "string"
  12026. },
  12027. "remark": {
  12028. "description": "备注",
  12029. "type": "string"
  12030. },
  12031. "removebeforestatus": {
  12032. "description": "REMOVEBEFORESTATUS",
  12033. "type": "integer"
  12034. },
  12035. "sex": {
  12036. "description": "性别 - 0:女 1:男",
  12037. "type": "integer"
  12038. },
  12039. "signedstatus": {
  12040. "description": "账户一号签签约状态",
  12041. "type": "integer"
  12042. },
  12043. "signpdfurl": {
  12044. "description": "签约pdf文件",
  12045. "type": "string"
  12046. },
  12047. "subbranch": {
  12048. "description": "开户支行",
  12049. "type": "string"
  12050. },
  12051. "telphone": {
  12052. "description": "联系电话(加密存储)",
  12053. "type": "string"
  12054. },
  12055. "userid": {
  12056. "description": "用户ID(自增ID)",
  12057. "type": "integer"
  12058. },
  12059. "userinfotype": {
  12060. "description": "用户信息类型 - 1:个人 2:企业",
  12061. "type": "integer"
  12062. },
  12063. "username": {
  12064. "description": "用户姓名",
  12065. "type": "string"
  12066. },
  12067. "userstate": {
  12068. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12069. "type": "integer"
  12070. },
  12071. "usertype": {
  12072. "description": "用户类型 - 1:投资者 2:机构",
  12073. "type": "integer"
  12074. },
  12075. "videourl": {
  12076. "description": "视频地址",
  12077. "type": "string"
  12078. },
  12079. "wechat": {
  12080. "description": "微信号 (加密存储)",
  12081. "type": "string"
  12082. }
  12083. }
  12084. },
  12085. "erms3.CustomerInfo": {
  12086. "type": "object",
  12087. "required": [
  12088. "userid"
  12089. ],
  12090. "properties": {
  12091. "accountids": {
  12092. "description": "资金账户ID列表",
  12093. "type": "array",
  12094. "items": {
  12095. "type": "integer"
  12096. }
  12097. },
  12098. "customername": {
  12099. "description": "名称(企业名称)",
  12100. "type": "string"
  12101. },
  12102. "mobile": {
  12103. "description": "手机号码",
  12104. "type": "string"
  12105. },
  12106. "userid": {
  12107. "description": "用户ID",
  12108. "type": "integer"
  12109. }
  12110. }
  12111. },
  12112. "erms3.ModifyUserInfoApplyReq": {
  12113. "type": "object",
  12114. "required": [
  12115. "userid"
  12116. ],
  12117. "properties": {
  12118. "accountid": {
  12119. "description": "交易系统帐号Id (加密存储)",
  12120. "type": "integer"
  12121. },
  12122. "areacode": {
  12123. "description": "机构代码",
  12124. "type": "string"
  12125. },
  12126. "areaid": {
  12127. "description": "机构Id",
  12128. "type": "integer"
  12129. },
  12130. "attachment1": {
  12131. "description": "附件1",
  12132. "type": "string"
  12133. },
  12134. "attachment2": {
  12135. "description": "附件2",
  12136. "type": "string"
  12137. },
  12138. "attachment3": {
  12139. "description": "附件3",
  12140. "type": "string"
  12141. },
  12142. "attachment4": {
  12143. "description": "附件4",
  12144. "type": "string"
  12145. },
  12146. "attachment5": {
  12147. "description": "附件5",
  12148. "type": "string"
  12149. },
  12150. "auditedby": {
  12151. "description": "审核人",
  12152. "type": "string"
  12153. },
  12154. "auditime": {
  12155. "description": "审核时间",
  12156. "type": "string"
  12157. },
  12158. "bankaccount": {
  12159. "description": "银行帐号 (加密存储)",
  12160. "type": "string"
  12161. },
  12162. "bankaccountname": {
  12163. "description": "收款人名称",
  12164. "type": "string"
  12165. },
  12166. "bankcardbackphotourl": {
  12167. "description": "银行卡背面照地址",
  12168. "type": "string"
  12169. },
  12170. "bankcardfrontphotourl": {
  12171. "description": "银行卡正面照地址",
  12172. "type": "string"
  12173. },
  12174. "bankid": {
  12175. "description": "银行编码",
  12176. "type": "string"
  12177. },
  12178. "bankname": {
  12179. "description": "银行名称",
  12180. "type": "string"
  12181. },
  12182. "bankpictureurl": {
  12183. "description": "银行卡正面地址",
  12184. "type": "string"
  12185. },
  12186. "biznature": {
  12187. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12188. "type": "integer"
  12189. },
  12190. "bizscope": {
  12191. "description": "企业经营范围(企业)",
  12192. "type": "string"
  12193. },
  12194. "biztype": {
  12195. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12196. "type": "integer"
  12197. },
  12198. "brokerid": {
  12199. "description": "经纪人ID(加密存储)",
  12200. "type": "string"
  12201. },
  12202. "cardaddress": {
  12203. "description": "证件地址 (加密存储)",
  12204. "type": "string"
  12205. },
  12206. "cardbackphotourl": {
  12207. "description": "背面证件照地址",
  12208. "type": "string"
  12209. },
  12210. "cardfrontphotourl": {
  12211. "description": "正面证件照地址",
  12212. "type": "string"
  12213. },
  12214. "cardnum": {
  12215. "description": "证件号码 (加密存储)",
  12216. "type": "string"
  12217. },
  12218. "cardtype": {
  12219. "description": "证件类型",
  12220. "type": "integer"
  12221. },
  12222. "cityid": {
  12223. "description": "市",
  12224. "type": "integer"
  12225. },
  12226. "company": {
  12227. "description": "公司(个人)",
  12228. "type": "string"
  12229. },
  12230. "contactcardbackphotourl": {
  12231. "description": "联系人证件背面图片地址",
  12232. "type": "string"
  12233. },
  12234. "contactcardfrontphotourl": {
  12235. "description": "联系人证件正面图片地址",
  12236. "type": "string"
  12237. },
  12238. "contactname": {
  12239. "description": "联系人",
  12240. "type": "string"
  12241. },
  12242. "countryid": {
  12243. "description": "国家",
  12244. "type": "integer"
  12245. },
  12246. "createtime": {
  12247. "description": "开户申请时间",
  12248. "type": "string"
  12249. },
  12250. "cusbankid": {
  12251. "description": "签约类型",
  12252. "type": "string"
  12253. },
  12254. "cusbankname": {
  12255. "description": "签约类型名称",
  12256. "type": "string"
  12257. },
  12258. "customername": {
  12259. "description": "客户名称(企业名称)",
  12260. "type": "string"
  12261. },
  12262. "districtid": {
  12263. "description": "地区",
  12264. "type": "integer"
  12265. },
  12266. "email": {
  12267. "description": "Email地址(加密存储)",
  12268. "type": "string"
  12269. },
  12270. "halfbodyphotourl": {
  12271. "description": "半身照地址",
  12272. "type": "string"
  12273. },
  12274. "headurl": {
  12275. "description": "头像地址",
  12276. "type": "string"
  12277. },
  12278. "ipaddress": {
  12279. "description": "IP地址",
  12280. "type": "string"
  12281. },
  12282. "isvalidate": {
  12283. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12284. "type": "string"
  12285. },
  12286. "legalcardbackphotourl": {
  12287. "description": "法人身份证背面照地址",
  12288. "type": "string"
  12289. },
  12290. "legalcardfrontphotourl": {
  12291. "description": "法人身份证正面照地址",
  12292. "type": "string"
  12293. },
  12294. "legalpersonname": {
  12295. "description": "法人姓名(企业)",
  12296. "type": "string"
  12297. },
  12298. "logincode": {
  12299. "description": "登录帐号 (加密存储)",
  12300. "type": "string"
  12301. },
  12302. "memberareaid": {
  12303. "description": "所属会员ID",
  12304. "type": "integer"
  12305. },
  12306. "mobile2": {
  12307. "description": "手机号码[明文-尚志]",
  12308. "type": "string"
  12309. },
  12310. "mobilephone": {
  12311. "description": "手机号码 (加密存储)",
  12312. "type": "string"
  12313. },
  12314. "modifiedby": {
  12315. "description": "修改人帐号",
  12316. "type": "integer"
  12317. },
  12318. "modifiedtime": {
  12319. "description": "修改时间",
  12320. "type": "string"
  12321. },
  12322. "nickname": {
  12323. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12324. "type": "string"
  12325. },
  12326. "openmode": {
  12327. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12328. "type": "integer"
  12329. },
  12330. "otherurl": {
  12331. "description": "其它图片地址[使用分号分隔]",
  12332. "type": "string"
  12333. },
  12334. "postalcode": {
  12335. "description": "邮政编码",
  12336. "type": "string"
  12337. },
  12338. "provinceid": {
  12339. "description": "省",
  12340. "type": "integer"
  12341. },
  12342. "proxystatementurl": {
  12343. "description": "授权委托书",
  12344. "type": "string"
  12345. },
  12346. "qq": {
  12347. "description": "QQ(加密存储",
  12348. "type": "string"
  12349. },
  12350. "referral": {
  12351. "description": "推荐人编码",
  12352. "type": "string"
  12353. },
  12354. "remark": {
  12355. "description": "备注",
  12356. "type": "string"
  12357. },
  12358. "removebeforestatus": {
  12359. "description": "REMOVEBEFORESTATUS",
  12360. "type": "integer"
  12361. },
  12362. "sex": {
  12363. "description": "性别 - 0:女 1:男",
  12364. "type": "integer"
  12365. },
  12366. "signedstatus": {
  12367. "description": "账户一号签签约状态",
  12368. "type": "integer"
  12369. },
  12370. "signpdfurl": {
  12371. "description": "签约pdf文件",
  12372. "type": "string"
  12373. },
  12374. "subbranch": {
  12375. "description": "开户支行",
  12376. "type": "string"
  12377. },
  12378. "telphone": {
  12379. "description": "联系电话(加密存储)",
  12380. "type": "string"
  12381. },
  12382. "userid": {
  12383. "description": "用户ID(自增ID)",
  12384. "type": "integer"
  12385. },
  12386. "userinfotype": {
  12387. "description": "用户信息类型 - 1:个人 2:企业",
  12388. "type": "integer"
  12389. },
  12390. "username": {
  12391. "description": "用户姓名",
  12392. "type": "string"
  12393. },
  12394. "userstate": {
  12395. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12396. "type": "integer"
  12397. },
  12398. "usertype": {
  12399. "description": "用户类型 - 1:投资者 2:机构",
  12400. "type": "integer"
  12401. },
  12402. "videourl": {
  12403. "description": "视频地址",
  12404. "type": "string"
  12405. },
  12406. "wechat": {
  12407. "description": "微信号 (加密存储)",
  12408. "type": "string"
  12409. }
  12410. }
  12411. },
  12412. "erms3.QryAuditContractRsp": {
  12413. "type": "object",
  12414. "required": [
  12415. "matchcustomername",
  12416. "spotcontractid"
  12417. ],
  12418. "properties": {
  12419. "accountid": {
  12420. "description": "交易员ID",
  12421. "type": "string"
  12422. },
  12423. "applystatus": {
  12424. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12425. "type": "integer"
  12426. },
  12427. "curdeliveryqty": {
  12428. "description": "未交收量",
  12429. "type": "integer"
  12430. },
  12431. "customername": {
  12432. "description": "采购方ID",
  12433. "type": "string"
  12434. },
  12435. "deliverygoodsid": {
  12436. "description": "品种ID",
  12437. "type": "string"
  12438. },
  12439. "deliveryqty": {
  12440. "description": "交收量",
  12441. "type": "integer"
  12442. },
  12443. "enumdicname": {
  12444. "description": "单位名称",
  12445. "type": "string"
  12446. },
  12447. "matchaccountid": {
  12448. "description": "业务员ID",
  12449. "type": "string"
  12450. },
  12451. "matchcustomername": {
  12452. "description": "销售方ID",
  12453. "type": "string"
  12454. },
  12455. "pricedqty": {
  12456. "description": "定价量",
  12457. "type": "number"
  12458. },
  12459. "signdate": {
  12460. "description": "签订日期",
  12461. "type": "string"
  12462. },
  12463. "spotcontractid": {
  12464. "description": "合同ID",
  12465. "type": "string"
  12466. },
  12467. "totaldqty": {
  12468. "description": "合同量",
  12469. "type": "number"
  12470. },
  12471. "unpricedqty": {
  12472. "description": "未定价量",
  12473. "type": "number"
  12474. },
  12475. "wrstandardname": {
  12476. "description": "商品名称",
  12477. "type": "string"
  12478. }
  12479. }
  12480. },
  12481. "erms3.QryPendingBizRsp": {
  12482. "$ref": "#/definitions/models.PendingAuditBizModel"
  12483. },
  12484. "erms3.QueryBusinessInfoRsp": {
  12485. "type": "object",
  12486. "properties": {
  12487. "businessid": {
  12488. "description": "业务ID.",
  12489. "type": "integer"
  12490. },
  12491. "buyamount": {
  12492. "description": "采购额.",
  12493. "type": "number"
  12494. },
  12495. "buyqty": {
  12496. "description": "采购量.",
  12497. "type": "string"
  12498. },
  12499. "futurepl": {
  12500. "description": "期货盈亏.",
  12501. "type": "number"
  12502. },
  12503. "futureqty": {
  12504. "description": "期货敞口.",
  12505. "type": "string"
  12506. },
  12507. "goodsid": {
  12508. "description": "商品名称/商品代码.",
  12509. "type": "string"
  12510. },
  12511. "hedgingqty": {
  12512. "description": "套保量.",
  12513. "type": "string"
  12514. },
  12515. "sellamount": {
  12516. "description": "销售额.",
  12517. "type": "number"
  12518. },
  12519. "sellqty": {
  12520. "description": "销售量.",
  12521. "type": "string"
  12522. },
  12523. "spotmarketvalue": {
  12524. "description": "现货市值.",
  12525. "type": "number"
  12526. },
  12527. "spotpl": {
  12528. "description": "浮动权益.",
  12529. "type": "number"
  12530. },
  12531. "spotqty": {
  12532. "description": "现货量.",
  12533. "type": "string"
  12534. },
  12535. "statu": {
  12536. "description": "状态,0-未结束 1-已结束.",
  12537. "type": "integer"
  12538. },
  12539. "totalpl": {
  12540. "description": "总盈亏.",
  12541. "type": "number"
  12542. },
  12543. "totalqty": {
  12544. "description": "总敞口.",
  12545. "type": "string"
  12546. },
  12547. "type": {
  12548. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12549. "type": "integer"
  12550. }
  12551. }
  12552. },
  12553. "erms3.QuerySpotContractAppleFormRsp": {
  12554. "type": "object",
  12555. "properties": {
  12556. "goodses": {
  12557. "description": "合约列表",
  12558. "type": "array",
  12559. "items": {
  12560. "$ref": "#/definitions/models.GoodsIDAndName"
  12561. }
  12562. },
  12563. "oppositeusers": {
  12564. "description": "对方账号列表",
  12565. "type": "array",
  12566. "items": {
  12567. "$ref": "#/definitions/erms3.CustomerInfo"
  12568. }
  12569. },
  12570. "ouruser": {
  12571. "description": "我方账号",
  12572. "type": "object",
  12573. "$ref": "#/definitions/erms3.CustomerInfo"
  12574. },
  12575. "warehouseinfos": {
  12576. "description": "仓库信息列表",
  12577. "type": "array",
  12578. "items": {
  12579. "$ref": "#/definitions/models.Warehouseinfo"
  12580. }
  12581. },
  12582. "wrstandards": {
  12583. "description": "仓单标准列表",
  12584. "type": "array",
  12585. "items": {
  12586. "$ref": "#/definitions/models.WRStandardInfo"
  12587. }
  12588. }
  12589. }
  12590. },
  12591. "erms3.QuerySpotContractInfoRsp": {
  12592. "type": "object",
  12593. "properties": {
  12594. "accountid": {
  12595. "description": "表示交易员ID.",
  12596. "type": "integer"
  12597. },
  12598. "curdeliveryqty": {
  12599. "description": "表示未交收量.",
  12600. "type": "number"
  12601. },
  12602. "customername": {
  12603. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12604. "type": "string"
  12605. },
  12606. "deliverygoodsid": {
  12607. "description": "表示品种ID.",
  12608. "type": "string"
  12609. },
  12610. "deliveryqty": {
  12611. "description": "表示交收量.",
  12612. "type": "number"
  12613. },
  12614. "matchaccountid": {
  12615. "description": "表示业务员ID.",
  12616. "type": "integer"
  12617. },
  12618. "matchcustomername": {
  12619. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12620. "type": "string"
  12621. },
  12622. "priceqty": {
  12623. "description": "表示定价量.",
  12624. "type": "number"
  12625. },
  12626. "relatedbizid": {
  12627. "description": "表示业务ID.",
  12628. "type": "string"
  12629. },
  12630. "signdate": {
  12631. "description": "表示签订日期.",
  12632. "type": "string"
  12633. },
  12634. "spotcontractid": {
  12635. "description": "合同ID",
  12636. "type": "string"
  12637. },
  12638. "status": {
  12639. "description": "表示状态,0-履约中 1-已完成.",
  12640. "type": "integer"
  12641. },
  12642. "totalqty": {
  12643. "description": "表示合同量.",
  12644. "type": "number"
  12645. },
  12646. "unpricedqty": {
  12647. "description": "表示未定价量.",
  12648. "type": "number"
  12649. },
  12650. "wrstandardname": {
  12651. "description": "表示商品ID.",
  12652. "type": "string"
  12653. }
  12654. }
  12655. },
  12656. "erms3.QueryUserInfoAppliesRsp": {
  12657. "type": "object",
  12658. "required": [
  12659. "userid"
  12660. ],
  12661. "properties": {
  12662. "biznature": {
  12663. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12664. "type": "integer"
  12665. },
  12666. "contactname": {
  12667. "description": "联系人",
  12668. "type": "string"
  12669. },
  12670. "createtime": {
  12671. "description": "开户申请时间",
  12672. "type": "string"
  12673. },
  12674. "userid": {
  12675. "description": "用户ID(自增ID)",
  12676. "type": "integer"
  12677. },
  12678. "userinfotype": {
  12679. "description": "用户信息类型 - 1:个人 2:企业",
  12680. "type": "integer"
  12681. },
  12682. "username": {
  12683. "description": "用户姓名",
  12684. "type": "string"
  12685. },
  12686. "userstate": {
  12687. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12688. "type": "integer"
  12689. }
  12690. }
  12691. },
  12692. "erms3.QueryUserInfosRsp": {
  12693. "type": "object",
  12694. "required": [
  12695. "userid"
  12696. ],
  12697. "properties": {
  12698. "biznature": {
  12699. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12700. "type": "integer"
  12701. },
  12702. "contactname": {
  12703. "description": "联系人",
  12704. "type": "string"
  12705. },
  12706. "customername": {
  12707. "description": "客户名称(企业名称)",
  12708. "type": "string"
  12709. },
  12710. "userid": {
  12711. "description": "用户ID",
  12712. "type": "integer"
  12713. },
  12714. "userinfotype": {
  12715. "description": "用户信息类型 - 1:个人 2:企业",
  12716. "type": "integer"
  12717. },
  12718. "userstatus": {
  12719. "description": "用户状态 - 1:正常 2:注销",
  12720. "type": "integer"
  12721. }
  12722. }
  12723. },
  12724. "erms3.SoptContractDetail": {
  12725. "type": "object",
  12726. "required": [
  12727. "deliverygoodsid",
  12728. "producttype",
  12729. "unitname",
  12730. "warehouseid",
  12731. "wrstandardid",
  12732. "wrstandardname"
  12733. ],
  12734. "properties": {
  12735. "deliverygoodsdesc": {
  12736. "description": "现货品种说明",
  12737. "type": "string"
  12738. },
  12739. "deliverygoodsid": {
  12740. "description": "现货品种ID",
  12741. "type": "integer"
  12742. },
  12743. "deliverygoodsname": {
  12744. "description": "现货品种名称",
  12745. "type": "string"
  12746. },
  12747. "pointdesc": {
  12748. "description": "点价描述",
  12749. "type": "string"
  12750. },
  12751. "producttype": {
  12752. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12753. "type": "integer"
  12754. },
  12755. "producttypename": {
  12756. "description": "产品类型名称",
  12757. "type": "string"
  12758. },
  12759. "spotPointOrderVoList": {
  12760. "description": "点价列表",
  12761. "type": "array",
  12762. "items": {
  12763. "$ref": "#/definitions/erms3.SpotPointOrder"
  12764. }
  12765. },
  12766. "spotPriceOrderList": {
  12767. "description": "定价列表",
  12768. "type": "array",
  12769. "items": {
  12770. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12771. }
  12772. },
  12773. "unitname": {
  12774. "description": "单位名称",
  12775. "type": "string"
  12776. },
  12777. "warehouseid": {
  12778. "description": "仓库ID",
  12779. "type": "integer"
  12780. },
  12781. "warehousename": {
  12782. "description": "仓库名称",
  12783. "type": "string"
  12784. },
  12785. "wrstandardid": {
  12786. "description": "交易标的ID",
  12787. "type": "integer"
  12788. },
  12789. "wrstandardname": {
  12790. "description": "交易标的名称",
  12791. "type": "string"
  12792. }
  12793. }
  12794. },
  12795. "erms3.SpotPointOrder": {
  12796. "type": "object",
  12797. "required": [
  12798. "basic",
  12799. "goodsid",
  12800. "qty"
  12801. ],
  12802. "properties": {
  12803. "basic": {
  12804. "description": "基差",
  12805. "type": "number"
  12806. },
  12807. "deliveryenddate": {
  12808. "description": "交收结束日期",
  12809. "type": "string"
  12810. },
  12811. "deliverystartdate": {
  12812. "description": "交收开始日期",
  12813. "type": "string"
  12814. },
  12815. "enddate": {
  12816. "description": "点价结束日期",
  12817. "type": "string"
  12818. },
  12819. "goodsid": {
  12820. "description": "商品ID",
  12821. "type": "integer"
  12822. },
  12823. "goodsname": {
  12824. "description": "商品名称",
  12825. "type": "string"
  12826. },
  12827. "qty": {
  12828. "description": "数量",
  12829. "type": "number"
  12830. },
  12831. "startdate": {
  12832. "description": "点价开始日期",
  12833. "type": "string"
  12834. }
  12835. }
  12836. },
  12837. "erms3.SpotPriceOrder": {
  12838. "type": "object",
  12839. "required": [
  12840. "amount",
  12841. "price",
  12842. "qty"
  12843. ],
  12844. "properties": {
  12845. "amount": {
  12846. "description": "金额",
  12847. "type": "number"
  12848. },
  12849. "deliveryenddate": {
  12850. "description": "交收结束日期",
  12851. "type": "string"
  12852. },
  12853. "deliverystartdate": {
  12854. "description": "交收开始日期",
  12855. "type": "string"
  12856. },
  12857. "price": {
  12858. "description": "价格",
  12859. "type": "number"
  12860. },
  12861. "qty": {
  12862. "description": "数量",
  12863. "type": "number"
  12864. }
  12865. }
  12866. },
  12867. "hsby.GetHsbyMyCountRsp": {
  12868. "type": "object",
  12869. "properties": {
  12870. "myCouponCount": {
  12871. "description": "我的优惠卷数量",
  12872. "type": "integer"
  12873. },
  12874. "myOrderDetailListingCount": {
  12875. "description": "我的订单求购中数量",
  12876. "type": "integer"
  12877. },
  12878. "myOrderDetailPreCount": {
  12879. "description": "我的订单抢购中数量",
  12880. "type": "integer"
  12881. },
  12882. "myPackageUnReceiveCount": {
  12883. "description": "我的包裹待收货数量",
  12884. "type": "integer"
  12885. },
  12886. "myPackageUnSendCount": {
  12887. "description": "我的包裹待发货数量",
  12888. "type": "integer"
  12889. },
  12890. "myPayOrderCount": {
  12891. "description": "我的订单待付款数量",
  12892. "type": "integer"
  12893. }
  12894. }
  12895. },
  12896. "hsby.QueryProvincesAndCitiesRsp": {
  12897. "type": "object",
  12898. "properties": {
  12899. "cities": {
  12900. "description": "市",
  12901. "type": "array",
  12902. "items": {
  12903. "$ref": "#/definitions/models.Division"
  12904. }
  12905. },
  12906. "province": {
  12907. "description": "省",
  12908. "type": "object",
  12909. "$ref": "#/definitions/models.Division"
  12910. }
  12911. }
  12912. },
  12913. "models.AreaSpotModel": {
  12914. "type": "object",
  12915. "properties": {
  12916. "areauserid": {
  12917. "description": "所属机构",
  12918. "type": "integer"
  12919. },
  12920. "decreaseqty": {
  12921. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12922. "type": "number"
  12923. },
  12924. "increaseqty": {
  12925. "description": "增加数量=销售计划数量+采购已定价数量",
  12926. "type": "number"
  12927. },
  12928. "oritoalspotqty": {
  12929. "description": "昨日数量",
  12930. "type": "number"
  12931. },
  12932. "totalspotqty": {
  12933. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12934. "type": "number"
  12935. },
  12936. "updatetime": {
  12937. "description": "更新时间",
  12938. "type": "string"
  12939. },
  12940. "wrstandardcode": {
  12941. "description": "现货品种代码",
  12942. "type": "string"
  12943. },
  12944. "wrstandardid": {
  12945. "description": "现货商品ID",
  12946. "type": "integer"
  12947. },
  12948. "wrstandardname": {
  12949. "description": "现货品种",
  12950. "type": "string"
  12951. }
  12952. }
  12953. },
  12954. "models.Clientfixedadconfig": {
  12955. "type": "object",
  12956. "required": [
  12957. "adsort",
  12958. "adtype"
  12959. ],
  12960. "properties": {
  12961. "adsort": {
  12962. "description": "排序",
  12963. "type": "integer"
  12964. },
  12965. "adtype": {
  12966. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12967. "type": "integer"
  12968. },
  12969. "areauserid": {
  12970. "description": "所属机构ID",
  12971. "type": "integer"
  12972. },
  12973. "createdate": {
  12974. "description": "创建时间",
  12975. "type": "string"
  12976. },
  12977. "creatorid": {
  12978. "description": "创建人",
  12979. "type": "integer"
  12980. },
  12981. "imagepath": {
  12982. "description": "图片",
  12983. "type": "string"
  12984. },
  12985. "isshow": {
  12986. "description": "是否展示 - 0:不展示 1:展示",
  12987. "type": "integer"
  12988. },
  12989. "modifierid": {
  12990. "description": "操作人",
  12991. "type": "integer"
  12992. },
  12993. "recsize": {
  12994. "description": "推荐尺寸",
  12995. "type": "string"
  12996. },
  12997. "title": {
  12998. "description": "标题",
  12999. "type": "string"
  13000. },
  13001. "updatedate": {
  13002. "description": "更新时间",
  13003. "type": "string"
  13004. },
  13005. "urlcontent": {
  13006. "description": "链接(地址或商品ID)",
  13007. "type": "string"
  13008. },
  13009. "urltype": {
  13010. "description": "链接类型 - 1:直接地址 2:商品ID",
  13011. "type": "integer"
  13012. }
  13013. }
  13014. },
  13015. "models.Division": {
  13016. "type": "object",
  13017. "required": [
  13018. "autoid",
  13019. "divisioncode"
  13020. ],
  13021. "properties": {
  13022. "autoid": {
  13023. "description": "自增ID",
  13024. "type": "integer"
  13025. },
  13026. "divisioncode": {
  13027. "description": "行政代码",
  13028. "type": "string"
  13029. },
  13030. "divisionlevel": {
  13031. "description": "行政级别",
  13032. "type": "string"
  13033. },
  13034. "divisionname": {
  13035. "description": "行政名称",
  13036. "type": "string"
  13037. },
  13038. "modifierid": {
  13039. "description": "修改人",
  13040. "type": "integer"
  13041. },
  13042. "modifytime": {
  13043. "description": "修改时间",
  13044. "type": "string"
  13045. },
  13046. "parentcode": {
  13047. "description": "上级行政代码",
  13048. "type": "string"
  13049. },
  13050. "pathname": {
  13051. "description": "路径名称",
  13052. "type": "string"
  13053. },
  13054. "postcode": {
  13055. "description": "邮政编码",
  13056. "type": "string"
  13057. },
  13058. "separablename": {
  13059. "description": "可拆分的全称",
  13060. "type": "string"
  13061. },
  13062. "shortcode": {
  13063. "description": "地区简码",
  13064. "type": "string"
  13065. }
  13066. }
  13067. },
  13068. "models.Enumdicitem": {
  13069. "type": "object",
  13070. "required": [
  13071. "autoid",
  13072. "enumdiccode",
  13073. "enumdicid",
  13074. "enumitemname"
  13075. ],
  13076. "properties": {
  13077. "autoid": {
  13078. "description": "自增ID",
  13079. "type": "integer"
  13080. },
  13081. "bankmappedvalue": {
  13082. "description": "银行服务对应值",
  13083. "type": "string"
  13084. },
  13085. "enumdiccode": {
  13086. "description": "所属枚举代码",
  13087. "type": "string"
  13088. },
  13089. "enumdicid": {
  13090. "description": "所属枚举ID",
  13091. "type": "integer"
  13092. },
  13093. "enumdicname": {
  13094. "description": "枚举项名称",
  13095. "type": "string"
  13096. },
  13097. "enumitemname": {
  13098. "description": "枚举项值",
  13099. "type": "integer"
  13100. },
  13101. "enumitemstatus": {
  13102. "description": "枚举项状态 - 1.启用 2.不启用",
  13103. "type": "integer"
  13104. },
  13105. "enumitemvalue": {
  13106. "description": "通用值 - [币种通用简写]",
  13107. "type": "string"
  13108. },
  13109. "param1": {
  13110. "description": "参数1[币种:币种小数位]",
  13111. "type": "string"
  13112. },
  13113. "param2": {
  13114. "description": "参数1[币种:币种显示单位]",
  13115. "type": "string"
  13116. },
  13117. "remark": {
  13118. "description": "备注",
  13119. "type": "string"
  13120. }
  13121. }
  13122. },
  13123. "models.Ermcp3AreaSpot": {
  13124. "type": "object",
  13125. "properties": {
  13126. "areauserid": {
  13127. "description": "所属机构",
  13128. "type": "integer"
  13129. },
  13130. "decreaseqty": {
  13131. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13132. "type": "number"
  13133. },
  13134. "deliverygoodscode": {
  13135. "description": "现货品种代码",
  13136. "type": "string"
  13137. },
  13138. "deliverygoodsid": {
  13139. "description": "现货品种id",
  13140. "type": "integer"
  13141. },
  13142. "deliverygoodsname": {
  13143. "description": "现货品种名称",
  13144. "type": "string"
  13145. },
  13146. "increaseqty": {
  13147. "description": "增加数量=销售计划数量+采购已定价数量",
  13148. "type": "number"
  13149. },
  13150. "oritoalspotqty": {
  13151. "description": "昨日数量",
  13152. "type": "number"
  13153. },
  13154. "totalspotqty": {
  13155. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13156. "type": "number"
  13157. },
  13158. "updatetime": {
  13159. "description": "更新时间",
  13160. "type": "string"
  13161. }
  13162. }
  13163. },
  13164. "models.Ermcp3AreaSpotDetail": {
  13165. "type": "object",
  13166. "properties": {
  13167. "contracttype": {
  13168. "description": "合同类型 1-采购 -1-销售",
  13169. "type": "integer"
  13170. },
  13171. "createtime": {
  13172. "description": "创建时间",
  13173. "type": "string"
  13174. },
  13175. "deliverygoodscode": {
  13176. "description": "现货品种代码",
  13177. "type": "string"
  13178. },
  13179. "deliverygoodsid": {
  13180. "description": "现货品种id",
  13181. "type": "integer"
  13182. },
  13183. "deliverygoodsname": {
  13184. "description": "现货品种名称",
  13185. "type": "string"
  13186. },
  13187. "enumdicname": {
  13188. "description": "现货商品单位名称",
  13189. "type": "string"
  13190. },
  13191. "logtype": {
  13192. "description": "记录类型 1-套保 2-现货合同",
  13193. "type": "integer"
  13194. },
  13195. "qty": {
  13196. "description": "数量",
  13197. "type": "number"
  13198. },
  13199. "recordname": {
  13200. "description": "类型名称",
  13201. "type": "string"
  13202. },
  13203. "relatedid": {
  13204. "description": "套保计划ID/现货合同ID",
  13205. "type": "string"
  13206. },
  13207. "relatedno": {
  13208. "description": "编号",
  13209. "type": "string"
  13210. },
  13211. "strtime": {
  13212. "description": "时间",
  13213. "type": "string"
  13214. }
  13215. }
  13216. },
  13217. "models.Ermcp3AreaStockApply": {
  13218. "type": "object",
  13219. "properties": {
  13220. "applyid": {
  13221. "description": "申请人",
  13222. "type": "integer"
  13223. },
  13224. "applyname": {
  13225. "description": "申请人名称",
  13226. "type": "string"
  13227. },
  13228. "applyremark": {
  13229. "description": "申请备注",
  13230. "type": "string"
  13231. },
  13232. "applysrc": {
  13233. "description": "申请来源 - 1:管理端 2:终端",
  13234. "type": "integer"
  13235. },
  13236. "applystatus": {
  13237. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13238. "type": "integer"
  13239. },
  13240. "applytime": {
  13241. "description": "申请时间",
  13242. "type": "string"
  13243. },
  13244. "auditid": {
  13245. "description": "审核人",
  13246. "type": "integer"
  13247. },
  13248. "auditname": {
  13249. "description": "审核人名称",
  13250. "type": "string"
  13251. },
  13252. "auditremark": {
  13253. "description": "审核备注",
  13254. "type": "string"
  13255. },
  13256. "auditsrc": {
  13257. "description": "审核来源 - 1:管理端 2:终端",
  13258. "type": "integer"
  13259. },
  13260. "audittime": {
  13261. "description": "审核时间",
  13262. "type": "string"
  13263. },
  13264. "audittradedate": {
  13265. "description": "审核交易日(yyyyMMdd)",
  13266. "type": "string"
  13267. },
  13268. "brandname": {
  13269. "description": "品牌名称",
  13270. "type": "string"
  13271. },
  13272. "buynickname": {
  13273. "description": "采购方昵称",
  13274. "type": "string"
  13275. },
  13276. "buyuserid": {
  13277. "description": "采购方userid",
  13278. "type": "integer"
  13279. },
  13280. "buyusername": {
  13281. "description": "采购方名称",
  13282. "type": "string"
  13283. },
  13284. "contractno": {
  13285. "description": "合同编号",
  13286. "type": "string"
  13287. },
  13288. "contractqty": {
  13289. "description": "合同量",
  13290. "type": "number"
  13291. },
  13292. "contracttype": {
  13293. "description": "现货合同类型 - 1:采购 -1:销售",
  13294. "type": "integer"
  13295. },
  13296. "deliverygoodscode": {
  13297. "description": "现货品种代码",
  13298. "type": "string"
  13299. },
  13300. "deliverygoodsid": {
  13301. "description": "现货品种id",
  13302. "type": "integer"
  13303. },
  13304. "deliverygoodsname": {
  13305. "description": "现货品种名称",
  13306. "type": "string"
  13307. },
  13308. "enumdicname": {
  13309. "description": "现货商品单位名称",
  13310. "type": "string"
  13311. },
  13312. "inoutapplyid": {
  13313. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13314. "type": "string"
  13315. },
  13316. "inouttype": {
  13317. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13318. "type": "integer"
  13319. },
  13320. "pricetype": {
  13321. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13322. "type": "integer"
  13323. },
  13324. "qty": {
  13325. "description": "数量",
  13326. "type": "number"
  13327. },
  13328. "sellnickname": {
  13329. "description": "销售方昵称",
  13330. "type": "string"
  13331. },
  13332. "selluserid": {
  13333. "description": "销售方userid",
  13334. "type": "integer"
  13335. },
  13336. "sellusername": {
  13337. "description": "销售方名称",
  13338. "type": "string"
  13339. },
  13340. "spotcontractid": {
  13341. "description": "关联现货合同ID",
  13342. "type": "string"
  13343. },
  13344. "spotgoodsbrandid": {
  13345. "description": "现货品牌ID",
  13346. "type": "integer"
  13347. },
  13348. "unitid": {
  13349. "description": "单位id",
  13350. "type": "integer"
  13351. },
  13352. "userid": {
  13353. "description": "机构ID",
  13354. "type": "integer"
  13355. },
  13356. "warehousecode": {
  13357. "description": "仓库代码",
  13358. "type": "string"
  13359. },
  13360. "warehouseinfoid": {
  13361. "description": "现货仓库ID",
  13362. "type": "string"
  13363. },
  13364. "warehousename": {
  13365. "description": "仓库名称",
  13366. "type": "string"
  13367. },
  13368. "warehousetype": {
  13369. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13370. "type": "integer"
  13371. },
  13372. "wrstandardcode": {
  13373. "description": "品类代码",
  13374. "type": "string"
  13375. },
  13376. "wrstandardid": {
  13377. "description": "品类ID",
  13378. "type": "integer"
  13379. },
  13380. "wrstandardname": {
  13381. "description": "品类名称",
  13382. "type": "string"
  13383. }
  13384. }
  13385. },
  13386. "models.Ermcp3AreaStockApplySum": {
  13387. "type": "object",
  13388. "properties": {
  13389. "brandname": {
  13390. "description": "品牌名称",
  13391. "type": "string"
  13392. },
  13393. "inouttype": {
  13394. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13395. "type": "integer"
  13396. },
  13397. "spotcontractid": {
  13398. "description": "关联现货合同ID",
  13399. "type": "string"
  13400. },
  13401. "spotgoodsbrandid": {
  13402. "description": "品牌id",
  13403. "type": "integer"
  13404. },
  13405. "totalqty": {
  13406. "description": "总数量",
  13407. "type": "number"
  13408. },
  13409. "wrstandardid": {
  13410. "description": "品类id",
  13411. "type": "integer"
  13412. },
  13413. "wrstandardname": {
  13414. "description": "品类名称",
  13415. "type": "string"
  13416. }
  13417. }
  13418. },
  13419. "models.Ermcp3AreaStockReport": {
  13420. "type": "object",
  13421. "properties": {
  13422. "brandname": {
  13423. "description": "品牌名称",
  13424. "type": "string"
  13425. },
  13426. "curstock": {
  13427. "description": "期末库存量",
  13428. "type": "number"
  13429. },
  13430. "deliverygoodscode": {
  13431. "description": "现货品种代码",
  13432. "type": "string"
  13433. },
  13434. "deliverygoodsid": {
  13435. "description": "现货品种id",
  13436. "type": "integer"
  13437. },
  13438. "deliverygoodsname": {
  13439. "description": "现货品种名称",
  13440. "type": "string"
  13441. },
  13442. "enumdicname": {
  13443. "description": "单位名称",
  13444. "type": "string"
  13445. },
  13446. "goodsunitid": {
  13447. "description": "现货单位id",
  13448. "type": "integer"
  13449. },
  13450. "oristock": {
  13451. "description": "期初库存量",
  13452. "type": "number"
  13453. },
  13454. "spotgoodsbrandid": {
  13455. "description": "现货品牌ID",
  13456. "type": "integer"
  13457. },
  13458. "todaybuyinqty": {
  13459. "description": "今日采购入库量",
  13460. "type": "number"
  13461. },
  13462. "todayproduceinqty": {
  13463. "description": "今日生产入库量",
  13464. "type": "number"
  13465. },
  13466. "todayproduceoutqty": {
  13467. "description": "今日生产出库量",
  13468. "type": "number"
  13469. },
  13470. "todayselloutqty": {
  13471. "description": "今日销售出库量",
  13472. "type": "number"
  13473. },
  13474. "unitid": {
  13475. "description": "品类单位id",
  13476. "type": "integer"
  13477. },
  13478. "updatetime": {
  13479. "description": "更新时间",
  13480. "type": "string"
  13481. },
  13482. "userid": {
  13483. "description": "机构ID",
  13484. "type": "integer"
  13485. },
  13486. "username": {
  13487. "description": "机构名称",
  13488. "type": "string"
  13489. },
  13490. "warehousecode": {
  13491. "description": "仓库代码",
  13492. "type": "string"
  13493. },
  13494. "warehouseinfoid": {
  13495. "description": "仓库ID",
  13496. "type": "string"
  13497. },
  13498. "warehousename": {
  13499. "description": "仓库名称",
  13500. "type": "string"
  13501. },
  13502. "warehousetype": {
  13503. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13504. "type": "integer"
  13505. },
  13506. "wrstandardcode": {
  13507. "description": "品类代码",
  13508. "type": "string"
  13509. },
  13510. "wrstandardid": {
  13511. "description": "品类ID",
  13512. "type": "integer"
  13513. },
  13514. "wrstandardname": {
  13515. "description": "品类名称",
  13516. "type": "string"
  13517. }
  13518. }
  13519. },
  13520. "models.Ermcp3Brand": {
  13521. "type": "object",
  13522. "properties": {
  13523. "areauserid": {
  13524. "description": "用户id",
  13525. "type": "integer"
  13526. },
  13527. "brandid": {
  13528. "description": "品牌id",
  13529. "type": "integer"
  13530. },
  13531. "brandname": {
  13532. "description": "品牌名称",
  13533. "type": "string"
  13534. },
  13535. "deliverygoodsid": {
  13536. "description": "品种ID",
  13537. "type": "integer"
  13538. }
  13539. }
  13540. },
  13541. "models.Ermcp3Contract": {
  13542. "type": "object",
  13543. "properties": {
  13544. "accountid": {
  13545. "description": "期货账户id",
  13546. "type": "string"
  13547. },
  13548. "amount": {
  13549. "description": "金额 [1:一口价、3:暂定价]",
  13550. "type": "number"
  13551. },
  13552. "attachment": {
  13553. "description": "附件",
  13554. "type": "string"
  13555. },
  13556. "auditremark": {
  13557. "description": "审核意见",
  13558. "type": "string"
  13559. },
  13560. "audittime": {
  13561. "description": "审核时间",
  13562. "type": "string"
  13563. },
  13564. "biztype": {
  13565. "description": "业务类型 1-套保 2-套利",
  13566. "type": "integer"
  13567. },
  13568. "brandname": {
  13569. "description": "品牌名称",
  13570. "type": "string"
  13571. },
  13572. "buynickname": {
  13573. "description": "销售方昵称",
  13574. "type": "string"
  13575. },
  13576. "buyuserid": {
  13577. "description": "采购方ID",
  13578. "type": "integer"
  13579. },
  13580. "buyusername": {
  13581. "description": "采购方名称",
  13582. "type": "string"
  13583. },
  13584. "contracctstatus": {
  13585. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13586. "type": "integer"
  13587. },
  13588. "contractmargin": {
  13589. "description": "合同保证金",
  13590. "type": "number"
  13591. },
  13592. "contractno": {
  13593. "description": "现货合同编号",
  13594. "type": "string"
  13595. },
  13596. "contracttype": {
  13597. "description": "现货合同类型 - 1:采购 -1:销售",
  13598. "type": "integer"
  13599. },
  13600. "convertfactor": {
  13601. "description": "标仓系数(品类)",
  13602. "type": "number"
  13603. },
  13604. "createtime": {
  13605. "description": "创建时间",
  13606. "type": "string"
  13607. },
  13608. "deliveryenddate": {
  13609. "description": "交收期(结束)",
  13610. "type": "string"
  13611. },
  13612. "deliverygoodscode": {
  13613. "description": "现货品种代码",
  13614. "type": "string"
  13615. },
  13616. "deliverygoodsid": {
  13617. "description": "现货品种ID",
  13618. "type": "integer"
  13619. },
  13620. "deliverygoodsname": {
  13621. "description": "现货品种名称",
  13622. "type": "string"
  13623. },
  13624. "deliverystartdate": {
  13625. "description": "交收期(开始)",
  13626. "type": "string"
  13627. },
  13628. "enddate": {
  13629. "description": "点价结束日期 [2:点价 3:暂定价]",
  13630. "type": "string"
  13631. },
  13632. "enumdicname": {
  13633. "description": "单位名称",
  13634. "type": "string"
  13635. },
  13636. "goodscode": {
  13637. "description": "点价合约代码",
  13638. "type": "string"
  13639. },
  13640. "goodsid": {
  13641. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13642. "type": "integer"
  13643. },
  13644. "goodsname": {
  13645. "description": "点价商品名称",
  13646. "type": "string"
  13647. },
  13648. "margin": {
  13649. "description": "当前保证金",
  13650. "type": "number"
  13651. },
  13652. "meruserid": {
  13653. "description": "业务员id",
  13654. "type": "integer"
  13655. },
  13656. "meruserlogincode": {
  13657. "description": "业务员登录代码",
  13658. "type": "string"
  13659. },
  13660. "price": {
  13661. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13662. "type": "number"
  13663. },
  13664. "pricemove": {
  13665. "description": "升贴水 [2:点价 3:暂定价]",
  13666. "type": "number"
  13667. },
  13668. "pricetype": {
  13669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13670. "type": "integer"
  13671. },
  13672. "producttype": {
  13673. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13674. "type": "integer"
  13675. },
  13676. "qty": {
  13677. "description": "数量",
  13678. "type": "number"
  13679. },
  13680. "remark": {
  13681. "description": "备注",
  13682. "type": "string"
  13683. },
  13684. "saleuserid": {
  13685. "description": "销售员id",
  13686. "type": "integer"
  13687. },
  13688. "saleuserlogincode": {
  13689. "description": "销售员登录代码",
  13690. "type": "string"
  13691. },
  13692. "sellnickname": {
  13693. "description": "采购方昵称",
  13694. "type": "string"
  13695. },
  13696. "selluserid": {
  13697. "description": "销售方ID",
  13698. "type": "integer"
  13699. },
  13700. "sellusername": {
  13701. "description": "销售方名称",
  13702. "type": "string"
  13703. },
  13704. "spotcontractid": {
  13705. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13706. "type": "string"
  13707. },
  13708. "spotgoodsbrandid": {
  13709. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13710. "type": "integer"
  13711. },
  13712. "spotgoodsdesc": {
  13713. "description": "商品型号",
  13714. "type": "string"
  13715. },
  13716. "startdate": {
  13717. "description": "点价开始日期 [2:点价 3:暂定价]",
  13718. "type": "string"
  13719. },
  13720. "tradeuserid": {
  13721. "description": "交易员id",
  13722. "type": "integer"
  13723. },
  13724. "tradeuserlogincode": {
  13725. "description": "交易员登录代码",
  13726. "type": "string"
  13727. },
  13728. "unitid": {
  13729. "description": "单位id(取品类上的单位id)",
  13730. "type": "integer"
  13731. },
  13732. "updatetime": {
  13733. "description": "更新时间",
  13734. "type": "string"
  13735. },
  13736. "userid": {
  13737. "description": "所属机构ID",
  13738. "type": "integer"
  13739. },
  13740. "wrstandardcode": {
  13741. "description": "品类代码",
  13742. "type": "string"
  13743. },
  13744. "wrstandardid": {
  13745. "description": "品类ID",
  13746. "type": "integer"
  13747. },
  13748. "wrstandardname": {
  13749. "description": "品类名称",
  13750. "type": "string"
  13751. }
  13752. }
  13753. },
  13754. "models.Ermcp3ExposureDetail": {
  13755. "type": "object",
  13756. "properties": {
  13757. "areauserid": {
  13758. "description": "机构ID",
  13759. "type": "integer"
  13760. },
  13761. "changeQty": {
  13762. "description": "套保变动量",
  13763. "type": "number"
  13764. },
  13765. "contracttype": {
  13766. "description": "现货合同类型 - 1:采购 -1:销售",
  13767. "type": "integer"
  13768. },
  13769. "convertfactor": {
  13770. "description": "标仓系数",
  13771. "type": "number"
  13772. },
  13773. "convertratio": {
  13774. "description": "套保系数",
  13775. "type": "number"
  13776. },
  13777. "createtime": {
  13778. "description": "时间",
  13779. "type": "string"
  13780. },
  13781. "deliverygoodscode": {
  13782. "description": "现货品种代码",
  13783. "type": "string"
  13784. },
  13785. "deliverygoodsid": {
  13786. "description": "现货品种id",
  13787. "type": "integer"
  13788. },
  13789. "deliverygoodsname": {
  13790. "description": "现货品种名称",
  13791. "type": "string"
  13792. },
  13793. "enumdicname": {
  13794. "description": "现货商品单位名称",
  13795. "type": "string"
  13796. },
  13797. "logtype": {
  13798. "description": "类型 - 1:套保计划 2:现货合同",
  13799. "type": "integer"
  13800. },
  13801. "middlegoodsId": {
  13802. "description": "套保商品id",
  13803. "type": "integer"
  13804. },
  13805. "middlegoodscode": {
  13806. "description": "套保商品代码",
  13807. "type": "string"
  13808. },
  13809. "middlegoodsname": {
  13810. "description": "套保商品名称",
  13811. "type": "string"
  13812. },
  13813. "qty": {
  13814. "description": "数量",
  13815. "type": "number"
  13816. },
  13817. "relateNo": {
  13818. "description": "现货合同/套保计划编号",
  13819. "type": "string"
  13820. }
  13821. }
  13822. },
  13823. "models.Ermcp3ReportAreaSpotPL": {
  13824. "type": "object",
  13825. "properties": {
  13826. "actualpl": {
  13827. "description": "实际损益",
  13828. "type": "number"
  13829. },
  13830. "areauserid": {
  13831. "description": "所属机构",
  13832. "type": "integer"
  13833. },
  13834. "brandname": {
  13835. "description": "品牌名称",
  13836. "type": "string"
  13837. },
  13838. "curamount": {
  13839. "description": "期末额",
  13840. "type": "number"
  13841. },
  13842. "curaverageprice": {
  13843. "description": "期末均价",
  13844. "type": "number"
  13845. },
  13846. "curbuyamount": {
  13847. "description": "期末采购总额(采购额)",
  13848. "type": "number"
  13849. },
  13850. "curbuyqty": {
  13851. "description": "期末采购总量",
  13852. "type": "number"
  13853. },
  13854. "curmarketvalue": {
  13855. "description": "参考市值",
  13856. "type": "number"
  13857. },
  13858. "curqty": {
  13859. "description": "期末量",
  13860. "type": "number"
  13861. },
  13862. "cursellamount": {
  13863. "description": "期末销售总额(销售额)",
  13864. "type": "number"
  13865. },
  13866. "cursellqty": {
  13867. "description": "期末销售总量",
  13868. "type": "number"
  13869. },
  13870. "curspotprice": {
  13871. "description": "参考市价",
  13872. "type": "number"
  13873. },
  13874. "deliverygoodscode": {
  13875. "description": "现货品种代码",
  13876. "type": "string"
  13877. },
  13878. "deliverygoodsid": {
  13879. "description": "现货品种id",
  13880. "type": "integer"
  13881. },
  13882. "deliverygoodsname": {
  13883. "description": "现货品种名称",
  13884. "type": "string"
  13885. },
  13886. "enumdicname": {
  13887. "description": "现货商品单位名称",
  13888. "type": "string"
  13889. },
  13890. "floatpl": {
  13891. "description": "浮动损益",
  13892. "type": "number"
  13893. },
  13894. "gbenumdicname": {
  13895. "description": "品类单位名称",
  13896. "type": "string"
  13897. },
  13898. "gbunitid": {
  13899. "description": "现货单位id",
  13900. "type": "integer"
  13901. },
  13902. "modelname": {
  13903. "description": "品类名称",
  13904. "type": "string"
  13905. },
  13906. "oriamount": {
  13907. "description": "期初额",
  13908. "type": "number"
  13909. },
  13910. "oriaverageprice": {
  13911. "description": "期初均价",
  13912. "type": "number"
  13913. },
  13914. "oribuyamount": {
  13915. "description": "期初采购总额",
  13916. "type": "number"
  13917. },
  13918. "oribuyqty": {
  13919. "description": "期初采购总量",
  13920. "type": "number"
  13921. },
  13922. "oriqty": {
  13923. "description": "期初量",
  13924. "type": "number"
  13925. },
  13926. "orisellamount": {
  13927. "description": "期初销售总额",
  13928. "type": "number"
  13929. },
  13930. "orisellqty": {
  13931. "description": "期初销售总量",
  13932. "type": "number"
  13933. },
  13934. "spotgoodsbrandid": {
  13935. "description": "现货品牌ID",
  13936. "type": "integer"
  13937. },
  13938. "todaybuyamount": {
  13939. "description": "今日采购额",
  13940. "type": "number"
  13941. },
  13942. "todaybuyaverageprice": {
  13943. "description": "今日采购均价(采购均价)",
  13944. "type": "number"
  13945. },
  13946. "todaybuyqty": {
  13947. "description": "今日采购量(采购增量)",
  13948. "type": "number"
  13949. },
  13950. "todaysellamount": {
  13951. "description": "今日销售额",
  13952. "type": "number"
  13953. },
  13954. "todaysellaverageprice": {
  13955. "description": "今日销售均价(销售均价)",
  13956. "type": "number"
  13957. },
  13958. "todaysellqty": {
  13959. "description": "今日销售量(销售增量)",
  13960. "type": "number"
  13961. },
  13962. "unitid": {
  13963. "description": "品类单位id",
  13964. "type": "integer"
  13965. },
  13966. "updatetime": {
  13967. "description": "更新时间",
  13968. "type": "string"
  13969. },
  13970. "wrstandardcode": {
  13971. "description": "品类代码",
  13972. "type": "string"
  13973. },
  13974. "wrstandardid": {
  13975. "description": "品类ID",
  13976. "type": "integer"
  13977. },
  13978. "wrstandardname": {
  13979. "description": "品类名称",
  13980. "type": "string"
  13981. }
  13982. }
  13983. },
  13984. "models.Ermcp3ReportDaySpot": {
  13985. "type": "object",
  13986. "properties": {
  13987. "areauserid": {
  13988. "description": "所属机构T",
  13989. "type": "integer"
  13990. },
  13991. "buyinqty": {
  13992. "description": "采购入库量",
  13993. "type": "number"
  13994. },
  13995. "deliverygoodscode": {
  13996. "description": "现货品种代码",
  13997. "type": "string"
  13998. },
  13999. "deliverygoodsid": {
  14000. "description": "现货品种id",
  14001. "type": "integer"
  14002. },
  14003. "deliverygoodsname": {
  14004. "description": "现货品种名称",
  14005. "type": "string"
  14006. },
  14007. "enumdicname": {
  14008. "description": "现货商品单位名称",
  14009. "type": "string"
  14010. },
  14011. "reckondate": {
  14012. "description": "日照时期(yyyyMMdd)",
  14013. "type": "string"
  14014. },
  14015. "selloutqty": {
  14016. "description": "销售出库量",
  14017. "type": "number"
  14018. },
  14019. "todaybuyreckonqty": {
  14020. "description": "采购确定量",
  14021. "type": "number"
  14022. },
  14023. "todaysellreckonqty": {
  14024. "description": "销售确定量",
  14025. "type": "number"
  14026. },
  14027. "totalbuypricedqty": {
  14028. "description": "采购定价量 = 期末 - 期初",
  14029. "type": "number"
  14030. },
  14031. "totalsellpricedqty": {
  14032. "description": "销售定价量 = 期末 - 期初",
  14033. "type": "number"
  14034. }
  14035. }
  14036. },
  14037. "models.Ermcp3ReportMonSpot": {
  14038. "type": "object",
  14039. "properties": {
  14040. "areauserid": {
  14041. "description": "所属机构id",
  14042. "type": "integer"
  14043. },
  14044. "buyinqty": {
  14045. "description": "采购入库量",
  14046. "type": "number"
  14047. },
  14048. "cycletime": {
  14049. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14050. "type": "string"
  14051. },
  14052. "cycletype": {
  14053. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14054. "type": "integer"
  14055. },
  14056. "deliverygoodscode": {
  14057. "description": "现货品种代码",
  14058. "type": "string"
  14059. },
  14060. "deliverygoodsid": {
  14061. "description": "现货品种id",
  14062. "type": "integer"
  14063. },
  14064. "deliverygoodsname": {
  14065. "description": "现货品种名称",
  14066. "type": "string"
  14067. },
  14068. "enumdicname": {
  14069. "description": "现货商品单位名称",
  14070. "type": "string"
  14071. },
  14072. "selloutqty": {
  14073. "description": "销售出库量",
  14074. "type": "number"
  14075. },
  14076. "todaybuyreckonqty": {
  14077. "description": "采购确定量",
  14078. "type": "number"
  14079. },
  14080. "todaysellreckonqty": {
  14081. "description": "销售确定量",
  14082. "type": "number"
  14083. },
  14084. "totalbuypricedqty": {
  14085. "description": "采购定价量 = 期末 - 期初",
  14086. "type": "number"
  14087. },
  14088. "totalsellpricedqty": {
  14089. "description": "销售定价量 = 期末 - 期初",
  14090. "type": "number"
  14091. }
  14092. }
  14093. },
  14094. "models.Ermcp3ReportOPLog": {
  14095. "type": "object",
  14096. "properties": {
  14097. "applyid": {
  14098. "description": "操作人",
  14099. "type": "integer"
  14100. },
  14101. "applyname": {
  14102. "description": "操作人名称",
  14103. "type": "string"
  14104. },
  14105. "biztype": {
  14106. "description": "业务类型 - 1:套保计划 2:现货合同",
  14107. "type": "integer"
  14108. },
  14109. "brandname": {
  14110. "description": "品牌名称",
  14111. "type": "string"
  14112. },
  14113. "contracttype": {
  14114. "description": "现货合同类型 - 1:采购 -1:销售",
  14115. "type": "integer"
  14116. },
  14117. "deliverygoodscode": {
  14118. "description": "现货品种代码",
  14119. "type": "string"
  14120. },
  14121. "deliverygoodsid": {
  14122. "description": "现货品种id",
  14123. "type": "integer"
  14124. },
  14125. "deliverygoodsname": {
  14126. "description": "现货品种名称",
  14127. "type": "string"
  14128. },
  14129. "enumdicName": {
  14130. "description": "单位名称",
  14131. "type": "string"
  14132. },
  14133. "logdatetime": {
  14134. "description": "流水日期(时间)",
  14135. "type": "string"
  14136. },
  14137. "logid": {
  14138. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14139. "type": "string"
  14140. },
  14141. "logtypename": {
  14142. "description": "合同类型(名称)",
  14143. "type": "string"
  14144. },
  14145. "logvalue": {
  14146. "description": "数值",
  14147. "type": "string"
  14148. },
  14149. "operatelogtype": {
  14150. "description": "操作流水类型 -",
  14151. "type": "integer"
  14152. },
  14153. "optypename": {
  14154. "description": "流水类型名称",
  14155. "type": "string"
  14156. },
  14157. "relatedid": {
  14158. "description": "现货合同ID\\套保计划",
  14159. "type": "string"
  14160. },
  14161. "relatedno": {
  14162. "description": "合同编号",
  14163. "type": "string"
  14164. },
  14165. "tradedate": {
  14166. "description": "交易日(yyyyMMdd)",
  14167. "type": "string"
  14168. },
  14169. "userid": {
  14170. "description": "机构ID",
  14171. "type": "integer"
  14172. }
  14173. }
  14174. },
  14175. "models.Ermcp3SellBuyContract": {
  14176. "type": "object",
  14177. "properties": {
  14178. "accountname": {
  14179. "description": "账户名称",
  14180. "type": "string"
  14181. },
  14182. "attachment": {
  14183. "description": "附件",
  14184. "type": "string"
  14185. },
  14186. "audittime": {
  14187. "description": "审核时间",
  14188. "type": "string"
  14189. },
  14190. "brandname": {
  14191. "description": "品牌名称",
  14192. "type": "string"
  14193. },
  14194. "contracctstatus": {
  14195. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14196. "type": "integer"
  14197. },
  14198. "contractmargin": {
  14199. "description": "合同保证金",
  14200. "type": "number"
  14201. },
  14202. "contractno": {
  14203. "description": "合同编号",
  14204. "type": "string"
  14205. },
  14206. "contracttype": {
  14207. "description": "合同类型 1-采购, -1-销售",
  14208. "type": "integer"
  14209. },
  14210. "convertfactor": {
  14211. "description": "标仓系数(品类)",
  14212. "type": "number"
  14213. },
  14214. "createtime": {
  14215. "description": "创建时间",
  14216. "type": "string"
  14217. },
  14218. "daikaiamount": {
  14219. "description": "应收(开)票额",
  14220. "type": "number"
  14221. },
  14222. "deliveryenddate": {
  14223. "description": "交割结束日",
  14224. "type": "string"
  14225. },
  14226. "deliverygoodscode": {
  14227. "description": "现货品种代码",
  14228. "type": "string"
  14229. },
  14230. "deliverygoodsid": {
  14231. "description": "现货商品ID",
  14232. "type": "integer"
  14233. },
  14234. "deliverygoodsname": {
  14235. "description": "现货品种名称",
  14236. "type": "string"
  14237. },
  14238. "deliverystartdate": {
  14239. "description": "交割开始日",
  14240. "type": "string"
  14241. },
  14242. "enddate": {
  14243. "description": "点价结束日",
  14244. "type": "string"
  14245. },
  14246. "enumdicname": {
  14247. "description": "单位名称",
  14248. "type": "string"
  14249. },
  14250. "goodscode": {
  14251. "description": "点价商品代码",
  14252. "type": "string"
  14253. },
  14254. "goodsid": {
  14255. "description": "点价商品ID",
  14256. "type": "integer"
  14257. },
  14258. "goodsname": {
  14259. "description": "点价商品名称",
  14260. "type": "string"
  14261. },
  14262. "invoiceamount": {
  14263. "description": "已开票额",
  14264. "type": "number"
  14265. },
  14266. "loanamount": {
  14267. "description": "贷款总额=已定价额+调整金额",
  14268. "type": "number"
  14269. },
  14270. "margin": {
  14271. "description": "保证金",
  14272. "type": "number"
  14273. },
  14274. "payamount": {
  14275. "description": "已收付额(收款或付款)",
  14276. "type": "number"
  14277. },
  14278. "preinvoiceamount": {
  14279. "description": "预收(开)票额",
  14280. "type": "number"
  14281. },
  14282. "prepayamount": {
  14283. "description": "预收付额",
  14284. "type": "number"
  14285. },
  14286. "price": {
  14287. "description": "价格",
  14288. "type": "number"
  14289. },
  14290. "pricedamount": {
  14291. "description": "已定价额",
  14292. "type": "number"
  14293. },
  14294. "pricedavg": {
  14295. "description": "已点均价",
  14296. "type": "number"
  14297. },
  14298. "pricedqty": {
  14299. "description": "已定价量",
  14300. "type": "number"
  14301. },
  14302. "pricemove": {
  14303. "description": "升贴水",
  14304. "type": "number"
  14305. },
  14306. "pricetype": {
  14307. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14308. "type": "integer"
  14309. },
  14310. "producttype": {
  14311. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14312. "type": "integer"
  14313. },
  14314. "qty": {
  14315. "description": "合同量",
  14316. "type": "number"
  14317. },
  14318. "reckonadjustamount": {
  14319. "description": "调整金额",
  14320. "type": "number"
  14321. },
  14322. "reckonedamount": {
  14323. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14324. "type": "number"
  14325. },
  14326. "reckonotheramount": {
  14327. "description": "其它费用",
  14328. "type": "number"
  14329. },
  14330. "reckonrealqty": {
  14331. "description": "已确定量",
  14332. "type": "number"
  14333. },
  14334. "remark": {
  14335. "description": "备注",
  14336. "type": "string"
  14337. },
  14338. "spotcontractid": {
  14339. "description": "合同ID",
  14340. "type": "string"
  14341. },
  14342. "spotgoodsbrandid": {
  14343. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14344. "type": "integer"
  14345. },
  14346. "spotgoodsdesc": {
  14347. "description": "商品型号(商品规格)",
  14348. "type": "string"
  14349. },
  14350. "startdate": {
  14351. "description": "点价开始日",
  14352. "type": "string"
  14353. },
  14354. "totalamount": {
  14355. "description": "合计总额",
  14356. "type": "number"
  14357. },
  14358. "unpayamount": {
  14359. "description": "应收付款额(应支付或应收款)",
  14360. "type": "number"
  14361. },
  14362. "unpricedqty": {
  14363. "description": "未定价量",
  14364. "type": "number"
  14365. },
  14366. "unsureqty": {
  14367. "description": "未确定量",
  14368. "type": "number"
  14369. },
  14370. "userid": {
  14371. "description": "机构ID",
  14372. "type": "integer"
  14373. },
  14374. "wrstandardcode": {
  14375. "description": "品类代码",
  14376. "type": "string"
  14377. },
  14378. "wrstandardid": {
  14379. "description": "品类ID",
  14380. "type": "integer"
  14381. },
  14382. "wrstandardname": {
  14383. "description": "品类名称",
  14384. "type": "string"
  14385. }
  14386. }
  14387. },
  14388. "models.Ermcp3SpotGoodsPrice": {
  14389. "type": "object",
  14390. "properties": {
  14391. "areauserid": {
  14392. "description": "所属机构id",
  14393. "type": "integer"
  14394. },
  14395. "brandname": {
  14396. "description": "品牌名称",
  14397. "type": "string"
  14398. },
  14399. "currencyid": {
  14400. "description": "报价货币ID",
  14401. "type": "integer"
  14402. },
  14403. "deliverygoodscode": {
  14404. "description": "现货商品代码",
  14405. "type": "string"
  14406. },
  14407. "deliverygoodsid": {
  14408. "description": "现货商品id",
  14409. "type": "integer"
  14410. },
  14411. "deliverygoodsname": {
  14412. "description": "现货商品名称",
  14413. "type": "string"
  14414. },
  14415. "enumdicname": {
  14416. "description": "现货商品单位名称",
  14417. "type": "string"
  14418. },
  14419. "gbenumdicname": {
  14420. "description": "品类单位名称",
  14421. "type": "string"
  14422. },
  14423. "gmunitid": {
  14424. "description": "品类单位id",
  14425. "type": "integer"
  14426. },
  14427. "isvalid": {
  14428. "description": "是否有效 - 0:无效 1:有效",
  14429. "type": "integer"
  14430. },
  14431. "operateid": {
  14432. "description": "最后操作人",
  14433. "type": "integer"
  14434. },
  14435. "operatesrc": {
  14436. "description": "最后操作来源 - 1:管理端 2:终端",
  14437. "type": "integer"
  14438. },
  14439. "operatetime": {
  14440. "description": "最后操作时间",
  14441. "type": "string"
  14442. },
  14443. "operatorname": {
  14444. "description": "操作人名称",
  14445. "type": "string"
  14446. },
  14447. "spotgoodsbrandid": {
  14448. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14449. "type": "integer"
  14450. },
  14451. "spotgoodsprice": {
  14452. "description": "现货价格",
  14453. "type": "number"
  14454. },
  14455. "tradedate": {
  14456. "description": "交易日(yyyyMMdd)",
  14457. "type": "string"
  14458. },
  14459. "unitid": {
  14460. "description": "现货商品单位id",
  14461. "type": "integer"
  14462. },
  14463. "wrstandardcode": {
  14464. "description": "品类代码",
  14465. "type": "string"
  14466. },
  14467. "wrstandardid": {
  14468. "description": "现货品类ID(通用则为0)",
  14469. "type": "integer"
  14470. },
  14471. "wrstandardname": {
  14472. "description": "品类名称",
  14473. "type": "string"
  14474. }
  14475. }
  14476. },
  14477. "models.Ermcp3SpotGoodsPriceLog": {
  14478. "type": "object",
  14479. "properties": {
  14480. "areauserid": {
  14481. "description": "所属机构id",
  14482. "type": "integer"
  14483. },
  14484. "brandname": {
  14485. "description": "品牌名称",
  14486. "type": "string"
  14487. },
  14488. "currencyid": {
  14489. "description": "报价货币ID",
  14490. "type": "integer"
  14491. },
  14492. "deliverygoodscode": {
  14493. "description": "现货商品代码",
  14494. "type": "string"
  14495. },
  14496. "deliverygoodsid": {
  14497. "description": "现货商品id",
  14498. "type": "integer"
  14499. },
  14500. "deliverygoodsname": {
  14501. "description": "现货商品名称",
  14502. "type": "string"
  14503. },
  14504. "enumdicname": {
  14505. "description": "现货商品单位名称",
  14506. "type": "string"
  14507. },
  14508. "gbenumdicname": {
  14509. "description": "品类单位名称",
  14510. "type": "string"
  14511. },
  14512. "gmunitid": {
  14513. "description": "品类单位id",
  14514. "type": "integer"
  14515. },
  14516. "logid": {
  14517. "description": "日志id",
  14518. "type": "integer"
  14519. },
  14520. "operateid": {
  14521. "description": "最后操作人",
  14522. "type": "integer"
  14523. },
  14524. "operatesrc": {
  14525. "description": "最后操作来源 - 1:管理端 2:终端",
  14526. "type": "integer"
  14527. },
  14528. "operatetime": {
  14529. "description": "最后操作时间",
  14530. "type": "string"
  14531. },
  14532. "operatorname": {
  14533. "description": "操作人名称",
  14534. "type": "string"
  14535. },
  14536. "spotgoodsbrandid": {
  14537. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14538. "type": "integer"
  14539. },
  14540. "spotgoodsprice": {
  14541. "description": "现货价格",
  14542. "type": "number"
  14543. },
  14544. "tradedate": {
  14545. "description": "交易日(yyyyMMdd)",
  14546. "type": "string"
  14547. },
  14548. "unitid": {
  14549. "description": "现货商品单位id",
  14550. "type": "integer"
  14551. },
  14552. "wrstandardcode": {
  14553. "description": "品类代码",
  14554. "type": "string"
  14555. },
  14556. "wrstandardid": {
  14557. "description": "现货品类ID(通用则为0)",
  14558. "type": "integer"
  14559. },
  14560. "wrstandardname": {
  14561. "description": "品类名称",
  14562. "type": "string"
  14563. }
  14564. }
  14565. },
  14566. "models.Ermcp3Wrstandard": {
  14567. "type": "object",
  14568. "properties": {
  14569. "areauserid": {
  14570. "description": "所属机构",
  14571. "type": "integer"
  14572. },
  14573. "convertfactor": {
  14574. "description": "标仓系数",
  14575. "type": "number"
  14576. },
  14577. "createtime": {
  14578. "description": "创建时间",
  14579. "type": "string"
  14580. },
  14581. "creatorid": {
  14582. "description": "创建人",
  14583. "type": "integer"
  14584. },
  14585. "deliverygoodsid": {
  14586. "description": "现货品种ID",
  14587. "type": "integer"
  14588. },
  14589. "enumdicname": {
  14590. "description": "品类单位名称",
  14591. "type": "string"
  14592. },
  14593. "isvalid": {
  14594. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14595. "type": "integer"
  14596. },
  14597. "minivalue": {
  14598. "description": "最小变动值",
  14599. "type": "integer"
  14600. },
  14601. "minivaluedp": {
  14602. "description": "最小变动值小数位",
  14603. "type": "integer"
  14604. },
  14605. "realminivalue": {
  14606. "description": "实际最小变动值",
  14607. "type": "integer"
  14608. },
  14609. "realminivaluedp": {
  14610. "description": "实际最小变动值小数位",
  14611. "type": "integer"
  14612. },
  14613. "remark": {
  14614. "description": "备注",
  14615. "type": "string"
  14616. },
  14617. "unitid": {
  14618. "description": "品类单位ID",
  14619. "type": "integer"
  14620. },
  14621. "updatetime": {
  14622. "description": "更新时间",
  14623. "type": "string"
  14624. },
  14625. "wrstandardcode": {
  14626. "description": "品类代码",
  14627. "type": "string"
  14628. },
  14629. "wrstandardid": {
  14630. "description": "品类ID(SEQ_WRSTANDARD)",
  14631. "type": "integer"
  14632. },
  14633. "wrstandardname": {
  14634. "description": "品类名称",
  14635. "type": "string"
  14636. }
  14637. }
  14638. },
  14639. "models.ErmcpAreaSpotDetailModel": {
  14640. "type": "object",
  14641. "properties": {
  14642. "contracttype": {
  14643. "description": "合同类型 1-采购 -1-销售",
  14644. "type": "integer"
  14645. },
  14646. "createtime": {
  14647. "description": "创建时间",
  14648. "type": "string"
  14649. },
  14650. "enumdicname": {
  14651. "description": "现货商品单位名称",
  14652. "type": "string"
  14653. },
  14654. "logtype": {
  14655. "description": "记录类型 1-套保 2-现货合同",
  14656. "type": "integer"
  14657. },
  14658. "qty": {
  14659. "description": "数量",
  14660. "type": "number"
  14661. },
  14662. "recordname": {
  14663. "description": "类型名称",
  14664. "type": "string"
  14665. },
  14666. "relatedid": {
  14667. "description": "套保计划ID/现货合同ID",
  14668. "type": "string"
  14669. },
  14670. "relatedno": {
  14671. "description": "编号",
  14672. "type": "string"
  14673. },
  14674. "strtime": {
  14675. "description": "时间",
  14676. "type": "string"
  14677. },
  14678. "wrstandardcode": {
  14679. "description": "现货商品代码",
  14680. "type": "string"
  14681. },
  14682. "wrstandardname": {
  14683. "description": "现货商品名称",
  14684. "type": "string"
  14685. }
  14686. }
  14687. },
  14688. "models.ErmcpAreaStock": {
  14689. "type": "object",
  14690. "properties": {
  14691. "brandname": {
  14692. "description": "品牌名称",
  14693. "type": "string"
  14694. },
  14695. "curstock": {
  14696. "description": "期末库存量(今日量)",
  14697. "type": "number"
  14698. },
  14699. "deliverygoodsid": {
  14700. "description": "现货品种ID",
  14701. "type": "integer"
  14702. },
  14703. "enumdicname": {
  14704. "description": "单位名称",
  14705. "type": "string"
  14706. },
  14707. "modelname": {
  14708. "description": "型号名称",
  14709. "type": "string"
  14710. },
  14711. "oristock": {
  14712. "description": "期初库存量(昨日量)",
  14713. "type": "number"
  14714. },
  14715. "spotgoodsbrandid": {
  14716. "description": "现货品牌ID",
  14717. "type": "integer"
  14718. },
  14719. "spotgoodsmodelid": {
  14720. "description": "现货型号ID",
  14721. "type": "integer"
  14722. },
  14723. "todaybuyinqty": {
  14724. "description": "今日采购入库量",
  14725. "type": "number"
  14726. },
  14727. "todayproduceinqty": {
  14728. "description": "今日生产入库量",
  14729. "type": "number"
  14730. },
  14731. "todayproduceoutqty": {
  14732. "description": "今日生产出库量",
  14733. "type": "number"
  14734. },
  14735. "todayselloutqty": {
  14736. "description": "今日销售出库量",
  14737. "type": "number"
  14738. },
  14739. "unitid": {
  14740. "description": "单位id",
  14741. "type": "integer"
  14742. },
  14743. "updatetime": {
  14744. "description": "更新时间",
  14745. "type": "string"
  14746. },
  14747. "userid": {
  14748. "description": "机构ID",
  14749. "type": "integer"
  14750. },
  14751. "username": {
  14752. "description": "机构名称",
  14753. "type": "string"
  14754. },
  14755. "warehousecode": {
  14756. "description": "仓库代码",
  14757. "type": "string"
  14758. },
  14759. "warehouseinfoid": {
  14760. "description": "仓库ID",
  14761. "type": "string"
  14762. },
  14763. "warehousename": {
  14764. "description": "仓库名称",
  14765. "type": "string"
  14766. },
  14767. "warehousetype": {
  14768. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14769. "type": "integer"
  14770. },
  14771. "wrstandardcode": {
  14772. "description": "现货商品代码",
  14773. "type": "string"
  14774. },
  14775. "wrstandardid": {
  14776. "description": "现货商品ID",
  14777. "type": "string"
  14778. },
  14779. "wrstandardname": {
  14780. "description": "现货商品名称",
  14781. "type": "string"
  14782. }
  14783. }
  14784. },
  14785. "models.ErmcpAreaStockApply": {
  14786. "type": "object",
  14787. "properties": {
  14788. "applyid": {
  14789. "description": "申请人",
  14790. "type": "integer"
  14791. },
  14792. "applyname": {
  14793. "description": "申请人名称",
  14794. "type": "string"
  14795. },
  14796. "applyremark": {
  14797. "description": "申请备注",
  14798. "type": "string"
  14799. },
  14800. "applysrc": {
  14801. "description": "申请来源 - 1:管理端 2:终端",
  14802. "type": "integer"
  14803. },
  14804. "applystatus": {
  14805. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14806. "type": "integer"
  14807. },
  14808. "applytime": {
  14809. "description": "申请时间",
  14810. "type": "string"
  14811. },
  14812. "auditid": {
  14813. "description": "审核人",
  14814. "type": "integer"
  14815. },
  14816. "auditname": {
  14817. "description": "审核人名称",
  14818. "type": "string"
  14819. },
  14820. "auditremark": {
  14821. "description": "审核备注",
  14822. "type": "string"
  14823. },
  14824. "auditsrc": {
  14825. "description": "审核来源 - 1:管理端 2:终端",
  14826. "type": "integer"
  14827. },
  14828. "audittime": {
  14829. "description": "审核时间",
  14830. "type": "string"
  14831. },
  14832. "audittradedate": {
  14833. "description": "审核交易日(yyyyMMdd)",
  14834. "type": "string"
  14835. },
  14836. "brandname": {
  14837. "description": "品牌名称",
  14838. "type": "string"
  14839. },
  14840. "buyuserid": {
  14841. "description": "采购方userid",
  14842. "type": "integer"
  14843. },
  14844. "buyusername": {
  14845. "description": "采购方名称",
  14846. "type": "string"
  14847. },
  14848. "contractno": {
  14849. "description": "合同编号",
  14850. "type": "string"
  14851. },
  14852. "contractqty": {
  14853. "description": "合同量",
  14854. "type": "number"
  14855. },
  14856. "contracttype": {
  14857. "description": "现货合同类型 - 1:采购 -1:销售",
  14858. "type": "integer"
  14859. },
  14860. "deliverygoodsid": {
  14861. "description": "现货品种ID",
  14862. "type": "integer"
  14863. },
  14864. "enumdicname": {
  14865. "description": "现货商品单位名称",
  14866. "type": "string"
  14867. },
  14868. "inoutapplyid": {
  14869. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14870. "type": "string"
  14871. },
  14872. "inouttype": {
  14873. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14874. "type": "integer"
  14875. },
  14876. "modelname": {
  14877. "description": "型号名称",
  14878. "type": "string"
  14879. },
  14880. "pricetype": {
  14881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14882. "type": "integer"
  14883. },
  14884. "qty": {
  14885. "description": "数量",
  14886. "type": "number"
  14887. },
  14888. "selluserid": {
  14889. "description": "销售方userid",
  14890. "type": "integer"
  14891. },
  14892. "sellusername": {
  14893. "description": "销售方名称",
  14894. "type": "string"
  14895. },
  14896. "spotcontractid": {
  14897. "description": "关联现货合同ID",
  14898. "type": "string"
  14899. },
  14900. "spotgoodsbrandid": {
  14901. "description": "现货品牌ID",
  14902. "type": "integer"
  14903. },
  14904. "spotgoodsmodelid": {
  14905. "description": "现货型号ID",
  14906. "type": "integer"
  14907. },
  14908. "unitid": {
  14909. "description": "单位id",
  14910. "type": "integer"
  14911. },
  14912. "userid": {
  14913. "description": "机构ID",
  14914. "type": "integer"
  14915. },
  14916. "warehousecode": {
  14917. "description": "仓库代码",
  14918. "type": "string"
  14919. },
  14920. "warehouseinfoid": {
  14921. "description": "现货仓库ID",
  14922. "type": "string"
  14923. },
  14924. "warehousename": {
  14925. "description": "仓库名称",
  14926. "type": "string"
  14927. },
  14928. "warehousetype": {
  14929. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14930. "type": "integer"
  14931. },
  14932. "wrstandardcode": {
  14933. "description": "现货商品代码",
  14934. "type": "string"
  14935. },
  14936. "wrstandardid": {
  14937. "description": "现货商品ID",
  14938. "type": "string"
  14939. },
  14940. "wrstandardname": {
  14941. "description": "现货商品名称",
  14942. "type": "string"
  14943. }
  14944. }
  14945. },
  14946. "models.ErmcpAreaStockApplySum": {
  14947. "type": "object",
  14948. "properties": {
  14949. "brandname": {
  14950. "description": "品牌名称",
  14951. "type": "string"
  14952. },
  14953. "inouttype": {
  14954. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14955. "type": "integer"
  14956. },
  14957. "modelname": {
  14958. "description": "型号名称",
  14959. "type": "string"
  14960. },
  14961. "spotcontractid": {
  14962. "description": "关联现货合同ID",
  14963. "type": "string"
  14964. },
  14965. "spotgoodsbrandid": {
  14966. "description": "品牌id",
  14967. "type": "integer"
  14968. },
  14969. "spotgoodsmodelid": {
  14970. "description": "型号id",
  14971. "type": "integer"
  14972. },
  14973. "totalqty": {
  14974. "description": "总数量",
  14975. "type": "number"
  14976. }
  14977. }
  14978. },
  14979. "models.ErmcpAreaStockReport": {
  14980. "type": "object",
  14981. "properties": {
  14982. "brandname": {
  14983. "description": "品牌名称",
  14984. "type": "string"
  14985. },
  14986. "curstock": {
  14987. "description": "期末库存量",
  14988. "type": "number"
  14989. },
  14990. "deliverygoodsid": {
  14991. "description": "现货品种ID",
  14992. "type": "integer"
  14993. },
  14994. "enumdicname": {
  14995. "description": "单位名称",
  14996. "type": "string"
  14997. },
  14998. "modelname": {
  14999. "description": "型号名称",
  15000. "type": "string"
  15001. },
  15002. "oristock": {
  15003. "description": "期初库存量",
  15004. "type": "number"
  15005. },
  15006. "spotgoodsbrandid": {
  15007. "description": "现货品牌ID",
  15008. "type": "integer"
  15009. },
  15010. "spotgoodsmodelid": {
  15011. "description": "现货型号ID",
  15012. "type": "integer"
  15013. },
  15014. "todaybuyinqty": {
  15015. "description": "今日采购入库量",
  15016. "type": "number"
  15017. },
  15018. "todayproduceinqty": {
  15019. "description": "今日生产入库量",
  15020. "type": "number"
  15021. },
  15022. "todayproduceoutqty": {
  15023. "description": "今日生产出库量",
  15024. "type": "number"
  15025. },
  15026. "todayselloutqty": {
  15027. "description": "今日销售出库量",
  15028. "type": "number"
  15029. },
  15030. "unitid": {
  15031. "description": "单位id",
  15032. "type": "integer"
  15033. },
  15034. "updatetime": {
  15035. "description": "更新时间",
  15036. "type": "string"
  15037. },
  15038. "userid": {
  15039. "description": "机构ID",
  15040. "type": "integer"
  15041. },
  15042. "username": {
  15043. "description": "机构名称",
  15044. "type": "string"
  15045. },
  15046. "warehousecode": {
  15047. "description": "仓库代码",
  15048. "type": "string"
  15049. },
  15050. "warehouseinfoid": {
  15051. "description": "仓库ID",
  15052. "type": "string"
  15053. },
  15054. "warehousename": {
  15055. "description": "仓库名称",
  15056. "type": "string"
  15057. },
  15058. "warehousetype": {
  15059. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15060. "type": "integer"
  15061. },
  15062. "wrstandardcode": {
  15063. "description": "现货商品代码",
  15064. "type": "string"
  15065. },
  15066. "wrstandardid": {
  15067. "description": "现货商品ID",
  15068. "type": "string"
  15069. },
  15070. "wrstandardname": {
  15071. "description": "现货商品名称",
  15072. "type": "string"
  15073. }
  15074. }
  15075. },
  15076. "models.ErmcpAvalidGoodsGroupModel": {
  15077. "type": "object",
  15078. "properties": {
  15079. "goodsgroupid": {
  15080. "description": "期货品种id",
  15081. "type": "integer"
  15082. },
  15083. "goodsgroupname": {
  15084. "description": "期货品种名称",
  15085. "type": "string"
  15086. },
  15087. "goodunitid": {
  15088. "description": "品种单位id",
  15089. "type": "integer"
  15090. },
  15091. "goodunitname": {
  15092. "description": "品种单位名称",
  15093. "type": "string"
  15094. },
  15095. "outergroupcode": {
  15096. "description": "期货品种代码",
  15097. "type": "string"
  15098. }
  15099. }
  15100. },
  15101. "models.ErmcpBizGroupEx": {
  15102. "type": "object",
  15103. "properties": {
  15104. "acclist": {
  15105. "description": "账号列表",
  15106. "type": "array",
  15107. "items": {
  15108. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15109. }
  15110. },
  15111. "bizgroupid": {
  15112. "description": "业务分组id",
  15113. "type": "integer"
  15114. },
  15115. "biztype": {
  15116. "description": "业务类型 1-套保 2-套利",
  15117. "type": "integer"
  15118. },
  15119. "wrlist": {
  15120. "description": "现货商品表",
  15121. "type": "array",
  15122. "items": {
  15123. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15124. }
  15125. }
  15126. }
  15127. },
  15128. "models.ErmcpBizGroupSpotGoods": {
  15129. "type": "object",
  15130. "properties": {
  15131. "areauserid": {
  15132. "description": "所属机构id",
  15133. "type": "integer"
  15134. },
  15135. "bizgroupid": {
  15136. "description": "分组id",
  15137. "type": "integer"
  15138. },
  15139. "biztype": {
  15140. "description": "业务类型 1-套保 2-套利",
  15141. "type": "integer"
  15142. },
  15143. "deliverygoodscode": {
  15144. "description": "现货商品代码",
  15145. "type": "string"
  15146. },
  15147. "deliverygoodsid": {
  15148. "description": "现货商品id",
  15149. "type": "integer"
  15150. },
  15151. "deliverygoodsname": {
  15152. "description": "现货商品名称",
  15153. "type": "string"
  15154. },
  15155. "unitid": {
  15156. "description": "现货商品单位id",
  15157. "type": "integer"
  15158. }
  15159. }
  15160. },
  15161. "models.ErmcpBizGroupTaAccount": {
  15162. "type": "object",
  15163. "properties": {
  15164. "accountid": {
  15165. "description": "账号id",
  15166. "type": "string"
  15167. },
  15168. "accountname": {
  15169. "description": "账号名称",
  15170. "type": "string"
  15171. },
  15172. "areauserid": {
  15173. "description": "所属机构id",
  15174. "type": "integer"
  15175. },
  15176. "bizgroupid": {
  15177. "description": "业务分组id",
  15178. "type": "integer"
  15179. },
  15180. "ismain": {
  15181. "description": "是否主账号 1-是 0-否",
  15182. "type": "integer"
  15183. }
  15184. }
  15185. },
  15186. "models.ErmcpDGFactoryItem": {
  15187. "type": "object",
  15188. "properties": {
  15189. "areauserid": {
  15190. "description": "用户id",
  15191. "type": "integer"
  15192. },
  15193. "deliverygoodsid": {
  15194. "description": "现货品种ID",
  15195. "type": "integer"
  15196. },
  15197. "dgfactoryitemid": {
  15198. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15199. "type": "integer"
  15200. },
  15201. "dgfactoryitemtypeid": {
  15202. "description": "要素项类型",
  15203. "type": "integer"
  15204. },
  15205. "dgfactoryitemvalue": {
  15206. "description": "要素项值(类型为仓库时填写仓库名称)",
  15207. "type": "string"
  15208. },
  15209. "isvalid": {
  15210. "description": "是否有效 - 0:无效 1:有效",
  15211. "type": "integer"
  15212. },
  15213. "orderindex": {
  15214. "description": "顺序",
  15215. "type": "integer"
  15216. },
  15217. "warehouseid": {
  15218. "description": "仓库ID(类型为仓库时填写)",
  15219. "type": "integer"
  15220. }
  15221. }
  15222. },
  15223. "models.ErmcpDeliveryGoods": {
  15224. "type": "object",
  15225. "properties": {
  15226. "agreeunit": {
  15227. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15228. "type": "integer"
  15229. },
  15230. "areauserid": {
  15231. "description": "所属机构",
  15232. "type": "integer"
  15233. },
  15234. "auditflag": {
  15235. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15236. "type": "integer"
  15237. },
  15238. "categoryid": {
  15239. "description": "类别ID(SEQ_WRCATEGORY)",
  15240. "type": "integer"
  15241. },
  15242. "deliverygoodscode": {
  15243. "description": "现货品种代码",
  15244. "type": "string"
  15245. },
  15246. "deliverygoodsid": {
  15247. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15248. "type": "integer"
  15249. },
  15250. "deliverygoodsname": {
  15251. "description": "现货品种名称",
  15252. "type": "string"
  15253. },
  15254. "deliverygoodstype": {
  15255. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15256. "type": "integer"
  15257. },
  15258. "dgstatus": {
  15259. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15260. "type": "integer"
  15261. },
  15262. "enumdicname": {
  15263. "description": "现货品种单位名称",
  15264. "type": "string"
  15265. },
  15266. "goodsunitid": {
  15267. "description": "现货品种单位ID",
  15268. "type": "integer"
  15269. },
  15270. "isvalid": {
  15271. "description": "是否有效 - 0:无效 1:有效",
  15272. "type": "integer"
  15273. },
  15274. "qtydecimalplace": {
  15275. "description": "成交量小数位",
  15276. "type": "integer"
  15277. },
  15278. "remark": {
  15279. "description": "备注",
  15280. "type": "string"
  15281. },
  15282. "standardqty": {
  15283. "description": "标准数量(库位数量) [标准品特有]",
  15284. "type": "integer"
  15285. },
  15286. "standardqtyrange": {
  15287. "description": "标准数量偏差范围 [标准品特有]",
  15288. "type": "integer"
  15289. }
  15290. }
  15291. },
  15292. "models.ErmcpDeliveryGoodsDetail": {
  15293. "type": "object",
  15294. "properties": {
  15295. "data": {
  15296. "description": "现货商品基本信息(交割品种)",
  15297. "type": "object",
  15298. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15299. },
  15300. "gblist": {
  15301. "description": "品牌列表",
  15302. "type": "array",
  15303. "items": {
  15304. "$ref": "#/definitions/models.Ermcp3Brand"
  15305. }
  15306. },
  15307. "gmlist": {
  15308. "description": "品类列表(仓单标准)",
  15309. "type": "array",
  15310. "items": {
  15311. "$ref": "#/definitions/models.ErmcpWrstandard"
  15312. }
  15313. },
  15314. "goodslist": {
  15315. "description": "关联交易商品列表",
  15316. "type": "array",
  15317. "items": {
  15318. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  15319. }
  15320. },
  15321. "wrslist": {
  15322. "description": "套保信息列表",
  15323. "type": "array",
  15324. "items": {
  15325. "$ref": "#/definitions/models.WRSConverTDetail"
  15326. }
  15327. }
  15328. }
  15329. },
  15330. "models.ErmcpExposureDetailModel": {
  15331. "type": "object",
  15332. "properties": {
  15333. "areauserid": {
  15334. "description": "机构ID",
  15335. "type": "integer"
  15336. },
  15337. "changeQty": {
  15338. "description": "套保变动量",
  15339. "type": "number"
  15340. },
  15341. "contracttype": {
  15342. "description": "现货合同类型 - 1:采购 -1:销售",
  15343. "type": "integer"
  15344. },
  15345. "convertfactor": {
  15346. "description": "标仓系数",
  15347. "type": "number"
  15348. },
  15349. "convertratio": {
  15350. "description": "套保系数",
  15351. "type": "number"
  15352. },
  15353. "createtime": {
  15354. "description": "时间",
  15355. "type": "string"
  15356. },
  15357. "enumdicname": {
  15358. "description": "现货商品单位名称",
  15359. "type": "string"
  15360. },
  15361. "logtype": {
  15362. "description": "类型 - 1:套保计划 2:现货合同",
  15363. "type": "integer"
  15364. },
  15365. "middlegoodsId": {
  15366. "description": "套保商品id",
  15367. "type": "integer"
  15368. },
  15369. "middlegoodscode": {
  15370. "description": "套保商品代码",
  15371. "type": "string"
  15372. },
  15373. "middlegoodsname": {
  15374. "description": "套保商品名称",
  15375. "type": "string"
  15376. },
  15377. "qty": {
  15378. "description": "数量",
  15379. "type": "number"
  15380. },
  15381. "relateNo": {
  15382. "description": "现货合同/套保计划编号",
  15383. "type": "string"
  15384. },
  15385. "wrstandardcode": {
  15386. "description": "现货商品代码",
  15387. "type": "string"
  15388. },
  15389. "wrstandardid": {
  15390. "description": "现货商品ID",
  15391. "type": "integer"
  15392. },
  15393. "wrstandardname": {
  15394. "description": "现货商品名称",
  15395. "type": "string"
  15396. }
  15397. }
  15398. },
  15399. "models.ErmcpExposurePostion": {
  15400. "type": "object",
  15401. "properties": {
  15402. "agreeunit": {
  15403. "description": "合约单位",
  15404. "type": "string"
  15405. },
  15406. "areauserid": {
  15407. "description": "所属机构id",
  15408. "type": "integer"
  15409. },
  15410. "convertratio": {
  15411. "description": "期货品种系数(折算系数)",
  15412. "type": "number"
  15413. },
  15414. "curqty": {
  15415. "description": "当前持仓",
  15416. "type": "integer"
  15417. },
  15418. "diffhedgeqty": {
  15419. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15420. "type": "number"
  15421. },
  15422. "diffqty": {
  15423. "description": "持仓变动量=当前持仓-昨日持仓",
  15424. "type": "integer"
  15425. },
  15426. "goodscode": {
  15427. "description": "商品代码",
  15428. "type": "string"
  15429. },
  15430. "goodsid": {
  15431. "description": "商品id",
  15432. "type": "integer"
  15433. },
  15434. "goodsname": {
  15435. "description": "商品名称",
  15436. "type": "string"
  15437. },
  15438. "middlegoodsid": {
  15439. "description": "套保商品id",
  15440. "type": "integer"
  15441. },
  15442. "ydqty": {
  15443. "description": "昨日持仓",
  15444. "type": "integer"
  15445. }
  15446. }
  15447. },
  15448. "models.ErmcpFuturesCompany": {
  15449. "type": "object",
  15450. "properties": {
  15451. "brokerid": {
  15452. "description": "经纪公司代码",
  15453. "type": "string"
  15454. },
  15455. "channeladdress": {
  15456. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15457. "type": "string"
  15458. },
  15459. "channelid": {
  15460. "description": "对冲渠道ID",
  15461. "type": "string"
  15462. },
  15463. "createtime": {
  15464. "description": "创建时间",
  15465. "type": "string"
  15466. },
  15467. "creatorid": {
  15468. "description": "创建人",
  15469. "type": "string"
  15470. },
  15471. "fcid": {
  15472. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15473. "type": "integer"
  15474. },
  15475. "fcname": {
  15476. "description": "期货公司名称",
  15477. "type": "string"
  15478. },
  15479. "isvalid": {
  15480. "description": "是否有效 - 0:无效 1:有效",
  15481. "type": "integer"
  15482. },
  15483. "mhpaddress": {
  15484. "description": "MHP服务地址(IP:Port)",
  15485. "type": "string"
  15486. },
  15487. "riskrulegroupid": {
  15488. "description": "风控规则组ID",
  15489. "type": "string"
  15490. },
  15491. "tradefeetmpid": {
  15492. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15493. "type": "string"
  15494. },
  15495. "trademargintmpid": {
  15496. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15497. "type": "string"
  15498. },
  15499. "traderatetmpid": {
  15500. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15501. "type": "string"
  15502. },
  15503. "updatetime": {
  15504. "description": "更新时间",
  15505. "type": "string"
  15506. },
  15507. "updatorid": {
  15508. "description": "更新人",
  15509. "type": "string"
  15510. }
  15511. }
  15512. },
  15513. "models.ErmcpGGConvertCfg": {
  15514. "type": "object",
  15515. "properties": {
  15516. "convertratio": {
  15517. "description": "折算系数",
  15518. "type": "number"
  15519. },
  15520. "destgoodsgroupid": {
  15521. "description": "目标品种ID",
  15522. "type": "integer"
  15523. },
  15524. "dstcode": {
  15525. "description": "目录品种代码",
  15526. "type": "string"
  15527. },
  15528. "dstexchangecode": {
  15529. "description": "目标期货交易所",
  15530. "type": "string"
  15531. },
  15532. "dstname": {
  15533. "description": "目标品种名称",
  15534. "type": "string"
  15535. },
  15536. "dstunitid": {
  15537. "description": "目标品种单位ID",
  15538. "type": "integer"
  15539. },
  15540. "dstunitidname": {
  15541. "description": "目标品种单位名称",
  15542. "type": "string"
  15543. },
  15544. "modifytime": {
  15545. "description": "修改时间",
  15546. "type": "string"
  15547. },
  15548. "srccode": {
  15549. "description": "源品种代码",
  15550. "type": "string"
  15551. },
  15552. "srcexchangecode": {
  15553. "description": "源期货交易所",
  15554. "type": "string"
  15555. },
  15556. "srcgoodsgroupid": {
  15557. "description": "源品种ID",
  15558. "type": "integer"
  15559. },
  15560. "srcname": {
  15561. "description": "源品种名称",
  15562. "type": "string"
  15563. },
  15564. "srcunitid": {
  15565. "description": "源品种单位ID",
  15566. "type": "integer"
  15567. },
  15568. "srcunitidname": {
  15569. "description": "源品种单位名称",
  15570. "type": "string"
  15571. }
  15572. }
  15573. },
  15574. "models.ErmcpGoodsBrand": {
  15575. "type": "object",
  15576. "properties": {
  15577. "areauserid": {
  15578. "description": "所属机构",
  15579. "type": "integer"
  15580. },
  15581. "brandid": {
  15582. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15583. "type": "integer"
  15584. },
  15585. "brandname": {
  15586. "description": "品牌名称",
  15587. "type": "string"
  15588. },
  15589. "createtime": {
  15590. "description": "创建时间",
  15591. "type": "string"
  15592. },
  15593. "creatorid": {
  15594. "description": "创建人",
  15595. "type": "integer"
  15596. },
  15597. "creatorsrc": {
  15598. "description": "创建人来源 - 1:管理端 2:终端",
  15599. "type": "integer"
  15600. },
  15601. "deliverygoodsid": {
  15602. "description": "现货品种ID",
  15603. "type": "integer"
  15604. },
  15605. "isvalid": {
  15606. "description": "是否有效 - 0:无效 1:有效",
  15607. "type": "integer"
  15608. },
  15609. "updatetime": {
  15610. "description": "更新时间",
  15611. "type": "string"
  15612. },
  15613. "updatorid": {
  15614. "description": "更新人",
  15615. "type": "integer"
  15616. },
  15617. "updatorsrc": {
  15618. "description": "更新人来源 - 1:管理端 2:终端",
  15619. "type": "integer"
  15620. },
  15621. "wrstandardid": {
  15622. "description": "现货商品ID",
  15623. "type": "integer"
  15624. }
  15625. }
  15626. },
  15627. "models.ErmcpGoodsModel": {
  15628. "type": "object",
  15629. "properties": {
  15630. "areauserid": {
  15631. "description": "所属机构",
  15632. "type": "integer"
  15633. },
  15634. "convertfactor": {
  15635. "description": "标仓系数",
  15636. "type": "number"
  15637. },
  15638. "createtime": {
  15639. "description": "创建时间",
  15640. "type": "string"
  15641. },
  15642. "creatorid": {
  15643. "description": "创建人",
  15644. "type": "integer"
  15645. },
  15646. "creatorsrc": {
  15647. "description": "创建人来源 - 1:管理端 2:终端",
  15648. "type": "integer"
  15649. },
  15650. "deliverygoodsid": {
  15651. "description": "现货品种ID",
  15652. "type": "integer"
  15653. },
  15654. "isvalid": {
  15655. "description": "是否有效 - 0:无效 1:有效",
  15656. "type": "integer"
  15657. },
  15658. "modelid": {
  15659. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15660. "type": "integer"
  15661. },
  15662. "modelname": {
  15663. "description": "型号名称",
  15664. "type": "string"
  15665. },
  15666. "updatetime": {
  15667. "description": "更新时间",
  15668. "type": "string"
  15669. },
  15670. "updatorid": {
  15671. "description": "更新人",
  15672. "type": "integer"
  15673. },
  15674. "updatorsrc": {
  15675. "description": "更新人来源 - 1:管理端 2:终端",
  15676. "type": "integer"
  15677. },
  15678. "wrstandardid": {
  15679. "description": "现货商品ID",
  15680. "type": "integer"
  15681. }
  15682. }
  15683. },
  15684. "models.ErmcpHedgePlan": {
  15685. "type": "object",
  15686. "properties": {
  15687. "areauserid": {
  15688. "description": "用户ID",
  15689. "type": "integer"
  15690. },
  15691. "audittime": {
  15692. "description": "审核时间",
  15693. "type": "string"
  15694. },
  15695. "contracttype": {
  15696. "description": "计划类型 - 1:采购 -1:销售",
  15697. "type": "integer"
  15698. },
  15699. "convertfactor": {
  15700. "description": "标仓系数",
  15701. "type": "number"
  15702. },
  15703. "createtime": {
  15704. "description": "创建时间",
  15705. "type": "string"
  15706. },
  15707. "deliverygoodsid": {
  15708. "description": "现货品种ID",
  15709. "type": "integer"
  15710. },
  15711. "deliverygoodsname": {
  15712. "description": "现货品种名称",
  15713. "type": "string"
  15714. },
  15715. "enumdicname": {
  15716. "description": "单位名称",
  15717. "type": "string"
  15718. },
  15719. "hedgeplanid": {
  15720. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15721. "type": "string"
  15722. },
  15723. "hedgeplanno": {
  15724. "description": "套保计划编号(名称)",
  15725. "type": "string"
  15726. },
  15727. "hedgeplanstatus": {
  15728. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15729. "type": "integer"
  15730. },
  15731. "planqty": {
  15732. "description": "计划数量",
  15733. "type": "number"
  15734. },
  15735. "plantime": {
  15736. "description": "计划时间",
  15737. "type": "string"
  15738. },
  15739. "producttype": {
  15740. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15741. "type": "integer"
  15742. },
  15743. "remark": {
  15744. "description": "备注",
  15745. "type": "string"
  15746. },
  15747. "spotgoodsdesc": {
  15748. "description": "商品型号",
  15749. "type": "string"
  15750. },
  15751. "unitid": {
  15752. "description": "单位id",
  15753. "type": "integer"
  15754. },
  15755. "updatetime": {
  15756. "description": "更新时间",
  15757. "type": "string"
  15758. },
  15759. "wrstandardid": {
  15760. "description": "现货商品ID",
  15761. "type": "integer"
  15762. },
  15763. "wrstandardname": {
  15764. "description": "现货商品名称",
  15765. "type": "string"
  15766. }
  15767. }
  15768. },
  15769. "models.ErmcpHedgePosition": {
  15770. "type": "object",
  15771. "properties": {
  15772. "accountid": {
  15773. "description": "资金账号[外部母账户]",
  15774. "type": "integer"
  15775. },
  15776. "curbuyposition": {
  15777. "description": "期末买头寸",
  15778. "type": "integer"
  15779. },
  15780. "cursellposition": {
  15781. "description": "期末卖头寸",
  15782. "type": "integer"
  15783. },
  15784. "curtdbuyposition": {
  15785. "description": "期末今日买头寸",
  15786. "type": "integer"
  15787. },
  15788. "curtdsellposition": {
  15789. "description": "期末今日卖头寸",
  15790. "type": "integer"
  15791. },
  15792. "curydbuyposition": {
  15793. "description": "期末上日买头寸",
  15794. "type": "integer"
  15795. },
  15796. "curydsellposition": {
  15797. "description": "期末上日卖头寸",
  15798. "type": "integer"
  15799. },
  15800. "decreaseqty": {
  15801. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15802. "type": "integer"
  15803. },
  15804. "fretdbuyposition": {
  15805. "description": "冻结今日买头寸",
  15806. "type": "integer"
  15807. },
  15808. "fretdsellposition": {
  15809. "description": "冻结今日卖头寸",
  15810. "type": "integer"
  15811. },
  15812. "freydbuyposition": {
  15813. "description": "冻结上日买头寸",
  15814. "type": "integer"
  15815. },
  15816. "freydsellposition": {
  15817. "description": "冻结上日卖头寸",
  15818. "type": "integer"
  15819. },
  15820. "goodscode": {
  15821. "description": "商品代码",
  15822. "type": "string"
  15823. },
  15824. "goodsid": {
  15825. "description": "商品id",
  15826. "type": "integer"
  15827. },
  15828. "goodsname": {
  15829. "description": "商品名称",
  15830. "type": "string"
  15831. },
  15832. "hedgeaccountcode": {
  15833. "description": "对冲账号",
  15834. "type": "string"
  15835. },
  15836. "hedgegoodsid": {
  15837. "description": "对冲合约ID",
  15838. "type": "integer"
  15839. },
  15840. "increaseqty": {
  15841. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15842. "type": "integer"
  15843. },
  15844. "marketid": {
  15845. "description": "市场ID",
  15846. "type": "integer"
  15847. },
  15848. "relateduserid": {
  15849. "description": "关联用户id",
  15850. "type": "integer"
  15851. },
  15852. "totalcurqty": {
  15853. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15854. "type": "integer"
  15855. },
  15856. "totalydqty": {
  15857. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15858. "type": "integer"
  15859. },
  15860. "tradedate": {
  15861. "description": "交易日(yyyyMMdd)",
  15862. "type": "string"
  15863. },
  15864. "ydbuyposition": {
  15865. "description": "期初买头寸",
  15866. "type": "integer"
  15867. },
  15868. "ydsellposition": {
  15869. "description": "期初卖头寸",
  15870. "type": "integer"
  15871. }
  15872. }
  15873. },
  15874. "models.ErmcpHedgePositionDetail": {
  15875. "type": "object",
  15876. "properties": {
  15877. "buyorsell": {
  15878. "description": "买卖方向 0-买 1-卖",
  15879. "type": "integer"
  15880. },
  15881. "channelbuildtype": {
  15882. "description": "开平方向 1-建仓 2-平仓",
  15883. "type": "integer"
  15884. },
  15885. "goodscode": {
  15886. "description": "商品代码",
  15887. "type": "string"
  15888. },
  15889. "goodsname": {
  15890. "description": "商品名称",
  15891. "type": "string"
  15892. },
  15893. "hedgegoodsid": {
  15894. "description": "商品id",
  15895. "type": "integer"
  15896. },
  15897. "tradeqty": {
  15898. "description": "数量(成交数量)",
  15899. "type": "integer"
  15900. },
  15901. "tradetime": {
  15902. "description": "时间(成交时间)",
  15903. "type": "string"
  15904. }
  15905. }
  15906. },
  15907. "models.ErmcpHisExposure": {
  15908. "type": "object",
  15909. "properties": {
  15910. "needhedgeexposoure": {
  15911. "description": "应套保敞口",
  15912. "type": "number"
  15913. },
  15914. "reckondate": {
  15915. "description": "日照时期(yyyyMMdd)",
  15916. "type": "string"
  15917. },
  15918. "totalexposure": {
  15919. "description": "总敞口",
  15920. "type": "number"
  15921. }
  15922. }
  15923. },
  15924. "models.ErmcpHisExposureS": {
  15925. "type": "object",
  15926. "properties": {
  15927. "data": {
  15928. "description": "历史敞口",
  15929. "type": "array",
  15930. "items": {
  15931. "$ref": "#/definitions/models.ErmcpHisExposure"
  15932. }
  15933. },
  15934. "enumdicname": {
  15935. "description": "单位名称",
  15936. "type": "string"
  15937. },
  15938. "middlegoodscode": {
  15939. "description": "套保品种代码",
  15940. "type": "string"
  15941. },
  15942. "middlegoodsid": {
  15943. "description": "套保品种ID",
  15944. "type": "integer"
  15945. },
  15946. "middlegoodsname": {
  15947. "description": "套保品种名称",
  15948. "type": "string"
  15949. }
  15950. }
  15951. },
  15952. "models.ErmcpLoginUser": {
  15953. "type": "object",
  15954. "properties": {
  15955. "accountname": {
  15956. "description": "用户名称",
  15957. "type": "string"
  15958. },
  15959. "clientroleid": {
  15960. "description": "角色id(usertype=2)",
  15961. "type": "integer"
  15962. },
  15963. "createtime": {
  15964. "description": "创建时间",
  15965. "type": "string"
  15966. },
  15967. "logincode": {
  15968. "description": "登录代码",
  15969. "type": "string"
  15970. },
  15971. "loginid": {
  15972. "description": "登录id(LOGINID)",
  15973. "type": "integer"
  15974. },
  15975. "loginstatus": {
  15976. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15977. "type": "integer"
  15978. },
  15979. "memberuserid": {
  15980. "description": "所属会员id",
  15981. "type": "integer"
  15982. },
  15983. "mobile": {
  15984. "description": "手机号",
  15985. "type": "string"
  15986. },
  15987. "modifytime": {
  15988. "description": "修改时间",
  15989. "type": "string"
  15990. },
  15991. "password": {
  15992. "description": "密码(不可解密)",
  15993. "type": "string"
  15994. },
  15995. "rolename": {
  15996. "description": "角色名称",
  15997. "type": "string"
  15998. },
  15999. "rolestatus": {
  16000. "description": "角色状态 1-启用 2-停用",
  16001. "type": "integer"
  16002. },
  16003. "roletype": {
  16004. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16005. "type": "string"
  16006. },
  16007. "userid": {
  16008. "description": "用户id",
  16009. "type": "integer"
  16010. },
  16011. "usertype": {
  16012. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16013. "type": "integer"
  16014. }
  16015. }
  16016. },
  16017. "models.ErmcpLoginUserEx": {
  16018. "type": "object",
  16019. "properties": {
  16020. "roleid": {
  16021. "description": "角色id",
  16022. "type": "integer"
  16023. },
  16024. "rolename": {
  16025. "description": "角色名称",
  16026. "type": "string"
  16027. },
  16028. "userlist": {
  16029. "description": "用户列表",
  16030. "type": "array",
  16031. "items": {
  16032. "$ref": "#/definitions/models.ErmcpLoginUser"
  16033. }
  16034. },
  16035. "usertype": {
  16036. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16037. "type": "integer"
  16038. }
  16039. }
  16040. },
  16041. "models.ErmcpMiddleGoodsChangeLog": {
  16042. "type": "object",
  16043. "properties": {
  16044. "aftervalue": {
  16045. "description": "变更后",
  16046. "type": "number"
  16047. },
  16048. "applyid": {
  16049. "description": "操作人",
  16050. "type": "integer"
  16051. },
  16052. "applyname": {
  16053. "description": "操作人名称",
  16054. "type": "string"
  16055. },
  16056. "applysrc": {
  16057. "description": "操作来源 - 1:管理端 2:终端",
  16058. "type": "integer"
  16059. },
  16060. "beforevalue": {
  16061. "description": "变更前",
  16062. "type": "number"
  16063. },
  16064. "changelogtype": {
  16065. "description": "变更流水类型 - 1:套保比率变更",
  16066. "type": "integer"
  16067. },
  16068. "handlestatus": {
  16069. "description": "处理状态",
  16070. "type": "integer"
  16071. },
  16072. "logdatetime": {
  16073. "description": "流水日期",
  16074. "type": "string"
  16075. },
  16076. "logid": {
  16077. "description": "流水ID",
  16078. "type": "integer"
  16079. },
  16080. "logremark": {
  16081. "description": "流水备注",
  16082. "type": "string"
  16083. },
  16084. "middlegoodsid": {
  16085. "description": "套保品种ID",
  16086. "type": "integer"
  16087. },
  16088. "tradedate": {
  16089. "description": "交易日(yyyyMMdd)",
  16090. "type": "string"
  16091. },
  16092. "updatetime": {
  16093. "description": "更新时间",
  16094. "type": "string"
  16095. }
  16096. }
  16097. },
  16098. "models.ErmcpMiddleGoodsDetail": {
  16099. "type": "object",
  16100. "properties": {
  16101. "cvList": {
  16102. "description": "期货品种折算列表",
  16103. "type": "array",
  16104. "items": {
  16105. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16106. }
  16107. },
  16108. "mg": {
  16109. "description": "套保品种基本信息",
  16110. "type": "object",
  16111. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16112. },
  16113. "wrcList": {
  16114. "description": "现货品种列表(现货商品折算配置)",
  16115. "type": "array",
  16116. "items": {
  16117. "$ref": "#/definitions/models.WRSConverTDetail"
  16118. }
  16119. }
  16120. }
  16121. },
  16122. "models.ErmcpMiddleGoodsModel": {
  16123. "type": "object",
  16124. "properties": {
  16125. "areauserid": {
  16126. "description": "机构用户ID",
  16127. "type": "integer"
  16128. },
  16129. "createtime": {
  16130. "description": "修改时间",
  16131. "type": "string"
  16132. },
  16133. "enumdicname": {
  16134. "description": "单位名称",
  16135. "type": "string"
  16136. },
  16137. "evaluateratio": {
  16138. "description": "估价系数",
  16139. "type": "number"
  16140. },
  16141. "goodsgroupid": {
  16142. "description": "关联期货品种ID",
  16143. "type": "integer"
  16144. },
  16145. "isvalid": {
  16146. "description": "状态 0-无效(停用) 1-有效(正常)",
  16147. "type": "integer"
  16148. },
  16149. "middlegoodscode": {
  16150. "description": "套保品种代码",
  16151. "type": "string"
  16152. },
  16153. "middlegoodsid": {
  16154. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16155. "type": "integer"
  16156. },
  16157. "middlegoodsname": {
  16158. "description": "套保品种名称",
  16159. "type": "string"
  16160. },
  16161. "modifytime": {
  16162. "description": "修改时间",
  16163. "type": "string"
  16164. },
  16165. "needhedgeratio": {
  16166. "description": "套保比率",
  16167. "type": "number"
  16168. },
  16169. "qtydecimalplace": {
  16170. "description": "数量小数位",
  16171. "type": "integer"
  16172. },
  16173. "relatedgoodsid": {
  16174. "description": "关联交易商品ID",
  16175. "type": "integer"
  16176. },
  16177. "relatedgoodstype": {
  16178. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16179. "type": "integer"
  16180. },
  16181. "remark": {
  16182. "description": "备注",
  16183. "type": "string"
  16184. }
  16185. }
  16186. },
  16187. "models.ErmcpModel": {
  16188. "type": "object",
  16189. "properties": {
  16190. "accountname": {
  16191. "description": "账户名称",
  16192. "type": "string"
  16193. },
  16194. "attachment": {
  16195. "description": "附件",
  16196. "type": "string"
  16197. },
  16198. "audittime": {
  16199. "description": "审核时间",
  16200. "type": "string"
  16201. },
  16202. "brandname": {
  16203. "description": "品牌名称",
  16204. "type": "string"
  16205. },
  16206. "contracctstatus": {
  16207. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16208. "type": "integer"
  16209. },
  16210. "contractmargin": {
  16211. "description": "合同保证金",
  16212. "type": "number"
  16213. },
  16214. "contractno": {
  16215. "description": "合同编号",
  16216. "type": "string"
  16217. },
  16218. "contracttype": {
  16219. "description": "合同类型 1-采购, -1-销售",
  16220. "type": "integer"
  16221. },
  16222. "convertfactor": {
  16223. "description": "标仓系数",
  16224. "type": "number"
  16225. },
  16226. "createtime": {
  16227. "description": "创建时间",
  16228. "type": "string"
  16229. },
  16230. "daikaiamount": {
  16231. "description": "应收(开)票额",
  16232. "type": "number"
  16233. },
  16234. "deliveryenddate": {
  16235. "description": "交割结束日",
  16236. "type": "string"
  16237. },
  16238. "deliverygoodscode": {
  16239. "description": "现货品种代码",
  16240. "type": "string"
  16241. },
  16242. "deliverygoodsid": {
  16243. "description": "现货商品ID",
  16244. "type": "integer"
  16245. },
  16246. "deliverygoodsname": {
  16247. "description": "现货品种名称",
  16248. "type": "string"
  16249. },
  16250. "deliverystartdate": {
  16251. "description": "交割开始日",
  16252. "type": "string"
  16253. },
  16254. "enddate": {
  16255. "description": "点价结束日",
  16256. "type": "string"
  16257. },
  16258. "enumdicname": {
  16259. "description": "单位名称",
  16260. "type": "string"
  16261. },
  16262. "goodscode": {
  16263. "description": "点价商品代码",
  16264. "type": "string"
  16265. },
  16266. "goodsid": {
  16267. "description": "点价商品ID",
  16268. "type": "integer"
  16269. },
  16270. "goodsname": {
  16271. "description": "点价商品名称",
  16272. "type": "string"
  16273. },
  16274. "invoiceamount": {
  16275. "description": "已开票额",
  16276. "type": "number"
  16277. },
  16278. "loanamount": {
  16279. "description": "贷款总额=已定价额+调整金额",
  16280. "type": "number"
  16281. },
  16282. "margin": {
  16283. "description": "保证金",
  16284. "type": "number"
  16285. },
  16286. "modelname": {
  16287. "description": "型号名称",
  16288. "type": "string"
  16289. },
  16290. "payamount": {
  16291. "description": "已收付额(收款或付款)",
  16292. "type": "number"
  16293. },
  16294. "preinvoiceamount": {
  16295. "description": "预收(开)票额",
  16296. "type": "number"
  16297. },
  16298. "prepayamount": {
  16299. "description": "预收付额",
  16300. "type": "number"
  16301. },
  16302. "price": {
  16303. "description": "价格",
  16304. "type": "number"
  16305. },
  16306. "pricedamount": {
  16307. "description": "已定价额",
  16308. "type": "number"
  16309. },
  16310. "pricedavg": {
  16311. "description": "已点均价",
  16312. "type": "number"
  16313. },
  16314. "pricedqty": {
  16315. "description": "已定价量",
  16316. "type": "number"
  16317. },
  16318. "pricemove": {
  16319. "description": "升贴水",
  16320. "type": "number"
  16321. },
  16322. "pricetype": {
  16323. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16324. "type": "integer"
  16325. },
  16326. "producttype": {
  16327. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16328. "type": "integer"
  16329. },
  16330. "qty": {
  16331. "description": "合同量",
  16332. "type": "number"
  16333. },
  16334. "reckonadjustamount": {
  16335. "description": "调整金额",
  16336. "type": "number"
  16337. },
  16338. "reckonedamount": {
  16339. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16340. "type": "number"
  16341. },
  16342. "reckonotheramount": {
  16343. "description": "其它费用",
  16344. "type": "number"
  16345. },
  16346. "reckonrealqty": {
  16347. "description": "已确定量",
  16348. "type": "number"
  16349. },
  16350. "remark": {
  16351. "description": "备注",
  16352. "type": "string"
  16353. },
  16354. "spotcontractid": {
  16355. "description": "合同ID",
  16356. "type": "string"
  16357. },
  16358. "spotgoodsbrandid": {
  16359. "description": "现货品牌ID",
  16360. "type": "integer"
  16361. },
  16362. "spotgoodsdesc": {
  16363. "description": "商品型号(商品规格)",
  16364. "type": "string"
  16365. },
  16366. "spotgoodsmodelid": {
  16367. "description": "现货型号ID",
  16368. "type": "integer"
  16369. },
  16370. "startdate": {
  16371. "description": "点价开始日",
  16372. "type": "string"
  16373. },
  16374. "totalamount": {
  16375. "description": "合计总额",
  16376. "type": "number"
  16377. },
  16378. "unpayamount": {
  16379. "description": "应收付款额(应支付或应收款)",
  16380. "type": "number"
  16381. },
  16382. "unpricedqty": {
  16383. "description": "未定价量",
  16384. "type": "number"
  16385. },
  16386. "unsureqty": {
  16387. "description": "未确定量",
  16388. "type": "number"
  16389. },
  16390. "userid": {
  16391. "description": "用户ID",
  16392. "type": "integer"
  16393. },
  16394. "wrstandardcode": {
  16395. "description": "现货商品代码",
  16396. "type": "string"
  16397. },
  16398. "wrstandardid": {
  16399. "description": "现货商品ID",
  16400. "type": "integer"
  16401. },
  16402. "wrstandardname": {
  16403. "description": "现货商品名称",
  16404. "type": "string"
  16405. }
  16406. }
  16407. },
  16408. "models.ErmcpOPLogModel": {
  16409. "type": "object",
  16410. "properties": {
  16411. "aftervalue": {
  16412. "description": "变更后",
  16413. "type": "number"
  16414. },
  16415. "applyid": {
  16416. "description": "操作人ID",
  16417. "type": "string"
  16418. },
  16419. "applyname": {
  16420. "description": "操作人名称",
  16421. "type": "string"
  16422. },
  16423. "beforevalue": {
  16424. "description": "变更前",
  16425. "type": "number"
  16426. },
  16427. "biztype": {
  16428. "description": "业务类型 - 1:套保计划 2:现货合同",
  16429. "type": "integer"
  16430. },
  16431. "contracttype": {
  16432. "description": "现货合同类型 - 1:采购 -1:销售",
  16433. "type": "integer"
  16434. },
  16435. "logvalue": {
  16436. "description": "数值",
  16437. "type": "number"
  16438. },
  16439. "operatelogtype": {
  16440. "description": "操作流水类型",
  16441. "type": "integer"
  16442. },
  16443. "operatelogtypedesc": {
  16444. "description": "操作流水类型名称",
  16445. "type": "string"
  16446. },
  16447. "relatedid": {
  16448. "description": "现货合同ID\\套保计划",
  16449. "type": "string"
  16450. },
  16451. "updatetime": {
  16452. "description": "更新时间",
  16453. "type": "string"
  16454. }
  16455. }
  16456. },
  16457. "models.ErmcpPendingAudit": {
  16458. "type": "object",
  16459. "properties": {
  16460. "areastockqty": {
  16461. "description": "待审核数量: 库存申请",
  16462. "type": "integer"
  16463. },
  16464. "businessdjqty": {
  16465. "description": "待审核数量: 点价",
  16466. "type": "integer"
  16467. },
  16468. "businessfpqty": {
  16469. "description": "待审核数量: 发票",
  16470. "type": "integer"
  16471. },
  16472. "businessjsqty": {
  16473. "description": "待审核数量: 结算",
  16474. "type": "integer"
  16475. },
  16476. "businesskxqty": {
  16477. "description": "待审核数量: 款项",
  16478. "type": "integer"
  16479. },
  16480. "hedgeplanqty": {
  16481. "description": "待审核数量: 套保计划",
  16482. "type": "integer"
  16483. },
  16484. "spotcontractqty": {
  16485. "description": "待审核数量: 现货合同",
  16486. "type": "integer"
  16487. },
  16488. "userqty": {
  16489. "description": "待审核数量: 用户",
  16490. "type": "integer"
  16491. }
  16492. }
  16493. },
  16494. "models.ErmcpRealExposureModel": {
  16495. "type": "object",
  16496. "properties": {
  16497. "AreaUserID": {
  16498. "description": "所属机构",
  16499. "type": "integer"
  16500. },
  16501. "BuyFutureQty": {
  16502. "description": "买入期货数量",
  16503. "type": "number"
  16504. },
  16505. "BuyPlanQty": {
  16506. "description": "采购计划数量",
  16507. "type": "number"
  16508. },
  16509. "BuyPricedQty": {
  16510. "description": "采购合同已定价数量",
  16511. "type": "number"
  16512. },
  16513. "MiddleGoodsCode": {
  16514. "description": "套保品种代码",
  16515. "type": "string"
  16516. },
  16517. "MiddleGoodsHedgeRatio": {
  16518. "description": "应套保比例",
  16519. "type": "number"
  16520. },
  16521. "MiddleGoodsID": {
  16522. "description": "套保品种",
  16523. "type": "integer"
  16524. },
  16525. "MiddleGoodsName": {
  16526. "description": "套保品种名称",
  16527. "type": "string"
  16528. },
  16529. "NeedHedgeExposoure": {
  16530. "description": "应套保敞口",
  16531. "type": "number"
  16532. },
  16533. "NeedHedgeRatio": {
  16534. "description": "应套保敞口比例",
  16535. "type": "number"
  16536. },
  16537. "OriBuyFutureQty": {
  16538. "description": "期初买入期货数量",
  16539. "type": "number"
  16540. },
  16541. "OriBuyPlanQty": {
  16542. "description": "期初采购计划数量",
  16543. "type": "number"
  16544. },
  16545. "OriBuyPricedQty": {
  16546. "description": "期初采购合同已定价数量",
  16547. "type": "number"
  16548. },
  16549. "OriSellFutureQty": {
  16550. "description": "期初卖出期货数量",
  16551. "type": "number"
  16552. },
  16553. "OriSellPlanQty": {
  16554. "description": "期初销售计划数量",
  16555. "type": "number"
  16556. },
  16557. "OriSellPricedQty": {
  16558. "description": "期初销售合同已定价数量",
  16559. "type": "number"
  16560. },
  16561. "SellFutureQty": {
  16562. "description": "卖出期货数量",
  16563. "type": "number"
  16564. },
  16565. "SellPlanQty": {
  16566. "description": "销售计划数量",
  16567. "type": "number"
  16568. },
  16569. "SellPricedQty": {
  16570. "description": "销售合同已定价数量",
  16571. "type": "number"
  16572. },
  16573. "TotalExposure": {
  16574. "description": "总敞口",
  16575. "type": "number"
  16576. },
  16577. "TotalFutureQty": {
  16578. "description": "期货数量",
  16579. "type": "number"
  16580. },
  16581. "TotalHedgeRatio": {
  16582. "description": "敞口比例",
  16583. "type": "number"
  16584. },
  16585. "TotalNeedHedgeQty": {
  16586. "description": "期货应套保量",
  16587. "type": "number"
  16588. },
  16589. "TotalSpotQty": {
  16590. "description": "现货数量",
  16591. "type": "number"
  16592. },
  16593. "diffFutuQty": {
  16594. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16595. "type": "number"
  16596. },
  16597. "diffSpotQty": {
  16598. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16599. "type": "number"
  16600. },
  16601. "enumdicname": {
  16602. "description": "单位名称",
  16603. "type": "string"
  16604. },
  16605. "oriTotalFutuQty": {
  16606. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16607. "type": "number"
  16608. },
  16609. "oriTotalSpotQty": {
  16610. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16611. "type": "number"
  16612. }
  16613. }
  16614. },
  16615. "models.ErmcpRelatedGoods": {
  16616. "type": "object",
  16617. "properties": {
  16618. "deliverygoodsid": {
  16619. "description": "品种ID",
  16620. "type": "integer"
  16621. },
  16622. "goodscode": {
  16623. "description": "商品代码",
  16624. "type": "string"
  16625. },
  16626. "goodsid": {
  16627. "description": "商品id",
  16628. "type": "integer"
  16629. },
  16630. "goodsname": {
  16631. "description": "商品名称",
  16632. "type": "string"
  16633. }
  16634. }
  16635. },
  16636. "models.ErmcpReportAreaSpotPL": {
  16637. "type": "object",
  16638. "properties": {
  16639. "actualpl": {
  16640. "description": "实际损益",
  16641. "type": "number"
  16642. },
  16643. "areauserid": {
  16644. "description": "所属机构",
  16645. "type": "integer"
  16646. },
  16647. "brandname": {
  16648. "description": "品牌名称",
  16649. "type": "string"
  16650. },
  16651. "curamount": {
  16652. "description": "期末额",
  16653. "type": "number"
  16654. },
  16655. "curaverageprice": {
  16656. "description": "期末均价",
  16657. "type": "number"
  16658. },
  16659. "curbuyamount": {
  16660. "description": "期末采购总额(采购额)",
  16661. "type": "number"
  16662. },
  16663. "curbuyqty": {
  16664. "description": "期末采购总量",
  16665. "type": "number"
  16666. },
  16667. "curmarketvalue": {
  16668. "description": "参考市值",
  16669. "type": "number"
  16670. },
  16671. "curqty": {
  16672. "description": "期末量",
  16673. "type": "number"
  16674. },
  16675. "cursellamount": {
  16676. "description": "期末销售总额(销售额)",
  16677. "type": "number"
  16678. },
  16679. "cursellqty": {
  16680. "description": "期末销售总量",
  16681. "type": "number"
  16682. },
  16683. "curspotprice": {
  16684. "description": "参考市价",
  16685. "type": "number"
  16686. },
  16687. "enumdicname": {
  16688. "description": "现货商品单位名称",
  16689. "type": "string"
  16690. },
  16691. "floatpl": {
  16692. "description": "浮动损益",
  16693. "type": "number"
  16694. },
  16695. "gbenumdicname": {
  16696. "description": "品类单位名称",
  16697. "type": "string"
  16698. },
  16699. "gbunitid": {
  16700. "description": "品类单位id",
  16701. "type": "integer"
  16702. },
  16703. "modelname": {
  16704. "description": "品类名称",
  16705. "type": "string"
  16706. },
  16707. "oriamount": {
  16708. "description": "期初额",
  16709. "type": "number"
  16710. },
  16711. "oriaverageprice": {
  16712. "description": "期初均价",
  16713. "type": "number"
  16714. },
  16715. "oribuyamount": {
  16716. "description": "期初采购总额",
  16717. "type": "number"
  16718. },
  16719. "oribuyqty": {
  16720. "description": "期初采购总量",
  16721. "type": "number"
  16722. },
  16723. "oriqty": {
  16724. "description": "期初量",
  16725. "type": "number"
  16726. },
  16727. "orisellamount": {
  16728. "description": "期初销售总额",
  16729. "type": "number"
  16730. },
  16731. "orisellqty": {
  16732. "description": "期初销售总量",
  16733. "type": "number"
  16734. },
  16735. "spotgoodsbrandid": {
  16736. "description": "现货品牌ID",
  16737. "type": "integer"
  16738. },
  16739. "spotgoodsmodelid": {
  16740. "description": "现货品类ID",
  16741. "type": "integer"
  16742. },
  16743. "todaybuyamount": {
  16744. "description": "今日采购额",
  16745. "type": "number"
  16746. },
  16747. "todaybuyaverageprice": {
  16748. "description": "今日采购均价(采购均价)",
  16749. "type": "number"
  16750. },
  16751. "todaybuyqty": {
  16752. "description": "今日采购量(采购增量)",
  16753. "type": "number"
  16754. },
  16755. "todaysellamount": {
  16756. "description": "今日销售额",
  16757. "type": "number"
  16758. },
  16759. "todaysellaverageprice": {
  16760. "description": "今日销售均价(销售均价)",
  16761. "type": "number"
  16762. },
  16763. "todaysellqty": {
  16764. "description": "今日销售量(销售增量)",
  16765. "type": "number"
  16766. },
  16767. "unitid": {
  16768. "description": "现货商品单位id",
  16769. "type": "integer"
  16770. },
  16771. "updatetime": {
  16772. "description": "更新时间",
  16773. "type": "string"
  16774. },
  16775. "wrstandardcode": {
  16776. "description": "现货商品代码",
  16777. "type": "string"
  16778. },
  16779. "wrstandardid": {
  16780. "description": "现货商品ID",
  16781. "type": "integer"
  16782. },
  16783. "wrstandardname": {
  16784. "description": "现货商品名称",
  16785. "type": "string"
  16786. }
  16787. }
  16788. },
  16789. "models.ErmcpReportDayExposure": {
  16790. "type": "object",
  16791. "properties": {
  16792. "areauserid": {
  16793. "description": "所属机构",
  16794. "type": "integer"
  16795. },
  16796. "buyfutureqty": {
  16797. "description": "买入期货数量",
  16798. "type": "number"
  16799. },
  16800. "buyplanqty": {
  16801. "description": "采购计划数量",
  16802. "type": "number"
  16803. },
  16804. "buypricedqty": {
  16805. "description": "采购合同已定价数量",
  16806. "type": "number"
  16807. },
  16808. "diffFutuQty": {
  16809. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16810. "type": "number"
  16811. },
  16812. "diffSpotQty": {
  16813. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16814. "type": "number"
  16815. },
  16816. "enumdicname": {
  16817. "description": "单位名称",
  16818. "type": "string"
  16819. },
  16820. "middlegoodscode": {
  16821. "description": "套保品种代码",
  16822. "type": "string"
  16823. },
  16824. "middlegoodshedgeratio": {
  16825. "description": "应套保比例",
  16826. "type": "number"
  16827. },
  16828. "middlegoodsid": {
  16829. "description": "套保品种ID",
  16830. "type": "integer"
  16831. },
  16832. "middlegoodsname": {
  16833. "description": "套保品种名称",
  16834. "type": "string"
  16835. },
  16836. "needhedgeexposoure": {
  16837. "description": "应套保敞口",
  16838. "type": "number"
  16839. },
  16840. "needhedgeratio": {
  16841. "description": "应套保敞口比例",
  16842. "type": "number"
  16843. },
  16844. "oriTotalFutuQty": {
  16845. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16846. "type": "number"
  16847. },
  16848. "oriTotalSpotQty": {
  16849. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16850. "type": "number"
  16851. },
  16852. "oribuyfutureqty": {
  16853. "description": "期初买入期货数量",
  16854. "type": "number"
  16855. },
  16856. "oribuyplanqty": {
  16857. "description": "期初采购计划数量",
  16858. "type": "number"
  16859. },
  16860. "oribuypricedqty": {
  16861. "description": "期初采购合同已定价数量",
  16862. "type": "number"
  16863. },
  16864. "orisellfutureqty": {
  16865. "description": "期初卖出期货数量",
  16866. "type": "number"
  16867. },
  16868. "orisellplanqty": {
  16869. "description": "期初销售计划数量",
  16870. "type": "number"
  16871. },
  16872. "orisellpricedqty": {
  16873. "description": "期初销售合同已定价数量",
  16874. "type": "number"
  16875. },
  16876. "reckondate": {
  16877. "description": "日照时期(yyyyMMdd)",
  16878. "type": "string"
  16879. },
  16880. "sellfutureqty": {
  16881. "description": "卖出期货数量",
  16882. "type": "number"
  16883. },
  16884. "sellplanqty": {
  16885. "description": "销售计划数量",
  16886. "type": "number"
  16887. },
  16888. "sellpricedqty": {
  16889. "description": "销售合同已定价数量",
  16890. "type": "number"
  16891. },
  16892. "totalexposure": {
  16893. "description": "总敞口",
  16894. "type": "number"
  16895. },
  16896. "totalfutureqty": {
  16897. "description": "期货数量",
  16898. "type": "number"
  16899. },
  16900. "totalhedgeratio": {
  16901. "description": "敞口比例",
  16902. "type": "number"
  16903. },
  16904. "totalneedhedgeqty": {
  16905. "description": "期货应套保量",
  16906. "type": "number"
  16907. },
  16908. "totalspotqty": {
  16909. "description": "现货数量",
  16910. "type": "number"
  16911. }
  16912. }
  16913. },
  16914. "models.ErmcpReportDayFR": {
  16915. "type": "object",
  16916. "properties": {
  16917. "areauserid": {
  16918. "description": "所属机构",
  16919. "type": "integer"
  16920. },
  16921. "collectinvoiceamount": {
  16922. "description": "今日开票金额",
  16923. "type": "number"
  16924. },
  16925. "collectinvoicecount": {
  16926. "description": "今日开票笔数",
  16927. "type": "integer"
  16928. },
  16929. "collectmoneyamount": {
  16930. "description": "今日收款金额",
  16931. "type": "number"
  16932. },
  16933. "collectmoneycount": {
  16934. "description": "今日收款笔数",
  16935. "type": "integer"
  16936. },
  16937. "payinvoiceamount": {
  16938. "description": "今日收票金额",
  16939. "type": "number"
  16940. },
  16941. "payinvoicecount": {
  16942. "description": "今日收票笔数",
  16943. "type": "integer"
  16944. },
  16945. "paymoneyamount": {
  16946. "description": "今日付款金额",
  16947. "type": "number"
  16948. },
  16949. "paymoneycount": {
  16950. "description": "今日付款笔数",
  16951. "type": "integer"
  16952. },
  16953. "reckondate": {
  16954. "description": "日照时期(yyyyMMdd)",
  16955. "type": "string"
  16956. },
  16957. "updatetime": {
  16958. "description": "更新时间",
  16959. "type": "string"
  16960. }
  16961. }
  16962. },
  16963. "models.ErmcpReportDaySpot": {
  16964. "type": "object",
  16965. "properties": {
  16966. "areauserid": {
  16967. "description": "所属机构T",
  16968. "type": "integer"
  16969. },
  16970. "buyinqty": {
  16971. "description": "采购入库量",
  16972. "type": "number"
  16973. },
  16974. "enumdicname": {
  16975. "description": "现货商品单位名称",
  16976. "type": "string"
  16977. },
  16978. "reckondate": {
  16979. "description": "日照时期(yyyyMMdd)",
  16980. "type": "string"
  16981. },
  16982. "selloutqty": {
  16983. "description": "销售出库量",
  16984. "type": "number"
  16985. },
  16986. "todaybuyreckonqty": {
  16987. "description": "采购确定量",
  16988. "type": "number"
  16989. },
  16990. "todaysellreckonqty": {
  16991. "description": "销售确定量",
  16992. "type": "number"
  16993. },
  16994. "totalbuypricedqty": {
  16995. "description": "采购定价量 = 期末 - 期初",
  16996. "type": "number"
  16997. },
  16998. "totalsellpricedqty": {
  16999. "description": "销售定价量 = 期末 - 期初",
  17000. "type": "number"
  17001. },
  17002. "wrstandardcode": {
  17003. "description": "现货商品代码",
  17004. "type": "string"
  17005. },
  17006. "wrstandardid": {
  17007. "description": "现货商品ID",
  17008. "type": "integer"
  17009. },
  17010. "wrstandardname": {
  17011. "description": "现货商品名称",
  17012. "type": "string"
  17013. }
  17014. }
  17015. },
  17016. "models.ErmcpReportMonSpot": {
  17017. "type": "object",
  17018. "properties": {
  17019. "areauserid": {
  17020. "description": "所属机构T",
  17021. "type": "integer"
  17022. },
  17023. "buyinqty": {
  17024. "description": "采购入库量",
  17025. "type": "number"
  17026. },
  17027. "cycletime": {
  17028. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17029. "type": "string"
  17030. },
  17031. "cycletype": {
  17032. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17033. "type": "integer"
  17034. },
  17035. "enumdicname": {
  17036. "description": "现货商品单位名称",
  17037. "type": "string"
  17038. },
  17039. "selloutqty": {
  17040. "description": "销售出库量",
  17041. "type": "number"
  17042. },
  17043. "todaybuyreckonqty": {
  17044. "description": "采购确定量",
  17045. "type": "number"
  17046. },
  17047. "todaysellreckonqty": {
  17048. "description": "销售确定量",
  17049. "type": "number"
  17050. },
  17051. "totalbuypricedqty": {
  17052. "description": "采购定价量 = 期末 - 期初",
  17053. "type": "number"
  17054. },
  17055. "totalsellpricedqty": {
  17056. "description": "销售定价量 = 期末 - 期初",
  17057. "type": "number"
  17058. },
  17059. "wrstandardcode": {
  17060. "description": "现货商品代码",
  17061. "type": "string"
  17062. },
  17063. "wrstandardid": {
  17064. "description": "现货商品ID",
  17065. "type": "integer"
  17066. },
  17067. "wrstandardname": {
  17068. "description": "现货商品名称",
  17069. "type": "string"
  17070. }
  17071. }
  17072. },
  17073. "models.ErmcpReportMonthFR": {
  17074. "type": "object",
  17075. "properties": {
  17076. "areauserid": {
  17077. "description": "所属机构【原值】",
  17078. "type": "integer"
  17079. },
  17080. "collectinvoiceamount": {
  17081. "description": "今日开票金额【汇总】",
  17082. "type": "number"
  17083. },
  17084. "collectinvoicecount": {
  17085. "description": "今日开票笔数【汇总】",
  17086. "type": "integer"
  17087. },
  17088. "collectmoneyamount": {
  17089. "description": "今日收款金额【汇总】",
  17090. "type": "number"
  17091. },
  17092. "collectmoneycount": {
  17093. "description": "今日收款笔数 【汇总】",
  17094. "type": "integer"
  17095. },
  17096. "cycletime": {
  17097. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17098. "type": "string"
  17099. },
  17100. "cycletype": {
  17101. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17102. "type": "integer"
  17103. },
  17104. "dayFr": {
  17105. "description": "日报表明细",
  17106. "type": "array",
  17107. "items": {
  17108. "$ref": "#/definitions/models.ErmcpReportDayFR"
  17109. }
  17110. },
  17111. "payinvoiceamount": {
  17112. "description": "今日收票金额【汇总】",
  17113. "type": "number"
  17114. },
  17115. "payinvoicecount": {
  17116. "description": "今日收票笔数【汇总】",
  17117. "type": "integer"
  17118. },
  17119. "paymoneyamount": {
  17120. "description": "今日付款金额【汇总】",
  17121. "type": "number"
  17122. },
  17123. "paymoneycount": {
  17124. "description": "今日付款笔数【汇总】",
  17125. "type": "integer"
  17126. },
  17127. "updatetime": {
  17128. "description": "更新时间",
  17129. "type": "string"
  17130. }
  17131. }
  17132. },
  17133. "models.ErmcpReportOPLog": {
  17134. "type": "object",
  17135. "properties": {
  17136. "applyid": {
  17137. "description": "操作人",
  17138. "type": "integer"
  17139. },
  17140. "applyname": {
  17141. "description": "操作人名称",
  17142. "type": "string"
  17143. },
  17144. "biztype": {
  17145. "description": "业务类型 - 1:套保计划 2:现货合同",
  17146. "type": "integer"
  17147. },
  17148. "brandname": {
  17149. "description": "品牌名称",
  17150. "type": "string"
  17151. },
  17152. "contracttype": {
  17153. "description": "现货合同类型 - 1:采购 -1:销售",
  17154. "type": "integer"
  17155. },
  17156. "enumdicName": {
  17157. "description": "单位名称",
  17158. "type": "string"
  17159. },
  17160. "logdatetime": {
  17161. "description": "流水日期(时间)",
  17162. "type": "string"
  17163. },
  17164. "logid": {
  17165. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  17166. "type": "string"
  17167. },
  17168. "logtypename": {
  17169. "description": "合同类型(名称)",
  17170. "type": "string"
  17171. },
  17172. "logvalue": {
  17173. "description": "数值",
  17174. "type": "string"
  17175. },
  17176. "modelname": {
  17177. "description": "型号名称",
  17178. "type": "string"
  17179. },
  17180. "operatelogtype": {
  17181. "description": "操作流水类型 -",
  17182. "type": "integer"
  17183. },
  17184. "optypename": {
  17185. "description": "流水类型名称",
  17186. "type": "string"
  17187. },
  17188. "relatedid": {
  17189. "description": "现货合同ID\\套保计划",
  17190. "type": "string"
  17191. },
  17192. "relatedno": {
  17193. "description": "合同编号",
  17194. "type": "string"
  17195. },
  17196. "tradedate": {
  17197. "description": "交易日(yyyyMMdd)",
  17198. "type": "string"
  17199. },
  17200. "userid": {
  17201. "description": "机构ID",
  17202. "type": "integer"
  17203. },
  17204. "wrstandardcode": {
  17205. "description": "现货商品代码",
  17206. "type": "string"
  17207. },
  17208. "wrstandardid": {
  17209. "description": "现货商品ID",
  17210. "type": "integer"
  17211. },
  17212. "wrstandardname": {
  17213. "description": "现货商品名称",
  17214. "type": "string"
  17215. }
  17216. }
  17217. },
  17218. "models.ErmcpRole": {
  17219. "type": "object",
  17220. "properties": {
  17221. "areauserid": {
  17222. "description": "所属机构",
  17223. "type": "integer"
  17224. },
  17225. "autoid": {
  17226. "description": "角色ID(自增ID)",
  17227. "type": "integer"
  17228. },
  17229. "modifierid": {
  17230. "description": "修改人(创建人)",
  17231. "type": "integer"
  17232. },
  17233. "modifiername": {
  17234. "description": "修改人名称",
  17235. "type": "string"
  17236. },
  17237. "modifytime": {
  17238. "description": "修改时间(创建时间)",
  17239. "type": "string"
  17240. },
  17241. "rolename": {
  17242. "description": "角色名称",
  17243. "type": "string"
  17244. },
  17245. "rolestatus": {
  17246. "description": "角色状态 - 1:启用 2:停用",
  17247. "type": "integer"
  17248. },
  17249. "roletype": {
  17250. "description": "角色类型 - 1- 管理端 2- 交易端",
  17251. "type": "integer"
  17252. }
  17253. }
  17254. },
  17255. "models.ErmcpRoleMenu": {
  17256. "type": "object",
  17257. "properties": {
  17258. "iconame": {
  17259. "description": "菜单图标",
  17260. "type": "string"
  17261. },
  17262. "menutype": {
  17263. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17264. "type": "integer"
  17265. },
  17266. "parentcode": {
  17267. "description": "上级资源代码",
  17268. "type": "string"
  17269. },
  17270. "remark": {
  17271. "description": "菜单备注",
  17272. "type": "string"
  17273. },
  17274. "resourcecode": {
  17275. "description": "菜单代码",
  17276. "type": "string"
  17277. },
  17278. "resourcelevel": {
  17279. "description": "级别",
  17280. "type": "integer"
  17281. },
  17282. "resourcename": {
  17283. "description": "菜单名称",
  17284. "type": "string"
  17285. },
  17286. "roleid": {
  17287. "description": "角色id",
  17288. "type": "integer"
  17289. },
  17290. "sort": {
  17291. "description": "排序",
  17292. "type": "integer"
  17293. },
  17294. "url": {
  17295. "description": "URL",
  17296. "type": "string"
  17297. },
  17298. "userid": {
  17299. "description": "用户id",
  17300. "type": "integer"
  17301. }
  17302. }
  17303. },
  17304. "models.ErmcpRoleMenuEx": {
  17305. "type": "object",
  17306. "properties": {
  17307. "menu": {
  17308. "description": "父级菜单",
  17309. "type": "object",
  17310. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17311. },
  17312. "subMenu": {
  17313. "description": "子级菜单",
  17314. "type": "array",
  17315. "items": {
  17316. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17317. }
  17318. }
  17319. }
  17320. },
  17321. "models.ErmcpSpotContractModel": {
  17322. "type": "object",
  17323. "properties": {
  17324. "amount": {
  17325. "description": "金额 [1:一口价、3:暂定价]",
  17326. "type": "number"
  17327. },
  17328. "attachment": {
  17329. "description": "附件",
  17330. "type": "string"
  17331. },
  17332. "auditremark": {
  17333. "description": "审核意见",
  17334. "type": "string"
  17335. },
  17336. "audittime": {
  17337. "description": "审核时间",
  17338. "type": "string"
  17339. },
  17340. "brandname": {
  17341. "description": "品牌名称",
  17342. "type": "string"
  17343. },
  17344. "buyuserid": {
  17345. "description": "采购方ID",
  17346. "type": "integer"
  17347. },
  17348. "buyusername": {
  17349. "description": "采购方名称",
  17350. "type": "string"
  17351. },
  17352. "contracctstatus": {
  17353. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17354. "type": "integer"
  17355. },
  17356. "contractmargin": {
  17357. "description": "合同保证金",
  17358. "type": "number"
  17359. },
  17360. "contractno": {
  17361. "description": "现货合同编号",
  17362. "type": "string"
  17363. },
  17364. "contracttype": {
  17365. "description": "现货合同类型 - 1:采购 -1:销售",
  17366. "type": "integer"
  17367. },
  17368. "convertfactor": {
  17369. "description": "标仓系数",
  17370. "type": "number"
  17371. },
  17372. "createtime": {
  17373. "description": "创建时间",
  17374. "type": "string"
  17375. },
  17376. "deliveryenddate": {
  17377. "description": "交收期(结束)",
  17378. "type": "string"
  17379. },
  17380. "deliverygoodscode": {
  17381. "description": "现货品种代码",
  17382. "type": "string"
  17383. },
  17384. "deliverygoodsid": {
  17385. "description": "现货品种ID",
  17386. "type": "integer"
  17387. },
  17388. "deliverygoodsname": {
  17389. "description": "现货品种名称",
  17390. "type": "string"
  17391. },
  17392. "deliverystartdate": {
  17393. "description": "交收期(开始)",
  17394. "type": "string"
  17395. },
  17396. "enddate": {
  17397. "description": "点价结束日期 [2:点价 3:暂定价]",
  17398. "type": "string"
  17399. },
  17400. "enumdicname": {
  17401. "description": "单位名称",
  17402. "type": "string"
  17403. },
  17404. "goodscode": {
  17405. "description": "点价合约代码",
  17406. "type": "string"
  17407. },
  17408. "goodsid": {
  17409. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17410. "type": "integer"
  17411. },
  17412. "goodsname": {
  17413. "description": "点价商品名称",
  17414. "type": "string"
  17415. },
  17416. "margin": {
  17417. "description": "当前保证金",
  17418. "type": "number"
  17419. },
  17420. "modelname": {
  17421. "description": "型号名称",
  17422. "type": "string"
  17423. },
  17424. "price": {
  17425. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17426. "type": "number"
  17427. },
  17428. "pricemove": {
  17429. "description": "升贴水 [2:点价 3:暂定价]",
  17430. "type": "number"
  17431. },
  17432. "pricetype": {
  17433. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17434. "type": "integer"
  17435. },
  17436. "producttype": {
  17437. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17438. "type": "integer"
  17439. },
  17440. "qty": {
  17441. "description": "数量",
  17442. "type": "number"
  17443. },
  17444. "remark": {
  17445. "description": "备注",
  17446. "type": "string"
  17447. },
  17448. "selluserid": {
  17449. "description": "销售方ID",
  17450. "type": "integer"
  17451. },
  17452. "sellusername": {
  17453. "description": "销售方名称",
  17454. "type": "string"
  17455. },
  17456. "spotcontractid": {
  17457. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17458. "type": "string"
  17459. },
  17460. "spotgoodsbrandid": {
  17461. "description": "现货品牌ID",
  17462. "type": "integer"
  17463. },
  17464. "spotgoodsdesc": {
  17465. "description": "商品型号",
  17466. "type": "string"
  17467. },
  17468. "spotgoodsmodelid": {
  17469. "description": "现货型号ID",
  17470. "type": "integer"
  17471. },
  17472. "startdate": {
  17473. "description": "点价开始日期 [2:点价 3:暂定价]",
  17474. "type": "string"
  17475. },
  17476. "updatetime": {
  17477. "description": "更新时间",
  17478. "type": "string"
  17479. },
  17480. "userid": {
  17481. "description": "机构ID",
  17482. "type": "integer"
  17483. },
  17484. "wrstandardcode": {
  17485. "description": "现货商品代码",
  17486. "type": "string"
  17487. },
  17488. "wrstandardid": {
  17489. "description": "现货商品ID",
  17490. "type": "integer"
  17491. },
  17492. "wrstandardname": {
  17493. "description": "现货商品名称",
  17494. "type": "string"
  17495. }
  17496. }
  17497. },
  17498. "models.ErmcpSpotGoodsPrice": {
  17499. "type": "object",
  17500. "properties": {
  17501. "areauserid": {
  17502. "description": "所属机构id",
  17503. "type": "integer"
  17504. },
  17505. "brandname": {
  17506. "description": "品牌名称",
  17507. "type": "string"
  17508. },
  17509. "currencyid": {
  17510. "description": "报价货币ID",
  17511. "type": "integer"
  17512. },
  17513. "enumdicname": {
  17514. "description": "现货商品单位名称",
  17515. "type": "string"
  17516. },
  17517. "gbenumdicname": {
  17518. "description": "品类单位名称",
  17519. "type": "string"
  17520. },
  17521. "gmunitid": {
  17522. "description": "品类单位id",
  17523. "type": "integer"
  17524. },
  17525. "isvalid": {
  17526. "description": "是否有效 - 0:无效 1:有效",
  17527. "type": "integer"
  17528. },
  17529. "modelname": {
  17530. "description": "品类名称",
  17531. "type": "string"
  17532. },
  17533. "operateid": {
  17534. "description": "最后操作人",
  17535. "type": "integer"
  17536. },
  17537. "operatesrc": {
  17538. "description": "最后操作来源 - 1:管理端 2:终端",
  17539. "type": "integer"
  17540. },
  17541. "operatetime": {
  17542. "description": "最后操作时间",
  17543. "type": "string"
  17544. },
  17545. "operatorname": {
  17546. "description": "操作人名称",
  17547. "type": "string"
  17548. },
  17549. "spotgoodsbrandid": {
  17550. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17551. "type": "integer"
  17552. },
  17553. "spotgoodsmodelid": {
  17554. "description": "现货品类ID(通用则为0)",
  17555. "type": "integer"
  17556. },
  17557. "spotgoodsprice": {
  17558. "description": "现货价格",
  17559. "type": "number"
  17560. },
  17561. "tradedate": {
  17562. "description": "交易日(yyyyMMdd)",
  17563. "type": "string"
  17564. },
  17565. "unitid": {
  17566. "description": "现货商品单位id",
  17567. "type": "integer"
  17568. },
  17569. "wrstandardcode": {
  17570. "description": "现货商品代码",
  17571. "type": "string"
  17572. },
  17573. "wrstandardid": {
  17574. "description": "现货商品ID",
  17575. "type": "integer"
  17576. },
  17577. "wrstandardname": {
  17578. "description": "现货商品名称",
  17579. "type": "string"
  17580. }
  17581. }
  17582. },
  17583. "models.ErmcpSpotGoodsPriceLog": {
  17584. "type": "object",
  17585. "properties": {
  17586. "areauserid": {
  17587. "description": "所属机构id",
  17588. "type": "integer"
  17589. },
  17590. "brandname": {
  17591. "description": "品牌名称",
  17592. "type": "string"
  17593. },
  17594. "currencyid": {
  17595. "description": "报价货币ID",
  17596. "type": "integer"
  17597. },
  17598. "enumdicname": {
  17599. "description": "现货商品单位名称",
  17600. "type": "string"
  17601. },
  17602. "gbenumdicname": {
  17603. "description": "品类单位名称",
  17604. "type": "string"
  17605. },
  17606. "gmunitid": {
  17607. "description": "品类单位id",
  17608. "type": "integer"
  17609. },
  17610. "logid": {
  17611. "description": "日志id",
  17612. "type": "integer"
  17613. },
  17614. "modelname": {
  17615. "description": "品类名称",
  17616. "type": "string"
  17617. },
  17618. "operateid": {
  17619. "description": "最后操作人",
  17620. "type": "integer"
  17621. },
  17622. "operatesrc": {
  17623. "description": "最后操作来源 - 1:管理端 2:终端",
  17624. "type": "integer"
  17625. },
  17626. "operatetime": {
  17627. "description": "最后操作时间",
  17628. "type": "string"
  17629. },
  17630. "operatorname": {
  17631. "description": "操作人名称",
  17632. "type": "string"
  17633. },
  17634. "spotgoodsbrandid": {
  17635. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17636. "type": "integer"
  17637. },
  17638. "spotgoodsmodelid": {
  17639. "description": "现货品类ID(通用则为0)",
  17640. "type": "integer"
  17641. },
  17642. "spotgoodsprice": {
  17643. "description": "现货价格",
  17644. "type": "number"
  17645. },
  17646. "tradedate": {
  17647. "description": "交易日(yyyyMMdd)",
  17648. "type": "string"
  17649. },
  17650. "unitid": {
  17651. "description": "现货商品单位id",
  17652. "type": "integer"
  17653. },
  17654. "wrstandardcode": {
  17655. "description": "现货商品代码",
  17656. "type": "string"
  17657. },
  17658. "wrstandardid": {
  17659. "description": "现货商品ID",
  17660. "type": "integer"
  17661. },
  17662. "wrstandardname": {
  17663. "description": "现货商品名称",
  17664. "type": "string"
  17665. }
  17666. }
  17667. },
  17668. "models.ErmcpTaAccount": {
  17669. "type": "object",
  17670. "properties": {
  17671. "accountid": {
  17672. "description": "账户id",
  17673. "type": "integer"
  17674. },
  17675. "accountname": {
  17676. "description": "账户名称",
  17677. "type": "string"
  17678. },
  17679. "currencyid": {
  17680. "description": "币种id",
  17681. "type": "integer"
  17682. },
  17683. "ismain": {
  17684. "description": "是否主账户 0-否 1-是",
  17685. "type": "integer"
  17686. },
  17687. "parentaccountid": {
  17688. "description": "父账户id",
  17689. "type": "integer"
  17690. },
  17691. "relateduserid": {
  17692. "description": "关联userid",
  17693. "type": "integer"
  17694. },
  17695. "tradestatus": {
  17696. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17697. "type": "integer"
  17698. }
  17699. }
  17700. },
  17701. "models.ErmcpTaAccountEx": {
  17702. "type": "object",
  17703. "properties": {
  17704. "mainAcc": {
  17705. "description": "主账号",
  17706. "type": "object",
  17707. "$ref": "#/definitions/models.ErmcpTaAccount"
  17708. },
  17709. "subacclist": {
  17710. "description": "子账号列表",
  17711. "type": "array",
  17712. "items": {
  17713. "$ref": "#/definitions/models.ErmcpTaAccount"
  17714. }
  17715. }
  17716. }
  17717. },
  17718. "models.ErmcpTaAccountInfo": {
  17719. "type": "object",
  17720. "properties": {
  17721. "accountid": {
  17722. "description": "资金账户ID",
  17723. "type": "integer"
  17724. },
  17725. "accountname": {
  17726. "description": "账户名称",
  17727. "type": "string"
  17728. },
  17729. "balance": {
  17730. "description": "期初余额",
  17731. "type": "number"
  17732. },
  17733. "capitalbalance": {
  17734. "description": "本金余额[外部子账户实际出入金余额]",
  17735. "type": "number"
  17736. },
  17737. "closepl": {
  17738. "description": "今日平仓盈亏",
  17739. "type": "number"
  17740. },
  17741. "creditdecrease": {
  17742. "description": "今日授信减少",
  17743. "type": "number"
  17744. },
  17745. "creditincrease": {
  17746. "description": "今日授信增加",
  17747. "type": "number"
  17748. },
  17749. "curdebt": {
  17750. "description": "期末欠款",
  17751. "type": "number"
  17752. },
  17753. "currencyid": {
  17754. "description": "货币ID",
  17755. "type": "integer"
  17756. },
  17757. "currentbalance": {
  17758. "description": "期末余额",
  17759. "type": "number"
  17760. },
  17761. "freezecharge": {
  17762. "description": "手续费冻结",
  17763. "type": "number"
  17764. },
  17765. "freezemargin": {
  17766. "description": "冻结保证金",
  17767. "type": "number"
  17768. },
  17769. "fromaccountid": {
  17770. "description": "所属上级账户",
  17771. "type": "integer"
  17772. },
  17773. "inamount": {
  17774. "description": "今日入金金额(包括三方入金)",
  17775. "type": "number"
  17776. },
  17777. "ismain": {
  17778. "description": "是否母账号 0:不是母账户 1:是母账户",
  17779. "type": "integer"
  17780. },
  17781. "mortgagecredit": {
  17782. "description": "授信金额",
  17783. "type": "number"
  17784. },
  17785. "oridebt": {
  17786. "description": "期初欠款",
  17787. "type": "number"
  17788. },
  17789. "orifreezecharge": {
  17790. "description": "期初手续费冻结",
  17791. "type": "number"
  17792. },
  17793. "orifreezemargin": {
  17794. "description": "期初冻结保证金",
  17795. "type": "number"
  17796. },
  17797. "orimortgagecredit": {
  17798. "description": "期初授信金额",
  17799. "type": "number"
  17800. },
  17801. "oriothercredit": {
  17802. "description": "期初其它授信金额",
  17803. "type": "number"
  17804. },
  17805. "oriotherfreezemargin": {
  17806. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17807. "type": "number"
  17808. },
  17809. "orioutamountfreeze": {
  17810. "description": "期初出金冻结",
  17811. "type": "number"
  17812. },
  17813. "oriusedmargin": {
  17814. "description": "期初占用保证金",
  17815. "type": "number"
  17816. },
  17817. "othercredit": {
  17818. "description": "其它授信金额",
  17819. "type": "number"
  17820. },
  17821. "othercreditdecrease": {
  17822. "description": "今日其它授信减少",
  17823. "type": "number"
  17824. },
  17825. "othercreditincrease": {
  17826. "description": "今日其它授信增加",
  17827. "type": "number"
  17828. },
  17829. "otherfreezemargin": {
  17830. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17831. "type": "number"
  17832. },
  17833. "outamount": {
  17834. "description": "今日出金金额(包括三方出金)",
  17835. "type": "number"
  17836. },
  17837. "outamountfreeze": {
  17838. "description": "出金冻结",
  17839. "type": "number"
  17840. },
  17841. "outthreshold": {
  17842. "description": "出金阈值",
  17843. "type": "number"
  17844. },
  17845. "parentaccountid": {
  17846. "description": "所属根账号",
  17847. "type": "integer"
  17848. },
  17849. "paycharge": {
  17850. "description": "今日手续费支出",
  17851. "type": "number"
  17852. },
  17853. "relateduserid": {
  17854. "description": "关联用户",
  17855. "type": "integer"
  17856. },
  17857. "signstatus": {
  17858. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17859. "type": "integer"
  17860. },
  17861. "sublevelpath": {
  17862. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17863. "type": "string"
  17864. },
  17865. "taaccounttype": {
  17866. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17867. "type": "integer"
  17868. },
  17869. "thirdinamount": {
  17870. "description": "今日三方入金",
  17871. "type": "number"
  17872. },
  17873. "thirdoutamount": {
  17874. "description": "今日三方出金",
  17875. "type": "number"
  17876. },
  17877. "tradestatus": {
  17878. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17879. "type": "integer"
  17880. },
  17881. "transferamount": {
  17882. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17883. "type": "number"
  17884. },
  17885. "usedmargin": {
  17886. "description": "占用保证金",
  17887. "type": "number"
  17888. },
  17889. "userid": {
  17890. "description": "用户ID",
  17891. "type": "integer"
  17892. }
  17893. }
  17894. },
  17895. "models.ErmcpTradeConfigTMP": {
  17896. "type": "object",
  17897. "properties": {
  17898. "areauserid": {
  17899. "description": "所属机构",
  17900. "type": "integer"
  17901. },
  17902. "basiccurrencyid": {
  17903. "description": "基本币种ID[汇率] - 目标币种",
  17904. "type": "integer"
  17905. },
  17906. "mainaccountid": {
  17907. "description": "主账户ID",
  17908. "type": "integer"
  17909. },
  17910. "modifierid": {
  17911. "description": "修改人",
  17912. "type": "integer"
  17913. },
  17914. "remark": {
  17915. "description": "备注",
  17916. "type": "string"
  17917. },
  17918. "tradeconfigtmpid": {
  17919. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17920. "type": "integer"
  17921. },
  17922. "tradeconfigtmpname": {
  17923. "description": "交易配置模板名称",
  17924. "type": "string"
  17925. },
  17926. "tradeconfigtmptype": {
  17927. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17928. "type": "integer"
  17929. },
  17930. "updatetime": {
  17931. "description": "更新时间",
  17932. "type": "string"
  17933. }
  17934. }
  17935. },
  17936. "models.ErmcpUserModel": {
  17937. "type": "object",
  17938. "properties": {
  17939. "address": {
  17940. "description": "通讯地址",
  17941. "type": "string"
  17942. },
  17943. "attachment1": {
  17944. "description": "附件1",
  17945. "type": "string"
  17946. },
  17947. "audittime": {
  17948. "description": "审核时间",
  17949. "type": "string"
  17950. },
  17951. "cardfrontphotourl": {
  17952. "description": "证件正面图片地址",
  17953. "type": "string"
  17954. },
  17955. "cardnum": {
  17956. "description": "证件号码",
  17957. "type": "string"
  17958. },
  17959. "cardtype": {
  17960. "description": "证件类型",
  17961. "type": "integer"
  17962. },
  17963. "cardtypename": {
  17964. "description": "证件类型名称",
  17965. "type": "string"
  17966. },
  17967. "cityid": {
  17968. "description": "市",
  17969. "type": "integer"
  17970. },
  17971. "contactname": {
  17972. "description": "联系人",
  17973. "type": "string"
  17974. },
  17975. "countryid": {
  17976. "description": "国家",
  17977. "type": "integer"
  17978. },
  17979. "createtime": {
  17980. "description": "创建时间",
  17981. "type": "string"
  17982. },
  17983. "customername": {
  17984. "description": "企业名称",
  17985. "type": "string"
  17986. },
  17987. "districtid": {
  17988. "description": "区域",
  17989. "type": "integer"
  17990. },
  17991. "legalpersonname": {
  17992. "description": "法人姓名(企业)",
  17993. "type": "string"
  17994. },
  17995. "memberuserid": {
  17996. "description": "所属机构ID",
  17997. "type": "integer"
  17998. },
  17999. "mobile": {
  18000. "description": "手机号码",
  18001. "type": "string"
  18002. },
  18003. "modifytime": {
  18004. "description": "修改时间",
  18005. "type": "string"
  18006. },
  18007. "nickname": {
  18008. "description": "昵称",
  18009. "type": "string"
  18010. },
  18011. "provinceid": {
  18012. "description": "省",
  18013. "type": "integer"
  18014. },
  18015. "remark": {
  18016. "description": "备注",
  18017. "type": "string"
  18018. },
  18019. "status": {
  18020. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18021. "type": "integer"
  18022. },
  18023. "statusdesc": {
  18024. "description": "账户状态中文描述",
  18025. "type": "string"
  18026. },
  18027. "taxpayernum": {
  18028. "description": "纳税人识别号",
  18029. "type": "string"
  18030. },
  18031. "telphone": {
  18032. "description": "联系电话",
  18033. "type": "string"
  18034. },
  18035. "userid": {
  18036. "description": "用户ID",
  18037. "type": "integer"
  18038. },
  18039. "userinfotype": {
  18040. "description": "客户类型",
  18041. "type": "string"
  18042. }
  18043. }
  18044. },
  18045. "models.ErmcpWareHouseInfo": {
  18046. "type": "object",
  18047. "properties": {
  18048. "address": {
  18049. "description": "详细地址",
  18050. "type": "string"
  18051. },
  18052. "areauserid": {
  18053. "description": "所属机构",
  18054. "type": "integer"
  18055. },
  18056. "autoid": {
  18057. "description": "自增ID(仓库ID)",
  18058. "type": "integer"
  18059. },
  18060. "cityid": {
  18061. "description": "市",
  18062. "type": "integer"
  18063. },
  18064. "contactname": {
  18065. "description": "联系人",
  18066. "type": "string"
  18067. },
  18068. "contactnum": {
  18069. "description": "联系电话",
  18070. "type": "string"
  18071. },
  18072. "countryid": {
  18073. "description": "国家",
  18074. "type": "integer"
  18075. },
  18076. "createtime": {
  18077. "description": "创建时间",
  18078. "type": "string"
  18079. },
  18080. "districtid": {
  18081. "description": "区",
  18082. "type": "integer"
  18083. },
  18084. "hasvideo": {
  18085. "description": "是否有视频 - 0:无 1:有",
  18086. "type": "integer"
  18087. },
  18088. "provinceid": {
  18089. "description": "省",
  18090. "type": "integer"
  18091. },
  18092. "remark": {
  18093. "description": "审核备注",
  18094. "type": "string"
  18095. },
  18096. "videourl": {
  18097. "description": "视频地址",
  18098. "type": "string"
  18099. },
  18100. "warehousecode": {
  18101. "description": "仓库代码",
  18102. "type": "string"
  18103. },
  18104. "warehousename": {
  18105. "description": "仓库名称",
  18106. "type": "string"
  18107. },
  18108. "warehousestatus": {
  18109. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18110. "type": "integer"
  18111. },
  18112. "warehousetype": {
  18113. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18114. "type": "integer"
  18115. }
  18116. }
  18117. },
  18118. "models.ErmcpWrstandDetail": {
  18119. "type": "object",
  18120. "properties": {
  18121. "gbList": {
  18122. "description": "品牌列表",
  18123. "type": "array",
  18124. "items": {
  18125. "$ref": "#/definitions/models.GoodsBrand"
  18126. }
  18127. },
  18128. "goodsList": {
  18129. "description": "关联交易商品列表",
  18130. "type": "array",
  18131. "items": {
  18132. "$ref": "#/definitions/models.RelatedGoodsEx"
  18133. }
  18134. },
  18135. "gtList": {
  18136. "description": "型号列表",
  18137. "type": "array",
  18138. "items": {
  18139. "$ref": "#/definitions/models.GoodsTypeModel"
  18140. }
  18141. },
  18142. "wrd": {
  18143. "description": "基本信息",
  18144. "type": "object",
  18145. "$ref": "#/definitions/models.ErmcpWrstandard"
  18146. },
  18147. "wrsList": {
  18148. "description": "套保信息列表",
  18149. "type": "array",
  18150. "items": {
  18151. "$ref": "#/definitions/models.WRSConverTDetail"
  18152. }
  18153. }
  18154. }
  18155. },
  18156. "models.ErmcpWrstandard": {
  18157. "type": "object",
  18158. "properties": {
  18159. "areauserid": {
  18160. "description": "所属机构",
  18161. "type": "integer"
  18162. },
  18163. "createtime": {
  18164. "description": "创建时间",
  18165. "type": "string"
  18166. },
  18167. "creatorid": {
  18168. "description": "创建人",
  18169. "type": "integer"
  18170. },
  18171. "deliverygoodsid": {
  18172. "description": "品种ID",
  18173. "type": "integer"
  18174. },
  18175. "enumdicname": {
  18176. "description": "单位名称",
  18177. "type": "string"
  18178. },
  18179. "isvalid": {
  18180. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18181. "type": "integer"
  18182. },
  18183. "minivalue": {
  18184. "description": "最小变动值",
  18185. "type": "integer"
  18186. },
  18187. "minivaluedp": {
  18188. "description": "最小变动值小数位",
  18189. "type": "integer"
  18190. },
  18191. "realminivalue": {
  18192. "description": "实际最小变动值",
  18193. "type": "integer"
  18194. },
  18195. "realminivaluedp": {
  18196. "description": "实际最小变动值小数位",
  18197. "type": "integer"
  18198. },
  18199. "remark": {
  18200. "description": "备注",
  18201. "type": "string"
  18202. },
  18203. "unitid": {
  18204. "description": "单位ID",
  18205. "type": "integer"
  18206. },
  18207. "updatetime": {
  18208. "description": "更新时间",
  18209. "type": "string"
  18210. },
  18211. "wrstandardcode": {
  18212. "description": "现货商品代码",
  18213. "type": "string"
  18214. },
  18215. "wrstandardid": {
  18216. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18217. "type": "integer"
  18218. },
  18219. "wrstandardname": {
  18220. "description": "现货商品名称",
  18221. "type": "string"
  18222. }
  18223. }
  18224. },
  18225. "models.Externalexchange": {
  18226. "type": "object",
  18227. "required": [
  18228. "autoid"
  18229. ],
  18230. "properties": {
  18231. "autoid": {
  18232. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18233. "type": "integer"
  18234. },
  18235. "exchangefullname": {
  18236. "description": "外部交易所全称",
  18237. "type": "string"
  18238. },
  18239. "exexchangecode": {
  18240. "description": "外部交易所代码",
  18241. "type": "string"
  18242. },
  18243. "exexchangename": {
  18244. "description": "外部交易所名称(简称)",
  18245. "type": "string"
  18246. },
  18247. "ismarketprice": {
  18248. "description": "是否支持市价 - 0:不支持 1:支持",
  18249. "type": "integer"
  18250. },
  18251. "quotegear": {
  18252. "description": "行情档位(1-10)",
  18253. "type": "integer"
  18254. },
  18255. "showbrokerflag": {
  18256. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18257. "type": "integer"
  18258. },
  18259. "updatetime": {
  18260. "description": "更新时间",
  18261. "type": "string"
  18262. }
  18263. }
  18264. },
  18265. "models.Funcmenulist": {
  18266. "type": "object",
  18267. "required": [
  18268. "resourcecode"
  18269. ],
  18270. "properties": {
  18271. "iconame": {
  18272. "description": "菜单图标",
  18273. "type": "string"
  18274. },
  18275. "menutype": {
  18276. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18277. "type": "integer"
  18278. },
  18279. "parentcode": {
  18280. "description": "上级资源代码",
  18281. "type": "string"
  18282. },
  18283. "remark": {
  18284. "description": "备注",
  18285. "type": "string"
  18286. },
  18287. "resourcecode": {
  18288. "description": "资源代码",
  18289. "type": "string"
  18290. },
  18291. "resourcelevel": {
  18292. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18293. "type": "integer"
  18294. },
  18295. "resourcename": {
  18296. "description": "资源名",
  18297. "type": "string"
  18298. },
  18299. "sort": {
  18300. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18301. "type": "integer"
  18302. },
  18303. "url": {
  18304. "description": "URL",
  18305. "type": "string"
  18306. }
  18307. }
  18308. },
  18309. "models.Goods": {
  18310. "type": "object",
  18311. "required": [
  18312. "goodscode",
  18313. "goodsid",
  18314. "goodsname",
  18315. "marketid"
  18316. ],
  18317. "properties": {
  18318. "agreeunit": {
  18319. "description": "合约单位",
  18320. "type": "number"
  18321. },
  18322. "auditaccountid": {
  18323. "description": "审核操作员账号",
  18324. "type": "integer"
  18325. },
  18326. "audittime": {
  18327. "description": "审核时间",
  18328. "type": "string"
  18329. },
  18330. "cancelaccountid": {
  18331. "description": "注销操作员账号",
  18332. "type": "integer"
  18333. },
  18334. "canceltime": {
  18335. "description": "注销时间",
  18336. "type": "string"
  18337. },
  18338. "closepricemode": {
  18339. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18340. "type": "integer"
  18341. },
  18342. "closepriceparam": {
  18343. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18344. "type": "number"
  18345. },
  18346. "createtime": {
  18347. "description": "创建时间",
  18348. "type": "string"
  18349. },
  18350. "creatorid": {
  18351. "description": "创建人",
  18352. "type": "integer"
  18353. },
  18354. "currencyid": {
  18355. "description": "报价货币ID",
  18356. "type": "integer"
  18357. },
  18358. "cutmode": {
  18359. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18360. "type": "integer"
  18361. },
  18362. "decimalplace": {
  18363. "description": "报价小数位",
  18364. "type": "integer"
  18365. },
  18366. "delistingdate": {
  18367. "description": "商品退市时间(状态:退市) -- 已作废",
  18368. "type": "string"
  18369. },
  18370. "delistingmode": {
  18371. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18372. "type": "integer"
  18373. },
  18374. "deliveryflag": {
  18375. "description": "交割标志 - 0:不可交割 1:可交割",
  18376. "type": "integer"
  18377. },
  18378. "forceclosemode": {
  18379. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18380. "type": "integer"
  18381. },
  18382. "forceclosevalue": {
  18383. "description": "定期强平参数 [收益权]",
  18384. "type": "integer"
  18385. },
  18386. "goodscode": {
  18387. "description": "商品代码(内部)",
  18388. "type": "string"
  18389. },
  18390. "goodscurrencyid": {
  18391. "description": "合约货币ID",
  18392. "type": "integer"
  18393. },
  18394. "goodsgroupid": {
  18395. "description": "所属商品组ID",
  18396. "type": "integer"
  18397. },
  18398. "goodsid": {
  18399. "description": "商品ID(自增ID SEQ_GOODS)",
  18400. "type": "integer"
  18401. },
  18402. "goodsname": {
  18403. "description": "商品名称",
  18404. "type": "string"
  18405. },
  18406. "goodsquotetype": {
  18407. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18408. "type": "integer"
  18409. },
  18410. "goodsstatus": {
  18411. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18412. "type": "integer"
  18413. },
  18414. "goodstradetype": {
  18415. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18416. "type": "integer"
  18417. },
  18418. "goodunitid": {
  18419. "description": "报价单位ID",
  18420. "type": "integer"
  18421. },
  18422. "hasquoter": {
  18423. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18424. "type": "integer"
  18425. },
  18426. "hqprotecttime": {
  18427. "description": "行情保护时间(秒)",
  18428. "type": "integer"
  18429. },
  18430. "innerdealmode": {
  18431. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18432. "type": "integer"
  18433. },
  18434. "isbuylimited": {
  18435. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18436. "type": "integer"
  18437. },
  18438. "lasttradedate": {
  18439. "description": "最后交易日期(状态:待退市)",
  18440. "type": "string"
  18441. },
  18442. "listingdate": {
  18443. "description": "交易开始日期",
  18444. "type": "string"
  18445. },
  18446. "marketid": {
  18447. "description": "所属市场ID",
  18448. "type": "integer"
  18449. },
  18450. "modifierid": {
  18451. "description": "修改人",
  18452. "type": "integer"
  18453. },
  18454. "modifystatus": {
  18455. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18456. "type": "integer"
  18457. },
  18458. "modifytime": {
  18459. "description": "修改时间",
  18460. "type": "string"
  18461. },
  18462. "outerdealmode": {
  18463. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18464. "type": "integer"
  18465. },
  18466. "outgoodscode": {
  18467. "description": "商品代码(外部)",
  18468. "type": "string"
  18469. },
  18470. "qtydecimalplace": {
  18471. "description": "成交量小数位",
  18472. "type": "integer"
  18473. },
  18474. "quotegear": {
  18475. "description": "行情档位(1-10)",
  18476. "type": "integer"
  18477. },
  18478. "quoteminunit": {
  18479. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18480. "type": "integer"
  18481. },
  18482. "quoteshowtype": {
  18483. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18484. "type": "integer"
  18485. },
  18486. "quoteshowtypeinterval": {
  18487. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18488. "type": "integer"
  18489. },
  18490. "remark": {
  18491. "description": "备注",
  18492. "type": "string"
  18493. }
  18494. }
  18495. },
  18496. "models.GoodsBrand": {
  18497. "type": "object",
  18498. "properties": {
  18499. "brandid": {
  18500. "description": "品牌ID",
  18501. "type": "integer"
  18502. },
  18503. "brandname": {
  18504. "description": "品牌名称",
  18505. "type": "string"
  18506. },
  18507. "isvalid": {
  18508. "description": "是否有效 - 0:无效 1:有效",
  18509. "type": "integer"
  18510. }
  18511. }
  18512. },
  18513. "models.GoodsIDAndName": {
  18514. "type": "object",
  18515. "required": [
  18516. "goodscode",
  18517. "goodsid",
  18518. "goodsname",
  18519. "marketid"
  18520. ],
  18521. "properties": {
  18522. "goodscode": {
  18523. "description": "商品代码(内部)",
  18524. "type": "string"
  18525. },
  18526. "goodsid": {
  18527. "description": "商品ID(自增ID SEQ_GOODS)",
  18528. "type": "integer"
  18529. },
  18530. "goodsname": {
  18531. "description": "商品名称",
  18532. "type": "string"
  18533. },
  18534. "marketid": {
  18535. "description": "所属市场ID",
  18536. "type": "integer"
  18537. }
  18538. }
  18539. },
  18540. "models.GoodsTypeModel": {
  18541. "type": "object",
  18542. "properties": {
  18543. "convertfactor": {
  18544. "description": "标仓系数",
  18545. "type": "number"
  18546. },
  18547. "modelid": {
  18548. "description": "型号ID",
  18549. "type": "integer"
  18550. },
  18551. "modelname": {
  18552. "description": "型号名称",
  18553. "type": "string"
  18554. },
  18555. "updatetime": {
  18556. "description": "更新时间",
  18557. "type": "string"
  18558. }
  18559. }
  18560. },
  18561. "models.Goodsgroup": {
  18562. "type": "object",
  18563. "required": [
  18564. "goodsgroupid",
  18565. "goodsgroupname",
  18566. "goodsgroupstatus",
  18567. "marketid"
  18568. ],
  18569. "properties": {
  18570. "agreeunit": {
  18571. "description": "合约单位",
  18572. "type": "number"
  18573. },
  18574. "canshort": {
  18575. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18576. "type": "integer"
  18577. },
  18578. "closepricemode": {
  18579. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18580. "type": "integer"
  18581. },
  18582. "closepriceparam": {
  18583. "description": "强平最新价浮动比例 - 方式为2时使用",
  18584. "type": "number"
  18585. },
  18586. "createtime": {
  18587. "description": "创建时间",
  18588. "type": "string"
  18589. },
  18590. "creatorid": {
  18591. "description": "创建人",
  18592. "type": "integer"
  18593. },
  18594. "currencyid": {
  18595. "description": "报价货币ID",
  18596. "type": "integer"
  18597. },
  18598. "decimalplace": {
  18599. "description": "报价小数位",
  18600. "type": "integer"
  18601. },
  18602. "exercisetype": {
  18603. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18604. "type": "integer"
  18605. },
  18606. "exexchangeid": {
  18607. "description": "外部交易所ID[通道交易]",
  18608. "type": "integer"
  18609. },
  18610. "goodsgroupid": {
  18611. "description": "商品组ID(自增ID)",
  18612. "type": "integer"
  18613. },
  18614. "goodsgroupname": {
  18615. "description": "商品组名称",
  18616. "type": "string"
  18617. },
  18618. "goodsgroupstatus": {
  18619. "description": "商品组状态 - 1:正常 2:注销",
  18620. "type": "integer"
  18621. },
  18622. "goodunitid": {
  18623. "description": "报价单位ID",
  18624. "type": "integer"
  18625. },
  18626. "innerdealmode": {
  18627. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18628. "type": "integer"
  18629. },
  18630. "isbuylimited": {
  18631. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18632. "type": "integer"
  18633. },
  18634. "marketid": {
  18635. "description": "所属市场ID",
  18636. "type": "integer"
  18637. },
  18638. "modifierid": {
  18639. "description": "修改人",
  18640. "type": "integer"
  18641. },
  18642. "modifytime": {
  18643. "description": "修改时间",
  18644. "type": "string"
  18645. },
  18646. "outerdealmode": {
  18647. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18648. "type": "integer"
  18649. },
  18650. "outergroupcode": {
  18651. "description": "外部商品组代码[通道交易]",
  18652. "type": "string"
  18653. },
  18654. "premiumdecimalplace": {
  18655. "description": "权利金小数位[场外期权]",
  18656. "type": "integer"
  18657. },
  18658. "premiumspreadalgorithm": {
  18659. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18660. "type": "integer"
  18661. },
  18662. "premiumspreadvalue": {
  18663. "description": "权利金点差值[场外期权]",
  18664. "type": "number"
  18665. },
  18666. "qtydecimalplace": {
  18667. "description": "成交量小数位",
  18668. "type": "integer"
  18669. },
  18670. "quotegear": {
  18671. "description": "行情档位(1-10)",
  18672. "type": "integer"
  18673. },
  18674. "quoteminunit": {
  18675. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18676. "type": "integer"
  18677. },
  18678. "quoterid": {
  18679. "description": "报价商ID[场外期权]",
  18680. "type": "integer"
  18681. },
  18682. "quotesourcegroupid": {
  18683. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18684. "type": "integer"
  18685. },
  18686. "syncgoodsqty": {
  18687. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18688. "type": "integer"
  18689. }
  18690. }
  18691. },
  18692. "models.Goodssortbypreposition": {
  18693. "type": "object",
  18694. "required": [
  18695. "goodscode",
  18696. "tradedate"
  18697. ],
  18698. "properties": {
  18699. "goodscode": {
  18700. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18701. "type": "string"
  18702. },
  18703. "goodsgroupcode": {
  18704. "description": "品种代码",
  18705. "type": "string"
  18706. },
  18707. "prepositionqty": {
  18708. "description": "昨持仓量",
  18709. "type": "integer"
  18710. },
  18711. "sortindex": {
  18712. "description": "排序",
  18713. "type": "integer"
  18714. },
  18715. "tradedate": {
  18716. "description": "交易日",
  18717. "type": "string"
  18718. },
  18719. "updatetime": {
  18720. "description": "更新时间",
  18721. "type": "string"
  18722. }
  18723. }
  18724. },
  18725. "models.Hedgeinnerholderdetail": {
  18726. "type": "object",
  18727. "required": [
  18728. "buyorsell",
  18729. "tradeid"
  18730. ],
  18731. "properties": {
  18732. "accountid": {
  18733. "description": "账号ID",
  18734. "type": "integer"
  18735. },
  18736. "buyorsell": {
  18737. "description": "方向 - 0:买 1:卖",
  18738. "type": "integer"
  18739. },
  18740. "freezeqty": {
  18741. "description": "冻结数量 - 按单平使用",
  18742. "type": "integer"
  18743. },
  18744. "goodsid": {
  18745. "description": "商品ID",
  18746. "type": "integer"
  18747. },
  18748. "holderamount": {
  18749. "description": "持仓金额 [商品币种]",
  18750. "type": "number"
  18751. },
  18752. "holderdays": {
  18753. "description": "剩余冻结天数",
  18754. "type": "integer"
  18755. },
  18756. "holderprice": {
  18757. "description": "持仓价格",
  18758. "type": "number"
  18759. },
  18760. "holderqty": {
  18761. "description": "持仓数量",
  18762. "type": "integer"
  18763. },
  18764. "marketid": {
  18765. "description": "市场ID",
  18766. "type": "integer"
  18767. },
  18768. "openprice": {
  18769. "description": "建仓价格",
  18770. "type": "number"
  18771. },
  18772. "openqty": {
  18773. "description": "建仓数量",
  18774. "type": "integer"
  18775. },
  18776. "parentaccountid": {
  18777. "description": "所属母账户",
  18778. "type": "integer"
  18779. },
  18780. "releaseamount": {
  18781. "description": "释放持仓金额[商品币种]",
  18782. "type": "number"
  18783. },
  18784. "tradeamount": {
  18785. "description": "成交金额[账户]",
  18786. "type": "number"
  18787. },
  18788. "tradedate": {
  18789. "description": "交易日(yyyyMMdd)",
  18790. "type": "string"
  18791. },
  18792. "tradeid": {
  18793. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18794. "type": "string"
  18795. },
  18796. "tradetime": {
  18797. "description": "交易时间",
  18798. "type": "string"
  18799. }
  18800. }
  18801. },
  18802. "models.Hedgeoutmainconfig": {
  18803. "type": "object",
  18804. "required": [
  18805. "accountid"
  18806. ],
  18807. "properties": {
  18808. "accountcurrecnygroup": {
  18809. "description": "资金账户币种组 [易盛]",
  18810. "type": "string"
  18811. },
  18812. "accountcurrency": {
  18813. "description": "资金账户基币 [易盛]",
  18814. "type": "string"
  18815. },
  18816. "accountid": {
  18817. "description": "资金账号ID(母账号)",
  18818. "type": "integer"
  18819. },
  18820. "appid": {
  18821. "description": "AppID",
  18822. "type": "string"
  18823. },
  18824. "authcode": {
  18825. "description": "授权码[易盛]",
  18826. "type": "string"
  18827. },
  18828. "brokerid": {
  18829. "description": "经纪公司代码",
  18830. "type": "string"
  18831. },
  18832. "channeladdress": {
  18833. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18834. "type": "string"
  18835. },
  18836. "channelid": {
  18837. "description": "对冲渠道ID",
  18838. "type": "integer"
  18839. },
  18840. "connectflag": {
  18841. "description": "是否联接外部交易 - 0:不连接 1:连接",
  18842. "type": "integer"
  18843. },
  18844. "exchangeratecurrencygroup": {
  18845. "description": "汇率币种组 [易盛]",
  18846. "type": "string"
  18847. },
  18848. "fcid": {
  18849. "description": "期货公司ID",
  18850. "type": "integer"
  18851. },
  18852. "fcname": {
  18853. "description": "期货公司名称",
  18854. "type": "string"
  18855. },
  18856. "hedgeaccountcode": {
  18857. "description": "对冲账号ID",
  18858. "type": "string"
  18859. },
  18860. "hedgeaccountpwd": {
  18861. "description": "对冲账号密码",
  18862. "type": "string"
  18863. },
  18864. "hedgeaccounttype": {
  18865. "description": "母账号类型 - 1-交易下单 2-跟单",
  18866. "type": "integer"
  18867. },
  18868. "limitnumber": {
  18869. "description": "挂单笔数限额",
  18870. "type": "integer"
  18871. },
  18872. "marketid": {
  18873. "description": "内部市场ID(母账号的操作",
  18874. "type": "integer"
  18875. },
  18876. "status": {
  18877. "description": "渠道账号状态 1-可买入可卖出 2-可卖出不可买入",
  18878. "type": "integer"
  18879. },
  18880. "userproductinfo": {
  18881. "description": "客户端产品信息",
  18882. "type": "string"
  18883. }
  18884. }
  18885. },
  18886. "models.HsbyBuyMyPayOrder": {
  18887. "type": "object",
  18888. "required": [
  18889. "goodscode",
  18890. "goodsname",
  18891. "tradeid",
  18892. "trademode"
  18893. ],
  18894. "properties": {
  18895. "agreeunit": {
  18896. "description": "合约单位",
  18897. "type": "number"
  18898. },
  18899. "buyaccountid": {
  18900. "description": "买方账号ID[报价币种]",
  18901. "type": "integer"
  18902. },
  18903. "buyorderid": {
  18904. "description": "买方委托单号",
  18905. "type": "string"
  18906. },
  18907. "createtime": {
  18908. "description": "创建时间",
  18909. "type": "string"
  18910. },
  18911. "currencysign": {
  18912. "description": "货币符号",
  18913. "type": "string"
  18914. },
  18915. "decimalplace": {
  18916. "description": "报价小数位",
  18917. "type": "integer"
  18918. },
  18919. "goodscode": {
  18920. "description": "商品代码(内部)",
  18921. "type": "string"
  18922. },
  18923. "goodsid": {
  18924. "description": "商品ID",
  18925. "type": "integer"
  18926. },
  18927. "goodsname": {
  18928. "description": "商品名称",
  18929. "type": "string"
  18930. },
  18931. "marketid": {
  18932. "description": "市场ID",
  18933. "type": "integer"
  18934. },
  18935. "offamount": {
  18936. "description": "优惠金额",
  18937. "type": "number"
  18938. },
  18939. "originalamount": {
  18940. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18941. "type": "number"
  18942. },
  18943. "payamount": {
  18944. "description": "支付金额 = TradeAmount + TradeCharge",
  18945. "type": "number"
  18946. },
  18947. "payflag": {
  18948. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18949. "type": "integer"
  18950. },
  18951. "paylimitedtime": {
  18952. "description": "支付期限",
  18953. "type": "string"
  18954. },
  18955. "paytime": {
  18956. "description": "付款时间",
  18957. "type": "string"
  18958. },
  18959. "picurls1": {
  18960. "description": "预售商品介绍图片[多张用逗号分隔]",
  18961. "type": "string"
  18962. },
  18963. "picurls2": {
  18964. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18965. "type": "string"
  18966. },
  18967. "sellaccountid": {
  18968. "description": "卖方账号ID[报价币种]",
  18969. "type": "integer"
  18970. },
  18971. "sellorderid": {
  18972. "description": "卖方委托单号",
  18973. "type": "string"
  18974. },
  18975. "tradeamount": {
  18976. "description": "成交金额",
  18977. "type": "number"
  18978. },
  18979. "tradecharge": {
  18980. "description": "成交手续费(买方)",
  18981. "type": "number"
  18982. },
  18983. "tradedate": {
  18984. "description": "交易日(yyyyMMdd)",
  18985. "type": "string"
  18986. },
  18987. "tradeid": {
  18988. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18989. "type": "string"
  18990. },
  18991. "trademode": {
  18992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18993. "type": "integer"
  18994. },
  18995. "tradeprice": {
  18996. "description": "成交价格",
  18997. "type": "number"
  18998. },
  18999. "tradeqty": {
  19000. "description": "成交数量",
  19001. "type": "integer"
  19002. },
  19003. "vendorname1": {
  19004. "description": "预售商品供应商名称",
  19005. "type": "string"
  19006. },
  19007. "vendorname2": {
  19008. "description": "挂牌商品供应商名称",
  19009. "type": "string"
  19010. }
  19011. }
  19012. },
  19013. "models.HsbyBuyMyTradeDetail": {
  19014. "type": "object",
  19015. "required": [
  19016. "accountid",
  19017. "buyorsell",
  19018. "goodscode",
  19019. "goodsid",
  19020. "goodsname",
  19021. "marketid",
  19022. "orderid",
  19023. "qty",
  19024. "time",
  19025. "trademode"
  19026. ],
  19027. "properties": {
  19028. "accountid": {
  19029. "description": "账户ID[报价币种]",
  19030. "type": "integer"
  19031. },
  19032. "agreeunit": {
  19033. "description": "合约单位",
  19034. "type": "number"
  19035. },
  19036. "amount": {
  19037. "description": "金额 = 价格 * 数量 * 合约单位",
  19038. "type": "number"
  19039. },
  19040. "buyorsell": {
  19041. "description": "买卖 - 0:买 1:卖",
  19042. "type": "integer"
  19043. },
  19044. "currencysign": {
  19045. "description": "货币符号",
  19046. "type": "string"
  19047. },
  19048. "decimalplace": {
  19049. "description": "报价小数位",
  19050. "type": "integer"
  19051. },
  19052. "goodscode": {
  19053. "description": "商品代码(内部)",
  19054. "type": "string"
  19055. },
  19056. "goodsid": {
  19057. "description": "商品ID",
  19058. "type": "integer"
  19059. },
  19060. "goodsname": {
  19061. "description": "商品名称",
  19062. "type": "string"
  19063. },
  19064. "marketid": {
  19065. "description": "市场ID",
  19066. "type": "integer"
  19067. },
  19068. "orderamount": {
  19069. "description": "委托金额",
  19070. "type": "number"
  19071. },
  19072. "orderid": {
  19073. "description": "单号(成交单号)",
  19074. "type": "string"
  19075. },
  19076. "picurls1": {
  19077. "description": "预售商品介绍图片[多张用逗号分隔]",
  19078. "type": "string"
  19079. },
  19080. "picurls2": {
  19081. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19082. "type": "string"
  19083. },
  19084. "price": {
  19085. "description": "价格",
  19086. "type": "number"
  19087. },
  19088. "qty": {
  19089. "description": "数量",
  19090. "type": "integer"
  19091. },
  19092. "time": {
  19093. "description": "时间",
  19094. "type": "string"
  19095. },
  19096. "trademode": {
  19097. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19098. "type": "integer"
  19099. },
  19100. "vendorname1": {
  19101. "description": "预售商品供应商名称",
  19102. "type": "string"
  19103. },
  19104. "vendorname2": {
  19105. "description": "挂牌商品供应商名称",
  19106. "type": "string"
  19107. }
  19108. }
  19109. },
  19110. "models.HsbyGoodsOrderDetail": {
  19111. "type": "object",
  19112. "required": [
  19113. "buyorsell",
  19114. "orderid",
  19115. "ordertime"
  19116. ],
  19117. "properties": {
  19118. "buyorsell": {
  19119. "description": "买卖 - 0:买 1:卖",
  19120. "type": "integer"
  19121. },
  19122. "currencysign": {
  19123. "description": "货币符号",
  19124. "type": "string"
  19125. },
  19126. "customername": {
  19127. "description": "客户名称(企业名称),已脱敏",
  19128. "type": "string"
  19129. },
  19130. "enableqty": {
  19131. "description": "可用数量",
  19132. "type": "integer"
  19133. },
  19134. "goodunit": {
  19135. "description": "报价单位",
  19136. "type": "string"
  19137. },
  19138. "orderid": {
  19139. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19140. "type": "string"
  19141. },
  19142. "orderprice": {
  19143. "description": "委托价格",
  19144. "type": "number"
  19145. },
  19146. "ordertime": {
  19147. "description": "委托时间",
  19148. "type": "string"
  19149. }
  19150. }
  19151. },
  19152. "models.HsbyListingGoodsDetail": {
  19153. "type": "object",
  19154. "required": [
  19155. "goodscode",
  19156. "goodsid",
  19157. "goodsname",
  19158. "marketid",
  19159. "trademode"
  19160. ],
  19161. "properties": {
  19162. "agreeunit": {
  19163. "description": "合约单位",
  19164. "type": "number"
  19165. },
  19166. "buymaxqty": {
  19167. "description": "购买上限 [71] - 0为不限",
  19168. "type": "integer"
  19169. },
  19170. "currency": {
  19171. "description": "货币",
  19172. "type": "string"
  19173. },
  19174. "currencysign": {
  19175. "description": "货币符号",
  19176. "type": "string"
  19177. },
  19178. "decimalplace": {
  19179. "description": "报价小数位",
  19180. "type": "integer"
  19181. },
  19182. "desccityid": {
  19183. "description": "目的地(市)ID",
  19184. "type": "integer"
  19185. },
  19186. "descprovinceid": {
  19187. "description": "目的地(省)ID",
  19188. "type": "integer"
  19189. },
  19190. "goodscode": {
  19191. "description": "商品代码(内部)",
  19192. "type": "string"
  19193. },
  19194. "goodsdesc": {
  19195. "description": "商品详情",
  19196. "type": "string"
  19197. },
  19198. "goodsid": {
  19199. "description": "商品ID(自增ID SEQ_GOODS)",
  19200. "type": "integer"
  19201. },
  19202. "goodsname": {
  19203. "description": "商品名称",
  19204. "type": "string"
  19205. },
  19206. "goodsprice": {
  19207. "description": "商品价格",
  19208. "type": "number"
  19209. },
  19210. "hotindex": {
  19211. "description": "景点热度",
  19212. "type": "integer"
  19213. },
  19214. "last": {
  19215. "description": "现价",
  19216. "type": "number"
  19217. },
  19218. "limitdown": {
  19219. "description": "跌停价",
  19220. "type": "number"
  19221. },
  19222. "limitup": {
  19223. "description": "涨停价",
  19224. "type": "number"
  19225. },
  19226. "lotsize": {
  19227. "description": "手数最小变动单位",
  19228. "type": "integer"
  19229. },
  19230. "marketid": {
  19231. "description": "所属市场ID",
  19232. "type": "integer"
  19233. },
  19234. "picurls": {
  19235. "description": "介绍图片[多张用逗号分隔]",
  19236. "type": "string"
  19237. },
  19238. "quoteminunit": {
  19239. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19240. "type": "integer"
  19241. },
  19242. "stepvalue": {
  19243. "description": "价格最小变动单位",
  19244. "type": "number"
  19245. },
  19246. "trademode": {
  19247. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19248. "type": "integer"
  19249. },
  19250. "vendorattr": {
  19251. "description": "供应商附件(多张,逗号分隔)",
  19252. "type": "string"
  19253. },
  19254. "vendorname": {
  19255. "description": "供应商名称",
  19256. "type": "string"
  19257. },
  19258. "vendorphone": {
  19259. "description": "供应商客服电话",
  19260. "type": "string"
  19261. },
  19262. "videourls": {
  19263. "description": "介绍视频[多张用逗号分隔]",
  19264. "type": "string"
  19265. }
  19266. }
  19267. },
  19268. "models.HsbyMarketGoods": {
  19269. "type": "object",
  19270. "required": [
  19271. "accountid",
  19272. "buyorsell",
  19273. "goodscode",
  19274. "goodsid",
  19275. "goodsname",
  19276. "marketid",
  19277. "orderid",
  19278. "trademode"
  19279. ],
  19280. "properties": {
  19281. "accountid": {
  19282. "description": "账户ID[报价币种]",
  19283. "type": "integer"
  19284. },
  19285. "agreeunit": {
  19286. "description": "合约单位",
  19287. "type": "number"
  19288. },
  19289. "buyorsell": {
  19290. "description": "买卖 - 0:买 1:卖",
  19291. "type": "integer"
  19292. },
  19293. "categoryid": {
  19294. "description": "类别ID(WRCATEGORY)",
  19295. "type": "integer"
  19296. },
  19297. "currency": {
  19298. "description": "货币",
  19299. "type": "string"
  19300. },
  19301. "currencysign": {
  19302. "description": "货币符号",
  19303. "type": "string"
  19304. },
  19305. "customername": {
  19306. "description": "卖家名称",
  19307. "type": "string"
  19308. },
  19309. "decimalplace": {
  19310. "description": "报价小数位",
  19311. "type": "integer"
  19312. },
  19313. "goodscode": {
  19314. "description": "商品代码(内部)",
  19315. "type": "string"
  19316. },
  19317. "goodsid": {
  19318. "description": "商品ID",
  19319. "type": "integer"
  19320. },
  19321. "goodsname": {
  19322. "description": "商品名称",
  19323. "type": "string"
  19324. },
  19325. "goodsprice": {
  19326. "description": "商品价格",
  19327. "type": "number"
  19328. },
  19329. "hascoupon": {
  19330. "description": "是否可用优惠卷",
  19331. "type": "boolean"
  19332. },
  19333. "hotindex": {
  19334. "description": "景点热度",
  19335. "type": "integer"
  19336. },
  19337. "marketid": {
  19338. "description": "市场ID",
  19339. "type": "integer"
  19340. },
  19341. "orderid": {
  19342. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19343. "type": "string"
  19344. },
  19345. "orderprice": {
  19346. "description": "委托价格",
  19347. "type": "number"
  19348. },
  19349. "orderstatus": {
  19350. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19351. "type": "integer"
  19352. },
  19353. "picurls": {
  19354. "description": "介绍图片[多张用逗号分隔]",
  19355. "type": "string"
  19356. },
  19357. "quoteminunit": {
  19358. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19359. "type": "integer"
  19360. },
  19361. "sellUserID": {
  19362. "description": "卖方UserID",
  19363. "type": "integer"
  19364. },
  19365. "trademode": {
  19366. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19367. "type": "integer"
  19368. },
  19369. "videourls": {
  19370. "description": "介绍视频[多张用逗号分隔]",
  19371. "type": "string"
  19372. }
  19373. }
  19374. },
  19375. "models.HsbyMarketGoodsDetail": {
  19376. "type": "object",
  19377. "required": [
  19378. "accountid",
  19379. "buyorsell",
  19380. "goodscode",
  19381. "goodsid",
  19382. "goodsname",
  19383. "marketid",
  19384. "orderid",
  19385. "orderqty",
  19386. "trademode"
  19387. ],
  19388. "properties": {
  19389. "accountid": {
  19390. "description": "账户ID[报价币种]",
  19391. "type": "integer"
  19392. },
  19393. "agreeunit": {
  19394. "description": "合约单位",
  19395. "type": "number"
  19396. },
  19397. "buymaxqty": {
  19398. "description": "购买上限 [71] - 0为不限",
  19399. "type": "integer"
  19400. },
  19401. "buyorsell": {
  19402. "description": "买卖 - 0:买 1:卖",
  19403. "type": "integer"
  19404. },
  19405. "cancelqty": {
  19406. "description": "撤单数量",
  19407. "type": "integer"
  19408. },
  19409. "categoryid": {
  19410. "description": "类别ID(WRCATEGORY)",
  19411. "type": "integer"
  19412. },
  19413. "currency": {
  19414. "description": "货币",
  19415. "type": "string"
  19416. },
  19417. "currencysign": {
  19418. "description": "货币符号",
  19419. "type": "string"
  19420. },
  19421. "customername": {
  19422. "description": "卖家名称",
  19423. "type": "string"
  19424. },
  19425. "decimalplace": {
  19426. "description": "报价小数位",
  19427. "type": "integer"
  19428. },
  19429. "goodscode": {
  19430. "description": "商品代码(内部)",
  19431. "type": "string"
  19432. },
  19433. "goodsdesc": {
  19434. "description": "商品详情",
  19435. "type": "string"
  19436. },
  19437. "goodsid": {
  19438. "description": "商品ID",
  19439. "type": "integer"
  19440. },
  19441. "goodsname": {
  19442. "description": "商品名称",
  19443. "type": "string"
  19444. },
  19445. "goodsprice": {
  19446. "description": "商品价格",
  19447. "type": "number"
  19448. },
  19449. "hotindex": {
  19450. "description": "景点热度",
  19451. "type": "integer"
  19452. },
  19453. "lotsize": {
  19454. "description": "手数最小变动单位",
  19455. "type": "integer"
  19456. },
  19457. "marketid": {
  19458. "description": "市场ID",
  19459. "type": "integer"
  19460. },
  19461. "orderid": {
  19462. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19463. "type": "string"
  19464. },
  19465. "orderprice": {
  19466. "description": "委托价格",
  19467. "type": "number"
  19468. },
  19469. "orderqty": {
  19470. "description": "委托数量",
  19471. "type": "integer"
  19472. },
  19473. "orderstatus": {
  19474. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19475. "type": "integer"
  19476. },
  19477. "picurls": {
  19478. "description": "介绍图片[多张用逗号分隔]",
  19479. "type": "string"
  19480. },
  19481. "quoteminunit": {
  19482. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19483. "type": "integer"
  19484. },
  19485. "sellUserID": {
  19486. "description": "卖方UserID",
  19487. "type": "integer"
  19488. },
  19489. "trademode": {
  19490. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19491. "type": "integer"
  19492. },
  19493. "tradeqty": {
  19494. "description": "成交数量",
  19495. "type": "integer"
  19496. },
  19497. "vendorattr": {
  19498. "description": "供应商附件(多张,逗号分隔)",
  19499. "type": "string"
  19500. },
  19501. "vendorname": {
  19502. "description": "供应商名称",
  19503. "type": "string"
  19504. },
  19505. "vendorphone": {
  19506. "description": "供应商客服电话",
  19507. "type": "string"
  19508. },
  19509. "videourls": {
  19510. "description": "介绍视频[多张用逗号分隔]",
  19511. "type": "string"
  19512. }
  19513. }
  19514. },
  19515. "models.HsbyMarketInfo": {
  19516. "type": "object",
  19517. "required": [
  19518. "marketid",
  19519. "marketstatus",
  19520. "trademode"
  19521. ],
  19522. "properties": {
  19523. "marketid": {
  19524. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19525. "type": "integer"
  19526. },
  19527. "marketname": {
  19528. "description": "市场名称",
  19529. "type": "string"
  19530. },
  19531. "marketstatus": {
  19532. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19533. "type": "integer"
  19534. },
  19535. "trademode": {
  19536. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19537. "type": "integer"
  19538. }
  19539. }
  19540. },
  19541. "models.HsbyMyGoods": {
  19542. "type": "object",
  19543. "required": [
  19544. "accountid",
  19545. "goodscode",
  19546. "goodsid",
  19547. "goodsname",
  19548. "marketid",
  19549. "trademode"
  19550. ],
  19551. "properties": {
  19552. "accountid": {
  19553. "description": "账号Id",
  19554. "type": "integer"
  19555. },
  19556. "agreeunit": {
  19557. "description": "合约单位",
  19558. "type": "number"
  19559. },
  19560. "buyaverageprice": {
  19561. "description": "持仓均价",
  19562. "type": "number"
  19563. },
  19564. "buycurholderamount": {
  19565. "description": "买当前持仓总金额[商品币种]",
  19566. "type": "number"
  19567. },
  19568. "buycurpositionqty": {
  19569. "description": "买当前持仓总数量",
  19570. "type": "integer"
  19571. },
  19572. "buymaxqty": {
  19573. "description": "购买上限 [71] - 0为不限",
  19574. "type": "integer"
  19575. },
  19576. "currencysign": {
  19577. "description": "货币符号",
  19578. "type": "string"
  19579. },
  19580. "decimalplace": {
  19581. "description": "报价小数位",
  19582. "type": "integer"
  19583. },
  19584. "enableqty": {
  19585. "description": "可用数量",
  19586. "type": "integer"
  19587. },
  19588. "goodscode": {
  19589. "description": "商品代码(内部)",
  19590. "type": "string"
  19591. },
  19592. "goodsid": {
  19593. "description": "商品Id",
  19594. "type": "integer"
  19595. },
  19596. "goodsname": {
  19597. "description": "商品名称",
  19598. "type": "string"
  19599. },
  19600. "goodsprice": {
  19601. "description": "商品价格",
  19602. "type": "number"
  19603. },
  19604. "goodsstatus": {
  19605. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19606. "type": "integer"
  19607. },
  19608. "last": {
  19609. "description": "现价(仅使用于挂牌点选)",
  19610. "type": "number"
  19611. },
  19612. "limitdown": {
  19613. "description": "跌停价(仅使用于挂牌点选)",
  19614. "type": "number"
  19615. },
  19616. "limitup": {
  19617. "description": "涨停价(仅使用于挂牌点选)",
  19618. "type": "number"
  19619. },
  19620. "lotsize": {
  19621. "description": "手数最小变动单位",
  19622. "type": "integer"
  19623. },
  19624. "marketid": {
  19625. "description": "所属市场ID",
  19626. "type": "integer"
  19627. },
  19628. "picurls": {
  19629. "description": "介绍图片[多张用逗号分隔]",
  19630. "type": "string"
  19631. },
  19632. "quoteminunit": {
  19633. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19634. "type": "integer"
  19635. },
  19636. "stepvalue": {
  19637. "description": "价格最小变动单位",
  19638. "type": "number"
  19639. },
  19640. "trademode": {
  19641. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19642. "type": "integer"
  19643. }
  19644. }
  19645. },
  19646. "models.HsbyMyPackage": {
  19647. "type": "object",
  19648. "required": [
  19649. "goodscode",
  19650. "goodsname",
  19651. "takeorderid",
  19652. "trademode"
  19653. ],
  19654. "properties": {
  19655. "accountid": {
  19656. "description": "账户ID",
  19657. "type": "integer"
  19658. },
  19659. "address": {
  19660. "description": "提货人详细地址",
  19661. "type": "string"
  19662. },
  19663. "agreeunit": {
  19664. "description": "合约单位",
  19665. "type": "number"
  19666. },
  19667. "amount": {
  19668. "description": "提货金额",
  19669. "type": "number"
  19670. },
  19671. "auditer": {
  19672. "description": "审核人",
  19673. "type": "integer"
  19674. },
  19675. "audittime": {
  19676. "description": "审核时间",
  19677. "type": "string"
  19678. },
  19679. "averageprice": {
  19680. "description": "均价",
  19681. "type": "number"
  19682. },
  19683. "cardnum": {
  19684. "description": "提货人证件号码",
  19685. "type": "string"
  19686. },
  19687. "cardtypeid": {
  19688. "description": "提货人证件类型",
  19689. "type": "integer"
  19690. },
  19691. "checkremark": {
  19692. "description": "审核备注",
  19693. "type": "string"
  19694. },
  19695. "currencysign": {
  19696. "description": "货币符号",
  19697. "type": "string"
  19698. },
  19699. "decimalplace": {
  19700. "description": "报价小数位",
  19701. "type": "integer"
  19702. },
  19703. "goodscode": {
  19704. "description": "商品代码(内部)",
  19705. "type": "string"
  19706. },
  19707. "goodsid": {
  19708. "description": "商品ID",
  19709. "type": "integer"
  19710. },
  19711. "goodsname": {
  19712. "description": "商品名称",
  19713. "type": "string"
  19714. },
  19715. "handlestatus": {
  19716. "description": "处理状态",
  19717. "type": "integer"
  19718. },
  19719. "marketid": {
  19720. "description": "市场ID",
  19721. "type": "integer"
  19722. },
  19723. "phonenum": {
  19724. "description": "提货人联系方式",
  19725. "type": "string"
  19726. },
  19727. "picurls": {
  19728. "description": "介绍图片[多张用逗号分隔]",
  19729. "type": "string"
  19730. },
  19731. "qty": {
  19732. "description": "提货数量",
  19733. "type": "number"
  19734. },
  19735. "recivername": {
  19736. "description": "提货人姓名",
  19737. "type": "string"
  19738. },
  19739. "reqtime": {
  19740. "description": "更新时间",
  19741. "type": "string"
  19742. },
  19743. "takemode": {
  19744. "description": "提货方式 - 2:自提 3:配送",
  19745. "type": "integer"
  19746. },
  19747. "takeorderid": {
  19748. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19749. "type": "string"
  19750. },
  19751. "takeorderstatus": {
  19752. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19753. "type": "integer"
  19754. },
  19755. "takeremark": {
  19756. "description": "提货备注",
  19757. "type": "string"
  19758. },
  19759. "tradedate": {
  19760. "description": "交易日(yyyyMMdd)",
  19761. "type": "string"
  19762. },
  19763. "trademode": {
  19764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19765. "type": "integer"
  19766. },
  19767. "userid": {
  19768. "description": "用户ID",
  19769. "type": "integer"
  19770. },
  19771. "vendorname": {
  19772. "description": "供应商名称",
  19773. "type": "string"
  19774. }
  19775. }
  19776. },
  19777. "models.HsbyPreGoods": {
  19778. "type": "object",
  19779. "required": [
  19780. "goodscode",
  19781. "goodsid",
  19782. "goodsname",
  19783. "marketid",
  19784. "trademode"
  19785. ],
  19786. "properties": {
  19787. "agreeunit": {
  19788. "description": "合约单位",
  19789. "type": "number"
  19790. },
  19791. "currency": {
  19792. "description": "货币",
  19793. "type": "string"
  19794. },
  19795. "currencysign": {
  19796. "description": "货币符号",
  19797. "type": "string"
  19798. },
  19799. "decimalplace": {
  19800. "description": "报价小数位",
  19801. "type": "integer"
  19802. },
  19803. "desccityid": {
  19804. "description": "目的地(市)",
  19805. "type": "integer"
  19806. },
  19807. "descprovinceid": {
  19808. "description": "目的地(省)",
  19809. "type": "integer"
  19810. },
  19811. "enableqty": {
  19812. "description": "剩余数量",
  19813. "type": "integer"
  19814. },
  19815. "goodscode": {
  19816. "description": "商品代码(内部)",
  19817. "type": "string"
  19818. },
  19819. "goodsid": {
  19820. "description": "商品ID(自增ID SEQ_GOODS)",
  19821. "type": "integer"
  19822. },
  19823. "goodsname": {
  19824. "description": "商品名称",
  19825. "type": "string"
  19826. },
  19827. "goodsstatus": {
  19828. "description": "商品状态- 2:未上市 3:上市",
  19829. "type": "integer"
  19830. },
  19831. "lasttradedate": {
  19832. "description": "最后交易日期(状态:待退市)",
  19833. "type": "string"
  19834. },
  19835. "listingdate": {
  19836. "description": "交易开始日期",
  19837. "type": "string"
  19838. },
  19839. "marketid": {
  19840. "description": "所属市场ID",
  19841. "type": "integer"
  19842. },
  19843. "picurls": {
  19844. "description": "介绍图片[多张用逗号分隔]",
  19845. "type": "string"
  19846. },
  19847. "presaledqty": {
  19848. "description": "已预售量(预售结束时更新)",
  19849. "type": "integer"
  19850. },
  19851. "presaleqty": {
  19852. "description": "预售数量",
  19853. "type": "integer"
  19854. },
  19855. "quoteminunit": {
  19856. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19857. "type": "integer"
  19858. },
  19859. "refprice": {
  19860. "description": "参考价格[一口价]",
  19861. "type": "number"
  19862. },
  19863. "relatedgoodsid": {
  19864. "description": "关联交易合约ID",
  19865. "type": "integer"
  19866. },
  19867. "trademode": {
  19868. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19869. "type": "integer"
  19870. },
  19871. "videourls": {
  19872. "description": "介绍视频[多张用逗号分隔]",
  19873. "type": "string"
  19874. }
  19875. }
  19876. },
  19877. "models.HsbyPreGoodsDetail": {
  19878. "type": "object",
  19879. "required": [
  19880. "goodscode",
  19881. "goodsid",
  19882. "goodsname",
  19883. "marketid",
  19884. "trademode"
  19885. ],
  19886. "properties": {
  19887. "agreeunit": {
  19888. "description": "合约单位",
  19889. "type": "number"
  19890. },
  19891. "buymaxqty": {
  19892. "description": "购买上限 [71] - 0为不限",
  19893. "type": "integer"
  19894. },
  19895. "currency": {
  19896. "description": "货币",
  19897. "type": "string"
  19898. },
  19899. "currencysign": {
  19900. "description": "货币符号",
  19901. "type": "string"
  19902. },
  19903. "customername": {
  19904. "description": "发行单位",
  19905. "type": "string"
  19906. },
  19907. "decimalplace": {
  19908. "description": "报价小数位",
  19909. "type": "integer"
  19910. },
  19911. "desccityid": {
  19912. "description": "目的地(市)ID",
  19913. "type": "integer"
  19914. },
  19915. "descprovinceid": {
  19916. "description": "目的地(省)ID",
  19917. "type": "integer"
  19918. },
  19919. "enableqty": {
  19920. "description": "剩余数量",
  19921. "type": "integer"
  19922. },
  19923. "goodscode": {
  19924. "description": "商品代码(内部)",
  19925. "type": "string"
  19926. },
  19927. "goodsdesc": {
  19928. "description": "商品详情",
  19929. "type": "string"
  19930. },
  19931. "goodsid": {
  19932. "description": "商品ID(自增ID SEQ_GOODS)",
  19933. "type": "integer"
  19934. },
  19935. "goodsname": {
  19936. "description": "商品名称",
  19937. "type": "string"
  19938. },
  19939. "goodsstatus": {
  19940. "description": "商品状态- 2:未上市 3:上市",
  19941. "type": "integer"
  19942. },
  19943. "goodunit": {
  19944. "description": "报价单位",
  19945. "type": "string"
  19946. },
  19947. "lasttradedate": {
  19948. "description": "最后交易日期(状态:待退市)",
  19949. "type": "string"
  19950. },
  19951. "listingdate": {
  19952. "description": "交易开始日期",
  19953. "type": "string"
  19954. },
  19955. "lotsize": {
  19956. "description": "手数最小变动单位",
  19957. "type": "integer"
  19958. },
  19959. "marketid": {
  19960. "description": "所属市场ID",
  19961. "type": "integer"
  19962. },
  19963. "picurls": {
  19964. "description": "介绍图片[多张用逗号分隔]",
  19965. "type": "string"
  19966. },
  19967. "presaledqty": {
  19968. "description": "已预售量(预售结束时更新)",
  19969. "type": "integer"
  19970. },
  19971. "presaleqty": {
  19972. "description": "预售数量",
  19973. "type": "integer"
  19974. },
  19975. "quoteminunit": {
  19976. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19977. "type": "integer"
  19978. },
  19979. "refprice": {
  19980. "description": "参考价格[一口价]",
  19981. "type": "number"
  19982. },
  19983. "relatedgoodsid": {
  19984. "description": "关联交易合约ID",
  19985. "type": "integer"
  19986. },
  19987. "stepvalue": {
  19988. "description": "价格最小变动单位",
  19989. "type": "number"
  19990. },
  19991. "trademode": {
  19992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19993. "type": "integer"
  19994. },
  19995. "vendorattr": {
  19996. "description": "供应商附件(多张,逗号分隔)",
  19997. "type": "string"
  19998. },
  19999. "vendorname": {
  20000. "description": "供应商名称",
  20001. "type": "string"
  20002. },
  20003. "vendorphone": {
  20004. "description": "供应商客服电话",
  20005. "type": "string"
  20006. },
  20007. "videourls": {
  20008. "description": "介绍视频[多张用逗号分隔]",
  20009. "type": "string"
  20010. }
  20011. }
  20012. },
  20013. "models.HsbySellCollectionOrder": {
  20014. "type": "object",
  20015. "required": [
  20016. "goodscode",
  20017. "goodsname",
  20018. "tradeid",
  20019. "trademode"
  20020. ],
  20021. "properties": {
  20022. "agreeunit": {
  20023. "description": "合约单位",
  20024. "type": "number"
  20025. },
  20026. "buyaccountid": {
  20027. "description": "买方账号ID[报价币种]",
  20028. "type": "integer"
  20029. },
  20030. "buyorderid": {
  20031. "description": "买方委托单号",
  20032. "type": "string"
  20033. },
  20034. "createtime": {
  20035. "description": "创建时间",
  20036. "type": "string"
  20037. },
  20038. "currencysign": {
  20039. "description": "货币符号",
  20040. "type": "string"
  20041. },
  20042. "decimalplace": {
  20043. "description": "报价小数位",
  20044. "type": "integer"
  20045. },
  20046. "goodscode": {
  20047. "description": "商品代码(内部)",
  20048. "type": "string"
  20049. },
  20050. "goodsid": {
  20051. "description": "商品ID",
  20052. "type": "integer"
  20053. },
  20054. "goodsname": {
  20055. "description": "商品名称",
  20056. "type": "string"
  20057. },
  20058. "marketid": {
  20059. "description": "市场ID",
  20060. "type": "integer"
  20061. },
  20062. "offamount": {
  20063. "description": "优惠金额",
  20064. "type": "number"
  20065. },
  20066. "payamount": {
  20067. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20068. "type": "number"
  20069. },
  20070. "payflag": {
  20071. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20072. "type": "integer"
  20073. },
  20074. "paylimitedtime": {
  20075. "description": "支付期限",
  20076. "type": "string"
  20077. },
  20078. "paytime": {
  20079. "description": "付款时间",
  20080. "type": "string"
  20081. },
  20082. "picurls": {
  20083. "description": "商品介绍图片[多张用逗号分隔]",
  20084. "type": "string"
  20085. },
  20086. "sellaccountid": {
  20087. "description": "卖方账号ID[报价币种]",
  20088. "type": "integer"
  20089. },
  20090. "sellorderid": {
  20091. "description": "卖方委托单号",
  20092. "type": "string"
  20093. },
  20094. "tradeamount": {
  20095. "description": "成交金额",
  20096. "type": "number"
  20097. },
  20098. "tradecharge": {
  20099. "description": "成交手续费(买方)",
  20100. "type": "number"
  20101. },
  20102. "tradedate": {
  20103. "description": "交易日(yyyyMMdd)",
  20104. "type": "string"
  20105. },
  20106. "tradeid": {
  20107. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20108. "type": "string"
  20109. },
  20110. "trademode": {
  20111. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20112. "type": "integer"
  20113. },
  20114. "tradeprice": {
  20115. "description": "成交价格",
  20116. "type": "number"
  20117. },
  20118. "tradeqty": {
  20119. "description": "成交数量",
  20120. "type": "integer"
  20121. }
  20122. }
  20123. },
  20124. "models.HsbySellMyDetail": {
  20125. "type": "object",
  20126. "required": [
  20127. "accountid",
  20128. "buyorsell",
  20129. "goodscode",
  20130. "goodsid",
  20131. "goodsname",
  20132. "marketid",
  20133. "orderid",
  20134. "time",
  20135. "trademode"
  20136. ],
  20137. "properties": {
  20138. "accountid": {
  20139. "description": "账户ID[报价币种]",
  20140. "type": "integer"
  20141. },
  20142. "agreeunit": {
  20143. "description": "合约单位",
  20144. "type": "number"
  20145. },
  20146. "buyorsell": {
  20147. "description": "买卖 - 0:买 1:卖",
  20148. "type": "integer"
  20149. },
  20150. "currencysign": {
  20151. "description": "货币符号",
  20152. "type": "string"
  20153. },
  20154. "decimalplace": {
  20155. "description": "报价小数位",
  20156. "type": "integer"
  20157. },
  20158. "goodscode": {
  20159. "description": "商品代码(内部)",
  20160. "type": "string"
  20161. },
  20162. "goodsid": {
  20163. "description": "商品ID",
  20164. "type": "integer"
  20165. },
  20166. "goodsname": {
  20167. "description": "商品名称",
  20168. "type": "string"
  20169. },
  20170. "marketid": {
  20171. "description": "市场ID",
  20172. "type": "integer"
  20173. },
  20174. "orderid": {
  20175. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20176. "type": "string"
  20177. },
  20178. "ordertype": {
  20179. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20180. "type": "integer"
  20181. },
  20182. "picurls": {
  20183. "description": "介绍图片[多张用逗号分隔]",
  20184. "type": "string"
  20185. },
  20186. "price": {
  20187. "description": "价格",
  20188. "type": "number"
  20189. },
  20190. "qty": {
  20191. "description": "数量",
  20192. "type": "integer"
  20193. },
  20194. "time": {
  20195. "description": "时间",
  20196. "type": "string"
  20197. },
  20198. "trademode": {
  20199. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20200. "type": "integer"
  20201. },
  20202. "vendorname": {
  20203. "description": "供应商名称",
  20204. "type": "string"
  20205. }
  20206. }
  20207. },
  20208. "models.HsbyTopGoods": {
  20209. "type": "object",
  20210. "required": [
  20211. "goodscode",
  20212. "goodsid",
  20213. "goodsname",
  20214. "marketid",
  20215. "trademode"
  20216. ],
  20217. "properties": {
  20218. "agreeunit": {
  20219. "description": "合约单位",
  20220. "type": "number"
  20221. },
  20222. "currency": {
  20223. "description": "货币",
  20224. "type": "string"
  20225. },
  20226. "currencysign": {
  20227. "description": "货币符号",
  20228. "type": "string"
  20229. },
  20230. "decimalplace": {
  20231. "description": "报价小数位",
  20232. "type": "integer"
  20233. },
  20234. "desccityid": {
  20235. "description": "目的地(市)",
  20236. "type": "integer"
  20237. },
  20238. "descprovinceid": {
  20239. "description": "目的地(省)",
  20240. "type": "integer"
  20241. },
  20242. "goodscode": {
  20243. "description": "商品代码(内部)",
  20244. "type": "string"
  20245. },
  20246. "goodsid": {
  20247. "description": "商品ID(自增ID SEQ_GOODS)",
  20248. "type": "integer"
  20249. },
  20250. "goodsname": {
  20251. "description": "商品名称",
  20252. "type": "string"
  20253. },
  20254. "hotindex": {
  20255. "description": "景点热度",
  20256. "type": "integer"
  20257. },
  20258. "last": {
  20259. "description": "现价",
  20260. "type": "number"
  20261. },
  20262. "marketid": {
  20263. "description": "所属市场ID",
  20264. "type": "integer"
  20265. },
  20266. "picurls": {
  20267. "description": "介绍图片[多张用逗号分隔]",
  20268. "type": "string"
  20269. },
  20270. "quoteminunit": {
  20271. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20272. "type": "integer"
  20273. },
  20274. "trademode": {
  20275. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20276. "type": "integer"
  20277. },
  20278. "videourls": {
  20279. "description": "介绍视频[多张用逗号分隔]",
  20280. "type": "string"
  20281. }
  20282. }
  20283. },
  20284. "models.HybsMyBuyOrderDetail": {
  20285. "type": "object",
  20286. "required": [
  20287. "accountid",
  20288. "buyorsell",
  20289. "goodscode",
  20290. "goodsid",
  20291. "goodsname",
  20292. "marketid",
  20293. "orderid",
  20294. "orderqty",
  20295. "ordertime",
  20296. "trademode"
  20297. ],
  20298. "properties": {
  20299. "accountid": {
  20300. "description": "账户ID[报价币种]",
  20301. "type": "integer"
  20302. },
  20303. "agreeunit": {
  20304. "description": "合约单位",
  20305. "type": "number"
  20306. },
  20307. "buyorsell": {
  20308. "description": "买卖 - 0:买 1:卖",
  20309. "type": "integer"
  20310. },
  20311. "cancelqty": {
  20312. "description": "撤单数量",
  20313. "type": "integer"
  20314. },
  20315. "currencysign": {
  20316. "description": "货币符号",
  20317. "type": "string"
  20318. },
  20319. "decimalplace": {
  20320. "description": "报价小数位",
  20321. "type": "integer"
  20322. },
  20323. "goodscode": {
  20324. "description": "商品代码(内部)",
  20325. "type": "string"
  20326. },
  20327. "goodsid": {
  20328. "description": "商品ID",
  20329. "type": "integer"
  20330. },
  20331. "goodsname": {
  20332. "description": "商品名称",
  20333. "type": "string"
  20334. },
  20335. "listingselecttype": {
  20336. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20337. "type": "integer"
  20338. },
  20339. "marketid": {
  20340. "description": "市场ID",
  20341. "type": "integer"
  20342. },
  20343. "mybuystatus": {
  20344. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20345. "type": "integer"
  20346. },
  20347. "orderamount": {
  20348. "description": "委托金额",
  20349. "type": "number"
  20350. },
  20351. "orderid": {
  20352. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20353. "type": "string"
  20354. },
  20355. "orderprice": {
  20356. "description": "委托价格",
  20357. "type": "number"
  20358. },
  20359. "orderqty": {
  20360. "description": "委托数量",
  20361. "type": "integer"
  20362. },
  20363. "orderstatus": {
  20364. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20365. "type": "integer"
  20366. },
  20367. "ordertime": {
  20368. "description": "委托时间",
  20369. "type": "string"
  20370. },
  20371. "picurls1": {
  20372. "description": "预售商品介绍图片[多张用逗号分隔]",
  20373. "type": "string"
  20374. },
  20375. "picurls2": {
  20376. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20377. "type": "string"
  20378. },
  20379. "trademode": {
  20380. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20381. "type": "integer"
  20382. },
  20383. "tradeqty": {
  20384. "description": "成交数量",
  20385. "type": "integer"
  20386. },
  20387. "vendorname1": {
  20388. "description": "预售商品供应商名称",
  20389. "type": "string"
  20390. },
  20391. "vendorname2": {
  20392. "description": "挂牌商品供应商名称",
  20393. "type": "string"
  20394. }
  20395. }
  20396. },
  20397. "models.Loginaccount": {
  20398. "type": "object",
  20399. "required": [
  20400. "loginid"
  20401. ],
  20402. "properties": {
  20403. "canoutin": {
  20404. "description": "是否可出入金 - 0:不可 1:可",
  20405. "type": "integer"
  20406. },
  20407. "clientroleid": {
  20408. "description": "终端角色ID",
  20409. "type": "integer"
  20410. },
  20411. "haslogined": {
  20412. "description": "是否已登录 - 0:未登录 1:已登录",
  20413. "type": "integer"
  20414. },
  20415. "hasupdatedpwd": {
  20416. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20417. "type": "integer"
  20418. },
  20419. "lastloginip": {
  20420. "description": "最新登录地址",
  20421. "type": "string"
  20422. },
  20423. "lastloginmode": {
  20424. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20425. "type": "integer"
  20426. },
  20427. "lastloginremark": {
  20428. "description": "最新登录描述",
  20429. "type": "string"
  20430. },
  20431. "lastlogintime": {
  20432. "description": "最新登录时间",
  20433. "type": "string"
  20434. },
  20435. "logincode": {
  20436. "description": "登录代码",
  20437. "type": "string"
  20438. },
  20439. "loginfailnum": {
  20440. "description": "连续登录失败次数(登录成功时清零)",
  20441. "type": "integer"
  20442. },
  20443. "loginid": {
  20444. "description": "登陆账号",
  20445. "type": "integer"
  20446. },
  20447. "loginport": {
  20448. "description": "最新登录端口",
  20449. "type": "integer"
  20450. },
  20451. "loginstatus": {
  20452. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20453. "type": "integer"
  20454. },
  20455. "loginusertype": {
  20456. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20457. "type": "integer"
  20458. },
  20459. "modifierid": {
  20460. "description": "修改人",
  20461. "type": "integer"
  20462. },
  20463. "modifytime": {
  20464. "description": "修改时间",
  20465. "type": "string"
  20466. },
  20467. "pwdwrongcount": {
  20468. "description": "密码错误次数",
  20469. "type": "integer"
  20470. },
  20471. "taaccountrighttype": {
  20472. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20473. "type": "integer"
  20474. },
  20475. "unfreezetime": {
  20476. "description": "账户解冻时间",
  20477. "type": "string"
  20478. },
  20479. "userid": {
  20480. "description": "用户ID",
  20481. "type": "integer"
  20482. }
  20483. }
  20484. },
  20485. "models.MainAccountInfo": {
  20486. "type": "object",
  20487. "properties": {
  20488. "accountid": {
  20489. "description": "账号id",
  20490. "type": "string"
  20491. },
  20492. "appid": {
  20493. "description": "AppID",
  20494. "type": "string"
  20495. },
  20496. "authcode": {
  20497. "description": "授权码",
  20498. "type": "string"
  20499. },
  20500. "brokerid": {
  20501. "description": "经纪商id",
  20502. "type": "string"
  20503. },
  20504. "fcid": {
  20505. "description": "期货公司id",
  20506. "type": "integer"
  20507. },
  20508. "fcname": {
  20509. "description": "期货公司代码",
  20510. "type": "string"
  20511. },
  20512. "hedgeaccountcode": {
  20513. "description": "外部账号代码",
  20514. "type": "string"
  20515. },
  20516. "hedgeaccountpwd": {
  20517. "description": "密码",
  20518. "type": "string"
  20519. },
  20520. "ismain": {
  20521. "description": "是否主账号",
  20522. "type": "integer"
  20523. },
  20524. "relateduserid": {
  20525. "description": "关联用户id",
  20526. "type": "integer"
  20527. }
  20528. }
  20529. },
  20530. "models.Market": {
  20531. "type": "object",
  20532. "required": [
  20533. "marketid",
  20534. "marketstatus",
  20535. "openmethod",
  20536. "reckonpricealgorithm",
  20537. "trademode",
  20538. "tradeproperty"
  20539. ],
  20540. "properties": {
  20541. "auctionwrtype": {
  20542. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20543. "type": "integer"
  20544. },
  20545. "canacceptquote": {
  20546. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20547. "type": "integer"
  20548. },
  20549. "cangoodsexercise": {
  20550. "description": "[期权]是否可现货行权- 0:否 1:是",
  20551. "type": "integer"
  20552. },
  20553. "cangoodsexercisetype": {
  20554. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20555. "type": "integer"
  20556. },
  20557. "canmanualquotestrike": {
  20558. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20559. "type": "integer"
  20560. },
  20561. "canmutistage": {
  20562. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20563. "type": "integer"
  20564. },
  20565. "canpreexercise": {
  20566. "description": "[期权]是否可预申报- 0:否 1:是",
  20567. "type": "integer"
  20568. },
  20569. "clearinterval": {
  20570. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20571. "type": "integer"
  20572. },
  20573. "contracttmp": {
  20574. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20575. "type": "string"
  20576. },
  20577. "exchareaid": {
  20578. "description": "所属交易所,可以没有",
  20579. "type": "integer"
  20580. },
  20581. "goodstype": {
  20582. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20583. "type": "integer"
  20584. },
  20585. "hasrebate": {
  20586. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20587. "type": "integer"
  20588. },
  20589. "hastradecredit": {
  20590. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20591. "type": "integer"
  20592. },
  20593. "haswr": {
  20594. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20595. "type": "integer"
  20596. },
  20597. "isdeductmargin": {
  20598. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20599. "type": "integer"
  20600. },
  20601. "isrecordsource": {
  20602. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20603. "type": "integer"
  20604. },
  20605. "isreleasemargin": {
  20606. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20607. "type": "integer"
  20608. },
  20609. "marginformula": {
  20610. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20611. "type": "integer"
  20612. },
  20613. "marginformula2": {
  20614. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20615. "type": "integer"
  20616. },
  20617. "marketid": {
  20618. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20619. "type": "integer"
  20620. },
  20621. "marketname": {
  20622. "description": "市场名称",
  20623. "type": "string"
  20624. },
  20625. "marketserviceid": {
  20626. "description": "市场服务ID",
  20627. "type": "integer"
  20628. },
  20629. "marketstatus": {
  20630. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20631. "type": "integer"
  20632. },
  20633. "markettype": {
  20634. "description": "市场类型- 1:非交易服务 2:交易服务",
  20635. "type": "integer"
  20636. },
  20637. "matchermode": {
  20638. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20639. "type": "integer"
  20640. },
  20641. "openmethod": {
  20642. "description": "开盘模式 - 0 自动 1手动",
  20643. "type": "integer"
  20644. },
  20645. "otcuserid": {
  20646. "description": "场外期权做市商[场外期权]",
  20647. "type": "integer"
  20648. },
  20649. "outersynctime": {
  20650. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20651. "type": "string"
  20652. },
  20653. "pendingflag": {
  20654. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20655. "type": "integer"
  20656. },
  20657. "pendingtime": {
  20658. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20659. "type": "string"
  20660. },
  20661. "performancetempid": {
  20662. "description": "履约计划模板ID - 作废",
  20663. "type": "integer"
  20664. },
  20665. "premiumquotemode": {
  20666. "description": "权利金报价方式 - 1:自动 2:手动",
  20667. "type": "integer"
  20668. },
  20669. "rebateratio": {
  20670. "description": "返利比率[竞价式]",
  20671. "type": "number"
  20672. },
  20673. "reckonorder": {
  20674. "description": "结算顺序",
  20675. "type": "integer"
  20676. },
  20677. "reckonpricealgorithm": {
  20678. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20679. "type": "integer"
  20680. },
  20681. "reckonpriceparam": {
  20682. "description": "结算价参数",
  20683. "type": "integer"
  20684. },
  20685. "reckontime": {
  20686. "description": "结算时间[通道交易-对冲](HH:mm)",
  20687. "type": "string"
  20688. },
  20689. "roleprioritytype": {
  20690. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20691. "type": "integer"
  20692. },
  20693. "selllistingauditflag": {
  20694. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20695. "type": "integer"
  20696. },
  20697. "trademarkettype": {
  20698. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20699. "type": "integer"
  20700. },
  20701. "trademode": {
  20702. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20703. "type": "integer"
  20704. },
  20705. "tradeproperty": {
  20706. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20707. "type": "integer"
  20708. },
  20709. "tradetype": {
  20710. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20711. "type": "integer"
  20712. }
  20713. }
  20714. },
  20715. "models.Marketrun": {
  20716. "type": "object",
  20717. "required": [
  20718. "marketid",
  20719. "nexttradedate",
  20720. "reckonflag",
  20721. "runstatus",
  20722. "tradedate",
  20723. "tradedate2"
  20724. ],
  20725. "properties": {
  20726. "afternexttradedate": {
  20727. "description": "下下交易日",
  20728. "type": "string"
  20729. },
  20730. "clearquoteflag": {
  20731. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20732. "type": "integer"
  20733. },
  20734. "lastreckondate": {
  20735. "description": "最新交易日(结算成功)",
  20736. "type": "string"
  20737. },
  20738. "machinedate": {
  20739. "description": "机器时间",
  20740. "type": "string"
  20741. },
  20742. "manualflag": {
  20743. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20744. "type": "integer"
  20745. },
  20746. "marketid": {
  20747. "description": "市场ID",
  20748. "type": "integer"
  20749. },
  20750. "nexttradedate": {
  20751. "description": "下一交易日",
  20752. "type": "string"
  20753. },
  20754. "pretradedate": {
  20755. "description": "上一交易日",
  20756. "type": "string"
  20757. },
  20758. "reckonflag": {
  20759. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20760. "type": "integer"
  20761. },
  20762. "runstatus": {
  20763. "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.今日免清算",
  20764. "type": "integer"
  20765. },
  20766. "sectionid": {
  20767. "description": "时间段号[多时段时用]",
  20768. "type": "integer"
  20769. },
  20770. "tradedate": {
  20771. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20772. "type": "string"
  20773. },
  20774. "tradedate2": {
  20775. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20776. "type": "string"
  20777. },
  20778. "updatetime": {
  20779. "description": "更新时间",
  20780. "type": "string"
  20781. }
  20782. }
  20783. },
  20784. "models.Messageboard": {
  20785. "type": "object",
  20786. "required": [
  20787. "messageboardid"
  20788. ],
  20789. "properties": {
  20790. "contactnum": {
  20791. "description": "联系电话",
  20792. "type": "string"
  20793. },
  20794. "createtime": {
  20795. "description": "创建时间",
  20796. "type": "string"
  20797. },
  20798. "message": {
  20799. "description": "留言信息",
  20800. "type": "string"
  20801. },
  20802. "messageboardid": {
  20803. "description": "留言簿ID(SEQ_MessageBoard)",
  20804. "type": "integer"
  20805. },
  20806. "userid": {
  20807. "description": "用户ID",
  20808. "type": "integer"
  20809. }
  20810. }
  20811. },
  20812. "models.MyCoupon": {
  20813. "type": "object",
  20814. "required": [
  20815. "accountid",
  20816. "coupontypeid"
  20817. ],
  20818. "properties": {
  20819. "accountid": {
  20820. "description": "资金账户ID",
  20821. "type": "integer"
  20822. },
  20823. "areauserid": {
  20824. "description": "所属机构",
  20825. "type": "integer"
  20826. },
  20827. "conditionvalue": {
  20828. "description": "条件阈值(可为0)",
  20829. "type": "number"
  20830. },
  20831. "couponcategroy": {
  20832. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20833. "type": "integer"
  20834. },
  20835. "couponname": {
  20836. "description": "优惠券名称",
  20837. "type": "string"
  20838. },
  20839. "coupontypeid": {
  20840. "description": "优惠券类型ID",
  20841. "type": "string"
  20842. },
  20843. "couponvalue": {
  20844. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20845. "type": "number"
  20846. },
  20847. "curfreezeqty": {
  20848. "description": "期末冻结数量",
  20849. "type": "integer"
  20850. },
  20851. "curqty": {
  20852. "description": "期末数量",
  20853. "type": "integer"
  20854. },
  20855. "isgeneral": {
  20856. "description": "是否通用券 - 0:否 1:是",
  20857. "type": "integer"
  20858. },
  20859. "isunusable": {
  20860. "description": "是否不可用",
  20861. "type": "boolean"
  20862. },
  20863. "limitedflag": {
  20864. "description": "是否指定商品 - 0:不限 1:限制",
  20865. "type": "integer"
  20866. },
  20867. "limitedgoodsids": {
  20868. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20869. "type": "string"
  20870. },
  20871. "orifreezeqty": {
  20872. "description": "期初冻结数量",
  20873. "type": "integer"
  20874. },
  20875. "oriqty": {
  20876. "description": "期初数量",
  20877. "type": "integer"
  20878. },
  20879. "reasontype": {
  20880. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20881. "type": "integer"
  20882. },
  20883. "todaydecrease": {
  20884. "description": "今日减少",
  20885. "type": "integer"
  20886. },
  20887. "todayincrease": {
  20888. "description": "今日增加",
  20889. "type": "integer"
  20890. },
  20891. "userid": {
  20892. "description": "用户ID",
  20893. "type": "integer"
  20894. },
  20895. "userscope": {
  20896. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20897. "type": "string"
  20898. }
  20899. }
  20900. },
  20901. "models.MyCouponHold": {
  20902. "type": "object",
  20903. "required": [
  20904. "couponholdid"
  20905. ],
  20906. "properties": {
  20907. "accountid": {
  20908. "description": "资金账户ID",
  20909. "type": "integer"
  20910. },
  20911. "conditionvalue": {
  20912. "description": "条件阈值(可为0)",
  20913. "type": "number"
  20914. },
  20915. "couponcategroy": {
  20916. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20917. "type": "integer"
  20918. },
  20919. "couponholdid": {
  20920. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20921. "type": "string"
  20922. },
  20923. "couponname": {
  20924. "description": "优惠券名称",
  20925. "type": "string"
  20926. },
  20927. "coupontypeid": {
  20928. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20929. "type": "string"
  20930. },
  20931. "couponvalue": {
  20932. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20933. "type": "number"
  20934. },
  20935. "createtime": {
  20936. "description": "创建时间",
  20937. "type": "string"
  20938. },
  20939. "enddate": {
  20940. "description": "结束日期",
  20941. "type": "string"
  20942. },
  20943. "giveapplyid": {
  20944. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20945. "type": "integer"
  20946. },
  20947. "holdstatus": {
  20948. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20949. "type": "integer"
  20950. },
  20951. "isgeneral": {
  20952. "description": "是否通用券 - 0:否 1:是",
  20953. "type": "integer"
  20954. },
  20955. "limitedflag": {
  20956. "description": "是否指定商品 - 0:不限 1:限制",
  20957. "type": "integer"
  20958. },
  20959. "limitedgoodsids": {
  20960. "description": "指定商品IDs[逗号分隔]",
  20961. "type": "string"
  20962. },
  20963. "qty": {
  20964. "description": "数量(按1平铺)",
  20965. "type": "integer"
  20966. },
  20967. "startdate": {
  20968. "description": "开始日期",
  20969. "type": "string"
  20970. },
  20971. "userid": {
  20972. "description": "用户ID",
  20973. "type": "integer"
  20974. },
  20975. "userscope": {
  20976. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20977. "type": "string"
  20978. }
  20979. }
  20980. },
  20981. "models.MyUsedCoupon": {
  20982. "type": "object",
  20983. "required": [
  20984. "coupontypeid",
  20985. "orderid"
  20986. ],
  20987. "properties": {
  20988. "accountid": {
  20989. "description": "资金账户ID(买方)",
  20990. "type": "integer"
  20991. },
  20992. "conditionvalue": {
  20993. "description": "条件阈值(可为0)",
  20994. "type": "number"
  20995. },
  20996. "couponcategroy": {
  20997. "description": "种类 - 1:现金券 2:折扣券",
  20998. "type": "integer"
  20999. },
  21000. "couponname": {
  21001. "description": "优惠券名称",
  21002. "type": "string"
  21003. },
  21004. "coupontypeid": {
  21005. "description": "优惠券类型ID(买方)",
  21006. "type": "string"
  21007. },
  21008. "couponvalue": {
  21009. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21010. "type": "number"
  21011. },
  21012. "createtime": {
  21013. "description": "创建时间",
  21014. "type": "string"
  21015. },
  21016. "goodsid": {
  21017. "description": "商品ID",
  21018. "type": "integer"
  21019. },
  21020. "handlestatus": {
  21021. "description": "处理状态",
  21022. "type": "integer"
  21023. },
  21024. "marketid": {
  21025. "description": "市场ID",
  21026. "type": "integer"
  21027. },
  21028. "offamount": {
  21029. "description": "优惠金额",
  21030. "type": "number"
  21031. },
  21032. "orderid": {
  21033. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21034. "type": "string"
  21035. },
  21036. "sellaccountid": {
  21037. "description": "资金账户ID(卖方)",
  21038. "type": "integer"
  21039. },
  21040. "tradeamount": {
  21041. "description": "成交金额",
  21042. "type": "number"
  21043. },
  21044. "tradeid": {
  21045. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21046. "type": "string"
  21047. },
  21048. "usedqty": {
  21049. "description": "使用数量",
  21050. "type": "integer"
  21051. }
  21052. }
  21053. },
  21054. "models.OperationPrimaryMenu": {
  21055. "type": "object",
  21056. "properties": {
  21057. "Children": {
  21058. "description": "二级功能菜单",
  21059. "type": "array",
  21060. "items": {
  21061. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21062. }
  21063. },
  21064. "Key": {
  21065. "description": "菜单KEY",
  21066. "type": "string"
  21067. },
  21068. "Label": {
  21069. "description": "菜单标题",
  21070. "type": "string"
  21071. }
  21072. }
  21073. },
  21074. "models.OperationSecondaryMenu": {
  21075. "type": "object",
  21076. "properties": {
  21077. "Key": {
  21078. "description": "菜单KEY",
  21079. "type": "string"
  21080. },
  21081. "Label": {
  21082. "description": "菜单标题",
  21083. "type": "string"
  21084. },
  21085. "TabList": {
  21086. "description": "三级功能菜单",
  21087. "type": "array",
  21088. "items": {
  21089. "$ref": "#/definitions/models.OperationTabMenu"
  21090. }
  21091. }
  21092. }
  21093. },
  21094. "models.OperationTabMenu": {
  21095. "type": "object",
  21096. "properties": {
  21097. "Key": {
  21098. "description": "菜单KEY",
  21099. "type": "string"
  21100. },
  21101. "Label": {
  21102. "description": "菜单标题",
  21103. "type": "string"
  21104. }
  21105. }
  21106. },
  21107. "models.PendingAuditBizModel": {
  21108. "type": "object",
  21109. "properties": {
  21110. "accountid": {
  21111. "description": "现货账户",
  21112. "type": "string"
  21113. },
  21114. "areaname": {
  21115. "description": "所属部门",
  21116. "type": "string"
  21117. },
  21118. "bizid": {
  21119. "description": "业务ID",
  21120. "type": "string"
  21121. },
  21122. "bizname": {
  21123. "description": "业务名称",
  21124. "type": "string"
  21125. },
  21126. "status": {
  21127. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21128. "type": "integer"
  21129. },
  21130. "type": {
  21131. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21132. "type": "integer"
  21133. }
  21134. }
  21135. },
  21136. "models.QueryErrorInfosRsp": {
  21137. "type": "object",
  21138. "required": [
  21139. "errorid"
  21140. ],
  21141. "properties": {
  21142. "description": {
  21143. "description": "异常描述",
  21144. "type": "string"
  21145. },
  21146. "errorcode": {
  21147. "description": "异常代码",
  21148. "type": "string"
  21149. },
  21150. "errorid": {
  21151. "description": "异常ID",
  21152. "type": "integer"
  21153. },
  21154. "modulecode": {
  21155. "description": "所属模块",
  21156. "type": "string"
  21157. },
  21158. "operatecode": {
  21159. "description": "所属操作",
  21160. "type": "string"
  21161. },
  21162. "rownumber": {
  21163. "description": "行号",
  21164. "type": "string"
  21165. }
  21166. }
  21167. },
  21168. "models.QueryHedgeOrderDetailRsp": {
  21169. "type": "object",
  21170. "properties": {
  21171. "accountid": {
  21172. "description": "账户ID",
  21173. "type": "integer"
  21174. },
  21175. "buyorsell": {
  21176. "description": "买卖 - 0:买 1:卖",
  21177. "type": "integer"
  21178. },
  21179. "cancellogincode": {
  21180. "description": "撤单人",
  21181. "type": "string"
  21182. },
  21183. "channelbuildtype": {
  21184. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21185. "type": "integer"
  21186. },
  21187. "channelinnerorderstatus": {
  21188. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21189. "type": "integer"
  21190. },
  21191. "channeloperatetype": {
  21192. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21193. "type": "integer"
  21194. },
  21195. "closetype": {
  21196. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21197. "type": "integer"
  21198. },
  21199. "curexchangerate": {
  21200. "description": "当前汇率",
  21201. "type": "number"
  21202. },
  21203. "exchangefullname": {
  21204. "description": "外部交易所全称",
  21205. "type": "string"
  21206. },
  21207. "goodscode": {
  21208. "description": "商品代码(内部)",
  21209. "type": "string"
  21210. },
  21211. "goodsid": {
  21212. "description": "商品ID",
  21213. "type": "integer"
  21214. },
  21215. "goodsname": {
  21216. "description": "商品名称",
  21217. "type": "string"
  21218. },
  21219. "marketid": {
  21220. "description": "市场ID",
  21221. "type": "integer"
  21222. },
  21223. "openfreezemargin": {
  21224. "description": "冻结保证金(冻结交易金额)",
  21225. "type": "number"
  21226. },
  21227. "orderid": {
  21228. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21229. "type": "string"
  21230. },
  21231. "orderlogincode": {
  21232. "description": "委托人",
  21233. "type": "string"
  21234. },
  21235. "orderprice": {
  21236. "description": "委托价格(账户)",
  21237. "type": "number"
  21238. },
  21239. "orderqty": {
  21240. "description": "委托数量",
  21241. "type": "integer"
  21242. },
  21243. "ordertime": {
  21244. "description": "委托时间",
  21245. "type": "string"
  21246. },
  21247. "pricemode": {
  21248. "description": "取价方式 - 1:市价 2: 限价",
  21249. "type": "integer"
  21250. },
  21251. "tradedate": {
  21252. "description": "交易日(yyyyMMdd)",
  21253. "type": "string"
  21254. },
  21255. "tradeqty": {
  21256. "description": "成交数量",
  21257. "type": "integer"
  21258. }
  21259. }
  21260. },
  21261. "models.QueryHedgeTradeDetailRsp": {
  21262. "type": "object",
  21263. "properties": {
  21264. "accountid": {
  21265. "description": "账号ID",
  21266. "type": "integer"
  21267. },
  21268. "buyorsell": {
  21269. "description": "方向 - 0:买 1:卖",
  21270. "type": "integer"
  21271. },
  21272. "channelbuildtype": {
  21273. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21274. "type": "integer"
  21275. },
  21276. "closecharge": {
  21277. "description": "平仓手续费(账户)",
  21278. "type": "number"
  21279. },
  21280. "closecharge2": {
  21281. "description": "平仓手续费(商品)",
  21282. "type": "number"
  21283. },
  21284. "closepl": {
  21285. "description": "平仓盈亏(账户)",
  21286. "type": "number"
  21287. },
  21288. "closepl2": {
  21289. "description": "平仓盈亏(商品)",
  21290. "type": "number"
  21291. },
  21292. "closepl3": {
  21293. "description": "平仓盈亏(账户)(逐笔)",
  21294. "type": "number"
  21295. },
  21296. "closepl4": {
  21297. "description": "平仓盈亏(商品)(逐笔)",
  21298. "type": "number"
  21299. },
  21300. "closetype": {
  21301. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21302. "type": "integer"
  21303. },
  21304. "curexchangerate": {
  21305. "description": "当前汇率",
  21306. "type": "number"
  21307. },
  21308. "exchangefullname": {
  21309. "description": "外部交易所全称",
  21310. "type": "string"
  21311. },
  21312. "goodscode": {
  21313. "description": "商品代码(内部)",
  21314. "type": "string"
  21315. },
  21316. "goodsid": {
  21317. "description": "商品ID",
  21318. "type": "integer"
  21319. },
  21320. "goodsname": {
  21321. "description": "商品名称",
  21322. "type": "string"
  21323. },
  21324. "marketid": {
  21325. "description": "市场ID",
  21326. "type": "integer"
  21327. },
  21328. "opencharge": {
  21329. "description": "建仓手续费(账户)",
  21330. "type": "number"
  21331. },
  21332. "opencharge2": {
  21333. "description": "建仓手续费(商品)",
  21334. "type": "number"
  21335. },
  21336. "orderid": {
  21337. "description": "委托单号",
  21338. "type": "string"
  21339. },
  21340. "orderlogincode": {
  21341. "description": "委托人",
  21342. "type": "string"
  21343. },
  21344. "tradeamount": {
  21345. "description": "成交金额(账户)",
  21346. "type": "number"
  21347. },
  21348. "tradedate": {
  21349. "description": "交易日(yyyyMMdd)",
  21350. "type": "string"
  21351. },
  21352. "tradeid": {
  21353. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21354. "type": "string"
  21355. },
  21356. "tradeprice": {
  21357. "description": "成交价格",
  21358. "type": "number"
  21359. },
  21360. "tradeqty": {
  21361. "description": "成交数量",
  21362. "type": "integer"
  21363. },
  21364. "tradetime": {
  21365. "description": "成交时间",
  21366. "type": "string"
  21367. },
  21368. "tradetype": {
  21369. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21370. "type": "integer"
  21371. }
  21372. }
  21373. },
  21374. "models.QuotePrimaryMenu": {
  21375. "type": "object",
  21376. "properties": {
  21377. "Index": {
  21378. "description": "序号",
  21379. "type": "integer"
  21380. },
  21381. "Key": {
  21382. "description": "键名",
  21383. "type": "string"
  21384. },
  21385. "Name": {
  21386. "description": "菜单名称",
  21387. "type": "string"
  21388. },
  21389. "SubMenus": {
  21390. "description": "子菜单",
  21391. "type": "array",
  21392. "items": {
  21393. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21394. }
  21395. },
  21396. "SubTitleType": {
  21397. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21398. "type": "integer"
  21399. },
  21400. "TradeModes": {
  21401. "description": "包含市场交易类型",
  21402. "type": "string"
  21403. }
  21404. }
  21405. },
  21406. "models.QuoteSecondaryMenu": {
  21407. "type": "object",
  21408. "properties": {
  21409. "ExExchangeCode": {
  21410. "description": "外部交易所代码",
  21411. "type": "string"
  21412. },
  21413. "ExExchangeID": {
  21414. "description": "外部交易所ID",
  21415. "type": "integer"
  21416. },
  21417. "GoodsGroupIDs": {
  21418. "description": "商品组ID列表",
  21419. "type": "array",
  21420. "items": {
  21421. "type": "integer"
  21422. }
  21423. },
  21424. "Index": {
  21425. "description": "序号",
  21426. "type": "integer"
  21427. },
  21428. "MarketID": {
  21429. "description": "市场ID",
  21430. "type": "integer"
  21431. },
  21432. "MenuTitle": {
  21433. "description": "菜单标题(市场名称或外部交易所名称)",
  21434. "type": "string"
  21435. },
  21436. "TradeMode": {
  21437. "description": "交易模式",
  21438. "type": "integer"
  21439. }
  21440. }
  21441. },
  21442. "models.RelatedGoodsEx": {
  21443. "type": "object",
  21444. "properties": {
  21445. "goodscode": {
  21446. "description": "商品代码",
  21447. "type": "string"
  21448. },
  21449. "goodsid": {
  21450. "description": "商品id",
  21451. "type": "integer"
  21452. },
  21453. "goodsname": {
  21454. "description": "商品名称",
  21455. "type": "string"
  21456. }
  21457. }
  21458. },
  21459. "models.SearchGoods": {
  21460. "type": "object",
  21461. "required": [
  21462. "goodscode",
  21463. "goodsid",
  21464. "goodsname",
  21465. "marketid",
  21466. "trademode"
  21467. ],
  21468. "properties": {
  21469. "goodscode": {
  21470. "description": "商品代码(内部)",
  21471. "type": "string"
  21472. },
  21473. "goodsid": {
  21474. "description": "商品ID(自增ID SEQ_GOODS)",
  21475. "type": "integer"
  21476. },
  21477. "goodsname": {
  21478. "description": "商品名称",
  21479. "type": "string"
  21480. },
  21481. "marketid": {
  21482. "description": "所属市场ID",
  21483. "type": "integer"
  21484. },
  21485. "marketname": {
  21486. "description": "市场名称",
  21487. "type": "string"
  21488. },
  21489. "trademode": {
  21490. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21491. "type": "integer"
  21492. }
  21493. }
  21494. },
  21495. "models.Systemparam": {
  21496. "type": "object",
  21497. "required": [
  21498. "paramcode"
  21499. ],
  21500. "properties": {
  21501. "loginid": {
  21502. "description": "更新用户账号,登录账号",
  21503. "type": "string"
  21504. },
  21505. "modifyflag": {
  21506. "description": "修改标志0 不允许修改 1 允许修改",
  21507. "type": "integer"
  21508. },
  21509. "paramcode": {
  21510. "description": "参数代码",
  21511. "type": "string"
  21512. },
  21513. "paramname": {
  21514. "description": "参数名",
  21515. "type": "string"
  21516. },
  21517. "paramtype": {
  21518. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21519. "type": "integer"
  21520. },
  21521. "paramvalue": {
  21522. "description": "参数值",
  21523. "type": "string"
  21524. },
  21525. "paramvalue2": {
  21526. "description": "参数值(CLOB)",
  21527. "type": "string"
  21528. },
  21529. "regexpress": {
  21530. "description": "正则表达式",
  21531. "type": "string"
  21532. },
  21533. "remark": {
  21534. "description": "备注",
  21535. "type": "string"
  21536. },
  21537. "serverip": {
  21538. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21539. "type": "string"
  21540. },
  21541. "showflag": {
  21542. "description": "是否显示0 不显示 1 显示",
  21543. "type": "integer"
  21544. },
  21545. "updatetime": {
  21546. "description": "更新时间",
  21547. "type": "string"
  21548. },
  21549. "userid": {
  21550. "description": "更新用户ID",
  21551. "type": "integer"
  21552. }
  21553. }
  21554. },
  21555. "models.Szdz3convertconfig": {
  21556. "type": "object",
  21557. "required": [
  21558. "converttype",
  21559. "innergoodsid",
  21560. "outergoodscode"
  21561. ],
  21562. "properties": {
  21563. "canin": {
  21564. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21565. "type": "integer"
  21566. },
  21567. "canout": {
  21568. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21569. "type": "integer"
  21570. },
  21571. "converttype": {
  21572. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21573. "type": "integer"
  21574. },
  21575. "createtime": {
  21576. "description": "创建时间",
  21577. "type": "string"
  21578. },
  21579. "creatorid": {
  21580. "description": "创建人",
  21581. "type": "integer"
  21582. },
  21583. "daymaxvalue": {
  21584. "description": "当日最大转入限制",
  21585. "type": "number"
  21586. },
  21587. "freezedays": {
  21588. "description": "冻结天数 [5:花生米转交易]",
  21589. "type": "integer"
  21590. },
  21591. "innergoodsid": {
  21592. "description": "内部商品ID[交易]",
  21593. "type": "integer"
  21594. },
  21595. "inratio": {
  21596. "description": "目标值",
  21597. "type": "integer"
  21598. },
  21599. "modifierid": {
  21600. "description": "修改人",
  21601. "type": "integer"
  21602. },
  21603. "modifytime": {
  21604. "description": "修改时间",
  21605. "type": "string"
  21606. },
  21607. "outergoodscode": {
  21608. "description": "外部商品代码[JD\\PD]",
  21609. "type": "string"
  21610. },
  21611. "outratio": {
  21612. "description": "源值",
  21613. "type": "integer"
  21614. },
  21615. "pddecimalplace": {
  21616. "description": "PD小数位",
  21617. "type": "integer"
  21618. },
  21619. "timemaxvalue": {
  21620. "description": "单次最大转入限制",
  21621. "type": "number"
  21622. },
  21623. "timeminvalue": {
  21624. "description": "单次最小转入限制",
  21625. "type": "number"
  21626. }
  21627. }
  21628. },
  21629. "models.Szdz3searchwhitelist": {
  21630. "type": "object",
  21631. "required": [
  21632. "userid"
  21633. ],
  21634. "properties": {
  21635. "createtime": {
  21636. "description": "创建时间",
  21637. "type": "string"
  21638. },
  21639. "creatorid": {
  21640. "description": "创建人",
  21641. "type": "integer"
  21642. },
  21643. "modifierid": {
  21644. "description": "修改人",
  21645. "type": "integer"
  21646. },
  21647. "modifytime": {
  21648. "description": "修改时间",
  21649. "type": "string"
  21650. },
  21651. "userid": {
  21652. "description": "用户ID",
  21653. "type": "integer"
  21654. }
  21655. }
  21656. },
  21657. "models.Taaccount": {
  21658. "type": "object",
  21659. "required": [
  21660. "accountid",
  21661. "userid"
  21662. ],
  21663. "properties": {
  21664. "accountflag": {
  21665. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21666. "type": "integer"
  21667. },
  21668. "accountid": {
  21669. "description": "资金账户ID",
  21670. "type": "integer"
  21671. },
  21672. "accountname": {
  21673. "description": "账户名称",
  21674. "type": "string"
  21675. },
  21676. "balance": {
  21677. "description": "期初余额",
  21678. "type": "number"
  21679. },
  21680. "capitalbalance": {
  21681. "description": "本金余额[外部子账户实际出入金余额]",
  21682. "type": "number"
  21683. },
  21684. "changeflag": {
  21685. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21686. "type": "integer"
  21687. },
  21688. "changetime": {
  21689. "description": "账户状态变更时间",
  21690. "type": "string"
  21691. },
  21692. "closepl": {
  21693. "description": "今日平仓盈亏",
  21694. "type": "number"
  21695. },
  21696. "creditdecrease": {
  21697. "description": "今日授信减少",
  21698. "type": "number"
  21699. },
  21700. "creditincrease": {
  21701. "description": "今日授信增加",
  21702. "type": "number"
  21703. },
  21704. "currencyid": {
  21705. "description": "货币ID",
  21706. "type": "integer"
  21707. },
  21708. "currentbalance": {
  21709. "description": "期末余额",
  21710. "type": "number"
  21711. },
  21712. "freezecharge": {
  21713. "description": "手续费冻结",
  21714. "type": "number"
  21715. },
  21716. "freezemargin": {
  21717. "description": "冻结保证金",
  21718. "type": "number"
  21719. },
  21720. "fromaccountid": {
  21721. "description": "所属上级账户",
  21722. "type": "integer"
  21723. },
  21724. "inamount": {
  21725. "description": "今日入金金额(包括三方入金)",
  21726. "type": "number"
  21727. },
  21728. "ismain": {
  21729. "description": "是否母账号 0:不是母账户 1:是母账户",
  21730. "type": "integer"
  21731. },
  21732. "ismarketaccount": {
  21733. "description": "是否机构接单账号 0:不是 1:是",
  21734. "type": "integer"
  21735. },
  21736. "isreckonaccount": {
  21737. "description": "是否机构分润账号 0:不是 1:是",
  21738. "type": "integer"
  21739. },
  21740. "mortgagecredit": {
  21741. "description": "授信金额",
  21742. "type": "number"
  21743. },
  21744. "orifreezecharge": {
  21745. "description": "期初手续费冻结",
  21746. "type": "number"
  21747. },
  21748. "orifreezemargin": {
  21749. "description": "期初冻结保证金",
  21750. "type": "number"
  21751. },
  21752. "orimortgagecredit": {
  21753. "description": "期初授信金额",
  21754. "type": "number"
  21755. },
  21756. "oriothercredit": {
  21757. "description": "期初其它授信金额",
  21758. "type": "number"
  21759. },
  21760. "oriotherfreezemargin": {
  21761. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21762. "type": "number"
  21763. },
  21764. "orioutamountfreeze": {
  21765. "description": "期初出金冻结",
  21766. "type": "number"
  21767. },
  21768. "oriusedmargin": {
  21769. "description": "期初占用保证金",
  21770. "type": "number"
  21771. },
  21772. "othercredit": {
  21773. "description": "其它授信金额",
  21774. "type": "number"
  21775. },
  21776. "othercreditdecrease": {
  21777. "description": "今日其它授信减少",
  21778. "type": "number"
  21779. },
  21780. "othercreditincrease": {
  21781. "description": "今日其它授信增加",
  21782. "type": "number"
  21783. },
  21784. "otherfreezemargin": {
  21785. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21786. "type": "number"
  21787. },
  21788. "otherincome": {
  21789. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21790. "type": "number"
  21791. },
  21792. "otherpay": {
  21793. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21794. "type": "number"
  21795. },
  21796. "outamount": {
  21797. "description": "今日出金金额(包括三方出金)",
  21798. "type": "number"
  21799. },
  21800. "outamountfreeze": {
  21801. "description": "出金冻结",
  21802. "type": "number"
  21803. },
  21804. "outthreshold": {
  21805. "description": "出金阈值",
  21806. "type": "number"
  21807. },
  21808. "parentaccountid": {
  21809. "description": "所属根账号",
  21810. "type": "integer"
  21811. },
  21812. "paycharge": {
  21813. "description": "今日手续费支出",
  21814. "type": "number"
  21815. },
  21816. "relatedaccountstatus": {
  21817. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21818. "type": "integer"
  21819. },
  21820. "relateduserid": {
  21821. "description": "关联用户",
  21822. "type": "integer"
  21823. },
  21824. "serivcegroup": {
  21825. "description": "服务分组",
  21826. "type": "integer"
  21827. },
  21828. "signstatus": {
  21829. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21830. "type": "integer"
  21831. },
  21832. "sublevelpath": {
  21833. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21834. "type": "string"
  21835. },
  21836. "taaccounttype": {
  21837. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21838. "type": "integer"
  21839. },
  21840. "thirdinamount": {
  21841. "description": "今日三方入金",
  21842. "type": "number"
  21843. },
  21844. "thirdoutamount": {
  21845. "description": "今日三方出金",
  21846. "type": "number"
  21847. },
  21848. "tradestatus": {
  21849. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21850. "type": "integer"
  21851. },
  21852. "tradestatuschangetime": {
  21853. "description": "激活时间",
  21854. "type": "string"
  21855. },
  21856. "transferamount": {
  21857. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21858. "type": "number"
  21859. },
  21860. "usedmargin": {
  21861. "description": "占用保证金",
  21862. "type": "number"
  21863. },
  21864. "userid": {
  21865. "description": "用户ID",
  21866. "type": "integer"
  21867. }
  21868. }
  21869. },
  21870. "models.Tablecolumnconfig": {
  21871. "type": "object",
  21872. "required": [
  21873. "autoid"
  21874. ],
  21875. "properties": {
  21876. "aligntype": {
  21877. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21878. "type": "integer"
  21879. },
  21880. "autoid": {
  21881. "description": "AutoID",
  21882. "type": "integer"
  21883. },
  21884. "columnfield": {
  21885. "description": "列字段",
  21886. "type": "string"
  21887. },
  21888. "columntitle": {
  21889. "description": "列Title",
  21890. "type": "string"
  21891. },
  21892. "columnwidth": {
  21893. "description": "列宽",
  21894. "type": "string"
  21895. },
  21896. "formatterstring": {
  21897. "description": "格式化字符",
  21898. "type": "string"
  21899. },
  21900. "formattertype": {
  21901. "description": "格式化类型",
  21902. "type": "string"
  21903. },
  21904. "groupname": {
  21905. "description": "表头分组名称",
  21906. "type": "string"
  21907. },
  21908. "isshow": {
  21909. "description": "是否显示 - 0:不显示 1:显示",
  21910. "type": "integer"
  21911. },
  21912. "needsummary": {
  21913. "description": "是否需要汇总 - 0:不需要 1:需要",
  21914. "type": "integer"
  21915. },
  21916. "orderindex": {
  21917. "description": "顺序",
  21918. "type": "integer"
  21919. },
  21920. "remark": {
  21921. "description": "备注",
  21922. "type": "string"
  21923. },
  21924. "summarytype": {
  21925. "description": "汇总类型 - 1:加总 2:最后一个",
  21926. "type": "integer"
  21927. },
  21928. "tablekey": {
  21929. "description": "列表Key",
  21930. "type": "string"
  21931. }
  21932. }
  21933. },
  21934. "models.Useraccount": {
  21935. "type": "object",
  21936. "required": [
  21937. "userid"
  21938. ],
  21939. "properties": {
  21940. "accountname": {
  21941. "description": "账户名称(机构名称)",
  21942. "type": "string"
  21943. },
  21944. "accountstatus": {
  21945. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21946. "type": "integer"
  21947. },
  21948. "auditremark": {
  21949. "description": "审核备注",
  21950. "type": "string"
  21951. },
  21952. "audittime": {
  21953. "description": "审核时间",
  21954. "type": "string"
  21955. },
  21956. "audituserid": {
  21957. "description": "审核人",
  21958. "type": "integer"
  21959. },
  21960. "broker": {
  21961. "description": "所属经纪人ID",
  21962. "type": "integer"
  21963. },
  21964. "canceltime": {
  21965. "description": "销户时间",
  21966. "type": "string"
  21967. },
  21968. "canceluserid": {
  21969. "description": "销户人",
  21970. "type": "integer"
  21971. },
  21972. "createtime": {
  21973. "description": "创建时间",
  21974. "type": "string"
  21975. },
  21976. "creatorid": {
  21977. "description": "创建人",
  21978. "type": "integer"
  21979. },
  21980. "hasauth": {
  21981. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21982. "type": "integer"
  21983. },
  21984. "isanonymous": {
  21985. "description": "是否匿名下单 - 0:否 1:是",
  21986. "type": "integer"
  21987. },
  21988. "maxinvestornum": {
  21989. "description": "最大用户数(经纪会员下投资者个数)",
  21990. "type": "integer"
  21991. },
  21992. "memberuserid": {
  21993. "description": "所属会员ID",
  21994. "type": "integer"
  21995. },
  21996. "modifierid": {
  21997. "description": "修改人",
  21998. "type": "integer"
  21999. },
  22000. "modifyremark": {
  22001. "description": "变更备注",
  22002. "type": "string"
  22003. },
  22004. "modifystatus": {
  22005. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22006. "type": "integer"
  22007. },
  22008. "modifytime": {
  22009. "description": "修改时间",
  22010. "type": "string"
  22011. },
  22012. "parentuserid": {
  22013. "description": "所属机构ID",
  22014. "type": "integer"
  22015. },
  22016. "reckonaccountid": {
  22017. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22018. "type": "integer"
  22019. },
  22020. "refercount": {
  22021. "description": "推荐总人数",
  22022. "type": "integer"
  22023. },
  22024. "refereeuserid": {
  22025. "description": "推荐人ID",
  22026. "type": "integer"
  22027. },
  22028. "refernum": {
  22029. "description": "推荐码",
  22030. "type": "string"
  22031. },
  22032. "subarealevelpath": {
  22033. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22034. "type": "string"
  22035. },
  22036. "userid": {
  22037. "description": "用户ID",
  22038. "type": "integer"
  22039. },
  22040. "usertype": {
  22041. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22042. "type": "integer"
  22043. }
  22044. }
  22045. },
  22046. "models.Userfavoritegoods": {
  22047. "type": "object",
  22048. "required": [
  22049. "goodsid"
  22050. ],
  22051. "properties": {
  22052. "goodsid": {
  22053. "description": "商品ID",
  22054. "type": "integer"
  22055. }
  22056. }
  22057. },
  22058. "models.Userinfo": {
  22059. "type": "object",
  22060. "required": [
  22061. "userid"
  22062. ],
  22063. "properties": {
  22064. "address": {
  22065. "description": "地址",
  22066. "type": "string"
  22067. },
  22068. "attachment1": {
  22069. "description": "附件1",
  22070. "type": "string"
  22071. },
  22072. "attachment2": {
  22073. "description": "附件2",
  22074. "type": "string"
  22075. },
  22076. "bankaccount": {
  22077. "description": "银行帐号 (加密存储)",
  22078. "type": "string"
  22079. },
  22080. "bankaccountname": {
  22081. "description": "收款人名称",
  22082. "type": "string"
  22083. },
  22084. "bankcardfrontphotourl": {
  22085. "description": "银行卡正面照地址",
  22086. "type": "string"
  22087. },
  22088. "bankid": {
  22089. "description": "银行编码",
  22090. "type": "string"
  22091. },
  22092. "bankname": {
  22093. "description": "银行名称",
  22094. "type": "string"
  22095. },
  22096. "biznature": {
  22097. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22098. "type": "integer"
  22099. },
  22100. "bizscope": {
  22101. "description": "企业经营范围(企业)",
  22102. "type": "string"
  22103. },
  22104. "cardbackphotourl": {
  22105. "description": "证件背面图片地址",
  22106. "type": "string"
  22107. },
  22108. "cardfrontphotourl": {
  22109. "description": "证件正面图片地址",
  22110. "type": "string"
  22111. },
  22112. "cardnum": {
  22113. "description": "证件号码(加密存储)",
  22114. "type": "string"
  22115. },
  22116. "cardtypeid": {
  22117. "description": "证件类型ID",
  22118. "type": "integer"
  22119. },
  22120. "cityid": {
  22121. "description": "市",
  22122. "type": "integer"
  22123. },
  22124. "company": {
  22125. "description": "公司(个人)",
  22126. "type": "string"
  22127. },
  22128. "contactname": {
  22129. "description": "联系人",
  22130. "type": "string"
  22131. },
  22132. "countryid": {
  22133. "description": "国家",
  22134. "type": "integer"
  22135. },
  22136. "createtime": {
  22137. "description": "创建时间",
  22138. "type": "string"
  22139. },
  22140. "creatorid": {
  22141. "description": "创建人",
  22142. "type": "integer"
  22143. },
  22144. "customername": {
  22145. "description": "客户名称(企业名称)",
  22146. "type": "string"
  22147. },
  22148. "districtid": {
  22149. "description": "地区",
  22150. "type": "integer"
  22151. },
  22152. "email": {
  22153. "description": "邮件(加密存储)",
  22154. "type": "string"
  22155. },
  22156. "fax": {
  22157. "description": "传真(加密存储)",
  22158. "type": "string"
  22159. },
  22160. "halfbodyphotourl": {
  22161. "description": "半身照地址",
  22162. "type": "string"
  22163. },
  22164. "hasencrypt": {
  22165. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22166. "type": "integer"
  22167. },
  22168. "headurl": {
  22169. "description": "头像地址",
  22170. "type": "string"
  22171. },
  22172. "legalcardbackphotourl": {
  22173. "description": "法人身份证背面照地址",
  22174. "type": "string"
  22175. },
  22176. "legalcardfrontphotourl": {
  22177. "description": "法人身份证正面照地址",
  22178. "type": "string"
  22179. },
  22180. "legalpersonname": {
  22181. "description": "法人姓名(企业)",
  22182. "type": "string"
  22183. },
  22184. "mobile": {
  22185. "description": "手机号码(加密存储)",
  22186. "type": "string"
  22187. },
  22188. "mobile2": {
  22189. "description": "手机号码[明文-尚志]",
  22190. "type": "string"
  22191. },
  22192. "modifierid": {
  22193. "description": "修改人",
  22194. "type": "integer"
  22195. },
  22196. "modifiertime": {
  22197. "description": "修改时间",
  22198. "type": "string"
  22199. },
  22200. "needinvoice": {
  22201. "description": "是否需要发票 - 0:不需要 1:需要",
  22202. "type": "integer"
  22203. },
  22204. "nickname": {
  22205. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22206. "type": "string"
  22207. },
  22208. "openmode": {
  22209. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22210. "type": "integer"
  22211. },
  22212. "otherurl": {
  22213. "description": "其它图片地址[使用分号分隔]",
  22214. "type": "string"
  22215. },
  22216. "postalcode": {
  22217. "description": "邮政编码",
  22218. "type": "string"
  22219. },
  22220. "provinceid": {
  22221. "description": "省",
  22222. "type": "integer"
  22223. },
  22224. "qq": {
  22225. "description": "QQ(加密存储",
  22226. "type": "string"
  22227. },
  22228. "remark": {
  22229. "description": "备注",
  22230. "type": "string"
  22231. },
  22232. "sex": {
  22233. "description": "用户性别 0: 女 1: 男",
  22234. "type": "integer"
  22235. },
  22236. "signpdfurl": {
  22237. "description": "签约pdf文件",
  22238. "type": "string"
  22239. },
  22240. "telphone": {
  22241. "description": "联系电话(加密存储)",
  22242. "type": "string"
  22243. },
  22244. "userid": {
  22245. "description": "用户ID",
  22246. "type": "integer"
  22247. },
  22248. "userinfotype": {
  22249. "description": "用户信息类型 - 1:个人 2:企业",
  22250. "type": "integer"
  22251. },
  22252. "userstatus": {
  22253. "description": "用户状态 - 1:正常 2:注销",
  22254. "type": "integer"
  22255. },
  22256. "usertype": {
  22257. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22258. "type": "integer"
  22259. },
  22260. "wechat": {
  22261. "description": "微信(加密存储)",
  22262. "type": "string"
  22263. },
  22264. "wskhinfo": {
  22265. "description": "开户申请信息(JSON)",
  22266. "type": "string"
  22267. }
  22268. }
  22269. },
  22270. "models.WRSConverTDetail": {
  22271. "type": "object",
  22272. "properties": {
  22273. "convertratio": {
  22274. "description": "套保系数",
  22275. "type": "number"
  22276. },
  22277. "deliverygoodscode": {
  22278. "description": "现货商品代码",
  22279. "type": "string"
  22280. },
  22281. "deliverygoodsid": {
  22282. "description": "现货品种ID",
  22283. "type": "integer"
  22284. },
  22285. "deliverygoodsname": {
  22286. "description": "现货商品名称",
  22287. "type": "string"
  22288. },
  22289. "enumdicname": {
  22290. "description": "单位名称",
  22291. "type": "string"
  22292. },
  22293. "goodsunitid": {
  22294. "description": "套保品种单位id",
  22295. "type": "integer"
  22296. },
  22297. "middlegoodscode": {
  22298. "description": "套保品种代码",
  22299. "type": "string"
  22300. },
  22301. "middlegoodsid": {
  22302. "description": "套保品种ID",
  22303. "type": "integer"
  22304. },
  22305. "middlegoodsname": {
  22306. "description": "套保品种名称",
  22307. "type": "string"
  22308. },
  22309. "modifytime": {
  22310. "description": "修改时间",
  22311. "type": "string"
  22312. },
  22313. "wrstandardid": {
  22314. "description": "品类ID",
  22315. "type": "integer"
  22316. }
  22317. }
  22318. },
  22319. "models.WRStandardInfo": {
  22320. "type": "object",
  22321. "required": [
  22322. "wrstandardid"
  22323. ],
  22324. "properties": {
  22325. "areauserid": {
  22326. "description": "所属机构",
  22327. "type": "integer"
  22328. },
  22329. "convertfactor": {
  22330. "description": "标仓系数",
  22331. "type": "number"
  22332. },
  22333. "createtime": {
  22334. "description": "创建时间",
  22335. "type": "string"
  22336. },
  22337. "creatorid": {
  22338. "description": "创建人",
  22339. "type": "integer"
  22340. },
  22341. "deliverygoodsid": {
  22342. "description": "品种ID",
  22343. "type": "integer"
  22344. },
  22345. "deliverygoodsname": {
  22346. "description": "交割商品名称",
  22347. "type": "string"
  22348. },
  22349. "factoryitemjson": {
  22350. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22351. "type": "string"
  22352. },
  22353. "isvalid": {
  22354. "description": "是否有效 - 0:无效 1:有效",
  22355. "type": "integer"
  22356. },
  22357. "minivalue": {
  22358. "description": "最小变动值",
  22359. "type": "integer"
  22360. },
  22361. "minivaluedp": {
  22362. "description": "最小变动值小数位",
  22363. "type": "integer"
  22364. },
  22365. "realminivalue": {
  22366. "description": "实际最小变动值",
  22367. "type": "integer"
  22368. },
  22369. "realminivaluedp": {
  22370. "description": "实际最小变动值小数位",
  22371. "type": "integer"
  22372. },
  22373. "remark": {
  22374. "description": "备注",
  22375. "type": "string"
  22376. },
  22377. "unitid": {
  22378. "description": "单位ID",
  22379. "type": "integer"
  22380. },
  22381. "unitname": {
  22382. "description": "单位",
  22383. "type": "string"
  22384. },
  22385. "updatetime": {
  22386. "description": "更新时间",
  22387. "type": "string"
  22388. },
  22389. "updatorid": {
  22390. "description": "更新人",
  22391. "type": "integer"
  22392. },
  22393. "wrsstatus": {
  22394. "description": "状态 - 作废 - 0:未激活 1:正常",
  22395. "type": "integer"
  22396. },
  22397. "wrstandardcode": {
  22398. "description": "现货品类代码",
  22399. "type": "string"
  22400. },
  22401. "wrstandardid": {
  22402. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22403. "type": "integer"
  22404. },
  22405. "wrstandardname": {
  22406. "description": "现货品类名称",
  22407. "type": "string"
  22408. }
  22409. }
  22410. },
  22411. "models.Warehouseinfo": {
  22412. "type": "object",
  22413. "required": [
  22414. "autoid",
  22415. "warehousecode"
  22416. ],
  22417. "properties": {
  22418. "address": {
  22419. "description": "详细地址",
  22420. "type": "string"
  22421. },
  22422. "areauserid": {
  22423. "description": "所属机构",
  22424. "type": "integer"
  22425. },
  22426. "autoid": {
  22427. "description": "自增ID",
  22428. "type": "integer"
  22429. },
  22430. "cityid": {
  22431. "description": "市",
  22432. "type": "integer"
  22433. },
  22434. "contactname": {
  22435. "description": "联系人",
  22436. "type": "string"
  22437. },
  22438. "contactnum": {
  22439. "description": "联系电话",
  22440. "type": "string"
  22441. },
  22442. "countryid": {
  22443. "description": "国家",
  22444. "type": "integer"
  22445. },
  22446. "createtime": {
  22447. "description": "创建时间",
  22448. "type": "string"
  22449. },
  22450. "districtid": {
  22451. "description": "区",
  22452. "type": "integer"
  22453. },
  22454. "hasvideo": {
  22455. "description": "是否有视频 - 0:无 1:有",
  22456. "type": "integer"
  22457. },
  22458. "provinceid": {
  22459. "description": "省",
  22460. "type": "integer"
  22461. },
  22462. "remark": {
  22463. "description": "审核备注",
  22464. "type": "string"
  22465. },
  22466. "videourl": {
  22467. "description": "视频地址",
  22468. "type": "string"
  22469. },
  22470. "warehousecode": {
  22471. "description": "仓库代码",
  22472. "type": "string"
  22473. },
  22474. "warehousename": {
  22475. "description": "仓库名称",
  22476. "type": "string"
  22477. },
  22478. "warehousestatus": {
  22479. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22480. "type": "integer"
  22481. },
  22482. "warehousetype": {
  22483. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22484. "type": "integer"
  22485. }
  22486. }
  22487. },
  22488. "order.QueryHisTradeDetailRsp": {
  22489. "type": "object",
  22490. "required": [
  22491. "accountid",
  22492. "buyorsell",
  22493. "goodsid",
  22494. "histradedate",
  22495. "marketid",
  22496. "memberuserid",
  22497. "orderid",
  22498. "tradeamount",
  22499. "tradedate",
  22500. "tradeid",
  22501. "tradeprice",
  22502. "tradeqty",
  22503. "tradetime"
  22504. ],
  22505. "properties": {
  22506. "accountid": {
  22507. "description": "账户ID[报价币种]",
  22508. "type": "integer"
  22509. },
  22510. "buildtype": {
  22511. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22512. "type": "integer"
  22513. },
  22514. "buyorsell": {
  22515. "description": "方向 - 0:买 1:卖",
  22516. "type": "integer"
  22517. },
  22518. "charge": {
  22519. "description": "手续费",
  22520. "type": "number"
  22521. },
  22522. "closecharge": {
  22523. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22524. "type": "number"
  22525. },
  22526. "closeexchagechargevalue": {
  22527. "description": "平仓交易所手续费设置值",
  22528. "type": "number"
  22529. },
  22530. "closefeealgorithm": {
  22531. "description": "平仓手续费收取方式 1:比率 2:固定",
  22532. "type": "integer"
  22533. },
  22534. "closememberchargevalue": {
  22535. "description": "平仓会员手续费设置值",
  22536. "type": "number"
  22537. },
  22538. "closepl": {
  22539. "description": "平仓盈亏",
  22540. "type": "number"
  22541. },
  22542. "closepl2": {
  22543. "description": "平仓盈亏[逐笔]",
  22544. "type": "number"
  22545. },
  22546. "closeqty": {
  22547. "description": "平仓数量(先建后平操作 需要记录)",
  22548. "type": "integer"
  22549. },
  22550. "creditamount": {
  22551. "description": "授信金额",
  22552. "type": "number"
  22553. },
  22554. "gcaccountid": {
  22555. "description": "账户ID[合约币种]",
  22556. "type": "integer"
  22557. },
  22558. "goodscode": {
  22559. "description": "商品代码",
  22560. "type": "string"
  22561. },
  22562. "goodsid": {
  22563. "description": "商品ID",
  22564. "type": "integer"
  22565. },
  22566. "goodsname": {
  22567. "description": "商品名称",
  22568. "type": "string"
  22569. },
  22570. "histradedate": {
  22571. "description": "历史交易日",
  22572. "type": "string"
  22573. },
  22574. "intclosepl": {
  22575. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22576. "type": "integer"
  22577. },
  22578. "isconfirmexercise": {
  22579. "description": "是否确认行权- 0:否 1:是",
  22580. "type": "integer"
  22581. },
  22582. "ismain": {
  22583. "description": "是否主单 - 0:不是 1:是",
  22584. "type": "integer"
  22585. },
  22586. "ispreexercise": {
  22587. "description": "是否预申报- 0:否 1:是",
  22588. "type": "integer"
  22589. },
  22590. "isreckoned": {
  22591. "description": "是否结算 - 0:未结算 1:已结算",
  22592. "type": "integer"
  22593. },
  22594. "isvaliddata": {
  22595. "description": "是否有效 - 0:无效 1:有效",
  22596. "type": "integer"
  22597. },
  22598. "listingselecttype": {
  22599. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22600. "type": "integer"
  22601. },
  22602. "marketid": {
  22603. "description": "市场ID",
  22604. "type": "integer"
  22605. },
  22606. "marketname": {
  22607. "description": "市场名称",
  22608. "type": "string"
  22609. },
  22610. "matchaccountid": {
  22611. "description": "对手账号id",
  22612. "type": "integer"
  22613. },
  22614. "memberuserid": {
  22615. "description": "会员id 个人投资者 需要填写",
  22616. "type": "integer"
  22617. },
  22618. "opencharge": {
  22619. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22620. "type": "number"
  22621. },
  22622. "openexchagechargevalue": {
  22623. "description": "建仓交易所手续费设置值",
  22624. "type": "number"
  22625. },
  22626. "openfeealgorithm": {
  22627. "description": "建仓手续费收取方式 1:比率 2:固定",
  22628. "type": "integer"
  22629. },
  22630. "openmemberchargevalue": {
  22631. "description": "建仓会员手续费设置值",
  22632. "type": "number"
  22633. },
  22634. "openqty": {
  22635. "description": "开仓数量(先建后平操作 需要记录)",
  22636. "type": "integer"
  22637. },
  22638. "optiontype": {
  22639. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22640. "type": "integer"
  22641. },
  22642. "orderid": {
  22643. "description": "委托单号",
  22644. "type": "string"
  22645. },
  22646. "performanceplanid": {
  22647. "description": "履约计划ID[期权]",
  22648. "type": "integer"
  22649. },
  22650. "performancestatus": {
  22651. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22652. "type": "integer"
  22653. },
  22654. "preexerciseprice": {
  22655. "description": "预申报价格",
  22656. "type": "number"
  22657. },
  22658. "premium": {
  22659. "description": "权利金 - [持仓单的权利金]",
  22660. "type": "number"
  22661. },
  22662. "relatedouttradeid": {
  22663. "description": "关联外部成交单ID",
  22664. "type": "integer"
  22665. },
  22666. "status": {
  22667. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22668. "type": "integer"
  22669. },
  22670. "tradeamount": {
  22671. "description": "成交金额[账户币种,用于所有权]",
  22672. "type": "number"
  22673. },
  22674. "tradedate": {
  22675. "description": "交易日(yyyyMMdd)",
  22676. "type": "string"
  22677. },
  22678. "tradeid": {
  22679. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22680. "type": "string"
  22681. },
  22682. "trademode": {
  22683. "description": "交易模式",
  22684. "type": "integer"
  22685. },
  22686. "tradeprice": {
  22687. "description": "成交价格",
  22688. "type": "number"
  22689. },
  22690. "tradeproperty": {
  22691. "description": "交易属性",
  22692. "type": "integer"
  22693. },
  22694. "tradeqty": {
  22695. "description": "成交数量",
  22696. "type": "integer"
  22697. },
  22698. "tradetime": {
  22699. "description": "成交时间",
  22700. "type": "string"
  22701. },
  22702. "tradetype": {
  22703. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22704. "type": "integer"
  22705. }
  22706. }
  22707. },
  22708. "order.QueryHisTradeOrderDetailRsp": {
  22709. "type": "object",
  22710. "required": [
  22711. "accountid",
  22712. "buildtype",
  22713. "buyorsell",
  22714. "goodsid",
  22715. "histradedate",
  22716. "marketid",
  22717. "memberuserid",
  22718. "operatetype",
  22719. "orderid",
  22720. "orderqty",
  22721. "ordertime",
  22722. "pricemode",
  22723. "tradedate",
  22724. "validtype"
  22725. ],
  22726. "properties": {
  22727. "accountid": {
  22728. "description": "账户ID[报价币种]",
  22729. "type": "integer"
  22730. },
  22731. "buildtype": {
  22732. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22733. "type": "integer"
  22734. },
  22735. "buyorsell": {
  22736. "description": "买卖 - 0:买 1:卖",
  22737. "type": "integer"
  22738. },
  22739. "cancelorderid": {
  22740. "description": "撤单单号(撤单时填写)",
  22741. "type": "string"
  22742. },
  22743. "cancelqty": {
  22744. "description": "撤单数量",
  22745. "type": "integer"
  22746. },
  22747. "clientordertime": {
  22748. "description": "客户端委托时间",
  22749. "type": "string"
  22750. },
  22751. "clientticket": {
  22752. "description": "客户端流水号",
  22753. "type": "string"
  22754. },
  22755. "clienttype": {
  22756. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22757. "type": "integer"
  22758. },
  22759. "closeexchagechargevalue": {
  22760. "description": "平仓交易所手续费设置值",
  22761. "type": "number"
  22762. },
  22763. "closefeealgorithm": {
  22764. "description": "平仓手续费收取方式 1:比率 2:固定",
  22765. "type": "integer"
  22766. },
  22767. "closefreezecharge": {
  22768. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22769. "type": "number"
  22770. },
  22771. "closememberchargevalue": {
  22772. "description": "平仓会员手续费设置值",
  22773. "type": "number"
  22774. },
  22775. "closeqty": {
  22776. "description": "平仓数量(先建后平操作 需要记录)",
  22777. "type": "integer"
  22778. },
  22779. "closetradeqty": {
  22780. "description": "平仓成交数量(先建后平操作,需要记录)",
  22781. "type": "integer"
  22782. },
  22783. "closeunfreezecharge": {
  22784. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22785. "type": "number"
  22786. },
  22787. "delistingtype": {
  22788. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22789. "type": "integer"
  22790. },
  22791. "freezecharge": {
  22792. "description": "冻结手续费",
  22793. "type": "number"
  22794. },
  22795. "freezemargin": {
  22796. "description": "冻结保证金(冻结交易金额)",
  22797. "type": "number"
  22798. },
  22799. "gcaccountid": {
  22800. "description": "账户ID[合约币种]",
  22801. "type": "integer"
  22802. },
  22803. "goodscode": {
  22804. "description": "商品代码",
  22805. "type": "string"
  22806. },
  22807. "goodsid": {
  22808. "description": "商品ID",
  22809. "type": "integer"
  22810. },
  22811. "goodsname": {
  22812. "description": "商品名称",
  22813. "type": "string"
  22814. },
  22815. "histradedate": {
  22816. "description": "历史交易日",
  22817. "type": "string"
  22818. },
  22819. "isconfirmexercise": {
  22820. "description": "是否确认行权- 0:否 1:是",
  22821. "type": "integer"
  22822. },
  22823. "ispreexercise": {
  22824. "description": "是否预申报- 0:否 1:是",
  22825. "type": "integer"
  22826. },
  22827. "isvaliddata": {
  22828. "description": "是否有效 - 0:无效 1:有效",
  22829. "type": "integer"
  22830. },
  22831. "listingselecttype": {
  22832. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22833. "type": "integer"
  22834. },
  22835. "marginalgorithm": {
  22836. "description": "保证金收取方式 1:比率 2:固定",
  22837. "type": "integer"
  22838. },
  22839. "marginvalue": {
  22840. "description": "即市保证金设置值",
  22841. "type": "number"
  22842. },
  22843. "marketid": {
  22844. "description": "市场ID",
  22845. "type": "integer"
  22846. },
  22847. "marketmaxsub": {
  22848. "description": "市价最大偏移范围",
  22849. "type": "number"
  22850. },
  22851. "marketname": {
  22852. "description": "市场名称",
  22853. "type": "string"
  22854. },
  22855. "memberuserid": {
  22856. "description": "所属会员UserID",
  22857. "type": "integer"
  22858. },
  22859. "openexchagechargevalue": {
  22860. "description": "建仓交易所手续费设置值",
  22861. "type": "number"
  22862. },
  22863. "openfeealgorithm": {
  22864. "description": "建仓手续费收取方式 1:比率 2:固定",
  22865. "type": "integer"
  22866. },
  22867. "openfreezecharge": {
  22868. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22869. "type": "number"
  22870. },
  22871. "openmemberchargevalue": {
  22872. "description": "建仓会员手续费设置值",
  22873. "type": "number"
  22874. },
  22875. "openqty": {
  22876. "description": "开仓数量(先建后平操作,需要记录)",
  22877. "type": "integer"
  22878. },
  22879. "opentradeqty": {
  22880. "description": "开仓成交数量(先建后平操作,需要记录)",
  22881. "type": "integer"
  22882. },
  22883. "openunfreezecharge": {
  22884. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22885. "type": "number"
  22886. },
  22887. "operatetype": {
  22888. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22889. "type": "integer"
  22890. },
  22891. "operatorid": {
  22892. "description": "登录账号(LoginID)",
  22893. "type": "integer"
  22894. },
  22895. "optiontype": {
  22896. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22897. "type": "integer"
  22898. },
  22899. "orderid": {
  22900. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22901. "type": "string"
  22902. },
  22903. "orderprice": {
  22904. "description": "委托价格",
  22905. "type": "number"
  22906. },
  22907. "orderqty": {
  22908. "description": "委托数量",
  22909. "type": "integer"
  22910. },
  22911. "ordersrc": {
  22912. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22913. "type": "integer"
  22914. },
  22915. "orderstatus": {
  22916. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22917. "type": "integer"
  22918. },
  22919. "ordertime": {
  22920. "description": "委托时间",
  22921. "type": "string"
  22922. },
  22923. "preexerciseprice": {
  22924. "description": "预申报价格",
  22925. "type": "number"
  22926. },
  22927. "premium": {
  22928. "description": "权利金",
  22929. "type": "number"
  22930. },
  22931. "preorderid": {
  22932. "description": "关联预埋单号(止盈止损单时填写)",
  22933. "type": "string"
  22934. },
  22935. "pricemode": {
  22936. "description": "取价方式 - 1:市价 2: 限价",
  22937. "type": "integer"
  22938. },
  22939. "quoteid": {
  22940. "description": "报价单ID",
  22941. "type": "integer"
  22942. },
  22943. "relatedid": {
  22944. "description": "关联单号(交割单)",
  22945. "type": "string"
  22946. },
  22947. "retcode": {
  22948. "description": "错误代码",
  22949. "type": "integer"
  22950. },
  22951. "sessionid": {
  22952. "description": "会话ID",
  22953. "type": "integer"
  22954. },
  22955. "tradedate": {
  22956. "description": "交易日(yyyyMMdd)",
  22957. "type": "string"
  22958. },
  22959. "trademode": {
  22960. "description": "交易模式",
  22961. "type": "integer"
  22962. },
  22963. "tradeproperty": {
  22964. "description": "交易属性",
  22965. "type": "integer"
  22966. },
  22967. "tradeqty": {
  22968. "description": "成交数量",
  22969. "type": "integer"
  22970. },
  22971. "unfreezecharge": {
  22972. "description": "解冻手续费",
  22973. "type": "number"
  22974. },
  22975. "unfreezemargin": {
  22976. "description": "解冻保证金",
  22977. "type": "number"
  22978. },
  22979. "updatetime": {
  22980. "description": "更新时间",
  22981. "type": "string"
  22982. },
  22983. "uuid": {
  22984. "description": "发起端唯一id",
  22985. "type": "string"
  22986. },
  22987. "validtime": {
  22988. "description": "有效期限",
  22989. "type": "string"
  22990. },
  22991. "validtype": {
  22992. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22993. "type": "integer"
  22994. },
  22995. "volumetype": {
  22996. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22997. "type": "integer"
  22998. }
  22999. }
  23000. },
  23001. "order.QueryTradeDetailRsp": {
  23002. "type": "object",
  23003. "required": [
  23004. "accountid",
  23005. "buyorsell",
  23006. "goodsid",
  23007. "marketid",
  23008. "memberuserid",
  23009. "orderid",
  23010. "tradeamount",
  23011. "tradedate",
  23012. "tradeid",
  23013. "tradeprice",
  23014. "tradeqty",
  23015. "tradetime"
  23016. ],
  23017. "properties": {
  23018. "accountid": {
  23019. "description": "账户ID[报价币种]",
  23020. "type": "integer"
  23021. },
  23022. "buildtype": {
  23023. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23024. "type": "integer"
  23025. },
  23026. "buyorsell": {
  23027. "description": "方向 - 0:买 1:卖",
  23028. "type": "integer"
  23029. },
  23030. "charge": {
  23031. "description": "手续费",
  23032. "type": "number"
  23033. },
  23034. "closecharge": {
  23035. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23036. "type": "number"
  23037. },
  23038. "closeexchagechargevalue": {
  23039. "description": "平仓交易所手续费设置值",
  23040. "type": "number"
  23041. },
  23042. "closefeealgorithm": {
  23043. "description": "平仓手续费收取方式 1:比率 2:固定",
  23044. "type": "integer"
  23045. },
  23046. "closememberchargevalue": {
  23047. "description": "平仓会员手续费设置值",
  23048. "type": "number"
  23049. },
  23050. "closepl": {
  23051. "description": "平仓盈亏",
  23052. "type": "number"
  23053. },
  23054. "closepl2": {
  23055. "description": "平仓盈亏[逐笔]",
  23056. "type": "number"
  23057. },
  23058. "closeqty": {
  23059. "description": "平仓数量(先建后平操作 需要记录)",
  23060. "type": "integer"
  23061. },
  23062. "creditamount": {
  23063. "description": "授信金额",
  23064. "type": "number"
  23065. },
  23066. "gcaccountid": {
  23067. "description": "账户ID[合约币种]",
  23068. "type": "integer"
  23069. },
  23070. "goodscode": {
  23071. "description": "商品代码",
  23072. "type": "string"
  23073. },
  23074. "goodsid": {
  23075. "description": "商品ID",
  23076. "type": "integer"
  23077. },
  23078. "goodsname": {
  23079. "description": "商品名称",
  23080. "type": "string"
  23081. },
  23082. "intclosepl": {
  23083. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23084. "type": "integer"
  23085. },
  23086. "isconfirmexercise": {
  23087. "description": "是否确认行权- 0:否 1:是",
  23088. "type": "integer"
  23089. },
  23090. "ismain": {
  23091. "description": "是否主单 - 0:不是 1:是",
  23092. "type": "integer"
  23093. },
  23094. "ispreexercise": {
  23095. "description": "是否预申报- 0:否 1:是",
  23096. "type": "integer"
  23097. },
  23098. "isreckoned": {
  23099. "description": "是否结算 - 0:未结算 1:已结算",
  23100. "type": "integer"
  23101. },
  23102. "listingselecttype": {
  23103. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23104. "type": "integer"
  23105. },
  23106. "marketid": {
  23107. "description": "市场ID",
  23108. "type": "integer"
  23109. },
  23110. "marketname": {
  23111. "description": "市场名称",
  23112. "type": "string"
  23113. },
  23114. "matchaccountid": {
  23115. "description": "对手账号id",
  23116. "type": "integer"
  23117. },
  23118. "memberuserid": {
  23119. "description": "会员id 个人投资者 需要填写",
  23120. "type": "integer"
  23121. },
  23122. "opencharge": {
  23123. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23124. "type": "number"
  23125. },
  23126. "openexchagechargevalue": {
  23127. "description": "建仓交易所手续费设置值",
  23128. "type": "number"
  23129. },
  23130. "openfeealgorithm": {
  23131. "description": "建仓手续费收取方式 1:比率 2:固定",
  23132. "type": "integer"
  23133. },
  23134. "openmemberchargevalue": {
  23135. "description": "建仓会员手续费设置值",
  23136. "type": "number"
  23137. },
  23138. "openqty": {
  23139. "description": "开仓数量(先建后平操作 需要记录)",
  23140. "type": "integer"
  23141. },
  23142. "optiontype": {
  23143. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23144. "type": "integer"
  23145. },
  23146. "orderid": {
  23147. "description": "委托单号",
  23148. "type": "string"
  23149. },
  23150. "performanceplanid": {
  23151. "description": "履约计划ID[期权]",
  23152. "type": "integer"
  23153. },
  23154. "performancestatus": {
  23155. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23156. "type": "integer"
  23157. },
  23158. "preexerciseprice": {
  23159. "description": "预申报价格",
  23160. "type": "number"
  23161. },
  23162. "premium": {
  23163. "description": "权利金 - [持仓单的权利金]",
  23164. "type": "number"
  23165. },
  23166. "relatedouttradeid": {
  23167. "description": "关联外部成交单ID",
  23168. "type": "integer"
  23169. },
  23170. "status": {
  23171. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23172. "type": "integer"
  23173. },
  23174. "tradeamount": {
  23175. "description": "成交金额[账户币种,用于所有权]",
  23176. "type": "number"
  23177. },
  23178. "tradedate": {
  23179. "description": "交易日(yyyyMMdd)",
  23180. "type": "string"
  23181. },
  23182. "tradeid": {
  23183. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23184. "type": "string"
  23185. },
  23186. "trademode": {
  23187. "description": "交易模式",
  23188. "type": "integer"
  23189. },
  23190. "tradeprice": {
  23191. "description": "成交价格",
  23192. "type": "number"
  23193. },
  23194. "tradeproperty": {
  23195. "description": "交易属性",
  23196. "type": "integer"
  23197. },
  23198. "tradeqty": {
  23199. "description": "成交数量",
  23200. "type": "integer"
  23201. },
  23202. "tradetime": {
  23203. "description": "成交时间",
  23204. "type": "string"
  23205. },
  23206. "tradetype": {
  23207. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23208. "type": "integer"
  23209. }
  23210. }
  23211. },
  23212. "order.QueryTradeOrderDetailRsp": {
  23213. "type": "object",
  23214. "required": [
  23215. "accountid",
  23216. "buildtype",
  23217. "buyorsell",
  23218. "goodsid",
  23219. "marketid",
  23220. "operatetype",
  23221. "orderqty",
  23222. "ordertime",
  23223. "pricemode",
  23224. "tradedate",
  23225. "validtype"
  23226. ],
  23227. "properties": {
  23228. "accountid": {
  23229. "description": "账户ID[报价币种]",
  23230. "type": "integer"
  23231. },
  23232. "buildtype": {
  23233. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23234. "type": "integer"
  23235. },
  23236. "buyorsell": {
  23237. "description": "买卖 - 0:买 1:卖",
  23238. "type": "integer"
  23239. },
  23240. "cancelorderid": {
  23241. "description": "撤单单号(撤单时填写)",
  23242. "type": "string"
  23243. },
  23244. "cancelqty": {
  23245. "description": "撤单数量",
  23246. "type": "integer"
  23247. },
  23248. "clienttype": {
  23249. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23250. "type": "integer"
  23251. },
  23252. "closefreezecharge": {
  23253. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23254. "type": "number"
  23255. },
  23256. "closeqty": {
  23257. "description": "平仓数量(先建后平操作 需要记录)",
  23258. "type": "integer"
  23259. },
  23260. "closetradeqty": {
  23261. "description": "平仓成交数量(先建后平操作,需要记录)",
  23262. "type": "integer"
  23263. },
  23264. "closeunfreezecharge": {
  23265. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23266. "type": "number"
  23267. },
  23268. "delistingtype": {
  23269. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23270. "type": "integer"
  23271. },
  23272. "enableqty": {
  23273. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23274. "type": "integer"
  23275. },
  23276. "freezecharge": {
  23277. "description": "冻结手续费",
  23278. "type": "number"
  23279. },
  23280. "freezemargin": {
  23281. "description": "冻结保证金(冻结交易金额)",
  23282. "type": "number"
  23283. },
  23284. "goodscode": {
  23285. "description": "商品代码",
  23286. "type": "string"
  23287. },
  23288. "goodsid": {
  23289. "description": "商品ID",
  23290. "type": "integer"
  23291. },
  23292. "goodsname": {
  23293. "description": "商品名称",
  23294. "type": "string"
  23295. },
  23296. "listingselecttype": {
  23297. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23298. "type": "integer"
  23299. },
  23300. "marketid": {
  23301. "description": "市场ID",
  23302. "type": "integer"
  23303. },
  23304. "marketname": {
  23305. "description": "市场名称",
  23306. "type": "string"
  23307. },
  23308. "openfreezecharge": {
  23309. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23310. "type": "number"
  23311. },
  23312. "openqty": {
  23313. "description": "开仓数量(先建后平操作,需要记录)",
  23314. "type": "integer"
  23315. },
  23316. "opentradeqty": {
  23317. "description": "开仓成交数量(先建后平操作,需要记录)",
  23318. "type": "integer"
  23319. },
  23320. "openunfreezecharge": {
  23321. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23322. "type": "number"
  23323. },
  23324. "operatetype": {
  23325. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23326. "type": "integer"
  23327. },
  23328. "operatorid": {
  23329. "description": "登录账号(LoginID)",
  23330. "type": "integer"
  23331. },
  23332. "orderid": {
  23333. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23334. "type": "string"
  23335. },
  23336. "orderprice": {
  23337. "description": "委托价格",
  23338. "type": "number"
  23339. },
  23340. "orderqty": {
  23341. "description": "委托数量",
  23342. "type": "integer"
  23343. },
  23344. "ordersrc": {
  23345. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23346. "type": "integer"
  23347. },
  23348. "orderstatus": {
  23349. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23350. "type": "integer"
  23351. },
  23352. "ordertime": {
  23353. "description": "委托时间",
  23354. "type": "string"
  23355. },
  23356. "preorderid": {
  23357. "description": "关联预埋单号(止盈止损单时填写)",
  23358. "type": "string"
  23359. },
  23360. "pricemode": {
  23361. "description": "取价方式 - 1:市价 2: 限价",
  23362. "type": "integer"
  23363. },
  23364. "relatedid": {
  23365. "description": "关联单号(交割单)",
  23366. "type": "string"
  23367. },
  23368. "tradedate": {
  23369. "description": "交易日(yyyyMMdd)",
  23370. "type": "string"
  23371. },
  23372. "trademode": {
  23373. "description": "交易模式",
  23374. "type": "integer"
  23375. },
  23376. "tradeqty": {
  23377. "description": "成交数量",
  23378. "type": "integer"
  23379. },
  23380. "unfreezecharge": {
  23381. "description": "解冻手续费",
  23382. "type": "number"
  23383. },
  23384. "unfreezemargin": {
  23385. "description": "解冻保证金",
  23386. "type": "number"
  23387. },
  23388. "validtime": {
  23389. "description": "有效期限",
  23390. "type": "string"
  23391. },
  23392. "validtype": {
  23393. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23394. "type": "integer"
  23395. },
  23396. "volumetype": {
  23397. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23398. "type": "integer"
  23399. }
  23400. }
  23401. },
  23402. "order.QueryTradePositionRsp": {
  23403. "type": "object",
  23404. "required": [
  23405. "goodsid"
  23406. ],
  23407. "properties": {
  23408. "accountid": {
  23409. "description": "资金账户",
  23410. "type": "integer"
  23411. },
  23412. "agreeunit": {
  23413. "description": "合约单位",
  23414. "type": "number"
  23415. },
  23416. "averageprice": {
  23417. "description": "持仓均价",
  23418. "type": "number"
  23419. },
  23420. "buyorsell": {
  23421. "description": "方向 - 0:买 1:卖",
  23422. "type": "integer"
  23423. },
  23424. "closetotalqty": {
  23425. "description": "平仓总数量",
  23426. "type": "integer"
  23427. },
  23428. "curholderamount": {
  23429. "description": "当前持仓总金额[商品币种]",
  23430. "type": "number"
  23431. },
  23432. "curpositionqty": {
  23433. "description": "当前持仓总数量",
  23434. "type": "integer"
  23435. },
  23436. "currencyid": {
  23437. "description": "报价货币ID",
  23438. "type": "integer"
  23439. },
  23440. "curtdposition": {
  23441. "description": "期末今日头寸",
  23442. "type": "integer"
  23443. },
  23444. "decimalplace": {
  23445. "description": "报价小数位",
  23446. "type": "integer"
  23447. },
  23448. "enableqty": {
  23449. "description": "可用量",
  23450. "type": "integer"
  23451. },
  23452. "fretdposition": {
  23453. "description": "冻结今日头寸",
  23454. "type": "integer"
  23455. },
  23456. "frozenqty": {
  23457. "description": "持仓冻结数量",
  23458. "type": "integer"
  23459. },
  23460. "goodscode": {
  23461. "description": "商品代码",
  23462. "type": "string"
  23463. },
  23464. "goodsid": {
  23465. "description": "商品Id",
  23466. "type": "integer"
  23467. },
  23468. "goodsname": {
  23469. "description": "商品名称",
  23470. "type": "string"
  23471. },
  23472. "goodunit": {
  23473. "description": "报价单位",
  23474. "type": "string"
  23475. },
  23476. "goodunitid": {
  23477. "description": "报价单位ID",
  23478. "type": "integer"
  23479. },
  23480. "holderamount": {
  23481. "description": "期初持仓总金额[商品币种]",
  23482. "type": "number"
  23483. },
  23484. "marketid": {
  23485. "description": "所属市场ID",
  23486. "type": "integer"
  23487. },
  23488. "openreqqty": {
  23489. "description": "开仓申请数量(用于比较最大持仓数量)",
  23490. "type": "integer"
  23491. },
  23492. "opentotalqty": {
  23493. "description": "开仓总数量",
  23494. "type": "integer"
  23495. },
  23496. "otherfrozenqty": {
  23497. "description": "持仓其他冻结数量(交割冻结)",
  23498. "type": "integer"
  23499. },
  23500. "positionqty": {
  23501. "description": "期初持仓数量",
  23502. "type": "integer"
  23503. },
  23504. "tnqty": {
  23505. "description": "T+N冻结总量",
  23506. "type": "integer"
  23507. },
  23508. "tnusedqty": {
  23509. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23510. "type": "integer"
  23511. },
  23512. "trademode": {
  23513. "description": "交易模式",
  23514. "type": "integer"
  23515. },
  23516. "usedmargin": {
  23517. "description": "占用保证金[商品币种]",
  23518. "type": "number"
  23519. }
  23520. }
  23521. },
  23522. "quote.HistoryData": {
  23523. "type": "object",
  23524. "properties": {
  23525. "c": {
  23526. "description": "收盘价",
  23527. "type": "number"
  23528. },
  23529. "f": {
  23530. "description": "是否补充数据",
  23531. "type": "boolean"
  23532. },
  23533. "h": {
  23534. "description": "最高价",
  23535. "type": "number"
  23536. },
  23537. "hv": {
  23538. "description": "持仓量",
  23539. "type": "integer"
  23540. },
  23541. "l": {
  23542. "description": "最低价",
  23543. "type": "number"
  23544. },
  23545. "o": {
  23546. "description": "开盘价",
  23547. "type": "number"
  23548. },
  23549. "s": {
  23550. "description": "结算价,日线周期(包括)以上才有",
  23551. "type": "number"
  23552. },
  23553. "ts": {
  23554. "description": "时间",
  23555. "type": "string"
  23556. },
  23557. "tt": {
  23558. "description": "总金额",
  23559. "type": "number"
  23560. },
  23561. "tv": {
  23562. "description": "总量",
  23563. "type": "integer"
  23564. }
  23565. }
  23566. },
  23567. "quote.HistoryTikData": {
  23568. "type": "object",
  23569. "properties": {
  23570. "AV": {
  23571. "description": "卖量",
  23572. "type": "integer"
  23573. },
  23574. "Ask": {
  23575. "description": "卖价",
  23576. "type": "number"
  23577. },
  23578. "BV": {
  23579. "description": "买量",
  23580. "type": "integer"
  23581. },
  23582. "Bid": {
  23583. "description": "买价",
  23584. "type": "number"
  23585. },
  23586. "HI": {
  23587. "description": "单笔持仓",
  23588. "type": "integer"
  23589. },
  23590. "HV": {
  23591. "description": "持仓量",
  23592. "type": "integer"
  23593. },
  23594. "PE": {
  23595. "description": "现价",
  23596. "type": "number"
  23597. },
  23598. "TDR": {
  23599. "description": "交易方向,0:买 1:卖",
  23600. "type": "integer"
  23601. },
  23602. "TK": {
  23603. "description": "交易类型",
  23604. "type": "integer"
  23605. },
  23606. "TS": {
  23607. "description": "行情时间文本",
  23608. "type": "string"
  23609. },
  23610. "TT": {
  23611. "description": "现金额",
  23612. "type": "number"
  23613. },
  23614. "Vol": {
  23615. "description": "现量",
  23616. "type": "integer"
  23617. }
  23618. }
  23619. },
  23620. "quote.QueryQuoteDayRsp": {
  23621. "type": "object",
  23622. "properties": {
  23623. "ask": {
  23624. "description": "卖1",
  23625. "type": "number"
  23626. },
  23627. "ask10": {
  23628. "description": "卖10",
  23629. "type": "number"
  23630. },
  23631. "ask2": {
  23632. "description": "卖2",
  23633. "type": "number"
  23634. },
  23635. "ask3": {
  23636. "description": "卖3",
  23637. "type": "number"
  23638. },
  23639. "ask4": {
  23640. "description": "卖4",
  23641. "type": "number"
  23642. },
  23643. "ask5": {
  23644. "description": "卖5",
  23645. "type": "number"
  23646. },
  23647. "ask6": {
  23648. "description": "卖6",
  23649. "type": "number"
  23650. },
  23651. "ask7": {
  23652. "description": "卖7",
  23653. "type": "number"
  23654. },
  23655. "ask8": {
  23656. "description": "卖8",
  23657. "type": "number"
  23658. },
  23659. "ask9": {
  23660. "description": "卖9",
  23661. "type": "number"
  23662. },
  23663. "askorderid": {
  23664. "description": "卖单号1",
  23665. "type": "integer"
  23666. },
  23667. "askorderid2": {
  23668. "description": "卖单号2",
  23669. "type": "integer"
  23670. },
  23671. "askorderid3": {
  23672. "description": "卖单号3",
  23673. "type": "integer"
  23674. },
  23675. "askorderid4": {
  23676. "description": "卖单号4",
  23677. "type": "integer"
  23678. },
  23679. "askorderid5": {
  23680. "description": "卖单号5",
  23681. "type": "integer"
  23682. },
  23683. "askordervolume": {
  23684. "description": "卖单量1",
  23685. "type": "integer"
  23686. },
  23687. "askordervolume10": {
  23688. "description": "卖单量10",
  23689. "type": "integer"
  23690. },
  23691. "askordervolume2": {
  23692. "description": "卖单量2",
  23693. "type": "integer"
  23694. },
  23695. "askordervolume3": {
  23696. "description": "卖单量3",
  23697. "type": "integer"
  23698. },
  23699. "askordervolume4": {
  23700. "description": "卖单量4",
  23701. "type": "integer"
  23702. },
  23703. "askordervolume5": {
  23704. "description": "卖单量5",
  23705. "type": "integer"
  23706. },
  23707. "askordervolume6": {
  23708. "description": "卖单量6",
  23709. "type": "integer"
  23710. },
  23711. "askordervolume7": {
  23712. "description": "卖单量7",
  23713. "type": "integer"
  23714. },
  23715. "askordervolume8": {
  23716. "description": "卖单量8",
  23717. "type": "integer"
  23718. },
  23719. "askordervolume9": {
  23720. "description": "卖单量9",
  23721. "type": "integer"
  23722. },
  23723. "askqueueinfo": {
  23724. "description": "大利市卖港股用",
  23725. "type": "string"
  23726. },
  23727. "askvolume": {
  23728. "description": "卖量1",
  23729. "type": "integer"
  23730. },
  23731. "askvolume10": {
  23732. "description": "卖量10",
  23733. "type": "integer"
  23734. },
  23735. "askvolume2": {
  23736. "description": "卖量2",
  23737. "type": "integer"
  23738. },
  23739. "askvolume3": {
  23740. "description": "卖量3",
  23741. "type": "integer"
  23742. },
  23743. "askvolume4": {
  23744. "description": "卖量4",
  23745. "type": "integer"
  23746. },
  23747. "askvolume5": {
  23748. "description": "卖量5",
  23749. "type": "integer"
  23750. },
  23751. "askvolume6": {
  23752. "description": "卖量6",
  23753. "type": "integer"
  23754. },
  23755. "askvolume7": {
  23756. "description": "卖量7",
  23757. "type": "integer"
  23758. },
  23759. "askvolume8": {
  23760. "description": "卖量8",
  23761. "type": "integer"
  23762. },
  23763. "askvolume9": {
  23764. "description": "卖量9",
  23765. "type": "integer"
  23766. },
  23767. "averageprice": {
  23768. "description": "均价",
  23769. "type": "number"
  23770. },
  23771. "bid": {
  23772. "description": "买1",
  23773. "type": "number"
  23774. },
  23775. "bid10": {
  23776. "description": "买10",
  23777. "type": "number"
  23778. },
  23779. "bid2": {
  23780. "description": "买2",
  23781. "type": "number"
  23782. },
  23783. "bid3": {
  23784. "description": "买3",
  23785. "type": "number"
  23786. },
  23787. "bid4": {
  23788. "description": "买4",
  23789. "type": "number"
  23790. },
  23791. "bid5": {
  23792. "description": "买5",
  23793. "type": "number"
  23794. },
  23795. "bid6": {
  23796. "description": "买6",
  23797. "type": "number"
  23798. },
  23799. "bid7": {
  23800. "description": "买7",
  23801. "type": "number"
  23802. },
  23803. "bid8": {
  23804. "description": "买8",
  23805. "type": "number"
  23806. },
  23807. "bid9": {
  23808. "description": "买9",
  23809. "type": "number"
  23810. },
  23811. "bidorderid": {
  23812. "description": "买单号1",
  23813. "type": "integer"
  23814. },
  23815. "bidorderid2": {
  23816. "description": "买单号2",
  23817. "type": "integer"
  23818. },
  23819. "bidorderid3": {
  23820. "description": "买单号3",
  23821. "type": "integer"
  23822. },
  23823. "bidorderid4": {
  23824. "description": "买单号4",
  23825. "type": "integer"
  23826. },
  23827. "bidorderid5": {
  23828. "description": "买单号5",
  23829. "type": "integer"
  23830. },
  23831. "bidordervolume": {
  23832. "description": "买单量1",
  23833. "type": "integer"
  23834. },
  23835. "bidordervolume10": {
  23836. "description": "买单量10",
  23837. "type": "integer"
  23838. },
  23839. "bidordervolume2": {
  23840. "description": "买单量2",
  23841. "type": "integer"
  23842. },
  23843. "bidordervolume3": {
  23844. "description": "买单量3",
  23845. "type": "integer"
  23846. },
  23847. "bidordervolume4": {
  23848. "description": "买单量4",
  23849. "type": "integer"
  23850. },
  23851. "bidordervolume5": {
  23852. "description": "买单量5",
  23853. "type": "integer"
  23854. },
  23855. "bidordervolume6": {
  23856. "description": "买单量6",
  23857. "type": "integer"
  23858. },
  23859. "bidordervolume7": {
  23860. "description": "买单量7",
  23861. "type": "integer"
  23862. },
  23863. "bidordervolume8": {
  23864. "description": "买单量8",
  23865. "type": "integer"
  23866. },
  23867. "bidordervolume9": {
  23868. "description": "买单量9",
  23869. "type": "integer"
  23870. },
  23871. "bidqueueinfo": {
  23872. "description": "大利市买港股用",
  23873. "type": "string"
  23874. },
  23875. "bidvolume": {
  23876. "description": "买量1",
  23877. "type": "integer"
  23878. },
  23879. "bidvolume10": {
  23880. "description": "买量10",
  23881. "type": "integer"
  23882. },
  23883. "bidvolume2": {
  23884. "description": "买量2",
  23885. "type": "integer"
  23886. },
  23887. "bidvolume3": {
  23888. "description": "买量3",
  23889. "type": "integer"
  23890. },
  23891. "bidvolume4": {
  23892. "description": "买量4",
  23893. "type": "integer"
  23894. },
  23895. "bidvolume5": {
  23896. "description": "买量5",
  23897. "type": "integer"
  23898. },
  23899. "bidvolume6": {
  23900. "description": "买量6",
  23901. "type": "integer"
  23902. },
  23903. "bidvolume7": {
  23904. "description": "买量7",
  23905. "type": "integer"
  23906. },
  23907. "bidvolume8": {
  23908. "description": "买量8",
  23909. "type": "integer"
  23910. },
  23911. "bidvolume9": {
  23912. "description": "买量9",
  23913. "type": "integer"
  23914. },
  23915. "calloptionpremiums": {
  23916. "description": "认购期权1",
  23917. "type": "integer"
  23918. },
  23919. "calloptionpremiums2": {
  23920. "description": "认购期权2",
  23921. "type": "integer"
  23922. },
  23923. "calloptionpremiums3": {
  23924. "description": "认购期权3",
  23925. "type": "integer"
  23926. },
  23927. "calloptionpremiums4": {
  23928. "description": "认购期权4",
  23929. "type": "integer"
  23930. },
  23931. "calloptionpremiums5": {
  23932. "description": "认购期权5",
  23933. "type": "integer"
  23934. },
  23935. "cleartime": {
  23936. "description": "清盘时间",
  23937. "type": "integer"
  23938. },
  23939. "exchangecode": {
  23940. "description": "交易所代码",
  23941. "type": "integer"
  23942. },
  23943. "exchangedate": {
  23944. "description": "交易日",
  23945. "type": "integer"
  23946. },
  23947. "goodscode": {
  23948. "description": "商品代码",
  23949. "type": "string"
  23950. },
  23951. "grepmarketprice": {
  23952. "description": "暗盘价 港股专用",
  23953. "type": "number"
  23954. },
  23955. "highest": {
  23956. "description": "最高价",
  23957. "type": "number"
  23958. },
  23959. "holdincrement": {
  23960. "description": "单笔持仓",
  23961. "type": "integer"
  23962. },
  23963. "holdvolume": {
  23964. "description": "持仓",
  23965. "type": "integer"
  23966. },
  23967. "iep": {
  23968. "description": "平衡价 港股专用",
  23969. "type": "number"
  23970. },
  23971. "iev": {
  23972. "description": "平衡量 港股专用",
  23973. "type": "number"
  23974. },
  23975. "inventory": {
  23976. "description": "库存",
  23977. "type": "integer"
  23978. },
  23979. "iscleared": {
  23980. "description": "是否清盘标志",
  23981. "type": "integer"
  23982. },
  23983. "issettled": {
  23984. "description": "是否结算标志",
  23985. "type": "integer"
  23986. },
  23987. "last": {
  23988. "description": "最新价",
  23989. "type": "number"
  23990. },
  23991. "lastlot": {
  23992. "description": "最新成交手数",
  23993. "type": "integer"
  23994. },
  23995. "lasttime": {
  23996. "description": "行情时间(只有现价变化行情时间才变化)",
  23997. "type": "string"
  23998. },
  23999. "lastturnover": {
  24000. "description": "最新成交金额",
  24001. "type": "number"
  24002. },
  24003. "lastvolume": {
  24004. "description": "最新成交量",
  24005. "type": "integer"
  24006. },
  24007. "limitdown": {
  24008. "description": "跌停价",
  24009. "type": "number"
  24010. },
  24011. "limitup": {
  24012. "description": "涨停价",
  24013. "type": "number"
  24014. },
  24015. "lowest": {
  24016. "description": "最低价",
  24017. "type": "number"
  24018. },
  24019. "nontotalholdervolume": {
  24020. "description": "非交易持仓量",
  24021. "type": "integer"
  24022. },
  24023. "nontotallot": {
  24024. "description": "非交易总手数",
  24025. "type": "integer"
  24026. },
  24027. "nontotalturnover": {
  24028. "description": "非交易总金额",
  24029. "type": "integer"
  24030. },
  24031. "nontotalvolume": {
  24032. "description": "非交易总量",
  24033. "type": "integer"
  24034. },
  24035. "opened": {
  24036. "description": "开盘价",
  24037. "type": "number"
  24038. },
  24039. "opentime": {
  24040. "description": "开盘时间",
  24041. "type": "string"
  24042. },
  24043. "orderid": {
  24044. "description": "序号",
  24045. "type": "integer"
  24046. },
  24047. "preclose": {
  24048. "description": "昨收",
  24049. "type": "number"
  24050. },
  24051. "preholdvolume": {
  24052. "description": "昨持仓",
  24053. "type": "integer"
  24054. },
  24055. "presettle": {
  24056. "description": "昨结价",
  24057. "type": "number"
  24058. },
  24059. "publictradetype": {
  24060. "description": "公共交易标志类型 港股专用",
  24061. "type": "string"
  24062. },
  24063. "putoptionpremiums": {
  24064. "description": "认沽期权1",
  24065. "type": "integer"
  24066. },
  24067. "putoptionpremiums2": {
  24068. "description": "认沽期权2",
  24069. "type": "integer"
  24070. },
  24071. "putoptionpremiums3": {
  24072. "description": "认沽期权3",
  24073. "type": "integer"
  24074. },
  24075. "putoptionpremiums4": {
  24076. "description": "认沽期权4",
  24077. "type": "integer"
  24078. },
  24079. "putoptionpremiums5": {
  24080. "description": "认沽期权5",
  24081. "type": "integer"
  24082. },
  24083. "settle": {
  24084. "description": "结算价",
  24085. "type": "number"
  24086. },
  24087. "strikeprice": {
  24088. "description": "发行价",
  24089. "type": "number"
  24090. },
  24091. "totalaskvolume": {
  24092. "description": "内盘",
  24093. "type": "integer"
  24094. },
  24095. "totalbidvolume": {
  24096. "description": "外盘",
  24097. "type": "integer"
  24098. },
  24099. "totallot": {
  24100. "description": "总手数",
  24101. "type": "integer"
  24102. },
  24103. "totalturnover": {
  24104. "description": "总金额",
  24105. "type": "number"
  24106. },
  24107. "totalvolume": {
  24108. "description": "总量",
  24109. "type": "integer"
  24110. },
  24111. "utclasttime": {
  24112. "description": "utc的行情时间",
  24113. "type": "string"
  24114. }
  24115. }
  24116. },
  24117. "quote.QueryTSDataRsp": {
  24118. "type": "object",
  24119. "properties": {
  24120. "Count": {
  24121. "description": "交易日应有数据个数",
  24122. "type": "integer"
  24123. },
  24124. "decimalPlace": {
  24125. "description": "小数位",
  24126. "type": "integer"
  24127. },
  24128. "endTime": {
  24129. "description": "结束时间",
  24130. "type": "string"
  24131. },
  24132. "goodsCode": {
  24133. "description": "商品代码",
  24134. "type": "string"
  24135. },
  24136. "historyDatas": {
  24137. "description": "历史数据",
  24138. "type": "array",
  24139. "items": {
  24140. "$ref": "#/definitions/quote.HistoryData"
  24141. }
  24142. },
  24143. "outGoodsCode": {
  24144. "description": "外部商品代码",
  24145. "type": "string"
  24146. },
  24147. "preSettle": {
  24148. "description": "昨结价",
  24149. "type": "number"
  24150. },
  24151. "runSteps": {
  24152. "description": "交易日开休市计划",
  24153. "type": "array",
  24154. "items": {
  24155. "$ref": "#/definitions/quote.TSDataRunStep"
  24156. }
  24157. },
  24158. "startTime": {
  24159. "description": "开始时间",
  24160. "type": "string"
  24161. },
  24162. "tradeDate": {
  24163. "description": "交易日",
  24164. "type": "string"
  24165. }
  24166. }
  24167. },
  24168. "quote.TSDataRunStep": {
  24169. "type": "object",
  24170. "properties": {
  24171. "end": {
  24172. "description": "真实结束时间",
  24173. "type": "string"
  24174. },
  24175. "endflag": {
  24176. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24177. "type": "integer"
  24178. },
  24179. "endtime": {
  24180. "description": "结束时间(HH:mm)",
  24181. "type": "string"
  24182. },
  24183. "endweekday": {
  24184. "description": "结束周几",
  24185. "type": "integer"
  24186. },
  24187. "groupid": {
  24188. "description": "分组ID",
  24189. "type": "integer"
  24190. },
  24191. "runstep": {
  24192. "description": "运行阶段 - 2:连续交易",
  24193. "type": "integer"
  24194. },
  24195. "sectionid": {
  24196. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24197. "type": "integer"
  24198. },
  24199. "start": {
  24200. "description": "真实开始时间",
  24201. "type": "string"
  24202. },
  24203. "startflag": {
  24204. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24205. "type": "integer"
  24206. },
  24207. "starttime": {
  24208. "description": "起始时间(HH:mm)",
  24209. "type": "string"
  24210. },
  24211. "startweekday": {
  24212. "description": "起始周几",
  24213. "type": "integer"
  24214. },
  24215. "tradeweekday": {
  24216. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24217. "type": "integer"
  24218. }
  24219. }
  24220. },
  24221. "szdz.QueryConvertLogRsp": {
  24222. "type": "object",
  24223. "required": [
  24224. "logid"
  24225. ],
  24226. "properties": {
  24227. "accountid": {
  24228. "description": "资金账户ID",
  24229. "type": "integer"
  24230. },
  24231. "clientticket": {
  24232. "description": "客户端流水号",
  24233. "type": "string"
  24234. },
  24235. "converttype": {
  24236. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24237. "type": "integer"
  24238. },
  24239. "createtime": {
  24240. "description": "记账时间",
  24241. "type": "string"
  24242. },
  24243. "daymaxvalue": {
  24244. "description": "配置当日最大转入限制",
  24245. "type": "number"
  24246. },
  24247. "daymaxvalue2": {
  24248. "description": "配置当日最大转入限制(转入)",
  24249. "type": "number"
  24250. },
  24251. "goodscode": {
  24252. "description": "商品代码",
  24253. "type": "string"
  24254. },
  24255. "goodsname": {
  24256. "description": "商品名称",
  24257. "type": "string"
  24258. },
  24259. "handlestatus": {
  24260. "description": "处理状态",
  24261. "type": "integer"
  24262. },
  24263. "innergoodsid": {
  24264. "description": "内部商品ID",
  24265. "type": "integer"
  24266. },
  24267. "inratio": {
  24268. "description": "配置转入比值",
  24269. "type": "integer"
  24270. },
  24271. "invalue": {
  24272. "description": "目标值",
  24273. "type": "number"
  24274. },
  24275. "logid": {
  24276. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24277. "type": "integer"
  24278. },
  24279. "mobile": {
  24280. "description": "手机号码(加密存储)",
  24281. "type": "string"
  24282. },
  24283. "outergoodscode": {
  24284. "description": "外部商品代码[JD\\PD]",
  24285. "type": "string"
  24286. },
  24287. "outratio": {
  24288. "description": "配置转出比值",
  24289. "type": "integer"
  24290. },
  24291. "outvalue": {
  24292. "description": "源值",
  24293. "type": "number"
  24294. },
  24295. "pddecimalplace": {
  24296. "description": "PD小数位",
  24297. "type": "integer"
  24298. },
  24299. "qty": {
  24300. "description": "数量",
  24301. "type": "string"
  24302. },
  24303. "remark": {
  24304. "description": "备注",
  24305. "type": "string"
  24306. },
  24307. "sessionid": {
  24308. "description": "会话ID",
  24309. "type": "integer"
  24310. },
  24311. "timemaxvalue": {
  24312. "description": "配置单次最大转入限制",
  24313. "type": "number"
  24314. },
  24315. "timemaxvalue2": {
  24316. "description": "配置单次最大转入限制(转入)",
  24317. "type": "number"
  24318. },
  24319. "timeminvalue": {
  24320. "description": "配置单次最小数量限制",
  24321. "type": "number"
  24322. },
  24323. "timeminvalue2": {
  24324. "description": "配置单次最小数量限制(转入)",
  24325. "type": "number"
  24326. },
  24327. "tradedate": {
  24328. "description": "交易日(yyyyMMdd)",
  24329. "type": "string"
  24330. },
  24331. "userid": {
  24332. "description": "用户ID",
  24333. "type": "integer"
  24334. }
  24335. }
  24336. },
  24337. "szdz.QueryGoodsPickupRsp": {
  24338. "type": "object",
  24339. "required": [
  24340. "takeorderid"
  24341. ],
  24342. "properties": {
  24343. "accountid": {
  24344. "description": "账户ID",
  24345. "type": "integer"
  24346. },
  24347. "address": {
  24348. "description": "提货人详细地址",
  24349. "type": "string"
  24350. },
  24351. "auditer": {
  24352. "description": "审核人",
  24353. "type": "integer"
  24354. },
  24355. "audittime": {
  24356. "description": "审核时间",
  24357. "type": "string"
  24358. },
  24359. "cardnum": {
  24360. "description": "提货人证件号码",
  24361. "type": "string"
  24362. },
  24363. "cardtypeid": {
  24364. "description": "提货人证件类型",
  24365. "type": "integer"
  24366. },
  24367. "checkremark": {
  24368. "description": "审核备注",
  24369. "type": "string"
  24370. },
  24371. "goodscode": {
  24372. "description": "商品代码",
  24373. "type": "string"
  24374. },
  24375. "goodsid": {
  24376. "description": "商品ID",
  24377. "type": "integer"
  24378. },
  24379. "goodsname": {
  24380. "description": "商品名称",
  24381. "type": "string"
  24382. },
  24383. "handlestatus": {
  24384. "description": "处理状态",
  24385. "type": "integer"
  24386. },
  24387. "marketid": {
  24388. "description": "市场ID",
  24389. "type": "integer"
  24390. },
  24391. "phonenum": {
  24392. "description": "提货人联系方式",
  24393. "type": "string"
  24394. },
  24395. "qty": {
  24396. "description": "提货数量",
  24397. "type": "number"
  24398. },
  24399. "recivername": {
  24400. "description": "提货人姓名",
  24401. "type": "string"
  24402. },
  24403. "reqtime": {
  24404. "description": "更新时间",
  24405. "type": "string"
  24406. },
  24407. "takemode": {
  24408. "description": "提货方式 - 2:自提 3:配送",
  24409. "type": "integer"
  24410. },
  24411. "takeorderid": {
  24412. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24413. "type": "string"
  24414. },
  24415. "takeorderstatus": {
  24416. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24417. "type": "integer"
  24418. },
  24419. "takeremark": {
  24420. "description": "提货备注",
  24421. "type": "string"
  24422. },
  24423. "tradedate": {
  24424. "description": "交易日(yyyyMMdd)",
  24425. "type": "string"
  24426. },
  24427. "userid": {
  24428. "description": "用户ID",
  24429. "type": "integer"
  24430. }
  24431. }
  24432. },
  24433. "szdz.QueryRecieptOrderRsp": {
  24434. "type": "object",
  24435. "required": [
  24436. "ordertime"
  24437. ],
  24438. "properties": {
  24439. "accountName": {
  24440. "description": "所属账号名称(已脱敏)",
  24441. "type": "string"
  24442. },
  24443. "accountid": {
  24444. "description": "资金账号",
  24445. "type": "integer"
  24446. },
  24447. "buyorsell": {
  24448. "description": "方向 - 0:买 1:卖",
  24449. "type": "integer"
  24450. },
  24451. "enableqty": {
  24452. "description": "可摘数量",
  24453. "type": "integer"
  24454. },
  24455. "goodscode": {
  24456. "description": "商品代码",
  24457. "type": "string"
  24458. },
  24459. "goodsid": {
  24460. "description": "商品ID",
  24461. "type": "integer"
  24462. },
  24463. "goodsname": {
  24464. "description": "商品名称",
  24465. "type": "string"
  24466. },
  24467. "orderid": {
  24468. "description": "委托单号",
  24469. "type": "string"
  24470. },
  24471. "orderprice": {
  24472. "description": "委托价格",
  24473. "type": "number"
  24474. },
  24475. "ordertime": {
  24476. "description": "委托时间",
  24477. "type": "string"
  24478. },
  24479. "tradedate": {
  24480. "description": "交易日(yyyyMMdd)",
  24481. "type": "string"
  24482. }
  24483. }
  24484. },
  24485. "szdz.QuerySZDZTradePositionRsp": {
  24486. "type": "object",
  24487. "properties": {
  24488. "accountid": {
  24489. "description": "账号Id",
  24490. "type": "integer"
  24491. },
  24492. "agreeunit": {
  24493. "description": "合约单位",
  24494. "type": "number"
  24495. },
  24496. "averageprice": {
  24497. "description": "持仓均价",
  24498. "type": "number"
  24499. },
  24500. "buyorsell": {
  24501. "description": "方向 - 0:买 1:卖",
  24502. "type": "integer"
  24503. },
  24504. "closetotalqty": {
  24505. "description": "平仓总数量",
  24506. "type": "integer"
  24507. },
  24508. "curholderamount": {
  24509. "description": "当前持仓总金额",
  24510. "type": "number"
  24511. },
  24512. "curpositionqty": {
  24513. "description": "当前持仓总数量",
  24514. "type": "integer"
  24515. },
  24516. "currencyid": {
  24517. "description": "报价货币ID",
  24518. "type": "integer"
  24519. },
  24520. "curtdposition": {
  24521. "description": "期末今日头寸",
  24522. "type": "integer"
  24523. },
  24524. "decimalplace": {
  24525. "description": "报价小数位",
  24526. "type": "integer"
  24527. },
  24528. "enableqty": {
  24529. "description": "可用量",
  24530. "type": "integer"
  24531. },
  24532. "fretdposition": {
  24533. "description": "冻结今日头寸",
  24534. "type": "integer"
  24535. },
  24536. "frozenqty": {
  24537. "description": "持仓冻结数量",
  24538. "type": "integer"
  24539. },
  24540. "goodscode": {
  24541. "description": "商品代码(内部)",
  24542. "type": "string"
  24543. },
  24544. "goodsid": {
  24545. "description": "商品Id",
  24546. "type": "integer"
  24547. },
  24548. "goodsname": {
  24549. "description": "商品名称",
  24550. "type": "string"
  24551. },
  24552. "goodunit": {
  24553. "description": "报价单位",
  24554. "type": "string"
  24555. },
  24556. "goodunitid": {
  24557. "description": "报价单位ID",
  24558. "type": "integer"
  24559. },
  24560. "holderamount": {
  24561. "description": "期初持仓总金额",
  24562. "type": "number"
  24563. },
  24564. "marketid": {
  24565. "description": "市场ID",
  24566. "type": "integer"
  24567. },
  24568. "openreqqty": {
  24569. "description": "开仓申请数量",
  24570. "type": "integer"
  24571. },
  24572. "opentotalqty": {
  24573. "description": "开仓总数量",
  24574. "type": "integer"
  24575. },
  24576. "otherfrozenqty": {
  24577. "description": "持仓其他冻结数量(交割冻结)",
  24578. "type": "integer"
  24579. },
  24580. "positionqty": {
  24581. "description": "期初持仓数量",
  24582. "type": "integer"
  24583. },
  24584. "szdz3freezqty": {
  24585. "description": "尚志大宗转换冻结总数量",
  24586. "type": "integer"
  24587. },
  24588. "tnqty": {
  24589. "description": "T+N冻结总量",
  24590. "type": "integer"
  24591. },
  24592. "tnusedqty": {
  24593. "description": "T+N使用量",
  24594. "type": "integer"
  24595. },
  24596. "trademode": {
  24597. "description": "交易模式",
  24598. "type": "integer"
  24599. },
  24600. "usedmargin": {
  24601. "description": "占用保证金",
  24602. "type": "number"
  24603. }
  24604. }
  24605. },
  24606. "taaccount.QueryAmountLogRsp": {
  24607. "type": "object",
  24608. "required": [
  24609. "accountid",
  24610. "amount",
  24611. "amountadjusttype",
  24612. "autoid",
  24613. "balance",
  24614. "createtime",
  24615. "currentbalance",
  24616. "operatetype"
  24617. ],
  24618. "properties": {
  24619. "OPERATETYPENAME": {
  24620. "description": "资金操作类型名称",
  24621. "type": "string"
  24622. },
  24623. "accountid": {
  24624. "description": "资金账户ID",
  24625. "type": "integer"
  24626. },
  24627. "agoodscode": {
  24628. "description": "竞拍商品代码",
  24629. "type": "string"
  24630. },
  24631. "agoodsname": {
  24632. "description": "竞拍商品名称",
  24633. "type": "string"
  24634. },
  24635. "amount": {
  24636. "description": "资金金额",
  24637. "type": "number"
  24638. },
  24639. "amountadjusttype": {
  24640. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24641. "type": "integer"
  24642. },
  24643. "autoid": {
  24644. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24645. "type": "integer"
  24646. },
  24647. "balance": {
  24648. "description": "期初余额",
  24649. "type": "number"
  24650. },
  24651. "businesscode": {
  24652. "description": "业务编号",
  24653. "type": "integer"
  24654. },
  24655. "createtime": {
  24656. "description": "发生时间",
  24657. "type": "string"
  24658. },
  24659. "currencyid": {
  24660. "description": "币种ID",
  24661. "type": "integer"
  24662. },
  24663. "currentbalance": {
  24664. "description": "期末余额(变动后金额)",
  24665. "type": "number"
  24666. },
  24667. "dgoodscode": {
  24668. "description": "交割商品代码",
  24669. "type": "string"
  24670. },
  24671. "dgoodsname": {
  24672. "description": "交割商品名称",
  24673. "type": "string"
  24674. },
  24675. "goodscode": {
  24676. "description": "商品代码",
  24677. "type": "string"
  24678. },
  24679. "goodsid": {
  24680. "description": "商品ID",
  24681. "type": "integer"
  24682. },
  24683. "goodsname": {
  24684. "description": "商品名称",
  24685. "type": "string"
  24686. },
  24687. "marketid": {
  24688. "description": "市场ID",
  24689. "type": "integer"
  24690. },
  24691. "marketname": {
  24692. "description": "市场名称",
  24693. "type": "string"
  24694. },
  24695. "moneyticket": {
  24696. "description": "资金流水号:银行端流水号",
  24697. "type": "integer"
  24698. },
  24699. "operatetype": {
  24700. "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:营销收款",
  24701. "type": "integer"
  24702. },
  24703. "relationorderid": {
  24704. "description": "关联单号",
  24705. "type": "string"
  24706. },
  24707. "remark": {
  24708. "description": "备注",
  24709. "type": "string"
  24710. },
  24711. "trademode": {
  24712. "description": "交易模式",
  24713. "type": "integer"
  24714. }
  24715. }
  24716. },
  24717. "taaccount.QueryHisAmountLogRsp": {
  24718. "type": "object",
  24719. "required": [
  24720. "accountid",
  24721. "amount",
  24722. "amountadjusttype",
  24723. "autoid",
  24724. "balance",
  24725. "createtime",
  24726. "currentbalance",
  24727. "histradedate",
  24728. "operatetype"
  24729. ],
  24730. "properties": {
  24731. "OPERATETYPENAME": {
  24732. "description": "资金操作类型名称",
  24733. "type": "string"
  24734. },
  24735. "accountid": {
  24736. "description": "资金账户ID",
  24737. "type": "integer"
  24738. },
  24739. "agoodscode": {
  24740. "description": "竞拍商品代码",
  24741. "type": "string"
  24742. },
  24743. "agoodsname": {
  24744. "description": "竞拍商品名称",
  24745. "type": "string"
  24746. },
  24747. "amount": {
  24748. "description": "资金金额",
  24749. "type": "number"
  24750. },
  24751. "amountadjusttype": {
  24752. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24753. "type": "integer"
  24754. },
  24755. "autoid": {
  24756. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24757. "type": "integer"
  24758. },
  24759. "balance": {
  24760. "description": "期初余额",
  24761. "type": "number"
  24762. },
  24763. "businesscode": {
  24764. "description": "业务编号",
  24765. "type": "integer"
  24766. },
  24767. "createtime": {
  24768. "description": "发生时间",
  24769. "type": "string"
  24770. },
  24771. "currencyid": {
  24772. "description": "币种ID",
  24773. "type": "integer"
  24774. },
  24775. "currentbalance": {
  24776. "description": "期末余额(变动后金额)",
  24777. "type": "number"
  24778. },
  24779. "dgoodscode": {
  24780. "description": "交割商品代码",
  24781. "type": "string"
  24782. },
  24783. "dgoodsname": {
  24784. "description": "交割商品名称",
  24785. "type": "string"
  24786. },
  24787. "goodscode": {
  24788. "description": "商品代码",
  24789. "type": "string"
  24790. },
  24791. "goodsid": {
  24792. "description": "商品ID",
  24793. "type": "integer"
  24794. },
  24795. "goodsname": {
  24796. "description": "商品名称",
  24797. "type": "string"
  24798. },
  24799. "histradedate": {
  24800. "description": "历史交易日",
  24801. "type": "string"
  24802. },
  24803. "isvaliddata": {
  24804. "description": "是否有效 - 0:无效 1:有效",
  24805. "type": "integer"
  24806. },
  24807. "marketid": {
  24808. "description": "市场ID",
  24809. "type": "integer"
  24810. },
  24811. "marketname": {
  24812. "description": "市场名称",
  24813. "type": "string"
  24814. },
  24815. "moneyticket": {
  24816. "description": "资金流水号:银行端流水号",
  24817. "type": "integer"
  24818. },
  24819. "operatetype": {
  24820. "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:营销收款",
  24821. "type": "integer"
  24822. },
  24823. "relationorderid": {
  24824. "description": "关联单号",
  24825. "type": "string"
  24826. },
  24827. "remark": {
  24828. "description": "备注",
  24829. "type": "string"
  24830. },
  24831. "trademode": {
  24832. "description": "交易模式",
  24833. "type": "integer"
  24834. }
  24835. }
  24836. },
  24837. "trade.QueryRecieptOrderRsp": {
  24838. "type": "object",
  24839. "required": [
  24840. "ordertime"
  24841. ],
  24842. "properties": {
  24843. "accountName": {
  24844. "description": "所属账号名称(已脱敏)",
  24845. "type": "string"
  24846. },
  24847. "accountid": {
  24848. "description": "资金账号",
  24849. "type": "integer"
  24850. },
  24851. "buyorsell": {
  24852. "description": "方向 - 0:买 1:卖",
  24853. "type": "integer"
  24854. },
  24855. "enableqty": {
  24856. "description": "可摘数量",
  24857. "type": "integer"
  24858. },
  24859. "goodscode": {
  24860. "description": "商品代码",
  24861. "type": "string"
  24862. },
  24863. "goodsid": {
  24864. "description": "商品ID",
  24865. "type": "integer"
  24866. },
  24867. "goodsname": {
  24868. "description": "商品名称",
  24869. "type": "string"
  24870. },
  24871. "orderid": {
  24872. "description": "委托单号",
  24873. "type": "string"
  24874. },
  24875. "orderprice": {
  24876. "description": "委托价格",
  24877. "type": "number"
  24878. },
  24879. "ordertime": {
  24880. "description": "委托时间",
  24881. "type": "string"
  24882. },
  24883. "tradedate": {
  24884. "description": "交易日(yyyyMMdd)",
  24885. "type": "string"
  24886. }
  24887. }
  24888. },
  24889. "user.LoginQueryRsp": {
  24890. "type": "object",
  24891. "properties": {
  24892. "externalExchanges": {
  24893. "description": "外部交易所",
  24894. "type": "array",
  24895. "items": {
  24896. "$ref": "#/definitions/models.Externalexchange"
  24897. }
  24898. },
  24899. "goodsgroups": {
  24900. "description": "商品组",
  24901. "type": "array",
  24902. "items": {
  24903. "$ref": "#/definitions/models.Goodsgroup"
  24904. }
  24905. },
  24906. "loginAccount": {
  24907. "description": "登录账号",
  24908. "type": "object",
  24909. "$ref": "#/definitions/models.Loginaccount"
  24910. },
  24911. "markets": {
  24912. "description": "市场",
  24913. "type": "array",
  24914. "items": {
  24915. "$ref": "#/definitions/models.Market"
  24916. }
  24917. },
  24918. "systemParams": {
  24919. "description": "系统参数",
  24920. "type": "array",
  24921. "items": {
  24922. "$ref": "#/definitions/models.Systemparam"
  24923. }
  24924. },
  24925. "userAccount": {
  24926. "description": "用户账号",
  24927. "type": "object",
  24928. "$ref": "#/definitions/models.Useraccount"
  24929. },
  24930. "userInfo": {
  24931. "description": "用户信息",
  24932. "type": "object",
  24933. "$ref": "#/definitions/models.Userinfo"
  24934. },
  24935. "username": {
  24936. "description": "用户姓名",
  24937. "type": "string"
  24938. }
  24939. }
  24940. }
  24941. },
  24942. "securityDefinitions": {
  24943. "ApiKeyAuth": {
  24944. "type": "apiKey",
  24945. "name": "Authorization",
  24946. "in": "header"
  24947. }
  24948. }
  24949. }`
  24950. type swaggerInfo struct {
  24951. Version string
  24952. Host string
  24953. BasePath string
  24954. Schemes []string
  24955. Title string
  24956. Description string
  24957. }
  24958. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24959. var SwaggerInfo = swaggerInfo{
  24960. Version: "1.0",
  24961. Host: "",
  24962. BasePath: "/api",
  24963. Schemes: []string{},
  24964. Title: "MTP2.0 查询服务 API",
  24965. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24966. }
  24967. type s struct{}
  24968. func (s *s) ReadDoc() string {
  24969. sInfo := SwaggerInfo
  24970. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24971. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24972. "marshal": func(v interface{}) string {
  24973. a, _ := json.Marshal(v)
  24974. return string(a)
  24975. },
  24976. }).Parse(doc)
  24977. if err != nil {
  24978. return doc
  24979. }
  24980. var tpl bytes.Buffer
  24981. if err := t.Execute(&tpl, sInfo); err != nil {
  24982. return doc
  24983. }
  24984. return tpl.String()
  24985. }
  24986. func init() {
  24987. swag.Register(swag.Name, &s{})
  24988. }