docs.go 918 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QryReportAreaSpotPL": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询现货损益报表(现货损益报表)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "查询类型 1-日报表 2-月报表",
  1017. "name": "querytype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "string",
  1023. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1024. "name": "querydate",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "现货商品ID",
  1031. "name": "wrstandardid",
  1032. "in": "query"
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "品牌ID",
  1037. "name": "spotgoodsbrandid",
  1038. "in": "query"
  1039. },
  1040. {
  1041. "type": "integer",
  1042. "description": "型号ID",
  1043. "name": "spotgoodsmodelid",
  1044. "in": "query"
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDayExposure": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "string",
  1090. "description": "交易日(格式:yyyyMMdd)",
  1091. "name": "tradedate",
  1092. "in": "query",
  1093. "required": true
  1094. }
  1095. ],
  1096. "responses": {
  1097. "200": {
  1098. "description": "OK",
  1099. "schema": {
  1100. "type": "array",
  1101. "items": {
  1102. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1103. }
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/Ermcp/QryReportDayFinance": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "企业风险管理(app)"
  1127. ],
  1128. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1129. "parameters": [
  1130. {
  1131. "type": "integer",
  1132. "description": "用户ID",
  1133. "name": "userid",
  1134. "in": "query",
  1135. "required": true
  1136. },
  1137. {
  1138. "type": "string",
  1139. "description": "交易日(格式:yyyyMMdd)",
  1140. "name": "tradedate",
  1141. "in": "query",
  1142. "required": true
  1143. }
  1144. ],
  1145. "responses": {
  1146. "200": {
  1147. "description": "OK",
  1148. "schema": {
  1149. "type": "array",
  1150. "items": {
  1151. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1152. }
  1153. }
  1154. },
  1155. "500": {
  1156. "description": "Internal Server Error",
  1157. "schema": {
  1158. "$ref": "#/definitions/app.Response"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "/Ermcp/QryReportDayFinanceFp": {
  1165. "get": {
  1166. "security": [
  1167. {
  1168. "ApiKeyAuth": []
  1169. }
  1170. ],
  1171. "produces": [
  1172. "application/json"
  1173. ],
  1174. "tags": [
  1175. "企业风险管理(app)"
  1176. ],
  1177. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1178. "parameters": [
  1179. {
  1180. "type": "integer",
  1181. "description": "用户ID",
  1182. "name": "userid",
  1183. "in": "query",
  1184. "required": true
  1185. },
  1186. {
  1187. "type": "string",
  1188. "description": "交易日(格式:yyyyMMdd)",
  1189. "name": "tradedate",
  1190. "in": "query",
  1191. "required": true
  1192. }
  1193. ],
  1194. "responses": {
  1195. "200": {
  1196. "description": "OK",
  1197. "schema": {
  1198. "type": "array",
  1199. "items": {
  1200. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1201. }
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/QryReportDayFinanceKx": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "用户ID",
  1231. "name": "userid",
  1232. "in": "query",
  1233. "required": true
  1234. },
  1235. {
  1236. "type": "string",
  1237. "description": "交易日(格式:yyyyMMdd)",
  1238. "name": "tradedate",
  1239. "in": "query",
  1240. "required": true
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "type": "array",
  1248. "items": {
  1249. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1250. }
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Ermcp/QryReportDaySpot": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "企业风险管理(app)"
  1274. ],
  1275. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "用户ID",
  1280. "name": "userid",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "string",
  1286. "description": "交易日(格式:yyyyMMdd)",
  1287. "name": "tradedate",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "type": "array",
  1297. "items": {
  1298. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1299. }
  1300. }
  1301. },
  1302. "500": {
  1303. "description": "Internal Server Error",
  1304. "schema": {
  1305. "$ref": "#/definitions/app.Response"
  1306. }
  1307. }
  1308. }
  1309. }
  1310. },
  1311. "/Ermcp/QryReportDaySpotDetail": {
  1312. "get": {
  1313. "security": [
  1314. {
  1315. "ApiKeyAuth": []
  1316. }
  1317. ],
  1318. "produces": [
  1319. "application/json"
  1320. ],
  1321. "tags": [
  1322. "企业风险管理(app)"
  1323. ],
  1324. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1325. "parameters": [
  1326. {
  1327. "type": "integer",
  1328. "description": "用户ID",
  1329. "name": "userid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "integer",
  1335. "description": "现货商品id",
  1336. "name": "wrstandardid",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "交易日(格式:yyyyMMdd)",
  1343. "name": "tradedate",
  1344. "in": "query",
  1345. "required": true
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "OK",
  1351. "schema": {
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1355. }
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Ermcp/QryReportMonthFinance": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "企业风险管理(app)"
  1379. ],
  1380. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1381. "parameters": [
  1382. {
  1383. "type": "integer",
  1384. "description": "用户ID",
  1385. "name": "userid",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "周期时间:月(格式:yyyyMM)",
  1392. "name": "cycletime",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QryReportMonthSpot": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "用户ID",
  1434. "name": "userid",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "string",
  1440. "description": "周期时间:月(格式:yyyyMM)",
  1441. "name": "cycletime",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QryReportMonthSpotDetail": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "integer",
  1489. "description": "现货商品id",
  1490. "name": "wrstandardid",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "周期时间:月(格式:yyyyMM)",
  1497. "name": "cycletime",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "OK",
  1505. "schema": {
  1506. "type": "array",
  1507. "items": {
  1508. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1509. }
  1510. }
  1511. },
  1512. "500": {
  1513. "description": "Internal Server Error",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/Ermcp/QueryAccMgrBizGroupSet": {
  1522. "get": {
  1523. "security": [
  1524. {
  1525. "ApiKeyAuth": []
  1526. }
  1527. ],
  1528. "produces": [
  1529. "application/json"
  1530. ],
  1531. "tags": [
  1532. "企业风险管理(app)"
  1533. ],
  1534. "summary": "查询业务类型分组(账户管理/账户设置)",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "description": "用户ID",
  1539. "name": "userid",
  1540. "in": "query",
  1541. "required": true
  1542. }
  1543. ],
  1544. "responses": {
  1545. "200": {
  1546. "description": "OK",
  1547. "schema": {
  1548. "type": "array",
  1549. "items": {
  1550. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1551. }
  1552. }
  1553. },
  1554. "500": {
  1555. "description": "Internal Server Error",
  1556. "schema": {
  1557. "$ref": "#/definitions/app.Response"
  1558. }
  1559. }
  1560. }
  1561. }
  1562. },
  1563. "/Ermcp/QueryAccMgrLoginUser": {
  1564. "get": {
  1565. "security": [
  1566. {
  1567. "ApiKeyAuth": []
  1568. }
  1569. ],
  1570. "produces": [
  1571. "application/json"
  1572. ],
  1573. "tags": [
  1574. "企业风险管理(app)"
  1575. ],
  1576. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1577. "parameters": [
  1578. {
  1579. "type": "integer",
  1580. "description": "用户ID",
  1581. "name": "userid",
  1582. "in": "query",
  1583. "required": true
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "type": "array",
  1591. "items": {
  1592. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1593. }
  1594. }
  1595. },
  1596. "500": {
  1597. "description": "Internal Server Error",
  1598. "schema": {
  1599. "$ref": "#/definitions/app.Response"
  1600. }
  1601. }
  1602. }
  1603. }
  1604. },
  1605. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1606. "get": {
  1607. "security": [
  1608. {
  1609. "ApiKeyAuth": []
  1610. }
  1611. ],
  1612. "produces": [
  1613. "application/json"
  1614. ],
  1615. "tags": [
  1616. "企业风险管理(app)"
  1617. ],
  1618. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1619. "parameters": [
  1620. {
  1621. "type": "integer",
  1622. "description": "用户ID",
  1623. "name": "userid",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "主账号id",
  1629. "name": "accountid",
  1630. "in": "query"
  1631. }
  1632. ],
  1633. "responses": {
  1634. "200": {
  1635. "description": "OK",
  1636. "schema": {
  1637. "type": "array",
  1638. "items": {
  1639. "$ref": "#/definitions/models.MainAccountInfo"
  1640. }
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Internal Server Error",
  1645. "schema": {
  1646. "$ref": "#/definitions/app.Response"
  1647. }
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/Ermcp/QueryAccMgrRole": {
  1653. "get": {
  1654. "security": [
  1655. {
  1656. "ApiKeyAuth": []
  1657. }
  1658. ],
  1659. "produces": [
  1660. "application/json"
  1661. ],
  1662. "tags": [
  1663. "企业风险管理(app)"
  1664. ],
  1665. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1666. "parameters": [
  1667. {
  1668. "type": "integer",
  1669. "description": "用户ID",
  1670. "name": "userid",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/models.ErmcpRole"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Ermcp/QueryAccMgrRoleMenu": {
  1695. "get": {
  1696. "security": [
  1697. {
  1698. "ApiKeyAuth": []
  1699. }
  1700. ],
  1701. "produces": [
  1702. "application/json"
  1703. ],
  1704. "tags": [
  1705. "企业风险管理(app)"
  1706. ],
  1707. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1708. "parameters": [
  1709. {
  1710. "type": "integer",
  1711. "description": "用户ID",
  1712. "name": "userid",
  1713. "in": "query",
  1714. "required": true
  1715. },
  1716. {
  1717. "type": "string",
  1718. "description": "角色id(可多个,逗号隔开)",
  1719. "name": "roleid",
  1720. "in": "query"
  1721. }
  1722. ],
  1723. "responses": {
  1724. "200": {
  1725. "description": "OK",
  1726. "schema": {
  1727. "type": "array",
  1728. "items": {
  1729. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1730. }
  1731. }
  1732. },
  1733. "500": {
  1734. "description": "Internal Server Error",
  1735. "schema": {
  1736. "$ref": "#/definitions/app.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1743. "get": {
  1744. "security": [
  1745. {
  1746. "ApiKeyAuth": []
  1747. }
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "企业风险管理(app)"
  1754. ],
  1755. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1756. "parameters": [
  1757. {
  1758. "type": "integer",
  1759. "description": "用户ID",
  1760. "name": "userid",
  1761. "in": "query",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "账号id",
  1767. "name": "accountid",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryAccMgrTaaccount": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "用户ID",
  1808. "name": "userid",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryAreaStock": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询机构库存(库存管理/当前库存)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "用户ID",
  1850. "name": "userid",
  1851. "in": "query",
  1852. "required": true
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "type": "array",
  1860. "items": {
  1861. "$ref": "#/definitions/models.ErmcpAreaStock"
  1862. }
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "Internal Server Error",
  1867. "schema": {
  1868. "$ref": "#/definitions/app.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/Ermcp/QueryAreaStockApply": {
  1875. "get": {
  1876. "security": [
  1877. {
  1878. "ApiKeyAuth": []
  1879. }
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "企业风险管理(app)"
  1886. ],
  1887. "summary": "查询库存申请(出入库记录|库存审核)",
  1888. "parameters": [
  1889. {
  1890. "type": "integer",
  1891. "description": "用户ID",
  1892. "name": "userid",
  1893. "in": "query",
  1894. "required": true
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1899. "name": "inouttype",
  1900. "in": "query"
  1901. },
  1902. {
  1903. "type": "integer",
  1904. "description": "合同ID",
  1905. "name": "spotcontractid",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "现货商品ID",
  1911. "name": "wrstandardid",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "品牌ID",
  1917. "name": "spotgoodsbrandid",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "型号ID",
  1923. "name": "spotgoodsmodelid",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "仓库ID",
  1929. "name": "warehouseinfoid",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "string",
  1934. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1935. "name": "applystatus",
  1936. "in": "query"
  1937. }
  1938. ],
  1939. "responses": {
  1940. "200": {
  1941. "description": "OK",
  1942. "schema": {
  1943. "type": "array",
  1944. "items": {
  1945. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1946. }
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/Ermcp/QueryAreaStockApplySum": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "produces": [
  1966. "application/json"
  1967. ],
  1968. "tags": [
  1969. "企业风险管理(app)"
  1970. ],
  1971. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1972. "parameters": [
  1973. {
  1974. "type": "integer",
  1975. "description": "合同ID",
  1976. "name": "spotcontractid",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "type": "array",
  1985. "items": {
  1986. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1987. }
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/Ermcp/QueryAreaStockReport": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "produces": [
  2007. "application/json"
  2008. ],
  2009. "tags": [
  2010. "企业风险管理(app)"
  2011. ],
  2012. "summary": "查询库存报表",
  2013. "parameters": [
  2014. {
  2015. "type": "integer",
  2016. "description": "用户ID",
  2017. "name": "userid",
  2018. "in": "query",
  2019. "required": true
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "查询类型 1-日报表 2-月报表",
  2024. "name": "querytype",
  2025. "in": "query",
  2026. "required": true
  2027. },
  2028. {
  2029. "type": "string",
  2030. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2031. "name": "querydate",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "现货商品ID",
  2038. "name": "wrstandardid",
  2039. "in": "query"
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "品牌ID",
  2044. "name": "spotgoodsbrandid",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "型号ID",
  2050. "name": "spotgoodsmodelid",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "仓库ID",
  2056. "name": "warehouseinfoid",
  2057. "in": "query"
  2058. }
  2059. ],
  2060. "responses": {
  2061. "200": {
  2062. "description": "OK",
  2063. "schema": {
  2064. "type": "array",
  2065. "items": {
  2066. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2067. }
  2068. }
  2069. },
  2070. "500": {
  2071. "description": "Internal Server Error",
  2072. "schema": {
  2073. "$ref": "#/definitions/app.Response"
  2074. }
  2075. }
  2076. }
  2077. }
  2078. },
  2079. "/Ermcp/QueryAreaStockReportDetail": {
  2080. "get": {
  2081. "security": [
  2082. {
  2083. "ApiKeyAuth": []
  2084. }
  2085. ],
  2086. "produces": [
  2087. "application/json"
  2088. ],
  2089. "tags": [
  2090. "企业风险管理(app)"
  2091. ],
  2092. "summary": "查询库存报表明细",
  2093. "parameters": [
  2094. {
  2095. "type": "integer",
  2096. "description": "用户ID",
  2097. "name": "userid",
  2098. "in": "query",
  2099. "required": true
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "查询类型 1-日报表明细 2-月报表明细",
  2104. "name": "querytype",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2111. "name": "detailtype",
  2112. "in": "query",
  2113. "required": true
  2114. },
  2115. {
  2116. "type": "string",
  2117. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2118. "name": "querydate",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "现货商品ID",
  2125. "name": "wrstandardid",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "品牌ID",
  2131. "name": "spotgoodsbrandid",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "型号ID",
  2137. "name": "spotgoodsmodelid",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "仓库ID",
  2143. "name": "warehouseinfoid",
  2144. "in": "query"
  2145. }
  2146. ],
  2147. "responses": {
  2148. "200": {
  2149. "description": "OK",
  2150. "schema": {
  2151. "type": "array",
  2152. "items": {
  2153. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2154. }
  2155. }
  2156. },
  2157. "500": {
  2158. "description": "Internal Server Error",
  2159. "schema": {
  2160. "$ref": "#/definitions/app.Response"
  2161. }
  2162. }
  2163. }
  2164. }
  2165. },
  2166. "/Ermcp/QueryAvaildGoodsGroup": {
  2167. "get": {
  2168. "security": [
  2169. {
  2170. "ApiKeyAuth": []
  2171. }
  2172. ],
  2173. "produces": [
  2174. "application/json"
  2175. ],
  2176. "tags": [
  2177. "企业风险管理(app)"
  2178. ],
  2179. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2180. "parameters": [
  2181. {
  2182. "type": "integer",
  2183. "description": "所属机构ID",
  2184. "name": "userid",
  2185. "in": "query",
  2186. "required": true
  2187. }
  2188. ],
  2189. "responses": {
  2190. "200": {
  2191. "description": "OK",
  2192. "schema": {
  2193. "type": "array",
  2194. "items": {
  2195. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2196. }
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryBusinessDj": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "用户ID",
  2226. "name": "UserId",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "string",
  2232. "description": "现货合同ID, 不填则查所有",
  2233. "name": "relatedid",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "string",
  2238. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2239. "name": "applystatus",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "type": "array",
  2248. "items": {
  2249. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2250. }
  2251. }
  2252. },
  2253. "500": {
  2254. "description": "Internal Server Error",
  2255. "schema": {
  2256. "$ref": "#/definitions/app.Response"
  2257. }
  2258. }
  2259. }
  2260. }
  2261. },
  2262. "/Ermcp/QueryBusinessFp": {
  2263. "get": {
  2264. "security": [
  2265. {
  2266. "ApiKeyAuth": []
  2267. }
  2268. ],
  2269. "produces": [
  2270. "application/json"
  2271. ],
  2272. "tags": [
  2273. "企业风险管理(app)"
  2274. ],
  2275. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2276. "parameters": [
  2277. {
  2278. "type": "integer",
  2279. "description": "用户ID",
  2280. "name": "UserId",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "string",
  2286. "description": "现货合同ID, 不填则查所有",
  2287. "name": "relatedid",
  2288. "in": "query"
  2289. },
  2290. {
  2291. "type": "string",
  2292. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2293. "name": "applystatus",
  2294. "in": "query"
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryBusinessJs": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "用户ID",
  2334. "name": "UserId",
  2335. "in": "query",
  2336. "required": true
  2337. },
  2338. {
  2339. "type": "string",
  2340. "description": "现货合同ID, 不填则查所有",
  2341. "name": "relatedid",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "string",
  2346. "description": "操作申请id",
  2347. "name": "operateapplyid",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2353. "name": "applystatus",
  2354. "in": "query"
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "type": "array",
  2362. "items": {
  2363. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2364. }
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/Ermcp/QueryBusinessJsEx": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "企业风险管理(app)"
  2388. ],
  2389. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "用户ID",
  2394. "name": "UserId",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "string",
  2400. "description": "现货合同ID, 不填则查所有",
  2401. "name": "relatedid",
  2402. "in": "query"
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2407. "name": "applystatus",
  2408. "in": "query"
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryBusinessKx": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "用户ID",
  2448. "name": "UserId",
  2449. "in": "query",
  2450. "required": true
  2451. },
  2452. {
  2453. "type": "string",
  2454. "description": "现货合同ID, 不填则查所有",
  2455. "name": "relatedid",
  2456. "in": "query"
  2457. },
  2458. {
  2459. "type": "string",
  2460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2461. "name": "applystatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Ermcp/QueryChangeLog": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "企业风险管理(app)"
  2496. ],
  2497. "summary": "查询变更记录",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "合同ID",
  2502. "name": "RelatedId",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryContract": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询合同(采购和销售)",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userId",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "合同类型 1-采购, -1-销售",
  2551. "name": "contracttype",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2558. "name": "querytype",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "string",
  2564. "description": "合同ID(SpotContractId)",
  2565. "name": "contractid",
  2566. "in": "query"
  2567. }
  2568. ],
  2569. "responses": {
  2570. "200": {
  2571. "description": "OK",
  2572. "schema": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2576. }
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryErmcpHisOrderDetails": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "获取企业风管期货历史委托单信息",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "资金账户ID",
  2606. "name": "accountID",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "string",
  2612. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2613. "name": "startDate",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "string",
  2618. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2619. "name": "endDate",
  2620. "in": "query"
  2621. }
  2622. ],
  2623. "responses": {
  2624. "200": {
  2625. "description": "OK",
  2626. "schema": {
  2627. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2628. }
  2629. },
  2630. "500": {
  2631. "description": "Internal Server Error",
  2632. "schema": {
  2633. "$ref": "#/definitions/app.Response"
  2634. }
  2635. }
  2636. }
  2637. }
  2638. },
  2639. "/Ermcp/QueryErmcpHisTradeDetails": {
  2640. "get": {
  2641. "security": [
  2642. {
  2643. "ApiKeyAuth": []
  2644. }
  2645. ],
  2646. "produces": [
  2647. "application/json"
  2648. ],
  2649. "tags": [
  2650. "企业风险管理(app)"
  2651. ],
  2652. "summary": "获取企业风管期货历史成交单信息",
  2653. "parameters": [
  2654. {
  2655. "type": "integer",
  2656. "description": "资金账户ID",
  2657. "name": "accountID",
  2658. "in": "query",
  2659. "required": true
  2660. },
  2661. {
  2662. "type": "integer",
  2663. "description": "商品ID",
  2664. "name": "goodsID",
  2665. "in": "query"
  2666. },
  2667. {
  2668. "type": "integer",
  2669. "description": "买卖方向,0:买 1:卖",
  2670. "name": "buyOrSell",
  2671. "in": "query"
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "关联委托单号",
  2676. "name": "orderID",
  2677. "in": "query"
  2678. },
  2679. {
  2680. "type": "string",
  2681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2682. "name": "startDate",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "string",
  2687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2688. "name": "endDate",
  2689. "in": "query"
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2697. }
  2698. },
  2699. "500": {
  2700. "description": "Internal Server Error",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2709. "get": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "produces": [
  2716. "application/json"
  2717. ],
  2718. "tags": [
  2719. "企业风险管理(app)"
  2720. ],
  2721. "summary": "获取企业风管期货内部持仓单信息",
  2722. "parameters": [
  2723. {
  2724. "type": "integer",
  2725. "description": "资金账户ID",
  2726. "name": "accountID",
  2727. "in": "query",
  2728. "required": true
  2729. },
  2730. {
  2731. "type": "integer",
  2732. "description": "商品ID",
  2733. "name": "goodsID",
  2734. "in": "query"
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "买卖方向,0:买 1:卖",
  2739. "name": "buyOrSell",
  2740. "in": "query"
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpOrderDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货委托单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Ermcp/QueryErmcpTradeDetails": {
  2799. "get": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "企业风险管理(app)"
  2810. ],
  2811. "summary": "获取企业风管期货成交单信息",
  2812. "parameters": [
  2813. {
  2814. "type": "integer",
  2815. "description": "资金账户ID",
  2816. "name": "accountID",
  2817. "in": "query",
  2818. "required": true
  2819. },
  2820. {
  2821. "type": "integer",
  2822. "description": "商品ID",
  2823. "name": "goodsID",
  2824. "in": "query"
  2825. },
  2826. {
  2827. "type": "integer",
  2828. "description": "买卖方向,0:买 1:卖",
  2829. "name": "buyOrSell",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "关联委托单号",
  2835. "name": "orderID",
  2836. "in": "query"
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryErmcpTradePosition": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "获取企业风管期货持仓头寸信息",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "资金账户ID",
  2874. "name": "accountID",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "所属市场ID",
  2881. "name": "marketID",
  2882. "in": "query"
  2883. }
  2884. ],
  2885. "responses": {
  2886. "200": {
  2887. "description": "OK",
  2888. "schema": {
  2889. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2890. }
  2891. },
  2892. "500": {
  2893. "description": "Internal Server Error",
  2894. "schema": {
  2895. "$ref": "#/definitions/app.Response"
  2896. }
  2897. }
  2898. }
  2899. }
  2900. },
  2901. "/Ermcp/QueryExposureDetail": {
  2902. "get": {
  2903. "security": [
  2904. {
  2905. "ApiKeyAuth": []
  2906. }
  2907. ],
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "企业风险管理(app)"
  2913. ],
  2914. "summary": "查询敞口现货明细",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "所属机构ID",
  2919. "name": "areaUserId",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "套保商品",
  2926. "name": "middleGoodsId",
  2927. "in": "query",
  2928. "required": true
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryExposureHedgePosition": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构ID",
  2968. "name": "areaUserId",
  2969. "in": "query",
  2970. "required": true
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "type": "array",
  2978. "items": {
  2979. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2980. }
  2981. }
  2982. },
  2983. "500": {
  2984. "description": "Internal Server Error",
  2985. "schema": {
  2986. "$ref": "#/definitions/app.Response"
  2987. }
  2988. }
  2989. }
  2990. }
  2991. },
  2992. "/Ermcp/QueryExposureHedgePositionDetail": {
  2993. "get": {
  2994. "security": [
  2995. {
  2996. "ApiKeyAuth": []
  2997. }
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "企业风险管理(app)"
  3004. ],
  3005. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3006. "parameters": [
  3007. {
  3008. "type": "integer",
  3009. "description": "所属机构ID",
  3010. "name": "areaUserId",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "商品id",
  3017. "name": "goodsId",
  3018. "in": "query",
  3019. "required": true
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp/QueryExposureSpot": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理(app)"
  3053. ],
  3054. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "所属机构ID",
  3059. "name": "areaUserId",
  3060. "in": "query",
  3061. "required": true
  3062. }
  3063. ],
  3064. "responses": {
  3065. "200": {
  3066. "description": "OK",
  3067. "schema": {
  3068. "type": "array",
  3069. "items": {
  3070. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3071. }
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/Ermcp/QueryExposureSpotDetail": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "produces": [
  3091. "application/json"
  3092. ],
  3093. "tags": [
  3094. "企业风险管理(app)"
  3095. ],
  3096. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3097. "parameters": [
  3098. {
  3099. "type": "integer",
  3100. "description": "所属机构ID",
  3101. "name": "areaUserId",
  3102. "in": "query",
  3103. "required": true
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "现货品种ID",
  3108. "name": "wrstandardId",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "type": "array",
  3118. "items": {
  3119. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3120. }
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/Ermcp/QueryFuturesCompany": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "produces": [
  3140. "application/json"
  3141. ],
  3142. "tags": [
  3143. "企业风险管理(app)"
  3144. ],
  3145. "summary": "查询期货公司",
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp/QueryGGConvertConfig": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理(app)"
  3177. ],
  3178. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "品种id(不填则查所有)",
  3183. "name": "goodsgroupid",
  3184. "in": "query"
  3185. }
  3186. ],
  3187. "responses": {
  3188. "200": {
  3189. "description": "OK",
  3190. "schema": {
  3191. "type": "array",
  3192. "items": {
  3193. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3194. }
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/Ermcp/QueryGoodsBrand": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "企业风险管理(app)"
  3218. ],
  3219. "summary": "查询商品品牌",
  3220. "parameters": [
  3221. {
  3222. "type": "integer",
  3223. "description": "用户ID",
  3224. "name": "userid",
  3225. "in": "query",
  3226. "required": true
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "现货商品ID",
  3231. "name": "wrstandardid",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "type": "array",
  3240. "items": {
  3241. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3242. }
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/app.Response"
  3249. }
  3250. }
  3251. }
  3252. }
  3253. },
  3254. "/Ermcp/QueryGoodsModel": {
  3255. "get": {
  3256. "security": [
  3257. {
  3258. "ApiKeyAuth": []
  3259. }
  3260. ],
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "企业风险管理(app)"
  3266. ],
  3267. "summary": "查询商品型号",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "用户ID",
  3272. "name": "userid",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "type": "array",
  3282. "items": {
  3283. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3284. }
  3285. }
  3286. },
  3287. "500": {
  3288. "description": "Internal Server Error",
  3289. "schema": {
  3290. "$ref": "#/definitions/app.Response"
  3291. }
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/Ermcp/QueryHedgePlan": {
  3297. "get": {
  3298. "security": [
  3299. {
  3300. "ApiKeyAuth": []
  3301. }
  3302. ],
  3303. "produces": [
  3304. "application/json"
  3305. ],
  3306. "tags": [
  3307. "企业风险管理(app)"
  3308. ],
  3309. "summary": "查询套保计划",
  3310. "parameters": [
  3311. {
  3312. "type": "integer",
  3313. "description": "用户ID",
  3314. "name": "userId",
  3315. "in": "query",
  3316. "required": true
  3317. },
  3318. {
  3319. "type": "string",
  3320. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3321. "name": "HedgePlanStatus",
  3322. "in": "query",
  3323. "required": true
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "type": "array",
  3331. "items": {
  3332. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3333. }
  3334. }
  3335. },
  3336. "500": {
  3337. "description": "Internal Server Error",
  3338. "schema": {
  3339. "$ref": "#/definitions/app.Response"
  3340. }
  3341. }
  3342. }
  3343. }
  3344. },
  3345. "/Ermcp/QueryHisExposure": {
  3346. "get": {
  3347. "security": [
  3348. {
  3349. "ApiKeyAuth": []
  3350. }
  3351. ],
  3352. "produces": [
  3353. "application/json"
  3354. ],
  3355. "tags": [
  3356. "企业风险管理(app)"
  3357. ],
  3358. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3359. "parameters": [
  3360. {
  3361. "type": "integer",
  3362. "description": "所属机构ID",
  3363. "name": "areaUserId",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "每个品种记录数",
  3370. "name": "lastNum",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Ermcp/QueryMiddleGoods": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "企业风险管理(app)"
  3406. ],
  3407. "summary": "查询套保品种(菜单:套保品种)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "所属机构ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "状态 0-停用 1-正常",
  3419. "name": "status",
  3420. "in": "query",
  3421. "required": true
  3422. }
  3423. ],
  3424. "responses": {
  3425. "200": {
  3426. "description": "OK",
  3427. "schema": {
  3428. "type": "array",
  3429. "items": {
  3430. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3431. }
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3444. "get": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "企业风险管理(app)"
  3455. ],
  3456. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3457. "parameters": [
  3458. {
  3459. "type": "integer",
  3460. "description": "所属机构ID",
  3461. "name": "userid",
  3462. "in": "query",
  3463. "required": true
  3464. },
  3465. {
  3466. "type": "integer",
  3467. "description": "套保品种id",
  3468. "name": "middlegoodsid",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "type": "array",
  3478. "items": {
  3479. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3480. }
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Ermcp/QueryMiddleGoodsDetail": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "企业风险管理(app)"
  3504. ],
  3505. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3506. "parameters": [
  3507. {
  3508. "type": "integer",
  3509. "description": "所属机构ID",
  3510. "name": "userid",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "套保品种id",
  3517. "name": "middlegoodsid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp/QueryPendingAuditInfo": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理(app)"
  3552. ],
  3553. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "UserId",
  3559. "in": "query",
  3560. "required": true
  3561. }
  3562. ],
  3563. "responses": {
  3564. "200": {
  3565. "description": "OK",
  3566. "schema": {
  3567. "type": "array",
  3568. "items": {
  3569. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3570. }
  3571. }
  3572. },
  3573. "500": {
  3574. "description": "Internal Server Error",
  3575. "schema": {
  3576. "$ref": "#/definitions/app.Response"
  3577. }
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "/Ermcp/QueryRealtimeExposure": {
  3583. "get": {
  3584. "security": [
  3585. {
  3586. "ApiKeyAuth": []
  3587. }
  3588. ],
  3589. "produces": [
  3590. "application/json"
  3591. ],
  3592. "tags": [
  3593. "企业风险管理(app)"
  3594. ],
  3595. "summary": "查询实时敞口",
  3596. "parameters": [
  3597. {
  3598. "type": "integer",
  3599. "description": "所属机构ID",
  3600. "name": "AreaUserID",
  3601. "in": "query",
  3602. "required": true
  3603. }
  3604. ],
  3605. "responses": {
  3606. "200": {
  3607. "description": "OK",
  3608. "schema": {
  3609. "type": "array",
  3610. "items": {
  3611. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3612. }
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/app.Response"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/Ermcp/QueryRealtimeExposurePosition": {
  3625. "get": {
  3626. "security": [
  3627. {
  3628. "ApiKeyAuth": []
  3629. }
  3630. ],
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "企业风险管理(app)"
  3636. ],
  3637. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3638. "parameters": [
  3639. {
  3640. "type": "integer",
  3641. "description": "所属机构ID",
  3642. "name": "areaUserId",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "套保商品ID",
  3649. "name": "middleGoodsId",
  3650. "in": "query",
  3651. "required": true
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "type": "array",
  3659. "items": {
  3660. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3661. }
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Ermcp/QuerySpotContract": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "企业风险管理(app)"
  3685. ],
  3686. "summary": "查询现货合同(对应现货合同菜单)",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "用户ID",
  3691. "name": "userId",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3698. "name": "QueryType",
  3699. "in": "query",
  3700. "required": true
  3701. }
  3702. ],
  3703. "responses": {
  3704. "200": {
  3705. "description": "OK",
  3706. "schema": {
  3707. "type": "array",
  3708. "items": {
  3709. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3710. }
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Ermcp/QuerySpotGoodsPrice": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "企业风险管理(app)"
  3734. ],
  3735. "summary": "查询现货市价(现货市价)",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "用户ID",
  3740. "name": "userid",
  3741. "in": "query",
  3742. "required": true
  3743. }
  3744. ],
  3745. "responses": {
  3746. "200": {
  3747. "description": "OK",
  3748. "schema": {
  3749. "type": "array",
  3750. "items": {
  3751. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3752. }
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/Ermcp/QuerySpotGoodsPriceLog": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "企业风险管理(app)"
  3776. ],
  3777. "summary": "查询现货市价详情(现货市价/详情)",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "用户ID",
  3782. "name": "userid",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "integer",
  3788. "description": "现货商品ID",
  3789. "name": "wrstandardid",
  3790. "in": "query",
  3791. "required": true
  3792. }
  3793. ],
  3794. "responses": {
  3795. "200": {
  3796. "description": "OK",
  3797. "schema": {
  3798. "type": "array",
  3799. "items": {
  3800. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3801. }
  3802. }
  3803. },
  3804. "500": {
  3805. "description": "Internal Server Error",
  3806. "schema": {
  3807. "$ref": "#/definitions/app.Response"
  3808. }
  3809. }
  3810. }
  3811. }
  3812. },
  3813. "/Ermcp/QueryTradeConfigTMP": {
  3814. "get": {
  3815. "security": [
  3816. {
  3817. "ApiKeyAuth": []
  3818. }
  3819. ],
  3820. "produces": [
  3821. "application/json"
  3822. ],
  3823. "tags": [
  3824. "企业风险管理(app)"
  3825. ],
  3826. "summary": "查询交易模板配置",
  3827. "parameters": [
  3828. {
  3829. "type": "integer",
  3830. "description": "所属机构id",
  3831. "name": "areauserid",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp/QueryUserInfo": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理(app)"
  3866. ],
  3867. "summary": "查询客户资料",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "所属机构用户ID",
  3872. "name": "MemberUserID",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3879. "name": "queryType",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp/QueryWarehouseInfo": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理(app)"
  3915. ],
  3916. "summary": "查询仓库信息",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户ID",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3928. "name": "status",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp/QueryWrStandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理(app)"
  3963. ],
  3964. "summary": "查询现货商品",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "所属机构ID",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "状态 0-停用 1-正常",
  3976. "name": "status",
  3977. "in": "query",
  3978. "required": true
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp/QueryWrStandardDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理(app)"
  4012. ],
  4013. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "所属机构ID",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "现货商品ID",
  4025. "name": "wrstandardid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "可不填, 1-查询关联交易商品",
  4031. "name": "goods",
  4032. "in": "query"
  4033. }
  4034. ],
  4035. "responses": {
  4036. "200": {
  4037. "description": "OK",
  4038. "schema": {
  4039. "type": "array",
  4040. "items": {
  4041. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4042. }
  4043. }
  4044. },
  4045. "500": {
  4046. "description": "Internal Server Error",
  4047. "schema": {
  4048. "$ref": "#/definitions/app.Response"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "/Ermcp3/QryReportAreaSpotPL": {
  4055. "get": {
  4056. "security": [
  4057. {
  4058. "ApiKeyAuth": []
  4059. }
  4060. ],
  4061. "produces": [
  4062. "application/json"
  4063. ],
  4064. "tags": [
  4065. "企业风险管理v3(app)"
  4066. ],
  4067. "summary": "查询现货损益报表(现货损益报表)",
  4068. "parameters": [
  4069. {
  4070. "type": "integer",
  4071. "description": "用户ID",
  4072. "name": "userid",
  4073. "in": "query",
  4074. "required": true
  4075. },
  4076. {
  4077. "type": "integer",
  4078. "description": "查询类型 1-日报表 2-月报表",
  4079. "name": "querytype",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "string",
  4085. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4086. "name": "querydate",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "现货商品ID",
  4093. "name": "deliverygoodsid",
  4094. "in": "query"
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "品牌ID",
  4099. "name": "spotgoodsbrandid",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "品类ID",
  4105. "name": "wrstandardid",
  4106. "in": "query"
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "type": "array",
  4114. "items": {
  4115. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4116. }
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/Ermcp3/QryReportDayFinanceFp": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "企业风险管理v3(app)"
  4140. ],
  4141. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4142. "parameters": [
  4143. {
  4144. "type": "integer",
  4145. "description": "用户ID",
  4146. "name": "userid",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "交易日(格式:yyyyMMdd)",
  4153. "name": "tradedate",
  4154. "in": "query",
  4155. "required": true
  4156. }
  4157. ],
  4158. "responses": {
  4159. "200": {
  4160. "description": "OK",
  4161. "schema": {
  4162. "type": "array",
  4163. "items": {
  4164. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4165. }
  4166. }
  4167. },
  4168. "500": {
  4169. "description": "Internal Server Error",
  4170. "schema": {
  4171. "$ref": "#/definitions/app.Response"
  4172. }
  4173. }
  4174. }
  4175. }
  4176. },
  4177. "/Ermcp3/QryReportDayFinanceKx": {
  4178. "get": {
  4179. "security": [
  4180. {
  4181. "ApiKeyAuth": []
  4182. }
  4183. ],
  4184. "produces": [
  4185. "application/json"
  4186. ],
  4187. "tags": [
  4188. "企业风险管理v3(app)"
  4189. ],
  4190. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4191. "parameters": [
  4192. {
  4193. "type": "integer",
  4194. "description": "用户ID",
  4195. "name": "userid",
  4196. "in": "query",
  4197. "required": true
  4198. },
  4199. {
  4200. "type": "string",
  4201. "description": "交易日(格式:yyyyMMdd)",
  4202. "name": "tradedate",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QryReportDaySpot": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "用户ID",
  4244. "name": "userid",
  4245. "in": "query",
  4246. "required": true
  4247. },
  4248. {
  4249. "type": "string",
  4250. "description": "交易日(格式:yyyyMMdd)",
  4251. "name": "tradedate",
  4252. "in": "query",
  4253. "required": true
  4254. }
  4255. ],
  4256. "responses": {
  4257. "200": {
  4258. "description": "OK",
  4259. "schema": {
  4260. "type": "array",
  4261. "items": {
  4262. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4263. }
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/Ermcp3/QryReportDaySpotDetail": {
  4276. "get": {
  4277. "security": [
  4278. {
  4279. "ApiKeyAuth": []
  4280. }
  4281. ],
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "企业风险管理v3(app)"
  4287. ],
  4288. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4289. "parameters": [
  4290. {
  4291. "type": "integer",
  4292. "description": "用户ID",
  4293. "name": "userid",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "integer",
  4299. "description": "现货商品id",
  4300. "name": "deliverygoodsid",
  4301. "in": "query",
  4302. "required": true
  4303. },
  4304. {
  4305. "type": "string",
  4306. "description": "交易日(格式:yyyyMMdd)",
  4307. "name": "tradedate",
  4308. "in": "query",
  4309. "required": true
  4310. }
  4311. ],
  4312. "responses": {
  4313. "200": {
  4314. "description": "OK",
  4315. "schema": {
  4316. "type": "array",
  4317. "items": {
  4318. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4319. }
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Ermcp3/QryReportMonthSpot": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "企业风险管理v3(app)"
  4343. ],
  4344. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4345. "parameters": [
  4346. {
  4347. "type": "integer",
  4348. "description": "用户ID",
  4349. "name": "userid",
  4350. "in": "query",
  4351. "required": true
  4352. },
  4353. {
  4354. "type": "string",
  4355. "description": "周期时间:月(格式:yyyyMM)",
  4356. "name": "cycletime",
  4357. "in": "query",
  4358. "required": true
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QryReportMonthSpotDetail": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "produces": [
  4388. "application/json"
  4389. ],
  4390. "tags": [
  4391. "企业风险管理v3(app)"
  4392. ],
  4393. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4394. "parameters": [
  4395. {
  4396. "type": "integer",
  4397. "description": "用户ID",
  4398. "name": "userid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "现货商品id",
  4405. "name": "deliverygoodsid",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "string",
  4411. "description": "周期时间:月(格式:yyyyMM)",
  4412. "name": "cycletime",
  4413. "in": "query",
  4414. "required": true
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "type": "array",
  4422. "items": {
  4423. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4424. }
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/Ermcp3/QueryAreaStock": {
  4437. "get": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "企业风险管理v3(app)"
  4448. ],
  4449. "summary": "查询机构库存(库存管理/当前库存)",
  4450. "parameters": [
  4451. {
  4452. "type": "integer",
  4453. "description": "用户ID",
  4454. "name": "userid",
  4455. "in": "query",
  4456. "required": true
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryAreaStockApply": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询库存申请(出入库记录|库存审核)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货商品ID",
  4503. "name": "deliverygoodsid",
  4504. "in": "query"
  4505. },
  4506. {
  4507. "type": "string",
  4508. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4509. "name": "inouttype",
  4510. "in": "query"
  4511. },
  4512. {
  4513. "type": "integer",
  4514. "description": "合同ID",
  4515. "name": "spotcontractid",
  4516. "in": "query"
  4517. },
  4518. {
  4519. "type": "integer",
  4520. "description": "品类ID",
  4521. "name": "wrstandardid",
  4522. "in": "query"
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "品牌ID",
  4527. "name": "spotgoodsbrandid",
  4528. "in": "query"
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "仓库ID",
  4533. "name": "warehouseinfoid",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4539. "name": "applystatus",
  4540. "in": "query"
  4541. }
  4542. ],
  4543. "responses": {
  4544. "200": {
  4545. "description": "OK",
  4546. "schema": {
  4547. "type": "array",
  4548. "items": {
  4549. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4550. }
  4551. }
  4552. },
  4553. "500": {
  4554. "description": "Internal Server Error",
  4555. "schema": {
  4556. "$ref": "#/definitions/app.Response"
  4557. }
  4558. }
  4559. }
  4560. }
  4561. },
  4562. "/Ermcp3/QueryAreaStockApplySum": {
  4563. "get": {
  4564. "security": [
  4565. {
  4566. "ApiKeyAuth": []
  4567. }
  4568. ],
  4569. "produces": [
  4570. "application/json"
  4571. ],
  4572. "tags": [
  4573. "企业风险管理v3(app)"
  4574. ],
  4575. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4576. "parameters": [
  4577. {
  4578. "type": "integer",
  4579. "description": "合同ID",
  4580. "name": "spotcontractid",
  4581. "in": "query"
  4582. }
  4583. ],
  4584. "responses": {
  4585. "200": {
  4586. "description": "OK",
  4587. "schema": {
  4588. "type": "array",
  4589. "items": {
  4590. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4591. }
  4592. }
  4593. },
  4594. "500": {
  4595. "description": "Internal Server Error",
  4596. "schema": {
  4597. "$ref": "#/definitions/app.Response"
  4598. }
  4599. }
  4600. }
  4601. }
  4602. },
  4603. "/Ermcp3/QueryAreaStockReport": {
  4604. "get": {
  4605. "security": [
  4606. {
  4607. "ApiKeyAuth": []
  4608. }
  4609. ],
  4610. "produces": [
  4611. "application/json"
  4612. ],
  4613. "tags": [
  4614. "企业风险管理v3(app)"
  4615. ],
  4616. "summary": "查询库存报表",
  4617. "parameters": [
  4618. {
  4619. "type": "integer",
  4620. "description": "用户ID",
  4621. "name": "userid",
  4622. "in": "query",
  4623. "required": true
  4624. },
  4625. {
  4626. "type": "integer",
  4627. "description": "查询类型 1-日报表 2-月报表",
  4628. "name": "querytype",
  4629. "in": "query",
  4630. "required": true
  4631. },
  4632. {
  4633. "type": "string",
  4634. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4635. "name": "querydate",
  4636. "in": "query",
  4637. "required": true
  4638. },
  4639. {
  4640. "type": "integer",
  4641. "description": "现货商品ID",
  4642. "name": "deliverygoodsid",
  4643. "in": "query"
  4644. },
  4645. {
  4646. "type": "integer",
  4647. "description": "品类ID",
  4648. "name": "wrstandardid",
  4649. "in": "query"
  4650. },
  4651. {
  4652. "type": "integer",
  4653. "description": "品牌ID",
  4654. "name": "spotgoodsbrandid",
  4655. "in": "query"
  4656. },
  4657. {
  4658. "type": "integer",
  4659. "description": "仓库ID",
  4660. "name": "warehouseinfoid",
  4661. "in": "query"
  4662. }
  4663. ],
  4664. "responses": {
  4665. "200": {
  4666. "description": "OK",
  4667. "schema": {
  4668. "type": "array",
  4669. "items": {
  4670. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4671. }
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/Ermcp3/QueryAreaStockReportDetail": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "produces": [
  4691. "application/json"
  4692. ],
  4693. "tags": [
  4694. "企业风险管理v3(app)"
  4695. ],
  4696. "summary": "查询库存报表明细",
  4697. "parameters": [
  4698. {
  4699. "type": "integer",
  4700. "description": "用户ID",
  4701. "name": "userid",
  4702. "in": "query",
  4703. "required": true
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "查询类型 1-日报表明细 2-月报表明细",
  4708. "name": "querytype",
  4709. "in": "query",
  4710. "required": true
  4711. },
  4712. {
  4713. "type": "integer",
  4714. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4715. "name": "detailtype",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4722. "name": "querydate",
  4723. "in": "query",
  4724. "required": true
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "现货商品ID",
  4729. "name": "deliverygoodsid",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "品类ID",
  4735. "name": "wrstandardid",
  4736. "in": "query"
  4737. },
  4738. {
  4739. "type": "integer",
  4740. "description": "品牌ID",
  4741. "name": "spotgoodsbrandid",
  4742. "in": "query"
  4743. },
  4744. {
  4745. "type": "integer",
  4746. "description": "仓库ID",
  4747. "name": "warehouseinfoid",
  4748. "in": "query"
  4749. }
  4750. ],
  4751. "responses": {
  4752. "200": {
  4753. "description": "OK",
  4754. "schema": {
  4755. "type": "array",
  4756. "items": {
  4757. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4758. }
  4759. }
  4760. },
  4761. "500": {
  4762. "description": "Internal Server Error",
  4763. "schema": {
  4764. "$ref": "#/definitions/app.Response"
  4765. }
  4766. }
  4767. }
  4768. }
  4769. },
  4770. "/Ermcp3/QueryDGFactoryItem": {
  4771. "get": {
  4772. "security": [
  4773. {
  4774. "ApiKeyAuth": []
  4775. }
  4776. ],
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "企业风险管理v3(app)"
  4782. ],
  4783. "summary": "查询品种要素定义项",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "所属机构ID",
  4788. "name": "areauserid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4794. "name": "dgfactoryitemid",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "现货品种ID",
  4800. "name": "deliverygoodsid",
  4801. "in": "query"
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "要素项类型",
  4806. "name": "dgfactoryitemtypeid",
  4807. "in": "query"
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "顺序",
  4812. "name": "orderindex",
  4813. "in": "query"
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "type": "array",
  4821. "items": {
  4822. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4823. }
  4824. }
  4825. },
  4826. "500": {
  4827. "description": "Internal Server Error",
  4828. "schema": {
  4829. "$ref": "#/definitions/app.Response"
  4830. }
  4831. }
  4832. }
  4833. }
  4834. },
  4835. "/Ermcp3/QueryDeliveryGoods": {
  4836. "get": {
  4837. "security": [
  4838. {
  4839. "ApiKeyAuth": []
  4840. }
  4841. ],
  4842. "produces": [
  4843. "application/json"
  4844. ],
  4845. "tags": [
  4846. "企业风险管理v3(app)"
  4847. ],
  4848. "summary": "查询现货商品",
  4849. "parameters": [
  4850. {
  4851. "type": "integer",
  4852. "description": "所属机构id",
  4853. "name": "areauserid",
  4854. "in": "query",
  4855. "required": true
  4856. },
  4857. {
  4858. "type": "integer",
  4859. "description": "排除已配置的现货商品 1-排除",
  4860. "name": "excludecfg",
  4861. "in": "query"
  4862. }
  4863. ],
  4864. "responses": {
  4865. "200": {
  4866. "description": "OK",
  4867. "schema": {
  4868. "type": "array",
  4869. "items": {
  4870. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4871. }
  4872. }
  4873. },
  4874. "500": {
  4875. "description": "Internal Server Error",
  4876. "schema": {
  4877. "$ref": "#/definitions/app.Response"
  4878. }
  4879. }
  4880. }
  4881. }
  4882. },
  4883. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4884. "get": {
  4885. "security": [
  4886. {
  4887. "ApiKeyAuth": []
  4888. }
  4889. ],
  4890. "produces": [
  4891. "application/json"
  4892. ],
  4893. "tags": [
  4894. "企业风险管理v3(app)"
  4895. ],
  4896. "summary": "查询现货商品详情",
  4897. "parameters": [
  4898. {
  4899. "type": "integer",
  4900. "description": "所属机构id",
  4901. "name": "areauserid",
  4902. "in": "query",
  4903. "required": true
  4904. },
  4905. {
  4906. "type": "integer",
  4907. "description": "现货商品id",
  4908. "name": "deliverygoodsid",
  4909. "in": "query"
  4910. }
  4911. ],
  4912. "responses": {
  4913. "200": {
  4914. "description": "OK",
  4915. "schema": {
  4916. "type": "array",
  4917. "items": {
  4918. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4919. }
  4920. }
  4921. },
  4922. "500": {
  4923. "description": "Internal Server Error",
  4924. "schema": {
  4925. "$ref": "#/definitions/app.Response"
  4926. }
  4927. }
  4928. }
  4929. }
  4930. },
  4931. "/Ermcp3/QueryExposureDetail": {
  4932. "get": {
  4933. "security": [
  4934. {
  4935. "ApiKeyAuth": []
  4936. }
  4937. ],
  4938. "produces": [
  4939. "application/json"
  4940. ],
  4941. "tags": [
  4942. "企业风险管理v3(app)"
  4943. ],
  4944. "summary": "查询敞口现货明细",
  4945. "parameters": [
  4946. {
  4947. "type": "integer",
  4948. "description": "所属机构ID",
  4949. "name": "areauserid",
  4950. "in": "query",
  4951. "required": true
  4952. },
  4953. {
  4954. "type": "integer",
  4955. "description": "套保商品",
  4956. "name": "middlegoodsid",
  4957. "in": "query",
  4958. "required": true
  4959. }
  4960. ],
  4961. "responses": {
  4962. "200": {
  4963. "description": "OK",
  4964. "schema": {
  4965. "type": "array",
  4966. "items": {
  4967. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4968. }
  4969. }
  4970. },
  4971. "500": {
  4972. "description": "Internal Server Error",
  4973. "schema": {
  4974. "$ref": "#/definitions/app.Response"
  4975. }
  4976. }
  4977. }
  4978. }
  4979. },
  4980. "/Ermcp3/QueryExposureSpot": {
  4981. "get": {
  4982. "security": [
  4983. {
  4984. "ApiKeyAuth": []
  4985. }
  4986. ],
  4987. "produces": [
  4988. "application/json"
  4989. ],
  4990. "tags": [
  4991. "企业风险管理v3(app)"
  4992. ],
  4993. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4994. "parameters": [
  4995. {
  4996. "type": "integer",
  4997. "description": "所属机构ID",
  4998. "name": "areauserid",
  4999. "in": "query",
  5000. "required": true
  5001. }
  5002. ],
  5003. "responses": {
  5004. "200": {
  5005. "description": "OK",
  5006. "schema": {
  5007. "type": "array",
  5008. "items": {
  5009. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  5010. }
  5011. }
  5012. },
  5013. "500": {
  5014. "description": "Internal Server Error",
  5015. "schema": {
  5016. "$ref": "#/definitions/app.Response"
  5017. }
  5018. }
  5019. }
  5020. }
  5021. },
  5022. "/Ermcp3/QueryExposureSpotDetail": {
  5023. "get": {
  5024. "security": [
  5025. {
  5026. "ApiKeyAuth": []
  5027. }
  5028. ],
  5029. "produces": [
  5030. "application/json"
  5031. ],
  5032. "tags": [
  5033. "企业风险管理v3(app)"
  5034. ],
  5035. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5036. "parameters": [
  5037. {
  5038. "type": "integer",
  5039. "description": "所属机构ID",
  5040. "name": "areauserid",
  5041. "in": "query",
  5042. "required": true
  5043. },
  5044. {
  5045. "type": "integer",
  5046. "description": "现货品种ID",
  5047. "name": "deliverygoodsid",
  5048. "in": "query",
  5049. "required": true
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "type": "array",
  5057. "items": {
  5058. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5059. }
  5060. }
  5061. },
  5062. "500": {
  5063. "description": "Internal Server Error",
  5064. "schema": {
  5065. "$ref": "#/definitions/app.Response"
  5066. }
  5067. }
  5068. }
  5069. }
  5070. },
  5071. "/Ermcp3/QueryGoodsGroup": {
  5072. "get": {
  5073. "security": [
  5074. {
  5075. "ApiKeyAuth": []
  5076. }
  5077. ],
  5078. "produces": [
  5079. "application/json"
  5080. ],
  5081. "tags": [
  5082. "企业风险管理v3(app)"
  5083. ],
  5084. "summary": "查询期货商品组",
  5085. "parameters": [
  5086. {
  5087. "type": "integer",
  5088. "description": "所属机构id",
  5089. "name": "areauserid",
  5090. "in": "query",
  5091. "required": true
  5092. },
  5093. {
  5094. "type": "integer",
  5095. "description": "排除套保品中已关联的商品组 1-排除",
  5096. "name": "excludecfg",
  5097. "in": "query"
  5098. }
  5099. ],
  5100. "responses": {
  5101. "200": {
  5102. "description": "OK",
  5103. "schema": {
  5104. "type": "array",
  5105. "items": {
  5106. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  5107. }
  5108. }
  5109. },
  5110. "500": {
  5111. "description": "Internal Server Error",
  5112. "schema": {
  5113. "$ref": "#/definitions/app.Response"
  5114. }
  5115. }
  5116. }
  5117. }
  5118. },
  5119. "/Ermcp3/QueryGoodsWrstandard": {
  5120. "get": {
  5121. "security": [
  5122. {
  5123. "ApiKeyAuth": []
  5124. }
  5125. ],
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "企业风险管理v3(app)"
  5131. ],
  5132. "summary": "查询商品品类",
  5133. "parameters": [
  5134. {
  5135. "type": "integer",
  5136. "description": "所属机构ID",
  5137. "name": "areauserid",
  5138. "in": "query",
  5139. "required": true
  5140. },
  5141. {
  5142. "type": "integer",
  5143. "description": "现货商品id",
  5144. "name": "deliverygoodsid",
  5145. "in": "query"
  5146. }
  5147. ],
  5148. "responses": {
  5149. "200": {
  5150. "description": "OK",
  5151. "schema": {
  5152. "type": "array",
  5153. "items": {
  5154. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5155. }
  5156. }
  5157. },
  5158. "500": {
  5159. "description": "Internal Server Error",
  5160. "schema": {
  5161. "$ref": "#/definitions/app.Response"
  5162. }
  5163. }
  5164. }
  5165. }
  5166. },
  5167. "/Ermcp3/QueryGoodsbrand": {
  5168. "get": {
  5169. "security": [
  5170. {
  5171. "ApiKeyAuth": []
  5172. }
  5173. ],
  5174. "produces": [
  5175. "application/json"
  5176. ],
  5177. "tags": [
  5178. "企业风险管理v3(app)"
  5179. ],
  5180. "summary": "查询商品品牌",
  5181. "parameters": [
  5182. {
  5183. "type": "integer",
  5184. "description": "所属机构ID",
  5185. "name": "areauserid",
  5186. "in": "query",
  5187. "required": true
  5188. }
  5189. ],
  5190. "responses": {
  5191. "200": {
  5192. "description": "OK",
  5193. "schema": {
  5194. "type": "array",
  5195. "items": {
  5196. "$ref": "#/definitions/models.Ermcp3Brand"
  5197. }
  5198. }
  5199. },
  5200. "500": {
  5201. "description": "Internal Server Error",
  5202. "schema": {
  5203. "$ref": "#/definitions/app.Response"
  5204. }
  5205. }
  5206. }
  5207. }
  5208. },
  5209. "/Ermcp3/QueryHedgePlan": {
  5210. "get": {
  5211. "security": [
  5212. {
  5213. "ApiKeyAuth": []
  5214. }
  5215. ],
  5216. "produces": [
  5217. "application/json"
  5218. ],
  5219. "tags": [
  5220. "企业风险管理v3(app)"
  5221. ],
  5222. "summary": "查询套保计划",
  5223. "parameters": [
  5224. {
  5225. "type": "integer",
  5226. "description": "用户ID",
  5227. "name": "userid",
  5228. "in": "query",
  5229. "required": true
  5230. },
  5231. {
  5232. "type": "string",
  5233. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5234. "name": "hedgeplanstatus",
  5235. "in": "query",
  5236. "required": true
  5237. }
  5238. ],
  5239. "responses": {
  5240. "200": {
  5241. "description": "OK",
  5242. "schema": {
  5243. "type": "array",
  5244. "items": {
  5245. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5246. }
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Ermcp3/QueryMiddleGoodsDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询套保品种详情(套保品种/商品详情)",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "所属机构ID",
  5276. "name": "areauserid",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "套保品种id",
  5283. "name": "middlegoodsid",
  5284. "in": "query"
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "type": "array",
  5292. "items": {
  5293. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  5294. }
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/Ermcp3/QuerySpotContract": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "produces": [
  5314. "application/json"
  5315. ],
  5316. "tags": [
  5317. "企业风险管理v3(app)"
  5318. ],
  5319. "summary": "查询现货合同",
  5320. "parameters": [
  5321. {
  5322. "type": "integer",
  5323. "description": "所属机构ID",
  5324. "name": "areauserid",
  5325. "in": "query",
  5326. "required": true
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5331. "name": "querytype",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "用户ID",
  5338. "name": "userid",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "用户类型 2-机构 7-企业成员",
  5344. "name": "usertype",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "合同ID(SpotContractId)",
  5350. "name": "contractid",
  5351. "in": "query"
  5352. }
  5353. ],
  5354. "responses": {
  5355. "200": {
  5356. "description": "OK",
  5357. "schema": {
  5358. "type": "array",
  5359. "items": {
  5360. "$ref": "#/definitions/models.Ermcp3Contract"
  5361. }
  5362. }
  5363. },
  5364. "500": {
  5365. "description": "Internal Server Error",
  5366. "schema": {
  5367. "$ref": "#/definitions/app.Response"
  5368. }
  5369. }
  5370. }
  5371. }
  5372. },
  5373. "/Ermcp3/QuerySpotContractBS": {
  5374. "get": {
  5375. "security": [
  5376. {
  5377. "ApiKeyAuth": []
  5378. }
  5379. ],
  5380. "produces": [
  5381. "application/json"
  5382. ],
  5383. "tags": [
  5384. "企业风险管理v3(app)"
  5385. ],
  5386. "summary": "查询合同(采购/销售)",
  5387. "parameters": [
  5388. {
  5389. "type": "integer",
  5390. "description": "所属机构ID",
  5391. "name": "areauserid",
  5392. "in": "query",
  5393. "required": true
  5394. },
  5395. {
  5396. "type": "integer",
  5397. "description": "合同类型 1-采购, -1-销售",
  5398. "name": "contracttype",
  5399. "in": "query",
  5400. "required": true
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5405. "name": "querytype",
  5406. "in": "query",
  5407. "required": true
  5408. },
  5409. {
  5410. "type": "integer",
  5411. "description": "用户ID",
  5412. "name": "userid",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "用户类型 2-机构 7-企业成员",
  5418. "name": "usertype",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "合同ID(SpotContractId)",
  5424. "name": "contractid",
  5425. "in": "query"
  5426. }
  5427. ],
  5428. "responses": {
  5429. "200": {
  5430. "description": "OK",
  5431. "schema": {
  5432. "type": "array",
  5433. "items": {
  5434. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5435. }
  5436. }
  5437. },
  5438. "500": {
  5439. "description": "Internal Server Error",
  5440. "schema": {
  5441. "$ref": "#/definitions/app.Response"
  5442. }
  5443. }
  5444. }
  5445. }
  5446. },
  5447. "/Ermcp3/QuerySpotGoodsPrice": {
  5448. "get": {
  5449. "security": [
  5450. {
  5451. "ApiKeyAuth": []
  5452. }
  5453. ],
  5454. "produces": [
  5455. "application/json"
  5456. ],
  5457. "tags": [
  5458. "企业风险管理v3(app)"
  5459. ],
  5460. "summary": "查询现货市价(现货市价)",
  5461. "parameters": [
  5462. {
  5463. "type": "integer",
  5464. "description": "用户ID",
  5465. "name": "userid",
  5466. "in": "query",
  5467. "required": true
  5468. }
  5469. ],
  5470. "responses": {
  5471. "200": {
  5472. "description": "OK",
  5473. "schema": {
  5474. "type": "array",
  5475. "items": {
  5476. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5477. }
  5478. }
  5479. },
  5480. "500": {
  5481. "description": "Internal Server Error",
  5482. "schema": {
  5483. "$ref": "#/definitions/app.Response"
  5484. }
  5485. }
  5486. }
  5487. }
  5488. },
  5489. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5490. "get": {
  5491. "security": [
  5492. {
  5493. "ApiKeyAuth": []
  5494. }
  5495. ],
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货市价详情(现货市价/详情)",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "现货商品ID",
  5514. "name": "deliverygoodsid",
  5515. "in": "query",
  5516. "required": true
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "type": "array",
  5524. "items": {
  5525. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5526. }
  5527. }
  5528. },
  5529. "500": {
  5530. "description": "Internal Server Error",
  5531. "schema": {
  5532. "$ref": "#/definitions/app.Response"
  5533. }
  5534. }
  5535. }
  5536. }
  5537. },
  5538. "/Erms2/QueryArbitrageStrategy": {
  5539. "get": {
  5540. "security": [
  5541. {
  5542. "ApiKeyAuth": []
  5543. }
  5544. ],
  5545. "produces": [
  5546. "application/json"
  5547. ],
  5548. "tags": [
  5549. "风险管理"
  5550. ],
  5551. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5552. "parameters": [
  5553. {
  5554. "type": "integer",
  5555. "description": "账户ID",
  5556. "name": "userid",
  5557. "in": "query",
  5558. "required": true
  5559. },
  5560. {
  5561. "type": "string",
  5562. "description": "商品组ID(品种ID)",
  5563. "name": "goodsgroupid",
  5564. "in": "query"
  5565. }
  5566. ],
  5567. "responses": {
  5568. "200": {
  5569. "description": "OK",
  5570. "schema": {
  5571. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5572. }
  5573. },
  5574. "500": {
  5575. "description": "Internal Server Error",
  5576. "schema": {
  5577. "$ref": "#/definitions/app.Response"
  5578. }
  5579. }
  5580. }
  5581. }
  5582. },
  5583. "/Erms2/QueryInnerTradeDetail": {
  5584. "get": {
  5585. "security": [
  5586. {
  5587. "ApiKeyAuth": []
  5588. }
  5589. ],
  5590. "produces": [
  5591. "application/json"
  5592. ],
  5593. "tags": [
  5594. "风险管理"
  5595. ],
  5596. "summary": "查询内部成交单信息",
  5597. "parameters": [
  5598. {
  5599. "type": "integer",
  5600. "description": "资金账户",
  5601. "name": "accountid",
  5602. "in": "query",
  5603. "required": true
  5604. }
  5605. ],
  5606. "responses": {
  5607. "200": {
  5608. "description": "OK",
  5609. "schema": {
  5610. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5611. }
  5612. },
  5613. "500": {
  5614. "description": "Internal Server Error",
  5615. "schema": {
  5616. "$ref": "#/definitions/app.Response"
  5617. }
  5618. }
  5619. }
  5620. }
  5621. },
  5622. "/Erms2/QuerySpotContract": {
  5623. "get": {
  5624. "security": [
  5625. {
  5626. "ApiKeyAuth": []
  5627. }
  5628. ],
  5629. "produces": [
  5630. "application/json"
  5631. ],
  5632. "tags": [
  5633. "风险管理"
  5634. ],
  5635. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5636. "parameters": [
  5637. {
  5638. "type": "integer",
  5639. "description": "策略申请ID",
  5640. "name": "asapplyid",
  5641. "in": "query",
  5642. "required": true
  5643. },
  5644. {
  5645. "type": "integer",
  5646. "description": "现货合同ID",
  5647. "name": "spotcontractid",
  5648. "in": "query"
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/Erms3/AddErms2ASApply": {
  5668. "post": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "produces": [
  5675. "application/json"
  5676. ],
  5677. "tags": [
  5678. "风险管理v3"
  5679. ],
  5680. "summary": "新增期现套利业务申请",
  5681. "parameters": [
  5682. {
  5683. "description": "申请参数",
  5684. "name": "jsonBody",
  5685. "in": "body",
  5686. "required": true,
  5687. "schema": {
  5688. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5689. }
  5690. }
  5691. ],
  5692. "responses": {
  5693. "200": {
  5694. "description": "OK",
  5695. "schema": {
  5696. "$ref": "#/definitions/app.Response"
  5697. }
  5698. },
  5699. "500": {
  5700. "description": "Internal Server Error",
  5701. "schema": {
  5702. "$ref": "#/definitions/app.Response"
  5703. }
  5704. }
  5705. }
  5706. }
  5707. },
  5708. "/Erms3/AddErms2SpotTradeApply": {
  5709. "post": {
  5710. "security": [
  5711. {
  5712. "ApiKeyAuth": []
  5713. }
  5714. ],
  5715. "produces": [
  5716. "application/json"
  5717. ],
  5718. "tags": [
  5719. "风险管理v3"
  5720. ],
  5721. "summary": "新增现货贸易业务申请",
  5722. "parameters": [
  5723. {
  5724. "description": "申请参数",
  5725. "name": "jsonBody",
  5726. "in": "body",
  5727. "required": true,
  5728. "schema": {
  5729. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5730. }
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "$ref": "#/definitions/app.Response"
  5738. }
  5739. },
  5740. "500": {
  5741. "description": "Internal Server Error",
  5742. "schema": {
  5743. "$ref": "#/definitions/app.Response"
  5744. }
  5745. }
  5746. }
  5747. }
  5748. },
  5749. "/Erms3/AddSpotContractApply": {
  5750. "post": {
  5751. "security": [
  5752. {
  5753. "ApiKeyAuth": []
  5754. }
  5755. ],
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "新增现货合同申请",
  5763. "parameters": [
  5764. {
  5765. "description": "申请参数",
  5766. "name": "jsonBody",
  5767. "in": "body",
  5768. "required": true,
  5769. "schema": {
  5770. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5771. }
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/Erms3/AddUserInfoApply": {
  5791. "post": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "风险管理v3"
  5802. ],
  5803. "summary": "新增客户申请",
  5804. "parameters": [
  5805. {
  5806. "description": "用户信息",
  5807. "name": "jsonBody",
  5808. "in": "body",
  5809. "required": true,
  5810. "schema": {
  5811. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5812. }
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/app.Response"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/Erms3/DeleteUserInfoApply": {
  5832. "get": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5839. "produces": [
  5840. "application/json"
  5841. ],
  5842. "tags": [
  5843. "风险管理v3"
  5844. ],
  5845. "summary": "删除客户申请",
  5846. "parameters": [
  5847. {
  5848. "type": "integer",
  5849. "description": "用户ID",
  5850. "name": "userID",
  5851. "in": "query",
  5852. "required": true
  5853. }
  5854. ],
  5855. "responses": {
  5856. "200": {
  5857. "description": "OK",
  5858. "schema": {
  5859. "$ref": "#/definitions/app.Response"
  5860. }
  5861. },
  5862. "500": {
  5863. "description": "Internal Server Error",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. }
  5868. }
  5869. }
  5870. },
  5871. "/Erms3/ModifyUserInfoApply": {
  5872. "post": {
  5873. "security": [
  5874. {
  5875. "ApiKeyAuth": []
  5876. }
  5877. ],
  5878. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5879. "produces": [
  5880. "application/json"
  5881. ],
  5882. "tags": [
  5883. "风险管理v3"
  5884. ],
  5885. "summary": "修改客户申请",
  5886. "parameters": [
  5887. {
  5888. "description": "用户信息",
  5889. "name": "jsonBody",
  5890. "in": "body",
  5891. "required": true,
  5892. "schema": {
  5893. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5894. }
  5895. }
  5896. ],
  5897. "responses": {
  5898. "200": {
  5899. "description": "OK",
  5900. "schema": {
  5901. "$ref": "#/definitions/app.Response"
  5902. }
  5903. },
  5904. "500": {
  5905. "description": "Internal Server Error",
  5906. "schema": {
  5907. "$ref": "#/definitions/app.Response"
  5908. }
  5909. }
  5910. }
  5911. }
  5912. },
  5913. "/Erms3/QueryBusinessInfo": {
  5914. "get": {
  5915. "security": [
  5916. {
  5917. "ApiKeyAuth": []
  5918. }
  5919. ],
  5920. "produces": [
  5921. "application/json"
  5922. ],
  5923. "tags": [
  5924. "风险管理v3"
  5925. ],
  5926. "summary": "查询业务表单数据",
  5927. "parameters": [
  5928. {
  5929. "type": "string",
  5930. "description": "资金账号ID列表,用逗号分隔",
  5931. "name": "accountids",
  5932. "in": "query",
  5933. "required": true
  5934. },
  5935. {
  5936. "type": "integer",
  5937. "description": "状态,0为未结束 1为已结束",
  5938. "name": "status",
  5939. "in": "query",
  5940. "required": true
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "type": "array",
  5948. "items": {
  5949. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5950. }
  5951. }
  5952. },
  5953. "500": {
  5954. "description": "Internal Server Error",
  5955. "schema": {
  5956. "$ref": "#/definitions/app.Response"
  5957. }
  5958. }
  5959. }
  5960. }
  5961. },
  5962. "/Erms3/QueryPendingAuditContract": {
  5963. "get": {
  5964. "security": [
  5965. {
  5966. "ApiKeyAuth": []
  5967. }
  5968. ],
  5969. "produces": [
  5970. "application/json"
  5971. ],
  5972. "tags": [
  5973. "风险管理v3"
  5974. ],
  5975. "summary": "查询待审核合同",
  5976. "parameters": [
  5977. {
  5978. "type": "string",
  5979. "description": "资金账号ID列表,逗号隔开",
  5980. "name": "accountids",
  5981. "in": "query",
  5982. "required": true
  5983. },
  5984. {
  5985. "type": "integer",
  5986. "description": "合同类型 1-采购 -1-销售",
  5987. "name": "contracttype",
  5988. "in": "query",
  5989. "required": true
  5990. },
  5991. {
  5992. "type": "integer",
  5993. "description": "合同模式 1-普通 2-回购",
  5994. "name": "contractmode",
  5995. "in": "query",
  5996. "required": true
  5997. }
  5998. ],
  5999. "responses": {
  6000. "200": {
  6001. "description": "OK",
  6002. "schema": {
  6003. "type": "array",
  6004. "items": {
  6005. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6006. }
  6007. }
  6008. },
  6009. "500": {
  6010. "description": "Internal Server Error",
  6011. "schema": {
  6012. "$ref": "#/definitions/app.Response"
  6013. }
  6014. }
  6015. }
  6016. }
  6017. },
  6018. "/Erms3/QueryPendingBusiness": {
  6019. "get": {
  6020. "security": [
  6021. {
  6022. "ApiKeyAuth": []
  6023. }
  6024. ],
  6025. "produces": [
  6026. "application/json"
  6027. ],
  6028. "tags": [
  6029. "风险管理v3"
  6030. ],
  6031. "summary": "查询待审核基差贸易业务",
  6032. "parameters": [
  6033. {
  6034. "type": "string",
  6035. "description": "资金账号ID列表,逗号隔开",
  6036. "name": "accountids",
  6037. "in": "query",
  6038. "required": true
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "type": "array",
  6046. "items": {
  6047. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6048. }
  6049. }
  6050. },
  6051. "500": {
  6052. "description": "Internal Server Error",
  6053. "schema": {
  6054. "$ref": "#/definitions/app.Response"
  6055. }
  6056. }
  6057. }
  6058. }
  6059. },
  6060. "/Erms3/QuerySpotContractAppleForm": {
  6061. "get": {
  6062. "security": [
  6063. {
  6064. "ApiKeyAuth": []
  6065. }
  6066. ],
  6067. "produces": [
  6068. "application/json"
  6069. ],
  6070. "tags": [
  6071. "风险管理v3"
  6072. ],
  6073. "summary": "查询合同申请表单数据",
  6074. "parameters": [
  6075. {
  6076. "type": "integer",
  6077. "description": "登录账号",
  6078. "name": "loginID",
  6079. "in": "query",
  6080. "required": true
  6081. }
  6082. ],
  6083. "responses": {
  6084. "200": {
  6085. "description": "OK",
  6086. "schema": {
  6087. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Erms3/QuerySpotContractDetail": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "produces": [
  6107. "application/json"
  6108. ],
  6109. "tags": [
  6110. "风险管理v3"
  6111. ],
  6112. "summary": "查询合同详细信息",
  6113. "parameters": [
  6114. {
  6115. "type": "string",
  6116. "description": "资金账号ID列表,用逗号分隔",
  6117. "name": "accountids",
  6118. "in": "query",
  6119. "required": true
  6120. },
  6121. {
  6122. "type": "integer",
  6123. "description": "合同类型,1为采购合同 -1为销售合同",
  6124. "name": "contracttype",
  6125. "in": "query",
  6126. "required": true
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "合同模式,1为普通合同 2为回购销售合同",
  6131. "name": "contractmode",
  6132. "in": "query",
  6133. "required": true
  6134. },
  6135. {
  6136. "type": "integer",
  6137. "description": "状态,0为履约中 1为已完成",
  6138. "name": "status",
  6139. "in": "query",
  6140. "required": true
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "type": "array",
  6148. "items": {
  6149. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6150. }
  6151. }
  6152. },
  6153. "500": {
  6154. "description": "Internal Server Error",
  6155. "schema": {
  6156. "$ref": "#/definitions/app.Response"
  6157. }
  6158. }
  6159. }
  6160. }
  6161. },
  6162. "/Erms3/QueryUserInfoApplies": {
  6163. "get": {
  6164. "security": [
  6165. {
  6166. "ApiKeyAuth": []
  6167. }
  6168. ],
  6169. "produces": [
  6170. "application/json"
  6171. ],
  6172. "tags": [
  6173. "风险管理v3"
  6174. ],
  6175. "summary": "客户申请信息查询",
  6176. "parameters": [
  6177. {
  6178. "type": "integer",
  6179. "description": "页码",
  6180. "name": "page",
  6181. "in": "query"
  6182. },
  6183. {
  6184. "type": "integer",
  6185. "description": "每页条数",
  6186. "name": "pagesize",
  6187. "in": "query"
  6188. },
  6189. {
  6190. "type": "string",
  6191. "description": "客户名称,支持模糊查询",
  6192. "name": "userName",
  6193. "in": "query"
  6194. }
  6195. ],
  6196. "responses": {
  6197. "200": {
  6198. "description": "OK",
  6199. "schema": {
  6200. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6201. }
  6202. },
  6203. "500": {
  6204. "description": "Internal Server Error",
  6205. "schema": {
  6206. "$ref": "#/definitions/app.Response"
  6207. }
  6208. }
  6209. }
  6210. }
  6211. },
  6212. "/Erms3/QueryUserInfos": {
  6213. "get": {
  6214. "security": [
  6215. {
  6216. "ApiKeyAuth": []
  6217. }
  6218. ],
  6219. "produces": [
  6220. "application/json"
  6221. ],
  6222. "tags": [
  6223. "风险管理v3"
  6224. ],
  6225. "summary": "客户信息查询",
  6226. "parameters": [
  6227. {
  6228. "type": "integer",
  6229. "description": "页码",
  6230. "name": "page",
  6231. "in": "query"
  6232. },
  6233. {
  6234. "type": "integer",
  6235. "description": "每页条数",
  6236. "name": "pagesize",
  6237. "in": "query"
  6238. },
  6239. {
  6240. "type": "string",
  6241. "description": "客户名称,支持模糊查询",
  6242. "name": "userName",
  6243. "in": "query"
  6244. }
  6245. ],
  6246. "responses": {
  6247. "200": {
  6248. "description": "OK",
  6249. "schema": {
  6250. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6251. }
  6252. },
  6253. "500": {
  6254. "description": "Internal Server Error",
  6255. "schema": {
  6256. "$ref": "#/definitions/app.Response"
  6257. }
  6258. }
  6259. }
  6260. }
  6261. },
  6262. "/HSBY/GetHsbyMyCount": {
  6263. "get": {
  6264. "security": [
  6265. {
  6266. "ApiKeyAuth": []
  6267. }
  6268. ],
  6269. "description": "说明: 不包括已完成的数量。",
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "定制【海商报业】"
  6275. ],
  6276. "summary": "获取我的订单与包裹数量",
  6277. "parameters": [
  6278. {
  6279. "type": "string",
  6280. "description": "资金账户列表,格式:1,2,3",
  6281. "name": "accountIDs",
  6282. "in": "query",
  6283. "required": true
  6284. }
  6285. ],
  6286. "responses": {
  6287. "200": {
  6288. "description": "OK",
  6289. "schema": {
  6290. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6291. }
  6292. },
  6293. "500": {
  6294. "description": "Internal Server Error",
  6295. "schema": {
  6296. "$ref": "#/definitions/app.Response"
  6297. }
  6298. }
  6299. }
  6300. }
  6301. },
  6302. "/HSBY/QueryClientFixedADConfigs": {
  6303. "get": {
  6304. "security": [
  6305. {
  6306. "ApiKeyAuth": []
  6307. }
  6308. ],
  6309. "produces": [
  6310. "application/json"
  6311. ],
  6312. "tags": [
  6313. "定制【海商报业】"
  6314. ],
  6315. "summary": "获取终端固定广告配置",
  6316. "responses": {
  6317. "200": {
  6318. "description": "OK",
  6319. "schema": {
  6320. "$ref": "#/definitions/models.Clientfixedadconfig"
  6321. }
  6322. },
  6323. "500": {
  6324. "description": "Internal Server Error",
  6325. "schema": {
  6326. "$ref": "#/definitions/app.Response"
  6327. }
  6328. }
  6329. }
  6330. }
  6331. },
  6332. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6333. "get": {
  6334. "security": [
  6335. {
  6336. "ApiKeyAuth": []
  6337. }
  6338. ],
  6339. "produces": [
  6340. "application/json"
  6341. ],
  6342. "tags": [
  6343. "定制【海商报业】"
  6344. ],
  6345. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6346. "parameters": [
  6347. {
  6348. "type": "integer",
  6349. "description": "页码",
  6350. "name": "page",
  6351. "in": "query"
  6352. },
  6353. {
  6354. "type": "integer",
  6355. "description": "每页条数",
  6356. "name": "pagesize",
  6357. "in": "query"
  6358. },
  6359. {
  6360. "type": "string",
  6361. "description": "资金账户列表,格式:1,2,3",
  6362. "name": "accountIDs",
  6363. "in": "query",
  6364. "required": true
  6365. }
  6366. ],
  6367. "responses": {
  6368. "200": {
  6369. "description": "OK",
  6370. "schema": {
  6371. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6372. }
  6373. },
  6374. "500": {
  6375. "description": "Internal Server Error",
  6376. "schema": {
  6377. "$ref": "#/definitions/app.Response"
  6378. }
  6379. }
  6380. }
  6381. }
  6382. },
  6383. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6384. "get": {
  6385. "security": [
  6386. {
  6387. "ApiKeyAuth": []
  6388. }
  6389. ],
  6390. "description": "说明:查询结果已按委托价格和委托时间排序",
  6391. "produces": [
  6392. "application/json"
  6393. ],
  6394. "tags": [
  6395. "定制【海商报业】"
  6396. ],
  6397. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6398. "parameters": [
  6399. {
  6400. "type": "integer",
  6401. "description": "商品ID",
  6402. "name": "goodsID",
  6403. "in": "query",
  6404. "required": true
  6405. },
  6406. {
  6407. "type": "string",
  6408. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6409. "name": "accountIDs",
  6410. "in": "query"
  6411. },
  6412. {
  6413. "type": "integer",
  6414. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6415. "name": "buyOrSell",
  6416. "in": "query"
  6417. },
  6418. {
  6419. "type": "number",
  6420. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6421. "name": "price",
  6422. "in": "query"
  6423. },
  6424. {
  6425. "type": "integer",
  6426. "description": "档位,不传则默认为3档",
  6427. "name": "speed",
  6428. "in": "query"
  6429. }
  6430. ],
  6431. "responses": {
  6432. "200": {
  6433. "description": "OK",
  6434. "schema": {
  6435. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6436. }
  6437. },
  6438. "500": {
  6439. "description": "Internal Server Error",
  6440. "schema": {
  6441. "$ref": "#/definitions/app.Response"
  6442. }
  6443. }
  6444. }
  6445. }
  6446. },
  6447. "/HSBY/QueryHsbyListingGoodsDetail": {
  6448. "get": {
  6449. "security": [
  6450. {
  6451. "ApiKeyAuth": []
  6452. }
  6453. ],
  6454. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6455. "produces": [
  6456. "application/json"
  6457. ],
  6458. "tags": [
  6459. "定制【海商报业】"
  6460. ],
  6461. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6462. "parameters": [
  6463. {
  6464. "type": "integer",
  6465. "description": "商品ID",
  6466. "name": "goodsID",
  6467. "in": "query",
  6468. "required": true
  6469. },
  6470. {
  6471. "type": "integer",
  6472. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6473. "name": "accountID",
  6474. "in": "query"
  6475. }
  6476. ],
  6477. "responses": {
  6478. "200": {
  6479. "description": "OK",
  6480. "schema": {
  6481. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6482. }
  6483. },
  6484. "500": {
  6485. "description": "Internal Server Error",
  6486. "schema": {
  6487. "$ref": "#/definitions/app.Response"
  6488. }
  6489. }
  6490. }
  6491. }
  6492. },
  6493. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6494. "get": {
  6495. "security": [
  6496. {
  6497. "ApiKeyAuth": []
  6498. }
  6499. ],
  6500. "produces": [
  6501. "application/json"
  6502. ],
  6503. "tags": [
  6504. "定制【海商报业】"
  6505. ],
  6506. "summary": "查询三级市场(商城)商品信息详情",
  6507. "parameters": [
  6508. {
  6509. "type": "integer",
  6510. "description": "委托单号",
  6511. "name": "orderID",
  6512. "in": "query",
  6513. "required": true
  6514. },
  6515. {
  6516. "type": "integer",
  6517. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6518. "name": "accountID",
  6519. "in": "query"
  6520. }
  6521. ],
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/HSBY/QueryHsbyMarketGoodses": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "produces": [
  6546. "application/json"
  6547. ],
  6548. "tags": [
  6549. "定制【海商报业】"
  6550. ],
  6551. "summary": "查询特卖商品列表(三级商城)",
  6552. "parameters": [
  6553. {
  6554. "type": "integer",
  6555. "description": "页码",
  6556. "name": "page",
  6557. "in": "query"
  6558. },
  6559. {
  6560. "type": "integer",
  6561. "description": "每页条数",
  6562. "name": "pagesize",
  6563. "in": "query"
  6564. },
  6565. {
  6566. "type": "string",
  6567. "description": "市场ID列表,格式:1,2,3",
  6568. "name": "marketIDs",
  6569. "in": "query",
  6570. "required": true
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6575. "name": "accountID",
  6576. "in": "query",
  6577. "required": true
  6578. },
  6579. {
  6580. "type": "integer",
  6581. "description": "类别ID",
  6582. "name": "categoryID",
  6583. "in": "query"
  6584. },
  6585. {
  6586. "type": "string",
  6587. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6588. "name": "goodsIDs",
  6589. "in": "query"
  6590. },
  6591. {
  6592. "type": "integer",
  6593. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6594. "name": "couponTypeID",
  6595. "in": "query"
  6596. }
  6597. ],
  6598. "responses": {
  6599. "200": {
  6600. "description": "OK",
  6601. "schema": {
  6602. "$ref": "#/definitions/models.HsbyMarketGoods"
  6603. }
  6604. },
  6605. "500": {
  6606. "description": "Internal Server Error",
  6607. "schema": {
  6608. "$ref": "#/definitions/app.Response"
  6609. }
  6610. }
  6611. }
  6612. }
  6613. },
  6614. "/HSBY/QueryHsbyMarkets": {
  6615. "get": {
  6616. "security": [
  6617. {
  6618. "ApiKeyAuth": []
  6619. }
  6620. ],
  6621. "produces": [
  6622. "application/json"
  6623. ],
  6624. "tags": [
  6625. "定制【海商报业】"
  6626. ],
  6627. "summary": "查询海商报业相关市场信息",
  6628. "responses": {
  6629. "200": {
  6630. "description": "OK",
  6631. "schema": {
  6632. "$ref": "#/definitions/models.HsbyMarketInfo"
  6633. }
  6634. },
  6635. "500": {
  6636. "description": "Internal Server Error",
  6637. "schema": {
  6638. "$ref": "#/definitions/app.Response"
  6639. }
  6640. }
  6641. }
  6642. }
  6643. },
  6644. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6645. "get": {
  6646. "security": [
  6647. {
  6648. "ApiKeyAuth": []
  6649. }
  6650. ],
  6651. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6652. "produces": [
  6653. "application/json"
  6654. ],
  6655. "tags": [
  6656. "定制【海商报业】"
  6657. ],
  6658. "summary": "查询“我的订单”信息",
  6659. "parameters": [
  6660. {
  6661. "type": "string",
  6662. "description": "资金账户列表,格式:1,2,3",
  6663. "name": "accountIDs",
  6664. "in": "query",
  6665. "required": true
  6666. }
  6667. ],
  6668. "responses": {
  6669. "200": {
  6670. "description": "OK",
  6671. "schema": {
  6672. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6673. }
  6674. },
  6675. "500": {
  6676. "description": "Internal Server Error",
  6677. "schema": {
  6678. "$ref": "#/definitions/app.Response"
  6679. }
  6680. }
  6681. }
  6682. }
  6683. },
  6684. "/HSBY/QueryHsbyMyGoods": {
  6685. "get": {
  6686. "security": [
  6687. {
  6688. "ApiKeyAuth": []
  6689. }
  6690. ],
  6691. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6692. "produces": [
  6693. "application/json"
  6694. ],
  6695. "tags": [
  6696. "定制【海商报业】"
  6697. ],
  6698. "summary": "查询“我的商品”信息",
  6699. "parameters": [
  6700. {
  6701. "type": "string",
  6702. "description": "资金账户列表,格式:1,2,3",
  6703. "name": "accountIDs",
  6704. "in": "query",
  6705. "required": true
  6706. }
  6707. ],
  6708. "responses": {
  6709. "200": {
  6710. "description": "OK",
  6711. "schema": {
  6712. "$ref": "#/definitions/models.HsbyMyGoods"
  6713. }
  6714. },
  6715. "500": {
  6716. "description": "Internal Server Error",
  6717. "schema": {
  6718. "$ref": "#/definitions/app.Response"
  6719. }
  6720. }
  6721. }
  6722. }
  6723. },
  6724. "/HSBY/QueryHsbyMyPackages": {
  6725. "get": {
  6726. "security": [
  6727. {
  6728. "ApiKeyAuth": []
  6729. }
  6730. ],
  6731. "produces": [
  6732. "application/json"
  6733. ],
  6734. "tags": [
  6735. "定制【海商报业】"
  6736. ],
  6737. "summary": "查询我的包裹信息",
  6738. "parameters": [
  6739. {
  6740. "type": "string",
  6741. "description": "资金账户列表,格式:1,2,3",
  6742. "name": "accountIDs",
  6743. "in": "query",
  6744. "required": true
  6745. },
  6746. {
  6747. "type": "integer",
  6748. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6749. "name": "takeOrderStatus",
  6750. "in": "query"
  6751. }
  6752. ],
  6753. "responses": {
  6754. "200": {
  6755. "description": "OK",
  6756. "schema": {
  6757. "$ref": "#/definitions/models.HsbyMyPackage"
  6758. }
  6759. },
  6760. "500": {
  6761. "description": "Internal Server Error",
  6762. "schema": {
  6763. "$ref": "#/definitions/app.Response"
  6764. }
  6765. }
  6766. }
  6767. }
  6768. },
  6769. "/HSBY/QueryHsbyPreGoodsDetail": {
  6770. "get": {
  6771. "security": [
  6772. {
  6773. "ApiKeyAuth": []
  6774. }
  6775. ],
  6776. "produces": [
  6777. "application/json"
  6778. ],
  6779. "tags": [
  6780. "定制【海商报业】"
  6781. ],
  6782. "summary": "查询一级市场(预售)商品信息详情",
  6783. "parameters": [
  6784. {
  6785. "type": "integer",
  6786. "description": "商品ID",
  6787. "name": "goodsID",
  6788. "in": "query",
  6789. "required": true
  6790. },
  6791. {
  6792. "type": "integer",
  6793. "description": "资金账户,主要用于获取预售商品购买上限",
  6794. "name": "accountID",
  6795. "in": "query"
  6796. }
  6797. ],
  6798. "responses": {
  6799. "200": {
  6800. "description": "OK",
  6801. "schema": {
  6802. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6803. }
  6804. },
  6805. "500": {
  6806. "description": "Internal Server Error",
  6807. "schema": {
  6808. "$ref": "#/definitions/app.Response"
  6809. }
  6810. }
  6811. }
  6812. }
  6813. },
  6814. "/HSBY/QueryHsbyPreGoodses": {
  6815. "get": {
  6816. "security": [
  6817. {
  6818. "ApiKeyAuth": []
  6819. }
  6820. ],
  6821. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "定制【海商报业】"
  6827. ],
  6828. "summary": "查询新品上市商品列表(一级市场预售)",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "页码",
  6833. "name": "page",
  6834. "in": "query"
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "每页条数",
  6839. "name": "pagesize",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "string",
  6844. "description": "市场ID列表,格式:1,2,3",
  6845. "name": "marketIDs",
  6846. "in": "query",
  6847. "required": true
  6848. },
  6849. {
  6850. "type": "integer",
  6851. "description": "目的地(省)ID",
  6852. "name": "descProvinceID",
  6853. "in": "query"
  6854. },
  6855. {
  6856. "type": "integer",
  6857. "description": "目的地(市)ID",
  6858. "name": "descCityID",
  6859. "in": "query"
  6860. }
  6861. ],
  6862. "responses": {
  6863. "200": {
  6864. "description": "OK",
  6865. "schema": {
  6866. "$ref": "#/definitions/models.HsbyPreGoods"
  6867. }
  6868. },
  6869. "500": {
  6870. "description": "Internal Server Error",
  6871. "schema": {
  6872. "$ref": "#/definitions/app.Response"
  6873. }
  6874. }
  6875. }
  6876. }
  6877. },
  6878. "/HSBY/QueryHsbySellMyDetails": {
  6879. "get": {
  6880. "security": [
  6881. {
  6882. "ApiKeyAuth": []
  6883. }
  6884. ],
  6885. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6886. "produces": [
  6887. "application/json"
  6888. ],
  6889. "tags": [
  6890. "定制【海商报业】"
  6891. ],
  6892. "summary": "查询\"我的闲置\"单据信息",
  6893. "parameters": [
  6894. {
  6895. "type": "integer",
  6896. "description": "页码",
  6897. "name": "page",
  6898. "in": "query"
  6899. },
  6900. {
  6901. "type": "integer",
  6902. "description": "每页条数",
  6903. "name": "pagesize",
  6904. "in": "query"
  6905. },
  6906. {
  6907. "type": "string",
  6908. "description": "资金账户列表,格式:1,2,3",
  6909. "name": "accountIDs",
  6910. "in": "query",
  6911. "required": true
  6912. },
  6913. {
  6914. "type": "integer",
  6915. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6916. "name": "orderType",
  6917. "in": "query"
  6918. }
  6919. ],
  6920. "responses": {
  6921. "200": {
  6922. "description": "OK",
  6923. "schema": {
  6924. "$ref": "#/definitions/models.HsbySellMyDetail"
  6925. }
  6926. },
  6927. "500": {
  6928. "description": "Internal Server Error",
  6929. "schema": {
  6930. "$ref": "#/definitions/app.Response"
  6931. }
  6932. }
  6933. }
  6934. }
  6935. },
  6936. "/HSBY/QueryHsbyTopGoodses": {
  6937. "get": {
  6938. "security": [
  6939. {
  6940. "ApiKeyAuth": []
  6941. }
  6942. ],
  6943. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6944. "produces": [
  6945. "application/json"
  6946. ],
  6947. "tags": [
  6948. "定制【海商报业】"
  6949. ],
  6950. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6951. "parameters": [
  6952. {
  6953. "type": "integer",
  6954. "description": "页码",
  6955. "name": "page",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "integer",
  6960. "description": "每页条数",
  6961. "name": "pagesize",
  6962. "in": "query"
  6963. },
  6964. {
  6965. "type": "string",
  6966. "description": "市场ID列表,格式:1,2,3",
  6967. "name": "marketIDs",
  6968. "in": "query",
  6969. "required": true
  6970. },
  6971. {
  6972. "type": "integer",
  6973. "description": "目的地(省)ID",
  6974. "name": "descProvinceID",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "integer",
  6979. "description": "目的地(市)ID",
  6980. "name": "descCityID",
  6981. "in": "query"
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/models.HsbyTopGoods"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7001. "get": {
  7002. "security": [
  7003. {
  7004. "ApiKeyAuth": []
  7005. }
  7006. ],
  7007. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7008. "produces": [
  7009. "application/json"
  7010. ],
  7011. "tags": [
  7012. "定制【海商报业】"
  7013. ],
  7014. "summary": "查询游客三级市场(商城)商品信息详情",
  7015. "parameters": [
  7016. {
  7017. "type": "integer",
  7018. "description": "商品ID",
  7019. "name": "goodsID",
  7020. "in": "query",
  7021. "required": true
  7022. }
  7023. ],
  7024. "responses": {
  7025. "200": {
  7026. "description": "OK",
  7027. "schema": {
  7028. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7029. }
  7030. },
  7031. "500": {
  7032. "description": "Internal Server Error",
  7033. "schema": {
  7034. "$ref": "#/definitions/app.Response"
  7035. }
  7036. }
  7037. }
  7038. }
  7039. },
  7040. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7041. "get": {
  7042. "security": [
  7043. {
  7044. "ApiKeyAuth": []
  7045. }
  7046. ],
  7047. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7048. "produces": [
  7049. "application/json"
  7050. ],
  7051. "tags": [
  7052. "定制【海商报业】"
  7053. ],
  7054. "summary": "查询游客特卖商品列表(三级商城)",
  7055. "parameters": [
  7056. {
  7057. "type": "integer",
  7058. "description": "页码",
  7059. "name": "page",
  7060. "in": "query"
  7061. },
  7062. {
  7063. "type": "integer",
  7064. "description": "每页条数",
  7065. "name": "pagesize",
  7066. "in": "query"
  7067. },
  7068. {
  7069. "type": "string",
  7070. "description": "市场ID列表,格式:1,2,3",
  7071. "name": "marketIDs",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "integer",
  7077. "description": "类别ID",
  7078. "name": "categoryID",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "string",
  7083. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7084. "name": "goodsIDs",
  7085. "in": "query"
  7086. }
  7087. ],
  7088. "responses": {
  7089. "200": {
  7090. "description": "OK",
  7091. "schema": {
  7092. "$ref": "#/definitions/models.HsbyMarketGoods"
  7093. }
  7094. },
  7095. "500": {
  7096. "description": "Internal Server Error",
  7097. "schema": {
  7098. "$ref": "#/definitions/app.Response"
  7099. }
  7100. }
  7101. }
  7102. }
  7103. },
  7104. "/HSBY/QueryMyCollectionOrders": {
  7105. "get": {
  7106. "security": [
  7107. {
  7108. "ApiKeyAuth": []
  7109. }
  7110. ],
  7111. "produces": [
  7112. "application/json"
  7113. ],
  7114. "tags": [
  7115. "定制【海商报业】"
  7116. ],
  7117. "summary": "我的闲置中收款信息查询",
  7118. "parameters": [
  7119. {
  7120. "type": "integer",
  7121. "description": "页码",
  7122. "name": "page",
  7123. "in": "query"
  7124. },
  7125. {
  7126. "type": "integer",
  7127. "description": "每页条数",
  7128. "name": "pagesize",
  7129. "in": "query"
  7130. },
  7131. {
  7132. "type": "string",
  7133. "description": "资金账户,格式:1,2,3",
  7134. "name": "accountIDs",
  7135. "in": "query",
  7136. "required": true
  7137. }
  7138. ],
  7139. "responses": {
  7140. "200": {
  7141. "description": "OK",
  7142. "schema": {
  7143. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/HSBY/QueryMyCouponHolds": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7163. "produces": [
  7164. "application/json"
  7165. ],
  7166. "tags": [
  7167. "定制【海商报业】"
  7168. ],
  7169. "summary": "我的优惠卷持仓查询",
  7170. "parameters": [
  7171. {
  7172. "type": "string",
  7173. "description": "资金账户列表,格式:1,2,3",
  7174. "name": "accountIDs",
  7175. "in": "query",
  7176. "required": true
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7181. "name": "holdStatus",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/models.MyCouponHold"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/HSBY/QueryMyCoupons": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "定制【海商报业】"
  7213. ],
  7214. "summary": "我的优惠卷查询",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账户列表,格式:1,2,3",
  7219. "name": "accountIDs",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "商品ID, 一般与sellUserID配套传入",
  7226. "name": "goodsID",
  7227. "in": "query"
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": "卖方UserID",
  7232. "name": "sellUserID",
  7233. "in": "query"
  7234. }
  7235. ],
  7236. "responses": {
  7237. "200": {
  7238. "description": "OK",
  7239. "schema": {
  7240. "$ref": "#/definitions/models.MyCoupon"
  7241. }
  7242. },
  7243. "500": {
  7244. "description": "Internal Server Error",
  7245. "schema": {
  7246. "$ref": "#/definitions/app.Response"
  7247. }
  7248. }
  7249. }
  7250. }
  7251. },
  7252. "/HSBY/QueryMyPayOrders": {
  7253. "get": {
  7254. "security": [
  7255. {
  7256. "ApiKeyAuth": []
  7257. }
  7258. ],
  7259. "produces": [
  7260. "application/json"
  7261. ],
  7262. "tags": [
  7263. "定制【海商报业】"
  7264. ],
  7265. "summary": "获取我的订单中待付款信息",
  7266. "parameters": [
  7267. {
  7268. "type": "integer",
  7269. "description": "页码",
  7270. "name": "page",
  7271. "in": "query"
  7272. },
  7273. {
  7274. "type": "integer",
  7275. "description": "每页条数",
  7276. "name": "pagesize",
  7277. "in": "query"
  7278. },
  7279. {
  7280. "type": "string",
  7281. "description": "资金账户列表,格式:1,2,3",
  7282. "name": "accountIDs",
  7283. "in": "query",
  7284. "required": true
  7285. },
  7286. {
  7287. "type": "integer",
  7288. "description": "买方委托单号",
  7289. "name": "buyOrderID",
  7290. "in": "query"
  7291. },
  7292. {
  7293. "type": "integer",
  7294. "description": "卖方委托单号",
  7295. "name": "sellOrderID",
  7296. "in": "query"
  7297. }
  7298. ],
  7299. "responses": {
  7300. "200": {
  7301. "description": "OK",
  7302. "schema": {
  7303. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7304. }
  7305. },
  7306. "500": {
  7307. "description": "Internal Server Error",
  7308. "schema": {
  7309. "$ref": "#/definitions/app.Response"
  7310. }
  7311. }
  7312. }
  7313. }
  7314. },
  7315. "/HSBY/QueryMyUsedCoupon": {
  7316. "get": {
  7317. "security": [
  7318. {
  7319. "ApiKeyAuth": []
  7320. }
  7321. ],
  7322. "produces": [
  7323. "application/json"
  7324. ],
  7325. "tags": [
  7326. "定制【海商报业】"
  7327. ],
  7328. "summary": "已使用优惠卷查询",
  7329. "parameters": [
  7330. {
  7331. "type": "string",
  7332. "description": "资金账户列表,格式:1,2,3",
  7333. "name": "accountIDs",
  7334. "in": "query",
  7335. "required": true
  7336. }
  7337. ],
  7338. "responses": {
  7339. "200": {
  7340. "description": "OK",
  7341. "schema": {
  7342. "$ref": "#/definitions/models.MyUsedCoupon"
  7343. }
  7344. },
  7345. "500": {
  7346. "description": "Internal Server Error",
  7347. "schema": {
  7348. "$ref": "#/definitions/app.Response"
  7349. }
  7350. }
  7351. }
  7352. }
  7353. },
  7354. "/HSBY/QueryProvincesAndCities": {
  7355. "get": {
  7356. "security": [
  7357. {
  7358. "ApiKeyAuth": []
  7359. }
  7360. ],
  7361. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7362. "produces": [
  7363. "application/json"
  7364. ],
  7365. "tags": [
  7366. "定制【海商报业】"
  7367. ],
  7368. "summary": "查询省市信息(不包括区)",
  7369. "parameters": [
  7370. {
  7371. "type": "integer",
  7372. "description": "省ID",
  7373. "name": "provinceID",
  7374. "in": "query"
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/HSBY/SetHsbyMyPackagesStatus": {
  7394. "post": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "定制【海商报业】"
  7405. ],
  7406. "summary": "设置我的包裹已收货状态",
  7407. "parameters": [
  7408. {
  7409. "type": "string",
  7410. "description": "提货单号",
  7411. "name": "takeOrderID",
  7412. "in": "query",
  7413. "required": true
  7414. },
  7415. {
  7416. "type": "integer",
  7417. "description": "资金账号",
  7418. "name": "accountID",
  7419. "in": "query",
  7420. "required": true
  7421. }
  7422. ],
  7423. "responses": {
  7424. "200": {
  7425. "description": "OK",
  7426. "schema": {
  7427. "$ref": "#/definitions/app.Response"
  7428. }
  7429. },
  7430. "500": {
  7431. "description": "Internal Server Error",
  7432. "schema": {
  7433. "$ref": "#/definitions/app.Response"
  7434. }
  7435. }
  7436. }
  7437. }
  7438. },
  7439. "/Market/QueryGoodsesByLoginID": {
  7440. "get": {
  7441. "security": [
  7442. {
  7443. "ApiKeyAuth": []
  7444. }
  7445. ],
  7446. "produces": [
  7447. "application/json"
  7448. ],
  7449. "tags": [
  7450. "通用市场"
  7451. ],
  7452. "summary": "获取登录账号有权限的商品信息",
  7453. "parameters": [
  7454. {
  7455. "type": "integer",
  7456. "description": "登录账号",
  7457. "name": "loginID",
  7458. "in": "query",
  7459. "required": true
  7460. },
  7461. {
  7462. "type": "string",
  7463. "description": "市场ID列表,格式:1,2,3",
  7464. "name": "marketIDs",
  7465. "in": "query"
  7466. }
  7467. ],
  7468. "responses": {
  7469. "200": {
  7470. "description": "OK",
  7471. "schema": {
  7472. "$ref": "#/definitions/models.Goods"
  7473. }
  7474. },
  7475. "500": {
  7476. "description": "Internal Server Error",
  7477. "schema": {
  7478. "$ref": "#/definitions/app.Response"
  7479. }
  7480. }
  7481. }
  7482. }
  7483. },
  7484. "/Market/QueryMarketRun": {
  7485. "get": {
  7486. "security": [
  7487. {
  7488. "ApiKeyAuth": []
  7489. }
  7490. ],
  7491. "produces": [
  7492. "application/json"
  7493. ],
  7494. "tags": [
  7495. "通用市场"
  7496. ],
  7497. "summary": "查询市场运行信息",
  7498. "parameters": [
  7499. {
  7500. "type": "integer",
  7501. "description": "市场ID,不传返回所有",
  7502. "name": "marketID",
  7503. "in": "query"
  7504. }
  7505. ],
  7506. "responses": {
  7507. "200": {
  7508. "description": "OK",
  7509. "schema": {
  7510. "$ref": "#/definitions/models.Marketrun"
  7511. }
  7512. },
  7513. "500": {
  7514. "description": "Internal Server Error",
  7515. "schema": {
  7516. "$ref": "#/definitions/app.Response"
  7517. }
  7518. }
  7519. }
  7520. }
  7521. },
  7522. "/Market/QueryMarketsByLoginID": {
  7523. "get": {
  7524. "security": [
  7525. {
  7526. "ApiKeyAuth": []
  7527. }
  7528. ],
  7529. "produces": [
  7530. "application/json"
  7531. ],
  7532. "tags": [
  7533. "通用市场"
  7534. ],
  7535. "summary": "获取登录账号有权限的市场信息",
  7536. "parameters": [
  7537. {
  7538. "type": "integer",
  7539. "description": "登录账号",
  7540. "name": "loginID",
  7541. "in": "query",
  7542. "required": true
  7543. }
  7544. ],
  7545. "responses": {
  7546. "200": {
  7547. "description": "OK",
  7548. "schema": {
  7549. "$ref": "#/definitions/models.Market"
  7550. }
  7551. },
  7552. "500": {
  7553. "description": "Internal Server Error",
  7554. "schema": {
  7555. "$ref": "#/definitions/app.Response"
  7556. }
  7557. }
  7558. }
  7559. }
  7560. },
  7561. "/Order/QueryHisTradeDetail": {
  7562. "get": {
  7563. "security": [
  7564. {
  7565. "ApiKeyAuth": []
  7566. }
  7567. ],
  7568. "produces": [
  7569. "application/json"
  7570. ],
  7571. "tags": [
  7572. "通用单据"
  7573. ],
  7574. "summary": "历史成交单查询(合约市场)",
  7575. "parameters": [
  7576. {
  7577. "type": "string",
  7578. "description": "资金账户 - 格式:1,2,3",
  7579. "name": "accountID",
  7580. "in": "query",
  7581. "required": true
  7582. },
  7583. {
  7584. "type": "integer",
  7585. "description": "成交单号",
  7586. "name": "tradeID",
  7587. "in": "query"
  7588. },
  7589. {
  7590. "type": "integer",
  7591. "description": "委托单号",
  7592. "name": "orderID",
  7593. "in": "query"
  7594. },
  7595. {
  7596. "type": "string",
  7597. "description": "交易模式 - 格式:1,2,3",
  7598. "name": "tradeMode",
  7599. "in": "query"
  7600. },
  7601. {
  7602. "type": "integer",
  7603. "description": "委托单据类型",
  7604. "name": "buildType",
  7605. "in": "query"
  7606. },
  7607. {
  7608. "type": "string",
  7609. "description": "成交类别 - 格式:1,2,3",
  7610. "name": "tradeType",
  7611. "in": "query"
  7612. },
  7613. {
  7614. "type": "string",
  7615. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7616. "name": "startDate",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7622. "name": "endDate",
  7623. "in": "query"
  7624. }
  7625. ],
  7626. "responses": {
  7627. "200": {
  7628. "description": "OK",
  7629. "schema": {
  7630. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7631. }
  7632. },
  7633. "500": {
  7634. "description": "Internal Server Error",
  7635. "schema": {
  7636. "$ref": "#/definitions/app.Response"
  7637. }
  7638. }
  7639. }
  7640. }
  7641. },
  7642. "/Order/QueryHisTradeOrderDetail": {
  7643. "get": {
  7644. "security": [
  7645. {
  7646. "ApiKeyAuth": []
  7647. }
  7648. ],
  7649. "produces": [
  7650. "application/json"
  7651. ],
  7652. "tags": [
  7653. "通用单据"
  7654. ],
  7655. "summary": "历史委托单查询请求(合约市场)",
  7656. "parameters": [
  7657. {
  7658. "type": "string",
  7659. "description": "资金账户 - 格式:1,2,3",
  7660. "name": "accountID",
  7661. "in": "query",
  7662. "required": true
  7663. },
  7664. {
  7665. "type": "string",
  7666. "description": "交易模式 - 格式:1,2,3",
  7667. "name": "tradeMode",
  7668. "in": "query"
  7669. },
  7670. {
  7671. "type": "string",
  7672. "description": "委托状态 - 格式:1,2,3",
  7673. "name": "orderStatus",
  7674. "in": "query"
  7675. },
  7676. {
  7677. "type": "integer",
  7678. "description": "委托单号",
  7679. "name": "orderID",
  7680. "in": "query"
  7681. },
  7682. {
  7683. "type": "string",
  7684. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7685. "name": "startDate",
  7686. "in": "query"
  7687. },
  7688. {
  7689. "type": "string",
  7690. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7691. "name": "endDate",
  7692. "in": "query"
  7693. }
  7694. ],
  7695. "responses": {
  7696. "200": {
  7697. "description": "OK",
  7698. "schema": {
  7699. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7700. }
  7701. },
  7702. "500": {
  7703. "description": "Internal Server Error",
  7704. "schema": {
  7705. "$ref": "#/definitions/app.Response"
  7706. }
  7707. }
  7708. }
  7709. }
  7710. },
  7711. "/Order/QueryTradeDetail": {
  7712. "get": {
  7713. "security": [
  7714. {
  7715. "ApiKeyAuth": []
  7716. }
  7717. ],
  7718. "produces": [
  7719. "application/json"
  7720. ],
  7721. "tags": [
  7722. "通用单据"
  7723. ],
  7724. "summary": "成交单查询(合约市场)",
  7725. "parameters": [
  7726. {
  7727. "type": "string",
  7728. "description": "资金账户 - 格式:1,2,3",
  7729. "name": "accountID",
  7730. "in": "query",
  7731. "required": true
  7732. },
  7733. {
  7734. "type": "integer",
  7735. "description": "成交单号",
  7736. "name": "tradeID",
  7737. "in": "query"
  7738. },
  7739. {
  7740. "type": "integer",
  7741. "description": "委托单号",
  7742. "name": "orderID",
  7743. "in": "query"
  7744. },
  7745. {
  7746. "type": "string",
  7747. "description": "交易模式 - 格式:1,2,3",
  7748. "name": "tradeMode",
  7749. "in": "query"
  7750. },
  7751. {
  7752. "type": "integer",
  7753. "description": "委托单据类型",
  7754. "name": "buildType",
  7755. "in": "query"
  7756. },
  7757. {
  7758. "type": "string",
  7759. "description": "成交类别 - 格式:1,2,3",
  7760. "name": "tradeType",
  7761. "in": "query"
  7762. }
  7763. ],
  7764. "responses": {
  7765. "200": {
  7766. "description": "OK",
  7767. "schema": {
  7768. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7769. }
  7770. },
  7771. "500": {
  7772. "description": "Internal Server Error",
  7773. "schema": {
  7774. "$ref": "#/definitions/app.Response"
  7775. }
  7776. }
  7777. }
  7778. }
  7779. },
  7780. "/Order/QueryTradeOrderDetail": {
  7781. "get": {
  7782. "security": [
  7783. {
  7784. "ApiKeyAuth": []
  7785. }
  7786. ],
  7787. "produces": [
  7788. "application/json"
  7789. ],
  7790. "tags": [
  7791. "通用单据"
  7792. ],
  7793. "summary": "委托单查询请求(合约市场)",
  7794. "parameters": [
  7795. {
  7796. "type": "string",
  7797. "description": "资金账户 - 格式:1,2,3",
  7798. "name": "accountID",
  7799. "in": "query",
  7800. "required": true
  7801. },
  7802. {
  7803. "type": "string",
  7804. "description": "交易模式 - 格式:1,2,3",
  7805. "name": "tradeMode",
  7806. "in": "query"
  7807. },
  7808. {
  7809. "type": "string",
  7810. "description": "委托状态 - 格式:1,2,3",
  7811. "name": "orderStatus",
  7812. "in": "query"
  7813. },
  7814. {
  7815. "type": "integer",
  7816. "description": "委托单号",
  7817. "name": "orderID",
  7818. "in": "query"
  7819. }
  7820. ],
  7821. "responses": {
  7822. "200": {
  7823. "description": "OK",
  7824. "schema": {
  7825. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7826. }
  7827. },
  7828. "500": {
  7829. "description": "Internal Server Error",
  7830. "schema": {
  7831. "$ref": "#/definitions/app.Response"
  7832. }
  7833. }
  7834. }
  7835. }
  7836. },
  7837. "/Order/QueryTradePosition": {
  7838. "get": {
  7839. "security": [
  7840. {
  7841. "ApiKeyAuth": []
  7842. }
  7843. ],
  7844. "produces": [
  7845. "application/json"
  7846. ],
  7847. "tags": [
  7848. "通用单据"
  7849. ],
  7850. "summary": "持仓汇总查询(合约市场)",
  7851. "parameters": [
  7852. {
  7853. "type": "string",
  7854. "description": "资金账户 - 格式:1,2,3",
  7855. "name": "accountID",
  7856. "in": "query",
  7857. "required": true
  7858. },
  7859. {
  7860. "type": "string",
  7861. "description": "交易模式 - 格式:1,2,3",
  7862. "name": "tradeMode",
  7863. "in": "query"
  7864. }
  7865. ],
  7866. "responses": {
  7867. "200": {
  7868. "description": "OK",
  7869. "schema": {
  7870. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Quote/QueryHistoryDatas": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "行情服务"
  7894. ],
  7895. "summary": "查询行情历史数据",
  7896. "parameters": [
  7897. {
  7898. "type": "integer",
  7899. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7900. "name": "cycleType",
  7901. "in": "query",
  7902. "required": true
  7903. },
  7904. {
  7905. "type": "string",
  7906. "description": "商品代码",
  7907. "name": "goodsCode",
  7908. "in": "query",
  7909. "required": true
  7910. },
  7911. {
  7912. "type": "string",
  7913. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7914. "name": "startTime",
  7915. "in": "query"
  7916. },
  7917. {
  7918. "type": "string",
  7919. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7920. "name": "endTime",
  7921. "in": "query"
  7922. },
  7923. {
  7924. "type": "integer",
  7925. "description": "条数",
  7926. "name": "count",
  7927. "in": "query"
  7928. },
  7929. {
  7930. "type": "boolean",
  7931. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7932. "name": "isAsc",
  7933. "in": "query"
  7934. }
  7935. ],
  7936. "responses": {
  7937. "200": {
  7938. "description": "OK",
  7939. "schema": {
  7940. "$ref": "#/definitions/quote.HistoryData"
  7941. }
  7942. },
  7943. "500": {
  7944. "description": "Internal Server Error",
  7945. "schema": {
  7946. "$ref": "#/definitions/app.Response"
  7947. }
  7948. }
  7949. }
  7950. }
  7951. },
  7952. "/Quote/QueryHistoryTikDatas": {
  7953. "get": {
  7954. "security": [
  7955. {
  7956. "ApiKeyAuth": []
  7957. }
  7958. ],
  7959. "produces": [
  7960. "application/json"
  7961. ],
  7962. "tags": [
  7963. "行情服务"
  7964. ],
  7965. "summary": "查询行情Tik数据",
  7966. "parameters": [
  7967. {
  7968. "type": "string",
  7969. "description": "商品代码",
  7970. "name": "goodsCode",
  7971. "in": "query",
  7972. "required": true
  7973. },
  7974. {
  7975. "type": "string",
  7976. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7977. "name": "startTime",
  7978. "in": "query"
  7979. },
  7980. {
  7981. "type": "string",
  7982. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7983. "name": "endTime",
  7984. "in": "query"
  7985. },
  7986. {
  7987. "type": "integer",
  7988. "description": "条数",
  7989. "name": "count",
  7990. "in": "query"
  7991. },
  7992. {
  7993. "type": "boolean",
  7994. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7995. "name": "isAsc",
  7996. "in": "query"
  7997. }
  7998. ],
  7999. "responses": {
  8000. "200": {
  8001. "description": "OK",
  8002. "schema": {
  8003. "$ref": "#/definitions/quote.HistoryTikData"
  8004. }
  8005. },
  8006. "500": {
  8007. "description": "Internal Server Error",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. }
  8012. }
  8013. }
  8014. },
  8015. "/Quote/QueryQuoteDay": {
  8016. "get": {
  8017. "security": [
  8018. {
  8019. "ApiKeyAuth": []
  8020. }
  8021. ],
  8022. "produces": [
  8023. "application/json"
  8024. ],
  8025. "tags": [
  8026. "行情服务"
  8027. ],
  8028. "summary": "获取商品盘面信息",
  8029. "parameters": [
  8030. {
  8031. "type": "string",
  8032. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8033. "name": "goodsCodes",
  8034. "in": "query",
  8035. "required": true
  8036. }
  8037. ],
  8038. "responses": {
  8039. "200": {
  8040. "description": "OK",
  8041. "schema": {
  8042. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8043. }
  8044. },
  8045. "500": {
  8046. "description": "Internal Server Error",
  8047. "schema": {
  8048. "$ref": "#/definitions/app.Response"
  8049. }
  8050. }
  8051. }
  8052. }
  8053. },
  8054. "/Quote/QueryTSData": {
  8055. "get": {
  8056. "security": [
  8057. {
  8058. "ApiKeyAuth": []
  8059. }
  8060. ],
  8061. "produces": [
  8062. "application/json"
  8063. ],
  8064. "tags": [
  8065. "行情服务"
  8066. ],
  8067. "summary": "分时图数据查询",
  8068. "parameters": [
  8069. {
  8070. "type": "string",
  8071. "description": "商品代码",
  8072. "name": "goodsCode",
  8073. "in": "query",
  8074. "required": true
  8075. }
  8076. ],
  8077. "responses": {
  8078. "200": {
  8079. "description": "OK",
  8080. "schema": {
  8081. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8082. }
  8083. },
  8084. "500": {
  8085. "description": "Internal Server Error",
  8086. "schema": {
  8087. "$ref": "#/definitions/app.Response"
  8088. }
  8089. }
  8090. }
  8091. }
  8092. },
  8093. "/SZDZ/QueryConvertConfig": {
  8094. "get": {
  8095. "security": [
  8096. {
  8097. "ApiKeyAuth": []
  8098. }
  8099. ],
  8100. "produces": [
  8101. "application/json"
  8102. ],
  8103. "tags": [
  8104. "定制【尚志大宗】"
  8105. ],
  8106. "summary": "查询交易系统转换设置",
  8107. "parameters": [
  8108. {
  8109. "type": "integer",
  8110. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8111. "name": "convertType",
  8112. "in": "query"
  8113. },
  8114. {
  8115. "type": "string",
  8116. "description": "外部商品代码[JD\\PD]",
  8117. "name": "outerGoodsCode",
  8118. "in": "query"
  8119. },
  8120. {
  8121. "type": "string",
  8122. "description": "内部商品ID列表[交易],格式:1,2,3",
  8123. "name": "innerGoodsIDs",
  8124. "in": "query"
  8125. }
  8126. ],
  8127. "responses": {
  8128. "200": {
  8129. "description": "OK",
  8130. "schema": {
  8131. "$ref": "#/definitions/models.Szdz3convertconfig"
  8132. }
  8133. },
  8134. "500": {
  8135. "description": "Internal Server Error",
  8136. "schema": {
  8137. "$ref": "#/definitions/app.Response"
  8138. }
  8139. }
  8140. }
  8141. }
  8142. },
  8143. "/SZDZ/QueryConvertLog": {
  8144. "get": {
  8145. "security": [
  8146. {
  8147. "ApiKeyAuth": []
  8148. }
  8149. ],
  8150. "produces": [
  8151. "application/json"
  8152. ],
  8153. "tags": [
  8154. "定制【尚志大宗】"
  8155. ],
  8156. "summary": "交易系统转换流水查询",
  8157. "parameters": [
  8158. {
  8159. "type": "string",
  8160. "description": "资金账户 - 格式:1,2,3",
  8161. "name": "accountID",
  8162. "in": "query",
  8163. "required": true
  8164. },
  8165. {
  8166. "type": "string",
  8167. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8168. "name": "startDate",
  8169. "in": "query"
  8170. },
  8171. {
  8172. "type": "string",
  8173. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8174. "name": "endDate",
  8175. "in": "query"
  8176. }
  8177. ],
  8178. "responses": {
  8179. "200": {
  8180. "description": "OK",
  8181. "schema": {
  8182. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8183. }
  8184. },
  8185. "500": {
  8186. "description": "Internal Server Error",
  8187. "schema": {
  8188. "$ref": "#/definitions/app.Response"
  8189. }
  8190. }
  8191. }
  8192. }
  8193. },
  8194. "/SZDZ/QueryGoodsPickup": {
  8195. "get": {
  8196. "security": [
  8197. {
  8198. "ApiKeyAuth": []
  8199. }
  8200. ],
  8201. "produces": [
  8202. "application/json"
  8203. ],
  8204. "tags": [
  8205. "定制【尚志大宗】"
  8206. ],
  8207. "summary": "商品提货单查询",
  8208. "parameters": [
  8209. {
  8210. "type": "string",
  8211. "description": "资金账户 - 格式:1,2,3",
  8212. "name": "accountID",
  8213. "in": "query",
  8214. "required": true
  8215. },
  8216. {
  8217. "type": "integer",
  8218. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8219. "name": "takeOrderStatus",
  8220. "in": "query"
  8221. }
  8222. ],
  8223. "responses": {
  8224. "200": {
  8225. "description": "OK",
  8226. "schema": {
  8227. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8228. }
  8229. },
  8230. "500": {
  8231. "description": "Internal Server Error",
  8232. "schema": {
  8233. "$ref": "#/definitions/app.Response"
  8234. }
  8235. }
  8236. }
  8237. }
  8238. },
  8239. "/SZDZ/QueryRecieptOrder": {
  8240. "get": {
  8241. "security": [
  8242. {
  8243. "ApiKeyAuth": []
  8244. }
  8245. ],
  8246. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8247. "produces": [
  8248. "application/json"
  8249. ],
  8250. "tags": [
  8251. "定制【尚志大宗】"
  8252. ],
  8253. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8254. "parameters": [
  8255. {
  8256. "type": "integer",
  8257. "description": "页码",
  8258. "name": "page",
  8259. "in": "query"
  8260. },
  8261. {
  8262. "type": "integer",
  8263. "description": "每页条数",
  8264. "name": "pagesize",
  8265. "in": "query"
  8266. },
  8267. {
  8268. "type": "integer",
  8269. "description": "商品ID",
  8270. "name": "goodsID",
  8271. "in": "query",
  8272. "required": true
  8273. },
  8274. {
  8275. "type": "string",
  8276. "description": "所属账户名称",
  8277. "name": "accountName",
  8278. "in": "query"
  8279. },
  8280. {
  8281. "type": "integer",
  8282. "description": "市场ID",
  8283. "name": "marketID",
  8284. "in": "query"
  8285. },
  8286. {
  8287. "type": "integer",
  8288. "description": "方向 - 0:买 1:卖",
  8289. "name": "buyorsell",
  8290. "in": "query",
  8291. "required": true
  8292. }
  8293. ],
  8294. "responses": {
  8295. "200": {
  8296. "description": "OK",
  8297. "schema": {
  8298. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8299. }
  8300. },
  8301. "500": {
  8302. "description": "Internal Server Error",
  8303. "schema": {
  8304. "$ref": "#/definitions/app.Response"
  8305. }
  8306. }
  8307. }
  8308. }
  8309. },
  8310. "/SZDZ/QuerySZDZTradePosition": {
  8311. "get": {
  8312. "security": [
  8313. {
  8314. "ApiKeyAuth": []
  8315. }
  8316. ],
  8317. "produces": [
  8318. "application/json"
  8319. ],
  8320. "tags": [
  8321. "定制【尚志大宗】"
  8322. ],
  8323. "summary": "持仓汇总查询(尚志大宗)",
  8324. "parameters": [
  8325. {
  8326. "type": "integer",
  8327. "description": "资金账户",
  8328. "name": "accountID",
  8329. "in": "query",
  8330. "required": true
  8331. }
  8332. ],
  8333. "responses": {
  8334. "200": {
  8335. "description": "OK",
  8336. "schema": {
  8337. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8338. }
  8339. },
  8340. "500": {
  8341. "description": "Internal Server Error",
  8342. "schema": {
  8343. "$ref": "#/definitions/app.Response"
  8344. }
  8345. }
  8346. }
  8347. }
  8348. },
  8349. "/SZDZ/SearchWhite": {
  8350. "get": {
  8351. "security": [
  8352. {
  8353. "ApiKeyAuth": []
  8354. }
  8355. ],
  8356. "produces": [
  8357. "application/json"
  8358. ],
  8359. "tags": [
  8360. "定制【尚志大宗】"
  8361. ],
  8362. "summary": "搜索白名单",
  8363. "parameters": [
  8364. {
  8365. "type": "integer",
  8366. "description": "用户ID",
  8367. "name": "userID",
  8368. "in": "query",
  8369. "required": true
  8370. }
  8371. ],
  8372. "responses": {
  8373. "200": {
  8374. "description": "OK",
  8375. "schema": {
  8376. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8377. }
  8378. },
  8379. "500": {
  8380. "description": "Internal Server Error",
  8381. "schema": {
  8382. "$ref": "#/definitions/app.Response"
  8383. }
  8384. }
  8385. }
  8386. }
  8387. },
  8388. "/Search/SearchGoodses": {
  8389. "get": {
  8390. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8391. "produces": [
  8392. "application/json"
  8393. ],
  8394. "tags": [
  8395. "检索服务"
  8396. ],
  8397. "summary": "检索商品信息",
  8398. "parameters": [
  8399. {
  8400. "type": "string",
  8401. "description": "检索内容",
  8402. "name": "content",
  8403. "in": "query",
  8404. "required": true
  8405. },
  8406. {
  8407. "type": "string",
  8408. "description": "交易模式,格式:1,2,3",
  8409. "name": "tradeModes",
  8410. "in": "query"
  8411. }
  8412. ],
  8413. "responses": {
  8414. "200": {
  8415. "description": "OK",
  8416. "schema": {
  8417. "$ref": "#/definitions/models.SearchGoods"
  8418. }
  8419. },
  8420. "500": {
  8421. "description": "Internal Server Error",
  8422. "schema": {
  8423. "$ref": "#/definitions/app.Response"
  8424. }
  8425. }
  8426. }
  8427. }
  8428. },
  8429. "/TaAccount/GetTaAccounts": {
  8430. "get": {
  8431. "security": [
  8432. {
  8433. "ApiKeyAuth": []
  8434. }
  8435. ],
  8436. "produces": [
  8437. "application/json"
  8438. ],
  8439. "tags": [
  8440. "资金账户"
  8441. ],
  8442. "summary": "获取资金账户信息",
  8443. "parameters": [
  8444. {
  8445. "type": "integer",
  8446. "description": "登录账户",
  8447. "name": "loginID",
  8448. "in": "query",
  8449. "required": true
  8450. },
  8451. {
  8452. "type": "integer",
  8453. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8454. "name": "taAccountType",
  8455. "in": "query"
  8456. }
  8457. ],
  8458. "responses": {
  8459. "200": {
  8460. "description": "OK",
  8461. "schema": {
  8462. "$ref": "#/definitions/models.Taaccount"
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/TaAccount/QueryAmountLog": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "资金账户"
  8486. ],
  8487. "summary": "资金流水查询(当前)",
  8488. "parameters": [
  8489. {
  8490. "type": "integer",
  8491. "description": "页码",
  8492. "name": "page",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "integer",
  8497. "description": "每页条数",
  8498. "name": "pagesize",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "资金账户 - 格式:1,2,3",
  8504. "name": "accountID",
  8505. "in": "query",
  8506. "required": true
  8507. },
  8508. {
  8509. "type": "string",
  8510. "description": "资金操作类型 - 格式:1,2,3",
  8511. "name": "OperateType",
  8512. "in": "query"
  8513. }
  8514. ],
  8515. "responses": {
  8516. "200": {
  8517. "description": "OK",
  8518. "schema": {
  8519. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8520. }
  8521. },
  8522. "500": {
  8523. "description": "Internal Server Error",
  8524. "schema": {
  8525. "$ref": "#/definitions/app.Response"
  8526. }
  8527. }
  8528. }
  8529. }
  8530. },
  8531. "/TaAccount/QueryHisAmountLog": {
  8532. "get": {
  8533. "security": [
  8534. {
  8535. "ApiKeyAuth": []
  8536. }
  8537. ],
  8538. "produces": [
  8539. "application/json"
  8540. ],
  8541. "tags": [
  8542. "资金账户"
  8543. ],
  8544. "summary": "资金流水查询(历史)",
  8545. "parameters": [
  8546. {
  8547. "type": "integer",
  8548. "description": "页码",
  8549. "name": "page",
  8550. "in": "query"
  8551. },
  8552. {
  8553. "type": "integer",
  8554. "description": "每页条数",
  8555. "name": "pagesize",
  8556. "in": "query"
  8557. },
  8558. {
  8559. "type": "string",
  8560. "description": "资金账户 - 格式:1,2,3",
  8561. "name": "accountID",
  8562. "in": "query",
  8563. "required": true
  8564. },
  8565. {
  8566. "type": "string",
  8567. "description": "资金操作类型 - 格式:1,2,3",
  8568. "name": "OperateType",
  8569. "in": "query"
  8570. },
  8571. {
  8572. "type": "string",
  8573. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8574. "name": "startDate",
  8575. "in": "query"
  8576. },
  8577. {
  8578. "type": "string",
  8579. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8580. "name": "endDate",
  8581. "in": "query"
  8582. }
  8583. ],
  8584. "responses": {
  8585. "200": {
  8586. "description": "OK",
  8587. "schema": {
  8588. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8589. }
  8590. },
  8591. "500": {
  8592. "description": "Internal Server Error",
  8593. "schema": {
  8594. "$ref": "#/definitions/app.Response"
  8595. }
  8596. }
  8597. }
  8598. }
  8599. },
  8600. "/Trade/QueryRecieptOrder": {
  8601. "get": {
  8602. "security": [
  8603. {
  8604. "ApiKeyAuth": []
  8605. }
  8606. ],
  8607. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "通用交易"
  8613. ],
  8614. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "页码",
  8619. "name": "page",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "integer",
  8624. "description": "每页条数",
  8625. "name": "pagesize",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "integer",
  8630. "description": "商品ID",
  8631. "name": "goodsID",
  8632. "in": "query",
  8633. "required": true
  8634. },
  8635. {
  8636. "type": "string",
  8637. "description": "所属账户名称",
  8638. "name": "accountName",
  8639. "in": "query"
  8640. },
  8641. {
  8642. "type": "integer",
  8643. "description": "市场ID",
  8644. "name": "marketID",
  8645. "in": "query"
  8646. },
  8647. {
  8648. "type": "integer",
  8649. "description": "方向 - 0:买 1:卖",
  8650. "name": "buyorsell",
  8651. "in": "query",
  8652. "required": true
  8653. }
  8654. ],
  8655. "responses": {
  8656. "200": {
  8657. "description": "OK",
  8658. "schema": {
  8659. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8660. }
  8661. },
  8662. "500": {
  8663. "description": "Internal Server Error",
  8664. "schema": {
  8665. "$ref": "#/definitions/app.Response"
  8666. }
  8667. }
  8668. }
  8669. }
  8670. },
  8671. "/User/AddMessageBoard": {
  8672. "post": {
  8673. "security": [
  8674. {
  8675. "ApiKeyAuth": []
  8676. }
  8677. ],
  8678. "produces": [
  8679. "application/json"
  8680. ],
  8681. "tags": [
  8682. "用户信息"
  8683. ],
  8684. "summary": "添加用户留言板信息",
  8685. "parameters": [
  8686. {
  8687. "type": "integer",
  8688. "description": "用户ID",
  8689. "name": "userID",
  8690. "in": "query",
  8691. "required": true
  8692. },
  8693. {
  8694. "type": "string",
  8695. "description": "留言信息",
  8696. "name": "message",
  8697. "in": "query",
  8698. "required": true
  8699. },
  8700. {
  8701. "type": "string",
  8702. "description": "联系电话",
  8703. "name": "contactNum",
  8704. "in": "query",
  8705. "required": true
  8706. }
  8707. ],
  8708. "responses": {
  8709. "200": {
  8710. "description": "OK",
  8711. "schema": {
  8712. "$ref": "#/definitions/app.Response"
  8713. }
  8714. },
  8715. "500": {
  8716. "description": "Internal Server Error",
  8717. "schema": {
  8718. "$ref": "#/definitions/app.Response"
  8719. }
  8720. }
  8721. }
  8722. }
  8723. },
  8724. "/User/AddUserFavoriteGoods": {
  8725. "post": {
  8726. "security": [
  8727. {
  8728. "ApiKeyAuth": []
  8729. }
  8730. ],
  8731. "produces": [
  8732. "application/json"
  8733. ],
  8734. "tags": [
  8735. "用户信息"
  8736. ],
  8737. "summary": "添加用户商品收藏信息",
  8738. "parameters": [
  8739. {
  8740. "type": "integer",
  8741. "description": "用户ID",
  8742. "name": "userID",
  8743. "in": "query",
  8744. "required": true
  8745. },
  8746. {
  8747. "type": "integer",
  8748. "description": "商品ID",
  8749. "name": "goodsID",
  8750. "in": "query",
  8751. "required": true
  8752. }
  8753. ],
  8754. "responses": {
  8755. "200": {
  8756. "description": "OK",
  8757. "schema": {
  8758. "$ref": "#/definitions/app.Response"
  8759. }
  8760. },
  8761. "500": {
  8762. "description": "Internal Server Error",
  8763. "schema": {
  8764. "$ref": "#/definitions/app.Response"
  8765. }
  8766. }
  8767. }
  8768. }
  8769. },
  8770. "/User/GetLoginID": {
  8771. "get": {
  8772. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8773. "produces": [
  8774. "application/json"
  8775. ],
  8776. "tags": [
  8777. "用户信息"
  8778. ],
  8779. "summary": "获取登录ID",
  8780. "parameters": [
  8781. {
  8782. "type": "string",
  8783. "description": "登录代码",
  8784. "name": "username",
  8785. "in": "query",
  8786. "required": true
  8787. }
  8788. ],
  8789. "responses": {
  8790. "200": {
  8791. "description": "OK",
  8792. "schema": {
  8793. "$ref": "#/definitions/app.Response"
  8794. }
  8795. },
  8796. "500": {
  8797. "description": "Internal Server Error",
  8798. "schema": {
  8799. "$ref": "#/definitions/app.Response"
  8800. }
  8801. }
  8802. }
  8803. }
  8804. },
  8805. "/User/GetUserAccount": {
  8806. "get": {
  8807. "security": [
  8808. {
  8809. "ApiKeyAuth": []
  8810. }
  8811. ],
  8812. "produces": [
  8813. "application/json"
  8814. ],
  8815. "tags": [
  8816. "用户信息"
  8817. ],
  8818. "summary": "获取用户账号信息",
  8819. "parameters": [
  8820. {
  8821. "type": "integer",
  8822. "description": "用户ID",
  8823. "name": "userID",
  8824. "in": "query",
  8825. "required": true
  8826. }
  8827. ],
  8828. "responses": {
  8829. "200": {
  8830. "description": "OK",
  8831. "schema": {
  8832. "$ref": "#/definitions/models.Useraccount"
  8833. }
  8834. },
  8835. "500": {
  8836. "description": "Internal Server Error",
  8837. "schema": {
  8838. "$ref": "#/definitions/app.Response"
  8839. }
  8840. }
  8841. }
  8842. }
  8843. },
  8844. "/User/GetUserAuthStatus": {
  8845. "get": {
  8846. "security": [
  8847. {
  8848. "ApiKeyAuth": []
  8849. }
  8850. ],
  8851. "produces": [
  8852. "application/json"
  8853. ],
  8854. "tags": [
  8855. "用户信息"
  8856. ],
  8857. "summary": "获取用户实名认证状态",
  8858. "parameters": [
  8859. {
  8860. "type": "integer",
  8861. "description": "用户ID",
  8862. "name": "userID",
  8863. "in": "query",
  8864. "required": true
  8865. }
  8866. ],
  8867. "responses": {
  8868. "200": {
  8869. "description": "OK",
  8870. "schema": {
  8871. "$ref": "#/definitions/app.Response"
  8872. }
  8873. },
  8874. "500": {
  8875. "description": "Internal Server Error",
  8876. "schema": {
  8877. "$ref": "#/definitions/app.Response"
  8878. }
  8879. }
  8880. }
  8881. }
  8882. },
  8883. "/User/LoginQuery": {
  8884. "get": {
  8885. "security": [
  8886. {
  8887. "ApiKeyAuth": []
  8888. }
  8889. ],
  8890. "produces": [
  8891. "application/json"
  8892. ],
  8893. "tags": [
  8894. "用户信息"
  8895. ],
  8896. "summary": "账户登录后信息查询",
  8897. "parameters": [
  8898. {
  8899. "type": "integer",
  8900. "description": "登录账号",
  8901. "name": "loginID",
  8902. "in": "query",
  8903. "required": true
  8904. }
  8905. ],
  8906. "responses": {
  8907. "200": {
  8908. "description": "OK",
  8909. "schema": {
  8910. "$ref": "#/definitions/user.LoginQueryRsp"
  8911. }
  8912. },
  8913. "500": {
  8914. "description": "Internal Server Error",
  8915. "schema": {
  8916. "$ref": "#/definitions/app.Response"
  8917. }
  8918. }
  8919. }
  8920. }
  8921. },
  8922. "/User/QueryMessageBoard": {
  8923. "get": {
  8924. "security": [
  8925. {
  8926. "ApiKeyAuth": []
  8927. }
  8928. ],
  8929. "produces": [
  8930. "application/json"
  8931. ],
  8932. "tags": [
  8933. "用户信息"
  8934. ],
  8935. "summary": "获取用户留言板信息",
  8936. "parameters": [
  8937. {
  8938. "type": "integer",
  8939. "description": "用户ID",
  8940. "name": "userID",
  8941. "in": "query",
  8942. "required": true
  8943. }
  8944. ],
  8945. "responses": {
  8946. "200": {
  8947. "description": "OK",
  8948. "schema": {
  8949. "$ref": "#/definitions/models.Messageboard"
  8950. }
  8951. },
  8952. "500": {
  8953. "description": "Internal Server Error",
  8954. "schema": {
  8955. "$ref": "#/definitions/app.Response"
  8956. }
  8957. }
  8958. }
  8959. }
  8960. },
  8961. "/User/QueryUserFavoriteGoodses": {
  8962. "get": {
  8963. "security": [
  8964. {
  8965. "ApiKeyAuth": []
  8966. }
  8967. ],
  8968. "produces": [
  8969. "application/json"
  8970. ],
  8971. "tags": [
  8972. "用户信息"
  8973. ],
  8974. "summary": "获取用户商品收藏信息",
  8975. "parameters": [
  8976. {
  8977. "type": "integer",
  8978. "description": "用户ID",
  8979. "name": "userID",
  8980. "in": "query",
  8981. "required": true
  8982. }
  8983. ],
  8984. "responses": {
  8985. "200": {
  8986. "description": "OK",
  8987. "schema": {
  8988. "$ref": "#/definitions/models.Userfavoritegoods"
  8989. }
  8990. },
  8991. "500": {
  8992. "description": "Internal Server Error",
  8993. "schema": {
  8994. "$ref": "#/definitions/app.Response"
  8995. }
  8996. }
  8997. }
  8998. }
  8999. },
  9000. "/User/QueryUserInfo": {
  9001. "get": {
  9002. "security": [
  9003. {
  9004. "ApiKeyAuth": []
  9005. }
  9006. ],
  9007. "produces": [
  9008. "application/json"
  9009. ],
  9010. "tags": [
  9011. "用户信息"
  9012. ],
  9013. "summary": "获取用户信息",
  9014. "parameters": [
  9015. {
  9016. "type": "integer",
  9017. "description": "用户ID",
  9018. "name": "userID",
  9019. "in": "query",
  9020. "required": true
  9021. },
  9022. {
  9023. "type": "boolean",
  9024. "description": "是否解密",
  9025. "name": "isDecrypt",
  9026. "in": "query"
  9027. }
  9028. ],
  9029. "responses": {
  9030. "200": {
  9031. "description": "OK",
  9032. "schema": {
  9033. "$ref": "#/definitions/models.Userinfo"
  9034. }
  9035. },
  9036. "500": {
  9037. "description": "Internal Server Error",
  9038. "schema": {
  9039. "$ref": "#/definitions/app.Response"
  9040. }
  9041. }
  9042. }
  9043. }
  9044. },
  9045. "/User/QueryUserReferNum": {
  9046. "get": {
  9047. "produces": [
  9048. "application/json"
  9049. ],
  9050. "tags": [
  9051. "用户信息"
  9052. ],
  9053. "summary": "获取用户邀请码",
  9054. "parameters": [
  9055. {
  9056. "type": "integer",
  9057. "description": "用户ID",
  9058. "name": "userID",
  9059. "in": "query",
  9060. "required": true
  9061. }
  9062. ],
  9063. "responses": {
  9064. "200": {
  9065. "description": "OK",
  9066. "schema": {
  9067. "$ref": "#/definitions/app.Response"
  9068. }
  9069. },
  9070. "500": {
  9071. "description": "Internal Server Error",
  9072. "schema": {
  9073. "$ref": "#/definitions/app.Response"
  9074. }
  9075. }
  9076. }
  9077. }
  9078. },
  9079. "/User/RemoveUserFavoriteGoods": {
  9080. "post": {
  9081. "security": [
  9082. {
  9083. "ApiKeyAuth": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "用户信息"
  9091. ],
  9092. "summary": "移除用户商品收藏信息",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "用户ID",
  9097. "name": "userID",
  9098. "in": "query",
  9099. "required": true
  9100. },
  9101. {
  9102. "type": "integer",
  9103. "description": "商品ID",
  9104. "name": "goodsID",
  9105. "in": "query",
  9106. "required": true
  9107. }
  9108. ],
  9109. "responses": {
  9110. "200": {
  9111. "description": "OK",
  9112. "schema": {
  9113. "$ref": "#/definitions/app.Response"
  9114. }
  9115. },
  9116. "500": {
  9117. "description": "Internal Server Error",
  9118. "schema": {
  9119. "$ref": "#/definitions/app.Response"
  9120. }
  9121. }
  9122. }
  9123. }
  9124. },
  9125. "/User/UpdateUserAccountStatus": {
  9126. "post": {
  9127. "security": [
  9128. {
  9129. "ApiKeyAuth": []
  9130. }
  9131. ],
  9132. "produces": [
  9133. "application/json"
  9134. ],
  9135. "tags": [
  9136. "用户信息"
  9137. ],
  9138. "summary": "更新用户状态",
  9139. "parameters": [
  9140. {
  9141. "type": "integer",
  9142. "description": "用户ID",
  9143. "name": "userID",
  9144. "in": "query",
  9145. "required": true
  9146. },
  9147. {
  9148. "type": "integer",
  9149. "description": "账户状态 - 4:正常 6:注销(停用)",
  9150. "name": "accountStatus",
  9151. "in": "query",
  9152. "required": true
  9153. }
  9154. ],
  9155. "responses": {
  9156. "200": {
  9157. "description": "OK",
  9158. "schema": {
  9159. "$ref": "#/definitions/app.Response"
  9160. }
  9161. },
  9162. "500": {
  9163. "description": "Internal Server Error",
  9164. "schema": {
  9165. "$ref": "#/definitions/app.Response"
  9166. }
  9167. }
  9168. }
  9169. }
  9170. },
  9171. "/WRTrade/GetAllDeliveryGoods": {
  9172. "get": {
  9173. "security": [
  9174. {
  9175. "ApiKeyAuth": []
  9176. },
  9177. {
  9178. "ApiKeyAuth": []
  9179. }
  9180. ],
  9181. "produces": [
  9182. "application/json",
  9183. "application/json"
  9184. ],
  9185. "tags": [
  9186. "仓单贸易",
  9187. "仓单贸易"
  9188. ],
  9189. "summary": "获取带仓单分类的种类信息",
  9190. "responses": {
  9191. "200": {
  9192. "description": "OK",
  9193. "schema": {
  9194. "$ref": "#/definitions/app.Response"
  9195. }
  9196. },
  9197. "500": {
  9198. "description": "Internal Server Error",
  9199. "schema": {
  9200. "$ref": "#/definitions/app.Response"
  9201. }
  9202. }
  9203. }
  9204. }
  9205. }
  9206. },
  9207. "definitions": {
  9208. "app.Response": {
  9209. "type": "object",
  9210. "properties": {
  9211. "code": {
  9212. "type": "integer"
  9213. },
  9214. "data": {
  9215. "type": "object"
  9216. },
  9217. "msg": {
  9218. "type": "string"
  9219. },
  9220. "page": {
  9221. "description": "页码",
  9222. "type": "integer"
  9223. },
  9224. "pagesize": {
  9225. "description": "每页条数",
  9226. "type": "integer"
  9227. },
  9228. "total": {
  9229. "description": "总条数",
  9230. "type": "integer"
  9231. }
  9232. }
  9233. },
  9234. "common.ClientMenu": {
  9235. "type": "object",
  9236. "properties": {
  9237. "children": {
  9238. "description": "子菜单列表",
  9239. "type": "array",
  9240. "items": {
  9241. "$ref": "#/definitions/common.ClientMenu"
  9242. }
  9243. },
  9244. "code": {
  9245. "description": "ID",
  9246. "type": "string"
  9247. },
  9248. "isshow": {
  9249. "description": "是否显示",
  9250. "type": "boolean"
  9251. },
  9252. "rulekey": {
  9253. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9254. "type": "string"
  9255. },
  9256. "sort": {
  9257. "description": "排序",
  9258. "type": "integer"
  9259. },
  9260. "title": {
  9261. "description": "标题",
  9262. "type": "string"
  9263. },
  9264. "type": {
  9265. "description": "类型,1:菜单 2:按钮",
  9266. "type": "integer"
  9267. }
  9268. }
  9269. },
  9270. "common.QueryImageConfigsRsp": {
  9271. "type": "object",
  9272. "required": [
  9273. "configid"
  9274. ],
  9275. "properties": {
  9276. "areauserid": {
  9277. "description": "所属机构ID",
  9278. "type": "integer"
  9279. },
  9280. "configid": {
  9281. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9282. "type": "integer"
  9283. },
  9284. "createdate": {
  9285. "description": "创建时间",
  9286. "type": "string"
  9287. },
  9288. "creatorid": {
  9289. "description": "创建人",
  9290. "type": "integer"
  9291. },
  9292. "imagepath": {
  9293. "description": "图片",
  9294. "type": "string"
  9295. },
  9296. "imagetype": {
  9297. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9298. "type": "integer"
  9299. },
  9300. "isshow": {
  9301. "description": "是否展示 - 0:不展示 1:展示",
  9302. "type": "integer"
  9303. },
  9304. "marketid": {
  9305. "description": "市场ID",
  9306. "type": "integer"
  9307. },
  9308. "modifierid": {
  9309. "description": "操作人",
  9310. "type": "integer"
  9311. },
  9312. "sort": {
  9313. "description": "排序",
  9314. "type": "integer"
  9315. },
  9316. "title": {
  9317. "description": "标题",
  9318. "type": "string"
  9319. },
  9320. "trademode": {
  9321. "description": "交易模式",
  9322. "type": "integer"
  9323. },
  9324. "updatedate": {
  9325. "description": "修改时间",
  9326. "type": "string"
  9327. },
  9328. "url": {
  9329. "description": "链接(地址或商品ID)",
  9330. "type": "string"
  9331. },
  9332. "urltype": {
  9333. "description": "链接类型 - 1:直接地址 2:商品ID",
  9334. "type": "integer"
  9335. }
  9336. }
  9337. },
  9338. "common.QueryNoticeRsp": {
  9339. "type": "object",
  9340. "required": [
  9341. "autoid"
  9342. ],
  9343. "properties": {
  9344. "auditoruserid": {
  9345. "description": "审核人",
  9346. "type": "integer"
  9347. },
  9348. "auditremark": {
  9349. "description": "审核备注",
  9350. "type": "string"
  9351. },
  9352. "audittime": {
  9353. "description": "审核日期",
  9354. "type": "string"
  9355. },
  9356. "autoid": {
  9357. "description": "自增ID",
  9358. "type": "integer"
  9359. },
  9360. "content": {
  9361. "description": "内容",
  9362. "type": "string"
  9363. },
  9364. "createtime": {
  9365. "description": "创建时间",
  9366. "type": "string"
  9367. },
  9368. "creatorid": {
  9369. "description": "建仓人",
  9370. "type": "integer"
  9371. },
  9372. "endtime": {
  9373. "description": "结束时间",
  9374. "type": "string"
  9375. },
  9376. "istop": {
  9377. "description": "是否置顶 - 0:不置顶 1:置顶",
  9378. "type": "integer"
  9379. },
  9380. "msgiconurl": {
  9381. "description": "消息图标Url",
  9382. "type": "string"
  9383. },
  9384. "msgtype": {
  9385. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9386. "type": "integer"
  9387. },
  9388. "publisher": {
  9389. "description": "消息发布者",
  9390. "type": "string"
  9391. },
  9392. "readed": {
  9393. "description": "是否已读",
  9394. "type": "boolean"
  9395. },
  9396. "scheduletime": {
  9397. "description": "计划发送时间",
  9398. "type": "string"
  9399. },
  9400. "sendtype": {
  9401. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9402. "type": "integer"
  9403. },
  9404. "sentstatus": {
  9405. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9406. "type": "integer"
  9407. },
  9408. "title": {
  9409. "description": "标题",
  9410. "type": "string"
  9411. },
  9412. "userid": {
  9413. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9414. "type": "integer"
  9415. }
  9416. }
  9417. },
  9418. "common.QueryProvincesAndCitiesRsp": {
  9419. "type": "object",
  9420. "properties": {
  9421. "cities": {
  9422. "description": "市",
  9423. "type": "array",
  9424. "items": {
  9425. "$ref": "#/definitions/models.Division"
  9426. }
  9427. },
  9428. "province": {
  9429. "description": "省",
  9430. "type": "object",
  9431. "$ref": "#/definitions/models.Division"
  9432. }
  9433. }
  9434. },
  9435. "common.QueryTableDefineRsp": {
  9436. "type": "object",
  9437. "required": [
  9438. "tablekey"
  9439. ],
  9440. "properties": {
  9441. "columns": {
  9442. "description": "列头信息数组",
  9443. "type": "array",
  9444. "items": {
  9445. "$ref": "#/definitions/models.Tablecolumnconfig"
  9446. }
  9447. },
  9448. "remark": {
  9449. "description": "Remark",
  9450. "type": "string"
  9451. },
  9452. "tabelmenu": {
  9453. "description": "列表菜单",
  9454. "type": "string"
  9455. },
  9456. "tablekey": {
  9457. "description": "列表Key",
  9458. "type": "string"
  9459. },
  9460. "tablename": {
  9461. "description": "列表名称",
  9462. "type": "string"
  9463. },
  9464. "tabletype": {
  9465. "description": "列表类型 - 1:管理端 2:终端",
  9466. "type": "integer"
  9467. }
  9468. }
  9469. },
  9470. "common.QueryTraderMenuRsp": {
  9471. "type": "object",
  9472. "properties": {
  9473. "OperationMenu": {
  9474. "description": "功能菜单",
  9475. "type": "array",
  9476. "items": {
  9477. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9478. }
  9479. },
  9480. "QuoteMenu": {
  9481. "description": "报价牌分类菜单",
  9482. "type": "array",
  9483. "items": {
  9484. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9485. }
  9486. }
  9487. }
  9488. },
  9489. "cptrade.Cptradepositioncancel": {
  9490. "type": "object",
  9491. "required": [
  9492. "cancelid"
  9493. ],
  9494. "properties": {
  9495. "accountid": {
  9496. "description": "申请人账户ID",
  9497. "type": "integer"
  9498. },
  9499. "applystatus": {
  9500. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9501. "type": "integer"
  9502. },
  9503. "applytime": {
  9504. "description": "申请时间",
  9505. "type": "string"
  9506. },
  9507. "cancelid": {
  9508. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9509. "type": "integer"
  9510. },
  9511. "cancelqty": {
  9512. "description": "注销数量",
  9513. "type": "integer"
  9514. },
  9515. "createtime": {
  9516. "description": "创建时间",
  9517. "type": "string"
  9518. },
  9519. "creatorid": {
  9520. "description": "创建人ID",
  9521. "type": "integer"
  9522. },
  9523. "creatorname": {
  9524. "description": "创建人",
  9525. "type": "string"
  9526. },
  9527. "goodscode": {
  9528. "description": "订单商品代码",
  9529. "type": "string"
  9530. },
  9531. "goodsid": {
  9532. "description": "商品ID",
  9533. "type": "integer"
  9534. },
  9535. "goodsname": {
  9536. "description": "订单商品名称",
  9537. "type": "string"
  9538. },
  9539. "goodunit": {
  9540. "description": "报价单位",
  9541. "type": "string"
  9542. },
  9543. "handlestatus": {
  9544. "description": "处理状态",
  9545. "type": "integer"
  9546. },
  9547. "marketid": {
  9548. "description": "市场ID",
  9549. "type": "integer"
  9550. },
  9551. "marketname": {
  9552. "description": "市场名称",
  9553. "type": "string"
  9554. },
  9555. "tradedate": {
  9556. "description": "交易日(yyyyMMdd)",
  9557. "type": "string"
  9558. },
  9559. "userid": {
  9560. "description": "申请人ID",
  9561. "type": "integer"
  9562. }
  9563. }
  9564. },
  9565. "cptrade.Cptradepresaleapply": {
  9566. "type": "object",
  9567. "required": [
  9568. "applyid"
  9569. ],
  9570. "properties": {
  9571. "accountid": {
  9572. "description": "申请人账户ID",
  9573. "type": "integer"
  9574. },
  9575. "applyid": {
  9576. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9577. "type": "integer"
  9578. },
  9579. "applyremark": {
  9580. "description": "申请备注",
  9581. "type": "string"
  9582. },
  9583. "applystatus": {
  9584. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9585. "type": "integer"
  9586. },
  9587. "applytime": {
  9588. "description": "申请时间",
  9589. "type": "string"
  9590. },
  9591. "attachmenturl": {
  9592. "description": "附件地址",
  9593. "type": "string"
  9594. },
  9595. "endtime": {
  9596. "description": "预售结束时间",
  9597. "type": "string"
  9598. },
  9599. "goodscode": {
  9600. "description": "商品代码",
  9601. "type": "string"
  9602. },
  9603. "goodsid": {
  9604. "description": "商品ID",
  9605. "type": "integer"
  9606. },
  9607. "goodsname": {
  9608. "description": "商品名称",
  9609. "type": "string"
  9610. },
  9611. "goodunit": {
  9612. "description": "报价单位",
  9613. "type": "string"
  9614. },
  9615. "handlestatus": {
  9616. "description": "处理状态",
  9617. "type": "integer"
  9618. },
  9619. "marketid": {
  9620. "description": "预售市场ID",
  9621. "type": "integer"
  9622. },
  9623. "marketname": {
  9624. "description": "预售市场名称",
  9625. "type": "string"
  9626. },
  9627. "presaleqty": {
  9628. "description": "预售数量",
  9629. "type": "integer"
  9630. },
  9631. "relatedgoodscode": {
  9632. "description": "关联交易合约代码",
  9633. "type": "string"
  9634. },
  9635. "relatedgoodsid": {
  9636. "description": "关联交易合约ID",
  9637. "type": "integer"
  9638. },
  9639. "relatedgoodsname": {
  9640. "description": "关联交易合约名称",
  9641. "type": "string"
  9642. },
  9643. "starttime": {
  9644. "description": "预售开始时间",
  9645. "type": "string"
  9646. },
  9647. "tradedate": {
  9648. "description": "交易日(yyyyMMdd)",
  9649. "type": "string"
  9650. },
  9651. "trademode": {
  9652. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9653. "type": "integer"
  9654. },
  9655. "userid": {
  9656. "description": "申请人ID",
  9657. "type": "integer"
  9658. }
  9659. }
  9660. },
  9661. "cptrade.Cptradeusergoodsdata": {
  9662. "type": "object",
  9663. "required": [
  9664. "accountid",
  9665. "goodsid"
  9666. ],
  9667. "properties": {
  9668. "EnabledQty": {
  9669. "description": "可用量",
  9670. "type": "integer"
  9671. },
  9672. "GoodsCode": {
  9673. "description": "订单商品代码",
  9674. "type": "string"
  9675. },
  9676. "GoodsName": {
  9677. "description": "订单商品名称",
  9678. "type": "string"
  9679. },
  9680. "WRStandardCode": {
  9681. "description": "仓单标准代码",
  9682. "type": "string"
  9683. },
  9684. "WRStandardName": {
  9685. "description": "仓单标准名称",
  9686. "type": "string"
  9687. },
  9688. "accountid": {
  9689. "description": "账户ID",
  9690. "type": "integer"
  9691. },
  9692. "cancelqty": {
  9693. "description": "注销量",
  9694. "type": "integer"
  9695. },
  9696. "curpresaleqty": {
  9697. "description": "当前预售量",
  9698. "type": "integer"
  9699. },
  9700. "deliveryqty": {
  9701. "description": "交割量",
  9702. "type": "integer"
  9703. },
  9704. "freezeamount": {
  9705. "description": "冻结金额",
  9706. "type": "number"
  9707. },
  9708. "goodsid": {
  9709. "description": "商品ID",
  9710. "type": "integer"
  9711. },
  9712. "goodunit": {
  9713. "description": "报价单位",
  9714. "type": "string"
  9715. },
  9716. "hasspotfreeze": {
  9717. "description": "是否有现货冻结 - 0:否 1:有",
  9718. "type": "integer"
  9719. },
  9720. "inqty": {
  9721. "description": "转入量(总数量)",
  9722. "type": "integer"
  9723. },
  9724. "marketid": {
  9725. "description": "市场ID",
  9726. "type": "integer"
  9727. },
  9728. "presaledamount": {
  9729. "description": "已预售总金额",
  9730. "type": "integer"
  9731. },
  9732. "presaledqty": {
  9733. "description": "已预售量",
  9734. "type": "integer"
  9735. },
  9736. "userid": {
  9737. "description": "用户ID",
  9738. "type": "integer"
  9739. },
  9740. "wrstandardid": {
  9741. "description": "仓单标准ID",
  9742. "type": "integer"
  9743. }
  9744. }
  9745. },
  9746. "cptrade.QueryCPTradeMyBidRsp": {
  9747. "type": "object",
  9748. "required": [
  9749. "accountid",
  9750. "goodsid",
  9751. "marketid",
  9752. "orderid",
  9753. "orderqty",
  9754. "ordertime",
  9755. "tradeprice",
  9756. "tradeqty"
  9757. ],
  9758. "properties": {
  9759. "accountid": {
  9760. "description": "账户ID[报价币种]",
  9761. "type": "integer"
  9762. },
  9763. "goodsid": {
  9764. "description": "商品ID",
  9765. "type": "integer"
  9766. },
  9767. "goodunit": {
  9768. "description": "报价单位",
  9769. "type": "string"
  9770. },
  9771. "marketid": {
  9772. "description": "市场ID",
  9773. "type": "integer"
  9774. },
  9775. "orderid": {
  9776. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9777. "type": "integer"
  9778. },
  9779. "orderprice": {
  9780. "description": "委托价格",
  9781. "type": "number"
  9782. },
  9783. "orderqty": {
  9784. "description": "委托数量",
  9785. "type": "integer"
  9786. },
  9787. "ordertime": {
  9788. "description": "委托时间",
  9789. "type": "string"
  9790. },
  9791. "ordertotalprice": {
  9792. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9793. "type": "number"
  9794. },
  9795. "ordertotalweight": {
  9796. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9797. "type": "integer"
  9798. },
  9799. "totaltotalprice": {
  9800. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9801. "type": "number"
  9802. },
  9803. "tradeprice": {
  9804. "description": "成交价格",
  9805. "type": "number"
  9806. },
  9807. "tradeqty": {
  9808. "description": "成交数量",
  9809. "type": "integer"
  9810. }
  9811. }
  9812. },
  9813. "cptrade.QueryCPTradeOrderDetailRsq": {
  9814. "type": "object",
  9815. "required": [
  9816. "accountid",
  9817. "buildtype",
  9818. "buyorsell",
  9819. "goodsid",
  9820. "marketid",
  9821. "memberuserid",
  9822. "operatetype",
  9823. "orderqty",
  9824. "ordertime",
  9825. "pricemode",
  9826. "strorderid",
  9827. "tradedate",
  9828. "validtype"
  9829. ],
  9830. "properties": {
  9831. "accountid": {
  9832. "description": "账户ID[报价币种]",
  9833. "type": "integer"
  9834. },
  9835. "buildtype": {
  9836. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9837. "type": "integer"
  9838. },
  9839. "buyorsell": {
  9840. "description": "买卖 - 0:买 1:卖",
  9841. "type": "integer"
  9842. },
  9843. "cancelorderid": {
  9844. "description": "撤单单号(撤单时填写)",
  9845. "type": "integer"
  9846. },
  9847. "cancelqty": {
  9848. "description": "撤单数量",
  9849. "type": "integer"
  9850. },
  9851. "clientordertime": {
  9852. "description": "客户端委托时间",
  9853. "type": "string"
  9854. },
  9855. "clientticket": {
  9856. "description": "客户端流水号",
  9857. "type": "string"
  9858. },
  9859. "clienttype": {
  9860. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9861. "type": "integer"
  9862. },
  9863. "closeexchagechargevalue": {
  9864. "description": "平仓交易所手续费设置值",
  9865. "type": "number"
  9866. },
  9867. "closefeealgorithm": {
  9868. "description": "平仓手续费收取方式 1:比率 2:固定",
  9869. "type": "integer"
  9870. },
  9871. "closefreezecharge": {
  9872. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9873. "type": "number"
  9874. },
  9875. "closememberchargevalue": {
  9876. "description": "平仓会员手续费设置值",
  9877. "type": "number"
  9878. },
  9879. "closeqty": {
  9880. "description": "平仓数量(先建后平操作 需要记录)",
  9881. "type": "integer"
  9882. },
  9883. "closetradeqty": {
  9884. "description": "平仓成交数量(先建后平操作,需要记录)",
  9885. "type": "integer"
  9886. },
  9887. "closeunfreezecharge": {
  9888. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9889. "type": "number"
  9890. },
  9891. "delistingtype": {
  9892. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9893. "type": "integer"
  9894. },
  9895. "freezecharge": {
  9896. "description": "冻结手续费",
  9897. "type": "number"
  9898. },
  9899. "freezemargin": {
  9900. "description": "冻结保证金(冻结交易金额)",
  9901. "type": "number"
  9902. },
  9903. "gcaccountid": {
  9904. "description": "账户ID[合约币种]",
  9905. "type": "integer"
  9906. },
  9907. "goodsid": {
  9908. "description": "商品ID",
  9909. "type": "integer"
  9910. },
  9911. "isconfirmexercise": {
  9912. "description": "是否确认行权- 0:否 1:是",
  9913. "type": "integer"
  9914. },
  9915. "ispreexercise": {
  9916. "description": "是否预申报- 0:否 1:是",
  9917. "type": "integer"
  9918. },
  9919. "listingselecttype": {
  9920. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9921. "type": "integer"
  9922. },
  9923. "marginalgorithm": {
  9924. "description": "保证金收取方式 1:比率 2:固定",
  9925. "type": "integer"
  9926. },
  9927. "marginvalue": {
  9928. "description": "即市保证金设置值",
  9929. "type": "number"
  9930. },
  9931. "marketid": {
  9932. "description": "市场ID",
  9933. "type": "integer"
  9934. },
  9935. "marketmaxsub": {
  9936. "description": "市价最大偏移范围",
  9937. "type": "number"
  9938. },
  9939. "memberuserid": {
  9940. "description": "所属会员UserID",
  9941. "type": "integer"
  9942. },
  9943. "openexchagechargevalue": {
  9944. "description": "建仓交易所手续费设置值",
  9945. "type": "number"
  9946. },
  9947. "openfeealgorithm": {
  9948. "description": "建仓手续费收取方式 1:比率 2:固定",
  9949. "type": "integer"
  9950. },
  9951. "openfreezecharge": {
  9952. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9953. "type": "number"
  9954. },
  9955. "openmemberchargevalue": {
  9956. "description": "建仓会员手续费设置值",
  9957. "type": "number"
  9958. },
  9959. "openqty": {
  9960. "description": "开仓数量(先建后平操作,需要记录)",
  9961. "type": "integer"
  9962. },
  9963. "opentradeqty": {
  9964. "description": "开仓成交数量(先建后平操作,需要记录)",
  9965. "type": "integer"
  9966. },
  9967. "openunfreezecharge": {
  9968. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9969. "type": "number"
  9970. },
  9971. "operatetype": {
  9972. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9973. "type": "integer"
  9974. },
  9975. "operatorid": {
  9976. "description": "登录账号(LoginID)",
  9977. "type": "integer"
  9978. },
  9979. "optiontype": {
  9980. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9981. "type": "integer"
  9982. },
  9983. "orderprice": {
  9984. "description": "委托价格",
  9985. "type": "number"
  9986. },
  9987. "orderqty": {
  9988. "description": "委托数量",
  9989. "type": "integer"
  9990. },
  9991. "ordersrc": {
  9992. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9993. "type": "integer"
  9994. },
  9995. "orderstatus": {
  9996. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9997. "type": "integer"
  9998. },
  9999. "ordertime": {
  10000. "description": "委托时间",
  10001. "type": "string"
  10002. },
  10003. "preexerciseprice": {
  10004. "description": "预申报价格",
  10005. "type": "number"
  10006. },
  10007. "premium": {
  10008. "description": "权利金",
  10009. "type": "number"
  10010. },
  10011. "preorderid": {
  10012. "description": "关联预埋单号(止盈止损单时填写)",
  10013. "type": "integer"
  10014. },
  10015. "pricemode": {
  10016. "description": "取价方式 - 1:市价 2: 限价",
  10017. "type": "integer"
  10018. },
  10019. "quoteid": {
  10020. "description": "报价单ID",
  10021. "type": "integer"
  10022. },
  10023. "relatedid": {
  10024. "description": "关联单号(交割单)",
  10025. "type": "integer"
  10026. },
  10027. "retcode": {
  10028. "description": "错误代码",
  10029. "type": "integer"
  10030. },
  10031. "sessionid": {
  10032. "description": "会话ID",
  10033. "type": "integer"
  10034. },
  10035. "strorderid": {
  10036. "description": "委托单号",
  10037. "type": "string"
  10038. },
  10039. "tradedate": {
  10040. "description": "交易日(yyyyMMdd)",
  10041. "type": "string"
  10042. },
  10043. "tradeproperty": {
  10044. "description": "交易属性",
  10045. "type": "integer"
  10046. },
  10047. "tradeqty": {
  10048. "description": "成交数量",
  10049. "type": "integer"
  10050. },
  10051. "unfreezecharge": {
  10052. "description": "解冻手续费",
  10053. "type": "number"
  10054. },
  10055. "unfreezemargin": {
  10056. "description": "解冻保证金",
  10057. "type": "number"
  10058. },
  10059. "updatetime": {
  10060. "description": "更新时间",
  10061. "type": "string"
  10062. },
  10063. "uuid": {
  10064. "description": "发起端唯一id",
  10065. "type": "string"
  10066. },
  10067. "validtime": {
  10068. "description": "有效期限",
  10069. "type": "string"
  10070. },
  10071. "validtype": {
  10072. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10073. "type": "integer"
  10074. },
  10075. "volumetype": {
  10076. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10077. "type": "integer"
  10078. }
  10079. }
  10080. },
  10081. "cptrade.QueryMyCPTradeGoodsRsp": {
  10082. "type": "object",
  10083. "required": [
  10084. "goodscode",
  10085. "goodsid",
  10086. "goodsname",
  10087. "marketid",
  10088. "relatedgoodscode",
  10089. "relatedgoodsname"
  10090. ],
  10091. "properties": {
  10092. "accountid": {
  10093. "description": "卖方账户ID",
  10094. "type": "integer"
  10095. },
  10096. "agreeunit": {
  10097. "description": "合约单位",
  10098. "type": "number"
  10099. },
  10100. "applyid": {
  10101. "description": "关联申请ID",
  10102. "type": "integer"
  10103. },
  10104. "attachmenturl": {
  10105. "description": "附件地址",
  10106. "type": "string"
  10107. },
  10108. "createtime": {
  10109. "description": "创建时间",
  10110. "type": "string"
  10111. },
  10112. "currencyid": {
  10113. "description": "报价货币ID",
  10114. "type": "integer"
  10115. },
  10116. "decimalplace": {
  10117. "description": "报价小数位",
  10118. "type": "integer"
  10119. },
  10120. "endtime": {
  10121. "description": "预售结束时间",
  10122. "type": "string"
  10123. },
  10124. "floorprice": {
  10125. "description": "底价[大宗式竞拍]",
  10126. "type": "number"
  10127. },
  10128. "goodscode": {
  10129. "description": "商品代码(预售)",
  10130. "type": "string"
  10131. },
  10132. "goodsdetail": {
  10133. "description": "详情[大宗]",
  10134. "type": "string"
  10135. },
  10136. "goodsid": {
  10137. "description": "商品ID(自增ID SEQ_GOODS)",
  10138. "type": "integer"
  10139. },
  10140. "goodsname": {
  10141. "description": "商品名称(预售)",
  10142. "type": "string"
  10143. },
  10144. "goodunit": {
  10145. "description": "报价单位",
  10146. "type": "string"
  10147. },
  10148. "goodunitid": {
  10149. "description": "报价单位ID",
  10150. "type": "integer"
  10151. },
  10152. "marketid": {
  10153. "description": "所属市场ID",
  10154. "type": "integer"
  10155. },
  10156. "marketname": {
  10157. "description": "预售市场名称",
  10158. "type": "string"
  10159. },
  10160. "presaledamount": {
  10161. "description": "已预售总金额(预售结束时更新)",
  10162. "type": "number"
  10163. },
  10164. "presaledqty": {
  10165. "description": "已预售量(预售结束时更新)",
  10166. "type": "integer"
  10167. },
  10168. "presalemode": {
  10169. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10170. "type": "integer"
  10171. },
  10172. "presaleqty": {
  10173. "description": "预售数量",
  10174. "type": "integer"
  10175. },
  10176. "refprice": {
  10177. "description": "参考价格[一口价]",
  10178. "type": "number"
  10179. },
  10180. "relatedgoodscode": {
  10181. "description": "商品代码(订单)",
  10182. "type": "string"
  10183. },
  10184. "relatedgoodsid": {
  10185. "description": "关联交易合约ID",
  10186. "type": "integer"
  10187. },
  10188. "relatedgoodsname": {
  10189. "description": "商品名称(订单)",
  10190. "type": "string"
  10191. },
  10192. "relatedmarketid": {
  10193. "description": "关联交易合约市场ID",
  10194. "type": "integer"
  10195. },
  10196. "sellstatus": {
  10197. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10198. "type": "integer"
  10199. },
  10200. "startprice": {
  10201. "description": "起拍价[大宗式竞拍]",
  10202. "type": "number"
  10203. },
  10204. "starttime": {
  10205. "description": "预售开始时间",
  10206. "type": "string"
  10207. },
  10208. "tradedate": {
  10209. "description": "交易日(yyyyMMdd)",
  10210. "type": "string"
  10211. },
  10212. "tradeprice": {
  10213. "description": "成交价[大宗]",
  10214. "type": "number"
  10215. },
  10216. "userid": {
  10217. "description": "卖方用户ID",
  10218. "type": "integer"
  10219. }
  10220. }
  10221. },
  10222. "cptrade.QueryPresaleGoodsExRsp": {
  10223. "type": "object",
  10224. "required": [
  10225. "goodsid"
  10226. ],
  10227. "properties": {
  10228. "attachmenturl": {
  10229. "description": "附件地址",
  10230. "type": "string"
  10231. },
  10232. "createtime": {
  10233. "description": "创建时间",
  10234. "type": "string"
  10235. },
  10236. "endtime": {
  10237. "description": "预售结束时间",
  10238. "type": "string"
  10239. },
  10240. "floorprice": {
  10241. "description": "底价[大宗式竞拍]",
  10242. "type": "number"
  10243. },
  10244. "goodsdetail": {
  10245. "description": "详情[大宗]",
  10246. "type": "string"
  10247. },
  10248. "goodsid": {
  10249. "description": "商品ID(预售)",
  10250. "type": "integer"
  10251. },
  10252. "goodunit": {
  10253. "description": "报价单位",
  10254. "type": "string"
  10255. },
  10256. "marketid": {
  10257. "description": "预售市场ID - 根据预售模式选择市场",
  10258. "type": "integer"
  10259. },
  10260. "presaledamount": {
  10261. "description": "已预售总金额(预售结束时更新)",
  10262. "type": "number"
  10263. },
  10264. "presaledqty": {
  10265. "description": "已预售量(预售结束时更新)",
  10266. "type": "integer"
  10267. },
  10268. "presalemode": {
  10269. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10270. "type": "integer"
  10271. },
  10272. "presaleqty": {
  10273. "description": "预售数量",
  10274. "type": "integer"
  10275. },
  10276. "refprice": {
  10277. "description": "参考价格[一口价]",
  10278. "type": "number"
  10279. },
  10280. "relatedgoodsid": {
  10281. "description": "关联交易合约ID",
  10282. "type": "integer"
  10283. },
  10284. "relatedmarketid": {
  10285. "description": "关联交易合约市场ID",
  10286. "type": "integer"
  10287. },
  10288. "sellstatus": {
  10289. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10290. "type": "integer"
  10291. },
  10292. "startprice": {
  10293. "description": "起拍价[大宗式竞拍]",
  10294. "type": "number"
  10295. },
  10296. "starttime": {
  10297. "description": "预售开始时间",
  10298. "type": "string"
  10299. },
  10300. "tradedate": {
  10301. "description": "交易日(yyyyMMdd)",
  10302. "type": "string"
  10303. },
  10304. "tradeprice": {
  10305. "description": "成交价[大宗]",
  10306. "type": "number"
  10307. }
  10308. }
  10309. },
  10310. "delivery.QueryDeliveryRelationRsp": {
  10311. "type": "object",
  10312. "required": [
  10313. "begindate",
  10314. "enddate",
  10315. "goodsid",
  10316. "mindeliveryqty",
  10317. "xdeliveryratio"
  10318. ],
  10319. "properties": {
  10320. "begindate": {
  10321. "description": "起始日期(yyyyMMdd)",
  10322. "type": "string"
  10323. },
  10324. "buytemplateid": {
  10325. "description": "买履约计划模板ID",
  10326. "type": "integer"
  10327. },
  10328. "deliverygoodscode": {
  10329. "description": "品种代码",
  10330. "type": "string"
  10331. },
  10332. "deliverygoodsid": {
  10333. "description": "交割商品",
  10334. "type": "integer"
  10335. },
  10336. "deliverygoodsname": {
  10337. "description": "品种名称",
  10338. "type": "string"
  10339. },
  10340. "deliverymode": {
  10341. "description": "交割方式 - 1:点选式 2:申报式",
  10342. "type": "integer"
  10343. },
  10344. "deliverypricerule": {
  10345. "description": "交割价规则- 1:行情价 2:建仓价",
  10346. "type": "integer"
  10347. },
  10348. "deliverytype": {
  10349. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10350. "type": "integer"
  10351. },
  10352. "enddate": {
  10353. "description": "结束日期(yyyyMMdd)",
  10354. "type": "string"
  10355. },
  10356. "goodscode": {
  10357. "description": "商品代码",
  10358. "type": "string"
  10359. },
  10360. "goodsid": {
  10361. "description": "交易合约ID",
  10362. "type": "integer"
  10363. },
  10364. "goodsname": {
  10365. "description": "商品名称",
  10366. "type": "string"
  10367. },
  10368. "marketid": {
  10369. "description": "市场ID",
  10370. "type": "integer"
  10371. },
  10372. "mindeliveryqty": {
  10373. "description": "最小交割系数(K)",
  10374. "type": "integer"
  10375. },
  10376. "p2deliveryprice": {
  10377. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10378. "type": "number"
  10379. },
  10380. "p2deliveryratio": {
  10381. "description": "P2合约系数(p)",
  10382. "type": "integer"
  10383. },
  10384. "p2goodsid": {
  10385. "description": "P2合约ID",
  10386. "type": "integer"
  10387. },
  10388. "p2pricemode": {
  10389. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10390. "type": "integer"
  10391. },
  10392. "pdeliveryprice": {
  10393. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10394. "type": "number"
  10395. },
  10396. "pdeliveryratio": {
  10397. "description": "P合约系数(n)",
  10398. "type": "integer"
  10399. },
  10400. "pgoodsid": {
  10401. "description": "P合约ID",
  10402. "type": "integer"
  10403. },
  10404. "ppricemode": {
  10405. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10406. "type": "integer"
  10407. },
  10408. "rratio": {
  10409. "description": "兑换系数(R)",
  10410. "type": "integer"
  10411. },
  10412. "rratio1": {
  10413. "description": "兑换系数(交易合约)(R1)",
  10414. "type": "integer"
  10415. },
  10416. "rratio2": {
  10417. "description": "兑换系数(仓单标准)(R2)",
  10418. "type": "integer"
  10419. },
  10420. "selltemplateid": {
  10421. "description": "卖履约计划模板ID",
  10422. "type": "integer"
  10423. },
  10424. "wrstandardid": {
  10425. "description": "仓单标准ID",
  10426. "type": "integer"
  10427. },
  10428. "xdeliveryratio": {
  10429. "description": "交易合约系数(m)",
  10430. "type": "integer"
  10431. }
  10432. }
  10433. },
  10434. "ermcp.ExposureDetailRsp": {
  10435. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10436. },
  10437. "ermcp.ExposureHedgePosDetailRsp": {
  10438. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10439. },
  10440. "ermcp.ExposureHedgePositionRsp": {
  10441. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10442. },
  10443. "ermcp.ExposureSpotDetailRsp": {
  10444. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10445. },
  10446. "ermcp.ExposureSpotRsp": {
  10447. "$ref": "#/definitions/models.AreaSpotModel"
  10448. },
  10449. "ermcp.HisExposureRsp": {
  10450. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10451. },
  10452. "ermcp.PendingAuditCntRsp": {
  10453. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10454. },
  10455. "ermcp.QryAreaStockApplyRsp": {
  10456. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10457. },
  10458. "ermcp.QryAvalidGPRsp": {
  10459. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10460. },
  10461. "ermcp.QryBusinessDjRsp": {
  10462. "type": "object",
  10463. "properties": {
  10464. "amount": {
  10465. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10466. "type": "number"
  10467. },
  10468. "applyid": {
  10469. "description": "申请人",
  10470. "type": "string"
  10471. },
  10472. "applyname": {
  10473. "description": "申请人名称",
  10474. "type": "string"
  10475. },
  10476. "applystatus": {
  10477. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10478. "type": "integer"
  10479. },
  10480. "applytime": {
  10481. "description": "申请时间",
  10482. "type": "string"
  10483. },
  10484. "attachurl": {
  10485. "description": "附件",
  10486. "type": "string"
  10487. },
  10488. "auditid": {
  10489. "description": "审核人ID",
  10490. "type": "string"
  10491. },
  10492. "auditname": {
  10493. "description": "审核人名称",
  10494. "type": "string"
  10495. },
  10496. "audittime": {
  10497. "description": "审核时间",
  10498. "type": "string"
  10499. },
  10500. "buyusername": {
  10501. "description": "采购方名称",
  10502. "type": "string"
  10503. },
  10504. "contractno": {
  10505. "description": "合同编号",
  10506. "type": "string"
  10507. },
  10508. "contractstatus": {
  10509. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10510. "type": "integer"
  10511. },
  10512. "contracttype": {
  10513. "description": "现货合同类型 - 1:采购 -1:销售",
  10514. "type": "integer"
  10515. },
  10516. "deliverygoodscode": {
  10517. "description": "现货品种代码",
  10518. "type": "string"
  10519. },
  10520. "deliverygoodsid": {
  10521. "description": "现货商品ID",
  10522. "type": "integer"
  10523. },
  10524. "deliverygoodsname": {
  10525. "description": "现货品种名称",
  10526. "type": "string"
  10527. },
  10528. "enumdicname": {
  10529. "description": "单位名称",
  10530. "type": "string"
  10531. },
  10532. "goodscode": {
  10533. "description": "点价合约",
  10534. "type": "string"
  10535. },
  10536. "goodsname": {
  10537. "description": "商品名称",
  10538. "type": "string"
  10539. },
  10540. "operateapplyid": {
  10541. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10542. "type": "string"
  10543. },
  10544. "operateapplytype": {
  10545. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10546. "type": "integer"
  10547. },
  10548. "pricedPrice": {
  10549. "description": "点价价格(非必填)",
  10550. "type": "number"
  10551. },
  10552. "pricedQty": {
  10553. "description": "点价数量(非必填)",
  10554. "type": "number"
  10555. },
  10556. "pricemove": {
  10557. "description": "升贴水",
  10558. "type": "number"
  10559. },
  10560. "pricetype": {
  10561. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10562. "type": "integer"
  10563. },
  10564. "relatedid": {
  10565. "description": "现货合同ID",
  10566. "type": "string"
  10567. },
  10568. "sellusername": {
  10569. "description": "销售方名字",
  10570. "type": "string"
  10571. },
  10572. "userid": {
  10573. "description": "用户ID",
  10574. "type": "integer"
  10575. },
  10576. "wrstandardcode": {
  10577. "description": "品类代码",
  10578. "type": "string"
  10579. },
  10580. "wrstandardid": {
  10581. "description": "品类id",
  10582. "type": "integer"
  10583. },
  10584. "wrstandardname": {
  10585. "description": "品类名称",
  10586. "type": "string"
  10587. }
  10588. }
  10589. },
  10590. "ermcp.QryBussinessFpRsp": {
  10591. "type": "object",
  10592. "properties": {
  10593. "applyid": {
  10594. "description": "申请人",
  10595. "type": "string"
  10596. },
  10597. "applyname": {
  10598. "description": "申请人名称",
  10599. "type": "string"
  10600. },
  10601. "applystatus": {
  10602. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10603. "type": "integer"
  10604. },
  10605. "applytime": {
  10606. "description": "申请时间",
  10607. "type": "string"
  10608. },
  10609. "attachurl": {
  10610. "description": "附件",
  10611. "type": "string"
  10612. },
  10613. "auditid": {
  10614. "description": "审核人ID",
  10615. "type": "string"
  10616. },
  10617. "auditname": {
  10618. "description": "审核人名称",
  10619. "type": "string"
  10620. },
  10621. "audittime": {
  10622. "description": "审核时间",
  10623. "type": "string"
  10624. },
  10625. "buyusername": {
  10626. "description": "采购方名称",
  10627. "type": "string"
  10628. },
  10629. "contractno": {
  10630. "description": "合同编号",
  10631. "type": "string"
  10632. },
  10633. "contractstatus": {
  10634. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10635. "type": "integer"
  10636. },
  10637. "contracttype": {
  10638. "description": "现货合同类型 - 1:采购 -1:销售",
  10639. "type": "integer"
  10640. },
  10641. "deliverygoodscode": {
  10642. "description": "现货品种代码",
  10643. "type": "string"
  10644. },
  10645. "deliverygoodsid": {
  10646. "description": "现货商品ID",
  10647. "type": "integer"
  10648. },
  10649. "deliverygoodsname": {
  10650. "description": "现货品种名称",
  10651. "type": "string"
  10652. },
  10653. "enumdicname": {
  10654. "description": "单位名称",
  10655. "type": "string"
  10656. },
  10657. "goodscode": {
  10658. "description": "点价合约",
  10659. "type": "string"
  10660. },
  10661. "goodsname": {
  10662. "description": "商品名称",
  10663. "type": "string"
  10664. },
  10665. "invoiceAmount": {
  10666. "description": "已开收票金额(销售为开票,采购为收票)",
  10667. "type": "number"
  10668. },
  10669. "operateapplyid": {
  10670. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10671. "type": "string"
  10672. },
  10673. "operateapplytype": {
  10674. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10675. "type": "integer"
  10676. },
  10677. "pricemove": {
  10678. "description": "升贴水",
  10679. "type": "number"
  10680. },
  10681. "pricetype": {
  10682. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10683. "type": "integer"
  10684. },
  10685. "relatedid": {
  10686. "description": "现货合同ID",
  10687. "type": "string"
  10688. },
  10689. "sellusername": {
  10690. "description": "销售方名字",
  10691. "type": "string"
  10692. },
  10693. "userid": {
  10694. "description": "用户ID",
  10695. "type": "integer"
  10696. },
  10697. "wrstandardcode": {
  10698. "description": "品类代码",
  10699. "type": "string"
  10700. },
  10701. "wrstandardid": {
  10702. "description": "品类id",
  10703. "type": "integer"
  10704. },
  10705. "wrstandardname": {
  10706. "description": "品类名称",
  10707. "type": "string"
  10708. }
  10709. }
  10710. },
  10711. "ermcp.QryBussinessJsExRsp": {
  10712. "type": "object",
  10713. "properties": {
  10714. "applyid": {
  10715. "description": "申请人",
  10716. "type": "string"
  10717. },
  10718. "applyname": {
  10719. "description": "申请人名称",
  10720. "type": "string"
  10721. },
  10722. "applystatus": {
  10723. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10724. "type": "integer"
  10725. },
  10726. "applytime": {
  10727. "description": "申请时间",
  10728. "type": "string"
  10729. },
  10730. "attachurl": {
  10731. "description": "附件",
  10732. "type": "string"
  10733. },
  10734. "auditid": {
  10735. "description": "审核人ID",
  10736. "type": "string"
  10737. },
  10738. "auditname": {
  10739. "description": "审核人名称",
  10740. "type": "string"
  10741. },
  10742. "audittime": {
  10743. "description": "审核时间",
  10744. "type": "string"
  10745. },
  10746. "buyusername": {
  10747. "description": "采购方名称",
  10748. "type": "string"
  10749. },
  10750. "contractno": {
  10751. "description": "合同编号",
  10752. "type": "string"
  10753. },
  10754. "contractstatus": {
  10755. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10756. "type": "integer"
  10757. },
  10758. "contracttype": {
  10759. "description": "现货合同类型 - 1:采购 -1:销售",
  10760. "type": "integer"
  10761. },
  10762. "deliverygoodscode": {
  10763. "description": "现货品种代码",
  10764. "type": "string"
  10765. },
  10766. "deliverygoodsid": {
  10767. "description": "现货商品ID",
  10768. "type": "integer"
  10769. },
  10770. "deliverygoodsname": {
  10771. "description": "现货品种名称",
  10772. "type": "string"
  10773. },
  10774. "enumdicname": {
  10775. "description": "单位名称",
  10776. "type": "string"
  10777. },
  10778. "goodscode": {
  10779. "description": "点价合约",
  10780. "type": "string"
  10781. },
  10782. "goodsname": {
  10783. "description": "商品名称",
  10784. "type": "string"
  10785. },
  10786. "operateapplyid": {
  10787. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10788. "type": "string"
  10789. },
  10790. "operateapplytype": {
  10791. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10792. "type": "integer"
  10793. },
  10794. "pricemove": {
  10795. "description": "升贴水",
  10796. "type": "number"
  10797. },
  10798. "pricetype": {
  10799. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10800. "type": "integer"
  10801. },
  10802. "reckontype": {
  10803. "description": "结算类型",
  10804. "type": "string"
  10805. },
  10806. "reckonvalue": {
  10807. "description": "值",
  10808. "type": "number"
  10809. },
  10810. "relatedid": {
  10811. "description": "现货合同ID",
  10812. "type": "string"
  10813. },
  10814. "sellusername": {
  10815. "description": "销售方名字",
  10816. "type": "string"
  10817. },
  10818. "userid": {
  10819. "description": "用户ID",
  10820. "type": "integer"
  10821. },
  10822. "wrstandardcode": {
  10823. "description": "品类代码",
  10824. "type": "string"
  10825. },
  10826. "wrstandardid": {
  10827. "description": "品类id",
  10828. "type": "integer"
  10829. },
  10830. "wrstandardname": {
  10831. "description": "品类名称",
  10832. "type": "string"
  10833. }
  10834. }
  10835. },
  10836. "ermcp.QryBussinessJsRsp": {
  10837. "type": "object",
  10838. "properties": {
  10839. "addmargin": {
  10840. "description": "追加保证金(非必填)",
  10841. "type": "number"
  10842. },
  10843. "applyid": {
  10844. "description": "申请人",
  10845. "type": "string"
  10846. },
  10847. "applyname": {
  10848. "description": "申请人名称",
  10849. "type": "string"
  10850. },
  10851. "applystatus": {
  10852. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10853. "type": "integer"
  10854. },
  10855. "applytime": {
  10856. "description": "申请时间",
  10857. "type": "string"
  10858. },
  10859. "attachurl": {
  10860. "description": "附件",
  10861. "type": "string"
  10862. },
  10863. "auditid": {
  10864. "description": "审核人ID",
  10865. "type": "string"
  10866. },
  10867. "auditname": {
  10868. "description": "审核人名称",
  10869. "type": "string"
  10870. },
  10871. "audittime": {
  10872. "description": "审核时间",
  10873. "type": "string"
  10874. },
  10875. "buyusername": {
  10876. "description": "采购方名称",
  10877. "type": "string"
  10878. },
  10879. "contractno": {
  10880. "description": "合同编号",
  10881. "type": "string"
  10882. },
  10883. "contractstatus": {
  10884. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10885. "type": "integer"
  10886. },
  10887. "contracttype": {
  10888. "description": "现货合同类型 - 1:采购 -1:销售",
  10889. "type": "integer"
  10890. },
  10891. "decmargin": {
  10892. "description": "减少保证金(非必填)",
  10893. "type": "number"
  10894. },
  10895. "deliverygoodscode": {
  10896. "description": "现货品种代码",
  10897. "type": "string"
  10898. },
  10899. "deliverygoodsid": {
  10900. "description": "现货商品ID",
  10901. "type": "integer"
  10902. },
  10903. "deliverygoodsname": {
  10904. "description": "现货品种名称",
  10905. "type": "string"
  10906. },
  10907. "enumdicname": {
  10908. "description": "单位名称",
  10909. "type": "string"
  10910. },
  10911. "goodscode": {
  10912. "description": "点价合约",
  10913. "type": "string"
  10914. },
  10915. "goodsname": {
  10916. "description": "商品名称",
  10917. "type": "string"
  10918. },
  10919. "operateapplyid": {
  10920. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10921. "type": "string"
  10922. },
  10923. "operateapplytype": {
  10924. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10925. "type": "integer"
  10926. },
  10927. "pricemove": {
  10928. "description": "升贴水",
  10929. "type": "number"
  10930. },
  10931. "pricetype": {
  10932. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10933. "type": "integer"
  10934. },
  10935. "reckonadjustamount": {
  10936. "description": "结算调整金额(非必填)",
  10937. "type": "number"
  10938. },
  10939. "reckonosamount": {
  10940. "description": "结算溢短金额(非必填)",
  10941. "type": "number"
  10942. },
  10943. "reckonotheramount": {
  10944. "description": "结算其他费用(非必填)",
  10945. "type": "number"
  10946. },
  10947. "reckonrealqty": {
  10948. "description": "结算实际数量(非必填)",
  10949. "type": "number"
  10950. },
  10951. "relatedid": {
  10952. "description": "现货合同ID",
  10953. "type": "string"
  10954. },
  10955. "sellusername": {
  10956. "description": "销售方名字",
  10957. "type": "string"
  10958. },
  10959. "userid": {
  10960. "description": "用户ID",
  10961. "type": "integer"
  10962. },
  10963. "wrstandardcode": {
  10964. "description": "品类代码",
  10965. "type": "string"
  10966. },
  10967. "wrstandardid": {
  10968. "description": "品类id",
  10969. "type": "integer"
  10970. },
  10971. "wrstandardname": {
  10972. "description": "品类名称",
  10973. "type": "string"
  10974. }
  10975. }
  10976. },
  10977. "ermcp.QryBussinessKxRsp": {
  10978. "type": "object",
  10979. "properties": {
  10980. "applyid": {
  10981. "description": "申请人",
  10982. "type": "string"
  10983. },
  10984. "applyname": {
  10985. "description": "申请人名称",
  10986. "type": "string"
  10987. },
  10988. "applystatus": {
  10989. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10990. "type": "integer"
  10991. },
  10992. "applytime": {
  10993. "description": "申请时间",
  10994. "type": "string"
  10995. },
  10996. "attachurl": {
  10997. "description": "附件",
  10998. "type": "string"
  10999. },
  11000. "auditid": {
  11001. "description": "审核人ID",
  11002. "type": "string"
  11003. },
  11004. "auditname": {
  11005. "description": "审核人名称",
  11006. "type": "string"
  11007. },
  11008. "audittime": {
  11009. "description": "审核时间",
  11010. "type": "string"
  11011. },
  11012. "buyusername": {
  11013. "description": "采购方名称",
  11014. "type": "string"
  11015. },
  11016. "contractno": {
  11017. "description": "合同编号",
  11018. "type": "string"
  11019. },
  11020. "contractstatus": {
  11021. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11022. "type": "integer"
  11023. },
  11024. "contracttype": {
  11025. "description": "现货合同类型 - 1:采购 -1:销售",
  11026. "type": "integer"
  11027. },
  11028. "deductamount": {
  11029. "description": "退款(非必填)",
  11030. "type": "number"
  11031. },
  11032. "deliverygoodscode": {
  11033. "description": "现货品种代码",
  11034. "type": "string"
  11035. },
  11036. "deliverygoodsid": {
  11037. "description": "现货商品ID",
  11038. "type": "integer"
  11039. },
  11040. "deliverygoodsname": {
  11041. "description": "现货品种名称",
  11042. "type": "string"
  11043. },
  11044. "enumdicname": {
  11045. "description": "单位名称",
  11046. "type": "string"
  11047. },
  11048. "goodscode": {
  11049. "description": "点价合约",
  11050. "type": "string"
  11051. },
  11052. "goodsname": {
  11053. "description": "商品名称",
  11054. "type": "string"
  11055. },
  11056. "kxtype": {
  11057. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11058. "type": "integer"
  11059. },
  11060. "operateapplyid": {
  11061. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11062. "type": "string"
  11063. },
  11064. "operateapplytype": {
  11065. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11066. "type": "integer"
  11067. },
  11068. "payamount": {
  11069. "description": "收付款(非必填)",
  11070. "type": "number"
  11071. },
  11072. "pricemove": {
  11073. "description": "升贴水",
  11074. "type": "number"
  11075. },
  11076. "pricetype": {
  11077. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11078. "type": "integer"
  11079. },
  11080. "relatedid": {
  11081. "description": "现货合同ID",
  11082. "type": "string"
  11083. },
  11084. "sellusername": {
  11085. "description": "销售方名字",
  11086. "type": "string"
  11087. },
  11088. "userid": {
  11089. "description": "用户ID",
  11090. "type": "integer"
  11091. },
  11092. "wrstandardcode": {
  11093. "description": "品类代码",
  11094. "type": "string"
  11095. },
  11096. "wrstandardid": {
  11097. "description": "品类id",
  11098. "type": "integer"
  11099. },
  11100. "wrstandardname": {
  11101. "description": "品类名称",
  11102. "type": "string"
  11103. }
  11104. }
  11105. },
  11106. "ermcp.QryErmcpRsp": {
  11107. "$ref": "#/definitions/models.ErmcpModel"
  11108. },
  11109. "ermcp.QryGGCovertCfgRsp": {
  11110. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11111. },
  11112. "ermcp.QryHedgePlanRsp": {
  11113. "$ref": "#/definitions/models.ErmcpHedgePlan"
  11114. },
  11115. "ermcp.QryMGChangeLogRsp": {
  11116. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11117. },
  11118. "ermcp.QryMiddleGoodsDetailRsp": {
  11119. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11120. },
  11121. "ermcp.QryMiddleGoodsRsp": {
  11122. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11123. },
  11124. "ermcp.QryOPLogRsp": {
  11125. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11126. },
  11127. "ermcp.QryReportDaySpotDetailRsp": {
  11128. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11129. },
  11130. "ermcp.QryReportExposureDayRsp": {
  11131. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  11132. },
  11133. "ermcp.QryReportFinanceDayRsp": {
  11134. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11135. },
  11136. "ermcp.QryReportFinanceKxRsp": {
  11137. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11138. },
  11139. "ermcp.QryReportFinanceMonRsp": {
  11140. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  11141. },
  11142. "ermcp.QryReportSpotDayRsp": {
  11143. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11144. },
  11145. "ermcp.QryReportSpotMonRsp": {
  11146. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  11147. },
  11148. "ermcp.QryReportSpotMonthDetailRsp": {
  11149. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11150. },
  11151. "ermcp.QrySpotContractRsp": {
  11152. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  11153. },
  11154. "ermcp.QryUserInfoRsp": {
  11155. "$ref": "#/definitions/models.ErmcpUserModel"
  11156. },
  11157. "ermcp.QryWarehouseRsp": {
  11158. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11159. },
  11160. "ermcp.QryWrStandardDetailRsp": {
  11161. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  11162. },
  11163. "ermcp.QryWrStandardRsp": {
  11164. "$ref": "#/definitions/models.ErmcpWrstandard"
  11165. },
  11166. "ermcp.QueryAreaStockApplySumRsp": {
  11167. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  11168. },
  11169. "ermcp.QueryErmcpTradePositionRsp": {
  11170. "type": "object",
  11171. "properties": {
  11172. "agreeunit": {
  11173. "description": "合约单位",
  11174. "type": "number"
  11175. },
  11176. "buyorsell": {
  11177. "description": "方向 - 0:买 1:卖",
  11178. "type": "integer"
  11179. },
  11180. "curpositionqty": {
  11181. "description": "持仓(总仓数量, 期末头寸)",
  11182. "type": "integer"
  11183. },
  11184. "curtdposition": {
  11185. "description": "今仓数量(期末今日头寸)",
  11186. "type": "integer"
  11187. },
  11188. "curtdpositionenabled": {
  11189. "description": "今仓可用",
  11190. "type": "integer"
  11191. },
  11192. "decimalplace": {
  11193. "description": "报价小数位",
  11194. "type": "integer"
  11195. },
  11196. "enableqty": {
  11197. "description": "可用(总仓可用)",
  11198. "type": "integer"
  11199. },
  11200. "exexchangename": {
  11201. "description": "外部交易所名称",
  11202. "type": "string"
  11203. },
  11204. "goodscode": {
  11205. "description": "商品代码(内部)",
  11206. "type": "string"
  11207. },
  11208. "goodsid": {
  11209. "description": "商品ID(自增ID SEQ_GOODS)",
  11210. "type": "integer"
  11211. },
  11212. "goodsname": {
  11213. "description": "商品名称",
  11214. "type": "string"
  11215. },
  11216. "last": {
  11217. "description": "现价",
  11218. "type": "number"
  11219. },
  11220. "marketid": {
  11221. "description": "所属市场ID",
  11222. "type": "integer"
  11223. },
  11224. "openaverageprice": {
  11225. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11226. "type": "number"
  11227. },
  11228. "opencost": {
  11229. "description": "开仓成本",
  11230. "type": "number"
  11231. },
  11232. "openpl": {
  11233. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11234. "type": "number"
  11235. },
  11236. "outgoodscode": {
  11237. "description": "商品代码(外部)",
  11238. "type": "string"
  11239. },
  11240. "positionaverageprice": {
  11241. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11242. "type": "number"
  11243. },
  11244. "positioncost": {
  11245. "description": "持仓成本",
  11246. "type": "number"
  11247. },
  11248. "positionpl": {
  11249. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11250. "type": "number"
  11251. },
  11252. "positionplrate": {
  11253. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11254. "type": "number"
  11255. },
  11256. "usedmargin": {
  11257. "description": "占用保证金",
  11258. "type": "number"
  11259. }
  11260. }
  11261. },
  11262. "ermcp.RealtimeExposurePositionRsp": {
  11263. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11264. },
  11265. "ermcp.RealtimeExposureRsp": {
  11266. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11267. },
  11268. "erms2.QueryArbitrageStrategyRsp": {
  11269. "type": "object",
  11270. "required": [
  11271. "asapplyid"
  11272. ],
  11273. "properties": {
  11274. "applybasis": {
  11275. "description": "申请基差",
  11276. "type": "number"
  11277. },
  11278. "asapplyid": {
  11279. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11280. "type": "string"
  11281. },
  11282. "asname": {
  11283. "description": "策略名称",
  11284. "type": "string"
  11285. },
  11286. "asno": {
  11287. "description": "策略编号",
  11288. "type": "string"
  11289. },
  11290. "basischangepl": {
  11291. "description": "基差变动损益[结算更新]",
  11292. "type": "number"
  11293. },
  11294. "biztype": {
  11295. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11296. "type": "integer"
  11297. },
  11298. "closetradedate": {
  11299. "description": "完结交易日(yyyyMMdd)",
  11300. "type": "string"
  11301. },
  11302. "curbasis": {
  11303. "description": "当前基差[结算更新]",
  11304. "type": "number"
  11305. },
  11306. "deliverygoodsid": {
  11307. "description": "现货品种ID",
  11308. "type": "integer"
  11309. },
  11310. "futureavgprice": {
  11311. "description": "期货建仓均价",
  11312. "type": "number"
  11313. },
  11314. "futurecloseamount": {
  11315. "description": "期货平仓金额",
  11316. "type": "number"
  11317. },
  11318. "futurecloseqty": {
  11319. "description": "期货平仓数量",
  11320. "type": "number"
  11321. },
  11322. "futureopenamount": {
  11323. "description": "期货开仓金额",
  11324. "type": "number"
  11325. },
  11326. "futureopenqty": {
  11327. "description": "期货开仓数量",
  11328. "type": "number"
  11329. },
  11330. "futurepl": {
  11331. "description": "期货总盈亏[结算更新]",
  11332. "type": "number"
  11333. },
  11334. "futureqty": {
  11335. "description": "期货持仓数量",
  11336. "type": "number"
  11337. },
  11338. "futurequote": {
  11339. "description": "期货额度",
  11340. "type": "number"
  11341. },
  11342. "goodsgroupid": {
  11343. "description": "期货品种ID",
  11344. "type": "integer"
  11345. },
  11346. "marketid": {
  11347. "description": "市场ID",
  11348. "type": "integer"
  11349. },
  11350. "netexposure": {
  11351. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11352. "type": "number"
  11353. },
  11354. "netexposurepl": {
  11355. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11356. "type": "number"
  11357. },
  11358. "netexposurerate": {
  11359. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11360. "type": "number"
  11361. },
  11362. "openbasis": {
  11363. "description": "建仓基差",
  11364. "type": "number"
  11365. },
  11366. "pricedspotqty": {
  11367. "description": "已定价现货数量",
  11368. "type": "number"
  11369. },
  11370. "pricedspotqtynotax": {
  11371. "description": "已定价现货不含税数量",
  11372. "type": "number"
  11373. },
  11374. "remark": {
  11375. "description": "备注",
  11376. "type": "string"
  11377. },
  11378. "spotavgprice": {
  11379. "description": "现货均价",
  11380. "type": "number"
  11381. },
  11382. "spotbuyamount": {
  11383. "description": "现货采购金额",
  11384. "type": "number"
  11385. },
  11386. "spotbuyqty": {
  11387. "description": "现货采购数量",
  11388. "type": "number"
  11389. },
  11390. "spotpl": {
  11391. "description": "现货总盈亏[结算更新]",
  11392. "type": "number"
  11393. },
  11394. "spotquota": {
  11395. "description": "现货额度",
  11396. "type": "number"
  11397. },
  11398. "spotsellamount": {
  11399. "description": "现货销售金额",
  11400. "type": "number"
  11401. },
  11402. "spotsellqty": {
  11403. "description": "现货销售数量",
  11404. "type": "number"
  11405. },
  11406. "spotusedquota": {
  11407. "description": "现货占用资金",
  11408. "type": "number"
  11409. },
  11410. "strategystatus": {
  11411. "description": "策略状态 - 0:未结束 1:已结束",
  11412. "type": "integer"
  11413. },
  11414. "totalpl": {
  11415. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11416. "type": "number"
  11417. },
  11418. "tradedate": {
  11419. "description": "交易日(yyyyMMdd)",
  11420. "type": "string"
  11421. },
  11422. "updatetime": {
  11423. "description": "更新时间",
  11424. "type": "string"
  11425. },
  11426. "usedquota": {
  11427. "description": "已占用资金",
  11428. "type": "number"
  11429. },
  11430. "userid": {
  11431. "description": "所属机构",
  11432. "type": "integer"
  11433. }
  11434. }
  11435. },
  11436. "erms2.QueryInnerTradeDetailRsp": {
  11437. "type": "object",
  11438. "required": [
  11439. "asapplyid",
  11440. "buyorsell",
  11441. "goodscode",
  11442. "goodsgroupid",
  11443. "goodsgroupname",
  11444. "goodsname",
  11445. "tradeid"
  11446. ],
  11447. "properties": {
  11448. "accountid": {
  11449. "description": "账号ID",
  11450. "type": "integer"
  11451. },
  11452. "agreeunit": {
  11453. "description": "合约单位",
  11454. "type": "number"
  11455. },
  11456. "asapplyid": {
  11457. "description": "策略申请ID",
  11458. "type": "integer"
  11459. },
  11460. "asname": {
  11461. "description": "策略名称",
  11462. "type": "string"
  11463. },
  11464. "asno": {
  11465. "description": "策略编号",
  11466. "type": "string"
  11467. },
  11468. "buyorsell": {
  11469. "description": "方向 - 0:买 1:卖",
  11470. "type": "integer"
  11471. },
  11472. "channelbuildtype": {
  11473. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11474. "type": "integer"
  11475. },
  11476. "closetype": {
  11477. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11478. "type": "integer"
  11479. },
  11480. "decimalplace": {
  11481. "description": "报价小数位",
  11482. "type": "integer"
  11483. },
  11484. "detailtype": {
  11485. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11486. "type": "integer"
  11487. },
  11488. "exexchangecode": {
  11489. "description": "外部交易所代码",
  11490. "type": "string"
  11491. },
  11492. "exexchangename": {
  11493. "description": "外部交易所名称",
  11494. "type": "string"
  11495. },
  11496. "goodscode": {
  11497. "description": "商品代码(合约)",
  11498. "type": "string"
  11499. },
  11500. "goodsgroupid": {
  11501. "description": "商品组ID(品种ID)",
  11502. "type": "integer"
  11503. },
  11504. "goodsgroupname": {
  11505. "description": "商品组名称(品种)",
  11506. "type": "string"
  11507. },
  11508. "goodsid": {
  11509. "description": "商品ID",
  11510. "type": "integer"
  11511. },
  11512. "goodsname": {
  11513. "description": "商品名称(合约)",
  11514. "type": "string"
  11515. },
  11516. "goodunit": {
  11517. "description": "报价单位",
  11518. "type": "string"
  11519. },
  11520. "marketid": {
  11521. "description": "市场ID",
  11522. "type": "integer"
  11523. },
  11524. "orderid": {
  11525. "description": "委托单号",
  11526. "type": "string"
  11527. },
  11528. "outgoodscode": {
  11529. "description": "商品代码(外部)",
  11530. "type": "string"
  11531. },
  11532. "relatedouttradeid": {
  11533. "description": "关联外部成交单ID",
  11534. "type": "string"
  11535. },
  11536. "remark": {
  11537. "description": "备注",
  11538. "type": "string"
  11539. },
  11540. "spotcontractid": {
  11541. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11542. "type": "integer"
  11543. },
  11544. "spotcontractno": {
  11545. "description": "现货合同编号",
  11546. "type": "string"
  11547. },
  11548. "tradeid": {
  11549. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11550. "type": "string"
  11551. },
  11552. "tradeprice": {
  11553. "description": "成交价格",
  11554. "type": "number"
  11555. },
  11556. "tradeqty": {
  11557. "description": "成交数量",
  11558. "type": "integer"
  11559. },
  11560. "tradetime": {
  11561. "description": "成交时间",
  11562. "type": "string"
  11563. },
  11564. "updatetime": {
  11565. "description": "更新时间",
  11566. "type": "string"
  11567. }
  11568. }
  11569. },
  11570. "erms2.QuerySpotContractRsp": {
  11571. "type": "object",
  11572. "required": [
  11573. "spotcontractid"
  11574. ],
  11575. "properties": {
  11576. "accountid": {
  11577. "description": "资金账户ID",
  11578. "type": "integer"
  11579. },
  11580. "areauserid": {
  11581. "description": "所属机构",
  11582. "type": "integer"
  11583. },
  11584. "closedate": {
  11585. "description": "终止日期",
  11586. "type": "string"
  11587. },
  11588. "closeremark": {
  11589. "description": "结束备注",
  11590. "type": "string"
  11591. },
  11592. "closetradedate": {
  11593. "description": "完结交易日(yyyyMMdd)",
  11594. "type": "string"
  11595. },
  11596. "closetype": {
  11597. "description": "终止类型 - 1:违约 2:提前终止",
  11598. "type": "integer"
  11599. },
  11600. "contractamount": {
  11601. "description": "合同金额",
  11602. "type": "number"
  11603. },
  11604. "contractattachment": {
  11605. "description": "合同附件",
  11606. "type": "string"
  11607. },
  11608. "contractno": {
  11609. "description": "现货合同编号",
  11610. "type": "string"
  11611. },
  11612. "contractqty": {
  11613. "description": "合同数量(数值) (用于计算)",
  11614. "type": "number"
  11615. },
  11616. "contractqtychar": {
  11617. "description": "合同数量\\已订价数量 (用于显示)",
  11618. "type": "string"
  11619. },
  11620. "contractstatus": {
  11621. "description": "合同状态 - 0:未结束 1:已结束",
  11622. "type": "integer"
  11623. },
  11624. "contracttype": {
  11625. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11626. "type": "integer"
  11627. },
  11628. "customeraccountid": {
  11629. "description": "客户资金账户ID",
  11630. "type": "integer"
  11631. },
  11632. "customeruserid": {
  11633. "description": "客户ID",
  11634. "type": "integer"
  11635. },
  11636. "deliverygoodsdesc": {
  11637. "description": "品种说明",
  11638. "type": "string"
  11639. },
  11640. "deliverygoodsid": {
  11641. "description": "现货品种ID",
  11642. "type": "integer"
  11643. },
  11644. "handlestatus": {
  11645. "description": "处理状态",
  11646. "type": "integer"
  11647. },
  11648. "invoiceatt": {
  11649. "description": "发票附件",
  11650. "type": "string"
  11651. },
  11652. "invoicedatetime": {
  11653. "description": "开收票更新时间",
  11654. "type": "string"
  11655. },
  11656. "invoiceopentime": {
  11657. "description": "开票时间",
  11658. "type": "string"
  11659. },
  11660. "invoiceremark": {
  11661. "description": "发票备注",
  11662. "type": "string"
  11663. },
  11664. "invoicestatus": {
  11665. "description": "开收票状态 - 0:未开票 1:已开票",
  11666. "type": "integer"
  11667. },
  11668. "lastdate": {
  11669. "description": "交货时间",
  11670. "type": "string"
  11671. },
  11672. "marketid": {
  11673. "description": "市场ID",
  11674. "type": "integer"
  11675. },
  11676. "paydatetime": {
  11677. "description": "收付款更新时间",
  11678. "type": "string"
  11679. },
  11680. "payremark": {
  11681. "description": "收付款备注",
  11682. "type": "string"
  11683. },
  11684. "paystatus": {
  11685. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11686. "type": "integer"
  11687. },
  11688. "positionqty": {
  11689. "description": "头寸数量 - 合同数量去小数部分",
  11690. "type": "integer"
  11691. },
  11692. "producttype": {
  11693. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11694. "type": "integer"
  11695. },
  11696. "relatedqty": {
  11697. "description": "已关联数量",
  11698. "type": "number"
  11699. },
  11700. "relatedstatus": {
  11701. "description": "关联完结状态 - 0:未结束 1:已结束",
  11702. "type": "integer"
  11703. },
  11704. "remark": {
  11705. "description": "备注",
  11706. "type": "string"
  11707. },
  11708. "signdate": {
  11709. "description": "签订日期",
  11710. "type": "string"
  11711. },
  11712. "spotcontractid": {
  11713. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11714. "type": "string"
  11715. },
  11716. "spotdatetime": {
  11717. "description": "收发货更新时间",
  11718. "type": "string"
  11719. },
  11720. "spotprice": {
  11721. "description": "价格",
  11722. "type": "number"
  11723. },
  11724. "spotremark": {
  11725. "description": "收发货备注",
  11726. "type": "string"
  11727. },
  11728. "spotstatus": {
  11729. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11730. "type": "integer"
  11731. },
  11732. "tradedate": {
  11733. "description": "交易日(yyyyMMdd)",
  11734. "type": "string"
  11735. },
  11736. "userid": {
  11737. "description": "业务员用户ID",
  11738. "type": "integer"
  11739. },
  11740. "warehouseid": {
  11741. "description": "仓库ID",
  11742. "type": "integer"
  11743. },
  11744. "wrfactortypeid": {
  11745. "description": "仓单要素类型ID",
  11746. "type": "integer"
  11747. },
  11748. "wrstandardid": {
  11749. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11750. "type": "integer"
  11751. }
  11752. }
  11753. },
  11754. "erms3.AddErms2ASApplyReq": {
  11755. "type": "object",
  11756. "required": [
  11757. "asapplyid"
  11758. ],
  11759. "properties": {
  11760. "applybasis": {
  11761. "description": "申请基差",
  11762. "type": "number"
  11763. },
  11764. "applystatus": {
  11765. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11766. "type": "integer"
  11767. },
  11768. "asapplyid": {
  11769. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11770. "type": "integer"
  11771. },
  11772. "asname": {
  11773. "description": "策略名称",
  11774. "type": "string"
  11775. },
  11776. "asno": {
  11777. "description": "策略编号",
  11778. "type": "string"
  11779. },
  11780. "auditid": {
  11781. "description": "审核人",
  11782. "type": "integer"
  11783. },
  11784. "auditremark": {
  11785. "description": "审核备注",
  11786. "type": "string"
  11787. },
  11788. "audittime": {
  11789. "description": "审核时间",
  11790. "type": "string"
  11791. },
  11792. "biztype": {
  11793. "description": "业务类型 - 1:正向套利 2:反向套利",
  11794. "type": "integer"
  11795. },
  11796. "createtime": {
  11797. "description": "创建时间",
  11798. "type": "string"
  11799. },
  11800. "creatorid": {
  11801. "description": "创建人",
  11802. "type": "integer"
  11803. },
  11804. "deliverygoodsid": {
  11805. "description": "现货品种ID",
  11806. "type": "integer"
  11807. },
  11808. "futurequote": {
  11809. "description": "期货额度",
  11810. "type": "number"
  11811. },
  11812. "goodsgroupid": {
  11813. "description": "期货品种ID",
  11814. "type": "integer"
  11815. },
  11816. "marketid": {
  11817. "description": "市场ID",
  11818. "type": "integer"
  11819. },
  11820. "remark": {
  11821. "description": "备注",
  11822. "type": "string"
  11823. },
  11824. "spotquota": {
  11825. "description": "现货额度",
  11826. "type": "number"
  11827. },
  11828. "tradedate": {
  11829. "description": "交易日(yyyyMMdd)",
  11830. "type": "string"
  11831. },
  11832. "userid": {
  11833. "description": "所属机构",
  11834. "type": "integer"
  11835. }
  11836. }
  11837. },
  11838. "erms3.AddErms2SpotTradeApplyReq": {
  11839. "type": "object",
  11840. "required": [
  11841. "spottradeid"
  11842. ],
  11843. "properties": {
  11844. "applyjsondetail": {
  11845. "description": "申请明细(JSON)",
  11846. "type": "string"
  11847. },
  11848. "applystatus": {
  11849. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11850. "type": "integer"
  11851. },
  11852. "areauserid": {
  11853. "description": "所属机构",
  11854. "type": "integer"
  11855. },
  11856. "auditid": {
  11857. "description": "审核人",
  11858. "type": "integer"
  11859. },
  11860. "auditremark": {
  11861. "description": "审核备注",
  11862. "type": "string"
  11863. },
  11864. "audittime": {
  11865. "description": "审核时间",
  11866. "type": "string"
  11867. },
  11868. "createtime": {
  11869. "description": "创建时间",
  11870. "type": "string"
  11871. },
  11872. "creatorid": {
  11873. "description": "创建人",
  11874. "type": "integer"
  11875. },
  11876. "deliverygoodsid": {
  11877. "description": "现货品种ID",
  11878. "type": "integer"
  11879. },
  11880. "futureaccountid": {
  11881. "description": "期货资金账户",
  11882. "type": "integer"
  11883. },
  11884. "goodsgroupid": {
  11885. "description": "期货品种",
  11886. "type": "integer"
  11887. },
  11888. "marketid": {
  11889. "description": "市场ID",
  11890. "type": "integer"
  11891. },
  11892. "remark": {
  11893. "description": "备注",
  11894. "type": "string"
  11895. },
  11896. "spotaccountid": {
  11897. "description": "现货资金账户",
  11898. "type": "integer"
  11899. },
  11900. "spottradeid": {
  11901. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11902. "type": "integer"
  11903. },
  11904. "spottradename": {
  11905. "description": "业务名称",
  11906. "type": "string"
  11907. },
  11908. "spottradeno": {
  11909. "description": "业务编号",
  11910. "type": "string"
  11911. },
  11912. "tradedate": {
  11913. "description": "交易日(yyyyMMdd)",
  11914. "type": "string"
  11915. },
  11916. "wrstandardid": {
  11917. "description": "仓单标准ID",
  11918. "type": "integer"
  11919. }
  11920. }
  11921. },
  11922. "erms3.AddSpotContractApplyReq": {
  11923. "type": "object",
  11924. "required": [
  11925. "accountid",
  11926. "areauserid",
  11927. "contractno",
  11928. "contracttype",
  11929. "customeraccountid",
  11930. "customeruserid",
  11931. "details",
  11932. "orimargin",
  11933. "signdate"
  11934. ],
  11935. "properties": {
  11936. "accountid": {
  11937. "description": "资金账户ID",
  11938. "type": "integer"
  11939. },
  11940. "areauserid": {
  11941. "description": "所属机构",
  11942. "type": "integer"
  11943. },
  11944. "contractattachment": {
  11945. "description": "合同附件",
  11946. "type": "string"
  11947. },
  11948. "contractno": {
  11949. "description": "现货合同编号",
  11950. "type": "string"
  11951. },
  11952. "contracttype": {
  11953. "description": "现货合同类型 - 1:采购 -1:销售",
  11954. "type": "integer"
  11955. },
  11956. "creatorid": {
  11957. "description": "申请人",
  11958. "type": "integer"
  11959. },
  11960. "customeraccountid": {
  11961. "description": "客户资金账户ID",
  11962. "type": "integer"
  11963. },
  11964. "customeruserid": {
  11965. "description": "客户ID",
  11966. "type": "integer"
  11967. },
  11968. "details": {
  11969. "description": "明细",
  11970. "type": "array",
  11971. "items": {
  11972. "$ref": "#/definitions/erms3.SoptContractDetail"
  11973. }
  11974. },
  11975. "orimargin": {
  11976. "description": "初始保证金",
  11977. "type": "number"
  11978. },
  11979. "remark": {
  11980. "description": "备注",
  11981. "type": "string"
  11982. },
  11983. "signdate": {
  11984. "description": "签订日期",
  11985. "type": "string"
  11986. }
  11987. }
  11988. },
  11989. "erms3.AddSpotContractApplyRsp": {
  11990. "type": "object",
  11991. "required": [
  11992. "contractno"
  11993. ],
  11994. "properties": {
  11995. "contractno": {
  11996. "description": "现货合同编号",
  11997. "type": "string"
  11998. },
  11999. "spotcontractid": {
  12000. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12001. "type": "integer"
  12002. }
  12003. }
  12004. },
  12005. "erms3.AddUserInfoApplyReq": {
  12006. "type": "object",
  12007. "required": [
  12008. "userid"
  12009. ],
  12010. "properties": {
  12011. "accountid": {
  12012. "description": "交易系统帐号Id (加密存储)",
  12013. "type": "integer"
  12014. },
  12015. "areacode": {
  12016. "description": "机构代码",
  12017. "type": "string"
  12018. },
  12019. "areaid": {
  12020. "description": "机构Id",
  12021. "type": "integer"
  12022. },
  12023. "attachment1": {
  12024. "description": "附件1",
  12025. "type": "string"
  12026. },
  12027. "attachment2": {
  12028. "description": "附件2",
  12029. "type": "string"
  12030. },
  12031. "attachment3": {
  12032. "description": "附件3",
  12033. "type": "string"
  12034. },
  12035. "attachment4": {
  12036. "description": "附件4",
  12037. "type": "string"
  12038. },
  12039. "attachment5": {
  12040. "description": "附件5",
  12041. "type": "string"
  12042. },
  12043. "auditedby": {
  12044. "description": "审核人",
  12045. "type": "string"
  12046. },
  12047. "auditime": {
  12048. "description": "审核时间",
  12049. "type": "string"
  12050. },
  12051. "bankaccount": {
  12052. "description": "银行帐号 (加密存储)",
  12053. "type": "string"
  12054. },
  12055. "bankaccountname": {
  12056. "description": "收款人名称",
  12057. "type": "string"
  12058. },
  12059. "bankcardbackphotourl": {
  12060. "description": "银行卡背面照地址",
  12061. "type": "string"
  12062. },
  12063. "bankcardfrontphotourl": {
  12064. "description": "银行卡正面照地址",
  12065. "type": "string"
  12066. },
  12067. "bankid": {
  12068. "description": "银行编码",
  12069. "type": "string"
  12070. },
  12071. "bankname": {
  12072. "description": "银行名称",
  12073. "type": "string"
  12074. },
  12075. "bankpictureurl": {
  12076. "description": "银行卡正面地址",
  12077. "type": "string"
  12078. },
  12079. "biznature": {
  12080. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12081. "type": "integer"
  12082. },
  12083. "bizscope": {
  12084. "description": "企业经营范围(企业)",
  12085. "type": "string"
  12086. },
  12087. "biztype": {
  12088. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12089. "type": "integer"
  12090. },
  12091. "brokerid": {
  12092. "description": "经纪人ID(加密存储)",
  12093. "type": "string"
  12094. },
  12095. "cardaddress": {
  12096. "description": "证件地址 (加密存储)",
  12097. "type": "string"
  12098. },
  12099. "cardbackphotourl": {
  12100. "description": "背面证件照地址",
  12101. "type": "string"
  12102. },
  12103. "cardfrontphotourl": {
  12104. "description": "正面证件照地址",
  12105. "type": "string"
  12106. },
  12107. "cardnum": {
  12108. "description": "证件号码 (加密存储)",
  12109. "type": "string"
  12110. },
  12111. "cardtype": {
  12112. "description": "证件类型",
  12113. "type": "integer"
  12114. },
  12115. "cityid": {
  12116. "description": "市",
  12117. "type": "integer"
  12118. },
  12119. "company": {
  12120. "description": "公司(个人)",
  12121. "type": "string"
  12122. },
  12123. "contactcardbackphotourl": {
  12124. "description": "联系人证件背面图片地址",
  12125. "type": "string"
  12126. },
  12127. "contactcardfrontphotourl": {
  12128. "description": "联系人证件正面图片地址",
  12129. "type": "string"
  12130. },
  12131. "contactname": {
  12132. "description": "联系人",
  12133. "type": "string"
  12134. },
  12135. "countryid": {
  12136. "description": "国家",
  12137. "type": "integer"
  12138. },
  12139. "createtime": {
  12140. "description": "开户申请时间",
  12141. "type": "string"
  12142. },
  12143. "cusbankid": {
  12144. "description": "签约类型",
  12145. "type": "string"
  12146. },
  12147. "cusbankname": {
  12148. "description": "签约类型名称",
  12149. "type": "string"
  12150. },
  12151. "customername": {
  12152. "description": "客户名称(企业名称)",
  12153. "type": "string"
  12154. },
  12155. "districtid": {
  12156. "description": "地区",
  12157. "type": "integer"
  12158. },
  12159. "email": {
  12160. "description": "Email地址(加密存储)",
  12161. "type": "string"
  12162. },
  12163. "halfbodyphotourl": {
  12164. "description": "半身照地址",
  12165. "type": "string"
  12166. },
  12167. "headurl": {
  12168. "description": "头像地址",
  12169. "type": "string"
  12170. },
  12171. "ipaddress": {
  12172. "description": "IP地址",
  12173. "type": "string"
  12174. },
  12175. "isvalidate": {
  12176. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12177. "type": "string"
  12178. },
  12179. "legalcardbackphotourl": {
  12180. "description": "法人身份证背面照地址",
  12181. "type": "string"
  12182. },
  12183. "legalcardfrontphotourl": {
  12184. "description": "法人身份证正面照地址",
  12185. "type": "string"
  12186. },
  12187. "legalpersonname": {
  12188. "description": "法人姓名(企业)",
  12189. "type": "string"
  12190. },
  12191. "logincode": {
  12192. "description": "登录帐号 (加密存储)",
  12193. "type": "string"
  12194. },
  12195. "memberareaid": {
  12196. "description": "所属会员ID",
  12197. "type": "integer"
  12198. },
  12199. "mobile2": {
  12200. "description": "手机号码[明文-尚志]",
  12201. "type": "string"
  12202. },
  12203. "mobilephone": {
  12204. "description": "手机号码 (加密存储)",
  12205. "type": "string"
  12206. },
  12207. "modifiedby": {
  12208. "description": "修改人帐号",
  12209. "type": "integer"
  12210. },
  12211. "modifiedtime": {
  12212. "description": "修改时间",
  12213. "type": "string"
  12214. },
  12215. "nickname": {
  12216. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12217. "type": "string"
  12218. },
  12219. "openmode": {
  12220. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12221. "type": "integer"
  12222. },
  12223. "otherurl": {
  12224. "description": "其它图片地址[使用分号分隔]",
  12225. "type": "string"
  12226. },
  12227. "postalcode": {
  12228. "description": "邮政编码",
  12229. "type": "string"
  12230. },
  12231. "provinceid": {
  12232. "description": "省",
  12233. "type": "integer"
  12234. },
  12235. "proxystatementurl": {
  12236. "description": "授权委托书",
  12237. "type": "string"
  12238. },
  12239. "qq": {
  12240. "description": "QQ(加密存储",
  12241. "type": "string"
  12242. },
  12243. "referral": {
  12244. "description": "推荐人编码",
  12245. "type": "string"
  12246. },
  12247. "remark": {
  12248. "description": "备注",
  12249. "type": "string"
  12250. },
  12251. "removebeforestatus": {
  12252. "description": "REMOVEBEFORESTATUS",
  12253. "type": "integer"
  12254. },
  12255. "sex": {
  12256. "description": "性别 - 0:女 1:男",
  12257. "type": "integer"
  12258. },
  12259. "signedstatus": {
  12260. "description": "账户一号签签约状态",
  12261. "type": "integer"
  12262. },
  12263. "signpdfurl": {
  12264. "description": "签约pdf文件",
  12265. "type": "string"
  12266. },
  12267. "subbranch": {
  12268. "description": "开户支行",
  12269. "type": "string"
  12270. },
  12271. "telphone": {
  12272. "description": "联系电话(加密存储)",
  12273. "type": "string"
  12274. },
  12275. "userid": {
  12276. "description": "用户ID(自增ID)",
  12277. "type": "integer"
  12278. },
  12279. "userinfotype": {
  12280. "description": "用户信息类型 - 1:个人 2:企业",
  12281. "type": "integer"
  12282. },
  12283. "username": {
  12284. "description": "用户姓名",
  12285. "type": "string"
  12286. },
  12287. "userstate": {
  12288. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12289. "type": "integer"
  12290. },
  12291. "usertype": {
  12292. "description": "用户类型 - 1:投资者 2:机构",
  12293. "type": "integer"
  12294. },
  12295. "videourl": {
  12296. "description": "视频地址",
  12297. "type": "string"
  12298. },
  12299. "wechat": {
  12300. "description": "微信号 (加密存储)",
  12301. "type": "string"
  12302. }
  12303. }
  12304. },
  12305. "erms3.CustomerInfo": {
  12306. "type": "object",
  12307. "required": [
  12308. "userid"
  12309. ],
  12310. "properties": {
  12311. "accountids": {
  12312. "description": "资金账户ID列表",
  12313. "type": "array",
  12314. "items": {
  12315. "type": "integer"
  12316. }
  12317. },
  12318. "customername": {
  12319. "description": "名称(企业名称)",
  12320. "type": "string"
  12321. },
  12322. "mobile": {
  12323. "description": "手机号码",
  12324. "type": "string"
  12325. },
  12326. "userid": {
  12327. "description": "用户ID",
  12328. "type": "integer"
  12329. }
  12330. }
  12331. },
  12332. "erms3.ModifyUserInfoApplyReq": {
  12333. "type": "object",
  12334. "required": [
  12335. "userid"
  12336. ],
  12337. "properties": {
  12338. "accountid": {
  12339. "description": "交易系统帐号Id (加密存储)",
  12340. "type": "integer"
  12341. },
  12342. "areacode": {
  12343. "description": "机构代码",
  12344. "type": "string"
  12345. },
  12346. "areaid": {
  12347. "description": "机构Id",
  12348. "type": "integer"
  12349. },
  12350. "attachment1": {
  12351. "description": "附件1",
  12352. "type": "string"
  12353. },
  12354. "attachment2": {
  12355. "description": "附件2",
  12356. "type": "string"
  12357. },
  12358. "attachment3": {
  12359. "description": "附件3",
  12360. "type": "string"
  12361. },
  12362. "attachment4": {
  12363. "description": "附件4",
  12364. "type": "string"
  12365. },
  12366. "attachment5": {
  12367. "description": "附件5",
  12368. "type": "string"
  12369. },
  12370. "auditedby": {
  12371. "description": "审核人",
  12372. "type": "string"
  12373. },
  12374. "auditime": {
  12375. "description": "审核时间",
  12376. "type": "string"
  12377. },
  12378. "bankaccount": {
  12379. "description": "银行帐号 (加密存储)",
  12380. "type": "string"
  12381. },
  12382. "bankaccountname": {
  12383. "description": "收款人名称",
  12384. "type": "string"
  12385. },
  12386. "bankcardbackphotourl": {
  12387. "description": "银行卡背面照地址",
  12388. "type": "string"
  12389. },
  12390. "bankcardfrontphotourl": {
  12391. "description": "银行卡正面照地址",
  12392. "type": "string"
  12393. },
  12394. "bankid": {
  12395. "description": "银行编码",
  12396. "type": "string"
  12397. },
  12398. "bankname": {
  12399. "description": "银行名称",
  12400. "type": "string"
  12401. },
  12402. "bankpictureurl": {
  12403. "description": "银行卡正面地址",
  12404. "type": "string"
  12405. },
  12406. "biznature": {
  12407. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12408. "type": "integer"
  12409. },
  12410. "bizscope": {
  12411. "description": "企业经营范围(企业)",
  12412. "type": "string"
  12413. },
  12414. "biztype": {
  12415. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12416. "type": "integer"
  12417. },
  12418. "brokerid": {
  12419. "description": "经纪人ID(加密存储)",
  12420. "type": "string"
  12421. },
  12422. "cardaddress": {
  12423. "description": "证件地址 (加密存储)",
  12424. "type": "string"
  12425. },
  12426. "cardbackphotourl": {
  12427. "description": "背面证件照地址",
  12428. "type": "string"
  12429. },
  12430. "cardfrontphotourl": {
  12431. "description": "正面证件照地址",
  12432. "type": "string"
  12433. },
  12434. "cardnum": {
  12435. "description": "证件号码 (加密存储)",
  12436. "type": "string"
  12437. },
  12438. "cardtype": {
  12439. "description": "证件类型",
  12440. "type": "integer"
  12441. },
  12442. "cityid": {
  12443. "description": "市",
  12444. "type": "integer"
  12445. },
  12446. "company": {
  12447. "description": "公司(个人)",
  12448. "type": "string"
  12449. },
  12450. "contactcardbackphotourl": {
  12451. "description": "联系人证件背面图片地址",
  12452. "type": "string"
  12453. },
  12454. "contactcardfrontphotourl": {
  12455. "description": "联系人证件正面图片地址",
  12456. "type": "string"
  12457. },
  12458. "contactname": {
  12459. "description": "联系人",
  12460. "type": "string"
  12461. },
  12462. "countryid": {
  12463. "description": "国家",
  12464. "type": "integer"
  12465. },
  12466. "createtime": {
  12467. "description": "开户申请时间",
  12468. "type": "string"
  12469. },
  12470. "cusbankid": {
  12471. "description": "签约类型",
  12472. "type": "string"
  12473. },
  12474. "cusbankname": {
  12475. "description": "签约类型名称",
  12476. "type": "string"
  12477. },
  12478. "customername": {
  12479. "description": "客户名称(企业名称)",
  12480. "type": "string"
  12481. },
  12482. "districtid": {
  12483. "description": "地区",
  12484. "type": "integer"
  12485. },
  12486. "email": {
  12487. "description": "Email地址(加密存储)",
  12488. "type": "string"
  12489. },
  12490. "halfbodyphotourl": {
  12491. "description": "半身照地址",
  12492. "type": "string"
  12493. },
  12494. "headurl": {
  12495. "description": "头像地址",
  12496. "type": "string"
  12497. },
  12498. "ipaddress": {
  12499. "description": "IP地址",
  12500. "type": "string"
  12501. },
  12502. "isvalidate": {
  12503. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12504. "type": "string"
  12505. },
  12506. "legalcardbackphotourl": {
  12507. "description": "法人身份证背面照地址",
  12508. "type": "string"
  12509. },
  12510. "legalcardfrontphotourl": {
  12511. "description": "法人身份证正面照地址",
  12512. "type": "string"
  12513. },
  12514. "legalpersonname": {
  12515. "description": "法人姓名(企业)",
  12516. "type": "string"
  12517. },
  12518. "logincode": {
  12519. "description": "登录帐号 (加密存储)",
  12520. "type": "string"
  12521. },
  12522. "memberareaid": {
  12523. "description": "所属会员ID",
  12524. "type": "integer"
  12525. },
  12526. "mobile2": {
  12527. "description": "手机号码[明文-尚志]",
  12528. "type": "string"
  12529. },
  12530. "mobilephone": {
  12531. "description": "手机号码 (加密存储)",
  12532. "type": "string"
  12533. },
  12534. "modifiedby": {
  12535. "description": "修改人帐号",
  12536. "type": "integer"
  12537. },
  12538. "modifiedtime": {
  12539. "description": "修改时间",
  12540. "type": "string"
  12541. },
  12542. "nickname": {
  12543. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12544. "type": "string"
  12545. },
  12546. "openmode": {
  12547. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12548. "type": "integer"
  12549. },
  12550. "otherurl": {
  12551. "description": "其它图片地址[使用分号分隔]",
  12552. "type": "string"
  12553. },
  12554. "postalcode": {
  12555. "description": "邮政编码",
  12556. "type": "string"
  12557. },
  12558. "provinceid": {
  12559. "description": "省",
  12560. "type": "integer"
  12561. },
  12562. "proxystatementurl": {
  12563. "description": "授权委托书",
  12564. "type": "string"
  12565. },
  12566. "qq": {
  12567. "description": "QQ(加密存储",
  12568. "type": "string"
  12569. },
  12570. "referral": {
  12571. "description": "推荐人编码",
  12572. "type": "string"
  12573. },
  12574. "remark": {
  12575. "description": "备注",
  12576. "type": "string"
  12577. },
  12578. "removebeforestatus": {
  12579. "description": "REMOVEBEFORESTATUS",
  12580. "type": "integer"
  12581. },
  12582. "sex": {
  12583. "description": "性别 - 0:女 1:男",
  12584. "type": "integer"
  12585. },
  12586. "signedstatus": {
  12587. "description": "账户一号签签约状态",
  12588. "type": "integer"
  12589. },
  12590. "signpdfurl": {
  12591. "description": "签约pdf文件",
  12592. "type": "string"
  12593. },
  12594. "subbranch": {
  12595. "description": "开户支行",
  12596. "type": "string"
  12597. },
  12598. "telphone": {
  12599. "description": "联系电话(加密存储)",
  12600. "type": "string"
  12601. },
  12602. "userid": {
  12603. "description": "用户ID(自增ID)",
  12604. "type": "integer"
  12605. },
  12606. "userinfotype": {
  12607. "description": "用户信息类型 - 1:个人 2:企业",
  12608. "type": "integer"
  12609. },
  12610. "username": {
  12611. "description": "用户姓名",
  12612. "type": "string"
  12613. },
  12614. "userstate": {
  12615. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12616. "type": "integer"
  12617. },
  12618. "usertype": {
  12619. "description": "用户类型 - 1:投资者 2:机构",
  12620. "type": "integer"
  12621. },
  12622. "videourl": {
  12623. "description": "视频地址",
  12624. "type": "string"
  12625. },
  12626. "wechat": {
  12627. "description": "微信号 (加密存储)",
  12628. "type": "string"
  12629. }
  12630. }
  12631. },
  12632. "erms3.QryAuditContractRsp": {
  12633. "type": "object",
  12634. "required": [
  12635. "matchcustomername",
  12636. "spotcontractid"
  12637. ],
  12638. "properties": {
  12639. "accountid": {
  12640. "description": "交易员ID",
  12641. "type": "string"
  12642. },
  12643. "applystatus": {
  12644. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12645. "type": "integer"
  12646. },
  12647. "curdeliveryqty": {
  12648. "description": "未交收量",
  12649. "type": "integer"
  12650. },
  12651. "customername": {
  12652. "description": "采购方ID",
  12653. "type": "string"
  12654. },
  12655. "deliverygoodsid": {
  12656. "description": "品种ID",
  12657. "type": "string"
  12658. },
  12659. "deliveryqty": {
  12660. "description": "交收量",
  12661. "type": "integer"
  12662. },
  12663. "enumdicname": {
  12664. "description": "单位名称",
  12665. "type": "string"
  12666. },
  12667. "matchaccountid": {
  12668. "description": "业务员ID",
  12669. "type": "string"
  12670. },
  12671. "matchcustomername": {
  12672. "description": "销售方ID",
  12673. "type": "string"
  12674. },
  12675. "pricedqty": {
  12676. "description": "定价量",
  12677. "type": "number"
  12678. },
  12679. "signdate": {
  12680. "description": "签订日期",
  12681. "type": "string"
  12682. },
  12683. "spotcontractid": {
  12684. "description": "合同ID",
  12685. "type": "string"
  12686. },
  12687. "totaldqty": {
  12688. "description": "合同量",
  12689. "type": "number"
  12690. },
  12691. "unpricedqty": {
  12692. "description": "未定价量",
  12693. "type": "number"
  12694. },
  12695. "wrstandardname": {
  12696. "description": "商品名称",
  12697. "type": "string"
  12698. }
  12699. }
  12700. },
  12701. "erms3.QryPendingBizRsp": {
  12702. "$ref": "#/definitions/models.PendingAuditBizModel"
  12703. },
  12704. "erms3.QueryBusinessInfoRsp": {
  12705. "type": "object",
  12706. "properties": {
  12707. "businessid": {
  12708. "description": "业务ID.",
  12709. "type": "integer"
  12710. },
  12711. "buyamount": {
  12712. "description": "采购额.",
  12713. "type": "number"
  12714. },
  12715. "buyqty": {
  12716. "description": "采购量.",
  12717. "type": "string"
  12718. },
  12719. "futurepl": {
  12720. "description": "期货盈亏.",
  12721. "type": "number"
  12722. },
  12723. "futureqty": {
  12724. "description": "期货敞口.",
  12725. "type": "string"
  12726. },
  12727. "goodsid": {
  12728. "description": "商品名称/商品代码.",
  12729. "type": "string"
  12730. },
  12731. "hedgingqty": {
  12732. "description": "套保量.",
  12733. "type": "string"
  12734. },
  12735. "sellamount": {
  12736. "description": "销售额.",
  12737. "type": "number"
  12738. },
  12739. "sellqty": {
  12740. "description": "销售量.",
  12741. "type": "string"
  12742. },
  12743. "spotmarketvalue": {
  12744. "description": "现货市值.",
  12745. "type": "number"
  12746. },
  12747. "spotpl": {
  12748. "description": "浮动权益.",
  12749. "type": "number"
  12750. },
  12751. "spotqty": {
  12752. "description": "现货量.",
  12753. "type": "string"
  12754. },
  12755. "statu": {
  12756. "description": "状态,0-未结束 1-已结束.",
  12757. "type": "integer"
  12758. },
  12759. "totalpl": {
  12760. "description": "总盈亏.",
  12761. "type": "number"
  12762. },
  12763. "totalqty": {
  12764. "description": "总敞口.",
  12765. "type": "string"
  12766. },
  12767. "type": {
  12768. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12769. "type": "integer"
  12770. }
  12771. }
  12772. },
  12773. "erms3.QuerySpotContractAppleFormRsp": {
  12774. "type": "object",
  12775. "properties": {
  12776. "goodses": {
  12777. "description": "合约列表",
  12778. "type": "array",
  12779. "items": {
  12780. "$ref": "#/definitions/models.GoodsIDAndName"
  12781. }
  12782. },
  12783. "oppositeusers": {
  12784. "description": "对方账号列表",
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/erms3.CustomerInfo"
  12788. }
  12789. },
  12790. "ouruser": {
  12791. "description": "我方账号",
  12792. "type": "object",
  12793. "$ref": "#/definitions/erms3.CustomerInfo"
  12794. },
  12795. "warehouseinfos": {
  12796. "description": "仓库信息列表",
  12797. "type": "array",
  12798. "items": {
  12799. "$ref": "#/definitions/models.Warehouseinfo"
  12800. }
  12801. },
  12802. "wrstandards": {
  12803. "description": "仓单标准列表",
  12804. "type": "array",
  12805. "items": {
  12806. "$ref": "#/definitions/models.WRStandardInfo"
  12807. }
  12808. }
  12809. }
  12810. },
  12811. "erms3.QuerySpotContractInfoRsp": {
  12812. "type": "object",
  12813. "properties": {
  12814. "accountid": {
  12815. "description": "表示交易员ID.",
  12816. "type": "integer"
  12817. },
  12818. "curdeliveryqty": {
  12819. "description": "表示未交收量.",
  12820. "type": "number"
  12821. },
  12822. "customername": {
  12823. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12824. "type": "string"
  12825. },
  12826. "deliverygoodsid": {
  12827. "description": "表示品种ID.",
  12828. "type": "string"
  12829. },
  12830. "deliveryqty": {
  12831. "description": "表示交收量.",
  12832. "type": "number"
  12833. },
  12834. "matchaccountid": {
  12835. "description": "表示业务员ID.",
  12836. "type": "integer"
  12837. },
  12838. "matchcustomername": {
  12839. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12840. "type": "string"
  12841. },
  12842. "priceqty": {
  12843. "description": "表示定价量.",
  12844. "type": "number"
  12845. },
  12846. "relatedbizid": {
  12847. "description": "表示业务ID.",
  12848. "type": "string"
  12849. },
  12850. "signdate": {
  12851. "description": "表示签订日期.",
  12852. "type": "string"
  12853. },
  12854. "spotcontractid": {
  12855. "description": "合同ID",
  12856. "type": "string"
  12857. },
  12858. "status": {
  12859. "description": "表示状态,0-履约中 1-已完成.",
  12860. "type": "integer"
  12861. },
  12862. "totalqty": {
  12863. "description": "表示合同量.",
  12864. "type": "number"
  12865. },
  12866. "unpricedqty": {
  12867. "description": "表示未定价量.",
  12868. "type": "number"
  12869. },
  12870. "wrstandardname": {
  12871. "description": "表示商品ID.",
  12872. "type": "string"
  12873. }
  12874. }
  12875. },
  12876. "erms3.QueryUserInfoAppliesRsp": {
  12877. "type": "object",
  12878. "required": [
  12879. "userid"
  12880. ],
  12881. "properties": {
  12882. "biznature": {
  12883. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12884. "type": "integer"
  12885. },
  12886. "contactname": {
  12887. "description": "联系人",
  12888. "type": "string"
  12889. },
  12890. "createtime": {
  12891. "description": "开户申请时间",
  12892. "type": "string"
  12893. },
  12894. "userid": {
  12895. "description": "用户ID(自增ID)",
  12896. "type": "integer"
  12897. },
  12898. "userinfotype": {
  12899. "description": "用户信息类型 - 1:个人 2:企业",
  12900. "type": "integer"
  12901. },
  12902. "username": {
  12903. "description": "用户姓名",
  12904. "type": "string"
  12905. },
  12906. "userstate": {
  12907. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12908. "type": "integer"
  12909. }
  12910. }
  12911. },
  12912. "erms3.QueryUserInfosRsp": {
  12913. "type": "object",
  12914. "required": [
  12915. "userid"
  12916. ],
  12917. "properties": {
  12918. "biznature": {
  12919. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12920. "type": "integer"
  12921. },
  12922. "contactname": {
  12923. "description": "联系人",
  12924. "type": "string"
  12925. },
  12926. "customername": {
  12927. "description": "客户名称(企业名称)",
  12928. "type": "string"
  12929. },
  12930. "userid": {
  12931. "description": "用户ID",
  12932. "type": "integer"
  12933. },
  12934. "userinfotype": {
  12935. "description": "用户信息类型 - 1:个人 2:企业",
  12936. "type": "integer"
  12937. },
  12938. "userstatus": {
  12939. "description": "用户状态 - 1:正常 2:注销",
  12940. "type": "integer"
  12941. }
  12942. }
  12943. },
  12944. "erms3.SoptContractDetail": {
  12945. "type": "object",
  12946. "required": [
  12947. "deliverygoodsid",
  12948. "producttype",
  12949. "unitname",
  12950. "warehouseid",
  12951. "wrstandardid",
  12952. "wrstandardname"
  12953. ],
  12954. "properties": {
  12955. "deliverygoodsdesc": {
  12956. "description": "现货品种说明",
  12957. "type": "string"
  12958. },
  12959. "deliverygoodsid": {
  12960. "description": "现货品种ID",
  12961. "type": "integer"
  12962. },
  12963. "deliverygoodsname": {
  12964. "description": "现货品种名称",
  12965. "type": "string"
  12966. },
  12967. "pointdesc": {
  12968. "description": "点价描述",
  12969. "type": "string"
  12970. },
  12971. "producttype": {
  12972. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12973. "type": "integer"
  12974. },
  12975. "producttypename": {
  12976. "description": "产品类型名称",
  12977. "type": "string"
  12978. },
  12979. "spotPointOrderVoList": {
  12980. "description": "点价列表",
  12981. "type": "array",
  12982. "items": {
  12983. "$ref": "#/definitions/erms3.SpotPointOrder"
  12984. }
  12985. },
  12986. "spotPriceOrderList": {
  12987. "description": "定价列表",
  12988. "type": "array",
  12989. "items": {
  12990. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12991. }
  12992. },
  12993. "unitname": {
  12994. "description": "单位名称",
  12995. "type": "string"
  12996. },
  12997. "warehouseid": {
  12998. "description": "仓库ID",
  12999. "type": "integer"
  13000. },
  13001. "warehousename": {
  13002. "description": "仓库名称",
  13003. "type": "string"
  13004. },
  13005. "wrstandardid": {
  13006. "description": "交易标的ID",
  13007. "type": "integer"
  13008. },
  13009. "wrstandardname": {
  13010. "description": "交易标的名称",
  13011. "type": "string"
  13012. }
  13013. }
  13014. },
  13015. "erms3.SpotPointOrder": {
  13016. "type": "object",
  13017. "required": [
  13018. "basic",
  13019. "goodsid",
  13020. "qty"
  13021. ],
  13022. "properties": {
  13023. "basic": {
  13024. "description": "基差",
  13025. "type": "number"
  13026. },
  13027. "deliveryenddate": {
  13028. "description": "交收结束日期",
  13029. "type": "string"
  13030. },
  13031. "deliverystartdate": {
  13032. "description": "交收开始日期",
  13033. "type": "string"
  13034. },
  13035. "enddate": {
  13036. "description": "点价结束日期",
  13037. "type": "string"
  13038. },
  13039. "goodsid": {
  13040. "description": "商品ID",
  13041. "type": "integer"
  13042. },
  13043. "goodsname": {
  13044. "description": "商品名称",
  13045. "type": "string"
  13046. },
  13047. "qty": {
  13048. "description": "数量",
  13049. "type": "number"
  13050. },
  13051. "startdate": {
  13052. "description": "点价开始日期",
  13053. "type": "string"
  13054. }
  13055. }
  13056. },
  13057. "erms3.SpotPriceOrder": {
  13058. "type": "object",
  13059. "required": [
  13060. "amount",
  13061. "price",
  13062. "qty"
  13063. ],
  13064. "properties": {
  13065. "amount": {
  13066. "description": "金额",
  13067. "type": "number"
  13068. },
  13069. "deliveryenddate": {
  13070. "description": "交收结束日期",
  13071. "type": "string"
  13072. },
  13073. "deliverystartdate": {
  13074. "description": "交收开始日期",
  13075. "type": "string"
  13076. },
  13077. "price": {
  13078. "description": "价格",
  13079. "type": "number"
  13080. },
  13081. "qty": {
  13082. "description": "数量",
  13083. "type": "number"
  13084. }
  13085. }
  13086. },
  13087. "hsby.GetHsbyMyCountRsp": {
  13088. "type": "object",
  13089. "properties": {
  13090. "myCouponCount": {
  13091. "description": "我的优惠卷数量",
  13092. "type": "integer"
  13093. },
  13094. "myOrderDetailListingCount": {
  13095. "description": "我的订单求购中数量",
  13096. "type": "integer"
  13097. },
  13098. "myOrderDetailPreCount": {
  13099. "description": "我的订单抢购中数量",
  13100. "type": "integer"
  13101. },
  13102. "myPackageUnReceiveCount": {
  13103. "description": "我的包裹待收货数量",
  13104. "type": "integer"
  13105. },
  13106. "myPackageUnSendCount": {
  13107. "description": "我的包裹待发货数量",
  13108. "type": "integer"
  13109. },
  13110. "myPayOrderCount": {
  13111. "description": "我的订单待付款数量",
  13112. "type": "integer"
  13113. }
  13114. }
  13115. },
  13116. "hsby.QueryProvincesAndCitiesRsp": {
  13117. "type": "object",
  13118. "properties": {
  13119. "cities": {
  13120. "description": "市",
  13121. "type": "array",
  13122. "items": {
  13123. "$ref": "#/definitions/models.Division"
  13124. }
  13125. },
  13126. "province": {
  13127. "description": "省",
  13128. "type": "object",
  13129. "$ref": "#/definitions/models.Division"
  13130. }
  13131. }
  13132. },
  13133. "models.AreaSpotModel": {
  13134. "type": "object",
  13135. "properties": {
  13136. "areauserid": {
  13137. "description": "所属机构",
  13138. "type": "integer"
  13139. },
  13140. "decreaseqty": {
  13141. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13142. "type": "number"
  13143. },
  13144. "increaseqty": {
  13145. "description": "增加数量=销售计划数量+采购已定价数量",
  13146. "type": "number"
  13147. },
  13148. "oritoalspotqty": {
  13149. "description": "昨日数量",
  13150. "type": "number"
  13151. },
  13152. "totalspotqty": {
  13153. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13154. "type": "number"
  13155. },
  13156. "updatetime": {
  13157. "description": "更新时间",
  13158. "type": "string"
  13159. },
  13160. "wrstandardcode": {
  13161. "description": "现货品种代码",
  13162. "type": "string"
  13163. },
  13164. "wrstandardid": {
  13165. "description": "现货商品ID",
  13166. "type": "integer"
  13167. },
  13168. "wrstandardname": {
  13169. "description": "现货品种",
  13170. "type": "string"
  13171. }
  13172. }
  13173. },
  13174. "models.Clientfixedadconfig": {
  13175. "type": "object",
  13176. "required": [
  13177. "adsort",
  13178. "adtype"
  13179. ],
  13180. "properties": {
  13181. "adsort": {
  13182. "description": "排序",
  13183. "type": "integer"
  13184. },
  13185. "adtype": {
  13186. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13187. "type": "integer"
  13188. },
  13189. "areauserid": {
  13190. "description": "所属机构ID",
  13191. "type": "integer"
  13192. },
  13193. "createdate": {
  13194. "description": "创建时间",
  13195. "type": "string"
  13196. },
  13197. "creatorid": {
  13198. "description": "创建人",
  13199. "type": "integer"
  13200. },
  13201. "imagepath": {
  13202. "description": "图片",
  13203. "type": "string"
  13204. },
  13205. "isshow": {
  13206. "description": "是否展示 - 0:不展示 1:展示",
  13207. "type": "integer"
  13208. },
  13209. "modifierid": {
  13210. "description": "操作人",
  13211. "type": "integer"
  13212. },
  13213. "recsize": {
  13214. "description": "推荐尺寸",
  13215. "type": "string"
  13216. },
  13217. "title": {
  13218. "description": "标题",
  13219. "type": "string"
  13220. },
  13221. "updatedate": {
  13222. "description": "更新时间",
  13223. "type": "string"
  13224. },
  13225. "urlcontent": {
  13226. "description": "链接(地址或商品ID)",
  13227. "type": "string"
  13228. },
  13229. "urltype": {
  13230. "description": "链接类型 - 1:直接地址 2:商品ID",
  13231. "type": "integer"
  13232. }
  13233. }
  13234. },
  13235. "models.Division": {
  13236. "type": "object",
  13237. "required": [
  13238. "autoid",
  13239. "divisioncode"
  13240. ],
  13241. "properties": {
  13242. "autoid": {
  13243. "description": "自增ID",
  13244. "type": "integer"
  13245. },
  13246. "divisioncode": {
  13247. "description": "行政代码",
  13248. "type": "string"
  13249. },
  13250. "divisionlevel": {
  13251. "description": "行政级别",
  13252. "type": "string"
  13253. },
  13254. "divisionname": {
  13255. "description": "行政名称",
  13256. "type": "string"
  13257. },
  13258. "modifierid": {
  13259. "description": "修改人",
  13260. "type": "integer"
  13261. },
  13262. "modifytime": {
  13263. "description": "修改时间",
  13264. "type": "string"
  13265. },
  13266. "parentcode": {
  13267. "description": "上级行政代码",
  13268. "type": "string"
  13269. },
  13270. "pathname": {
  13271. "description": "路径名称",
  13272. "type": "string"
  13273. },
  13274. "postcode": {
  13275. "description": "邮政编码",
  13276. "type": "string"
  13277. },
  13278. "separablename": {
  13279. "description": "可拆分的全称",
  13280. "type": "string"
  13281. },
  13282. "shortcode": {
  13283. "description": "地区简码",
  13284. "type": "string"
  13285. }
  13286. }
  13287. },
  13288. "models.Enumdicitem": {
  13289. "type": "object",
  13290. "required": [
  13291. "autoid",
  13292. "enumdiccode",
  13293. "enumdicid",
  13294. "enumitemname"
  13295. ],
  13296. "properties": {
  13297. "autoid": {
  13298. "description": "自增ID",
  13299. "type": "integer"
  13300. },
  13301. "bankmappedvalue": {
  13302. "description": "银行服务对应值",
  13303. "type": "string"
  13304. },
  13305. "enumdiccode": {
  13306. "description": "所属枚举代码",
  13307. "type": "string"
  13308. },
  13309. "enumdicid": {
  13310. "description": "所属枚举ID",
  13311. "type": "integer"
  13312. },
  13313. "enumdicname": {
  13314. "description": "枚举项名称",
  13315. "type": "string"
  13316. },
  13317. "enumitemname": {
  13318. "description": "枚举项值",
  13319. "type": "integer"
  13320. },
  13321. "enumitemstatus": {
  13322. "description": "枚举项状态 - 1.启用 2.不启用",
  13323. "type": "integer"
  13324. },
  13325. "enumitemvalue": {
  13326. "description": "通用值 - [币种通用简写]",
  13327. "type": "string"
  13328. },
  13329. "param1": {
  13330. "description": "参数1[币种:币种小数位]",
  13331. "type": "string"
  13332. },
  13333. "param2": {
  13334. "description": "参数1[币种:币种显示单位]",
  13335. "type": "string"
  13336. },
  13337. "remark": {
  13338. "description": "备注",
  13339. "type": "string"
  13340. }
  13341. }
  13342. },
  13343. "models.Ermcp3AreaSpot": {
  13344. "type": "object",
  13345. "properties": {
  13346. "areauserid": {
  13347. "description": "所属机构",
  13348. "type": "integer"
  13349. },
  13350. "decreaseqty": {
  13351. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13352. "type": "number"
  13353. },
  13354. "deliverygoodscode": {
  13355. "description": "现货品种代码",
  13356. "type": "string"
  13357. },
  13358. "deliverygoodsid": {
  13359. "description": "现货品种id",
  13360. "type": "integer"
  13361. },
  13362. "deliverygoodsname": {
  13363. "description": "现货品种名称",
  13364. "type": "string"
  13365. },
  13366. "enumdicname": {
  13367. "description": "单位名称",
  13368. "type": "string"
  13369. },
  13370. "goodsunitid": {
  13371. "description": "现货品种单位id",
  13372. "type": "integer"
  13373. },
  13374. "increaseqty": {
  13375. "description": "增加数量=销售计划数量+采购已定价数量",
  13376. "type": "number"
  13377. },
  13378. "oritoalspotqty": {
  13379. "description": "昨日数量",
  13380. "type": "number"
  13381. },
  13382. "totalspotqty": {
  13383. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13384. "type": "number"
  13385. },
  13386. "updatetime": {
  13387. "description": "更新时间",
  13388. "type": "string"
  13389. }
  13390. }
  13391. },
  13392. "models.Ermcp3AreaSpotDetail": {
  13393. "type": "object",
  13394. "properties": {
  13395. "contracttype": {
  13396. "description": "合同类型 1-采购 -1-销售",
  13397. "type": "integer"
  13398. },
  13399. "createtime": {
  13400. "description": "创建时间",
  13401. "type": "string"
  13402. },
  13403. "deliverygoodscode": {
  13404. "description": "现货品种代码",
  13405. "type": "string"
  13406. },
  13407. "deliverygoodsid": {
  13408. "description": "现货品种id",
  13409. "type": "integer"
  13410. },
  13411. "deliverygoodsname": {
  13412. "description": "现货品种名称",
  13413. "type": "string"
  13414. },
  13415. "enumdicname": {
  13416. "description": "现货商品单位名称",
  13417. "type": "string"
  13418. },
  13419. "logtype": {
  13420. "description": "记录类型 1-套保 2-现货合同",
  13421. "type": "integer"
  13422. },
  13423. "qty": {
  13424. "description": "数量",
  13425. "type": "number"
  13426. },
  13427. "recordname": {
  13428. "description": "类型名称",
  13429. "type": "string"
  13430. },
  13431. "relatedid": {
  13432. "description": "套保计划ID/现货合同ID",
  13433. "type": "string"
  13434. },
  13435. "relatedno": {
  13436. "description": "编号",
  13437. "type": "string"
  13438. },
  13439. "strtime": {
  13440. "description": "时间",
  13441. "type": "string"
  13442. }
  13443. }
  13444. },
  13445. "models.Ermcp3AreaStock": {
  13446. "type": "object",
  13447. "required": [
  13448. "userid"
  13449. ],
  13450. "properties": {
  13451. "brandname": {
  13452. "description": "品牌名称",
  13453. "type": "string"
  13454. },
  13455. "curstock": {
  13456. "description": "期末库存量(今日量)",
  13457. "type": "number"
  13458. },
  13459. "deliverygoodscode": {
  13460. "description": "现货品种代码",
  13461. "type": "string"
  13462. },
  13463. "deliverygoodsid": {
  13464. "description": "现货品种id",
  13465. "type": "integer"
  13466. },
  13467. "deliverygoodsname": {
  13468. "description": "现货品种名称",
  13469. "type": "string"
  13470. },
  13471. "enumdicname": {
  13472. "description": "单位名称",
  13473. "type": "string"
  13474. },
  13475. "goodsunitid": {
  13476. "description": "现货商品单位id",
  13477. "type": "integer"
  13478. },
  13479. "oristock": {
  13480. "description": "期初库存量(昨日量)",
  13481. "type": "number"
  13482. },
  13483. "spotgoodsbrandid": {
  13484. "description": "现货品牌ID",
  13485. "type": "integer"
  13486. },
  13487. "todaybuyinqty": {
  13488. "description": "今日采购入库量",
  13489. "type": "number"
  13490. },
  13491. "todayproduceinqty": {
  13492. "description": "今日生产入库量",
  13493. "type": "number"
  13494. },
  13495. "todayproduceoutqty": {
  13496. "description": "今日生产出库量",
  13497. "type": "number"
  13498. },
  13499. "todayselloutqty": {
  13500. "description": "今日销售出库量",
  13501. "type": "number"
  13502. },
  13503. "unitid": {
  13504. "description": "单位id",
  13505. "type": "integer"
  13506. },
  13507. "updatetime": {
  13508. "description": "更新时间",
  13509. "type": "string"
  13510. },
  13511. "userid": {
  13512. "description": "机构ID",
  13513. "type": "integer"
  13514. },
  13515. "username": {
  13516. "description": "机构名称",
  13517. "type": "string"
  13518. },
  13519. "warehousecode": {
  13520. "description": "仓库代码",
  13521. "type": "string"
  13522. },
  13523. "warehouseinfoid": {
  13524. "description": "仓库ID",
  13525. "type": "string"
  13526. },
  13527. "warehousename": {
  13528. "description": "仓库名称",
  13529. "type": "string"
  13530. },
  13531. "warehousetype": {
  13532. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13533. "type": "integer"
  13534. },
  13535. "wrstandardcode": {
  13536. "description": "品类代码",
  13537. "type": "string"
  13538. },
  13539. "wrstandardid": {
  13540. "description": "品类ID",
  13541. "type": "string"
  13542. },
  13543. "wrstandardname": {
  13544. "description": "品类名称",
  13545. "type": "string"
  13546. }
  13547. }
  13548. },
  13549. "models.Ermcp3AreaStockApply": {
  13550. "type": "object",
  13551. "properties": {
  13552. "applyid": {
  13553. "description": "申请人",
  13554. "type": "integer"
  13555. },
  13556. "applyname": {
  13557. "description": "申请人名称",
  13558. "type": "string"
  13559. },
  13560. "applyremark": {
  13561. "description": "申请备注",
  13562. "type": "string"
  13563. },
  13564. "applysrc": {
  13565. "description": "申请来源 - 1:管理端 2:终端",
  13566. "type": "integer"
  13567. },
  13568. "applystatus": {
  13569. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13570. "type": "integer"
  13571. },
  13572. "applytime": {
  13573. "description": "申请时间",
  13574. "type": "string"
  13575. },
  13576. "auditid": {
  13577. "description": "审核人",
  13578. "type": "integer"
  13579. },
  13580. "auditname": {
  13581. "description": "审核人名称",
  13582. "type": "string"
  13583. },
  13584. "auditremark": {
  13585. "description": "审核备注",
  13586. "type": "string"
  13587. },
  13588. "auditsrc": {
  13589. "description": "审核来源 - 1:管理端 2:终端",
  13590. "type": "integer"
  13591. },
  13592. "audittime": {
  13593. "description": "审核时间",
  13594. "type": "string"
  13595. },
  13596. "audittradedate": {
  13597. "description": "审核交易日(yyyyMMdd)",
  13598. "type": "string"
  13599. },
  13600. "brandname": {
  13601. "description": "品牌名称",
  13602. "type": "string"
  13603. },
  13604. "buynickname": {
  13605. "description": "采购方昵称",
  13606. "type": "string"
  13607. },
  13608. "buyuserid": {
  13609. "description": "采购方userid",
  13610. "type": "integer"
  13611. },
  13612. "buyusername": {
  13613. "description": "采购方名称",
  13614. "type": "string"
  13615. },
  13616. "contractno": {
  13617. "description": "合同编号",
  13618. "type": "string"
  13619. },
  13620. "contractqty": {
  13621. "description": "合同量",
  13622. "type": "number"
  13623. },
  13624. "contracttype": {
  13625. "description": "现货合同类型 - 1:采购 -1:销售",
  13626. "type": "integer"
  13627. },
  13628. "deliverygoodscode": {
  13629. "description": "现货品种代码",
  13630. "type": "string"
  13631. },
  13632. "deliverygoodsid": {
  13633. "description": "现货品种id",
  13634. "type": "integer"
  13635. },
  13636. "deliverygoodsname": {
  13637. "description": "现货品种名称",
  13638. "type": "string"
  13639. },
  13640. "enumdicname": {
  13641. "description": "现货商品单位名称",
  13642. "type": "string"
  13643. },
  13644. "inoutapplyid": {
  13645. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13646. "type": "string"
  13647. },
  13648. "inouttype": {
  13649. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13650. "type": "integer"
  13651. },
  13652. "pricetype": {
  13653. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13654. "type": "integer"
  13655. },
  13656. "qty": {
  13657. "description": "数量",
  13658. "type": "number"
  13659. },
  13660. "sellnickname": {
  13661. "description": "销售方昵称",
  13662. "type": "string"
  13663. },
  13664. "selluserid": {
  13665. "description": "销售方userid",
  13666. "type": "integer"
  13667. },
  13668. "sellusername": {
  13669. "description": "销售方名称",
  13670. "type": "string"
  13671. },
  13672. "spotcontractid": {
  13673. "description": "关联现货合同ID",
  13674. "type": "string"
  13675. },
  13676. "spotgoodsbrandid": {
  13677. "description": "现货品牌ID",
  13678. "type": "integer"
  13679. },
  13680. "unitid": {
  13681. "description": "单位id",
  13682. "type": "integer"
  13683. },
  13684. "userid": {
  13685. "description": "机构ID",
  13686. "type": "integer"
  13687. },
  13688. "warehousecode": {
  13689. "description": "仓库代码",
  13690. "type": "string"
  13691. },
  13692. "warehouseinfoid": {
  13693. "description": "现货仓库ID",
  13694. "type": "string"
  13695. },
  13696. "warehousename": {
  13697. "description": "仓库名称",
  13698. "type": "string"
  13699. },
  13700. "warehousetype": {
  13701. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13702. "type": "integer"
  13703. },
  13704. "wrstandardcode": {
  13705. "description": "品类代码",
  13706. "type": "string"
  13707. },
  13708. "wrstandardid": {
  13709. "description": "品类ID",
  13710. "type": "integer"
  13711. },
  13712. "wrstandardname": {
  13713. "description": "品类名称",
  13714. "type": "string"
  13715. }
  13716. }
  13717. },
  13718. "models.Ermcp3AreaStockApplySum": {
  13719. "type": "object",
  13720. "properties": {
  13721. "brandname": {
  13722. "description": "品牌名称",
  13723. "type": "string"
  13724. },
  13725. "inouttype": {
  13726. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13727. "type": "integer"
  13728. },
  13729. "spotcontractid": {
  13730. "description": "关联现货合同ID",
  13731. "type": "string"
  13732. },
  13733. "spotgoodsbrandid": {
  13734. "description": "品牌id",
  13735. "type": "integer"
  13736. },
  13737. "totalqty": {
  13738. "description": "总数量",
  13739. "type": "number"
  13740. },
  13741. "wrstandardid": {
  13742. "description": "品类id",
  13743. "type": "integer"
  13744. },
  13745. "wrstandardname": {
  13746. "description": "品类名称",
  13747. "type": "string"
  13748. }
  13749. }
  13750. },
  13751. "models.Ermcp3AreaStockReport": {
  13752. "type": "object",
  13753. "properties": {
  13754. "brandname": {
  13755. "description": "品牌名称",
  13756. "type": "string"
  13757. },
  13758. "curstock": {
  13759. "description": "期末库存量",
  13760. "type": "number"
  13761. },
  13762. "deliverygoodscode": {
  13763. "description": "现货品种代码",
  13764. "type": "string"
  13765. },
  13766. "deliverygoodsid": {
  13767. "description": "现货品种id",
  13768. "type": "integer"
  13769. },
  13770. "deliverygoodsname": {
  13771. "description": "现货品种名称",
  13772. "type": "string"
  13773. },
  13774. "enumdicname": {
  13775. "description": "单位名称",
  13776. "type": "string"
  13777. },
  13778. "goodsunitid": {
  13779. "description": "现货单位id",
  13780. "type": "integer"
  13781. },
  13782. "oristock": {
  13783. "description": "期初库存量",
  13784. "type": "number"
  13785. },
  13786. "spotgoodsbrandid": {
  13787. "description": "现货品牌ID",
  13788. "type": "integer"
  13789. },
  13790. "todaybuyinqty": {
  13791. "description": "今日采购入库量",
  13792. "type": "number"
  13793. },
  13794. "todayproduceinqty": {
  13795. "description": "今日生产入库量",
  13796. "type": "number"
  13797. },
  13798. "todayproduceoutqty": {
  13799. "description": "今日生产出库量",
  13800. "type": "number"
  13801. },
  13802. "todayselloutqty": {
  13803. "description": "今日销售出库量",
  13804. "type": "number"
  13805. },
  13806. "unitid": {
  13807. "description": "品类单位id",
  13808. "type": "integer"
  13809. },
  13810. "updatetime": {
  13811. "description": "更新时间",
  13812. "type": "string"
  13813. },
  13814. "userid": {
  13815. "description": "机构ID",
  13816. "type": "integer"
  13817. },
  13818. "username": {
  13819. "description": "机构名称",
  13820. "type": "string"
  13821. },
  13822. "warehousecode": {
  13823. "description": "仓库代码",
  13824. "type": "string"
  13825. },
  13826. "warehouseinfoid": {
  13827. "description": "仓库ID",
  13828. "type": "string"
  13829. },
  13830. "warehousename": {
  13831. "description": "仓库名称",
  13832. "type": "string"
  13833. },
  13834. "warehousetype": {
  13835. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13836. "type": "integer"
  13837. },
  13838. "wrstandardcode": {
  13839. "description": "品类代码",
  13840. "type": "string"
  13841. },
  13842. "wrstandardid": {
  13843. "description": "品类ID",
  13844. "type": "integer"
  13845. },
  13846. "wrstandardname": {
  13847. "description": "品类名称",
  13848. "type": "string"
  13849. }
  13850. }
  13851. },
  13852. "models.Ermcp3Brand": {
  13853. "type": "object",
  13854. "properties": {
  13855. "areauserid": {
  13856. "description": "用户id",
  13857. "type": "integer"
  13858. },
  13859. "brandid": {
  13860. "description": "品牌id",
  13861. "type": "integer"
  13862. },
  13863. "brandname": {
  13864. "description": "品牌名称",
  13865. "type": "string"
  13866. },
  13867. "deliverygoodsid": {
  13868. "description": "品种ID",
  13869. "type": "integer"
  13870. }
  13871. }
  13872. },
  13873. "models.Ermcp3Contract": {
  13874. "type": "object",
  13875. "properties": {
  13876. "accountid": {
  13877. "description": "期货账户id",
  13878. "type": "string"
  13879. },
  13880. "amount": {
  13881. "description": "金额 [1:一口价、3:暂定价]",
  13882. "type": "number"
  13883. },
  13884. "attachment": {
  13885. "description": "附件",
  13886. "type": "string"
  13887. },
  13888. "auditremark": {
  13889. "description": "审核意见",
  13890. "type": "string"
  13891. },
  13892. "audittime": {
  13893. "description": "审核时间",
  13894. "type": "string"
  13895. },
  13896. "biztype": {
  13897. "description": "业务类型 1-套保 2-套利",
  13898. "type": "integer"
  13899. },
  13900. "brandname": {
  13901. "description": "品牌名称",
  13902. "type": "string"
  13903. },
  13904. "buynickname": {
  13905. "description": "销售方昵称",
  13906. "type": "string"
  13907. },
  13908. "buyuserid": {
  13909. "description": "采购方ID",
  13910. "type": "integer"
  13911. },
  13912. "buyusername": {
  13913. "description": "采购方名称",
  13914. "type": "string"
  13915. },
  13916. "contracctstatus": {
  13917. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13918. "type": "integer"
  13919. },
  13920. "contractmargin": {
  13921. "description": "合同保证金",
  13922. "type": "number"
  13923. },
  13924. "contractno": {
  13925. "description": "现货合同编号",
  13926. "type": "string"
  13927. },
  13928. "contracttype": {
  13929. "description": "现货合同类型 - 1:采购 -1:销售",
  13930. "type": "integer"
  13931. },
  13932. "convertfactor": {
  13933. "description": "标仓系数(品类)",
  13934. "type": "number"
  13935. },
  13936. "createtime": {
  13937. "description": "创建时间",
  13938. "type": "string"
  13939. },
  13940. "deliveryenddate": {
  13941. "description": "交收期(结束)",
  13942. "type": "string"
  13943. },
  13944. "deliverygoodscode": {
  13945. "description": "现货品种代码",
  13946. "type": "string"
  13947. },
  13948. "deliverygoodsid": {
  13949. "description": "现货品种ID",
  13950. "type": "integer"
  13951. },
  13952. "deliverygoodsname": {
  13953. "description": "现货品种名称",
  13954. "type": "string"
  13955. },
  13956. "deliverystartdate": {
  13957. "description": "交收期(开始)",
  13958. "type": "string"
  13959. },
  13960. "enddate": {
  13961. "description": "点价结束日期 [2:点价 3:暂定价]",
  13962. "type": "string"
  13963. },
  13964. "enumdicname": {
  13965. "description": "单位名称",
  13966. "type": "string"
  13967. },
  13968. "goodscode": {
  13969. "description": "点价合约代码",
  13970. "type": "string"
  13971. },
  13972. "goodsid": {
  13973. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13974. "type": "integer"
  13975. },
  13976. "goodsname": {
  13977. "description": "点价商品名称",
  13978. "type": "string"
  13979. },
  13980. "margin": {
  13981. "description": "当前保证金",
  13982. "type": "number"
  13983. },
  13984. "meruserid": {
  13985. "description": "跟单员id",
  13986. "type": "integer"
  13987. },
  13988. "meruserlogincode": {
  13989. "description": "跟单员登录代码",
  13990. "type": "string"
  13991. },
  13992. "price": {
  13993. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13994. "type": "number"
  13995. },
  13996. "pricemove": {
  13997. "description": "升贴水 [2:点价 3:暂定价]",
  13998. "type": "number"
  13999. },
  14000. "pricetype": {
  14001. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14002. "type": "integer"
  14003. },
  14004. "producttype": {
  14005. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14006. "type": "integer"
  14007. },
  14008. "qty": {
  14009. "description": "数量",
  14010. "type": "number"
  14011. },
  14012. "remark": {
  14013. "description": "备注",
  14014. "type": "string"
  14015. },
  14016. "saleuserid": {
  14017. "description": "业务员id",
  14018. "type": "integer"
  14019. },
  14020. "saleuserlogincode": {
  14021. "description": "业务员登录代码",
  14022. "type": "string"
  14023. },
  14024. "sellnickname": {
  14025. "description": "采购方昵称",
  14026. "type": "string"
  14027. },
  14028. "selluserid": {
  14029. "description": "销售方ID",
  14030. "type": "integer"
  14031. },
  14032. "sellusername": {
  14033. "description": "销售方名称",
  14034. "type": "string"
  14035. },
  14036. "spotcontractid": {
  14037. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14038. "type": "string"
  14039. },
  14040. "spotgoodsbrandid": {
  14041. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14042. "type": "integer"
  14043. },
  14044. "spotgoodsdesc": {
  14045. "description": "商品型号",
  14046. "type": "string"
  14047. },
  14048. "startdate": {
  14049. "description": "点价开始日期 [2:点价 3:暂定价]",
  14050. "type": "string"
  14051. },
  14052. "tradeuserid": {
  14053. "description": "交易员id",
  14054. "type": "integer"
  14055. },
  14056. "tradeuserlogincode": {
  14057. "description": "交易员登录代码",
  14058. "type": "string"
  14059. },
  14060. "unitid": {
  14061. "description": "单位id(取品类上的单位id)",
  14062. "type": "integer"
  14063. },
  14064. "updatetime": {
  14065. "description": "更新时间",
  14066. "type": "string"
  14067. },
  14068. "userid": {
  14069. "description": "所属机构ID",
  14070. "type": "integer"
  14071. },
  14072. "wrstandardcode": {
  14073. "description": "品类代码",
  14074. "type": "string"
  14075. },
  14076. "wrstandardid": {
  14077. "description": "品类ID",
  14078. "type": "integer"
  14079. },
  14080. "wrstandardname": {
  14081. "description": "品类名称",
  14082. "type": "string"
  14083. }
  14084. }
  14085. },
  14086. "models.Ermcp3ExposureDetail": {
  14087. "type": "object",
  14088. "properties": {
  14089. "areauserid": {
  14090. "description": "机构ID",
  14091. "type": "integer"
  14092. },
  14093. "changeQty": {
  14094. "description": "套保变动量",
  14095. "type": "number"
  14096. },
  14097. "contracttype": {
  14098. "description": "现货合同类型 - 1:采购 -1:销售",
  14099. "type": "integer"
  14100. },
  14101. "convertfactor": {
  14102. "description": "标仓系数",
  14103. "type": "number"
  14104. },
  14105. "convertratio": {
  14106. "description": "套保系数",
  14107. "type": "number"
  14108. },
  14109. "createtime": {
  14110. "description": "时间",
  14111. "type": "string"
  14112. },
  14113. "deliverygoodscode": {
  14114. "description": "现货品种代码",
  14115. "type": "string"
  14116. },
  14117. "deliverygoodsid": {
  14118. "description": "现货品种id",
  14119. "type": "integer"
  14120. },
  14121. "deliverygoodsname": {
  14122. "description": "现货品种名称",
  14123. "type": "string"
  14124. },
  14125. "enumdicname": {
  14126. "description": "现货商品单位名称",
  14127. "type": "string"
  14128. },
  14129. "logtype": {
  14130. "description": "类型 - 1:套保计划 2:现货合同",
  14131. "type": "integer"
  14132. },
  14133. "middlegoodsId": {
  14134. "description": "套保商品id",
  14135. "type": "integer"
  14136. },
  14137. "middlegoodscode": {
  14138. "description": "套保商品代码",
  14139. "type": "string"
  14140. },
  14141. "middlegoodsname": {
  14142. "description": "套保商品名称",
  14143. "type": "string"
  14144. },
  14145. "qty": {
  14146. "description": "数量",
  14147. "type": "number"
  14148. },
  14149. "relateNo": {
  14150. "description": "现货合同/套保计划编号",
  14151. "type": "string"
  14152. }
  14153. }
  14154. },
  14155. "models.Ermcp3Goods": {
  14156. "type": "object",
  14157. "properties": {
  14158. "agreeunit": {
  14159. "description": "合约单位(合约乘数)",
  14160. "type": "number"
  14161. },
  14162. "enumdicname": {
  14163. "description": "单位名称",
  14164. "type": "string"
  14165. },
  14166. "exexchangecode": {
  14167. "description": "交易所代码",
  14168. "type": "string"
  14169. },
  14170. "goodscode": {
  14171. "description": "期货商品代码",
  14172. "type": "string"
  14173. },
  14174. "goodsid": {
  14175. "description": "期货商品id",
  14176. "type": "integer"
  14177. },
  14178. "goodsname": {
  14179. "description": "期货商品名称",
  14180. "type": "string"
  14181. }
  14182. }
  14183. },
  14184. "models.Ermcp3GoodsGroup": {
  14185. "type": "object",
  14186. "required": [
  14187. "areauserid"
  14188. ],
  14189. "properties": {
  14190. "agreeunit": {
  14191. "description": "合约单位",
  14192. "type": "number"
  14193. },
  14194. "areauserid": {
  14195. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14196. "type": "integer"
  14197. },
  14198. "canshort": {
  14199. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14200. "type": "integer"
  14201. },
  14202. "closepricemode": {
  14203. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14204. "type": "integer"
  14205. },
  14206. "createtime": {
  14207. "description": "创建时间",
  14208. "type": "string"
  14209. },
  14210. "creatorid": {
  14211. "description": "创建人",
  14212. "type": "integer"
  14213. },
  14214. "currencyid": {
  14215. "description": "报价货币ID",
  14216. "type": "integer"
  14217. },
  14218. "decimalplace": {
  14219. "description": "报价小数位",
  14220. "type": "integer"
  14221. },
  14222. "enumdicname": {
  14223. "description": "单位名称",
  14224. "type": "string"
  14225. },
  14226. "excludecfg": {
  14227. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14228. "type": "integer"
  14229. },
  14230. "exexchangeid": {
  14231. "description": "外部交易所ID[通道交易]",
  14232. "type": "integer"
  14233. },
  14234. "goodsgroupid": {
  14235. "description": "商品组ID(自增ID)",
  14236. "type": "integer"
  14237. },
  14238. "goodsgroupname": {
  14239. "description": "商品组名称",
  14240. "type": "string"
  14241. },
  14242. "goodsgroupstatus": {
  14243. "description": "商品组状态 - 1:正常 2:注销",
  14244. "type": "integer"
  14245. },
  14246. "goodunitid": {
  14247. "description": "报价单位ID",
  14248. "type": "integer"
  14249. },
  14250. "groupcategroyid": {
  14251. "description": "品种分类ID",
  14252. "type": "integer"
  14253. },
  14254. "innerdealmode": {
  14255. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14256. "type": "integer"
  14257. },
  14258. "marketid": {
  14259. "description": "所属市场ID",
  14260. "type": "integer"
  14261. },
  14262. "modifierid": {
  14263. "description": "修改人",
  14264. "type": "integer"
  14265. },
  14266. "modifytime": {
  14267. "description": "修改时间",
  14268. "type": "string"
  14269. },
  14270. "outerdealmode": {
  14271. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14272. "type": "integer"
  14273. },
  14274. "outergroupcode": {
  14275. "description": "外部商品组代码[通道交易]",
  14276. "type": "string"
  14277. },
  14278. "quoteminunit": {
  14279. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14280. "type": "integer"
  14281. },
  14282. "quotesourcegroupid": {
  14283. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14284. "type": "integer"
  14285. },
  14286. "syncgoodsqty": {
  14287. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14288. "type": "integer"
  14289. }
  14290. }
  14291. },
  14292. "models.Ermcp3GoodsGroupEx": {
  14293. "type": "object",
  14294. "properties": {
  14295. "convertratio": {
  14296. "description": "折算系数(品种系数)",
  14297. "type": "number"
  14298. },
  14299. "enumdicname": {
  14300. "description": "单位名称",
  14301. "type": "string"
  14302. },
  14303. "exexchangecode": {
  14304. "description": "交易所代码",
  14305. "type": "string"
  14306. },
  14307. "glist": {
  14308. "description": "合约列表",
  14309. "type": "array",
  14310. "items": {
  14311. "$ref": "#/definitions/models.Ermcp3Goods"
  14312. }
  14313. },
  14314. "goodsgroupid": {
  14315. "description": "商品组id",
  14316. "type": "integer"
  14317. },
  14318. "goodsgroupname": {
  14319. "description": "商品组名称",
  14320. "type": "string"
  14321. },
  14322. "goodsunitid": {
  14323. "description": "单位id",
  14324. "type": "integer"
  14325. },
  14326. "middlegoodsid": {
  14327. "description": "套保商品id",
  14328. "type": "integer"
  14329. }
  14330. }
  14331. },
  14332. "models.Ermcp3HedgePlan": {
  14333. "type": "object",
  14334. "properties": {
  14335. "areauserid": {
  14336. "description": "用户ID",
  14337. "type": "integer"
  14338. },
  14339. "audittime": {
  14340. "description": "审核时间",
  14341. "type": "string"
  14342. },
  14343. "contracttype": {
  14344. "description": "计划类型 - 1:采购 -1:销售",
  14345. "type": "integer"
  14346. },
  14347. "convertfactor": {
  14348. "description": "标仓系数",
  14349. "type": "number"
  14350. },
  14351. "createtime": {
  14352. "description": "创建时间",
  14353. "type": "string"
  14354. },
  14355. "deliverygoodscode": {
  14356. "description": "现货品种代码",
  14357. "type": "string"
  14358. },
  14359. "deliverygoodsid": {
  14360. "description": "现货品种ID",
  14361. "type": "integer"
  14362. },
  14363. "deliverygoodsname": {
  14364. "description": "现货品种名称",
  14365. "type": "string"
  14366. },
  14367. "enumdicname": {
  14368. "description": "单位名称",
  14369. "type": "string"
  14370. },
  14371. "hedgeplanid": {
  14372. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14373. "type": "string"
  14374. },
  14375. "hedgeplanno": {
  14376. "description": "套保计划编号(名称)",
  14377. "type": "string"
  14378. },
  14379. "hedgeplanstatus": {
  14380. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14381. "type": "integer"
  14382. },
  14383. "planqty": {
  14384. "description": "计划数量",
  14385. "type": "number"
  14386. },
  14387. "plantime": {
  14388. "description": "计划时间",
  14389. "type": "string"
  14390. },
  14391. "producttype": {
  14392. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14393. "type": "integer"
  14394. },
  14395. "remark": {
  14396. "description": "备注",
  14397. "type": "string"
  14398. },
  14399. "spotgoodsdesc": {
  14400. "description": "商品型号",
  14401. "type": "string"
  14402. },
  14403. "unitid": {
  14404. "description": "单位id",
  14405. "type": "integer"
  14406. },
  14407. "updatetime": {
  14408. "description": "更新时间",
  14409. "type": "string"
  14410. }
  14411. }
  14412. },
  14413. "models.Ermcp3MiddleGoodsDetail2": {
  14414. "type": "object",
  14415. "properties": {
  14416. "convertratio": {
  14417. "description": "套保系数(折算系数)",
  14418. "type": "number"
  14419. },
  14420. "gplist": {
  14421. "description": "关联商品组列表",
  14422. "type": "array",
  14423. "items": {
  14424. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14425. }
  14426. },
  14427. "mg": {
  14428. "description": "套保商品信息",
  14429. "type": "object",
  14430. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14431. }
  14432. }
  14433. },
  14434. "models.Ermcp3MiddleGoodsDetailEx": {
  14435. "type": "object",
  14436. "properties": {
  14437. "dglist": {
  14438. "description": "关联的现货品种列表",
  14439. "type": "array",
  14440. "items": {
  14441. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14442. }
  14443. },
  14444. "gplist": {
  14445. "description": "关联商品组列表",
  14446. "type": "array",
  14447. "items": {
  14448. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14449. }
  14450. },
  14451. "mg": {
  14452. "description": "套保商品信息",
  14453. "type": "object",
  14454. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14455. }
  14456. }
  14457. },
  14458. "models.Ermcp3ReportAreaSpotPL": {
  14459. "type": "object",
  14460. "properties": {
  14461. "actualpl": {
  14462. "description": "实际损益",
  14463. "type": "number"
  14464. },
  14465. "areauserid": {
  14466. "description": "所属机构",
  14467. "type": "integer"
  14468. },
  14469. "brandname": {
  14470. "description": "品牌名称",
  14471. "type": "string"
  14472. },
  14473. "curamount": {
  14474. "description": "期末额",
  14475. "type": "number"
  14476. },
  14477. "curaverageprice": {
  14478. "description": "期末均价",
  14479. "type": "number"
  14480. },
  14481. "curbuyamount": {
  14482. "description": "期末采购总额(采购额)",
  14483. "type": "number"
  14484. },
  14485. "curbuyqty": {
  14486. "description": "期末采购总量",
  14487. "type": "number"
  14488. },
  14489. "curmarketvalue": {
  14490. "description": "参考市值",
  14491. "type": "number"
  14492. },
  14493. "curqty": {
  14494. "description": "期末量",
  14495. "type": "number"
  14496. },
  14497. "cursellamount": {
  14498. "description": "期末销售总额(销售额)",
  14499. "type": "number"
  14500. },
  14501. "cursellqty": {
  14502. "description": "期末销售总量",
  14503. "type": "number"
  14504. },
  14505. "curspotprice": {
  14506. "description": "参考市价",
  14507. "type": "number"
  14508. },
  14509. "deliverygoodscode": {
  14510. "description": "现货品种代码",
  14511. "type": "string"
  14512. },
  14513. "deliverygoodsid": {
  14514. "description": "现货品种id",
  14515. "type": "integer"
  14516. },
  14517. "deliverygoodsname": {
  14518. "description": "现货品种名称",
  14519. "type": "string"
  14520. },
  14521. "enumdicname": {
  14522. "description": "现货商品单位名称",
  14523. "type": "string"
  14524. },
  14525. "floatpl": {
  14526. "description": "浮动损益",
  14527. "type": "number"
  14528. },
  14529. "gbenumdicname": {
  14530. "description": "品类单位名称",
  14531. "type": "string"
  14532. },
  14533. "gbunitid": {
  14534. "description": "现货单位id",
  14535. "type": "integer"
  14536. },
  14537. "modelname": {
  14538. "description": "品类名称",
  14539. "type": "string"
  14540. },
  14541. "oriamount": {
  14542. "description": "期初额",
  14543. "type": "number"
  14544. },
  14545. "oriaverageprice": {
  14546. "description": "期初均价",
  14547. "type": "number"
  14548. },
  14549. "oribuyamount": {
  14550. "description": "期初采购总额",
  14551. "type": "number"
  14552. },
  14553. "oribuyqty": {
  14554. "description": "期初采购总量",
  14555. "type": "number"
  14556. },
  14557. "oriqty": {
  14558. "description": "期初量",
  14559. "type": "number"
  14560. },
  14561. "orisellamount": {
  14562. "description": "期初销售总额",
  14563. "type": "number"
  14564. },
  14565. "orisellqty": {
  14566. "description": "期初销售总量",
  14567. "type": "number"
  14568. },
  14569. "spotgoodsbrandid": {
  14570. "description": "现货品牌ID",
  14571. "type": "integer"
  14572. },
  14573. "todaybuyamount": {
  14574. "description": "今日采购额",
  14575. "type": "number"
  14576. },
  14577. "todaybuyaverageprice": {
  14578. "description": "今日采购均价(采购均价)",
  14579. "type": "number"
  14580. },
  14581. "todaybuyqty": {
  14582. "description": "今日采购量(采购增量)",
  14583. "type": "number"
  14584. },
  14585. "todaysellamount": {
  14586. "description": "今日销售额",
  14587. "type": "number"
  14588. },
  14589. "todaysellaverageprice": {
  14590. "description": "今日销售均价(销售均价)",
  14591. "type": "number"
  14592. },
  14593. "todaysellqty": {
  14594. "description": "今日销售量(销售增量)",
  14595. "type": "number"
  14596. },
  14597. "unitid": {
  14598. "description": "品类单位id",
  14599. "type": "integer"
  14600. },
  14601. "updatetime": {
  14602. "description": "更新时间",
  14603. "type": "string"
  14604. },
  14605. "wrstandardcode": {
  14606. "description": "品类代码",
  14607. "type": "string"
  14608. },
  14609. "wrstandardid": {
  14610. "description": "品类ID",
  14611. "type": "integer"
  14612. },
  14613. "wrstandardname": {
  14614. "description": "品类名称",
  14615. "type": "string"
  14616. }
  14617. }
  14618. },
  14619. "models.Ermcp3ReportDaySpot": {
  14620. "type": "object",
  14621. "properties": {
  14622. "areauserid": {
  14623. "description": "所属机构T",
  14624. "type": "integer"
  14625. },
  14626. "buyinqty": {
  14627. "description": "采购入库量",
  14628. "type": "number"
  14629. },
  14630. "deliverygoodscode": {
  14631. "description": "现货品种代码",
  14632. "type": "string"
  14633. },
  14634. "deliverygoodsid": {
  14635. "description": "现货品种id",
  14636. "type": "integer"
  14637. },
  14638. "deliverygoodsname": {
  14639. "description": "现货品种名称",
  14640. "type": "string"
  14641. },
  14642. "enumdicname": {
  14643. "description": "现货商品单位名称",
  14644. "type": "string"
  14645. },
  14646. "reckondate": {
  14647. "description": "日照时期(yyyyMMdd)",
  14648. "type": "string"
  14649. },
  14650. "selloutqty": {
  14651. "description": "销售出库量",
  14652. "type": "number"
  14653. },
  14654. "todaybuyreckonqty": {
  14655. "description": "采购确定量",
  14656. "type": "number"
  14657. },
  14658. "todaysellreckonqty": {
  14659. "description": "销售确定量",
  14660. "type": "number"
  14661. },
  14662. "totalbuypricedqty": {
  14663. "description": "采购定价量 = 期末 - 期初",
  14664. "type": "number"
  14665. },
  14666. "totalsellpricedqty": {
  14667. "description": "销售定价量 = 期末 - 期初",
  14668. "type": "number"
  14669. }
  14670. }
  14671. },
  14672. "models.Ermcp3ReportMonSpot": {
  14673. "type": "object",
  14674. "properties": {
  14675. "areauserid": {
  14676. "description": "所属机构id",
  14677. "type": "integer"
  14678. },
  14679. "buyinqty": {
  14680. "description": "采购入库量",
  14681. "type": "number"
  14682. },
  14683. "cycletime": {
  14684. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14685. "type": "string"
  14686. },
  14687. "cycletype": {
  14688. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14689. "type": "integer"
  14690. },
  14691. "deliverygoodscode": {
  14692. "description": "现货品种代码",
  14693. "type": "string"
  14694. },
  14695. "deliverygoodsid": {
  14696. "description": "现货品种id",
  14697. "type": "integer"
  14698. },
  14699. "deliverygoodsname": {
  14700. "description": "现货品种名称",
  14701. "type": "string"
  14702. },
  14703. "enumdicname": {
  14704. "description": "现货商品单位名称",
  14705. "type": "string"
  14706. },
  14707. "selloutqty": {
  14708. "description": "销售出库量",
  14709. "type": "number"
  14710. },
  14711. "todaybuyreckonqty": {
  14712. "description": "采购确定量",
  14713. "type": "number"
  14714. },
  14715. "todaysellreckonqty": {
  14716. "description": "销售确定量",
  14717. "type": "number"
  14718. },
  14719. "totalbuypricedqty": {
  14720. "description": "采购定价量 = 期末 - 期初",
  14721. "type": "number"
  14722. },
  14723. "totalsellpricedqty": {
  14724. "description": "销售定价量 = 期末 - 期初",
  14725. "type": "number"
  14726. }
  14727. }
  14728. },
  14729. "models.Ermcp3ReportOPLog": {
  14730. "type": "object",
  14731. "properties": {
  14732. "applyid": {
  14733. "description": "操作人",
  14734. "type": "integer"
  14735. },
  14736. "applyname": {
  14737. "description": "操作人名称",
  14738. "type": "string"
  14739. },
  14740. "biztype": {
  14741. "description": "业务类型 - 1:套保计划 2:现货合同",
  14742. "type": "integer"
  14743. },
  14744. "brandname": {
  14745. "description": "品牌名称",
  14746. "type": "string"
  14747. },
  14748. "contracttype": {
  14749. "description": "现货合同类型 - 1:采购 -1:销售",
  14750. "type": "integer"
  14751. },
  14752. "deliverygoodscode": {
  14753. "description": "现货品种代码",
  14754. "type": "string"
  14755. },
  14756. "deliverygoodsid": {
  14757. "description": "现货品种id",
  14758. "type": "integer"
  14759. },
  14760. "deliverygoodsname": {
  14761. "description": "现货品种名称",
  14762. "type": "string"
  14763. },
  14764. "enumdicName": {
  14765. "description": "单位名称",
  14766. "type": "string"
  14767. },
  14768. "logdatetime": {
  14769. "description": "流水日期(时间)",
  14770. "type": "string"
  14771. },
  14772. "logid": {
  14773. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14774. "type": "string"
  14775. },
  14776. "logtypename": {
  14777. "description": "合同类型(名称)",
  14778. "type": "string"
  14779. },
  14780. "logvalue": {
  14781. "description": "数值",
  14782. "type": "string"
  14783. },
  14784. "operatelogtype": {
  14785. "description": "操作流水类型 -",
  14786. "type": "integer"
  14787. },
  14788. "optypename": {
  14789. "description": "流水类型名称",
  14790. "type": "string"
  14791. },
  14792. "relatedid": {
  14793. "description": "现货合同ID\\套保计划",
  14794. "type": "string"
  14795. },
  14796. "relatedno": {
  14797. "description": "合同编号",
  14798. "type": "string"
  14799. },
  14800. "tradedate": {
  14801. "description": "交易日(yyyyMMdd)",
  14802. "type": "string"
  14803. },
  14804. "userid": {
  14805. "description": "机构ID",
  14806. "type": "integer"
  14807. }
  14808. }
  14809. },
  14810. "models.Ermcp3SellBuyContract": {
  14811. "type": "object",
  14812. "properties": {
  14813. "accountname": {
  14814. "description": "账户名称",
  14815. "type": "string"
  14816. },
  14817. "attachment": {
  14818. "description": "附件",
  14819. "type": "string"
  14820. },
  14821. "audittime": {
  14822. "description": "审核时间",
  14823. "type": "string"
  14824. },
  14825. "brandname": {
  14826. "description": "品牌名称",
  14827. "type": "string"
  14828. },
  14829. "contracctstatus": {
  14830. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14831. "type": "integer"
  14832. },
  14833. "contractmargin": {
  14834. "description": "合同保证金",
  14835. "type": "number"
  14836. },
  14837. "contractno": {
  14838. "description": "合同编号",
  14839. "type": "string"
  14840. },
  14841. "contracttype": {
  14842. "description": "合同类型 1-采购, -1-销售",
  14843. "type": "integer"
  14844. },
  14845. "convertfactor": {
  14846. "description": "标仓系数(品类)",
  14847. "type": "number"
  14848. },
  14849. "createtime": {
  14850. "description": "创建时间",
  14851. "type": "string"
  14852. },
  14853. "daikaiamount": {
  14854. "description": "应收(开)票额",
  14855. "type": "number"
  14856. },
  14857. "deliveryenddate": {
  14858. "description": "交割结束日",
  14859. "type": "string"
  14860. },
  14861. "deliverygoodscode": {
  14862. "description": "现货品种代码",
  14863. "type": "string"
  14864. },
  14865. "deliverygoodsid": {
  14866. "description": "现货商品ID",
  14867. "type": "integer"
  14868. },
  14869. "deliverygoodsname": {
  14870. "description": "现货品种名称",
  14871. "type": "string"
  14872. },
  14873. "deliverystartdate": {
  14874. "description": "交割开始日",
  14875. "type": "string"
  14876. },
  14877. "enddate": {
  14878. "description": "点价结束日",
  14879. "type": "string"
  14880. },
  14881. "enumdicname": {
  14882. "description": "单位名称",
  14883. "type": "string"
  14884. },
  14885. "goodscode": {
  14886. "description": "点价商品代码",
  14887. "type": "string"
  14888. },
  14889. "goodsid": {
  14890. "description": "点价商品ID",
  14891. "type": "integer"
  14892. },
  14893. "goodsname": {
  14894. "description": "点价商品名称",
  14895. "type": "string"
  14896. },
  14897. "invoiceamount": {
  14898. "description": "已开票额",
  14899. "type": "number"
  14900. },
  14901. "loanamount": {
  14902. "description": "贷款总额=已定价额+调整金额",
  14903. "type": "number"
  14904. },
  14905. "margin": {
  14906. "description": "保证金",
  14907. "type": "number"
  14908. },
  14909. "nickname": {
  14910. "description": "账户昵称",
  14911. "type": "string"
  14912. },
  14913. "payamount": {
  14914. "description": "已收付额(收款或付款)",
  14915. "type": "number"
  14916. },
  14917. "preinvoiceamount": {
  14918. "description": "预收(开)票额",
  14919. "type": "number"
  14920. },
  14921. "prepayamount": {
  14922. "description": "预收付额",
  14923. "type": "number"
  14924. },
  14925. "price": {
  14926. "description": "价格",
  14927. "type": "number"
  14928. },
  14929. "pricedamount": {
  14930. "description": "已定价额",
  14931. "type": "number"
  14932. },
  14933. "pricedavg": {
  14934. "description": "已点均价",
  14935. "type": "number"
  14936. },
  14937. "pricedqty": {
  14938. "description": "已定价量",
  14939. "type": "number"
  14940. },
  14941. "pricemove": {
  14942. "description": "升贴水",
  14943. "type": "number"
  14944. },
  14945. "pricetype": {
  14946. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14947. "type": "integer"
  14948. },
  14949. "producttype": {
  14950. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14951. "type": "integer"
  14952. },
  14953. "qty": {
  14954. "description": "合同量",
  14955. "type": "number"
  14956. },
  14957. "reckonadjustamount": {
  14958. "description": "调整金额",
  14959. "type": "number"
  14960. },
  14961. "reckonedamount": {
  14962. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14963. "type": "number"
  14964. },
  14965. "reckonotheramount": {
  14966. "description": "其它费用",
  14967. "type": "number"
  14968. },
  14969. "reckonrealqty": {
  14970. "description": "已确定量",
  14971. "type": "number"
  14972. },
  14973. "remark": {
  14974. "description": "备注",
  14975. "type": "string"
  14976. },
  14977. "spotcontractid": {
  14978. "description": "合同ID",
  14979. "type": "string"
  14980. },
  14981. "spotgoodsbrandid": {
  14982. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14983. "type": "integer"
  14984. },
  14985. "spotgoodsdesc": {
  14986. "description": "商品型号(商品规格)",
  14987. "type": "string"
  14988. },
  14989. "startdate": {
  14990. "description": "点价开始日",
  14991. "type": "string"
  14992. },
  14993. "totalamount": {
  14994. "description": "合计总额",
  14995. "type": "number"
  14996. },
  14997. "unpayamount": {
  14998. "description": "应收付款额(应支付或应收款)",
  14999. "type": "number"
  15000. },
  15001. "unpricedqty": {
  15002. "description": "未定价量",
  15003. "type": "number"
  15004. },
  15005. "unsureqty": {
  15006. "description": "未确定量",
  15007. "type": "number"
  15008. },
  15009. "userid": {
  15010. "description": "机构ID",
  15011. "type": "integer"
  15012. },
  15013. "wrstandardcode": {
  15014. "description": "品类代码",
  15015. "type": "string"
  15016. },
  15017. "wrstandardid": {
  15018. "description": "品类ID",
  15019. "type": "integer"
  15020. },
  15021. "wrstandardname": {
  15022. "description": "品类名称",
  15023. "type": "string"
  15024. }
  15025. }
  15026. },
  15027. "models.Ermcp3SpotGoodsPrice": {
  15028. "type": "object",
  15029. "properties": {
  15030. "areauserid": {
  15031. "description": "所属机构id",
  15032. "type": "integer"
  15033. },
  15034. "brandname": {
  15035. "description": "品牌名称",
  15036. "type": "string"
  15037. },
  15038. "currencyid": {
  15039. "description": "报价货币ID",
  15040. "type": "integer"
  15041. },
  15042. "deliverygoodscode": {
  15043. "description": "现货商品代码",
  15044. "type": "string"
  15045. },
  15046. "deliverygoodsid": {
  15047. "description": "现货商品id",
  15048. "type": "integer"
  15049. },
  15050. "deliverygoodsname": {
  15051. "description": "现货商品名称",
  15052. "type": "string"
  15053. },
  15054. "enumdicname": {
  15055. "description": "现货商品单位名称",
  15056. "type": "string"
  15057. },
  15058. "gbenumdicname": {
  15059. "description": "品类单位名称",
  15060. "type": "string"
  15061. },
  15062. "gmunitid": {
  15063. "description": "品类单位id",
  15064. "type": "integer"
  15065. },
  15066. "isvalid": {
  15067. "description": "是否有效 - 0:无效 1:有效",
  15068. "type": "integer"
  15069. },
  15070. "operateid": {
  15071. "description": "最后操作人",
  15072. "type": "integer"
  15073. },
  15074. "operatesrc": {
  15075. "description": "最后操作来源 - 1:管理端 2:终端",
  15076. "type": "integer"
  15077. },
  15078. "operatetime": {
  15079. "description": "最后操作时间",
  15080. "type": "string"
  15081. },
  15082. "operatorname": {
  15083. "description": "操作人名称",
  15084. "type": "string"
  15085. },
  15086. "spotgoodsbrandid": {
  15087. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15088. "type": "integer"
  15089. },
  15090. "spotgoodsprice": {
  15091. "description": "现货价格",
  15092. "type": "number"
  15093. },
  15094. "tradedate": {
  15095. "description": "交易日(yyyyMMdd)",
  15096. "type": "string"
  15097. },
  15098. "unitid": {
  15099. "description": "现货商品单位id",
  15100. "type": "integer"
  15101. },
  15102. "wrstandardcode": {
  15103. "description": "品类代码",
  15104. "type": "string"
  15105. },
  15106. "wrstandardid": {
  15107. "description": "现货品类ID(通用则为0)",
  15108. "type": "integer"
  15109. },
  15110. "wrstandardname": {
  15111. "description": "品类名称",
  15112. "type": "string"
  15113. }
  15114. }
  15115. },
  15116. "models.Ermcp3SpotGoodsPriceLog": {
  15117. "type": "object",
  15118. "properties": {
  15119. "areauserid": {
  15120. "description": "所属机构id",
  15121. "type": "integer"
  15122. },
  15123. "brandname": {
  15124. "description": "品牌名称",
  15125. "type": "string"
  15126. },
  15127. "currencyid": {
  15128. "description": "报价货币ID",
  15129. "type": "integer"
  15130. },
  15131. "deliverygoodscode": {
  15132. "description": "现货商品代码",
  15133. "type": "string"
  15134. },
  15135. "deliverygoodsid": {
  15136. "description": "现货商品id",
  15137. "type": "integer"
  15138. },
  15139. "deliverygoodsname": {
  15140. "description": "现货商品名称",
  15141. "type": "string"
  15142. },
  15143. "enumdicname": {
  15144. "description": "现货商品单位名称",
  15145. "type": "string"
  15146. },
  15147. "gbenumdicname": {
  15148. "description": "品类单位名称",
  15149. "type": "string"
  15150. },
  15151. "gmunitid": {
  15152. "description": "品类单位id",
  15153. "type": "integer"
  15154. },
  15155. "logid": {
  15156. "description": "日志id",
  15157. "type": "integer"
  15158. },
  15159. "operateid": {
  15160. "description": "最后操作人",
  15161. "type": "integer"
  15162. },
  15163. "operatesrc": {
  15164. "description": "最后操作来源 - 1:管理端 2:终端",
  15165. "type": "integer"
  15166. },
  15167. "operatetime": {
  15168. "description": "最后操作时间",
  15169. "type": "string"
  15170. },
  15171. "operatorname": {
  15172. "description": "操作人名称",
  15173. "type": "string"
  15174. },
  15175. "spotgoodsbrandid": {
  15176. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15177. "type": "integer"
  15178. },
  15179. "spotgoodsprice": {
  15180. "description": "现货价格",
  15181. "type": "number"
  15182. },
  15183. "tradedate": {
  15184. "description": "交易日(yyyyMMdd)",
  15185. "type": "string"
  15186. },
  15187. "unitid": {
  15188. "description": "现货商品单位id",
  15189. "type": "integer"
  15190. },
  15191. "wrstandardcode": {
  15192. "description": "品类代码",
  15193. "type": "string"
  15194. },
  15195. "wrstandardid": {
  15196. "description": "现货品类ID(通用则为0)",
  15197. "type": "integer"
  15198. },
  15199. "wrstandardname": {
  15200. "description": "品类名称",
  15201. "type": "string"
  15202. }
  15203. }
  15204. },
  15205. "models.Ermcp3Wrstandard": {
  15206. "type": "object",
  15207. "properties": {
  15208. "areauserid": {
  15209. "description": "所属机构",
  15210. "type": "integer"
  15211. },
  15212. "convertfactor": {
  15213. "description": "标仓系数",
  15214. "type": "number"
  15215. },
  15216. "createtime": {
  15217. "description": "创建时间",
  15218. "type": "string"
  15219. },
  15220. "creatorid": {
  15221. "description": "创建人",
  15222. "type": "integer"
  15223. },
  15224. "deliverygoodsid": {
  15225. "description": "现货品种ID",
  15226. "type": "integer"
  15227. },
  15228. "enumdicname": {
  15229. "description": "品类单位名称",
  15230. "type": "string"
  15231. },
  15232. "isvalid": {
  15233. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15234. "type": "integer"
  15235. },
  15236. "minivalue": {
  15237. "description": "最小变动值",
  15238. "type": "integer"
  15239. },
  15240. "minivaluedp": {
  15241. "description": "最小变动值小数位",
  15242. "type": "integer"
  15243. },
  15244. "realminivalue": {
  15245. "description": "实际最小变动值",
  15246. "type": "integer"
  15247. },
  15248. "realminivaluedp": {
  15249. "description": "实际最小变动值小数位",
  15250. "type": "integer"
  15251. },
  15252. "remark": {
  15253. "description": "备注",
  15254. "type": "string"
  15255. },
  15256. "unitid": {
  15257. "description": "品类单位ID",
  15258. "type": "integer"
  15259. },
  15260. "updatetime": {
  15261. "description": "更新时间",
  15262. "type": "string"
  15263. },
  15264. "wrstandardcode": {
  15265. "description": "品类代码",
  15266. "type": "string"
  15267. },
  15268. "wrstandardid": {
  15269. "description": "品类ID(SEQ_WRSTANDARD)",
  15270. "type": "integer"
  15271. },
  15272. "wrstandardname": {
  15273. "description": "品类名称",
  15274. "type": "string"
  15275. }
  15276. }
  15277. },
  15278. "models.ErmcpAreaSpotDetailModel": {
  15279. "type": "object",
  15280. "properties": {
  15281. "contracttype": {
  15282. "description": "合同类型 1-采购 -1-销售",
  15283. "type": "integer"
  15284. },
  15285. "createtime": {
  15286. "description": "创建时间",
  15287. "type": "string"
  15288. },
  15289. "enumdicname": {
  15290. "description": "现货商品单位名称",
  15291. "type": "string"
  15292. },
  15293. "logtype": {
  15294. "description": "记录类型 1-套保 2-现货合同",
  15295. "type": "integer"
  15296. },
  15297. "qty": {
  15298. "description": "数量",
  15299. "type": "number"
  15300. },
  15301. "recordname": {
  15302. "description": "类型名称",
  15303. "type": "string"
  15304. },
  15305. "relatedid": {
  15306. "description": "套保计划ID/现货合同ID",
  15307. "type": "string"
  15308. },
  15309. "relatedno": {
  15310. "description": "编号",
  15311. "type": "string"
  15312. },
  15313. "strtime": {
  15314. "description": "时间",
  15315. "type": "string"
  15316. },
  15317. "wrstandardcode": {
  15318. "description": "现货商品代码",
  15319. "type": "string"
  15320. },
  15321. "wrstandardname": {
  15322. "description": "现货商品名称",
  15323. "type": "string"
  15324. }
  15325. }
  15326. },
  15327. "models.ErmcpAreaStock": {
  15328. "type": "object",
  15329. "properties": {
  15330. "brandname": {
  15331. "description": "品牌名称",
  15332. "type": "string"
  15333. },
  15334. "curstock": {
  15335. "description": "期末库存量(今日量)",
  15336. "type": "number"
  15337. },
  15338. "deliverygoodsid": {
  15339. "description": "现货品种ID",
  15340. "type": "integer"
  15341. },
  15342. "enumdicname": {
  15343. "description": "单位名称",
  15344. "type": "string"
  15345. },
  15346. "modelname": {
  15347. "description": "型号名称",
  15348. "type": "string"
  15349. },
  15350. "oristock": {
  15351. "description": "期初库存量(昨日量)",
  15352. "type": "number"
  15353. },
  15354. "spotgoodsbrandid": {
  15355. "description": "现货品牌ID",
  15356. "type": "integer"
  15357. },
  15358. "spotgoodsmodelid": {
  15359. "description": "现货型号ID",
  15360. "type": "integer"
  15361. },
  15362. "todaybuyinqty": {
  15363. "description": "今日采购入库量",
  15364. "type": "number"
  15365. },
  15366. "todayproduceinqty": {
  15367. "description": "今日生产入库量",
  15368. "type": "number"
  15369. },
  15370. "todayproduceoutqty": {
  15371. "description": "今日生产出库量",
  15372. "type": "number"
  15373. },
  15374. "todayselloutqty": {
  15375. "description": "今日销售出库量",
  15376. "type": "number"
  15377. },
  15378. "unitid": {
  15379. "description": "单位id",
  15380. "type": "integer"
  15381. },
  15382. "updatetime": {
  15383. "description": "更新时间",
  15384. "type": "string"
  15385. },
  15386. "userid": {
  15387. "description": "机构ID",
  15388. "type": "integer"
  15389. },
  15390. "username": {
  15391. "description": "机构名称",
  15392. "type": "string"
  15393. },
  15394. "warehousecode": {
  15395. "description": "仓库代码",
  15396. "type": "string"
  15397. },
  15398. "warehouseinfoid": {
  15399. "description": "仓库ID",
  15400. "type": "string"
  15401. },
  15402. "warehousename": {
  15403. "description": "仓库名称",
  15404. "type": "string"
  15405. },
  15406. "warehousetype": {
  15407. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15408. "type": "integer"
  15409. },
  15410. "wrstandardcode": {
  15411. "description": "现货商品代码",
  15412. "type": "string"
  15413. },
  15414. "wrstandardid": {
  15415. "description": "现货商品ID",
  15416. "type": "string"
  15417. },
  15418. "wrstandardname": {
  15419. "description": "现货商品名称",
  15420. "type": "string"
  15421. }
  15422. }
  15423. },
  15424. "models.ErmcpAreaStockApply": {
  15425. "type": "object",
  15426. "properties": {
  15427. "applyid": {
  15428. "description": "申请人",
  15429. "type": "integer"
  15430. },
  15431. "applyname": {
  15432. "description": "申请人名称",
  15433. "type": "string"
  15434. },
  15435. "applyremark": {
  15436. "description": "申请备注",
  15437. "type": "string"
  15438. },
  15439. "applysrc": {
  15440. "description": "申请来源 - 1:管理端 2:终端",
  15441. "type": "integer"
  15442. },
  15443. "applystatus": {
  15444. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15445. "type": "integer"
  15446. },
  15447. "applytime": {
  15448. "description": "申请时间",
  15449. "type": "string"
  15450. },
  15451. "auditid": {
  15452. "description": "审核人",
  15453. "type": "integer"
  15454. },
  15455. "auditname": {
  15456. "description": "审核人名称",
  15457. "type": "string"
  15458. },
  15459. "auditremark": {
  15460. "description": "审核备注",
  15461. "type": "string"
  15462. },
  15463. "auditsrc": {
  15464. "description": "审核来源 - 1:管理端 2:终端",
  15465. "type": "integer"
  15466. },
  15467. "audittime": {
  15468. "description": "审核时间",
  15469. "type": "string"
  15470. },
  15471. "audittradedate": {
  15472. "description": "审核交易日(yyyyMMdd)",
  15473. "type": "string"
  15474. },
  15475. "brandname": {
  15476. "description": "品牌名称",
  15477. "type": "string"
  15478. },
  15479. "buyuserid": {
  15480. "description": "采购方userid",
  15481. "type": "integer"
  15482. },
  15483. "buyusername": {
  15484. "description": "采购方名称",
  15485. "type": "string"
  15486. },
  15487. "contractno": {
  15488. "description": "合同编号",
  15489. "type": "string"
  15490. },
  15491. "contractqty": {
  15492. "description": "合同量",
  15493. "type": "number"
  15494. },
  15495. "contracttype": {
  15496. "description": "现货合同类型 - 1:采购 -1:销售",
  15497. "type": "integer"
  15498. },
  15499. "deliverygoodsid": {
  15500. "description": "现货品种ID",
  15501. "type": "integer"
  15502. },
  15503. "enumdicname": {
  15504. "description": "现货商品单位名称",
  15505. "type": "string"
  15506. },
  15507. "inoutapplyid": {
  15508. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15509. "type": "string"
  15510. },
  15511. "inouttype": {
  15512. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15513. "type": "integer"
  15514. },
  15515. "modelname": {
  15516. "description": "型号名称",
  15517. "type": "string"
  15518. },
  15519. "pricetype": {
  15520. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15521. "type": "integer"
  15522. },
  15523. "qty": {
  15524. "description": "数量",
  15525. "type": "number"
  15526. },
  15527. "selluserid": {
  15528. "description": "销售方userid",
  15529. "type": "integer"
  15530. },
  15531. "sellusername": {
  15532. "description": "销售方名称",
  15533. "type": "string"
  15534. },
  15535. "spotcontractid": {
  15536. "description": "关联现货合同ID",
  15537. "type": "string"
  15538. },
  15539. "spotgoodsbrandid": {
  15540. "description": "现货品牌ID",
  15541. "type": "integer"
  15542. },
  15543. "spotgoodsmodelid": {
  15544. "description": "现货型号ID",
  15545. "type": "integer"
  15546. },
  15547. "unitid": {
  15548. "description": "单位id",
  15549. "type": "integer"
  15550. },
  15551. "userid": {
  15552. "description": "机构ID",
  15553. "type": "integer"
  15554. },
  15555. "warehousecode": {
  15556. "description": "仓库代码",
  15557. "type": "string"
  15558. },
  15559. "warehouseinfoid": {
  15560. "description": "现货仓库ID",
  15561. "type": "string"
  15562. },
  15563. "warehousename": {
  15564. "description": "仓库名称",
  15565. "type": "string"
  15566. },
  15567. "warehousetype": {
  15568. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15569. "type": "integer"
  15570. },
  15571. "wrstandardcode": {
  15572. "description": "现货商品代码",
  15573. "type": "string"
  15574. },
  15575. "wrstandardid": {
  15576. "description": "现货商品ID",
  15577. "type": "string"
  15578. },
  15579. "wrstandardname": {
  15580. "description": "现货商品名称",
  15581. "type": "string"
  15582. }
  15583. }
  15584. },
  15585. "models.ErmcpAreaStockApplySum": {
  15586. "type": "object",
  15587. "properties": {
  15588. "brandname": {
  15589. "description": "品牌名称",
  15590. "type": "string"
  15591. },
  15592. "inouttype": {
  15593. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15594. "type": "integer"
  15595. },
  15596. "modelname": {
  15597. "description": "型号名称",
  15598. "type": "string"
  15599. },
  15600. "spotcontractid": {
  15601. "description": "关联现货合同ID",
  15602. "type": "string"
  15603. },
  15604. "spotgoodsbrandid": {
  15605. "description": "品牌id",
  15606. "type": "integer"
  15607. },
  15608. "spotgoodsmodelid": {
  15609. "description": "型号id",
  15610. "type": "integer"
  15611. },
  15612. "totalqty": {
  15613. "description": "总数量",
  15614. "type": "number"
  15615. }
  15616. }
  15617. },
  15618. "models.ErmcpAreaStockReport": {
  15619. "type": "object",
  15620. "properties": {
  15621. "brandname": {
  15622. "description": "品牌名称",
  15623. "type": "string"
  15624. },
  15625. "curstock": {
  15626. "description": "期末库存量",
  15627. "type": "number"
  15628. },
  15629. "deliverygoodsid": {
  15630. "description": "现货品种ID",
  15631. "type": "integer"
  15632. },
  15633. "enumdicname": {
  15634. "description": "单位名称",
  15635. "type": "string"
  15636. },
  15637. "modelname": {
  15638. "description": "型号名称",
  15639. "type": "string"
  15640. },
  15641. "oristock": {
  15642. "description": "期初库存量",
  15643. "type": "number"
  15644. },
  15645. "spotgoodsbrandid": {
  15646. "description": "现货品牌ID",
  15647. "type": "integer"
  15648. },
  15649. "spotgoodsmodelid": {
  15650. "description": "现货型号ID",
  15651. "type": "integer"
  15652. },
  15653. "todaybuyinqty": {
  15654. "description": "今日采购入库量",
  15655. "type": "number"
  15656. },
  15657. "todayproduceinqty": {
  15658. "description": "今日生产入库量",
  15659. "type": "number"
  15660. },
  15661. "todayproduceoutqty": {
  15662. "description": "今日生产出库量",
  15663. "type": "number"
  15664. },
  15665. "todayselloutqty": {
  15666. "description": "今日销售出库量",
  15667. "type": "number"
  15668. },
  15669. "unitid": {
  15670. "description": "单位id",
  15671. "type": "integer"
  15672. },
  15673. "updatetime": {
  15674. "description": "更新时间",
  15675. "type": "string"
  15676. },
  15677. "userid": {
  15678. "description": "机构ID",
  15679. "type": "integer"
  15680. },
  15681. "username": {
  15682. "description": "机构名称",
  15683. "type": "string"
  15684. },
  15685. "warehousecode": {
  15686. "description": "仓库代码",
  15687. "type": "string"
  15688. },
  15689. "warehouseinfoid": {
  15690. "description": "仓库ID",
  15691. "type": "string"
  15692. },
  15693. "warehousename": {
  15694. "description": "仓库名称",
  15695. "type": "string"
  15696. },
  15697. "warehousetype": {
  15698. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15699. "type": "integer"
  15700. },
  15701. "wrstandardcode": {
  15702. "description": "现货商品代码",
  15703. "type": "string"
  15704. },
  15705. "wrstandardid": {
  15706. "description": "现货商品ID",
  15707. "type": "string"
  15708. },
  15709. "wrstandardname": {
  15710. "description": "现货商品名称",
  15711. "type": "string"
  15712. }
  15713. }
  15714. },
  15715. "models.ErmcpAvalidGoodsGroupModel": {
  15716. "type": "object",
  15717. "properties": {
  15718. "goodsgroupid": {
  15719. "description": "期货品种id",
  15720. "type": "integer"
  15721. },
  15722. "goodsgroupname": {
  15723. "description": "期货品种名称",
  15724. "type": "string"
  15725. },
  15726. "goodunitid": {
  15727. "description": "品种单位id",
  15728. "type": "integer"
  15729. },
  15730. "goodunitname": {
  15731. "description": "品种单位名称",
  15732. "type": "string"
  15733. },
  15734. "outergroupcode": {
  15735. "description": "期货品种代码",
  15736. "type": "string"
  15737. }
  15738. }
  15739. },
  15740. "models.ErmcpBizGroupEx": {
  15741. "type": "object",
  15742. "properties": {
  15743. "acclist": {
  15744. "description": "账号列表",
  15745. "type": "array",
  15746. "items": {
  15747. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15748. }
  15749. },
  15750. "bizgroupid": {
  15751. "description": "业务分组id",
  15752. "type": "integer"
  15753. },
  15754. "biztype": {
  15755. "description": "业务类型 1-套保 2-套利",
  15756. "type": "integer"
  15757. },
  15758. "wrlist": {
  15759. "description": "现货商品表",
  15760. "type": "array",
  15761. "items": {
  15762. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15763. }
  15764. }
  15765. }
  15766. },
  15767. "models.ErmcpBizGroupSpotGoods": {
  15768. "type": "object",
  15769. "properties": {
  15770. "areauserid": {
  15771. "description": "所属机构id",
  15772. "type": "integer"
  15773. },
  15774. "bizgroupid": {
  15775. "description": "分组id",
  15776. "type": "integer"
  15777. },
  15778. "biztype": {
  15779. "description": "业务类型 1-套保 2-套利",
  15780. "type": "integer"
  15781. },
  15782. "deliverygoodscode": {
  15783. "description": "现货商品代码",
  15784. "type": "string"
  15785. },
  15786. "deliverygoodsid": {
  15787. "description": "现货商品id",
  15788. "type": "integer"
  15789. },
  15790. "deliverygoodsname": {
  15791. "description": "现货商品名称",
  15792. "type": "string"
  15793. },
  15794. "unitid": {
  15795. "description": "现货商品单位id",
  15796. "type": "integer"
  15797. }
  15798. }
  15799. },
  15800. "models.ErmcpBizGroupTaAccount": {
  15801. "type": "object",
  15802. "properties": {
  15803. "accountid": {
  15804. "description": "账号id",
  15805. "type": "string"
  15806. },
  15807. "accountname": {
  15808. "description": "账号名称",
  15809. "type": "string"
  15810. },
  15811. "areauserid": {
  15812. "description": "所属机构id",
  15813. "type": "integer"
  15814. },
  15815. "bizgroupid": {
  15816. "description": "业务分组id",
  15817. "type": "integer"
  15818. },
  15819. "ismain": {
  15820. "description": "是否主账号 1-是 0-否",
  15821. "type": "integer"
  15822. }
  15823. }
  15824. },
  15825. "models.ErmcpDGFactoryItem": {
  15826. "type": "object",
  15827. "properties": {
  15828. "areauserid": {
  15829. "description": "用户id",
  15830. "type": "integer"
  15831. },
  15832. "deliverygoodsid": {
  15833. "description": "现货品种ID",
  15834. "type": "integer"
  15835. },
  15836. "dgfactoryitemid": {
  15837. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15838. "type": "integer"
  15839. },
  15840. "dgfactoryitemtypeid": {
  15841. "description": "要素项类型",
  15842. "type": "integer"
  15843. },
  15844. "dgfactoryitemvalue": {
  15845. "description": "要素项值(类型为仓库时填写仓库名称)",
  15846. "type": "string"
  15847. },
  15848. "isvalid": {
  15849. "description": "是否有效 - 0:无效 1:有效",
  15850. "type": "integer"
  15851. },
  15852. "orderindex": {
  15853. "description": "顺序",
  15854. "type": "integer"
  15855. },
  15856. "warehouseid": {
  15857. "description": "仓库ID(类型为仓库时填写)",
  15858. "type": "integer"
  15859. }
  15860. }
  15861. },
  15862. "models.ErmcpDeliveryGoods": {
  15863. "type": "object",
  15864. "properties": {
  15865. "agreeunit": {
  15866. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15867. "type": "integer"
  15868. },
  15869. "areauserid": {
  15870. "description": "所属机构",
  15871. "type": "integer"
  15872. },
  15873. "auditflag": {
  15874. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15875. "type": "integer"
  15876. },
  15877. "categoryid": {
  15878. "description": "类别ID(SEQ_WRCATEGORY)",
  15879. "type": "integer"
  15880. },
  15881. "deliverygoodscode": {
  15882. "description": "现货品种代码",
  15883. "type": "string"
  15884. },
  15885. "deliverygoodsid": {
  15886. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15887. "type": "integer"
  15888. },
  15889. "deliverygoodsname": {
  15890. "description": "现货品种名称",
  15891. "type": "string"
  15892. },
  15893. "deliverygoodstype": {
  15894. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15895. "type": "integer"
  15896. },
  15897. "dgstatus": {
  15898. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15899. "type": "integer"
  15900. },
  15901. "enumdicname": {
  15902. "description": "现货品种单位名称",
  15903. "type": "string"
  15904. },
  15905. "goodsunitid": {
  15906. "description": "现货品种单位ID",
  15907. "type": "integer"
  15908. },
  15909. "isvalid": {
  15910. "description": "是否有效 - 0:无效 1:有效",
  15911. "type": "integer"
  15912. },
  15913. "qtydecimalplace": {
  15914. "description": "成交量小数位",
  15915. "type": "integer"
  15916. },
  15917. "remark": {
  15918. "description": "备注",
  15919. "type": "string"
  15920. },
  15921. "standardqty": {
  15922. "description": "标准数量(库位数量) [标准品特有]",
  15923. "type": "integer"
  15924. },
  15925. "standardqtyrange": {
  15926. "description": "标准数量偏差范围 [标准品特有]",
  15927. "type": "integer"
  15928. }
  15929. }
  15930. },
  15931. "models.ErmcpDeliveryGoodsDetail2": {
  15932. "type": "object",
  15933. "properties": {
  15934. "convertratio": {
  15935. "description": "套保系数(折算系数)",
  15936. "type": "number"
  15937. },
  15938. "data": {
  15939. "description": "现货商品基本信息(交割品种)",
  15940. "type": "object",
  15941. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15942. },
  15943. "gblist": {
  15944. "description": "品牌列表",
  15945. "type": "array",
  15946. "items": {
  15947. "$ref": "#/definitions/models.Ermcp3Brand"
  15948. }
  15949. },
  15950. "gmlist": {
  15951. "description": "品类列表(仓单标准)",
  15952. "type": "array",
  15953. "items": {
  15954. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15955. }
  15956. }
  15957. }
  15958. },
  15959. "models.ErmcpDeliveryGoodsDetailEx": {
  15960. "type": "object",
  15961. "properties": {
  15962. "data": {
  15963. "description": "现货商品基本信息(交割品种)",
  15964. "type": "object",
  15965. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15966. },
  15967. "gblist": {
  15968. "description": "品牌列表",
  15969. "type": "array",
  15970. "items": {
  15971. "$ref": "#/definitions/models.Ermcp3Brand"
  15972. }
  15973. },
  15974. "gmlist": {
  15975. "description": "品类列表(仓单标准)",
  15976. "type": "array",
  15977. "items": {
  15978. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15979. }
  15980. },
  15981. "mgList": {
  15982. "description": "套保列表",
  15983. "type": "array",
  15984. "items": {
  15985. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15986. }
  15987. }
  15988. }
  15989. },
  15990. "models.ErmcpExposureDetailModel": {
  15991. "type": "object",
  15992. "properties": {
  15993. "areauserid": {
  15994. "description": "机构ID",
  15995. "type": "integer"
  15996. },
  15997. "changeQty": {
  15998. "description": "套保变动量",
  15999. "type": "number"
  16000. },
  16001. "contracttype": {
  16002. "description": "现货合同类型 - 1:采购 -1:销售",
  16003. "type": "integer"
  16004. },
  16005. "convertfactor": {
  16006. "description": "标仓系数",
  16007. "type": "number"
  16008. },
  16009. "convertratio": {
  16010. "description": "套保系数",
  16011. "type": "number"
  16012. },
  16013. "createtime": {
  16014. "description": "时间",
  16015. "type": "string"
  16016. },
  16017. "enumdicname": {
  16018. "description": "现货商品单位名称",
  16019. "type": "string"
  16020. },
  16021. "logtype": {
  16022. "description": "类型 - 1:套保计划 2:现货合同",
  16023. "type": "integer"
  16024. },
  16025. "middlegoodsId": {
  16026. "description": "套保商品id",
  16027. "type": "integer"
  16028. },
  16029. "middlegoodscode": {
  16030. "description": "套保商品代码",
  16031. "type": "string"
  16032. },
  16033. "middlegoodsname": {
  16034. "description": "套保商品名称",
  16035. "type": "string"
  16036. },
  16037. "qty": {
  16038. "description": "数量",
  16039. "type": "number"
  16040. },
  16041. "relateNo": {
  16042. "description": "现货合同/套保计划编号",
  16043. "type": "string"
  16044. },
  16045. "wrstandardcode": {
  16046. "description": "现货商品代码",
  16047. "type": "string"
  16048. },
  16049. "wrstandardid": {
  16050. "description": "现货商品ID",
  16051. "type": "integer"
  16052. },
  16053. "wrstandardname": {
  16054. "description": "现货商品名称",
  16055. "type": "string"
  16056. }
  16057. }
  16058. },
  16059. "models.ErmcpExposurePostion": {
  16060. "type": "object",
  16061. "properties": {
  16062. "agreeunit": {
  16063. "description": "合约单位",
  16064. "type": "string"
  16065. },
  16066. "areauserid": {
  16067. "description": "所属机构id",
  16068. "type": "integer"
  16069. },
  16070. "convertratio": {
  16071. "description": "期货品种系数(折算系数)",
  16072. "type": "number"
  16073. },
  16074. "curqty": {
  16075. "description": "当前持仓",
  16076. "type": "integer"
  16077. },
  16078. "diffhedgeqty": {
  16079. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16080. "type": "number"
  16081. },
  16082. "diffqty": {
  16083. "description": "持仓变动量=当前持仓-昨日持仓",
  16084. "type": "integer"
  16085. },
  16086. "goodscode": {
  16087. "description": "商品代码",
  16088. "type": "string"
  16089. },
  16090. "goodsid": {
  16091. "description": "商品id",
  16092. "type": "integer"
  16093. },
  16094. "goodsname": {
  16095. "description": "商品名称",
  16096. "type": "string"
  16097. },
  16098. "middlegoodsid": {
  16099. "description": "套保商品id",
  16100. "type": "integer"
  16101. },
  16102. "ydqty": {
  16103. "description": "昨日持仓",
  16104. "type": "integer"
  16105. }
  16106. }
  16107. },
  16108. "models.ErmcpFuturesCompany": {
  16109. "type": "object",
  16110. "properties": {
  16111. "brokerid": {
  16112. "description": "经纪公司代码",
  16113. "type": "string"
  16114. },
  16115. "channeladdress": {
  16116. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16117. "type": "string"
  16118. },
  16119. "channelid": {
  16120. "description": "对冲渠道ID",
  16121. "type": "string"
  16122. },
  16123. "createtime": {
  16124. "description": "创建时间",
  16125. "type": "string"
  16126. },
  16127. "creatorid": {
  16128. "description": "创建人",
  16129. "type": "string"
  16130. },
  16131. "fcid": {
  16132. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16133. "type": "integer"
  16134. },
  16135. "fcname": {
  16136. "description": "期货公司名称",
  16137. "type": "string"
  16138. },
  16139. "isvalid": {
  16140. "description": "是否有效 - 0:无效 1:有效",
  16141. "type": "integer"
  16142. },
  16143. "mhpaddress": {
  16144. "description": "MHP服务地址(IP:Port)",
  16145. "type": "string"
  16146. },
  16147. "riskrulegroupid": {
  16148. "description": "风控规则组ID",
  16149. "type": "string"
  16150. },
  16151. "tradefeetmpid": {
  16152. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16153. "type": "string"
  16154. },
  16155. "trademargintmpid": {
  16156. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16157. "type": "string"
  16158. },
  16159. "traderatetmpid": {
  16160. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16161. "type": "string"
  16162. },
  16163. "updatetime": {
  16164. "description": "更新时间",
  16165. "type": "string"
  16166. },
  16167. "updatorid": {
  16168. "description": "更新人",
  16169. "type": "string"
  16170. }
  16171. }
  16172. },
  16173. "models.ErmcpGGConvertCfg": {
  16174. "type": "object",
  16175. "properties": {
  16176. "convertratio": {
  16177. "description": "折算系数",
  16178. "type": "number"
  16179. },
  16180. "destgoodsgroupid": {
  16181. "description": "目标品种ID",
  16182. "type": "integer"
  16183. },
  16184. "dstcode": {
  16185. "description": "目录品种代码",
  16186. "type": "string"
  16187. },
  16188. "dstexchangecode": {
  16189. "description": "目标期货交易所",
  16190. "type": "string"
  16191. },
  16192. "dstname": {
  16193. "description": "目标品种名称",
  16194. "type": "string"
  16195. },
  16196. "dstunitid": {
  16197. "description": "目标品种单位ID",
  16198. "type": "integer"
  16199. },
  16200. "dstunitidname": {
  16201. "description": "目标品种单位名称",
  16202. "type": "string"
  16203. },
  16204. "modifytime": {
  16205. "description": "修改时间",
  16206. "type": "string"
  16207. },
  16208. "srccode": {
  16209. "description": "源品种代码",
  16210. "type": "string"
  16211. },
  16212. "srcexchangecode": {
  16213. "description": "源期货交易所",
  16214. "type": "string"
  16215. },
  16216. "srcgoodsgroupid": {
  16217. "description": "源品种ID",
  16218. "type": "integer"
  16219. },
  16220. "srcname": {
  16221. "description": "源品种名称",
  16222. "type": "string"
  16223. },
  16224. "srcunitid": {
  16225. "description": "源品种单位ID",
  16226. "type": "integer"
  16227. },
  16228. "srcunitidname": {
  16229. "description": "源品种单位名称",
  16230. "type": "string"
  16231. }
  16232. }
  16233. },
  16234. "models.ErmcpGoodsBrand": {
  16235. "type": "object",
  16236. "properties": {
  16237. "areauserid": {
  16238. "description": "所属机构",
  16239. "type": "integer"
  16240. },
  16241. "brandid": {
  16242. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16243. "type": "integer"
  16244. },
  16245. "brandname": {
  16246. "description": "品牌名称",
  16247. "type": "string"
  16248. },
  16249. "createtime": {
  16250. "description": "创建时间",
  16251. "type": "string"
  16252. },
  16253. "creatorid": {
  16254. "description": "创建人",
  16255. "type": "integer"
  16256. },
  16257. "creatorsrc": {
  16258. "description": "创建人来源 - 1:管理端 2:终端",
  16259. "type": "integer"
  16260. },
  16261. "deliverygoodsid": {
  16262. "description": "现货品种ID",
  16263. "type": "integer"
  16264. },
  16265. "isvalid": {
  16266. "description": "是否有效 - 0:无效 1:有效",
  16267. "type": "integer"
  16268. },
  16269. "updatetime": {
  16270. "description": "更新时间",
  16271. "type": "string"
  16272. },
  16273. "updatorid": {
  16274. "description": "更新人",
  16275. "type": "integer"
  16276. },
  16277. "updatorsrc": {
  16278. "description": "更新人来源 - 1:管理端 2:终端",
  16279. "type": "integer"
  16280. },
  16281. "wrstandardid": {
  16282. "description": "现货商品ID",
  16283. "type": "integer"
  16284. }
  16285. }
  16286. },
  16287. "models.ErmcpGoodsModel": {
  16288. "type": "object",
  16289. "properties": {
  16290. "areauserid": {
  16291. "description": "所属机构",
  16292. "type": "integer"
  16293. },
  16294. "convertfactor": {
  16295. "description": "标仓系数",
  16296. "type": "number"
  16297. },
  16298. "createtime": {
  16299. "description": "创建时间",
  16300. "type": "string"
  16301. },
  16302. "creatorid": {
  16303. "description": "创建人",
  16304. "type": "integer"
  16305. },
  16306. "creatorsrc": {
  16307. "description": "创建人来源 - 1:管理端 2:终端",
  16308. "type": "integer"
  16309. },
  16310. "deliverygoodsid": {
  16311. "description": "现货品种ID",
  16312. "type": "integer"
  16313. },
  16314. "isvalid": {
  16315. "description": "是否有效 - 0:无效 1:有效",
  16316. "type": "integer"
  16317. },
  16318. "modelid": {
  16319. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16320. "type": "integer"
  16321. },
  16322. "modelname": {
  16323. "description": "型号名称",
  16324. "type": "string"
  16325. },
  16326. "updatetime": {
  16327. "description": "更新时间",
  16328. "type": "string"
  16329. },
  16330. "updatorid": {
  16331. "description": "更新人",
  16332. "type": "integer"
  16333. },
  16334. "updatorsrc": {
  16335. "description": "更新人来源 - 1:管理端 2:终端",
  16336. "type": "integer"
  16337. },
  16338. "wrstandardid": {
  16339. "description": "现货商品ID",
  16340. "type": "integer"
  16341. }
  16342. }
  16343. },
  16344. "models.ErmcpHedgePlan": {
  16345. "type": "object",
  16346. "properties": {
  16347. "areauserid": {
  16348. "description": "用户ID",
  16349. "type": "integer"
  16350. },
  16351. "audittime": {
  16352. "description": "审核时间",
  16353. "type": "string"
  16354. },
  16355. "contracttype": {
  16356. "description": "计划类型 - 1:采购 -1:销售",
  16357. "type": "integer"
  16358. },
  16359. "convertfactor": {
  16360. "description": "标仓系数",
  16361. "type": "number"
  16362. },
  16363. "createtime": {
  16364. "description": "创建时间",
  16365. "type": "string"
  16366. },
  16367. "deliverygoodsid": {
  16368. "description": "现货品种ID",
  16369. "type": "integer"
  16370. },
  16371. "deliverygoodsname": {
  16372. "description": "现货品种名称",
  16373. "type": "string"
  16374. },
  16375. "enumdicname": {
  16376. "description": "单位名称",
  16377. "type": "string"
  16378. },
  16379. "hedgeplanid": {
  16380. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16381. "type": "string"
  16382. },
  16383. "hedgeplanno": {
  16384. "description": "套保计划编号(名称)",
  16385. "type": "string"
  16386. },
  16387. "hedgeplanstatus": {
  16388. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16389. "type": "integer"
  16390. },
  16391. "planqty": {
  16392. "description": "计划数量",
  16393. "type": "number"
  16394. },
  16395. "plantime": {
  16396. "description": "计划时间",
  16397. "type": "string"
  16398. },
  16399. "producttype": {
  16400. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16401. "type": "integer"
  16402. },
  16403. "remark": {
  16404. "description": "备注",
  16405. "type": "string"
  16406. },
  16407. "spotgoodsdesc": {
  16408. "description": "商品型号",
  16409. "type": "string"
  16410. },
  16411. "unitid": {
  16412. "description": "单位id",
  16413. "type": "integer"
  16414. },
  16415. "updatetime": {
  16416. "description": "更新时间",
  16417. "type": "string"
  16418. },
  16419. "wrstandardid": {
  16420. "description": "现货商品ID",
  16421. "type": "integer"
  16422. },
  16423. "wrstandardname": {
  16424. "description": "现货商品名称",
  16425. "type": "string"
  16426. }
  16427. }
  16428. },
  16429. "models.ErmcpHedgePosition": {
  16430. "type": "object",
  16431. "properties": {
  16432. "accountid": {
  16433. "description": "资金账号[外部母账户]",
  16434. "type": "integer"
  16435. },
  16436. "curbuyposition": {
  16437. "description": "期末买头寸",
  16438. "type": "integer"
  16439. },
  16440. "cursellposition": {
  16441. "description": "期末卖头寸",
  16442. "type": "integer"
  16443. },
  16444. "curtdbuyposition": {
  16445. "description": "期末今日买头寸",
  16446. "type": "integer"
  16447. },
  16448. "curtdsellposition": {
  16449. "description": "期末今日卖头寸",
  16450. "type": "integer"
  16451. },
  16452. "curydbuyposition": {
  16453. "description": "期末上日买头寸",
  16454. "type": "integer"
  16455. },
  16456. "curydsellposition": {
  16457. "description": "期末上日卖头寸",
  16458. "type": "integer"
  16459. },
  16460. "decreaseqty": {
  16461. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16462. "type": "integer"
  16463. },
  16464. "fretdbuyposition": {
  16465. "description": "冻结今日买头寸",
  16466. "type": "integer"
  16467. },
  16468. "fretdsellposition": {
  16469. "description": "冻结今日卖头寸",
  16470. "type": "integer"
  16471. },
  16472. "freydbuyposition": {
  16473. "description": "冻结上日买头寸",
  16474. "type": "integer"
  16475. },
  16476. "freydsellposition": {
  16477. "description": "冻结上日卖头寸",
  16478. "type": "integer"
  16479. },
  16480. "goodscode": {
  16481. "description": "商品代码",
  16482. "type": "string"
  16483. },
  16484. "goodsid": {
  16485. "description": "商品id",
  16486. "type": "integer"
  16487. },
  16488. "goodsname": {
  16489. "description": "商品名称",
  16490. "type": "string"
  16491. },
  16492. "hedgeaccountcode": {
  16493. "description": "对冲账号",
  16494. "type": "string"
  16495. },
  16496. "hedgegoodsid": {
  16497. "description": "对冲合约ID",
  16498. "type": "integer"
  16499. },
  16500. "increaseqty": {
  16501. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16502. "type": "integer"
  16503. },
  16504. "marketid": {
  16505. "description": "市场ID",
  16506. "type": "integer"
  16507. },
  16508. "relateduserid": {
  16509. "description": "关联用户id",
  16510. "type": "integer"
  16511. },
  16512. "totalcurqty": {
  16513. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16514. "type": "integer"
  16515. },
  16516. "totalydqty": {
  16517. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16518. "type": "integer"
  16519. },
  16520. "tradedate": {
  16521. "description": "交易日(yyyyMMdd)",
  16522. "type": "string"
  16523. },
  16524. "ydbuyposition": {
  16525. "description": "期初买头寸",
  16526. "type": "integer"
  16527. },
  16528. "ydsellposition": {
  16529. "description": "期初卖头寸",
  16530. "type": "integer"
  16531. }
  16532. }
  16533. },
  16534. "models.ErmcpHedgePositionDetail": {
  16535. "type": "object",
  16536. "properties": {
  16537. "buyorsell": {
  16538. "description": "买卖方向 0-买 1-卖",
  16539. "type": "integer"
  16540. },
  16541. "channelbuildtype": {
  16542. "description": "开平方向 1-建仓 2-平仓",
  16543. "type": "integer"
  16544. },
  16545. "goodscode": {
  16546. "description": "商品代码",
  16547. "type": "string"
  16548. },
  16549. "goodsname": {
  16550. "description": "商品名称",
  16551. "type": "string"
  16552. },
  16553. "hedgegoodsid": {
  16554. "description": "商品id",
  16555. "type": "integer"
  16556. },
  16557. "tradeqty": {
  16558. "description": "数量(成交数量)",
  16559. "type": "integer"
  16560. },
  16561. "tradetime": {
  16562. "description": "时间(成交时间)",
  16563. "type": "string"
  16564. }
  16565. }
  16566. },
  16567. "models.ErmcpHisExposure": {
  16568. "type": "object",
  16569. "properties": {
  16570. "needhedgeexposoure": {
  16571. "description": "应套保敞口",
  16572. "type": "number"
  16573. },
  16574. "reckondate": {
  16575. "description": "日照时期(yyyyMMdd)",
  16576. "type": "string"
  16577. },
  16578. "totalexposure": {
  16579. "description": "总敞口",
  16580. "type": "number"
  16581. }
  16582. }
  16583. },
  16584. "models.ErmcpHisExposureS": {
  16585. "type": "object",
  16586. "properties": {
  16587. "data": {
  16588. "description": "历史敞口",
  16589. "type": "array",
  16590. "items": {
  16591. "$ref": "#/definitions/models.ErmcpHisExposure"
  16592. }
  16593. },
  16594. "enumdicname": {
  16595. "description": "单位名称",
  16596. "type": "string"
  16597. },
  16598. "middlegoodscode": {
  16599. "description": "套保品种代码",
  16600. "type": "string"
  16601. },
  16602. "middlegoodsid": {
  16603. "description": "套保品种ID",
  16604. "type": "integer"
  16605. },
  16606. "middlegoodsname": {
  16607. "description": "套保品种名称",
  16608. "type": "string"
  16609. }
  16610. }
  16611. },
  16612. "models.ErmcpLoginTaAccount": {
  16613. "type": "object",
  16614. "properties": {
  16615. "accountid": {
  16616. "description": "账号id",
  16617. "type": "integer"
  16618. },
  16619. "accountname": {
  16620. "description": "账号名称",
  16621. "type": "string"
  16622. }
  16623. }
  16624. },
  16625. "models.ErmcpLoginUser": {
  16626. "type": "object",
  16627. "properties": {
  16628. "acclist": {
  16629. "description": "关联资金账号",
  16630. "type": "array",
  16631. "items": {
  16632. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16633. }
  16634. },
  16635. "accountname": {
  16636. "description": "用户名称",
  16637. "type": "string"
  16638. },
  16639. "clientroleid": {
  16640. "description": "角色id(usertype=2)",
  16641. "type": "integer"
  16642. },
  16643. "createtime": {
  16644. "description": "创建时间",
  16645. "type": "string"
  16646. },
  16647. "logincode": {
  16648. "description": "登录代码",
  16649. "type": "string"
  16650. },
  16651. "loginid": {
  16652. "description": "登录id(LOGINID)",
  16653. "type": "integer"
  16654. },
  16655. "loginstatus": {
  16656. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16657. "type": "integer"
  16658. },
  16659. "memberuserid": {
  16660. "description": "所属会员id",
  16661. "type": "integer"
  16662. },
  16663. "mobile": {
  16664. "description": "手机号",
  16665. "type": "string"
  16666. },
  16667. "modifytime": {
  16668. "description": "修改时间",
  16669. "type": "string"
  16670. },
  16671. "password": {
  16672. "description": "密码(不可解密)",
  16673. "type": "string"
  16674. },
  16675. "rolename": {
  16676. "description": "角色名称",
  16677. "type": "string"
  16678. },
  16679. "rolestatus": {
  16680. "description": "角色状态 1-启用 2-停用",
  16681. "type": "integer"
  16682. },
  16683. "roletype": {
  16684. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16685. "type": "string"
  16686. },
  16687. "userid": {
  16688. "description": "用户id",
  16689. "type": "integer"
  16690. },
  16691. "usertype": {
  16692. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16693. "type": "integer"
  16694. }
  16695. }
  16696. },
  16697. "models.ErmcpLoginUserEx": {
  16698. "type": "object",
  16699. "properties": {
  16700. "roleid": {
  16701. "description": "角色id",
  16702. "type": "integer"
  16703. },
  16704. "rolename": {
  16705. "description": "角色名称",
  16706. "type": "string"
  16707. },
  16708. "userlist": {
  16709. "description": "用户列表",
  16710. "type": "array",
  16711. "items": {
  16712. "$ref": "#/definitions/models.ErmcpLoginUser"
  16713. }
  16714. },
  16715. "usertype": {
  16716. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16717. "type": "integer"
  16718. }
  16719. }
  16720. },
  16721. "models.ErmcpMiddleGoodsChangeLog": {
  16722. "type": "object",
  16723. "properties": {
  16724. "aftervalue": {
  16725. "description": "变更后",
  16726. "type": "number"
  16727. },
  16728. "applyid": {
  16729. "description": "操作人",
  16730. "type": "integer"
  16731. },
  16732. "applyname": {
  16733. "description": "操作人名称",
  16734. "type": "string"
  16735. },
  16736. "applysrc": {
  16737. "description": "操作来源 - 1:管理端 2:终端",
  16738. "type": "integer"
  16739. },
  16740. "beforevalue": {
  16741. "description": "变更前",
  16742. "type": "number"
  16743. },
  16744. "changelogtype": {
  16745. "description": "变更流水类型 - 1:套保比率变更",
  16746. "type": "integer"
  16747. },
  16748. "handlestatus": {
  16749. "description": "处理状态",
  16750. "type": "integer"
  16751. },
  16752. "logdatetime": {
  16753. "description": "流水日期",
  16754. "type": "string"
  16755. },
  16756. "logid": {
  16757. "description": "流水ID",
  16758. "type": "integer"
  16759. },
  16760. "logremark": {
  16761. "description": "流水备注",
  16762. "type": "string"
  16763. },
  16764. "middlegoodsid": {
  16765. "description": "套保品种ID",
  16766. "type": "integer"
  16767. },
  16768. "tradedate": {
  16769. "description": "交易日(yyyyMMdd)",
  16770. "type": "string"
  16771. },
  16772. "updatetime": {
  16773. "description": "更新时间",
  16774. "type": "string"
  16775. }
  16776. }
  16777. },
  16778. "models.ErmcpMiddleGoodsDetail": {
  16779. "type": "object",
  16780. "properties": {
  16781. "cvList": {
  16782. "description": "期货品种折算列表",
  16783. "type": "array",
  16784. "items": {
  16785. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16786. }
  16787. },
  16788. "mg": {
  16789. "description": "套保品种基本信息",
  16790. "type": "object",
  16791. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16792. },
  16793. "wrcList": {
  16794. "description": "现货品种列表(现货商品折算配置)",
  16795. "type": "array",
  16796. "items": {
  16797. "$ref": "#/definitions/models.WRSConverTDetail"
  16798. }
  16799. }
  16800. }
  16801. },
  16802. "models.ErmcpMiddleGoodsModel": {
  16803. "type": "object",
  16804. "properties": {
  16805. "areauserid": {
  16806. "description": "机构用户ID",
  16807. "type": "integer"
  16808. },
  16809. "createtime": {
  16810. "description": "修改时间",
  16811. "type": "string"
  16812. },
  16813. "enumdicname": {
  16814. "description": "单位名称",
  16815. "type": "string"
  16816. },
  16817. "evaluateratio": {
  16818. "description": "估价系数",
  16819. "type": "number"
  16820. },
  16821. "goodsgroupid": {
  16822. "description": "关联期货品种ID",
  16823. "type": "integer"
  16824. },
  16825. "goodsunitid": {
  16826. "description": "单位ID",
  16827. "type": "integer"
  16828. },
  16829. "isvalid": {
  16830. "description": "状态 0-无效(停用) 1-有效(正常)",
  16831. "type": "integer"
  16832. },
  16833. "middlegoodscode": {
  16834. "description": "套保品种代码",
  16835. "type": "string"
  16836. },
  16837. "middlegoodsid": {
  16838. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16839. "type": "integer"
  16840. },
  16841. "middlegoodsname": {
  16842. "description": "套保品种名称",
  16843. "type": "string"
  16844. },
  16845. "modifytime": {
  16846. "description": "修改时间",
  16847. "type": "string"
  16848. },
  16849. "needhedgeratio": {
  16850. "description": "套保比率",
  16851. "type": "number"
  16852. },
  16853. "qtydecimalplace": {
  16854. "description": "数量小数位",
  16855. "type": "integer"
  16856. },
  16857. "relatedgoodsid": {
  16858. "description": "关联交易商品ID",
  16859. "type": "integer"
  16860. },
  16861. "relatedgoodstype": {
  16862. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16863. "type": "integer"
  16864. },
  16865. "remark": {
  16866. "description": "备注",
  16867. "type": "string"
  16868. }
  16869. }
  16870. },
  16871. "models.ErmcpModel": {
  16872. "type": "object",
  16873. "properties": {
  16874. "accountname": {
  16875. "description": "账户名称",
  16876. "type": "string"
  16877. },
  16878. "attachment": {
  16879. "description": "附件",
  16880. "type": "string"
  16881. },
  16882. "audittime": {
  16883. "description": "审核时间",
  16884. "type": "string"
  16885. },
  16886. "brandname": {
  16887. "description": "品牌名称",
  16888. "type": "string"
  16889. },
  16890. "contracctstatus": {
  16891. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16892. "type": "integer"
  16893. },
  16894. "contractmargin": {
  16895. "description": "合同保证金",
  16896. "type": "number"
  16897. },
  16898. "contractno": {
  16899. "description": "合同编号",
  16900. "type": "string"
  16901. },
  16902. "contracttype": {
  16903. "description": "合同类型 1-采购, -1-销售",
  16904. "type": "integer"
  16905. },
  16906. "convertfactor": {
  16907. "description": "标仓系数",
  16908. "type": "number"
  16909. },
  16910. "createtime": {
  16911. "description": "创建时间",
  16912. "type": "string"
  16913. },
  16914. "daikaiamount": {
  16915. "description": "应收(开)票额",
  16916. "type": "number"
  16917. },
  16918. "deliveryenddate": {
  16919. "description": "交割结束日",
  16920. "type": "string"
  16921. },
  16922. "deliverygoodscode": {
  16923. "description": "现货品种代码",
  16924. "type": "string"
  16925. },
  16926. "deliverygoodsid": {
  16927. "description": "现货商品ID",
  16928. "type": "integer"
  16929. },
  16930. "deliverygoodsname": {
  16931. "description": "现货品种名称",
  16932. "type": "string"
  16933. },
  16934. "deliverystartdate": {
  16935. "description": "交割开始日",
  16936. "type": "string"
  16937. },
  16938. "enddate": {
  16939. "description": "点价结束日",
  16940. "type": "string"
  16941. },
  16942. "enumdicname": {
  16943. "description": "单位名称",
  16944. "type": "string"
  16945. },
  16946. "goodscode": {
  16947. "description": "点价商品代码",
  16948. "type": "string"
  16949. },
  16950. "goodsid": {
  16951. "description": "点价商品ID",
  16952. "type": "integer"
  16953. },
  16954. "goodsname": {
  16955. "description": "点价商品名称",
  16956. "type": "string"
  16957. },
  16958. "invoiceamount": {
  16959. "description": "已开票额",
  16960. "type": "number"
  16961. },
  16962. "loanamount": {
  16963. "description": "贷款总额=已定价额+调整金额",
  16964. "type": "number"
  16965. },
  16966. "margin": {
  16967. "description": "保证金",
  16968. "type": "number"
  16969. },
  16970. "modelname": {
  16971. "description": "型号名称",
  16972. "type": "string"
  16973. },
  16974. "payamount": {
  16975. "description": "已收付额(收款或付款)",
  16976. "type": "number"
  16977. },
  16978. "preinvoiceamount": {
  16979. "description": "预收(开)票额",
  16980. "type": "number"
  16981. },
  16982. "prepayamount": {
  16983. "description": "预收付额",
  16984. "type": "number"
  16985. },
  16986. "price": {
  16987. "description": "价格",
  16988. "type": "number"
  16989. },
  16990. "pricedamount": {
  16991. "description": "已定价额",
  16992. "type": "number"
  16993. },
  16994. "pricedavg": {
  16995. "description": "已点均价",
  16996. "type": "number"
  16997. },
  16998. "pricedqty": {
  16999. "description": "已定价量",
  17000. "type": "number"
  17001. },
  17002. "pricemove": {
  17003. "description": "升贴水",
  17004. "type": "number"
  17005. },
  17006. "pricetype": {
  17007. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17008. "type": "integer"
  17009. },
  17010. "producttype": {
  17011. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17012. "type": "integer"
  17013. },
  17014. "qty": {
  17015. "description": "合同量",
  17016. "type": "number"
  17017. },
  17018. "reckonadjustamount": {
  17019. "description": "调整金额",
  17020. "type": "number"
  17021. },
  17022. "reckonedamount": {
  17023. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17024. "type": "number"
  17025. },
  17026. "reckonotheramount": {
  17027. "description": "其它费用",
  17028. "type": "number"
  17029. },
  17030. "reckonrealqty": {
  17031. "description": "已确定量",
  17032. "type": "number"
  17033. },
  17034. "remark": {
  17035. "description": "备注",
  17036. "type": "string"
  17037. },
  17038. "spotcontractid": {
  17039. "description": "合同ID",
  17040. "type": "string"
  17041. },
  17042. "spotgoodsbrandid": {
  17043. "description": "现货品牌ID",
  17044. "type": "integer"
  17045. },
  17046. "spotgoodsdesc": {
  17047. "description": "商品型号(商品规格)",
  17048. "type": "string"
  17049. },
  17050. "spotgoodsmodelid": {
  17051. "description": "现货型号ID",
  17052. "type": "integer"
  17053. },
  17054. "startdate": {
  17055. "description": "点价开始日",
  17056. "type": "string"
  17057. },
  17058. "totalamount": {
  17059. "description": "合计总额",
  17060. "type": "number"
  17061. },
  17062. "unpayamount": {
  17063. "description": "应收付款额(应支付或应收款)",
  17064. "type": "number"
  17065. },
  17066. "unpricedqty": {
  17067. "description": "未定价量",
  17068. "type": "number"
  17069. },
  17070. "unsureqty": {
  17071. "description": "未确定量",
  17072. "type": "number"
  17073. },
  17074. "userid": {
  17075. "description": "用户ID",
  17076. "type": "integer"
  17077. },
  17078. "wrstandardcode": {
  17079. "description": "现货商品代码",
  17080. "type": "string"
  17081. },
  17082. "wrstandardid": {
  17083. "description": "现货商品ID",
  17084. "type": "integer"
  17085. },
  17086. "wrstandardname": {
  17087. "description": "现货商品名称",
  17088. "type": "string"
  17089. }
  17090. }
  17091. },
  17092. "models.ErmcpOPLogModel": {
  17093. "type": "object",
  17094. "properties": {
  17095. "aftervalue": {
  17096. "description": "变更后",
  17097. "type": "number"
  17098. },
  17099. "applyid": {
  17100. "description": "操作人ID",
  17101. "type": "string"
  17102. },
  17103. "applyname": {
  17104. "description": "操作人名称",
  17105. "type": "string"
  17106. },
  17107. "beforevalue": {
  17108. "description": "变更前",
  17109. "type": "number"
  17110. },
  17111. "biztype": {
  17112. "description": "业务类型 - 1:套保计划 2:现货合同",
  17113. "type": "integer"
  17114. },
  17115. "contracttype": {
  17116. "description": "现货合同类型 - 1:采购 -1:销售",
  17117. "type": "integer"
  17118. },
  17119. "logvalue": {
  17120. "description": "数值",
  17121. "type": "number"
  17122. },
  17123. "operatelogtype": {
  17124. "description": "操作流水类型",
  17125. "type": "integer"
  17126. },
  17127. "operatelogtypedesc": {
  17128. "description": "操作流水类型名称",
  17129. "type": "string"
  17130. },
  17131. "relatedid": {
  17132. "description": "现货合同ID\\套保计划",
  17133. "type": "string"
  17134. },
  17135. "updatetime": {
  17136. "description": "更新时间",
  17137. "type": "string"
  17138. }
  17139. }
  17140. },
  17141. "models.ErmcpPendingAudit": {
  17142. "type": "object",
  17143. "properties": {
  17144. "areastockqty": {
  17145. "description": "待审核数量: 库存申请",
  17146. "type": "integer"
  17147. },
  17148. "businessdjqty": {
  17149. "description": "待审核数量: 点价",
  17150. "type": "integer"
  17151. },
  17152. "businessfpqty": {
  17153. "description": "待审核数量: 发票",
  17154. "type": "integer"
  17155. },
  17156. "businessjsqty": {
  17157. "description": "待审核数量: 结算",
  17158. "type": "integer"
  17159. },
  17160. "businesskxqty": {
  17161. "description": "待审核数量: 款项",
  17162. "type": "integer"
  17163. },
  17164. "hedgeplanqty": {
  17165. "description": "待审核数量: 套保计划",
  17166. "type": "integer"
  17167. },
  17168. "spotcontractqty": {
  17169. "description": "待审核数量: 现货合同",
  17170. "type": "integer"
  17171. },
  17172. "userqty": {
  17173. "description": "待审核数量: 用户",
  17174. "type": "integer"
  17175. }
  17176. }
  17177. },
  17178. "models.ErmcpRealExposureModel": {
  17179. "type": "object",
  17180. "properties": {
  17181. "AreaUserID": {
  17182. "description": "所属机构",
  17183. "type": "integer"
  17184. },
  17185. "BuyFutureQty": {
  17186. "description": "买入期货数量",
  17187. "type": "number"
  17188. },
  17189. "BuyPlanQty": {
  17190. "description": "采购计划数量",
  17191. "type": "number"
  17192. },
  17193. "BuyPricedQty": {
  17194. "description": "采购合同已定价数量",
  17195. "type": "number"
  17196. },
  17197. "MiddleGoodsCode": {
  17198. "description": "套保品种代码",
  17199. "type": "string"
  17200. },
  17201. "MiddleGoodsHedgeRatio": {
  17202. "description": "应套保比例",
  17203. "type": "number"
  17204. },
  17205. "MiddleGoodsID": {
  17206. "description": "套保品种",
  17207. "type": "integer"
  17208. },
  17209. "MiddleGoodsName": {
  17210. "description": "套保品种名称",
  17211. "type": "string"
  17212. },
  17213. "NeedHedgeExposoure": {
  17214. "description": "应套保敞口",
  17215. "type": "number"
  17216. },
  17217. "NeedHedgeRatio": {
  17218. "description": "应套保敞口比例",
  17219. "type": "number"
  17220. },
  17221. "OriBuyFutureQty": {
  17222. "description": "期初买入期货数量",
  17223. "type": "number"
  17224. },
  17225. "OriBuyPlanQty": {
  17226. "description": "期初采购计划数量",
  17227. "type": "number"
  17228. },
  17229. "OriBuyPricedQty": {
  17230. "description": "期初采购合同已定价数量",
  17231. "type": "number"
  17232. },
  17233. "OriSellFutureQty": {
  17234. "description": "期初卖出期货数量",
  17235. "type": "number"
  17236. },
  17237. "OriSellPlanQty": {
  17238. "description": "期初销售计划数量",
  17239. "type": "number"
  17240. },
  17241. "OriSellPricedQty": {
  17242. "description": "期初销售合同已定价数量",
  17243. "type": "number"
  17244. },
  17245. "SellFutureQty": {
  17246. "description": "卖出期货数量",
  17247. "type": "number"
  17248. },
  17249. "SellPlanQty": {
  17250. "description": "销售计划数量",
  17251. "type": "number"
  17252. },
  17253. "SellPricedQty": {
  17254. "description": "销售合同已定价数量",
  17255. "type": "number"
  17256. },
  17257. "TotalExposure": {
  17258. "description": "总敞口",
  17259. "type": "number"
  17260. },
  17261. "TotalFutureQty": {
  17262. "description": "期货数量",
  17263. "type": "number"
  17264. },
  17265. "TotalHedgeRatio": {
  17266. "description": "敞口比例",
  17267. "type": "number"
  17268. },
  17269. "TotalNeedHedgeQty": {
  17270. "description": "期货应套保量",
  17271. "type": "number"
  17272. },
  17273. "TotalSpotQty": {
  17274. "description": "现货数量",
  17275. "type": "number"
  17276. },
  17277. "diffFutuQty": {
  17278. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17279. "type": "number"
  17280. },
  17281. "diffSpotQty": {
  17282. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17283. "type": "number"
  17284. },
  17285. "enumdicname": {
  17286. "description": "单位名称",
  17287. "type": "string"
  17288. },
  17289. "oriTotalFutuQty": {
  17290. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17291. "type": "number"
  17292. },
  17293. "oriTotalSpotQty": {
  17294. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17295. "type": "number"
  17296. }
  17297. }
  17298. },
  17299. "models.ErmcpReportAreaSpotPL": {
  17300. "type": "object",
  17301. "properties": {
  17302. "actualpl": {
  17303. "description": "实际损益",
  17304. "type": "number"
  17305. },
  17306. "areauserid": {
  17307. "description": "所属机构",
  17308. "type": "integer"
  17309. },
  17310. "brandname": {
  17311. "description": "品牌名称",
  17312. "type": "string"
  17313. },
  17314. "curamount": {
  17315. "description": "期末额",
  17316. "type": "number"
  17317. },
  17318. "curaverageprice": {
  17319. "description": "期末均价",
  17320. "type": "number"
  17321. },
  17322. "curbuyamount": {
  17323. "description": "期末采购总额(采购额)",
  17324. "type": "number"
  17325. },
  17326. "curbuyqty": {
  17327. "description": "期末采购总量",
  17328. "type": "number"
  17329. },
  17330. "curmarketvalue": {
  17331. "description": "参考市值",
  17332. "type": "number"
  17333. },
  17334. "curqty": {
  17335. "description": "期末量",
  17336. "type": "number"
  17337. },
  17338. "cursellamount": {
  17339. "description": "期末销售总额(销售额)",
  17340. "type": "number"
  17341. },
  17342. "cursellqty": {
  17343. "description": "期末销售总量",
  17344. "type": "number"
  17345. },
  17346. "curspotprice": {
  17347. "description": "参考市价",
  17348. "type": "number"
  17349. },
  17350. "enumdicname": {
  17351. "description": "现货商品单位名称",
  17352. "type": "string"
  17353. },
  17354. "floatpl": {
  17355. "description": "浮动损益",
  17356. "type": "number"
  17357. },
  17358. "gbenumdicname": {
  17359. "description": "品类单位名称",
  17360. "type": "string"
  17361. },
  17362. "gbunitid": {
  17363. "description": "品类单位id",
  17364. "type": "integer"
  17365. },
  17366. "modelname": {
  17367. "description": "品类名称",
  17368. "type": "string"
  17369. },
  17370. "oriamount": {
  17371. "description": "期初额",
  17372. "type": "number"
  17373. },
  17374. "oriaverageprice": {
  17375. "description": "期初均价",
  17376. "type": "number"
  17377. },
  17378. "oribuyamount": {
  17379. "description": "期初采购总额",
  17380. "type": "number"
  17381. },
  17382. "oribuyqty": {
  17383. "description": "期初采购总量",
  17384. "type": "number"
  17385. },
  17386. "oriqty": {
  17387. "description": "期初量",
  17388. "type": "number"
  17389. },
  17390. "orisellamount": {
  17391. "description": "期初销售总额",
  17392. "type": "number"
  17393. },
  17394. "orisellqty": {
  17395. "description": "期初销售总量",
  17396. "type": "number"
  17397. },
  17398. "spotgoodsbrandid": {
  17399. "description": "现货品牌ID",
  17400. "type": "integer"
  17401. },
  17402. "spotgoodsmodelid": {
  17403. "description": "现货品类ID",
  17404. "type": "integer"
  17405. },
  17406. "todaybuyamount": {
  17407. "description": "今日采购额",
  17408. "type": "number"
  17409. },
  17410. "todaybuyaverageprice": {
  17411. "description": "今日采购均价(采购均价)",
  17412. "type": "number"
  17413. },
  17414. "todaybuyqty": {
  17415. "description": "今日采购量(采购增量)",
  17416. "type": "number"
  17417. },
  17418. "todaysellamount": {
  17419. "description": "今日销售额",
  17420. "type": "number"
  17421. },
  17422. "todaysellaverageprice": {
  17423. "description": "今日销售均价(销售均价)",
  17424. "type": "number"
  17425. },
  17426. "todaysellqty": {
  17427. "description": "今日销售量(销售增量)",
  17428. "type": "number"
  17429. },
  17430. "unitid": {
  17431. "description": "现货商品单位id",
  17432. "type": "integer"
  17433. },
  17434. "updatetime": {
  17435. "description": "更新时间",
  17436. "type": "string"
  17437. },
  17438. "wrstandardcode": {
  17439. "description": "现货商品代码",
  17440. "type": "string"
  17441. },
  17442. "wrstandardid": {
  17443. "description": "现货商品ID",
  17444. "type": "integer"
  17445. },
  17446. "wrstandardname": {
  17447. "description": "现货商品名称",
  17448. "type": "string"
  17449. }
  17450. }
  17451. },
  17452. "models.ErmcpReportDayExposure": {
  17453. "type": "object",
  17454. "properties": {
  17455. "areauserid": {
  17456. "description": "所属机构",
  17457. "type": "integer"
  17458. },
  17459. "buyfutureqty": {
  17460. "description": "买入期货数量",
  17461. "type": "number"
  17462. },
  17463. "buyplanqty": {
  17464. "description": "采购计划数量",
  17465. "type": "number"
  17466. },
  17467. "buypricedqty": {
  17468. "description": "采购合同已定价数量",
  17469. "type": "number"
  17470. },
  17471. "diffFutuQty": {
  17472. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17473. "type": "number"
  17474. },
  17475. "diffSpotQty": {
  17476. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17477. "type": "number"
  17478. },
  17479. "enumdicname": {
  17480. "description": "单位名称",
  17481. "type": "string"
  17482. },
  17483. "middlegoodscode": {
  17484. "description": "套保品种代码",
  17485. "type": "string"
  17486. },
  17487. "middlegoodshedgeratio": {
  17488. "description": "应套保比例",
  17489. "type": "number"
  17490. },
  17491. "middlegoodsid": {
  17492. "description": "套保品种ID",
  17493. "type": "integer"
  17494. },
  17495. "middlegoodsname": {
  17496. "description": "套保品种名称",
  17497. "type": "string"
  17498. },
  17499. "needhedgeexposoure": {
  17500. "description": "应套保敞口",
  17501. "type": "number"
  17502. },
  17503. "needhedgeratio": {
  17504. "description": "应套保敞口比例",
  17505. "type": "number"
  17506. },
  17507. "oriTotalFutuQty": {
  17508. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17509. "type": "number"
  17510. },
  17511. "oriTotalSpotQty": {
  17512. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17513. "type": "number"
  17514. },
  17515. "oribuyfutureqty": {
  17516. "description": "期初买入期货数量",
  17517. "type": "number"
  17518. },
  17519. "oribuyplanqty": {
  17520. "description": "期初采购计划数量",
  17521. "type": "number"
  17522. },
  17523. "oribuypricedqty": {
  17524. "description": "期初采购合同已定价数量",
  17525. "type": "number"
  17526. },
  17527. "orisellfutureqty": {
  17528. "description": "期初卖出期货数量",
  17529. "type": "number"
  17530. },
  17531. "orisellplanqty": {
  17532. "description": "期初销售计划数量",
  17533. "type": "number"
  17534. },
  17535. "orisellpricedqty": {
  17536. "description": "期初销售合同已定价数量",
  17537. "type": "number"
  17538. },
  17539. "reckondate": {
  17540. "description": "日照时期(yyyyMMdd)",
  17541. "type": "string"
  17542. },
  17543. "sellfutureqty": {
  17544. "description": "卖出期货数量",
  17545. "type": "number"
  17546. },
  17547. "sellplanqty": {
  17548. "description": "销售计划数量",
  17549. "type": "number"
  17550. },
  17551. "sellpricedqty": {
  17552. "description": "销售合同已定价数量",
  17553. "type": "number"
  17554. },
  17555. "totalexposure": {
  17556. "description": "总敞口",
  17557. "type": "number"
  17558. },
  17559. "totalfutureqty": {
  17560. "description": "期货数量",
  17561. "type": "number"
  17562. },
  17563. "totalhedgeratio": {
  17564. "description": "敞口比例",
  17565. "type": "number"
  17566. },
  17567. "totalneedhedgeqty": {
  17568. "description": "期货应套保量",
  17569. "type": "number"
  17570. },
  17571. "totalspotqty": {
  17572. "description": "现货数量",
  17573. "type": "number"
  17574. }
  17575. }
  17576. },
  17577. "models.ErmcpReportDayFR": {
  17578. "type": "object",
  17579. "properties": {
  17580. "areauserid": {
  17581. "description": "所属机构",
  17582. "type": "integer"
  17583. },
  17584. "collectinvoiceamount": {
  17585. "description": "今日开票金额",
  17586. "type": "number"
  17587. },
  17588. "collectinvoicecount": {
  17589. "description": "今日开票笔数",
  17590. "type": "integer"
  17591. },
  17592. "collectmoneyamount": {
  17593. "description": "今日收款金额",
  17594. "type": "number"
  17595. },
  17596. "collectmoneycount": {
  17597. "description": "今日收款笔数",
  17598. "type": "integer"
  17599. },
  17600. "payinvoiceamount": {
  17601. "description": "今日收票金额",
  17602. "type": "number"
  17603. },
  17604. "payinvoicecount": {
  17605. "description": "今日收票笔数",
  17606. "type": "integer"
  17607. },
  17608. "paymoneyamount": {
  17609. "description": "今日付款金额",
  17610. "type": "number"
  17611. },
  17612. "paymoneycount": {
  17613. "description": "今日付款笔数",
  17614. "type": "integer"
  17615. },
  17616. "reckondate": {
  17617. "description": "日照时期(yyyyMMdd)",
  17618. "type": "string"
  17619. },
  17620. "updatetime": {
  17621. "description": "更新时间",
  17622. "type": "string"
  17623. }
  17624. }
  17625. },
  17626. "models.ErmcpReportDaySpot": {
  17627. "type": "object",
  17628. "properties": {
  17629. "areauserid": {
  17630. "description": "所属机构T",
  17631. "type": "integer"
  17632. },
  17633. "buyinqty": {
  17634. "description": "采购入库量",
  17635. "type": "number"
  17636. },
  17637. "enumdicname": {
  17638. "description": "现货商品单位名称",
  17639. "type": "string"
  17640. },
  17641. "reckondate": {
  17642. "description": "日照时期(yyyyMMdd)",
  17643. "type": "string"
  17644. },
  17645. "selloutqty": {
  17646. "description": "销售出库量",
  17647. "type": "number"
  17648. },
  17649. "todaybuyreckonqty": {
  17650. "description": "采购确定量",
  17651. "type": "number"
  17652. },
  17653. "todaysellreckonqty": {
  17654. "description": "销售确定量",
  17655. "type": "number"
  17656. },
  17657. "totalbuypricedqty": {
  17658. "description": "采购定价量 = 期末 - 期初",
  17659. "type": "number"
  17660. },
  17661. "totalsellpricedqty": {
  17662. "description": "销售定价量 = 期末 - 期初",
  17663. "type": "number"
  17664. },
  17665. "wrstandardcode": {
  17666. "description": "现货商品代码",
  17667. "type": "string"
  17668. },
  17669. "wrstandardid": {
  17670. "description": "现货商品ID",
  17671. "type": "integer"
  17672. },
  17673. "wrstandardname": {
  17674. "description": "现货商品名称",
  17675. "type": "string"
  17676. }
  17677. }
  17678. },
  17679. "models.ErmcpReportMonSpot": {
  17680. "type": "object",
  17681. "properties": {
  17682. "areauserid": {
  17683. "description": "所属机构T",
  17684. "type": "integer"
  17685. },
  17686. "buyinqty": {
  17687. "description": "采购入库量",
  17688. "type": "number"
  17689. },
  17690. "cycletime": {
  17691. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17692. "type": "string"
  17693. },
  17694. "cycletype": {
  17695. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17696. "type": "integer"
  17697. },
  17698. "enumdicname": {
  17699. "description": "现货商品单位名称",
  17700. "type": "string"
  17701. },
  17702. "selloutqty": {
  17703. "description": "销售出库量",
  17704. "type": "number"
  17705. },
  17706. "todaybuyreckonqty": {
  17707. "description": "采购确定量",
  17708. "type": "number"
  17709. },
  17710. "todaysellreckonqty": {
  17711. "description": "销售确定量",
  17712. "type": "number"
  17713. },
  17714. "totalbuypricedqty": {
  17715. "description": "采购定价量 = 期末 - 期初",
  17716. "type": "number"
  17717. },
  17718. "totalsellpricedqty": {
  17719. "description": "销售定价量 = 期末 - 期初",
  17720. "type": "number"
  17721. },
  17722. "wrstandardcode": {
  17723. "description": "现货商品代码",
  17724. "type": "string"
  17725. },
  17726. "wrstandardid": {
  17727. "description": "现货商品ID",
  17728. "type": "integer"
  17729. },
  17730. "wrstandardname": {
  17731. "description": "现货商品名称",
  17732. "type": "string"
  17733. }
  17734. }
  17735. },
  17736. "models.ErmcpReportMonthFR": {
  17737. "type": "object",
  17738. "properties": {
  17739. "areauserid": {
  17740. "description": "所属机构【原值】",
  17741. "type": "integer"
  17742. },
  17743. "collectinvoiceamount": {
  17744. "description": "今日开票金额【汇总】",
  17745. "type": "number"
  17746. },
  17747. "collectinvoicecount": {
  17748. "description": "今日开票笔数【汇总】",
  17749. "type": "integer"
  17750. },
  17751. "collectmoneyamount": {
  17752. "description": "今日收款金额【汇总】",
  17753. "type": "number"
  17754. },
  17755. "collectmoneycount": {
  17756. "description": "今日收款笔数 【汇总】",
  17757. "type": "integer"
  17758. },
  17759. "cycletime": {
  17760. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17761. "type": "string"
  17762. },
  17763. "cycletype": {
  17764. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17765. "type": "integer"
  17766. },
  17767. "dayFr": {
  17768. "description": "日报表明细",
  17769. "type": "array",
  17770. "items": {
  17771. "$ref": "#/definitions/models.ErmcpReportDayFR"
  17772. }
  17773. },
  17774. "payinvoiceamount": {
  17775. "description": "今日收票金额【汇总】",
  17776. "type": "number"
  17777. },
  17778. "payinvoicecount": {
  17779. "description": "今日收票笔数【汇总】",
  17780. "type": "integer"
  17781. },
  17782. "paymoneyamount": {
  17783. "description": "今日付款金额【汇总】",
  17784. "type": "number"
  17785. },
  17786. "paymoneycount": {
  17787. "description": "今日付款笔数【汇总】",
  17788. "type": "integer"
  17789. },
  17790. "updatetime": {
  17791. "description": "更新时间",
  17792. "type": "string"
  17793. }
  17794. }
  17795. },
  17796. "models.ErmcpReportOPLog": {
  17797. "type": "object",
  17798. "properties": {
  17799. "applyid": {
  17800. "description": "操作人",
  17801. "type": "integer"
  17802. },
  17803. "applyname": {
  17804. "description": "操作人名称",
  17805. "type": "string"
  17806. },
  17807. "biztype": {
  17808. "description": "业务类型 - 1:套保计划 2:现货合同",
  17809. "type": "integer"
  17810. },
  17811. "brandname": {
  17812. "description": "品牌名称",
  17813. "type": "string"
  17814. },
  17815. "contracttype": {
  17816. "description": "现货合同类型 - 1:采购 -1:销售",
  17817. "type": "integer"
  17818. },
  17819. "enumdicName": {
  17820. "description": "单位名称",
  17821. "type": "string"
  17822. },
  17823. "logdatetime": {
  17824. "description": "流水日期(时间)",
  17825. "type": "string"
  17826. },
  17827. "logid": {
  17828. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  17829. "type": "string"
  17830. },
  17831. "logtypename": {
  17832. "description": "合同类型(名称)",
  17833. "type": "string"
  17834. },
  17835. "logvalue": {
  17836. "description": "数值",
  17837. "type": "string"
  17838. },
  17839. "modelname": {
  17840. "description": "型号名称",
  17841. "type": "string"
  17842. },
  17843. "operatelogtype": {
  17844. "description": "操作流水类型 -",
  17845. "type": "integer"
  17846. },
  17847. "optypename": {
  17848. "description": "流水类型名称",
  17849. "type": "string"
  17850. },
  17851. "relatedid": {
  17852. "description": "现货合同ID\\套保计划",
  17853. "type": "string"
  17854. },
  17855. "relatedno": {
  17856. "description": "合同编号",
  17857. "type": "string"
  17858. },
  17859. "tradedate": {
  17860. "description": "交易日(yyyyMMdd)",
  17861. "type": "string"
  17862. },
  17863. "userid": {
  17864. "description": "机构ID",
  17865. "type": "integer"
  17866. },
  17867. "wrstandardcode": {
  17868. "description": "现货商品代码",
  17869. "type": "string"
  17870. },
  17871. "wrstandardid": {
  17872. "description": "现货商品ID",
  17873. "type": "integer"
  17874. },
  17875. "wrstandardname": {
  17876. "description": "现货商品名称",
  17877. "type": "string"
  17878. }
  17879. }
  17880. },
  17881. "models.ErmcpRole": {
  17882. "type": "object",
  17883. "properties": {
  17884. "areauserid": {
  17885. "description": "所属机构",
  17886. "type": "integer"
  17887. },
  17888. "autoid": {
  17889. "description": "角色ID(自增ID)",
  17890. "type": "integer"
  17891. },
  17892. "modifierid": {
  17893. "description": "修改人(创建人)",
  17894. "type": "integer"
  17895. },
  17896. "modifiername": {
  17897. "description": "修改人名称",
  17898. "type": "string"
  17899. },
  17900. "modifytime": {
  17901. "description": "修改时间(创建时间)",
  17902. "type": "string"
  17903. },
  17904. "rolename": {
  17905. "description": "角色名称",
  17906. "type": "string"
  17907. },
  17908. "rolestatus": {
  17909. "description": "角色状态 - 1:启用 2:停用",
  17910. "type": "integer"
  17911. },
  17912. "roletype": {
  17913. "description": "角色类型 - 1- 管理端 2- 交易端",
  17914. "type": "integer"
  17915. }
  17916. }
  17917. },
  17918. "models.ErmcpRoleMenu": {
  17919. "type": "object",
  17920. "properties": {
  17921. "iconame": {
  17922. "description": "菜单图标",
  17923. "type": "string"
  17924. },
  17925. "menutype": {
  17926. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17927. "type": "integer"
  17928. },
  17929. "parentcode": {
  17930. "description": "上级资源代码",
  17931. "type": "string"
  17932. },
  17933. "remark": {
  17934. "description": "菜单备注",
  17935. "type": "string"
  17936. },
  17937. "resourcecode": {
  17938. "description": "菜单代码",
  17939. "type": "string"
  17940. },
  17941. "resourcelevel": {
  17942. "description": "级别",
  17943. "type": "integer"
  17944. },
  17945. "resourcename": {
  17946. "description": "菜单名称",
  17947. "type": "string"
  17948. },
  17949. "roleid": {
  17950. "description": "角色id",
  17951. "type": "integer"
  17952. },
  17953. "sort": {
  17954. "description": "排序",
  17955. "type": "integer"
  17956. },
  17957. "url": {
  17958. "description": "URL",
  17959. "type": "string"
  17960. },
  17961. "userid": {
  17962. "description": "用户id",
  17963. "type": "integer"
  17964. }
  17965. }
  17966. },
  17967. "models.ErmcpRoleMenuEx": {
  17968. "type": "object",
  17969. "properties": {
  17970. "menu": {
  17971. "description": "父级菜单",
  17972. "type": "object",
  17973. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17974. },
  17975. "subMenu": {
  17976. "description": "子级菜单",
  17977. "type": "array",
  17978. "items": {
  17979. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17980. }
  17981. }
  17982. }
  17983. },
  17984. "models.ErmcpSpotContractModel": {
  17985. "type": "object",
  17986. "properties": {
  17987. "amount": {
  17988. "description": "金额 [1:一口价、3:暂定价]",
  17989. "type": "number"
  17990. },
  17991. "attachment": {
  17992. "description": "附件",
  17993. "type": "string"
  17994. },
  17995. "auditremark": {
  17996. "description": "审核意见",
  17997. "type": "string"
  17998. },
  17999. "audittime": {
  18000. "description": "审核时间",
  18001. "type": "string"
  18002. },
  18003. "brandname": {
  18004. "description": "品牌名称",
  18005. "type": "string"
  18006. },
  18007. "buyuserid": {
  18008. "description": "采购方ID",
  18009. "type": "integer"
  18010. },
  18011. "buyusername": {
  18012. "description": "采购方名称",
  18013. "type": "string"
  18014. },
  18015. "contracctstatus": {
  18016. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18017. "type": "integer"
  18018. },
  18019. "contractmargin": {
  18020. "description": "合同保证金",
  18021. "type": "number"
  18022. },
  18023. "contractno": {
  18024. "description": "现货合同编号",
  18025. "type": "string"
  18026. },
  18027. "contracttype": {
  18028. "description": "现货合同类型 - 1:采购 -1:销售",
  18029. "type": "integer"
  18030. },
  18031. "convertfactor": {
  18032. "description": "标仓系数",
  18033. "type": "number"
  18034. },
  18035. "createtime": {
  18036. "description": "创建时间",
  18037. "type": "string"
  18038. },
  18039. "deliveryenddate": {
  18040. "description": "交收期(结束)",
  18041. "type": "string"
  18042. },
  18043. "deliverygoodscode": {
  18044. "description": "现货品种代码",
  18045. "type": "string"
  18046. },
  18047. "deliverygoodsid": {
  18048. "description": "现货品种ID",
  18049. "type": "integer"
  18050. },
  18051. "deliverygoodsname": {
  18052. "description": "现货品种名称",
  18053. "type": "string"
  18054. },
  18055. "deliverystartdate": {
  18056. "description": "交收期(开始)",
  18057. "type": "string"
  18058. },
  18059. "enddate": {
  18060. "description": "点价结束日期 [2:点价 3:暂定价]",
  18061. "type": "string"
  18062. },
  18063. "enumdicname": {
  18064. "description": "单位名称",
  18065. "type": "string"
  18066. },
  18067. "goodscode": {
  18068. "description": "点价合约代码",
  18069. "type": "string"
  18070. },
  18071. "goodsid": {
  18072. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18073. "type": "integer"
  18074. },
  18075. "goodsname": {
  18076. "description": "点价商品名称",
  18077. "type": "string"
  18078. },
  18079. "margin": {
  18080. "description": "当前保证金",
  18081. "type": "number"
  18082. },
  18083. "modelname": {
  18084. "description": "型号名称",
  18085. "type": "string"
  18086. },
  18087. "price": {
  18088. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18089. "type": "number"
  18090. },
  18091. "pricemove": {
  18092. "description": "升贴水 [2:点价 3:暂定价]",
  18093. "type": "number"
  18094. },
  18095. "pricetype": {
  18096. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18097. "type": "integer"
  18098. },
  18099. "producttype": {
  18100. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18101. "type": "integer"
  18102. },
  18103. "qty": {
  18104. "description": "数量",
  18105. "type": "number"
  18106. },
  18107. "remark": {
  18108. "description": "备注",
  18109. "type": "string"
  18110. },
  18111. "selluserid": {
  18112. "description": "销售方ID",
  18113. "type": "integer"
  18114. },
  18115. "sellusername": {
  18116. "description": "销售方名称",
  18117. "type": "string"
  18118. },
  18119. "spotcontractid": {
  18120. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18121. "type": "string"
  18122. },
  18123. "spotgoodsbrandid": {
  18124. "description": "现货品牌ID",
  18125. "type": "integer"
  18126. },
  18127. "spotgoodsdesc": {
  18128. "description": "商品型号",
  18129. "type": "string"
  18130. },
  18131. "spotgoodsmodelid": {
  18132. "description": "现货型号ID",
  18133. "type": "integer"
  18134. },
  18135. "startdate": {
  18136. "description": "点价开始日期 [2:点价 3:暂定价]",
  18137. "type": "string"
  18138. },
  18139. "updatetime": {
  18140. "description": "更新时间",
  18141. "type": "string"
  18142. },
  18143. "userid": {
  18144. "description": "机构ID",
  18145. "type": "integer"
  18146. },
  18147. "wrstandardcode": {
  18148. "description": "现货商品代码",
  18149. "type": "string"
  18150. },
  18151. "wrstandardid": {
  18152. "description": "现货商品ID",
  18153. "type": "integer"
  18154. },
  18155. "wrstandardname": {
  18156. "description": "现货商品名称",
  18157. "type": "string"
  18158. }
  18159. }
  18160. },
  18161. "models.ErmcpSpotGoodsPrice": {
  18162. "type": "object",
  18163. "properties": {
  18164. "areauserid": {
  18165. "description": "所属机构id",
  18166. "type": "integer"
  18167. },
  18168. "brandname": {
  18169. "description": "品牌名称",
  18170. "type": "string"
  18171. },
  18172. "currencyid": {
  18173. "description": "报价货币ID",
  18174. "type": "integer"
  18175. },
  18176. "enumdicname": {
  18177. "description": "现货商品单位名称",
  18178. "type": "string"
  18179. },
  18180. "gbenumdicname": {
  18181. "description": "品类单位名称",
  18182. "type": "string"
  18183. },
  18184. "gmunitid": {
  18185. "description": "品类单位id",
  18186. "type": "integer"
  18187. },
  18188. "isvalid": {
  18189. "description": "是否有效 - 0:无效 1:有效",
  18190. "type": "integer"
  18191. },
  18192. "modelname": {
  18193. "description": "品类名称",
  18194. "type": "string"
  18195. },
  18196. "operateid": {
  18197. "description": "最后操作人",
  18198. "type": "integer"
  18199. },
  18200. "operatesrc": {
  18201. "description": "最后操作来源 - 1:管理端 2:终端",
  18202. "type": "integer"
  18203. },
  18204. "operatetime": {
  18205. "description": "最后操作时间",
  18206. "type": "string"
  18207. },
  18208. "operatorname": {
  18209. "description": "操作人名称",
  18210. "type": "string"
  18211. },
  18212. "spotgoodsbrandid": {
  18213. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18214. "type": "integer"
  18215. },
  18216. "spotgoodsmodelid": {
  18217. "description": "现货品类ID(通用则为0)",
  18218. "type": "integer"
  18219. },
  18220. "spotgoodsprice": {
  18221. "description": "现货价格",
  18222. "type": "number"
  18223. },
  18224. "tradedate": {
  18225. "description": "交易日(yyyyMMdd)",
  18226. "type": "string"
  18227. },
  18228. "unitid": {
  18229. "description": "现货商品单位id",
  18230. "type": "integer"
  18231. },
  18232. "wrstandardcode": {
  18233. "description": "现货商品代码",
  18234. "type": "string"
  18235. },
  18236. "wrstandardid": {
  18237. "description": "现货商品ID",
  18238. "type": "integer"
  18239. },
  18240. "wrstandardname": {
  18241. "description": "现货商品名称",
  18242. "type": "string"
  18243. }
  18244. }
  18245. },
  18246. "models.ErmcpSpotGoodsPriceLog": {
  18247. "type": "object",
  18248. "properties": {
  18249. "areauserid": {
  18250. "description": "所属机构id",
  18251. "type": "integer"
  18252. },
  18253. "brandname": {
  18254. "description": "品牌名称",
  18255. "type": "string"
  18256. },
  18257. "currencyid": {
  18258. "description": "报价货币ID",
  18259. "type": "integer"
  18260. },
  18261. "enumdicname": {
  18262. "description": "现货商品单位名称",
  18263. "type": "string"
  18264. },
  18265. "gbenumdicname": {
  18266. "description": "品类单位名称",
  18267. "type": "string"
  18268. },
  18269. "gmunitid": {
  18270. "description": "品类单位id",
  18271. "type": "integer"
  18272. },
  18273. "logid": {
  18274. "description": "日志id",
  18275. "type": "integer"
  18276. },
  18277. "modelname": {
  18278. "description": "品类名称",
  18279. "type": "string"
  18280. },
  18281. "operateid": {
  18282. "description": "最后操作人",
  18283. "type": "integer"
  18284. },
  18285. "operatesrc": {
  18286. "description": "最后操作来源 - 1:管理端 2:终端",
  18287. "type": "integer"
  18288. },
  18289. "operatetime": {
  18290. "description": "最后操作时间",
  18291. "type": "string"
  18292. },
  18293. "operatorname": {
  18294. "description": "操作人名称",
  18295. "type": "string"
  18296. },
  18297. "spotgoodsbrandid": {
  18298. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18299. "type": "integer"
  18300. },
  18301. "spotgoodsmodelid": {
  18302. "description": "现货品类ID(通用则为0)",
  18303. "type": "integer"
  18304. },
  18305. "spotgoodsprice": {
  18306. "description": "现货价格",
  18307. "type": "number"
  18308. },
  18309. "tradedate": {
  18310. "description": "交易日(yyyyMMdd)",
  18311. "type": "string"
  18312. },
  18313. "unitid": {
  18314. "description": "现货商品单位id",
  18315. "type": "integer"
  18316. },
  18317. "wrstandardcode": {
  18318. "description": "现货商品代码",
  18319. "type": "string"
  18320. },
  18321. "wrstandardid": {
  18322. "description": "现货商品ID",
  18323. "type": "integer"
  18324. },
  18325. "wrstandardname": {
  18326. "description": "现货商品名称",
  18327. "type": "string"
  18328. }
  18329. }
  18330. },
  18331. "models.ErmcpTaAccount": {
  18332. "type": "object",
  18333. "properties": {
  18334. "accountid": {
  18335. "description": "账户id",
  18336. "type": "integer"
  18337. },
  18338. "accountname": {
  18339. "description": "账户名称",
  18340. "type": "string"
  18341. },
  18342. "currencyid": {
  18343. "description": "币种id",
  18344. "type": "integer"
  18345. },
  18346. "hedgeaccountcode": {
  18347. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18348. "type": "string"
  18349. },
  18350. "ismain": {
  18351. "description": "是否主账户 0-否 1-是",
  18352. "type": "integer"
  18353. },
  18354. "parentaccountid": {
  18355. "description": "父账户id",
  18356. "type": "integer"
  18357. },
  18358. "relateduserid": {
  18359. "description": "关联userid",
  18360. "type": "integer"
  18361. },
  18362. "tradestatus": {
  18363. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18364. "type": "integer"
  18365. },
  18366. "userid": {
  18367. "description": "用户id",
  18368. "type": "integer"
  18369. }
  18370. }
  18371. },
  18372. "models.ErmcpTaAccountEx": {
  18373. "type": "object",
  18374. "properties": {
  18375. "mainAcc": {
  18376. "description": "主账号",
  18377. "type": "object",
  18378. "$ref": "#/definitions/models.ErmcpTaAccount"
  18379. },
  18380. "subacclist": {
  18381. "description": "子账号列表",
  18382. "type": "array",
  18383. "items": {
  18384. "$ref": "#/definitions/models.ErmcpTaAccount"
  18385. }
  18386. }
  18387. }
  18388. },
  18389. "models.ErmcpTaAccountInfo": {
  18390. "type": "object",
  18391. "properties": {
  18392. "accountid": {
  18393. "description": "资金账户ID",
  18394. "type": "integer"
  18395. },
  18396. "accountname": {
  18397. "description": "账户名称",
  18398. "type": "string"
  18399. },
  18400. "balance": {
  18401. "description": "期初余额",
  18402. "type": "number"
  18403. },
  18404. "capitalbalance": {
  18405. "description": "本金余额[外部子账户实际出入金余额]",
  18406. "type": "number"
  18407. },
  18408. "closepl": {
  18409. "description": "今日平仓盈亏",
  18410. "type": "number"
  18411. },
  18412. "creditdecrease": {
  18413. "description": "今日授信减少",
  18414. "type": "number"
  18415. },
  18416. "creditincrease": {
  18417. "description": "今日授信增加",
  18418. "type": "number"
  18419. },
  18420. "curdebt": {
  18421. "description": "期末欠款",
  18422. "type": "number"
  18423. },
  18424. "currencyid": {
  18425. "description": "货币ID",
  18426. "type": "integer"
  18427. },
  18428. "currentbalance": {
  18429. "description": "期末余额",
  18430. "type": "number"
  18431. },
  18432. "freezecharge": {
  18433. "description": "手续费冻结",
  18434. "type": "number"
  18435. },
  18436. "freezemargin": {
  18437. "description": "冻结保证金",
  18438. "type": "number"
  18439. },
  18440. "fromaccountid": {
  18441. "description": "所属上级账户",
  18442. "type": "integer"
  18443. },
  18444. "inamount": {
  18445. "description": "今日入金金额(包括三方入金)",
  18446. "type": "number"
  18447. },
  18448. "ismain": {
  18449. "description": "是否母账号 0:不是母账户 1:是母账户",
  18450. "type": "integer"
  18451. },
  18452. "mortgagecredit": {
  18453. "description": "授信金额",
  18454. "type": "number"
  18455. },
  18456. "oridebt": {
  18457. "description": "期初欠款",
  18458. "type": "number"
  18459. },
  18460. "orifreezecharge": {
  18461. "description": "期初手续费冻结",
  18462. "type": "number"
  18463. },
  18464. "orifreezemargin": {
  18465. "description": "期初冻结保证金",
  18466. "type": "number"
  18467. },
  18468. "orimortgagecredit": {
  18469. "description": "期初授信金额",
  18470. "type": "number"
  18471. },
  18472. "oriothercredit": {
  18473. "description": "期初其它授信金额",
  18474. "type": "number"
  18475. },
  18476. "oriotherfreezemargin": {
  18477. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18478. "type": "number"
  18479. },
  18480. "orioutamountfreeze": {
  18481. "description": "期初出金冻结",
  18482. "type": "number"
  18483. },
  18484. "oriusedmargin": {
  18485. "description": "期初占用保证金",
  18486. "type": "number"
  18487. },
  18488. "othercredit": {
  18489. "description": "其它授信金额",
  18490. "type": "number"
  18491. },
  18492. "othercreditdecrease": {
  18493. "description": "今日其它授信减少",
  18494. "type": "number"
  18495. },
  18496. "othercreditincrease": {
  18497. "description": "今日其它授信增加",
  18498. "type": "number"
  18499. },
  18500. "otherfreezemargin": {
  18501. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18502. "type": "number"
  18503. },
  18504. "outamount": {
  18505. "description": "今日出金金额(包括三方出金)",
  18506. "type": "number"
  18507. },
  18508. "outamountfreeze": {
  18509. "description": "出金冻结",
  18510. "type": "number"
  18511. },
  18512. "outthreshold": {
  18513. "description": "出金阈值",
  18514. "type": "number"
  18515. },
  18516. "parentaccountid": {
  18517. "description": "所属根账号",
  18518. "type": "integer"
  18519. },
  18520. "paycharge": {
  18521. "description": "今日手续费支出",
  18522. "type": "number"
  18523. },
  18524. "relateduserid": {
  18525. "description": "关联用户",
  18526. "type": "integer"
  18527. },
  18528. "signstatus": {
  18529. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18530. "type": "integer"
  18531. },
  18532. "sublevelpath": {
  18533. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18534. "type": "string"
  18535. },
  18536. "taaccounttype": {
  18537. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18538. "type": "integer"
  18539. },
  18540. "thirdinamount": {
  18541. "description": "今日三方入金",
  18542. "type": "number"
  18543. },
  18544. "thirdoutamount": {
  18545. "description": "今日三方出金",
  18546. "type": "number"
  18547. },
  18548. "tradestatus": {
  18549. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18550. "type": "integer"
  18551. },
  18552. "transferamount": {
  18553. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18554. "type": "number"
  18555. },
  18556. "usedmargin": {
  18557. "description": "占用保证金",
  18558. "type": "number"
  18559. },
  18560. "userid": {
  18561. "description": "用户ID",
  18562. "type": "integer"
  18563. }
  18564. }
  18565. },
  18566. "models.ErmcpTradeConfigTMP": {
  18567. "type": "object",
  18568. "properties": {
  18569. "areauserid": {
  18570. "description": "所属机构",
  18571. "type": "integer"
  18572. },
  18573. "basiccurrencyid": {
  18574. "description": "基本币种ID[汇率] - 目标币种",
  18575. "type": "integer"
  18576. },
  18577. "mainaccountid": {
  18578. "description": "主账户ID",
  18579. "type": "integer"
  18580. },
  18581. "modifierid": {
  18582. "description": "修改人",
  18583. "type": "integer"
  18584. },
  18585. "remark": {
  18586. "description": "备注",
  18587. "type": "string"
  18588. },
  18589. "tradeconfigtmpid": {
  18590. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18591. "type": "integer"
  18592. },
  18593. "tradeconfigtmpname": {
  18594. "description": "交易配置模板名称",
  18595. "type": "string"
  18596. },
  18597. "tradeconfigtmptype": {
  18598. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18599. "type": "integer"
  18600. },
  18601. "updatetime": {
  18602. "description": "更新时间",
  18603. "type": "string"
  18604. }
  18605. }
  18606. },
  18607. "models.ErmcpUserModel": {
  18608. "type": "object",
  18609. "properties": {
  18610. "address": {
  18611. "description": "通讯地址",
  18612. "type": "string"
  18613. },
  18614. "attachment1": {
  18615. "description": "附件1",
  18616. "type": "string"
  18617. },
  18618. "audittime": {
  18619. "description": "审核时间",
  18620. "type": "string"
  18621. },
  18622. "cardbackphotourl": {
  18623. "description": "证件反面图片地址",
  18624. "type": "string"
  18625. },
  18626. "cardfrontphotourl": {
  18627. "description": "证件正面图片地址",
  18628. "type": "string"
  18629. },
  18630. "cardnum": {
  18631. "description": "证件号码",
  18632. "type": "string"
  18633. },
  18634. "cardtype": {
  18635. "description": "证件类型",
  18636. "type": "integer"
  18637. },
  18638. "cardtypename": {
  18639. "description": "证件类型名称",
  18640. "type": "string"
  18641. },
  18642. "cityid": {
  18643. "description": "市",
  18644. "type": "integer"
  18645. },
  18646. "contactname": {
  18647. "description": "联系人",
  18648. "type": "string"
  18649. },
  18650. "countryid": {
  18651. "description": "国家",
  18652. "type": "integer"
  18653. },
  18654. "createtime": {
  18655. "description": "创建时间",
  18656. "type": "string"
  18657. },
  18658. "customername": {
  18659. "description": "企业名称",
  18660. "type": "string"
  18661. },
  18662. "districtid": {
  18663. "description": "区域",
  18664. "type": "integer"
  18665. },
  18666. "email": {
  18667. "description": "邮件",
  18668. "type": "string"
  18669. },
  18670. "legalpersonname": {
  18671. "description": "法人姓名(企业)",
  18672. "type": "string"
  18673. },
  18674. "memberuserid": {
  18675. "description": "所属机构ID",
  18676. "type": "integer"
  18677. },
  18678. "mobile": {
  18679. "description": "手机号码",
  18680. "type": "string"
  18681. },
  18682. "modifytime": {
  18683. "description": "修改时间",
  18684. "type": "string"
  18685. },
  18686. "nickname": {
  18687. "description": "昵称",
  18688. "type": "string"
  18689. },
  18690. "provinceid": {
  18691. "description": "省",
  18692. "type": "integer"
  18693. },
  18694. "remark": {
  18695. "description": "备注",
  18696. "type": "string"
  18697. },
  18698. "status": {
  18699. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18700. "type": "integer"
  18701. },
  18702. "statusdesc": {
  18703. "description": "账户状态中文描述",
  18704. "type": "string"
  18705. },
  18706. "taxpayernum": {
  18707. "description": "纳税人识别号",
  18708. "type": "string"
  18709. },
  18710. "telphone": {
  18711. "description": "联系电话",
  18712. "type": "string"
  18713. },
  18714. "userid": {
  18715. "description": "用户ID",
  18716. "type": "integer"
  18717. },
  18718. "userinfotype": {
  18719. "description": "客户类型",
  18720. "type": "string"
  18721. }
  18722. }
  18723. },
  18724. "models.ErmcpWareHouseInfo": {
  18725. "type": "object",
  18726. "properties": {
  18727. "address": {
  18728. "description": "详细地址",
  18729. "type": "string"
  18730. },
  18731. "areauserid": {
  18732. "description": "所属机构",
  18733. "type": "integer"
  18734. },
  18735. "autoid": {
  18736. "description": "自增ID(仓库ID)",
  18737. "type": "integer"
  18738. },
  18739. "cityid": {
  18740. "description": "市",
  18741. "type": "integer"
  18742. },
  18743. "contactname": {
  18744. "description": "联系人",
  18745. "type": "string"
  18746. },
  18747. "contactnum": {
  18748. "description": "联系电话",
  18749. "type": "string"
  18750. },
  18751. "countryid": {
  18752. "description": "国家",
  18753. "type": "integer"
  18754. },
  18755. "createtime": {
  18756. "description": "创建时间",
  18757. "type": "string"
  18758. },
  18759. "districtid": {
  18760. "description": "区",
  18761. "type": "integer"
  18762. },
  18763. "hasvideo": {
  18764. "description": "是否有视频 - 0:无 1:有",
  18765. "type": "integer"
  18766. },
  18767. "provinceid": {
  18768. "description": "省",
  18769. "type": "integer"
  18770. },
  18771. "remark": {
  18772. "description": "审核备注",
  18773. "type": "string"
  18774. },
  18775. "videourl": {
  18776. "description": "视频地址",
  18777. "type": "string"
  18778. },
  18779. "warehousecode": {
  18780. "description": "仓库代码",
  18781. "type": "string"
  18782. },
  18783. "warehousename": {
  18784. "description": "仓库名称",
  18785. "type": "string"
  18786. },
  18787. "warehousestatus": {
  18788. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18789. "type": "integer"
  18790. },
  18791. "warehousetype": {
  18792. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18793. "type": "integer"
  18794. }
  18795. }
  18796. },
  18797. "models.ErmcpWrstandDetail": {
  18798. "type": "object",
  18799. "properties": {
  18800. "gbList": {
  18801. "description": "品牌列表",
  18802. "type": "array",
  18803. "items": {
  18804. "$ref": "#/definitions/models.GoodsBrand"
  18805. }
  18806. },
  18807. "goodsList": {
  18808. "description": "关联交易商品列表",
  18809. "type": "array",
  18810. "items": {
  18811. "$ref": "#/definitions/models.RelatedGoodsEx"
  18812. }
  18813. },
  18814. "gtList": {
  18815. "description": "型号列表",
  18816. "type": "array",
  18817. "items": {
  18818. "$ref": "#/definitions/models.GoodsTypeModel"
  18819. }
  18820. },
  18821. "wrd": {
  18822. "description": "基本信息",
  18823. "type": "object",
  18824. "$ref": "#/definitions/models.ErmcpWrstandard"
  18825. },
  18826. "wrsList": {
  18827. "description": "套保信息列表",
  18828. "type": "array",
  18829. "items": {
  18830. "$ref": "#/definitions/models.WRSConverTDetail"
  18831. }
  18832. }
  18833. }
  18834. },
  18835. "models.ErmcpWrstandard": {
  18836. "type": "object",
  18837. "properties": {
  18838. "areauserid": {
  18839. "description": "所属机构",
  18840. "type": "integer"
  18841. },
  18842. "createtime": {
  18843. "description": "创建时间",
  18844. "type": "string"
  18845. },
  18846. "creatorid": {
  18847. "description": "创建人",
  18848. "type": "integer"
  18849. },
  18850. "deliverygoodsid": {
  18851. "description": "品种ID",
  18852. "type": "integer"
  18853. },
  18854. "enumdicname": {
  18855. "description": "单位名称",
  18856. "type": "string"
  18857. },
  18858. "isvalid": {
  18859. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18860. "type": "integer"
  18861. },
  18862. "minivalue": {
  18863. "description": "最小变动值",
  18864. "type": "integer"
  18865. },
  18866. "minivaluedp": {
  18867. "description": "最小变动值小数位",
  18868. "type": "integer"
  18869. },
  18870. "realminivalue": {
  18871. "description": "实际最小变动值",
  18872. "type": "integer"
  18873. },
  18874. "realminivaluedp": {
  18875. "description": "实际最小变动值小数位",
  18876. "type": "integer"
  18877. },
  18878. "remark": {
  18879. "description": "备注",
  18880. "type": "string"
  18881. },
  18882. "unitid": {
  18883. "description": "单位ID",
  18884. "type": "integer"
  18885. },
  18886. "updatetime": {
  18887. "description": "更新时间",
  18888. "type": "string"
  18889. },
  18890. "wrstandardcode": {
  18891. "description": "现货商品代码",
  18892. "type": "string"
  18893. },
  18894. "wrstandardid": {
  18895. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18896. "type": "integer"
  18897. },
  18898. "wrstandardname": {
  18899. "description": "现货商品名称",
  18900. "type": "string"
  18901. }
  18902. }
  18903. },
  18904. "models.Externalexchange": {
  18905. "type": "object",
  18906. "required": [
  18907. "autoid"
  18908. ],
  18909. "properties": {
  18910. "autoid": {
  18911. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18912. "type": "integer"
  18913. },
  18914. "exchangefullname": {
  18915. "description": "外部交易所全称",
  18916. "type": "string"
  18917. },
  18918. "exexchangecode": {
  18919. "description": "外部交易所代码",
  18920. "type": "string"
  18921. },
  18922. "exexchangename": {
  18923. "description": "外部交易所名称(简称)",
  18924. "type": "string"
  18925. },
  18926. "ismarketprice": {
  18927. "description": "是否支持市价 - 0:不支持 1:支持",
  18928. "type": "integer"
  18929. },
  18930. "quotegear": {
  18931. "description": "行情档位(1-10)",
  18932. "type": "integer"
  18933. },
  18934. "showbrokerflag": {
  18935. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18936. "type": "integer"
  18937. },
  18938. "updatetime": {
  18939. "description": "更新时间",
  18940. "type": "string"
  18941. }
  18942. }
  18943. },
  18944. "models.Funcmenulist": {
  18945. "type": "object",
  18946. "required": [
  18947. "resourcecode"
  18948. ],
  18949. "properties": {
  18950. "iconame": {
  18951. "description": "菜单图标",
  18952. "type": "string"
  18953. },
  18954. "menutype": {
  18955. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18956. "type": "integer"
  18957. },
  18958. "parentcode": {
  18959. "description": "上级资源代码",
  18960. "type": "string"
  18961. },
  18962. "remark": {
  18963. "description": "备注",
  18964. "type": "string"
  18965. },
  18966. "resourcecode": {
  18967. "description": "资源代码",
  18968. "type": "string"
  18969. },
  18970. "resourcelevel": {
  18971. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18972. "type": "integer"
  18973. },
  18974. "resourcename": {
  18975. "description": "资源名",
  18976. "type": "string"
  18977. },
  18978. "sort": {
  18979. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18980. "type": "integer"
  18981. },
  18982. "url": {
  18983. "description": "URL",
  18984. "type": "string"
  18985. }
  18986. }
  18987. },
  18988. "models.Goods": {
  18989. "type": "object",
  18990. "required": [
  18991. "goodscode",
  18992. "goodsid",
  18993. "goodsname",
  18994. "marketid"
  18995. ],
  18996. "properties": {
  18997. "agreeunit": {
  18998. "description": "合约单位",
  18999. "type": "number"
  19000. },
  19001. "auditaccountid": {
  19002. "description": "审核操作员账号",
  19003. "type": "integer"
  19004. },
  19005. "audittime": {
  19006. "description": "审核时间",
  19007. "type": "string"
  19008. },
  19009. "cancelaccountid": {
  19010. "description": "注销操作员账号",
  19011. "type": "integer"
  19012. },
  19013. "canceltime": {
  19014. "description": "注销时间",
  19015. "type": "string"
  19016. },
  19017. "closepricemode": {
  19018. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19019. "type": "integer"
  19020. },
  19021. "closepriceparam": {
  19022. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19023. "type": "number"
  19024. },
  19025. "createtime": {
  19026. "description": "创建时间",
  19027. "type": "string"
  19028. },
  19029. "creatorid": {
  19030. "description": "创建人",
  19031. "type": "integer"
  19032. },
  19033. "currencyid": {
  19034. "description": "报价货币ID",
  19035. "type": "integer"
  19036. },
  19037. "cutmode": {
  19038. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19039. "type": "integer"
  19040. },
  19041. "decimalplace": {
  19042. "description": "报价小数位",
  19043. "type": "integer"
  19044. },
  19045. "delistingdate": {
  19046. "description": "商品退市时间(状态:退市) -- 已作废",
  19047. "type": "string"
  19048. },
  19049. "delistingmode": {
  19050. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19051. "type": "integer"
  19052. },
  19053. "deliveryflag": {
  19054. "description": "交割标志 - 0:不可交割 1:可交割",
  19055. "type": "integer"
  19056. },
  19057. "forceclosemode": {
  19058. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19059. "type": "integer"
  19060. },
  19061. "forceclosevalue": {
  19062. "description": "定期强平参数 [收益权]",
  19063. "type": "integer"
  19064. },
  19065. "goodscode": {
  19066. "description": "商品代码(内部)",
  19067. "type": "string"
  19068. },
  19069. "goodscurrencyid": {
  19070. "description": "合约货币ID",
  19071. "type": "integer"
  19072. },
  19073. "goodsgroupid": {
  19074. "description": "所属商品组ID",
  19075. "type": "integer"
  19076. },
  19077. "goodsid": {
  19078. "description": "商品ID(自增ID SEQ_GOODS)",
  19079. "type": "integer"
  19080. },
  19081. "goodsname": {
  19082. "description": "商品名称",
  19083. "type": "string"
  19084. },
  19085. "goodsquotetype": {
  19086. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19087. "type": "integer"
  19088. },
  19089. "goodsstatus": {
  19090. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19091. "type": "integer"
  19092. },
  19093. "goodstradetype": {
  19094. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19095. "type": "integer"
  19096. },
  19097. "goodunitid": {
  19098. "description": "报价单位ID",
  19099. "type": "integer"
  19100. },
  19101. "hasquoter": {
  19102. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19103. "type": "integer"
  19104. },
  19105. "hqprotecttime": {
  19106. "description": "行情保护时间(秒)",
  19107. "type": "integer"
  19108. },
  19109. "innerdealmode": {
  19110. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19111. "type": "integer"
  19112. },
  19113. "isbuylimited": {
  19114. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19115. "type": "integer"
  19116. },
  19117. "lasttradedate": {
  19118. "description": "最后交易日期(状态:待退市)",
  19119. "type": "string"
  19120. },
  19121. "listingdate": {
  19122. "description": "交易开始日期",
  19123. "type": "string"
  19124. },
  19125. "marketid": {
  19126. "description": "所属市场ID",
  19127. "type": "integer"
  19128. },
  19129. "modifierid": {
  19130. "description": "修改人",
  19131. "type": "integer"
  19132. },
  19133. "modifystatus": {
  19134. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19135. "type": "integer"
  19136. },
  19137. "modifytime": {
  19138. "description": "修改时间",
  19139. "type": "string"
  19140. },
  19141. "outerdealmode": {
  19142. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19143. "type": "integer"
  19144. },
  19145. "outgoodscode": {
  19146. "description": "商品代码(外部)",
  19147. "type": "string"
  19148. },
  19149. "qtydecimalplace": {
  19150. "description": "成交量小数位",
  19151. "type": "integer"
  19152. },
  19153. "quotegear": {
  19154. "description": "行情档位(1-10)",
  19155. "type": "integer"
  19156. },
  19157. "quoteminunit": {
  19158. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19159. "type": "integer"
  19160. },
  19161. "quoteshowtype": {
  19162. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19163. "type": "integer"
  19164. },
  19165. "quoteshowtypeinterval": {
  19166. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19167. "type": "integer"
  19168. },
  19169. "remark": {
  19170. "description": "备注",
  19171. "type": "string"
  19172. }
  19173. }
  19174. },
  19175. "models.GoodsBrand": {
  19176. "type": "object",
  19177. "properties": {
  19178. "brandid": {
  19179. "description": "品牌ID",
  19180. "type": "integer"
  19181. },
  19182. "brandname": {
  19183. "description": "品牌名称",
  19184. "type": "string"
  19185. },
  19186. "isvalid": {
  19187. "description": "是否有效 - 0:无效 1:有效",
  19188. "type": "integer"
  19189. }
  19190. }
  19191. },
  19192. "models.GoodsIDAndName": {
  19193. "type": "object",
  19194. "required": [
  19195. "goodscode",
  19196. "goodsid",
  19197. "goodsname",
  19198. "marketid"
  19199. ],
  19200. "properties": {
  19201. "goodscode": {
  19202. "description": "商品代码(内部)",
  19203. "type": "string"
  19204. },
  19205. "goodsid": {
  19206. "description": "商品ID(自增ID SEQ_GOODS)",
  19207. "type": "integer"
  19208. },
  19209. "goodsname": {
  19210. "description": "商品名称",
  19211. "type": "string"
  19212. },
  19213. "marketid": {
  19214. "description": "所属市场ID",
  19215. "type": "integer"
  19216. }
  19217. }
  19218. },
  19219. "models.GoodsTypeModel": {
  19220. "type": "object",
  19221. "properties": {
  19222. "convertfactor": {
  19223. "description": "标仓系数",
  19224. "type": "number"
  19225. },
  19226. "modelid": {
  19227. "description": "型号ID",
  19228. "type": "integer"
  19229. },
  19230. "modelname": {
  19231. "description": "型号名称",
  19232. "type": "string"
  19233. },
  19234. "updatetime": {
  19235. "description": "更新时间",
  19236. "type": "string"
  19237. }
  19238. }
  19239. },
  19240. "models.Goodsgroup": {
  19241. "type": "object",
  19242. "required": [
  19243. "goodsgroupid",
  19244. "goodsgroupname",
  19245. "goodsgroupstatus",
  19246. "marketid"
  19247. ],
  19248. "properties": {
  19249. "agreeunit": {
  19250. "description": "合约单位",
  19251. "type": "number"
  19252. },
  19253. "canshort": {
  19254. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19255. "type": "integer"
  19256. },
  19257. "closepricemode": {
  19258. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19259. "type": "integer"
  19260. },
  19261. "closepriceparam": {
  19262. "description": "强平最新价浮动比例 - 方式为2时使用",
  19263. "type": "number"
  19264. },
  19265. "createtime": {
  19266. "description": "创建时间",
  19267. "type": "string"
  19268. },
  19269. "creatorid": {
  19270. "description": "创建人",
  19271. "type": "integer"
  19272. },
  19273. "currencyid": {
  19274. "description": "报价货币ID",
  19275. "type": "integer"
  19276. },
  19277. "decimalplace": {
  19278. "description": "报价小数位",
  19279. "type": "integer"
  19280. },
  19281. "exercisetype": {
  19282. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19283. "type": "integer"
  19284. },
  19285. "exexchangeid": {
  19286. "description": "外部交易所ID[通道交易]",
  19287. "type": "integer"
  19288. },
  19289. "goodsgroupid": {
  19290. "description": "商品组ID(自增ID)",
  19291. "type": "integer"
  19292. },
  19293. "goodsgroupname": {
  19294. "description": "商品组名称",
  19295. "type": "string"
  19296. },
  19297. "goodsgroupstatus": {
  19298. "description": "商品组状态 - 1:正常 2:注销",
  19299. "type": "integer"
  19300. },
  19301. "goodunitid": {
  19302. "description": "报价单位ID",
  19303. "type": "integer"
  19304. },
  19305. "innerdealmode": {
  19306. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19307. "type": "integer"
  19308. },
  19309. "isbuylimited": {
  19310. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19311. "type": "integer"
  19312. },
  19313. "marketid": {
  19314. "description": "所属市场ID",
  19315. "type": "integer"
  19316. },
  19317. "modifierid": {
  19318. "description": "修改人",
  19319. "type": "integer"
  19320. },
  19321. "modifytime": {
  19322. "description": "修改时间",
  19323. "type": "string"
  19324. },
  19325. "outerdealmode": {
  19326. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19327. "type": "integer"
  19328. },
  19329. "outergroupcode": {
  19330. "description": "外部商品组代码[通道交易]",
  19331. "type": "string"
  19332. },
  19333. "premiumdecimalplace": {
  19334. "description": "权利金小数位[场外期权]",
  19335. "type": "integer"
  19336. },
  19337. "premiumspreadalgorithm": {
  19338. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19339. "type": "integer"
  19340. },
  19341. "premiumspreadvalue": {
  19342. "description": "权利金点差值[场外期权]",
  19343. "type": "number"
  19344. },
  19345. "qtydecimalplace": {
  19346. "description": "成交量小数位",
  19347. "type": "integer"
  19348. },
  19349. "quotegear": {
  19350. "description": "行情档位(1-10)",
  19351. "type": "integer"
  19352. },
  19353. "quoteminunit": {
  19354. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19355. "type": "integer"
  19356. },
  19357. "quoterid": {
  19358. "description": "报价商ID[场外期权]",
  19359. "type": "integer"
  19360. },
  19361. "quotesourcegroupid": {
  19362. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19363. "type": "integer"
  19364. },
  19365. "syncgoodsqty": {
  19366. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19367. "type": "integer"
  19368. }
  19369. }
  19370. },
  19371. "models.Goodssortbypreposition": {
  19372. "type": "object",
  19373. "required": [
  19374. "goodscode",
  19375. "tradedate"
  19376. ],
  19377. "properties": {
  19378. "goodscode": {
  19379. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19380. "type": "string"
  19381. },
  19382. "goodsgroupcode": {
  19383. "description": "品种代码",
  19384. "type": "string"
  19385. },
  19386. "prepositionqty": {
  19387. "description": "昨持仓量",
  19388. "type": "integer"
  19389. },
  19390. "sortindex": {
  19391. "description": "排序",
  19392. "type": "integer"
  19393. },
  19394. "tradedate": {
  19395. "description": "交易日",
  19396. "type": "string"
  19397. },
  19398. "updatetime": {
  19399. "description": "更新时间",
  19400. "type": "string"
  19401. }
  19402. }
  19403. },
  19404. "models.Hedgeinnerholderdetail": {
  19405. "type": "object",
  19406. "required": [
  19407. "buyorsell",
  19408. "tradeid"
  19409. ],
  19410. "properties": {
  19411. "accountid": {
  19412. "description": "账号ID",
  19413. "type": "integer"
  19414. },
  19415. "buyorsell": {
  19416. "description": "方向 - 0:买 1:卖",
  19417. "type": "integer"
  19418. },
  19419. "freezeqty": {
  19420. "description": "冻结数量 - 按单平使用",
  19421. "type": "integer"
  19422. },
  19423. "goodsid": {
  19424. "description": "商品ID",
  19425. "type": "integer"
  19426. },
  19427. "holderamount": {
  19428. "description": "持仓金额 [商品币种]",
  19429. "type": "number"
  19430. },
  19431. "holderdays": {
  19432. "description": "剩余冻结天数",
  19433. "type": "integer"
  19434. },
  19435. "holderprice": {
  19436. "description": "持仓价格",
  19437. "type": "number"
  19438. },
  19439. "holderqty": {
  19440. "description": "持仓数量",
  19441. "type": "integer"
  19442. },
  19443. "marketid": {
  19444. "description": "市场ID",
  19445. "type": "integer"
  19446. },
  19447. "openprice": {
  19448. "description": "建仓价格",
  19449. "type": "number"
  19450. },
  19451. "openqty": {
  19452. "description": "建仓数量",
  19453. "type": "integer"
  19454. },
  19455. "parentaccountid": {
  19456. "description": "所属母账户",
  19457. "type": "integer"
  19458. },
  19459. "releaseamount": {
  19460. "description": "释放持仓金额[商品币种]",
  19461. "type": "number"
  19462. },
  19463. "tradeamount": {
  19464. "description": "成交金额[账户]",
  19465. "type": "number"
  19466. },
  19467. "tradedate": {
  19468. "description": "交易日(yyyyMMdd)",
  19469. "type": "string"
  19470. },
  19471. "tradeid": {
  19472. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19473. "type": "string"
  19474. },
  19475. "tradetime": {
  19476. "description": "交易时间",
  19477. "type": "string"
  19478. }
  19479. }
  19480. },
  19481. "models.Hedgemarketopenlog": {
  19482. "type": "object",
  19483. "required": [
  19484. "accountid"
  19485. ],
  19486. "properties": {
  19487. "accountid": {
  19488. "description": "资金账号[外部母账户]",
  19489. "type": "integer"
  19490. },
  19491. "fcname": {
  19492. "description": "期货公司名称",
  19493. "type": "string"
  19494. },
  19495. "handlestatus": {
  19496. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19497. "type": "integer"
  19498. },
  19499. "marketid": {
  19500. "description": "市场ID",
  19501. "type": "integer"
  19502. },
  19503. "status": {
  19504. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19505. "type": "integer"
  19506. },
  19507. "tradedate": {
  19508. "description": "交易日(yyyyMMdd)",
  19509. "type": "string"
  19510. },
  19511. "updatetime": {
  19512. "description": "更新时间",
  19513. "type": "string"
  19514. }
  19515. }
  19516. },
  19517. "models.HsbyBuyMyPayOrder": {
  19518. "type": "object",
  19519. "required": [
  19520. "goodscode",
  19521. "goodsname",
  19522. "tradeid",
  19523. "trademode"
  19524. ],
  19525. "properties": {
  19526. "agreeunit": {
  19527. "description": "合约单位",
  19528. "type": "number"
  19529. },
  19530. "buyaccountid": {
  19531. "description": "买方账号ID[报价币种]",
  19532. "type": "integer"
  19533. },
  19534. "buyorderid": {
  19535. "description": "买方委托单号",
  19536. "type": "string"
  19537. },
  19538. "createtime": {
  19539. "description": "创建时间",
  19540. "type": "string"
  19541. },
  19542. "currencysign": {
  19543. "description": "货币符号",
  19544. "type": "string"
  19545. },
  19546. "decimalplace": {
  19547. "description": "报价小数位",
  19548. "type": "integer"
  19549. },
  19550. "goodscode": {
  19551. "description": "商品代码(内部)",
  19552. "type": "string"
  19553. },
  19554. "goodsid": {
  19555. "description": "商品ID",
  19556. "type": "integer"
  19557. },
  19558. "goodsname": {
  19559. "description": "商品名称",
  19560. "type": "string"
  19561. },
  19562. "marketid": {
  19563. "description": "市场ID",
  19564. "type": "integer"
  19565. },
  19566. "offamount": {
  19567. "description": "优惠金额",
  19568. "type": "number"
  19569. },
  19570. "originalamount": {
  19571. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19572. "type": "number"
  19573. },
  19574. "payamount": {
  19575. "description": "支付金额 = TradeAmount + TradeCharge",
  19576. "type": "number"
  19577. },
  19578. "payflag": {
  19579. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19580. "type": "integer"
  19581. },
  19582. "paylimitedtime": {
  19583. "description": "支付期限",
  19584. "type": "string"
  19585. },
  19586. "paytime": {
  19587. "description": "付款时间",
  19588. "type": "string"
  19589. },
  19590. "picurls1": {
  19591. "description": "预售商品介绍图片[多张用逗号分隔]",
  19592. "type": "string"
  19593. },
  19594. "picurls2": {
  19595. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19596. "type": "string"
  19597. },
  19598. "sellaccountid": {
  19599. "description": "卖方账号ID[报价币种]",
  19600. "type": "integer"
  19601. },
  19602. "sellorderid": {
  19603. "description": "卖方委托单号",
  19604. "type": "string"
  19605. },
  19606. "tradeamount": {
  19607. "description": "成交金额",
  19608. "type": "number"
  19609. },
  19610. "tradecharge": {
  19611. "description": "成交手续费(买方)",
  19612. "type": "number"
  19613. },
  19614. "tradedate": {
  19615. "description": "交易日(yyyyMMdd)",
  19616. "type": "string"
  19617. },
  19618. "tradeid": {
  19619. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19620. "type": "string"
  19621. },
  19622. "trademode": {
  19623. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19624. "type": "integer"
  19625. },
  19626. "tradeprice": {
  19627. "description": "成交价格",
  19628. "type": "number"
  19629. },
  19630. "tradeqty": {
  19631. "description": "成交数量",
  19632. "type": "integer"
  19633. },
  19634. "vendorname1": {
  19635. "description": "预售商品供应商名称",
  19636. "type": "string"
  19637. },
  19638. "vendorname2": {
  19639. "description": "挂牌商品供应商名称",
  19640. "type": "string"
  19641. }
  19642. }
  19643. },
  19644. "models.HsbyBuyMyTradeDetail": {
  19645. "type": "object",
  19646. "required": [
  19647. "accountid",
  19648. "buyorsell",
  19649. "goodscode",
  19650. "goodsid",
  19651. "goodsname",
  19652. "marketid",
  19653. "orderid",
  19654. "qty",
  19655. "time",
  19656. "trademode"
  19657. ],
  19658. "properties": {
  19659. "accountid": {
  19660. "description": "账户ID[报价币种]",
  19661. "type": "integer"
  19662. },
  19663. "agreeunit": {
  19664. "description": "合约单位",
  19665. "type": "number"
  19666. },
  19667. "amount": {
  19668. "description": "金额 = 价格 * 数量 * 合约单位",
  19669. "type": "number"
  19670. },
  19671. "buyorsell": {
  19672. "description": "买卖 - 0:买 1:卖",
  19673. "type": "integer"
  19674. },
  19675. "currencysign": {
  19676. "description": "货币符号",
  19677. "type": "string"
  19678. },
  19679. "decimalplace": {
  19680. "description": "报价小数位",
  19681. "type": "integer"
  19682. },
  19683. "goodscode": {
  19684. "description": "商品代码(内部)",
  19685. "type": "string"
  19686. },
  19687. "goodsid": {
  19688. "description": "商品ID",
  19689. "type": "integer"
  19690. },
  19691. "goodsname": {
  19692. "description": "商品名称",
  19693. "type": "string"
  19694. },
  19695. "marketid": {
  19696. "description": "市场ID",
  19697. "type": "integer"
  19698. },
  19699. "orderamount": {
  19700. "description": "委托金额",
  19701. "type": "number"
  19702. },
  19703. "orderid": {
  19704. "description": "单号(成交单号)",
  19705. "type": "string"
  19706. },
  19707. "picurls1": {
  19708. "description": "预售商品介绍图片[多张用逗号分隔]",
  19709. "type": "string"
  19710. },
  19711. "picurls2": {
  19712. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19713. "type": "string"
  19714. },
  19715. "price": {
  19716. "description": "价格",
  19717. "type": "number"
  19718. },
  19719. "qty": {
  19720. "description": "数量",
  19721. "type": "integer"
  19722. },
  19723. "time": {
  19724. "description": "时间",
  19725. "type": "string"
  19726. },
  19727. "trademode": {
  19728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19729. "type": "integer"
  19730. },
  19731. "vendorname1": {
  19732. "description": "预售商品供应商名称",
  19733. "type": "string"
  19734. },
  19735. "vendorname2": {
  19736. "description": "挂牌商品供应商名称",
  19737. "type": "string"
  19738. }
  19739. }
  19740. },
  19741. "models.HsbyGoodsOrderDetail": {
  19742. "type": "object",
  19743. "required": [
  19744. "buyorsell",
  19745. "orderid",
  19746. "ordertime"
  19747. ],
  19748. "properties": {
  19749. "buyorsell": {
  19750. "description": "买卖 - 0:买 1:卖",
  19751. "type": "integer"
  19752. },
  19753. "currencysign": {
  19754. "description": "货币符号",
  19755. "type": "string"
  19756. },
  19757. "customername": {
  19758. "description": "客户名称(企业名称),已脱敏",
  19759. "type": "string"
  19760. },
  19761. "enableqty": {
  19762. "description": "可用数量",
  19763. "type": "integer"
  19764. },
  19765. "goodunit": {
  19766. "description": "报价单位",
  19767. "type": "string"
  19768. },
  19769. "orderid": {
  19770. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19771. "type": "string"
  19772. },
  19773. "orderprice": {
  19774. "description": "委托价格",
  19775. "type": "number"
  19776. },
  19777. "ordertime": {
  19778. "description": "委托时间",
  19779. "type": "string"
  19780. }
  19781. }
  19782. },
  19783. "models.HsbyListingGoodsDetail": {
  19784. "type": "object",
  19785. "required": [
  19786. "goodscode",
  19787. "goodsid",
  19788. "goodsname",
  19789. "marketid",
  19790. "trademode"
  19791. ],
  19792. "properties": {
  19793. "agreeunit": {
  19794. "description": "合约单位",
  19795. "type": "number"
  19796. },
  19797. "buymaxqty": {
  19798. "description": "购买上限 [71] - 0为不限",
  19799. "type": "integer"
  19800. },
  19801. "currency": {
  19802. "description": "货币",
  19803. "type": "string"
  19804. },
  19805. "currencysign": {
  19806. "description": "货币符号",
  19807. "type": "string"
  19808. },
  19809. "decimalplace": {
  19810. "description": "报价小数位",
  19811. "type": "integer"
  19812. },
  19813. "desccityid": {
  19814. "description": "目的地(市)ID",
  19815. "type": "integer"
  19816. },
  19817. "descprovinceid": {
  19818. "description": "目的地(省)ID",
  19819. "type": "integer"
  19820. },
  19821. "goodscode": {
  19822. "description": "商品代码(内部)",
  19823. "type": "string"
  19824. },
  19825. "goodsdesc": {
  19826. "description": "商品详情",
  19827. "type": "string"
  19828. },
  19829. "goodsid": {
  19830. "description": "商品ID(自增ID SEQ_GOODS)",
  19831. "type": "integer"
  19832. },
  19833. "goodsname": {
  19834. "description": "商品名称",
  19835. "type": "string"
  19836. },
  19837. "goodsprice": {
  19838. "description": "商品价格",
  19839. "type": "number"
  19840. },
  19841. "hotindex": {
  19842. "description": "景点热度",
  19843. "type": "integer"
  19844. },
  19845. "last": {
  19846. "description": "现价",
  19847. "type": "number"
  19848. },
  19849. "limitdown": {
  19850. "description": "跌停价",
  19851. "type": "number"
  19852. },
  19853. "limitup": {
  19854. "description": "涨停价",
  19855. "type": "number"
  19856. },
  19857. "lotsize": {
  19858. "description": "手数最小变动单位",
  19859. "type": "integer"
  19860. },
  19861. "marketid": {
  19862. "description": "所属市场ID",
  19863. "type": "integer"
  19864. },
  19865. "picurls": {
  19866. "description": "介绍图片[多张用逗号分隔]",
  19867. "type": "string"
  19868. },
  19869. "quoteminunit": {
  19870. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19871. "type": "integer"
  19872. },
  19873. "stepvalue": {
  19874. "description": "价格最小变动单位",
  19875. "type": "number"
  19876. },
  19877. "trademode": {
  19878. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19879. "type": "integer"
  19880. },
  19881. "vendorattr": {
  19882. "description": "供应商附件(多张,逗号分隔)",
  19883. "type": "string"
  19884. },
  19885. "vendorname": {
  19886. "description": "供应商名称",
  19887. "type": "string"
  19888. },
  19889. "vendorphone": {
  19890. "description": "供应商客服电话",
  19891. "type": "string"
  19892. },
  19893. "videourls": {
  19894. "description": "介绍视频[多张用逗号分隔]",
  19895. "type": "string"
  19896. }
  19897. }
  19898. },
  19899. "models.HsbyMarketGoods": {
  19900. "type": "object",
  19901. "required": [
  19902. "accountid",
  19903. "buyorsell",
  19904. "goodscode",
  19905. "goodsid",
  19906. "goodsname",
  19907. "marketid",
  19908. "orderid",
  19909. "trademode"
  19910. ],
  19911. "properties": {
  19912. "accountid": {
  19913. "description": "账户ID[报价币种]",
  19914. "type": "integer"
  19915. },
  19916. "agreeunit": {
  19917. "description": "合约单位",
  19918. "type": "number"
  19919. },
  19920. "buyorsell": {
  19921. "description": "买卖 - 0:买 1:卖",
  19922. "type": "integer"
  19923. },
  19924. "categoryid": {
  19925. "description": "类别ID(WRCATEGORY)",
  19926. "type": "integer"
  19927. },
  19928. "currency": {
  19929. "description": "货币",
  19930. "type": "string"
  19931. },
  19932. "currencysign": {
  19933. "description": "货币符号",
  19934. "type": "string"
  19935. },
  19936. "customername": {
  19937. "description": "卖家名称",
  19938. "type": "string"
  19939. },
  19940. "decimalplace": {
  19941. "description": "报价小数位",
  19942. "type": "integer"
  19943. },
  19944. "goodscode": {
  19945. "description": "商品代码(内部)",
  19946. "type": "string"
  19947. },
  19948. "goodsid": {
  19949. "description": "商品ID",
  19950. "type": "integer"
  19951. },
  19952. "goodsname": {
  19953. "description": "商品名称",
  19954. "type": "string"
  19955. },
  19956. "goodsprice": {
  19957. "description": "商品价格",
  19958. "type": "number"
  19959. },
  19960. "hascoupon": {
  19961. "description": "是否可用优惠卷",
  19962. "type": "boolean"
  19963. },
  19964. "hotindex": {
  19965. "description": "景点热度",
  19966. "type": "integer"
  19967. },
  19968. "marketid": {
  19969. "description": "市场ID",
  19970. "type": "integer"
  19971. },
  19972. "orderid": {
  19973. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19974. "type": "string"
  19975. },
  19976. "orderprice": {
  19977. "description": "委托价格",
  19978. "type": "number"
  19979. },
  19980. "orderstatus": {
  19981. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19982. "type": "integer"
  19983. },
  19984. "picurls": {
  19985. "description": "介绍图片[多张用逗号分隔]",
  19986. "type": "string"
  19987. },
  19988. "quoteminunit": {
  19989. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19990. "type": "integer"
  19991. },
  19992. "sellUserID": {
  19993. "description": "卖方UserID",
  19994. "type": "integer"
  19995. },
  19996. "trademode": {
  19997. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19998. "type": "integer"
  19999. },
  20000. "videourls": {
  20001. "description": "介绍视频[多张用逗号分隔]",
  20002. "type": "string"
  20003. }
  20004. }
  20005. },
  20006. "models.HsbyMarketGoodsDetail": {
  20007. "type": "object",
  20008. "required": [
  20009. "accountid",
  20010. "buyorsell",
  20011. "goodscode",
  20012. "goodsid",
  20013. "goodsname",
  20014. "marketid",
  20015. "orderid",
  20016. "orderqty",
  20017. "trademode"
  20018. ],
  20019. "properties": {
  20020. "accountid": {
  20021. "description": "账户ID[报价币种]",
  20022. "type": "integer"
  20023. },
  20024. "agreeunit": {
  20025. "description": "合约单位",
  20026. "type": "number"
  20027. },
  20028. "buymaxqty": {
  20029. "description": "购买上限 [71] - 0为不限",
  20030. "type": "integer"
  20031. },
  20032. "buyorsell": {
  20033. "description": "买卖 - 0:买 1:卖",
  20034. "type": "integer"
  20035. },
  20036. "cancelqty": {
  20037. "description": "撤单数量",
  20038. "type": "integer"
  20039. },
  20040. "categoryid": {
  20041. "description": "类别ID(WRCATEGORY)",
  20042. "type": "integer"
  20043. },
  20044. "currency": {
  20045. "description": "货币",
  20046. "type": "string"
  20047. },
  20048. "currencysign": {
  20049. "description": "货币符号",
  20050. "type": "string"
  20051. },
  20052. "customername": {
  20053. "description": "卖家名称",
  20054. "type": "string"
  20055. },
  20056. "decimalplace": {
  20057. "description": "报价小数位",
  20058. "type": "integer"
  20059. },
  20060. "goodscode": {
  20061. "description": "商品代码(内部)",
  20062. "type": "string"
  20063. },
  20064. "goodsdesc": {
  20065. "description": "商品详情",
  20066. "type": "string"
  20067. },
  20068. "goodsid": {
  20069. "description": "商品ID",
  20070. "type": "integer"
  20071. },
  20072. "goodsname": {
  20073. "description": "商品名称",
  20074. "type": "string"
  20075. },
  20076. "goodsprice": {
  20077. "description": "商品价格",
  20078. "type": "number"
  20079. },
  20080. "hotindex": {
  20081. "description": "景点热度",
  20082. "type": "integer"
  20083. },
  20084. "lotsize": {
  20085. "description": "手数最小变动单位",
  20086. "type": "integer"
  20087. },
  20088. "marketid": {
  20089. "description": "市场ID",
  20090. "type": "integer"
  20091. },
  20092. "orderid": {
  20093. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20094. "type": "string"
  20095. },
  20096. "orderprice": {
  20097. "description": "委托价格",
  20098. "type": "number"
  20099. },
  20100. "orderqty": {
  20101. "description": "委托数量",
  20102. "type": "integer"
  20103. },
  20104. "orderstatus": {
  20105. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20106. "type": "integer"
  20107. },
  20108. "picurls": {
  20109. "description": "介绍图片[多张用逗号分隔]",
  20110. "type": "string"
  20111. },
  20112. "quoteminunit": {
  20113. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20114. "type": "integer"
  20115. },
  20116. "sellUserID": {
  20117. "description": "卖方UserID",
  20118. "type": "integer"
  20119. },
  20120. "trademode": {
  20121. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20122. "type": "integer"
  20123. },
  20124. "tradeqty": {
  20125. "description": "成交数量",
  20126. "type": "integer"
  20127. },
  20128. "vendorattr": {
  20129. "description": "供应商附件(多张,逗号分隔)",
  20130. "type": "string"
  20131. },
  20132. "vendorname": {
  20133. "description": "供应商名称",
  20134. "type": "string"
  20135. },
  20136. "vendorphone": {
  20137. "description": "供应商客服电话",
  20138. "type": "string"
  20139. },
  20140. "videourls": {
  20141. "description": "介绍视频[多张用逗号分隔]",
  20142. "type": "string"
  20143. }
  20144. }
  20145. },
  20146. "models.HsbyMarketInfo": {
  20147. "type": "object",
  20148. "required": [
  20149. "marketid",
  20150. "marketstatus",
  20151. "trademode"
  20152. ],
  20153. "properties": {
  20154. "marketid": {
  20155. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20156. "type": "integer"
  20157. },
  20158. "marketname": {
  20159. "description": "市场名称",
  20160. "type": "string"
  20161. },
  20162. "marketstatus": {
  20163. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20164. "type": "integer"
  20165. },
  20166. "trademode": {
  20167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20168. "type": "integer"
  20169. }
  20170. }
  20171. },
  20172. "models.HsbyMyGoods": {
  20173. "type": "object",
  20174. "required": [
  20175. "accountid",
  20176. "goodscode",
  20177. "goodsid",
  20178. "goodsname",
  20179. "marketid",
  20180. "trademode"
  20181. ],
  20182. "properties": {
  20183. "accountid": {
  20184. "description": "账号Id",
  20185. "type": "integer"
  20186. },
  20187. "agreeunit": {
  20188. "description": "合约单位",
  20189. "type": "number"
  20190. },
  20191. "buyaverageprice": {
  20192. "description": "持仓均价",
  20193. "type": "number"
  20194. },
  20195. "buycurholderamount": {
  20196. "description": "买当前持仓总金额[商品币种]",
  20197. "type": "number"
  20198. },
  20199. "buycurpositionqty": {
  20200. "description": "买当前持仓总数量",
  20201. "type": "integer"
  20202. },
  20203. "buymaxqty": {
  20204. "description": "购买上限 [71] - 0为不限",
  20205. "type": "integer"
  20206. },
  20207. "currencysign": {
  20208. "description": "货币符号",
  20209. "type": "string"
  20210. },
  20211. "decimalplace": {
  20212. "description": "报价小数位",
  20213. "type": "integer"
  20214. },
  20215. "enableqty": {
  20216. "description": "可用数量",
  20217. "type": "integer"
  20218. },
  20219. "goodscode": {
  20220. "description": "商品代码(内部)",
  20221. "type": "string"
  20222. },
  20223. "goodsid": {
  20224. "description": "商品Id",
  20225. "type": "integer"
  20226. },
  20227. "goodsname": {
  20228. "description": "商品名称",
  20229. "type": "string"
  20230. },
  20231. "goodsprice": {
  20232. "description": "商品价格",
  20233. "type": "number"
  20234. },
  20235. "goodsstatus": {
  20236. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20237. "type": "integer"
  20238. },
  20239. "last": {
  20240. "description": "现价(仅使用于挂牌点选)",
  20241. "type": "number"
  20242. },
  20243. "limitdown": {
  20244. "description": "跌停价(仅使用于挂牌点选)",
  20245. "type": "number"
  20246. },
  20247. "limitup": {
  20248. "description": "涨停价(仅使用于挂牌点选)",
  20249. "type": "number"
  20250. },
  20251. "lotsize": {
  20252. "description": "手数最小变动单位",
  20253. "type": "integer"
  20254. },
  20255. "marketid": {
  20256. "description": "所属市场ID",
  20257. "type": "integer"
  20258. },
  20259. "picurls": {
  20260. "description": "介绍图片[多张用逗号分隔]",
  20261. "type": "string"
  20262. },
  20263. "quoteminunit": {
  20264. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20265. "type": "integer"
  20266. },
  20267. "stepvalue": {
  20268. "description": "价格最小变动单位",
  20269. "type": "number"
  20270. },
  20271. "trademode": {
  20272. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20273. "type": "integer"
  20274. }
  20275. }
  20276. },
  20277. "models.HsbyMyPackage": {
  20278. "type": "object",
  20279. "required": [
  20280. "goodscode",
  20281. "goodsname",
  20282. "takeorderid",
  20283. "trademode"
  20284. ],
  20285. "properties": {
  20286. "accountid": {
  20287. "description": "账户ID",
  20288. "type": "integer"
  20289. },
  20290. "address": {
  20291. "description": "提货人详细地址",
  20292. "type": "string"
  20293. },
  20294. "agreeunit": {
  20295. "description": "合约单位",
  20296. "type": "number"
  20297. },
  20298. "amount": {
  20299. "description": "提货金额",
  20300. "type": "number"
  20301. },
  20302. "auditer": {
  20303. "description": "审核人",
  20304. "type": "integer"
  20305. },
  20306. "audittime": {
  20307. "description": "审核时间",
  20308. "type": "string"
  20309. },
  20310. "averageprice": {
  20311. "description": "均价",
  20312. "type": "number"
  20313. },
  20314. "cardnum": {
  20315. "description": "提货人证件号码",
  20316. "type": "string"
  20317. },
  20318. "cardtypeid": {
  20319. "description": "提货人证件类型",
  20320. "type": "integer"
  20321. },
  20322. "checkremark": {
  20323. "description": "审核备注",
  20324. "type": "string"
  20325. },
  20326. "currencysign": {
  20327. "description": "货币符号",
  20328. "type": "string"
  20329. },
  20330. "decimalplace": {
  20331. "description": "报价小数位",
  20332. "type": "integer"
  20333. },
  20334. "goodscode": {
  20335. "description": "商品代码(内部)",
  20336. "type": "string"
  20337. },
  20338. "goodsid": {
  20339. "description": "商品ID",
  20340. "type": "integer"
  20341. },
  20342. "goodsname": {
  20343. "description": "商品名称",
  20344. "type": "string"
  20345. },
  20346. "handlestatus": {
  20347. "description": "处理状态",
  20348. "type": "integer"
  20349. },
  20350. "marketid": {
  20351. "description": "市场ID",
  20352. "type": "integer"
  20353. },
  20354. "phonenum": {
  20355. "description": "提货人联系方式",
  20356. "type": "string"
  20357. },
  20358. "picurls": {
  20359. "description": "介绍图片[多张用逗号分隔]",
  20360. "type": "string"
  20361. },
  20362. "qty": {
  20363. "description": "提货数量",
  20364. "type": "number"
  20365. },
  20366. "recivername": {
  20367. "description": "提货人姓名",
  20368. "type": "string"
  20369. },
  20370. "reqtime": {
  20371. "description": "更新时间",
  20372. "type": "string"
  20373. },
  20374. "takemode": {
  20375. "description": "提货方式 - 2:自提 3:配送",
  20376. "type": "integer"
  20377. },
  20378. "takeorderid": {
  20379. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20380. "type": "string"
  20381. },
  20382. "takeorderstatus": {
  20383. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20384. "type": "integer"
  20385. },
  20386. "takeremark": {
  20387. "description": "提货备注",
  20388. "type": "string"
  20389. },
  20390. "tradedate": {
  20391. "description": "交易日(yyyyMMdd)",
  20392. "type": "string"
  20393. },
  20394. "trademode": {
  20395. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20396. "type": "integer"
  20397. },
  20398. "userid": {
  20399. "description": "用户ID",
  20400. "type": "integer"
  20401. },
  20402. "vendorname": {
  20403. "description": "供应商名称",
  20404. "type": "string"
  20405. }
  20406. }
  20407. },
  20408. "models.HsbyPreGoods": {
  20409. "type": "object",
  20410. "required": [
  20411. "goodscode",
  20412. "goodsid",
  20413. "goodsname",
  20414. "marketid",
  20415. "trademode"
  20416. ],
  20417. "properties": {
  20418. "agreeunit": {
  20419. "description": "合约单位",
  20420. "type": "number"
  20421. },
  20422. "currency": {
  20423. "description": "货币",
  20424. "type": "string"
  20425. },
  20426. "currencysign": {
  20427. "description": "货币符号",
  20428. "type": "string"
  20429. },
  20430. "decimalplace": {
  20431. "description": "报价小数位",
  20432. "type": "integer"
  20433. },
  20434. "desccityid": {
  20435. "description": "目的地(市)",
  20436. "type": "integer"
  20437. },
  20438. "descprovinceid": {
  20439. "description": "目的地(省)",
  20440. "type": "integer"
  20441. },
  20442. "enableqty": {
  20443. "description": "剩余数量",
  20444. "type": "integer"
  20445. },
  20446. "goodscode": {
  20447. "description": "商品代码(内部)",
  20448. "type": "string"
  20449. },
  20450. "goodsid": {
  20451. "description": "商品ID(自增ID SEQ_GOODS)",
  20452. "type": "integer"
  20453. },
  20454. "goodsname": {
  20455. "description": "商品名称",
  20456. "type": "string"
  20457. },
  20458. "goodsstatus": {
  20459. "description": "商品状态- 2:未上市 3:上市",
  20460. "type": "integer"
  20461. },
  20462. "lasttradedate": {
  20463. "description": "最后交易日期(状态:待退市)",
  20464. "type": "string"
  20465. },
  20466. "listingdate": {
  20467. "description": "交易开始日期",
  20468. "type": "string"
  20469. },
  20470. "marketid": {
  20471. "description": "所属市场ID",
  20472. "type": "integer"
  20473. },
  20474. "picurls": {
  20475. "description": "介绍图片[多张用逗号分隔]",
  20476. "type": "string"
  20477. },
  20478. "presaledqty": {
  20479. "description": "已预售量(预售结束时更新)",
  20480. "type": "integer"
  20481. },
  20482. "presaleqty": {
  20483. "description": "预售数量",
  20484. "type": "integer"
  20485. },
  20486. "quoteminunit": {
  20487. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20488. "type": "integer"
  20489. },
  20490. "refprice": {
  20491. "description": "参考价格[一口价]",
  20492. "type": "number"
  20493. },
  20494. "relatedgoodsid": {
  20495. "description": "关联交易合约ID",
  20496. "type": "integer"
  20497. },
  20498. "trademode": {
  20499. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20500. "type": "integer"
  20501. },
  20502. "videourls": {
  20503. "description": "介绍视频[多张用逗号分隔]",
  20504. "type": "string"
  20505. }
  20506. }
  20507. },
  20508. "models.HsbyPreGoodsDetail": {
  20509. "type": "object",
  20510. "required": [
  20511. "goodscode",
  20512. "goodsid",
  20513. "goodsname",
  20514. "marketid",
  20515. "trademode"
  20516. ],
  20517. "properties": {
  20518. "agreeunit": {
  20519. "description": "合约单位",
  20520. "type": "number"
  20521. },
  20522. "buymaxqty": {
  20523. "description": "购买上限 [71] - 0为不限",
  20524. "type": "integer"
  20525. },
  20526. "currency": {
  20527. "description": "货币",
  20528. "type": "string"
  20529. },
  20530. "currencysign": {
  20531. "description": "货币符号",
  20532. "type": "string"
  20533. },
  20534. "customername": {
  20535. "description": "发行单位",
  20536. "type": "string"
  20537. },
  20538. "decimalplace": {
  20539. "description": "报价小数位",
  20540. "type": "integer"
  20541. },
  20542. "desccityid": {
  20543. "description": "目的地(市)ID",
  20544. "type": "integer"
  20545. },
  20546. "descprovinceid": {
  20547. "description": "目的地(省)ID",
  20548. "type": "integer"
  20549. },
  20550. "enableqty": {
  20551. "description": "剩余数量",
  20552. "type": "integer"
  20553. },
  20554. "goodscode": {
  20555. "description": "商品代码(内部)",
  20556. "type": "string"
  20557. },
  20558. "goodsdesc": {
  20559. "description": "商品详情",
  20560. "type": "string"
  20561. },
  20562. "goodsid": {
  20563. "description": "商品ID(自增ID SEQ_GOODS)",
  20564. "type": "integer"
  20565. },
  20566. "goodsname": {
  20567. "description": "商品名称",
  20568. "type": "string"
  20569. },
  20570. "goodsstatus": {
  20571. "description": "商品状态- 2:未上市 3:上市",
  20572. "type": "integer"
  20573. },
  20574. "goodunit": {
  20575. "description": "报价单位",
  20576. "type": "string"
  20577. },
  20578. "lasttradedate": {
  20579. "description": "最后交易日期(状态:待退市)",
  20580. "type": "string"
  20581. },
  20582. "listingdate": {
  20583. "description": "交易开始日期",
  20584. "type": "string"
  20585. },
  20586. "lotsize": {
  20587. "description": "手数最小变动单位",
  20588. "type": "integer"
  20589. },
  20590. "marketid": {
  20591. "description": "所属市场ID",
  20592. "type": "integer"
  20593. },
  20594. "picurls": {
  20595. "description": "介绍图片[多张用逗号分隔]",
  20596. "type": "string"
  20597. },
  20598. "presaledqty": {
  20599. "description": "已预售量(预售结束时更新)",
  20600. "type": "integer"
  20601. },
  20602. "presaleqty": {
  20603. "description": "预售数量",
  20604. "type": "integer"
  20605. },
  20606. "quoteminunit": {
  20607. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20608. "type": "integer"
  20609. },
  20610. "refprice": {
  20611. "description": "参考价格[一口价]",
  20612. "type": "number"
  20613. },
  20614. "relatedgoodsid": {
  20615. "description": "关联交易合约ID",
  20616. "type": "integer"
  20617. },
  20618. "stepvalue": {
  20619. "description": "价格最小变动单位",
  20620. "type": "number"
  20621. },
  20622. "trademode": {
  20623. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20624. "type": "integer"
  20625. },
  20626. "vendorattr": {
  20627. "description": "供应商附件(多张,逗号分隔)",
  20628. "type": "string"
  20629. },
  20630. "vendorname": {
  20631. "description": "供应商名称",
  20632. "type": "string"
  20633. },
  20634. "vendorphone": {
  20635. "description": "供应商客服电话",
  20636. "type": "string"
  20637. },
  20638. "videourls": {
  20639. "description": "介绍视频[多张用逗号分隔]",
  20640. "type": "string"
  20641. }
  20642. }
  20643. },
  20644. "models.HsbySellCollectionOrder": {
  20645. "type": "object",
  20646. "required": [
  20647. "goodscode",
  20648. "goodsname",
  20649. "tradeid",
  20650. "trademode"
  20651. ],
  20652. "properties": {
  20653. "agreeunit": {
  20654. "description": "合约单位",
  20655. "type": "number"
  20656. },
  20657. "buyaccountid": {
  20658. "description": "买方账号ID[报价币种]",
  20659. "type": "integer"
  20660. },
  20661. "buyorderid": {
  20662. "description": "买方委托单号",
  20663. "type": "string"
  20664. },
  20665. "createtime": {
  20666. "description": "创建时间",
  20667. "type": "string"
  20668. },
  20669. "currencysign": {
  20670. "description": "货币符号",
  20671. "type": "string"
  20672. },
  20673. "decimalplace": {
  20674. "description": "报价小数位",
  20675. "type": "integer"
  20676. },
  20677. "goodscode": {
  20678. "description": "商品代码(内部)",
  20679. "type": "string"
  20680. },
  20681. "goodsid": {
  20682. "description": "商品ID",
  20683. "type": "integer"
  20684. },
  20685. "goodsname": {
  20686. "description": "商品名称",
  20687. "type": "string"
  20688. },
  20689. "marketid": {
  20690. "description": "市场ID",
  20691. "type": "integer"
  20692. },
  20693. "offamount": {
  20694. "description": "优惠金额",
  20695. "type": "number"
  20696. },
  20697. "payamount": {
  20698. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20699. "type": "number"
  20700. },
  20701. "payflag": {
  20702. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20703. "type": "integer"
  20704. },
  20705. "paylimitedtime": {
  20706. "description": "支付期限",
  20707. "type": "string"
  20708. },
  20709. "paytime": {
  20710. "description": "付款时间",
  20711. "type": "string"
  20712. },
  20713. "picurls": {
  20714. "description": "商品介绍图片[多张用逗号分隔]",
  20715. "type": "string"
  20716. },
  20717. "sellaccountid": {
  20718. "description": "卖方账号ID[报价币种]",
  20719. "type": "integer"
  20720. },
  20721. "sellorderid": {
  20722. "description": "卖方委托单号",
  20723. "type": "string"
  20724. },
  20725. "tradeamount": {
  20726. "description": "成交金额",
  20727. "type": "number"
  20728. },
  20729. "tradecharge": {
  20730. "description": "成交手续费(买方)",
  20731. "type": "number"
  20732. },
  20733. "tradedate": {
  20734. "description": "交易日(yyyyMMdd)",
  20735. "type": "string"
  20736. },
  20737. "tradeid": {
  20738. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20739. "type": "string"
  20740. },
  20741. "trademode": {
  20742. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20743. "type": "integer"
  20744. },
  20745. "tradeprice": {
  20746. "description": "成交价格",
  20747. "type": "number"
  20748. },
  20749. "tradeqty": {
  20750. "description": "成交数量",
  20751. "type": "integer"
  20752. }
  20753. }
  20754. },
  20755. "models.HsbySellMyDetail": {
  20756. "type": "object",
  20757. "required": [
  20758. "accountid",
  20759. "buyorsell",
  20760. "goodscode",
  20761. "goodsid",
  20762. "goodsname",
  20763. "marketid",
  20764. "orderid",
  20765. "time",
  20766. "trademode"
  20767. ],
  20768. "properties": {
  20769. "accountid": {
  20770. "description": "账户ID[报价币种]",
  20771. "type": "integer"
  20772. },
  20773. "agreeunit": {
  20774. "description": "合约单位",
  20775. "type": "number"
  20776. },
  20777. "buyorsell": {
  20778. "description": "买卖 - 0:买 1:卖",
  20779. "type": "integer"
  20780. },
  20781. "currencysign": {
  20782. "description": "货币符号",
  20783. "type": "string"
  20784. },
  20785. "decimalplace": {
  20786. "description": "报价小数位",
  20787. "type": "integer"
  20788. },
  20789. "goodscode": {
  20790. "description": "商品代码(内部)",
  20791. "type": "string"
  20792. },
  20793. "goodsid": {
  20794. "description": "商品ID",
  20795. "type": "integer"
  20796. },
  20797. "goodsname": {
  20798. "description": "商品名称",
  20799. "type": "string"
  20800. },
  20801. "marketid": {
  20802. "description": "市场ID",
  20803. "type": "integer"
  20804. },
  20805. "orderid": {
  20806. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20807. "type": "string"
  20808. },
  20809. "ordertype": {
  20810. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20811. "type": "integer"
  20812. },
  20813. "picurls": {
  20814. "description": "介绍图片[多张用逗号分隔]",
  20815. "type": "string"
  20816. },
  20817. "price": {
  20818. "description": "价格",
  20819. "type": "number"
  20820. },
  20821. "qty": {
  20822. "description": "数量",
  20823. "type": "integer"
  20824. },
  20825. "time": {
  20826. "description": "时间",
  20827. "type": "string"
  20828. },
  20829. "trademode": {
  20830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20831. "type": "integer"
  20832. },
  20833. "vendorname": {
  20834. "description": "供应商名称",
  20835. "type": "string"
  20836. }
  20837. }
  20838. },
  20839. "models.HsbyTopGoods": {
  20840. "type": "object",
  20841. "required": [
  20842. "goodscode",
  20843. "goodsid",
  20844. "goodsname",
  20845. "marketid",
  20846. "trademode"
  20847. ],
  20848. "properties": {
  20849. "agreeunit": {
  20850. "description": "合约单位",
  20851. "type": "number"
  20852. },
  20853. "currency": {
  20854. "description": "货币",
  20855. "type": "string"
  20856. },
  20857. "currencysign": {
  20858. "description": "货币符号",
  20859. "type": "string"
  20860. },
  20861. "decimalplace": {
  20862. "description": "报价小数位",
  20863. "type": "integer"
  20864. },
  20865. "desccityid": {
  20866. "description": "目的地(市)",
  20867. "type": "integer"
  20868. },
  20869. "descprovinceid": {
  20870. "description": "目的地(省)",
  20871. "type": "integer"
  20872. },
  20873. "goodscode": {
  20874. "description": "商品代码(内部)",
  20875. "type": "string"
  20876. },
  20877. "goodsid": {
  20878. "description": "商品ID(自增ID SEQ_GOODS)",
  20879. "type": "integer"
  20880. },
  20881. "goodsname": {
  20882. "description": "商品名称",
  20883. "type": "string"
  20884. },
  20885. "hotindex": {
  20886. "description": "景点热度",
  20887. "type": "integer"
  20888. },
  20889. "last": {
  20890. "description": "现价",
  20891. "type": "number"
  20892. },
  20893. "marketid": {
  20894. "description": "所属市场ID",
  20895. "type": "integer"
  20896. },
  20897. "picurls": {
  20898. "description": "介绍图片[多张用逗号分隔]",
  20899. "type": "string"
  20900. },
  20901. "quoteminunit": {
  20902. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20903. "type": "integer"
  20904. },
  20905. "trademode": {
  20906. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20907. "type": "integer"
  20908. },
  20909. "videourls": {
  20910. "description": "介绍视频[多张用逗号分隔]",
  20911. "type": "string"
  20912. }
  20913. }
  20914. },
  20915. "models.HybsMyBuyOrderDetail": {
  20916. "type": "object",
  20917. "required": [
  20918. "accountid",
  20919. "buyorsell",
  20920. "goodscode",
  20921. "goodsid",
  20922. "goodsname",
  20923. "marketid",
  20924. "orderid",
  20925. "orderqty",
  20926. "ordertime",
  20927. "trademode"
  20928. ],
  20929. "properties": {
  20930. "accountid": {
  20931. "description": "账户ID[报价币种]",
  20932. "type": "integer"
  20933. },
  20934. "agreeunit": {
  20935. "description": "合约单位",
  20936. "type": "number"
  20937. },
  20938. "buyorsell": {
  20939. "description": "买卖 - 0:买 1:卖",
  20940. "type": "integer"
  20941. },
  20942. "cancelqty": {
  20943. "description": "撤单数量",
  20944. "type": "integer"
  20945. },
  20946. "currencysign": {
  20947. "description": "货币符号",
  20948. "type": "string"
  20949. },
  20950. "decimalplace": {
  20951. "description": "报价小数位",
  20952. "type": "integer"
  20953. },
  20954. "goodscode": {
  20955. "description": "商品代码(内部)",
  20956. "type": "string"
  20957. },
  20958. "goodsid": {
  20959. "description": "商品ID",
  20960. "type": "integer"
  20961. },
  20962. "goodsname": {
  20963. "description": "商品名称",
  20964. "type": "string"
  20965. },
  20966. "listingselecttype": {
  20967. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20968. "type": "integer"
  20969. },
  20970. "marketid": {
  20971. "description": "市场ID",
  20972. "type": "integer"
  20973. },
  20974. "mybuystatus": {
  20975. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20976. "type": "integer"
  20977. },
  20978. "orderamount": {
  20979. "description": "委托金额",
  20980. "type": "number"
  20981. },
  20982. "orderid": {
  20983. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20984. "type": "string"
  20985. },
  20986. "orderprice": {
  20987. "description": "委托价格",
  20988. "type": "number"
  20989. },
  20990. "orderqty": {
  20991. "description": "委托数量",
  20992. "type": "integer"
  20993. },
  20994. "orderstatus": {
  20995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20996. "type": "integer"
  20997. },
  20998. "ordertime": {
  20999. "description": "委托时间",
  21000. "type": "string"
  21001. },
  21002. "picurls1": {
  21003. "description": "预售商品介绍图片[多张用逗号分隔]",
  21004. "type": "string"
  21005. },
  21006. "picurls2": {
  21007. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21008. "type": "string"
  21009. },
  21010. "trademode": {
  21011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21012. "type": "integer"
  21013. },
  21014. "tradeqty": {
  21015. "description": "成交数量",
  21016. "type": "integer"
  21017. },
  21018. "vendorname1": {
  21019. "description": "预售商品供应商名称",
  21020. "type": "string"
  21021. },
  21022. "vendorname2": {
  21023. "description": "挂牌商品供应商名称",
  21024. "type": "string"
  21025. }
  21026. }
  21027. },
  21028. "models.Loginaccount": {
  21029. "type": "object",
  21030. "required": [
  21031. "loginid"
  21032. ],
  21033. "properties": {
  21034. "canoutin": {
  21035. "description": "是否可出入金 - 0:不可 1:可",
  21036. "type": "integer"
  21037. },
  21038. "clientroleid": {
  21039. "description": "终端角色ID",
  21040. "type": "integer"
  21041. },
  21042. "haslogined": {
  21043. "description": "是否已登录 - 0:未登录 1:已登录",
  21044. "type": "integer"
  21045. },
  21046. "hasupdatedpwd": {
  21047. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21048. "type": "integer"
  21049. },
  21050. "lastloginip": {
  21051. "description": "最新登录地址",
  21052. "type": "string"
  21053. },
  21054. "lastloginmode": {
  21055. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21056. "type": "integer"
  21057. },
  21058. "lastloginremark": {
  21059. "description": "最新登录描述",
  21060. "type": "string"
  21061. },
  21062. "lastlogintime": {
  21063. "description": "最新登录时间",
  21064. "type": "string"
  21065. },
  21066. "logincode": {
  21067. "description": "登录代码",
  21068. "type": "string"
  21069. },
  21070. "loginfailnum": {
  21071. "description": "连续登录失败次数(登录成功时清零)",
  21072. "type": "integer"
  21073. },
  21074. "loginid": {
  21075. "description": "登陆账号",
  21076. "type": "integer"
  21077. },
  21078. "loginport": {
  21079. "description": "最新登录端口",
  21080. "type": "integer"
  21081. },
  21082. "loginstatus": {
  21083. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21084. "type": "integer"
  21085. },
  21086. "loginusertype": {
  21087. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21088. "type": "integer"
  21089. },
  21090. "modifierid": {
  21091. "description": "修改人",
  21092. "type": "integer"
  21093. },
  21094. "modifytime": {
  21095. "description": "修改时间",
  21096. "type": "string"
  21097. },
  21098. "pwdwrongcount": {
  21099. "description": "密码错误次数",
  21100. "type": "integer"
  21101. },
  21102. "taaccountrighttype": {
  21103. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21104. "type": "integer"
  21105. },
  21106. "unfreezetime": {
  21107. "description": "账户解冻时间",
  21108. "type": "string"
  21109. },
  21110. "userid": {
  21111. "description": "用户ID",
  21112. "type": "integer"
  21113. }
  21114. }
  21115. },
  21116. "models.MainAccountInfo": {
  21117. "type": "object",
  21118. "properties": {
  21119. "accountid": {
  21120. "description": "账号id",
  21121. "type": "string"
  21122. },
  21123. "accountname": {
  21124. "description": "账号名称(taaccount表中的名称)",
  21125. "type": "string"
  21126. },
  21127. "appid": {
  21128. "description": "AppID",
  21129. "type": "string"
  21130. },
  21131. "authcode": {
  21132. "description": "授权码",
  21133. "type": "string"
  21134. },
  21135. "brokerid": {
  21136. "description": "经纪商id",
  21137. "type": "string"
  21138. },
  21139. "fcid": {
  21140. "description": "期货公司id",
  21141. "type": "integer"
  21142. },
  21143. "fcname": {
  21144. "description": "期货公司代码",
  21145. "type": "string"
  21146. },
  21147. "hedgeaccountcode": {
  21148. "description": "外部账号代码(主账号登录代码)",
  21149. "type": "string"
  21150. },
  21151. "hedgeaccountpwd": {
  21152. "description": "密码",
  21153. "type": "string"
  21154. },
  21155. "ismain": {
  21156. "description": "是否主账号",
  21157. "type": "integer"
  21158. },
  21159. "relateduserid": {
  21160. "description": "关联用户id",
  21161. "type": "integer"
  21162. }
  21163. }
  21164. },
  21165. "models.Market": {
  21166. "type": "object",
  21167. "required": [
  21168. "marketid",
  21169. "marketstatus",
  21170. "openmethod",
  21171. "reckonpricealgorithm",
  21172. "trademode",
  21173. "tradeproperty"
  21174. ],
  21175. "properties": {
  21176. "auctionwrtype": {
  21177. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21178. "type": "integer"
  21179. },
  21180. "canacceptquote": {
  21181. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21182. "type": "integer"
  21183. },
  21184. "cangoodsexercise": {
  21185. "description": "[期权]是否可现货行权- 0:否 1:是",
  21186. "type": "integer"
  21187. },
  21188. "cangoodsexercisetype": {
  21189. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21190. "type": "integer"
  21191. },
  21192. "canmanualquotestrike": {
  21193. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21194. "type": "integer"
  21195. },
  21196. "canmutistage": {
  21197. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21198. "type": "integer"
  21199. },
  21200. "canpreexercise": {
  21201. "description": "[期权]是否可预申报- 0:否 1:是",
  21202. "type": "integer"
  21203. },
  21204. "clearinterval": {
  21205. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21206. "type": "integer"
  21207. },
  21208. "contracttmp": {
  21209. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21210. "type": "string"
  21211. },
  21212. "exchareaid": {
  21213. "description": "所属交易所,可以没有",
  21214. "type": "integer"
  21215. },
  21216. "goodstype": {
  21217. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21218. "type": "integer"
  21219. },
  21220. "hasrebate": {
  21221. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21222. "type": "integer"
  21223. },
  21224. "hastradecredit": {
  21225. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21226. "type": "integer"
  21227. },
  21228. "haswr": {
  21229. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21230. "type": "integer"
  21231. },
  21232. "isdeductmargin": {
  21233. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21234. "type": "integer"
  21235. },
  21236. "isrecordsource": {
  21237. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21238. "type": "integer"
  21239. },
  21240. "isreleasemargin": {
  21241. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21242. "type": "integer"
  21243. },
  21244. "marginformula": {
  21245. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21246. "type": "integer"
  21247. },
  21248. "marginformula2": {
  21249. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21250. "type": "integer"
  21251. },
  21252. "marketid": {
  21253. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21254. "type": "integer"
  21255. },
  21256. "marketname": {
  21257. "description": "市场名称",
  21258. "type": "string"
  21259. },
  21260. "marketserviceid": {
  21261. "description": "市场服务ID",
  21262. "type": "integer"
  21263. },
  21264. "marketstatus": {
  21265. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21266. "type": "integer"
  21267. },
  21268. "markettype": {
  21269. "description": "市场类型- 1:非交易服务 2:交易服务",
  21270. "type": "integer"
  21271. },
  21272. "matchermode": {
  21273. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21274. "type": "integer"
  21275. },
  21276. "openmethod": {
  21277. "description": "开盘模式 - 0 自动 1手动",
  21278. "type": "integer"
  21279. },
  21280. "otcuserid": {
  21281. "description": "场外期权做市商[场外期权]",
  21282. "type": "integer"
  21283. },
  21284. "outersynctime": {
  21285. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21286. "type": "string"
  21287. },
  21288. "pendingflag": {
  21289. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21290. "type": "integer"
  21291. },
  21292. "pendingtime": {
  21293. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21294. "type": "string"
  21295. },
  21296. "performancetempid": {
  21297. "description": "履约计划模板ID - 作废",
  21298. "type": "integer"
  21299. },
  21300. "premiumquotemode": {
  21301. "description": "权利金报价方式 - 1:自动 2:手动",
  21302. "type": "integer"
  21303. },
  21304. "rebateratio": {
  21305. "description": "返利比率[竞价式]",
  21306. "type": "number"
  21307. },
  21308. "reckonorder": {
  21309. "description": "结算顺序",
  21310. "type": "integer"
  21311. },
  21312. "reckonpricealgorithm": {
  21313. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21314. "type": "integer"
  21315. },
  21316. "reckonpriceparam": {
  21317. "description": "结算价参数",
  21318. "type": "integer"
  21319. },
  21320. "reckontime": {
  21321. "description": "结算时间[通道交易-对冲](HH:mm)",
  21322. "type": "string"
  21323. },
  21324. "roleprioritytype": {
  21325. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21326. "type": "integer"
  21327. },
  21328. "selllistingauditflag": {
  21329. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21330. "type": "integer"
  21331. },
  21332. "trademarkettype": {
  21333. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21334. "type": "integer"
  21335. },
  21336. "trademode": {
  21337. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21338. "type": "integer"
  21339. },
  21340. "tradeproperty": {
  21341. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21342. "type": "integer"
  21343. },
  21344. "tradetype": {
  21345. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21346. "type": "integer"
  21347. }
  21348. }
  21349. },
  21350. "models.Marketrun": {
  21351. "type": "object",
  21352. "required": [
  21353. "marketid",
  21354. "nexttradedate",
  21355. "reckonflag",
  21356. "runstatus",
  21357. "tradedate",
  21358. "tradedate2"
  21359. ],
  21360. "properties": {
  21361. "afternexttradedate": {
  21362. "description": "下下交易日",
  21363. "type": "string"
  21364. },
  21365. "clearquoteflag": {
  21366. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21367. "type": "integer"
  21368. },
  21369. "lastreckondate": {
  21370. "description": "最新交易日(结算成功)",
  21371. "type": "string"
  21372. },
  21373. "machinedate": {
  21374. "description": "机器时间",
  21375. "type": "string"
  21376. },
  21377. "manualflag": {
  21378. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21379. "type": "integer"
  21380. },
  21381. "marketid": {
  21382. "description": "市场ID",
  21383. "type": "integer"
  21384. },
  21385. "nexttradedate": {
  21386. "description": "下一交易日",
  21387. "type": "string"
  21388. },
  21389. "pretradedate": {
  21390. "description": "上一交易日",
  21391. "type": "string"
  21392. },
  21393. "reckonflag": {
  21394. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21395. "type": "integer"
  21396. },
  21397. "runstatus": {
  21398. "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.今日免清算",
  21399. "type": "integer"
  21400. },
  21401. "sectionid": {
  21402. "description": "时间段号[多时段时用]",
  21403. "type": "integer"
  21404. },
  21405. "tradedate": {
  21406. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21407. "type": "string"
  21408. },
  21409. "tradedate2": {
  21410. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21411. "type": "string"
  21412. },
  21413. "updatetime": {
  21414. "description": "更新时间",
  21415. "type": "string"
  21416. }
  21417. }
  21418. },
  21419. "models.Messageboard": {
  21420. "type": "object",
  21421. "required": [
  21422. "messageboardid"
  21423. ],
  21424. "properties": {
  21425. "contactnum": {
  21426. "description": "联系电话",
  21427. "type": "string"
  21428. },
  21429. "createtime": {
  21430. "description": "创建时间",
  21431. "type": "string"
  21432. },
  21433. "message": {
  21434. "description": "留言信息",
  21435. "type": "string"
  21436. },
  21437. "messageboardid": {
  21438. "description": "留言簿ID(SEQ_MessageBoard)",
  21439. "type": "integer"
  21440. },
  21441. "userid": {
  21442. "description": "用户ID",
  21443. "type": "integer"
  21444. }
  21445. }
  21446. },
  21447. "models.MyCoupon": {
  21448. "type": "object",
  21449. "required": [
  21450. "accountid",
  21451. "coupontypeid"
  21452. ],
  21453. "properties": {
  21454. "accountid": {
  21455. "description": "资金账户ID",
  21456. "type": "integer"
  21457. },
  21458. "areauserid": {
  21459. "description": "所属机构",
  21460. "type": "integer"
  21461. },
  21462. "conditionvalue": {
  21463. "description": "条件阈值(可为0)",
  21464. "type": "number"
  21465. },
  21466. "couponcategroy": {
  21467. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21468. "type": "integer"
  21469. },
  21470. "couponname": {
  21471. "description": "优惠券名称",
  21472. "type": "string"
  21473. },
  21474. "coupontypeid": {
  21475. "description": "优惠券类型ID",
  21476. "type": "string"
  21477. },
  21478. "couponvalue": {
  21479. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21480. "type": "number"
  21481. },
  21482. "curfreezeqty": {
  21483. "description": "期末冻结数量",
  21484. "type": "integer"
  21485. },
  21486. "curqty": {
  21487. "description": "期末数量",
  21488. "type": "integer"
  21489. },
  21490. "isgeneral": {
  21491. "description": "是否通用券 - 0:否 1:是",
  21492. "type": "integer"
  21493. },
  21494. "isunusable": {
  21495. "description": "是否不可用",
  21496. "type": "boolean"
  21497. },
  21498. "limitedflag": {
  21499. "description": "是否指定商品 - 0:不限 1:限制",
  21500. "type": "integer"
  21501. },
  21502. "limitedgoodsids": {
  21503. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21504. "type": "string"
  21505. },
  21506. "orifreezeqty": {
  21507. "description": "期初冻结数量",
  21508. "type": "integer"
  21509. },
  21510. "oriqty": {
  21511. "description": "期初数量",
  21512. "type": "integer"
  21513. },
  21514. "reasontype": {
  21515. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21516. "type": "integer"
  21517. },
  21518. "todaydecrease": {
  21519. "description": "今日减少",
  21520. "type": "integer"
  21521. },
  21522. "todayincrease": {
  21523. "description": "今日增加",
  21524. "type": "integer"
  21525. },
  21526. "userid": {
  21527. "description": "用户ID",
  21528. "type": "integer"
  21529. },
  21530. "userscope": {
  21531. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21532. "type": "string"
  21533. }
  21534. }
  21535. },
  21536. "models.MyCouponHold": {
  21537. "type": "object",
  21538. "required": [
  21539. "couponholdid"
  21540. ],
  21541. "properties": {
  21542. "accountid": {
  21543. "description": "资金账户ID",
  21544. "type": "integer"
  21545. },
  21546. "conditionvalue": {
  21547. "description": "条件阈值(可为0)",
  21548. "type": "number"
  21549. },
  21550. "couponcategroy": {
  21551. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21552. "type": "integer"
  21553. },
  21554. "couponholdid": {
  21555. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21556. "type": "string"
  21557. },
  21558. "couponname": {
  21559. "description": "优惠券名称",
  21560. "type": "string"
  21561. },
  21562. "coupontypeid": {
  21563. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21564. "type": "string"
  21565. },
  21566. "couponvalue": {
  21567. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21568. "type": "number"
  21569. },
  21570. "createtime": {
  21571. "description": "创建时间",
  21572. "type": "string"
  21573. },
  21574. "enddate": {
  21575. "description": "结束日期",
  21576. "type": "string"
  21577. },
  21578. "giveapplyid": {
  21579. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21580. "type": "integer"
  21581. },
  21582. "holdstatus": {
  21583. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21584. "type": "integer"
  21585. },
  21586. "isgeneral": {
  21587. "description": "是否通用券 - 0:否 1:是",
  21588. "type": "integer"
  21589. },
  21590. "limitedflag": {
  21591. "description": "是否指定商品 - 0:不限 1:限制",
  21592. "type": "integer"
  21593. },
  21594. "limitedgoodsids": {
  21595. "description": "指定商品IDs[逗号分隔]",
  21596. "type": "string"
  21597. },
  21598. "qty": {
  21599. "description": "数量(按1平铺)",
  21600. "type": "integer"
  21601. },
  21602. "startdate": {
  21603. "description": "开始日期",
  21604. "type": "string"
  21605. },
  21606. "userid": {
  21607. "description": "用户ID",
  21608. "type": "integer"
  21609. },
  21610. "userscope": {
  21611. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21612. "type": "string"
  21613. }
  21614. }
  21615. },
  21616. "models.MyUsedCoupon": {
  21617. "type": "object",
  21618. "required": [
  21619. "coupontypeid",
  21620. "orderid"
  21621. ],
  21622. "properties": {
  21623. "accountid": {
  21624. "description": "资金账户ID(买方)",
  21625. "type": "integer"
  21626. },
  21627. "conditionvalue": {
  21628. "description": "条件阈值(可为0)",
  21629. "type": "number"
  21630. },
  21631. "couponcategroy": {
  21632. "description": "种类 - 1:现金券 2:折扣券",
  21633. "type": "integer"
  21634. },
  21635. "couponname": {
  21636. "description": "优惠券名称",
  21637. "type": "string"
  21638. },
  21639. "coupontypeid": {
  21640. "description": "优惠券类型ID(买方)",
  21641. "type": "string"
  21642. },
  21643. "couponvalue": {
  21644. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21645. "type": "number"
  21646. },
  21647. "createtime": {
  21648. "description": "创建时间",
  21649. "type": "string"
  21650. },
  21651. "goodsid": {
  21652. "description": "商品ID",
  21653. "type": "integer"
  21654. },
  21655. "handlestatus": {
  21656. "description": "处理状态",
  21657. "type": "integer"
  21658. },
  21659. "marketid": {
  21660. "description": "市场ID",
  21661. "type": "integer"
  21662. },
  21663. "offamount": {
  21664. "description": "优惠金额",
  21665. "type": "number"
  21666. },
  21667. "orderid": {
  21668. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21669. "type": "string"
  21670. },
  21671. "sellaccountid": {
  21672. "description": "资金账户ID(卖方)",
  21673. "type": "integer"
  21674. },
  21675. "tradeamount": {
  21676. "description": "成交金额",
  21677. "type": "number"
  21678. },
  21679. "tradeid": {
  21680. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21681. "type": "string"
  21682. },
  21683. "usedqty": {
  21684. "description": "使用数量",
  21685. "type": "integer"
  21686. }
  21687. }
  21688. },
  21689. "models.OperationPrimaryMenu": {
  21690. "type": "object",
  21691. "properties": {
  21692. "Children": {
  21693. "description": "二级功能菜单",
  21694. "type": "array",
  21695. "items": {
  21696. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21697. }
  21698. },
  21699. "Key": {
  21700. "description": "菜单KEY",
  21701. "type": "string"
  21702. },
  21703. "Label": {
  21704. "description": "菜单标题",
  21705. "type": "string"
  21706. }
  21707. }
  21708. },
  21709. "models.OperationSecondaryMenu": {
  21710. "type": "object",
  21711. "properties": {
  21712. "Key": {
  21713. "description": "菜单KEY",
  21714. "type": "string"
  21715. },
  21716. "Label": {
  21717. "description": "菜单标题",
  21718. "type": "string"
  21719. },
  21720. "TabList": {
  21721. "description": "三级功能菜单",
  21722. "type": "array",
  21723. "items": {
  21724. "$ref": "#/definitions/models.OperationTabMenu"
  21725. }
  21726. }
  21727. }
  21728. },
  21729. "models.OperationTabMenu": {
  21730. "type": "object",
  21731. "properties": {
  21732. "Key": {
  21733. "description": "菜单KEY",
  21734. "type": "string"
  21735. },
  21736. "Label": {
  21737. "description": "菜单标题",
  21738. "type": "string"
  21739. }
  21740. }
  21741. },
  21742. "models.PendingAuditBizModel": {
  21743. "type": "object",
  21744. "properties": {
  21745. "accountid": {
  21746. "description": "现货账户",
  21747. "type": "string"
  21748. },
  21749. "areaname": {
  21750. "description": "所属部门",
  21751. "type": "string"
  21752. },
  21753. "bizid": {
  21754. "description": "业务ID",
  21755. "type": "string"
  21756. },
  21757. "bizname": {
  21758. "description": "业务名称",
  21759. "type": "string"
  21760. },
  21761. "status": {
  21762. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21763. "type": "integer"
  21764. },
  21765. "type": {
  21766. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21767. "type": "integer"
  21768. }
  21769. }
  21770. },
  21771. "models.QueryErrorInfosRsp": {
  21772. "type": "object",
  21773. "required": [
  21774. "errorid"
  21775. ],
  21776. "properties": {
  21777. "description": {
  21778. "description": "异常描述",
  21779. "type": "string"
  21780. },
  21781. "errorcode": {
  21782. "description": "异常代码",
  21783. "type": "string"
  21784. },
  21785. "errorid": {
  21786. "description": "异常ID",
  21787. "type": "integer"
  21788. },
  21789. "modulecode": {
  21790. "description": "所属模块",
  21791. "type": "string"
  21792. },
  21793. "operatecode": {
  21794. "description": "所属操作",
  21795. "type": "string"
  21796. },
  21797. "rownumber": {
  21798. "description": "行号",
  21799. "type": "string"
  21800. }
  21801. }
  21802. },
  21803. "models.QueryHedgeOrderDetailRsp": {
  21804. "type": "object",
  21805. "properties": {
  21806. "accountid": {
  21807. "description": "账户ID",
  21808. "type": "integer"
  21809. },
  21810. "buyorsell": {
  21811. "description": "买卖 - 0:买 1:卖",
  21812. "type": "integer"
  21813. },
  21814. "cancellogincode": {
  21815. "description": "撤单人",
  21816. "type": "string"
  21817. },
  21818. "channelbuildtype": {
  21819. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21820. "type": "integer"
  21821. },
  21822. "channelinnerorderstatus": {
  21823. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21824. "type": "integer"
  21825. },
  21826. "channeloperatetype": {
  21827. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21828. "type": "integer"
  21829. },
  21830. "closetype": {
  21831. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21832. "type": "integer"
  21833. },
  21834. "curexchangerate": {
  21835. "description": "当前汇率",
  21836. "type": "number"
  21837. },
  21838. "exchangefullname": {
  21839. "description": "外部交易所全称",
  21840. "type": "string"
  21841. },
  21842. "goodscode": {
  21843. "description": "商品代码(内部)",
  21844. "type": "string"
  21845. },
  21846. "goodsid": {
  21847. "description": "商品ID",
  21848. "type": "integer"
  21849. },
  21850. "goodsname": {
  21851. "description": "商品名称",
  21852. "type": "string"
  21853. },
  21854. "marketid": {
  21855. "description": "市场ID",
  21856. "type": "integer"
  21857. },
  21858. "openfreezemargin": {
  21859. "description": "冻结保证金(冻结交易金额)",
  21860. "type": "number"
  21861. },
  21862. "orderid": {
  21863. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21864. "type": "string"
  21865. },
  21866. "orderlogincode": {
  21867. "description": "委托人",
  21868. "type": "string"
  21869. },
  21870. "orderprice": {
  21871. "description": "委托价格(账户)",
  21872. "type": "number"
  21873. },
  21874. "orderqty": {
  21875. "description": "委托数量",
  21876. "type": "integer"
  21877. },
  21878. "ordertime": {
  21879. "description": "委托时间",
  21880. "type": "string"
  21881. },
  21882. "pricemode": {
  21883. "description": "取价方式 - 1:市价 2: 限价",
  21884. "type": "integer"
  21885. },
  21886. "tradedate": {
  21887. "description": "交易日(yyyyMMdd)",
  21888. "type": "string"
  21889. },
  21890. "tradeqty": {
  21891. "description": "成交数量",
  21892. "type": "integer"
  21893. }
  21894. }
  21895. },
  21896. "models.QueryHedgeTradeDetailRsp": {
  21897. "type": "object",
  21898. "properties": {
  21899. "accountid": {
  21900. "description": "账号ID",
  21901. "type": "integer"
  21902. },
  21903. "buyorsell": {
  21904. "description": "方向 - 0:买 1:卖",
  21905. "type": "integer"
  21906. },
  21907. "channelbuildtype": {
  21908. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21909. "type": "integer"
  21910. },
  21911. "closecharge": {
  21912. "description": "平仓手续费(账户)",
  21913. "type": "number"
  21914. },
  21915. "closecharge2": {
  21916. "description": "平仓手续费(商品)",
  21917. "type": "number"
  21918. },
  21919. "closepl": {
  21920. "description": "平仓盈亏(账户)",
  21921. "type": "number"
  21922. },
  21923. "closepl2": {
  21924. "description": "平仓盈亏(商品)",
  21925. "type": "number"
  21926. },
  21927. "closepl3": {
  21928. "description": "平仓盈亏(账户)(逐笔)",
  21929. "type": "number"
  21930. },
  21931. "closepl4": {
  21932. "description": "平仓盈亏(商品)(逐笔)",
  21933. "type": "number"
  21934. },
  21935. "closetype": {
  21936. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21937. "type": "integer"
  21938. },
  21939. "curexchangerate": {
  21940. "description": "当前汇率",
  21941. "type": "number"
  21942. },
  21943. "exchangefullname": {
  21944. "description": "外部交易所全称",
  21945. "type": "string"
  21946. },
  21947. "goodscode": {
  21948. "description": "商品代码(内部)",
  21949. "type": "string"
  21950. },
  21951. "goodsid": {
  21952. "description": "商品ID",
  21953. "type": "integer"
  21954. },
  21955. "goodsname": {
  21956. "description": "商品名称",
  21957. "type": "string"
  21958. },
  21959. "marketid": {
  21960. "description": "市场ID",
  21961. "type": "integer"
  21962. },
  21963. "opencharge": {
  21964. "description": "建仓手续费(账户)",
  21965. "type": "number"
  21966. },
  21967. "opencharge2": {
  21968. "description": "建仓手续费(商品)",
  21969. "type": "number"
  21970. },
  21971. "orderid": {
  21972. "description": "委托单号",
  21973. "type": "string"
  21974. },
  21975. "orderlogincode": {
  21976. "description": "委托人",
  21977. "type": "string"
  21978. },
  21979. "tradeamount": {
  21980. "description": "成交金额(账户)",
  21981. "type": "number"
  21982. },
  21983. "tradedate": {
  21984. "description": "交易日(yyyyMMdd)",
  21985. "type": "string"
  21986. },
  21987. "tradeid": {
  21988. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21989. "type": "string"
  21990. },
  21991. "tradeprice": {
  21992. "description": "成交价格",
  21993. "type": "number"
  21994. },
  21995. "tradeqty": {
  21996. "description": "成交数量",
  21997. "type": "integer"
  21998. },
  21999. "tradetime": {
  22000. "description": "成交时间",
  22001. "type": "string"
  22002. },
  22003. "tradetype": {
  22004. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22005. "type": "integer"
  22006. }
  22007. }
  22008. },
  22009. "models.QuotePrimaryMenu": {
  22010. "type": "object",
  22011. "properties": {
  22012. "Index": {
  22013. "description": "序号",
  22014. "type": "integer"
  22015. },
  22016. "Key": {
  22017. "description": "键名",
  22018. "type": "string"
  22019. },
  22020. "Name": {
  22021. "description": "菜单名称",
  22022. "type": "string"
  22023. },
  22024. "SubMenus": {
  22025. "description": "子菜单",
  22026. "type": "array",
  22027. "items": {
  22028. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22029. }
  22030. },
  22031. "SubTitleType": {
  22032. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22033. "type": "integer"
  22034. },
  22035. "TradeModes": {
  22036. "description": "包含市场交易类型",
  22037. "type": "string"
  22038. }
  22039. }
  22040. },
  22041. "models.QuoteSecondaryMenu": {
  22042. "type": "object",
  22043. "properties": {
  22044. "ExExchangeCode": {
  22045. "description": "外部交易所代码",
  22046. "type": "string"
  22047. },
  22048. "ExExchangeID": {
  22049. "description": "外部交易所ID",
  22050. "type": "integer"
  22051. },
  22052. "GoodsGroupIDs": {
  22053. "description": "商品组ID列表",
  22054. "type": "array",
  22055. "items": {
  22056. "type": "integer"
  22057. }
  22058. },
  22059. "Index": {
  22060. "description": "序号",
  22061. "type": "integer"
  22062. },
  22063. "MarketID": {
  22064. "description": "市场ID",
  22065. "type": "integer"
  22066. },
  22067. "MenuTitle": {
  22068. "description": "菜单标题(市场名称或外部交易所名称)",
  22069. "type": "string"
  22070. },
  22071. "TradeMode": {
  22072. "description": "交易模式",
  22073. "type": "integer"
  22074. }
  22075. }
  22076. },
  22077. "models.RelatedGoodsEx": {
  22078. "type": "object",
  22079. "properties": {
  22080. "goodscode": {
  22081. "description": "商品代码",
  22082. "type": "string"
  22083. },
  22084. "goodsid": {
  22085. "description": "商品id",
  22086. "type": "integer"
  22087. },
  22088. "goodsname": {
  22089. "description": "商品名称",
  22090. "type": "string"
  22091. }
  22092. }
  22093. },
  22094. "models.SearchGoods": {
  22095. "type": "object",
  22096. "required": [
  22097. "goodscode",
  22098. "goodsid",
  22099. "goodsname",
  22100. "marketid",
  22101. "trademode"
  22102. ],
  22103. "properties": {
  22104. "goodscode": {
  22105. "description": "商品代码(内部)",
  22106. "type": "string"
  22107. },
  22108. "goodsid": {
  22109. "description": "商品ID(自增ID SEQ_GOODS)",
  22110. "type": "integer"
  22111. },
  22112. "goodsname": {
  22113. "description": "商品名称",
  22114. "type": "string"
  22115. },
  22116. "marketid": {
  22117. "description": "所属市场ID",
  22118. "type": "integer"
  22119. },
  22120. "marketname": {
  22121. "description": "市场名称",
  22122. "type": "string"
  22123. },
  22124. "trademode": {
  22125. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22126. "type": "integer"
  22127. }
  22128. }
  22129. },
  22130. "models.Systemparam": {
  22131. "type": "object",
  22132. "required": [
  22133. "paramcode"
  22134. ],
  22135. "properties": {
  22136. "loginid": {
  22137. "description": "更新用户账号,登录账号",
  22138. "type": "string"
  22139. },
  22140. "modifyflag": {
  22141. "description": "修改标志0 不允许修改 1 允许修改",
  22142. "type": "integer"
  22143. },
  22144. "paramcode": {
  22145. "description": "参数代码",
  22146. "type": "string"
  22147. },
  22148. "paramname": {
  22149. "description": "参数名",
  22150. "type": "string"
  22151. },
  22152. "paramtype": {
  22153. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22154. "type": "integer"
  22155. },
  22156. "paramvalue": {
  22157. "description": "参数值",
  22158. "type": "string"
  22159. },
  22160. "paramvalue2": {
  22161. "description": "参数值(CLOB)",
  22162. "type": "string"
  22163. },
  22164. "regexpress": {
  22165. "description": "正则表达式",
  22166. "type": "string"
  22167. },
  22168. "remark": {
  22169. "description": "备注",
  22170. "type": "string"
  22171. },
  22172. "serverip": {
  22173. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22174. "type": "string"
  22175. },
  22176. "showflag": {
  22177. "description": "是否显示0 不显示 1 显示",
  22178. "type": "integer"
  22179. },
  22180. "updatetime": {
  22181. "description": "更新时间",
  22182. "type": "string"
  22183. },
  22184. "userid": {
  22185. "description": "更新用户ID",
  22186. "type": "integer"
  22187. }
  22188. }
  22189. },
  22190. "models.Szdz3convertconfig": {
  22191. "type": "object",
  22192. "required": [
  22193. "converttype",
  22194. "innergoodsid",
  22195. "outergoodscode"
  22196. ],
  22197. "properties": {
  22198. "canin": {
  22199. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22200. "type": "integer"
  22201. },
  22202. "canout": {
  22203. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22204. "type": "integer"
  22205. },
  22206. "converttype": {
  22207. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22208. "type": "integer"
  22209. },
  22210. "createtime": {
  22211. "description": "创建时间",
  22212. "type": "string"
  22213. },
  22214. "creatorid": {
  22215. "description": "创建人",
  22216. "type": "integer"
  22217. },
  22218. "daymaxvalue": {
  22219. "description": "当日最大转入限制",
  22220. "type": "number"
  22221. },
  22222. "freezedays": {
  22223. "description": "冻结天数 [5:花生米转交易]",
  22224. "type": "integer"
  22225. },
  22226. "innergoodsid": {
  22227. "description": "内部商品ID[交易]",
  22228. "type": "integer"
  22229. },
  22230. "inratio": {
  22231. "description": "目标值",
  22232. "type": "integer"
  22233. },
  22234. "modifierid": {
  22235. "description": "修改人",
  22236. "type": "integer"
  22237. },
  22238. "modifytime": {
  22239. "description": "修改时间",
  22240. "type": "string"
  22241. },
  22242. "outergoodscode": {
  22243. "description": "外部商品代码[JD\\PD]",
  22244. "type": "string"
  22245. },
  22246. "outratio": {
  22247. "description": "源值",
  22248. "type": "integer"
  22249. },
  22250. "pddecimalplace": {
  22251. "description": "PD小数位",
  22252. "type": "integer"
  22253. },
  22254. "timemaxvalue": {
  22255. "description": "单次最大转入限制",
  22256. "type": "number"
  22257. },
  22258. "timeminvalue": {
  22259. "description": "单次最小转入限制",
  22260. "type": "number"
  22261. }
  22262. }
  22263. },
  22264. "models.Szdz3searchwhitelist": {
  22265. "type": "object",
  22266. "required": [
  22267. "userid"
  22268. ],
  22269. "properties": {
  22270. "createtime": {
  22271. "description": "创建时间",
  22272. "type": "string"
  22273. },
  22274. "creatorid": {
  22275. "description": "创建人",
  22276. "type": "integer"
  22277. },
  22278. "modifierid": {
  22279. "description": "修改人",
  22280. "type": "integer"
  22281. },
  22282. "modifytime": {
  22283. "description": "修改时间",
  22284. "type": "string"
  22285. },
  22286. "userid": {
  22287. "description": "用户ID",
  22288. "type": "integer"
  22289. }
  22290. }
  22291. },
  22292. "models.Taaccount": {
  22293. "type": "object",
  22294. "required": [
  22295. "accountid",
  22296. "userid"
  22297. ],
  22298. "properties": {
  22299. "accountflag": {
  22300. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22301. "type": "integer"
  22302. },
  22303. "accountid": {
  22304. "description": "资金账户ID",
  22305. "type": "integer"
  22306. },
  22307. "accountname": {
  22308. "description": "账户名称",
  22309. "type": "string"
  22310. },
  22311. "balance": {
  22312. "description": "期初余额",
  22313. "type": "number"
  22314. },
  22315. "capitalbalance": {
  22316. "description": "本金余额[外部子账户实际出入金余额]",
  22317. "type": "number"
  22318. },
  22319. "changeflag": {
  22320. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22321. "type": "integer"
  22322. },
  22323. "changetime": {
  22324. "description": "账户状态变更时间",
  22325. "type": "string"
  22326. },
  22327. "closepl": {
  22328. "description": "今日平仓盈亏",
  22329. "type": "number"
  22330. },
  22331. "creditdecrease": {
  22332. "description": "今日授信减少",
  22333. "type": "number"
  22334. },
  22335. "creditincrease": {
  22336. "description": "今日授信增加",
  22337. "type": "number"
  22338. },
  22339. "currencyid": {
  22340. "description": "货币ID",
  22341. "type": "integer"
  22342. },
  22343. "currentbalance": {
  22344. "description": "期末余额",
  22345. "type": "number"
  22346. },
  22347. "freezecharge": {
  22348. "description": "手续费冻结",
  22349. "type": "number"
  22350. },
  22351. "freezemargin": {
  22352. "description": "冻结保证金",
  22353. "type": "number"
  22354. },
  22355. "fromaccountid": {
  22356. "description": "所属上级账户",
  22357. "type": "integer"
  22358. },
  22359. "inamount": {
  22360. "description": "今日入金金额(包括三方入金)",
  22361. "type": "number"
  22362. },
  22363. "ismain": {
  22364. "description": "是否母账号 0:不是母账户 1:是母账户",
  22365. "type": "integer"
  22366. },
  22367. "ismarketaccount": {
  22368. "description": "是否机构接单账号 0:不是 1:是",
  22369. "type": "integer"
  22370. },
  22371. "isreckonaccount": {
  22372. "description": "是否机构分润账号 0:不是 1:是",
  22373. "type": "integer"
  22374. },
  22375. "mortgagecredit": {
  22376. "description": "授信金额",
  22377. "type": "number"
  22378. },
  22379. "orifreezecharge": {
  22380. "description": "期初手续费冻结",
  22381. "type": "number"
  22382. },
  22383. "orifreezemargin": {
  22384. "description": "期初冻结保证金",
  22385. "type": "number"
  22386. },
  22387. "orimortgagecredit": {
  22388. "description": "期初授信金额",
  22389. "type": "number"
  22390. },
  22391. "oriothercredit": {
  22392. "description": "期初其它授信金额",
  22393. "type": "number"
  22394. },
  22395. "oriotherfreezemargin": {
  22396. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22397. "type": "number"
  22398. },
  22399. "orioutamountfreeze": {
  22400. "description": "期初出金冻结",
  22401. "type": "number"
  22402. },
  22403. "oriusedmargin": {
  22404. "description": "期初占用保证金",
  22405. "type": "number"
  22406. },
  22407. "othercredit": {
  22408. "description": "其它授信金额",
  22409. "type": "number"
  22410. },
  22411. "othercreditdecrease": {
  22412. "description": "今日其它授信减少",
  22413. "type": "number"
  22414. },
  22415. "othercreditincrease": {
  22416. "description": "今日其它授信增加",
  22417. "type": "number"
  22418. },
  22419. "otherfreezemargin": {
  22420. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22421. "type": "number"
  22422. },
  22423. "otherincome": {
  22424. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22425. "type": "number"
  22426. },
  22427. "otherpay": {
  22428. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22429. "type": "number"
  22430. },
  22431. "outamount": {
  22432. "description": "今日出金金额(包括三方出金)",
  22433. "type": "number"
  22434. },
  22435. "outamountfreeze": {
  22436. "description": "出金冻结",
  22437. "type": "number"
  22438. },
  22439. "outthreshold": {
  22440. "description": "出金阈值",
  22441. "type": "number"
  22442. },
  22443. "parentaccountid": {
  22444. "description": "所属根账号",
  22445. "type": "integer"
  22446. },
  22447. "paycharge": {
  22448. "description": "今日手续费支出",
  22449. "type": "number"
  22450. },
  22451. "relatedaccountstatus": {
  22452. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22453. "type": "integer"
  22454. },
  22455. "relateduserid": {
  22456. "description": "关联用户",
  22457. "type": "integer"
  22458. },
  22459. "serivcegroup": {
  22460. "description": "服务分组",
  22461. "type": "integer"
  22462. },
  22463. "signstatus": {
  22464. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22465. "type": "integer"
  22466. },
  22467. "sublevelpath": {
  22468. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22469. "type": "string"
  22470. },
  22471. "taaccounttype": {
  22472. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22473. "type": "integer"
  22474. },
  22475. "thirdinamount": {
  22476. "description": "今日三方入金",
  22477. "type": "number"
  22478. },
  22479. "thirdoutamount": {
  22480. "description": "今日三方出金",
  22481. "type": "number"
  22482. },
  22483. "tradestatus": {
  22484. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22485. "type": "integer"
  22486. },
  22487. "tradestatuschangetime": {
  22488. "description": "激活时间",
  22489. "type": "string"
  22490. },
  22491. "transferamount": {
  22492. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22493. "type": "number"
  22494. },
  22495. "usedmargin": {
  22496. "description": "占用保证金",
  22497. "type": "number"
  22498. },
  22499. "userid": {
  22500. "description": "用户ID",
  22501. "type": "integer"
  22502. }
  22503. }
  22504. },
  22505. "models.Tablecolumnconfig": {
  22506. "type": "object",
  22507. "required": [
  22508. "autoid"
  22509. ],
  22510. "properties": {
  22511. "aligntype": {
  22512. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22513. "type": "integer"
  22514. },
  22515. "autoid": {
  22516. "description": "AutoID",
  22517. "type": "integer"
  22518. },
  22519. "columnfield": {
  22520. "description": "列字段",
  22521. "type": "string"
  22522. },
  22523. "columntitle": {
  22524. "description": "列Title",
  22525. "type": "string"
  22526. },
  22527. "columnwidth": {
  22528. "description": "列宽",
  22529. "type": "string"
  22530. },
  22531. "formatterstring": {
  22532. "description": "格式化字符",
  22533. "type": "string"
  22534. },
  22535. "formattertype": {
  22536. "description": "格式化类型",
  22537. "type": "string"
  22538. },
  22539. "groupname": {
  22540. "description": "表头分组名称",
  22541. "type": "string"
  22542. },
  22543. "isshow": {
  22544. "description": "是否显示 - 0:不显示 1:显示",
  22545. "type": "integer"
  22546. },
  22547. "needsummary": {
  22548. "description": "是否需要汇总 - 0:不需要 1:需要",
  22549. "type": "integer"
  22550. },
  22551. "orderindex": {
  22552. "description": "顺序",
  22553. "type": "integer"
  22554. },
  22555. "remark": {
  22556. "description": "备注",
  22557. "type": "string"
  22558. },
  22559. "summarytype": {
  22560. "description": "汇总类型 - 1:加总 2:最后一个",
  22561. "type": "integer"
  22562. },
  22563. "tablekey": {
  22564. "description": "列表Key",
  22565. "type": "string"
  22566. }
  22567. }
  22568. },
  22569. "models.Useraccount": {
  22570. "type": "object",
  22571. "required": [
  22572. "userid"
  22573. ],
  22574. "properties": {
  22575. "accountname": {
  22576. "description": "账户名称(机构名称)",
  22577. "type": "string"
  22578. },
  22579. "accountstatus": {
  22580. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22581. "type": "integer"
  22582. },
  22583. "auditremark": {
  22584. "description": "审核备注",
  22585. "type": "string"
  22586. },
  22587. "audittime": {
  22588. "description": "审核时间",
  22589. "type": "string"
  22590. },
  22591. "audituserid": {
  22592. "description": "审核人",
  22593. "type": "integer"
  22594. },
  22595. "broker": {
  22596. "description": "所属经纪人ID",
  22597. "type": "integer"
  22598. },
  22599. "canceltime": {
  22600. "description": "销户时间",
  22601. "type": "string"
  22602. },
  22603. "canceluserid": {
  22604. "description": "销户人",
  22605. "type": "integer"
  22606. },
  22607. "createtime": {
  22608. "description": "创建时间",
  22609. "type": "string"
  22610. },
  22611. "creatorid": {
  22612. "description": "创建人",
  22613. "type": "integer"
  22614. },
  22615. "hasauth": {
  22616. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22617. "type": "integer"
  22618. },
  22619. "isanonymous": {
  22620. "description": "是否匿名下单 - 0:否 1:是",
  22621. "type": "integer"
  22622. },
  22623. "maxinvestornum": {
  22624. "description": "最大用户数(经纪会员下投资者个数)",
  22625. "type": "integer"
  22626. },
  22627. "memberuserid": {
  22628. "description": "所属会员ID",
  22629. "type": "integer"
  22630. },
  22631. "modifierid": {
  22632. "description": "修改人",
  22633. "type": "integer"
  22634. },
  22635. "modifyremark": {
  22636. "description": "变更备注",
  22637. "type": "string"
  22638. },
  22639. "modifystatus": {
  22640. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22641. "type": "integer"
  22642. },
  22643. "modifytime": {
  22644. "description": "修改时间",
  22645. "type": "string"
  22646. },
  22647. "parentuserid": {
  22648. "description": "所属机构ID",
  22649. "type": "integer"
  22650. },
  22651. "reckonaccountid": {
  22652. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22653. "type": "integer"
  22654. },
  22655. "refercount": {
  22656. "description": "推荐总人数",
  22657. "type": "integer"
  22658. },
  22659. "refereeuserid": {
  22660. "description": "推荐人ID",
  22661. "type": "integer"
  22662. },
  22663. "refernum": {
  22664. "description": "推荐码",
  22665. "type": "string"
  22666. },
  22667. "subarealevelpath": {
  22668. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22669. "type": "string"
  22670. },
  22671. "userid": {
  22672. "description": "用户ID",
  22673. "type": "integer"
  22674. },
  22675. "usertype": {
  22676. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22677. "type": "integer"
  22678. }
  22679. }
  22680. },
  22681. "models.Userfavoritegoods": {
  22682. "type": "object",
  22683. "required": [
  22684. "goodsid"
  22685. ],
  22686. "properties": {
  22687. "goodsid": {
  22688. "description": "商品ID",
  22689. "type": "integer"
  22690. }
  22691. }
  22692. },
  22693. "models.Userinfo": {
  22694. "type": "object",
  22695. "required": [
  22696. "userid"
  22697. ],
  22698. "properties": {
  22699. "address": {
  22700. "description": "地址",
  22701. "type": "string"
  22702. },
  22703. "attachment1": {
  22704. "description": "附件1",
  22705. "type": "string"
  22706. },
  22707. "attachment2": {
  22708. "description": "附件2",
  22709. "type": "string"
  22710. },
  22711. "bankaccount": {
  22712. "description": "银行帐号 (加密存储)",
  22713. "type": "string"
  22714. },
  22715. "bankaccountname": {
  22716. "description": "收款人名称",
  22717. "type": "string"
  22718. },
  22719. "bankcardfrontphotourl": {
  22720. "description": "银行卡正面照地址",
  22721. "type": "string"
  22722. },
  22723. "bankid": {
  22724. "description": "银行编码",
  22725. "type": "string"
  22726. },
  22727. "bankname": {
  22728. "description": "银行名称",
  22729. "type": "string"
  22730. },
  22731. "biznature": {
  22732. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22733. "type": "integer"
  22734. },
  22735. "bizscope": {
  22736. "description": "企业经营范围(企业)",
  22737. "type": "string"
  22738. },
  22739. "cardbackphotourl": {
  22740. "description": "证件背面图片地址",
  22741. "type": "string"
  22742. },
  22743. "cardfrontphotourl": {
  22744. "description": "证件正面图片地址",
  22745. "type": "string"
  22746. },
  22747. "cardnum": {
  22748. "description": "证件号码(加密存储)",
  22749. "type": "string"
  22750. },
  22751. "cardtypeid": {
  22752. "description": "证件类型ID",
  22753. "type": "integer"
  22754. },
  22755. "cityid": {
  22756. "description": "市",
  22757. "type": "integer"
  22758. },
  22759. "company": {
  22760. "description": "公司(个人)",
  22761. "type": "string"
  22762. },
  22763. "contactname": {
  22764. "description": "联系人",
  22765. "type": "string"
  22766. },
  22767. "countryid": {
  22768. "description": "国家",
  22769. "type": "integer"
  22770. },
  22771. "createtime": {
  22772. "description": "创建时间",
  22773. "type": "string"
  22774. },
  22775. "creatorid": {
  22776. "description": "创建人",
  22777. "type": "integer"
  22778. },
  22779. "customername": {
  22780. "description": "客户名称(企业名称)",
  22781. "type": "string"
  22782. },
  22783. "districtid": {
  22784. "description": "地区",
  22785. "type": "integer"
  22786. },
  22787. "email": {
  22788. "description": "邮件(加密存储)",
  22789. "type": "string"
  22790. },
  22791. "fax": {
  22792. "description": "传真(加密存储)",
  22793. "type": "string"
  22794. },
  22795. "halfbodyphotourl": {
  22796. "description": "半身照地址",
  22797. "type": "string"
  22798. },
  22799. "hasencrypt": {
  22800. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22801. "type": "integer"
  22802. },
  22803. "headurl": {
  22804. "description": "头像地址",
  22805. "type": "string"
  22806. },
  22807. "legalcardbackphotourl": {
  22808. "description": "法人身份证背面照地址",
  22809. "type": "string"
  22810. },
  22811. "legalcardfrontphotourl": {
  22812. "description": "法人身份证正面照地址",
  22813. "type": "string"
  22814. },
  22815. "legalpersonname": {
  22816. "description": "法人姓名(企业)",
  22817. "type": "string"
  22818. },
  22819. "mobile": {
  22820. "description": "手机号码(加密存储)",
  22821. "type": "string"
  22822. },
  22823. "mobile2": {
  22824. "description": "手机号码[明文-尚志]",
  22825. "type": "string"
  22826. },
  22827. "modifierid": {
  22828. "description": "修改人",
  22829. "type": "integer"
  22830. },
  22831. "modifiertime": {
  22832. "description": "修改时间",
  22833. "type": "string"
  22834. },
  22835. "needinvoice": {
  22836. "description": "是否需要发票 - 0:不需要 1:需要",
  22837. "type": "integer"
  22838. },
  22839. "nickname": {
  22840. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22841. "type": "string"
  22842. },
  22843. "openmode": {
  22844. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22845. "type": "integer"
  22846. },
  22847. "otherurl": {
  22848. "description": "其它图片地址[使用分号分隔]",
  22849. "type": "string"
  22850. },
  22851. "postalcode": {
  22852. "description": "邮政编码",
  22853. "type": "string"
  22854. },
  22855. "provinceid": {
  22856. "description": "省",
  22857. "type": "integer"
  22858. },
  22859. "qq": {
  22860. "description": "QQ(加密存储",
  22861. "type": "string"
  22862. },
  22863. "remark": {
  22864. "description": "备注",
  22865. "type": "string"
  22866. },
  22867. "sex": {
  22868. "description": "用户性别 0: 女 1: 男",
  22869. "type": "integer"
  22870. },
  22871. "signpdfurl": {
  22872. "description": "签约pdf文件",
  22873. "type": "string"
  22874. },
  22875. "telphone": {
  22876. "description": "联系电话(加密存储)",
  22877. "type": "string"
  22878. },
  22879. "userid": {
  22880. "description": "用户ID",
  22881. "type": "integer"
  22882. },
  22883. "userinfotype": {
  22884. "description": "用户信息类型 - 1:个人 2:企业",
  22885. "type": "integer"
  22886. },
  22887. "userstatus": {
  22888. "description": "用户状态 - 1:正常 2:注销",
  22889. "type": "integer"
  22890. },
  22891. "usertype": {
  22892. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22893. "type": "integer"
  22894. },
  22895. "wechat": {
  22896. "description": "微信(加密存储)",
  22897. "type": "string"
  22898. },
  22899. "wskhinfo": {
  22900. "description": "开户申请信息(JSON)",
  22901. "type": "string"
  22902. }
  22903. }
  22904. },
  22905. "models.WRSConverTDetail": {
  22906. "type": "object",
  22907. "properties": {
  22908. "convertratio": {
  22909. "description": "套保系数",
  22910. "type": "number"
  22911. },
  22912. "deliverygoodscode": {
  22913. "description": "现货商品代码",
  22914. "type": "string"
  22915. },
  22916. "deliverygoodsid": {
  22917. "description": "现货品种ID",
  22918. "type": "integer"
  22919. },
  22920. "deliverygoodsname": {
  22921. "description": "现货商品名称",
  22922. "type": "string"
  22923. },
  22924. "enumdicname": {
  22925. "description": "单位名称",
  22926. "type": "string"
  22927. },
  22928. "goodsunitid": {
  22929. "description": "套保品种单位id",
  22930. "type": "integer"
  22931. },
  22932. "middlegoodscode": {
  22933. "description": "套保品种代码",
  22934. "type": "string"
  22935. },
  22936. "middlegoodsid": {
  22937. "description": "套保品种ID",
  22938. "type": "integer"
  22939. },
  22940. "middlegoodsname": {
  22941. "description": "套保品种名称",
  22942. "type": "string"
  22943. },
  22944. "modifytime": {
  22945. "description": "修改时间",
  22946. "type": "string"
  22947. },
  22948. "wrstandardid": {
  22949. "description": "品类ID",
  22950. "type": "integer"
  22951. }
  22952. }
  22953. },
  22954. "models.WRStandardInfo": {
  22955. "type": "object",
  22956. "required": [
  22957. "wrstandardid"
  22958. ],
  22959. "properties": {
  22960. "areauserid": {
  22961. "description": "所属机构",
  22962. "type": "integer"
  22963. },
  22964. "convertfactor": {
  22965. "description": "标仓系数",
  22966. "type": "number"
  22967. },
  22968. "createtime": {
  22969. "description": "创建时间",
  22970. "type": "string"
  22971. },
  22972. "creatorid": {
  22973. "description": "创建人",
  22974. "type": "integer"
  22975. },
  22976. "deliverygoodsid": {
  22977. "description": "品种ID",
  22978. "type": "integer"
  22979. },
  22980. "deliverygoodsname": {
  22981. "description": "交割商品名称",
  22982. "type": "string"
  22983. },
  22984. "factoryitemjson": {
  22985. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22986. "type": "string"
  22987. },
  22988. "isvalid": {
  22989. "description": "是否有效 - 0:无效 1:有效",
  22990. "type": "integer"
  22991. },
  22992. "minivalue": {
  22993. "description": "最小变动值",
  22994. "type": "integer"
  22995. },
  22996. "minivaluedp": {
  22997. "description": "最小变动值小数位",
  22998. "type": "integer"
  22999. },
  23000. "realminivalue": {
  23001. "description": "实际最小变动值",
  23002. "type": "integer"
  23003. },
  23004. "realminivaluedp": {
  23005. "description": "实际最小变动值小数位",
  23006. "type": "integer"
  23007. },
  23008. "remark": {
  23009. "description": "备注",
  23010. "type": "string"
  23011. },
  23012. "unitid": {
  23013. "description": "单位ID",
  23014. "type": "integer"
  23015. },
  23016. "unitname": {
  23017. "description": "单位",
  23018. "type": "string"
  23019. },
  23020. "updatetime": {
  23021. "description": "更新时间",
  23022. "type": "string"
  23023. },
  23024. "updatorid": {
  23025. "description": "更新人",
  23026. "type": "integer"
  23027. },
  23028. "wrsstatus": {
  23029. "description": "状态 - 作废 - 0:未激活 1:正常",
  23030. "type": "integer"
  23031. },
  23032. "wrstandardcode": {
  23033. "description": "现货品类代码",
  23034. "type": "string"
  23035. },
  23036. "wrstandardid": {
  23037. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23038. "type": "integer"
  23039. },
  23040. "wrstandardname": {
  23041. "description": "现货品类名称",
  23042. "type": "string"
  23043. }
  23044. }
  23045. },
  23046. "models.Warehouseinfo": {
  23047. "type": "object",
  23048. "required": [
  23049. "autoid",
  23050. "warehousecode"
  23051. ],
  23052. "properties": {
  23053. "address": {
  23054. "description": "详细地址",
  23055. "type": "string"
  23056. },
  23057. "areauserid": {
  23058. "description": "所属机构",
  23059. "type": "integer"
  23060. },
  23061. "autoid": {
  23062. "description": "自增ID",
  23063. "type": "integer"
  23064. },
  23065. "cityid": {
  23066. "description": "市",
  23067. "type": "integer"
  23068. },
  23069. "contactname": {
  23070. "description": "联系人",
  23071. "type": "string"
  23072. },
  23073. "contactnum": {
  23074. "description": "联系电话",
  23075. "type": "string"
  23076. },
  23077. "countryid": {
  23078. "description": "国家",
  23079. "type": "integer"
  23080. },
  23081. "createtime": {
  23082. "description": "创建时间",
  23083. "type": "string"
  23084. },
  23085. "districtid": {
  23086. "description": "区",
  23087. "type": "integer"
  23088. },
  23089. "hasvideo": {
  23090. "description": "是否有视频 - 0:无 1:有",
  23091. "type": "integer"
  23092. },
  23093. "provinceid": {
  23094. "description": "省",
  23095. "type": "integer"
  23096. },
  23097. "remark": {
  23098. "description": "审核备注",
  23099. "type": "string"
  23100. },
  23101. "videourl": {
  23102. "description": "视频地址",
  23103. "type": "string"
  23104. },
  23105. "warehousecode": {
  23106. "description": "仓库代码",
  23107. "type": "string"
  23108. },
  23109. "warehousename": {
  23110. "description": "仓库名称",
  23111. "type": "string"
  23112. },
  23113. "warehousestatus": {
  23114. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23115. "type": "integer"
  23116. },
  23117. "warehousetype": {
  23118. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23119. "type": "integer"
  23120. }
  23121. }
  23122. },
  23123. "order.QueryHisTradeDetailRsp": {
  23124. "type": "object",
  23125. "required": [
  23126. "accountid",
  23127. "buyorsell",
  23128. "goodsid",
  23129. "histradedate",
  23130. "marketid",
  23131. "memberuserid",
  23132. "orderid",
  23133. "tradeamount",
  23134. "tradedate",
  23135. "tradeid",
  23136. "tradeprice",
  23137. "tradeqty",
  23138. "tradetime"
  23139. ],
  23140. "properties": {
  23141. "accountid": {
  23142. "description": "账户ID[报价币种]",
  23143. "type": "integer"
  23144. },
  23145. "buildtype": {
  23146. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23147. "type": "integer"
  23148. },
  23149. "buyorsell": {
  23150. "description": "方向 - 0:买 1:卖",
  23151. "type": "integer"
  23152. },
  23153. "charge": {
  23154. "description": "手续费",
  23155. "type": "number"
  23156. },
  23157. "closecharge": {
  23158. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23159. "type": "number"
  23160. },
  23161. "closeexchagechargevalue": {
  23162. "description": "平仓交易所手续费设置值",
  23163. "type": "number"
  23164. },
  23165. "closefeealgorithm": {
  23166. "description": "平仓手续费收取方式 1:比率 2:固定",
  23167. "type": "integer"
  23168. },
  23169. "closememberchargevalue": {
  23170. "description": "平仓会员手续费设置值",
  23171. "type": "number"
  23172. },
  23173. "closepl": {
  23174. "description": "平仓盈亏",
  23175. "type": "number"
  23176. },
  23177. "closepl2": {
  23178. "description": "平仓盈亏[逐笔]",
  23179. "type": "number"
  23180. },
  23181. "closeqty": {
  23182. "description": "平仓数量(先建后平操作 需要记录)",
  23183. "type": "integer"
  23184. },
  23185. "creditamount": {
  23186. "description": "授信金额",
  23187. "type": "number"
  23188. },
  23189. "gcaccountid": {
  23190. "description": "账户ID[合约币种]",
  23191. "type": "integer"
  23192. },
  23193. "goodscode": {
  23194. "description": "商品代码",
  23195. "type": "string"
  23196. },
  23197. "goodsid": {
  23198. "description": "商品ID",
  23199. "type": "integer"
  23200. },
  23201. "goodsname": {
  23202. "description": "商品名称",
  23203. "type": "string"
  23204. },
  23205. "histradedate": {
  23206. "description": "历史交易日",
  23207. "type": "string"
  23208. },
  23209. "intclosepl": {
  23210. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23211. "type": "integer"
  23212. },
  23213. "isconfirmexercise": {
  23214. "description": "是否确认行权- 0:否 1:是",
  23215. "type": "integer"
  23216. },
  23217. "ismain": {
  23218. "description": "是否主单 - 0:不是 1:是",
  23219. "type": "integer"
  23220. },
  23221. "ispreexercise": {
  23222. "description": "是否预申报- 0:否 1:是",
  23223. "type": "integer"
  23224. },
  23225. "isreckoned": {
  23226. "description": "是否结算 - 0:未结算 1:已结算",
  23227. "type": "integer"
  23228. },
  23229. "isvaliddata": {
  23230. "description": "是否有效 - 0:无效 1:有效",
  23231. "type": "integer"
  23232. },
  23233. "listingselecttype": {
  23234. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23235. "type": "integer"
  23236. },
  23237. "marketid": {
  23238. "description": "市场ID",
  23239. "type": "integer"
  23240. },
  23241. "marketname": {
  23242. "description": "市场名称",
  23243. "type": "string"
  23244. },
  23245. "matchaccountid": {
  23246. "description": "对手账号id",
  23247. "type": "integer"
  23248. },
  23249. "memberuserid": {
  23250. "description": "会员id 个人投资者 需要填写",
  23251. "type": "integer"
  23252. },
  23253. "opencharge": {
  23254. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23255. "type": "number"
  23256. },
  23257. "openexchagechargevalue": {
  23258. "description": "建仓交易所手续费设置值",
  23259. "type": "number"
  23260. },
  23261. "openfeealgorithm": {
  23262. "description": "建仓手续费收取方式 1:比率 2:固定",
  23263. "type": "integer"
  23264. },
  23265. "openmemberchargevalue": {
  23266. "description": "建仓会员手续费设置值",
  23267. "type": "number"
  23268. },
  23269. "openqty": {
  23270. "description": "开仓数量(先建后平操作 需要记录)",
  23271. "type": "integer"
  23272. },
  23273. "optiontype": {
  23274. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23275. "type": "integer"
  23276. },
  23277. "orderid": {
  23278. "description": "委托单号",
  23279. "type": "string"
  23280. },
  23281. "performanceplanid": {
  23282. "description": "履约计划ID[期权]",
  23283. "type": "integer"
  23284. },
  23285. "performancestatus": {
  23286. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23287. "type": "integer"
  23288. },
  23289. "preexerciseprice": {
  23290. "description": "预申报价格",
  23291. "type": "number"
  23292. },
  23293. "premium": {
  23294. "description": "权利金 - [持仓单的权利金]",
  23295. "type": "number"
  23296. },
  23297. "relatedouttradeid": {
  23298. "description": "关联外部成交单ID",
  23299. "type": "integer"
  23300. },
  23301. "status": {
  23302. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23303. "type": "integer"
  23304. },
  23305. "tradeamount": {
  23306. "description": "成交金额[账户币种,用于所有权]",
  23307. "type": "number"
  23308. },
  23309. "tradedate": {
  23310. "description": "交易日(yyyyMMdd)",
  23311. "type": "string"
  23312. },
  23313. "tradeid": {
  23314. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23315. "type": "string"
  23316. },
  23317. "trademode": {
  23318. "description": "交易模式",
  23319. "type": "integer"
  23320. },
  23321. "tradeprice": {
  23322. "description": "成交价格",
  23323. "type": "number"
  23324. },
  23325. "tradeproperty": {
  23326. "description": "交易属性",
  23327. "type": "integer"
  23328. },
  23329. "tradeqty": {
  23330. "description": "成交数量",
  23331. "type": "integer"
  23332. },
  23333. "tradetime": {
  23334. "description": "成交时间",
  23335. "type": "string"
  23336. },
  23337. "tradetype": {
  23338. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23339. "type": "integer"
  23340. }
  23341. }
  23342. },
  23343. "order.QueryHisTradeOrderDetailRsp": {
  23344. "type": "object",
  23345. "required": [
  23346. "accountid",
  23347. "buildtype",
  23348. "buyorsell",
  23349. "goodsid",
  23350. "histradedate",
  23351. "marketid",
  23352. "memberuserid",
  23353. "operatetype",
  23354. "orderid",
  23355. "orderqty",
  23356. "ordertime",
  23357. "pricemode",
  23358. "tradedate",
  23359. "validtype"
  23360. ],
  23361. "properties": {
  23362. "accountid": {
  23363. "description": "账户ID[报价币种]",
  23364. "type": "integer"
  23365. },
  23366. "buildtype": {
  23367. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23368. "type": "integer"
  23369. },
  23370. "buyorsell": {
  23371. "description": "买卖 - 0:买 1:卖",
  23372. "type": "integer"
  23373. },
  23374. "cancelorderid": {
  23375. "description": "撤单单号(撤单时填写)",
  23376. "type": "string"
  23377. },
  23378. "cancelqty": {
  23379. "description": "撤单数量",
  23380. "type": "integer"
  23381. },
  23382. "clientordertime": {
  23383. "description": "客户端委托时间",
  23384. "type": "string"
  23385. },
  23386. "clientticket": {
  23387. "description": "客户端流水号",
  23388. "type": "string"
  23389. },
  23390. "clienttype": {
  23391. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23392. "type": "integer"
  23393. },
  23394. "closeexchagechargevalue": {
  23395. "description": "平仓交易所手续费设置值",
  23396. "type": "number"
  23397. },
  23398. "closefeealgorithm": {
  23399. "description": "平仓手续费收取方式 1:比率 2:固定",
  23400. "type": "integer"
  23401. },
  23402. "closefreezecharge": {
  23403. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23404. "type": "number"
  23405. },
  23406. "closememberchargevalue": {
  23407. "description": "平仓会员手续费设置值",
  23408. "type": "number"
  23409. },
  23410. "closeqty": {
  23411. "description": "平仓数量(先建后平操作 需要记录)",
  23412. "type": "integer"
  23413. },
  23414. "closetradeqty": {
  23415. "description": "平仓成交数量(先建后平操作,需要记录)",
  23416. "type": "integer"
  23417. },
  23418. "closeunfreezecharge": {
  23419. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23420. "type": "number"
  23421. },
  23422. "delistingtype": {
  23423. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23424. "type": "integer"
  23425. },
  23426. "freezecharge": {
  23427. "description": "冻结手续费",
  23428. "type": "number"
  23429. },
  23430. "freezemargin": {
  23431. "description": "冻结保证金(冻结交易金额)",
  23432. "type": "number"
  23433. },
  23434. "gcaccountid": {
  23435. "description": "账户ID[合约币种]",
  23436. "type": "integer"
  23437. },
  23438. "goodscode": {
  23439. "description": "商品代码",
  23440. "type": "string"
  23441. },
  23442. "goodsid": {
  23443. "description": "商品ID",
  23444. "type": "integer"
  23445. },
  23446. "goodsname": {
  23447. "description": "商品名称",
  23448. "type": "string"
  23449. },
  23450. "histradedate": {
  23451. "description": "历史交易日",
  23452. "type": "string"
  23453. },
  23454. "isconfirmexercise": {
  23455. "description": "是否确认行权- 0:否 1:是",
  23456. "type": "integer"
  23457. },
  23458. "ispreexercise": {
  23459. "description": "是否预申报- 0:否 1:是",
  23460. "type": "integer"
  23461. },
  23462. "isvaliddata": {
  23463. "description": "是否有效 - 0:无效 1:有效",
  23464. "type": "integer"
  23465. },
  23466. "listingselecttype": {
  23467. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23468. "type": "integer"
  23469. },
  23470. "marginalgorithm": {
  23471. "description": "保证金收取方式 1:比率 2:固定",
  23472. "type": "integer"
  23473. },
  23474. "marginvalue": {
  23475. "description": "即市保证金设置值",
  23476. "type": "number"
  23477. },
  23478. "marketid": {
  23479. "description": "市场ID",
  23480. "type": "integer"
  23481. },
  23482. "marketmaxsub": {
  23483. "description": "市价最大偏移范围",
  23484. "type": "number"
  23485. },
  23486. "marketname": {
  23487. "description": "市场名称",
  23488. "type": "string"
  23489. },
  23490. "memberuserid": {
  23491. "description": "所属会员UserID",
  23492. "type": "integer"
  23493. },
  23494. "openexchagechargevalue": {
  23495. "description": "建仓交易所手续费设置值",
  23496. "type": "number"
  23497. },
  23498. "openfeealgorithm": {
  23499. "description": "建仓手续费收取方式 1:比率 2:固定",
  23500. "type": "integer"
  23501. },
  23502. "openfreezecharge": {
  23503. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23504. "type": "number"
  23505. },
  23506. "openmemberchargevalue": {
  23507. "description": "建仓会员手续费设置值",
  23508. "type": "number"
  23509. },
  23510. "openqty": {
  23511. "description": "开仓数量(先建后平操作,需要记录)",
  23512. "type": "integer"
  23513. },
  23514. "opentradeqty": {
  23515. "description": "开仓成交数量(先建后平操作,需要记录)",
  23516. "type": "integer"
  23517. },
  23518. "openunfreezecharge": {
  23519. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23520. "type": "number"
  23521. },
  23522. "operatetype": {
  23523. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23524. "type": "integer"
  23525. },
  23526. "operatorid": {
  23527. "description": "登录账号(LoginID)",
  23528. "type": "integer"
  23529. },
  23530. "optiontype": {
  23531. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23532. "type": "integer"
  23533. },
  23534. "orderid": {
  23535. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23536. "type": "string"
  23537. },
  23538. "orderprice": {
  23539. "description": "委托价格",
  23540. "type": "number"
  23541. },
  23542. "orderqty": {
  23543. "description": "委托数量",
  23544. "type": "integer"
  23545. },
  23546. "ordersrc": {
  23547. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23548. "type": "integer"
  23549. },
  23550. "orderstatus": {
  23551. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23552. "type": "integer"
  23553. },
  23554. "ordertime": {
  23555. "description": "委托时间",
  23556. "type": "string"
  23557. },
  23558. "preexerciseprice": {
  23559. "description": "预申报价格",
  23560. "type": "number"
  23561. },
  23562. "premium": {
  23563. "description": "权利金",
  23564. "type": "number"
  23565. },
  23566. "preorderid": {
  23567. "description": "关联预埋单号(止盈止损单时填写)",
  23568. "type": "string"
  23569. },
  23570. "pricemode": {
  23571. "description": "取价方式 - 1:市价 2: 限价",
  23572. "type": "integer"
  23573. },
  23574. "quoteid": {
  23575. "description": "报价单ID",
  23576. "type": "integer"
  23577. },
  23578. "relatedid": {
  23579. "description": "关联单号(交割单)",
  23580. "type": "string"
  23581. },
  23582. "retcode": {
  23583. "description": "错误代码",
  23584. "type": "integer"
  23585. },
  23586. "sessionid": {
  23587. "description": "会话ID",
  23588. "type": "integer"
  23589. },
  23590. "tradedate": {
  23591. "description": "交易日(yyyyMMdd)",
  23592. "type": "string"
  23593. },
  23594. "trademode": {
  23595. "description": "交易模式",
  23596. "type": "integer"
  23597. },
  23598. "tradeproperty": {
  23599. "description": "交易属性",
  23600. "type": "integer"
  23601. },
  23602. "tradeqty": {
  23603. "description": "成交数量",
  23604. "type": "integer"
  23605. },
  23606. "unfreezecharge": {
  23607. "description": "解冻手续费",
  23608. "type": "number"
  23609. },
  23610. "unfreezemargin": {
  23611. "description": "解冻保证金",
  23612. "type": "number"
  23613. },
  23614. "updatetime": {
  23615. "description": "更新时间",
  23616. "type": "string"
  23617. },
  23618. "uuid": {
  23619. "description": "发起端唯一id",
  23620. "type": "string"
  23621. },
  23622. "validtime": {
  23623. "description": "有效期限",
  23624. "type": "string"
  23625. },
  23626. "validtype": {
  23627. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23628. "type": "integer"
  23629. },
  23630. "volumetype": {
  23631. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23632. "type": "integer"
  23633. }
  23634. }
  23635. },
  23636. "order.QueryTradeDetailRsp": {
  23637. "type": "object",
  23638. "required": [
  23639. "accountid",
  23640. "buyorsell",
  23641. "goodsid",
  23642. "marketid",
  23643. "memberuserid",
  23644. "orderid",
  23645. "tradeamount",
  23646. "tradedate",
  23647. "tradeid",
  23648. "tradeprice",
  23649. "tradeqty",
  23650. "tradetime"
  23651. ],
  23652. "properties": {
  23653. "accountid": {
  23654. "description": "账户ID[报价币种]",
  23655. "type": "integer"
  23656. },
  23657. "buildtype": {
  23658. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23659. "type": "integer"
  23660. },
  23661. "buyorsell": {
  23662. "description": "方向 - 0:买 1:卖",
  23663. "type": "integer"
  23664. },
  23665. "charge": {
  23666. "description": "手续费",
  23667. "type": "number"
  23668. },
  23669. "closecharge": {
  23670. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23671. "type": "number"
  23672. },
  23673. "closeexchagechargevalue": {
  23674. "description": "平仓交易所手续费设置值",
  23675. "type": "number"
  23676. },
  23677. "closefeealgorithm": {
  23678. "description": "平仓手续费收取方式 1:比率 2:固定",
  23679. "type": "integer"
  23680. },
  23681. "closememberchargevalue": {
  23682. "description": "平仓会员手续费设置值",
  23683. "type": "number"
  23684. },
  23685. "closepl": {
  23686. "description": "平仓盈亏",
  23687. "type": "number"
  23688. },
  23689. "closepl2": {
  23690. "description": "平仓盈亏[逐笔]",
  23691. "type": "number"
  23692. },
  23693. "closeqty": {
  23694. "description": "平仓数量(先建后平操作 需要记录)",
  23695. "type": "integer"
  23696. },
  23697. "creditamount": {
  23698. "description": "授信金额",
  23699. "type": "number"
  23700. },
  23701. "gcaccountid": {
  23702. "description": "账户ID[合约币种]",
  23703. "type": "integer"
  23704. },
  23705. "goodscode": {
  23706. "description": "商品代码",
  23707. "type": "string"
  23708. },
  23709. "goodsid": {
  23710. "description": "商品ID",
  23711. "type": "integer"
  23712. },
  23713. "goodsname": {
  23714. "description": "商品名称",
  23715. "type": "string"
  23716. },
  23717. "intclosepl": {
  23718. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23719. "type": "integer"
  23720. },
  23721. "isconfirmexercise": {
  23722. "description": "是否确认行权- 0:否 1:是",
  23723. "type": "integer"
  23724. },
  23725. "ismain": {
  23726. "description": "是否主单 - 0:不是 1:是",
  23727. "type": "integer"
  23728. },
  23729. "ispreexercise": {
  23730. "description": "是否预申报- 0:否 1:是",
  23731. "type": "integer"
  23732. },
  23733. "isreckoned": {
  23734. "description": "是否结算 - 0:未结算 1:已结算",
  23735. "type": "integer"
  23736. },
  23737. "listingselecttype": {
  23738. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23739. "type": "integer"
  23740. },
  23741. "marketid": {
  23742. "description": "市场ID",
  23743. "type": "integer"
  23744. },
  23745. "marketname": {
  23746. "description": "市场名称",
  23747. "type": "string"
  23748. },
  23749. "matchaccountid": {
  23750. "description": "对手账号id",
  23751. "type": "integer"
  23752. },
  23753. "memberuserid": {
  23754. "description": "会员id 个人投资者 需要填写",
  23755. "type": "integer"
  23756. },
  23757. "opencharge": {
  23758. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23759. "type": "number"
  23760. },
  23761. "openexchagechargevalue": {
  23762. "description": "建仓交易所手续费设置值",
  23763. "type": "number"
  23764. },
  23765. "openfeealgorithm": {
  23766. "description": "建仓手续费收取方式 1:比率 2:固定",
  23767. "type": "integer"
  23768. },
  23769. "openmemberchargevalue": {
  23770. "description": "建仓会员手续费设置值",
  23771. "type": "number"
  23772. },
  23773. "openqty": {
  23774. "description": "开仓数量(先建后平操作 需要记录)",
  23775. "type": "integer"
  23776. },
  23777. "optiontype": {
  23778. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23779. "type": "integer"
  23780. },
  23781. "orderid": {
  23782. "description": "委托单号",
  23783. "type": "string"
  23784. },
  23785. "performanceplanid": {
  23786. "description": "履约计划ID[期权]",
  23787. "type": "integer"
  23788. },
  23789. "performancestatus": {
  23790. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23791. "type": "integer"
  23792. },
  23793. "preexerciseprice": {
  23794. "description": "预申报价格",
  23795. "type": "number"
  23796. },
  23797. "premium": {
  23798. "description": "权利金 - [持仓单的权利金]",
  23799. "type": "number"
  23800. },
  23801. "relatedouttradeid": {
  23802. "description": "关联外部成交单ID",
  23803. "type": "integer"
  23804. },
  23805. "status": {
  23806. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23807. "type": "integer"
  23808. },
  23809. "tradeamount": {
  23810. "description": "成交金额[账户币种,用于所有权]",
  23811. "type": "number"
  23812. },
  23813. "tradedate": {
  23814. "description": "交易日(yyyyMMdd)",
  23815. "type": "string"
  23816. },
  23817. "tradeid": {
  23818. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23819. "type": "string"
  23820. },
  23821. "trademode": {
  23822. "description": "交易模式",
  23823. "type": "integer"
  23824. },
  23825. "tradeprice": {
  23826. "description": "成交价格",
  23827. "type": "number"
  23828. },
  23829. "tradeproperty": {
  23830. "description": "交易属性",
  23831. "type": "integer"
  23832. },
  23833. "tradeqty": {
  23834. "description": "成交数量",
  23835. "type": "integer"
  23836. },
  23837. "tradetime": {
  23838. "description": "成交时间",
  23839. "type": "string"
  23840. },
  23841. "tradetype": {
  23842. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23843. "type": "integer"
  23844. }
  23845. }
  23846. },
  23847. "order.QueryTradeOrderDetailRsp": {
  23848. "type": "object",
  23849. "required": [
  23850. "accountid",
  23851. "buildtype",
  23852. "buyorsell",
  23853. "goodsid",
  23854. "marketid",
  23855. "operatetype",
  23856. "orderqty",
  23857. "ordertime",
  23858. "pricemode",
  23859. "tradedate",
  23860. "validtype"
  23861. ],
  23862. "properties": {
  23863. "accountid": {
  23864. "description": "账户ID[报价币种]",
  23865. "type": "integer"
  23866. },
  23867. "buildtype": {
  23868. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23869. "type": "integer"
  23870. },
  23871. "buyorsell": {
  23872. "description": "买卖 - 0:买 1:卖",
  23873. "type": "integer"
  23874. },
  23875. "cancelorderid": {
  23876. "description": "撤单单号(撤单时填写)",
  23877. "type": "string"
  23878. },
  23879. "cancelqty": {
  23880. "description": "撤单数量",
  23881. "type": "integer"
  23882. },
  23883. "clienttype": {
  23884. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23885. "type": "integer"
  23886. },
  23887. "closefreezecharge": {
  23888. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23889. "type": "number"
  23890. },
  23891. "closeqty": {
  23892. "description": "平仓数量(先建后平操作 需要记录)",
  23893. "type": "integer"
  23894. },
  23895. "closetradeqty": {
  23896. "description": "平仓成交数量(先建后平操作,需要记录)",
  23897. "type": "integer"
  23898. },
  23899. "closeunfreezecharge": {
  23900. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23901. "type": "number"
  23902. },
  23903. "delistingtype": {
  23904. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23905. "type": "integer"
  23906. },
  23907. "enableqty": {
  23908. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23909. "type": "integer"
  23910. },
  23911. "freezecharge": {
  23912. "description": "冻结手续费",
  23913. "type": "number"
  23914. },
  23915. "freezemargin": {
  23916. "description": "冻结保证金(冻结交易金额)",
  23917. "type": "number"
  23918. },
  23919. "goodscode": {
  23920. "description": "商品代码",
  23921. "type": "string"
  23922. },
  23923. "goodsid": {
  23924. "description": "商品ID",
  23925. "type": "integer"
  23926. },
  23927. "goodsname": {
  23928. "description": "商品名称",
  23929. "type": "string"
  23930. },
  23931. "listingselecttype": {
  23932. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23933. "type": "integer"
  23934. },
  23935. "marketid": {
  23936. "description": "市场ID",
  23937. "type": "integer"
  23938. },
  23939. "marketname": {
  23940. "description": "市场名称",
  23941. "type": "string"
  23942. },
  23943. "openfreezecharge": {
  23944. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23945. "type": "number"
  23946. },
  23947. "openqty": {
  23948. "description": "开仓数量(先建后平操作,需要记录)",
  23949. "type": "integer"
  23950. },
  23951. "opentradeqty": {
  23952. "description": "开仓成交数量(先建后平操作,需要记录)",
  23953. "type": "integer"
  23954. },
  23955. "openunfreezecharge": {
  23956. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23957. "type": "number"
  23958. },
  23959. "operatetype": {
  23960. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23961. "type": "integer"
  23962. },
  23963. "operatorid": {
  23964. "description": "登录账号(LoginID)",
  23965. "type": "integer"
  23966. },
  23967. "orderid": {
  23968. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23969. "type": "string"
  23970. },
  23971. "orderprice": {
  23972. "description": "委托价格",
  23973. "type": "number"
  23974. },
  23975. "orderqty": {
  23976. "description": "委托数量",
  23977. "type": "integer"
  23978. },
  23979. "ordersrc": {
  23980. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23981. "type": "integer"
  23982. },
  23983. "orderstatus": {
  23984. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23985. "type": "integer"
  23986. },
  23987. "ordertime": {
  23988. "description": "委托时间",
  23989. "type": "string"
  23990. },
  23991. "preorderid": {
  23992. "description": "关联预埋单号(止盈止损单时填写)",
  23993. "type": "string"
  23994. },
  23995. "pricemode": {
  23996. "description": "取价方式 - 1:市价 2: 限价",
  23997. "type": "integer"
  23998. },
  23999. "relatedid": {
  24000. "description": "关联单号(交割单)",
  24001. "type": "string"
  24002. },
  24003. "tradedate": {
  24004. "description": "交易日(yyyyMMdd)",
  24005. "type": "string"
  24006. },
  24007. "trademode": {
  24008. "description": "交易模式",
  24009. "type": "integer"
  24010. },
  24011. "tradeqty": {
  24012. "description": "成交数量",
  24013. "type": "integer"
  24014. },
  24015. "unfreezecharge": {
  24016. "description": "解冻手续费",
  24017. "type": "number"
  24018. },
  24019. "unfreezemargin": {
  24020. "description": "解冻保证金",
  24021. "type": "number"
  24022. },
  24023. "validtime": {
  24024. "description": "有效期限",
  24025. "type": "string"
  24026. },
  24027. "validtype": {
  24028. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24029. "type": "integer"
  24030. },
  24031. "volumetype": {
  24032. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24033. "type": "integer"
  24034. }
  24035. }
  24036. },
  24037. "order.QueryTradePositionRsp": {
  24038. "type": "object",
  24039. "required": [
  24040. "goodsid"
  24041. ],
  24042. "properties": {
  24043. "accountid": {
  24044. "description": "资金账户",
  24045. "type": "integer"
  24046. },
  24047. "agreeunit": {
  24048. "description": "合约单位",
  24049. "type": "number"
  24050. },
  24051. "averageprice": {
  24052. "description": "持仓均价",
  24053. "type": "number"
  24054. },
  24055. "buyorsell": {
  24056. "description": "方向 - 0:买 1:卖",
  24057. "type": "integer"
  24058. },
  24059. "closetotalqty": {
  24060. "description": "平仓总数量",
  24061. "type": "integer"
  24062. },
  24063. "curholderamount": {
  24064. "description": "当前持仓总金额[商品币种]",
  24065. "type": "number"
  24066. },
  24067. "curpositionqty": {
  24068. "description": "当前持仓总数量",
  24069. "type": "integer"
  24070. },
  24071. "currencyid": {
  24072. "description": "报价货币ID",
  24073. "type": "integer"
  24074. },
  24075. "curtdposition": {
  24076. "description": "期末今日头寸",
  24077. "type": "integer"
  24078. },
  24079. "decimalplace": {
  24080. "description": "报价小数位",
  24081. "type": "integer"
  24082. },
  24083. "enableqty": {
  24084. "description": "可用量",
  24085. "type": "integer"
  24086. },
  24087. "fretdposition": {
  24088. "description": "冻结今日头寸",
  24089. "type": "integer"
  24090. },
  24091. "frozenqty": {
  24092. "description": "持仓冻结数量",
  24093. "type": "integer"
  24094. },
  24095. "goodscode": {
  24096. "description": "商品代码",
  24097. "type": "string"
  24098. },
  24099. "goodsid": {
  24100. "description": "商品Id",
  24101. "type": "integer"
  24102. },
  24103. "goodsname": {
  24104. "description": "商品名称",
  24105. "type": "string"
  24106. },
  24107. "goodunit": {
  24108. "description": "报价单位",
  24109. "type": "string"
  24110. },
  24111. "goodunitid": {
  24112. "description": "报价单位ID",
  24113. "type": "integer"
  24114. },
  24115. "holderamount": {
  24116. "description": "期初持仓总金额[商品币种]",
  24117. "type": "number"
  24118. },
  24119. "marketid": {
  24120. "description": "所属市场ID",
  24121. "type": "integer"
  24122. },
  24123. "openreqqty": {
  24124. "description": "开仓申请数量(用于比较最大持仓数量)",
  24125. "type": "integer"
  24126. },
  24127. "opentotalqty": {
  24128. "description": "开仓总数量",
  24129. "type": "integer"
  24130. },
  24131. "otherfrozenqty": {
  24132. "description": "持仓其他冻结数量(交割冻结)",
  24133. "type": "integer"
  24134. },
  24135. "positionqty": {
  24136. "description": "期初持仓数量",
  24137. "type": "integer"
  24138. },
  24139. "tnqty": {
  24140. "description": "T+N冻结总量",
  24141. "type": "integer"
  24142. },
  24143. "tnusedqty": {
  24144. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24145. "type": "integer"
  24146. },
  24147. "trademode": {
  24148. "description": "交易模式",
  24149. "type": "integer"
  24150. },
  24151. "usedmargin": {
  24152. "description": "占用保证金[商品币种]",
  24153. "type": "number"
  24154. }
  24155. }
  24156. },
  24157. "quote.HistoryData": {
  24158. "type": "object",
  24159. "properties": {
  24160. "c": {
  24161. "description": "收盘价",
  24162. "type": "number"
  24163. },
  24164. "f": {
  24165. "description": "是否补充数据",
  24166. "type": "boolean"
  24167. },
  24168. "h": {
  24169. "description": "最高价",
  24170. "type": "number"
  24171. },
  24172. "hv": {
  24173. "description": "持仓量",
  24174. "type": "integer"
  24175. },
  24176. "l": {
  24177. "description": "最低价",
  24178. "type": "number"
  24179. },
  24180. "o": {
  24181. "description": "开盘价",
  24182. "type": "number"
  24183. },
  24184. "s": {
  24185. "description": "结算价,日线周期(包括)以上才有",
  24186. "type": "number"
  24187. },
  24188. "ts": {
  24189. "description": "时间",
  24190. "type": "string"
  24191. },
  24192. "tt": {
  24193. "description": "总金额",
  24194. "type": "number"
  24195. },
  24196. "tv": {
  24197. "description": "总量",
  24198. "type": "integer"
  24199. }
  24200. }
  24201. },
  24202. "quote.HistoryTikData": {
  24203. "type": "object",
  24204. "properties": {
  24205. "AV": {
  24206. "description": "卖量",
  24207. "type": "integer"
  24208. },
  24209. "Ask": {
  24210. "description": "卖价",
  24211. "type": "number"
  24212. },
  24213. "BV": {
  24214. "description": "买量",
  24215. "type": "integer"
  24216. },
  24217. "Bid": {
  24218. "description": "买价",
  24219. "type": "number"
  24220. },
  24221. "HI": {
  24222. "description": "单笔持仓",
  24223. "type": "integer"
  24224. },
  24225. "HV": {
  24226. "description": "持仓量",
  24227. "type": "integer"
  24228. },
  24229. "PE": {
  24230. "description": "现价",
  24231. "type": "number"
  24232. },
  24233. "TDR": {
  24234. "description": "交易方向,0:买 1:卖",
  24235. "type": "integer"
  24236. },
  24237. "TK": {
  24238. "description": "交易类型",
  24239. "type": "integer"
  24240. },
  24241. "TS": {
  24242. "description": "行情时间文本",
  24243. "type": "string"
  24244. },
  24245. "TT": {
  24246. "description": "现金额",
  24247. "type": "number"
  24248. },
  24249. "Vol": {
  24250. "description": "现量",
  24251. "type": "integer"
  24252. }
  24253. }
  24254. },
  24255. "quote.QueryQuoteDayRsp": {
  24256. "type": "object",
  24257. "properties": {
  24258. "ask": {
  24259. "description": "卖1",
  24260. "type": "number"
  24261. },
  24262. "ask10": {
  24263. "description": "卖10",
  24264. "type": "number"
  24265. },
  24266. "ask2": {
  24267. "description": "卖2",
  24268. "type": "number"
  24269. },
  24270. "ask3": {
  24271. "description": "卖3",
  24272. "type": "number"
  24273. },
  24274. "ask4": {
  24275. "description": "卖4",
  24276. "type": "number"
  24277. },
  24278. "ask5": {
  24279. "description": "卖5",
  24280. "type": "number"
  24281. },
  24282. "ask6": {
  24283. "description": "卖6",
  24284. "type": "number"
  24285. },
  24286. "ask7": {
  24287. "description": "卖7",
  24288. "type": "number"
  24289. },
  24290. "ask8": {
  24291. "description": "卖8",
  24292. "type": "number"
  24293. },
  24294. "ask9": {
  24295. "description": "卖9",
  24296. "type": "number"
  24297. },
  24298. "askorderid": {
  24299. "description": "卖单号1",
  24300. "type": "integer"
  24301. },
  24302. "askorderid2": {
  24303. "description": "卖单号2",
  24304. "type": "integer"
  24305. },
  24306. "askorderid3": {
  24307. "description": "卖单号3",
  24308. "type": "integer"
  24309. },
  24310. "askorderid4": {
  24311. "description": "卖单号4",
  24312. "type": "integer"
  24313. },
  24314. "askorderid5": {
  24315. "description": "卖单号5",
  24316. "type": "integer"
  24317. },
  24318. "askordervolume": {
  24319. "description": "卖单量1",
  24320. "type": "integer"
  24321. },
  24322. "askordervolume10": {
  24323. "description": "卖单量10",
  24324. "type": "integer"
  24325. },
  24326. "askordervolume2": {
  24327. "description": "卖单量2",
  24328. "type": "integer"
  24329. },
  24330. "askordervolume3": {
  24331. "description": "卖单量3",
  24332. "type": "integer"
  24333. },
  24334. "askordervolume4": {
  24335. "description": "卖单量4",
  24336. "type": "integer"
  24337. },
  24338. "askordervolume5": {
  24339. "description": "卖单量5",
  24340. "type": "integer"
  24341. },
  24342. "askordervolume6": {
  24343. "description": "卖单量6",
  24344. "type": "integer"
  24345. },
  24346. "askordervolume7": {
  24347. "description": "卖单量7",
  24348. "type": "integer"
  24349. },
  24350. "askordervolume8": {
  24351. "description": "卖单量8",
  24352. "type": "integer"
  24353. },
  24354. "askordervolume9": {
  24355. "description": "卖单量9",
  24356. "type": "integer"
  24357. },
  24358. "askqueueinfo": {
  24359. "description": "大利市卖港股用",
  24360. "type": "string"
  24361. },
  24362. "askvolume": {
  24363. "description": "卖量1",
  24364. "type": "integer"
  24365. },
  24366. "askvolume10": {
  24367. "description": "卖量10",
  24368. "type": "integer"
  24369. },
  24370. "askvolume2": {
  24371. "description": "卖量2",
  24372. "type": "integer"
  24373. },
  24374. "askvolume3": {
  24375. "description": "卖量3",
  24376. "type": "integer"
  24377. },
  24378. "askvolume4": {
  24379. "description": "卖量4",
  24380. "type": "integer"
  24381. },
  24382. "askvolume5": {
  24383. "description": "卖量5",
  24384. "type": "integer"
  24385. },
  24386. "askvolume6": {
  24387. "description": "卖量6",
  24388. "type": "integer"
  24389. },
  24390. "askvolume7": {
  24391. "description": "卖量7",
  24392. "type": "integer"
  24393. },
  24394. "askvolume8": {
  24395. "description": "卖量8",
  24396. "type": "integer"
  24397. },
  24398. "askvolume9": {
  24399. "description": "卖量9",
  24400. "type": "integer"
  24401. },
  24402. "averageprice": {
  24403. "description": "均价",
  24404. "type": "number"
  24405. },
  24406. "bid": {
  24407. "description": "买1",
  24408. "type": "number"
  24409. },
  24410. "bid10": {
  24411. "description": "买10",
  24412. "type": "number"
  24413. },
  24414. "bid2": {
  24415. "description": "买2",
  24416. "type": "number"
  24417. },
  24418. "bid3": {
  24419. "description": "买3",
  24420. "type": "number"
  24421. },
  24422. "bid4": {
  24423. "description": "买4",
  24424. "type": "number"
  24425. },
  24426. "bid5": {
  24427. "description": "买5",
  24428. "type": "number"
  24429. },
  24430. "bid6": {
  24431. "description": "买6",
  24432. "type": "number"
  24433. },
  24434. "bid7": {
  24435. "description": "买7",
  24436. "type": "number"
  24437. },
  24438. "bid8": {
  24439. "description": "买8",
  24440. "type": "number"
  24441. },
  24442. "bid9": {
  24443. "description": "买9",
  24444. "type": "number"
  24445. },
  24446. "bidorderid": {
  24447. "description": "买单号1",
  24448. "type": "integer"
  24449. },
  24450. "bidorderid2": {
  24451. "description": "买单号2",
  24452. "type": "integer"
  24453. },
  24454. "bidorderid3": {
  24455. "description": "买单号3",
  24456. "type": "integer"
  24457. },
  24458. "bidorderid4": {
  24459. "description": "买单号4",
  24460. "type": "integer"
  24461. },
  24462. "bidorderid5": {
  24463. "description": "买单号5",
  24464. "type": "integer"
  24465. },
  24466. "bidordervolume": {
  24467. "description": "买单量1",
  24468. "type": "integer"
  24469. },
  24470. "bidordervolume10": {
  24471. "description": "买单量10",
  24472. "type": "integer"
  24473. },
  24474. "bidordervolume2": {
  24475. "description": "买单量2",
  24476. "type": "integer"
  24477. },
  24478. "bidordervolume3": {
  24479. "description": "买单量3",
  24480. "type": "integer"
  24481. },
  24482. "bidordervolume4": {
  24483. "description": "买单量4",
  24484. "type": "integer"
  24485. },
  24486. "bidordervolume5": {
  24487. "description": "买单量5",
  24488. "type": "integer"
  24489. },
  24490. "bidordervolume6": {
  24491. "description": "买单量6",
  24492. "type": "integer"
  24493. },
  24494. "bidordervolume7": {
  24495. "description": "买单量7",
  24496. "type": "integer"
  24497. },
  24498. "bidordervolume8": {
  24499. "description": "买单量8",
  24500. "type": "integer"
  24501. },
  24502. "bidordervolume9": {
  24503. "description": "买单量9",
  24504. "type": "integer"
  24505. },
  24506. "bidqueueinfo": {
  24507. "description": "大利市买港股用",
  24508. "type": "string"
  24509. },
  24510. "bidvolume": {
  24511. "description": "买量1",
  24512. "type": "integer"
  24513. },
  24514. "bidvolume10": {
  24515. "description": "买量10",
  24516. "type": "integer"
  24517. },
  24518. "bidvolume2": {
  24519. "description": "买量2",
  24520. "type": "integer"
  24521. },
  24522. "bidvolume3": {
  24523. "description": "买量3",
  24524. "type": "integer"
  24525. },
  24526. "bidvolume4": {
  24527. "description": "买量4",
  24528. "type": "integer"
  24529. },
  24530. "bidvolume5": {
  24531. "description": "买量5",
  24532. "type": "integer"
  24533. },
  24534. "bidvolume6": {
  24535. "description": "买量6",
  24536. "type": "integer"
  24537. },
  24538. "bidvolume7": {
  24539. "description": "买量7",
  24540. "type": "integer"
  24541. },
  24542. "bidvolume8": {
  24543. "description": "买量8",
  24544. "type": "integer"
  24545. },
  24546. "bidvolume9": {
  24547. "description": "买量9",
  24548. "type": "integer"
  24549. },
  24550. "calloptionpremiums": {
  24551. "description": "认购期权1",
  24552. "type": "integer"
  24553. },
  24554. "calloptionpremiums2": {
  24555. "description": "认购期权2",
  24556. "type": "integer"
  24557. },
  24558. "calloptionpremiums3": {
  24559. "description": "认购期权3",
  24560. "type": "integer"
  24561. },
  24562. "calloptionpremiums4": {
  24563. "description": "认购期权4",
  24564. "type": "integer"
  24565. },
  24566. "calloptionpremiums5": {
  24567. "description": "认购期权5",
  24568. "type": "integer"
  24569. },
  24570. "cleartime": {
  24571. "description": "清盘时间",
  24572. "type": "integer"
  24573. },
  24574. "exchangecode": {
  24575. "description": "交易所代码",
  24576. "type": "integer"
  24577. },
  24578. "exchangedate": {
  24579. "description": "交易日",
  24580. "type": "integer"
  24581. },
  24582. "goodscode": {
  24583. "description": "商品代码",
  24584. "type": "string"
  24585. },
  24586. "grepmarketprice": {
  24587. "description": "暗盘价 港股专用",
  24588. "type": "number"
  24589. },
  24590. "highest": {
  24591. "description": "最高价",
  24592. "type": "number"
  24593. },
  24594. "holdincrement": {
  24595. "description": "单笔持仓",
  24596. "type": "integer"
  24597. },
  24598. "holdvolume": {
  24599. "description": "持仓",
  24600. "type": "integer"
  24601. },
  24602. "iep": {
  24603. "description": "平衡价 港股专用",
  24604. "type": "number"
  24605. },
  24606. "iev": {
  24607. "description": "平衡量 港股专用",
  24608. "type": "number"
  24609. },
  24610. "inventory": {
  24611. "description": "库存",
  24612. "type": "integer"
  24613. },
  24614. "iscleared": {
  24615. "description": "是否清盘标志",
  24616. "type": "integer"
  24617. },
  24618. "issettled": {
  24619. "description": "是否结算标志",
  24620. "type": "integer"
  24621. },
  24622. "last": {
  24623. "description": "最新价",
  24624. "type": "number"
  24625. },
  24626. "lastlot": {
  24627. "description": "最新成交手数",
  24628. "type": "integer"
  24629. },
  24630. "lasttime": {
  24631. "description": "行情时间(只有现价变化行情时间才变化)",
  24632. "type": "string"
  24633. },
  24634. "lastturnover": {
  24635. "description": "最新成交金额",
  24636. "type": "number"
  24637. },
  24638. "lastvolume": {
  24639. "description": "最新成交量",
  24640. "type": "integer"
  24641. },
  24642. "limitdown": {
  24643. "description": "跌停价",
  24644. "type": "number"
  24645. },
  24646. "limitup": {
  24647. "description": "涨停价",
  24648. "type": "number"
  24649. },
  24650. "lowest": {
  24651. "description": "最低价",
  24652. "type": "number"
  24653. },
  24654. "nontotalholdervolume": {
  24655. "description": "非交易持仓量",
  24656. "type": "integer"
  24657. },
  24658. "nontotallot": {
  24659. "description": "非交易总手数",
  24660. "type": "integer"
  24661. },
  24662. "nontotalturnover": {
  24663. "description": "非交易总金额",
  24664. "type": "integer"
  24665. },
  24666. "nontotalvolume": {
  24667. "description": "非交易总量",
  24668. "type": "integer"
  24669. },
  24670. "opened": {
  24671. "description": "开盘价",
  24672. "type": "number"
  24673. },
  24674. "opentime": {
  24675. "description": "开盘时间",
  24676. "type": "string"
  24677. },
  24678. "orderid": {
  24679. "description": "序号",
  24680. "type": "integer"
  24681. },
  24682. "preclose": {
  24683. "description": "昨收",
  24684. "type": "number"
  24685. },
  24686. "preholdvolume": {
  24687. "description": "昨持仓",
  24688. "type": "integer"
  24689. },
  24690. "presettle": {
  24691. "description": "昨结价",
  24692. "type": "number"
  24693. },
  24694. "publictradetype": {
  24695. "description": "公共交易标志类型 港股专用",
  24696. "type": "string"
  24697. },
  24698. "putoptionpremiums": {
  24699. "description": "认沽期权1",
  24700. "type": "integer"
  24701. },
  24702. "putoptionpremiums2": {
  24703. "description": "认沽期权2",
  24704. "type": "integer"
  24705. },
  24706. "putoptionpremiums3": {
  24707. "description": "认沽期权3",
  24708. "type": "integer"
  24709. },
  24710. "putoptionpremiums4": {
  24711. "description": "认沽期权4",
  24712. "type": "integer"
  24713. },
  24714. "putoptionpremiums5": {
  24715. "description": "认沽期权5",
  24716. "type": "integer"
  24717. },
  24718. "settle": {
  24719. "description": "结算价",
  24720. "type": "number"
  24721. },
  24722. "strikeprice": {
  24723. "description": "发行价",
  24724. "type": "number"
  24725. },
  24726. "totalaskvolume": {
  24727. "description": "内盘",
  24728. "type": "integer"
  24729. },
  24730. "totalbidvolume": {
  24731. "description": "外盘",
  24732. "type": "integer"
  24733. },
  24734. "totallot": {
  24735. "description": "总手数",
  24736. "type": "integer"
  24737. },
  24738. "totalturnover": {
  24739. "description": "总金额",
  24740. "type": "number"
  24741. },
  24742. "totalvolume": {
  24743. "description": "总量",
  24744. "type": "integer"
  24745. },
  24746. "utclasttime": {
  24747. "description": "utc的行情时间",
  24748. "type": "string"
  24749. }
  24750. }
  24751. },
  24752. "quote.QueryTSDataRsp": {
  24753. "type": "object",
  24754. "properties": {
  24755. "Count": {
  24756. "description": "交易日应有数据个数",
  24757. "type": "integer"
  24758. },
  24759. "decimalPlace": {
  24760. "description": "小数位",
  24761. "type": "integer"
  24762. },
  24763. "endTime": {
  24764. "description": "结束时间",
  24765. "type": "string"
  24766. },
  24767. "goodsCode": {
  24768. "description": "商品代码",
  24769. "type": "string"
  24770. },
  24771. "historyDatas": {
  24772. "description": "历史数据",
  24773. "type": "array",
  24774. "items": {
  24775. "$ref": "#/definitions/quote.HistoryData"
  24776. }
  24777. },
  24778. "outGoodsCode": {
  24779. "description": "外部商品代码",
  24780. "type": "string"
  24781. },
  24782. "preSettle": {
  24783. "description": "昨结价",
  24784. "type": "number"
  24785. },
  24786. "runSteps": {
  24787. "description": "交易日开休市计划",
  24788. "type": "array",
  24789. "items": {
  24790. "$ref": "#/definitions/quote.TSDataRunStep"
  24791. }
  24792. },
  24793. "startTime": {
  24794. "description": "开始时间",
  24795. "type": "string"
  24796. },
  24797. "tradeDate": {
  24798. "description": "交易日",
  24799. "type": "string"
  24800. }
  24801. }
  24802. },
  24803. "quote.TSDataRunStep": {
  24804. "type": "object",
  24805. "properties": {
  24806. "end": {
  24807. "description": "真实结束时间",
  24808. "type": "string"
  24809. },
  24810. "endflag": {
  24811. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24812. "type": "integer"
  24813. },
  24814. "endtime": {
  24815. "description": "结束时间(HH:mm)",
  24816. "type": "string"
  24817. },
  24818. "endweekday": {
  24819. "description": "结束周几",
  24820. "type": "integer"
  24821. },
  24822. "groupid": {
  24823. "description": "分组ID",
  24824. "type": "integer"
  24825. },
  24826. "runstep": {
  24827. "description": "运行阶段 - 2:连续交易",
  24828. "type": "integer"
  24829. },
  24830. "sectionid": {
  24831. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24832. "type": "integer"
  24833. },
  24834. "start": {
  24835. "description": "真实开始时间",
  24836. "type": "string"
  24837. },
  24838. "startflag": {
  24839. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24840. "type": "integer"
  24841. },
  24842. "starttime": {
  24843. "description": "起始时间(HH:mm)",
  24844. "type": "string"
  24845. },
  24846. "startweekday": {
  24847. "description": "起始周几",
  24848. "type": "integer"
  24849. },
  24850. "tradeweekday": {
  24851. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24852. "type": "integer"
  24853. }
  24854. }
  24855. },
  24856. "szdz.QueryConvertLogRsp": {
  24857. "type": "object",
  24858. "required": [
  24859. "logid"
  24860. ],
  24861. "properties": {
  24862. "accountid": {
  24863. "description": "资金账户ID",
  24864. "type": "integer"
  24865. },
  24866. "clientticket": {
  24867. "description": "客户端流水号",
  24868. "type": "string"
  24869. },
  24870. "converttype": {
  24871. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24872. "type": "integer"
  24873. },
  24874. "createtime": {
  24875. "description": "记账时间",
  24876. "type": "string"
  24877. },
  24878. "daymaxvalue": {
  24879. "description": "配置当日最大转入限制",
  24880. "type": "number"
  24881. },
  24882. "daymaxvalue2": {
  24883. "description": "配置当日最大转入限制(转入)",
  24884. "type": "number"
  24885. },
  24886. "goodscode": {
  24887. "description": "商品代码",
  24888. "type": "string"
  24889. },
  24890. "goodsname": {
  24891. "description": "商品名称",
  24892. "type": "string"
  24893. },
  24894. "handlestatus": {
  24895. "description": "处理状态",
  24896. "type": "integer"
  24897. },
  24898. "innergoodsid": {
  24899. "description": "内部商品ID",
  24900. "type": "integer"
  24901. },
  24902. "inratio": {
  24903. "description": "配置转入比值",
  24904. "type": "integer"
  24905. },
  24906. "invalue": {
  24907. "description": "目标值",
  24908. "type": "number"
  24909. },
  24910. "logid": {
  24911. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24912. "type": "integer"
  24913. },
  24914. "mobile": {
  24915. "description": "手机号码(加密存储)",
  24916. "type": "string"
  24917. },
  24918. "outergoodscode": {
  24919. "description": "外部商品代码[JD\\PD]",
  24920. "type": "string"
  24921. },
  24922. "outratio": {
  24923. "description": "配置转出比值",
  24924. "type": "integer"
  24925. },
  24926. "outvalue": {
  24927. "description": "源值",
  24928. "type": "number"
  24929. },
  24930. "pddecimalplace": {
  24931. "description": "PD小数位",
  24932. "type": "integer"
  24933. },
  24934. "qty": {
  24935. "description": "数量",
  24936. "type": "string"
  24937. },
  24938. "remark": {
  24939. "description": "备注",
  24940. "type": "string"
  24941. },
  24942. "sessionid": {
  24943. "description": "会话ID",
  24944. "type": "integer"
  24945. },
  24946. "timemaxvalue": {
  24947. "description": "配置单次最大转入限制",
  24948. "type": "number"
  24949. },
  24950. "timemaxvalue2": {
  24951. "description": "配置单次最大转入限制(转入)",
  24952. "type": "number"
  24953. },
  24954. "timeminvalue": {
  24955. "description": "配置单次最小数量限制",
  24956. "type": "number"
  24957. },
  24958. "timeminvalue2": {
  24959. "description": "配置单次最小数量限制(转入)",
  24960. "type": "number"
  24961. },
  24962. "tradedate": {
  24963. "description": "交易日(yyyyMMdd)",
  24964. "type": "string"
  24965. },
  24966. "userid": {
  24967. "description": "用户ID",
  24968. "type": "integer"
  24969. }
  24970. }
  24971. },
  24972. "szdz.QueryGoodsPickupRsp": {
  24973. "type": "object",
  24974. "required": [
  24975. "takeorderid"
  24976. ],
  24977. "properties": {
  24978. "accountid": {
  24979. "description": "账户ID",
  24980. "type": "integer"
  24981. },
  24982. "address": {
  24983. "description": "提货人详细地址",
  24984. "type": "string"
  24985. },
  24986. "auditer": {
  24987. "description": "审核人",
  24988. "type": "integer"
  24989. },
  24990. "audittime": {
  24991. "description": "审核时间",
  24992. "type": "string"
  24993. },
  24994. "cardnum": {
  24995. "description": "提货人证件号码",
  24996. "type": "string"
  24997. },
  24998. "cardtypeid": {
  24999. "description": "提货人证件类型",
  25000. "type": "integer"
  25001. },
  25002. "checkremark": {
  25003. "description": "审核备注",
  25004. "type": "string"
  25005. },
  25006. "goodscode": {
  25007. "description": "商品代码",
  25008. "type": "string"
  25009. },
  25010. "goodsid": {
  25011. "description": "商品ID",
  25012. "type": "integer"
  25013. },
  25014. "goodsname": {
  25015. "description": "商品名称",
  25016. "type": "string"
  25017. },
  25018. "handlestatus": {
  25019. "description": "处理状态",
  25020. "type": "integer"
  25021. },
  25022. "marketid": {
  25023. "description": "市场ID",
  25024. "type": "integer"
  25025. },
  25026. "phonenum": {
  25027. "description": "提货人联系方式",
  25028. "type": "string"
  25029. },
  25030. "qty": {
  25031. "description": "提货数量",
  25032. "type": "number"
  25033. },
  25034. "recivername": {
  25035. "description": "提货人姓名",
  25036. "type": "string"
  25037. },
  25038. "reqtime": {
  25039. "description": "更新时间",
  25040. "type": "string"
  25041. },
  25042. "takemode": {
  25043. "description": "提货方式 - 2:自提 3:配送",
  25044. "type": "integer"
  25045. },
  25046. "takeorderid": {
  25047. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25048. "type": "string"
  25049. },
  25050. "takeorderstatus": {
  25051. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25052. "type": "integer"
  25053. },
  25054. "takeremark": {
  25055. "description": "提货备注",
  25056. "type": "string"
  25057. },
  25058. "tradedate": {
  25059. "description": "交易日(yyyyMMdd)",
  25060. "type": "string"
  25061. },
  25062. "userid": {
  25063. "description": "用户ID",
  25064. "type": "integer"
  25065. }
  25066. }
  25067. },
  25068. "szdz.QueryRecieptOrderRsp": {
  25069. "type": "object",
  25070. "required": [
  25071. "ordertime"
  25072. ],
  25073. "properties": {
  25074. "accountName": {
  25075. "description": "所属账号名称(已脱敏)",
  25076. "type": "string"
  25077. },
  25078. "accountid": {
  25079. "description": "资金账号",
  25080. "type": "integer"
  25081. },
  25082. "buyorsell": {
  25083. "description": "方向 - 0:买 1:卖",
  25084. "type": "integer"
  25085. },
  25086. "enableqty": {
  25087. "description": "可摘数量",
  25088. "type": "integer"
  25089. },
  25090. "goodscode": {
  25091. "description": "商品代码",
  25092. "type": "string"
  25093. },
  25094. "goodsid": {
  25095. "description": "商品ID",
  25096. "type": "integer"
  25097. },
  25098. "goodsname": {
  25099. "description": "商品名称",
  25100. "type": "string"
  25101. },
  25102. "orderid": {
  25103. "description": "委托单号",
  25104. "type": "string"
  25105. },
  25106. "orderprice": {
  25107. "description": "委托价格",
  25108. "type": "number"
  25109. },
  25110. "ordertime": {
  25111. "description": "委托时间",
  25112. "type": "string"
  25113. },
  25114. "tradedate": {
  25115. "description": "交易日(yyyyMMdd)",
  25116. "type": "string"
  25117. }
  25118. }
  25119. },
  25120. "szdz.QuerySZDZTradePositionRsp": {
  25121. "type": "object",
  25122. "properties": {
  25123. "accountid": {
  25124. "description": "账号Id",
  25125. "type": "integer"
  25126. },
  25127. "agreeunit": {
  25128. "description": "合约单位",
  25129. "type": "number"
  25130. },
  25131. "averageprice": {
  25132. "description": "持仓均价",
  25133. "type": "number"
  25134. },
  25135. "buyorsell": {
  25136. "description": "方向 - 0:买 1:卖",
  25137. "type": "integer"
  25138. },
  25139. "closetotalqty": {
  25140. "description": "平仓总数量",
  25141. "type": "integer"
  25142. },
  25143. "curholderamount": {
  25144. "description": "当前持仓总金额",
  25145. "type": "number"
  25146. },
  25147. "curpositionqty": {
  25148. "description": "当前持仓总数量",
  25149. "type": "integer"
  25150. },
  25151. "currencyid": {
  25152. "description": "报价货币ID",
  25153. "type": "integer"
  25154. },
  25155. "curtdposition": {
  25156. "description": "期末今日头寸",
  25157. "type": "integer"
  25158. },
  25159. "decimalplace": {
  25160. "description": "报价小数位",
  25161. "type": "integer"
  25162. },
  25163. "enableqty": {
  25164. "description": "可用量",
  25165. "type": "integer"
  25166. },
  25167. "fretdposition": {
  25168. "description": "冻结今日头寸",
  25169. "type": "integer"
  25170. },
  25171. "frozenqty": {
  25172. "description": "持仓冻结数量",
  25173. "type": "integer"
  25174. },
  25175. "goodscode": {
  25176. "description": "商品代码(内部)",
  25177. "type": "string"
  25178. },
  25179. "goodsid": {
  25180. "description": "商品Id",
  25181. "type": "integer"
  25182. },
  25183. "goodsname": {
  25184. "description": "商品名称",
  25185. "type": "string"
  25186. },
  25187. "goodunit": {
  25188. "description": "报价单位",
  25189. "type": "string"
  25190. },
  25191. "goodunitid": {
  25192. "description": "报价单位ID",
  25193. "type": "integer"
  25194. },
  25195. "holderamount": {
  25196. "description": "期初持仓总金额",
  25197. "type": "number"
  25198. },
  25199. "marketid": {
  25200. "description": "市场ID",
  25201. "type": "integer"
  25202. },
  25203. "openreqqty": {
  25204. "description": "开仓申请数量",
  25205. "type": "integer"
  25206. },
  25207. "opentotalqty": {
  25208. "description": "开仓总数量",
  25209. "type": "integer"
  25210. },
  25211. "otherfrozenqty": {
  25212. "description": "持仓其他冻结数量(交割冻结)",
  25213. "type": "integer"
  25214. },
  25215. "positionqty": {
  25216. "description": "期初持仓数量",
  25217. "type": "integer"
  25218. },
  25219. "szdz3freezqty": {
  25220. "description": "尚志大宗转换冻结总数量",
  25221. "type": "integer"
  25222. },
  25223. "tnqty": {
  25224. "description": "T+N冻结总量",
  25225. "type": "integer"
  25226. },
  25227. "tnusedqty": {
  25228. "description": "T+N使用量",
  25229. "type": "integer"
  25230. },
  25231. "trademode": {
  25232. "description": "交易模式",
  25233. "type": "integer"
  25234. },
  25235. "usedmargin": {
  25236. "description": "占用保证金",
  25237. "type": "number"
  25238. }
  25239. }
  25240. },
  25241. "taaccount.QueryAmountLogRsp": {
  25242. "type": "object",
  25243. "required": [
  25244. "accountid",
  25245. "amount",
  25246. "amountadjusttype",
  25247. "autoid",
  25248. "balance",
  25249. "createtime",
  25250. "currentbalance",
  25251. "operatetype"
  25252. ],
  25253. "properties": {
  25254. "OPERATETYPENAME": {
  25255. "description": "资金操作类型名称",
  25256. "type": "string"
  25257. },
  25258. "accountid": {
  25259. "description": "资金账户ID",
  25260. "type": "integer"
  25261. },
  25262. "agoodscode": {
  25263. "description": "竞拍商品代码",
  25264. "type": "string"
  25265. },
  25266. "agoodsname": {
  25267. "description": "竞拍商品名称",
  25268. "type": "string"
  25269. },
  25270. "amount": {
  25271. "description": "资金金额",
  25272. "type": "number"
  25273. },
  25274. "amountadjusttype": {
  25275. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25276. "type": "integer"
  25277. },
  25278. "autoid": {
  25279. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25280. "type": "integer"
  25281. },
  25282. "balance": {
  25283. "description": "期初余额",
  25284. "type": "number"
  25285. },
  25286. "businesscode": {
  25287. "description": "业务编号",
  25288. "type": "integer"
  25289. },
  25290. "createtime": {
  25291. "description": "发生时间",
  25292. "type": "string"
  25293. },
  25294. "currencyid": {
  25295. "description": "币种ID",
  25296. "type": "integer"
  25297. },
  25298. "currentbalance": {
  25299. "description": "期末余额(变动后金额)",
  25300. "type": "number"
  25301. },
  25302. "dgoodscode": {
  25303. "description": "交割商品代码",
  25304. "type": "string"
  25305. },
  25306. "dgoodsname": {
  25307. "description": "交割商品名称",
  25308. "type": "string"
  25309. },
  25310. "goodscode": {
  25311. "description": "商品代码",
  25312. "type": "string"
  25313. },
  25314. "goodsid": {
  25315. "description": "商品ID",
  25316. "type": "integer"
  25317. },
  25318. "goodsname": {
  25319. "description": "商品名称",
  25320. "type": "string"
  25321. },
  25322. "marketid": {
  25323. "description": "市场ID",
  25324. "type": "integer"
  25325. },
  25326. "marketname": {
  25327. "description": "市场名称",
  25328. "type": "string"
  25329. },
  25330. "moneyticket": {
  25331. "description": "资金流水号:银行端流水号",
  25332. "type": "integer"
  25333. },
  25334. "operatetype": {
  25335. "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:营销收款",
  25336. "type": "integer"
  25337. },
  25338. "relationorderid": {
  25339. "description": "关联单号",
  25340. "type": "string"
  25341. },
  25342. "remark": {
  25343. "description": "备注",
  25344. "type": "string"
  25345. },
  25346. "trademode": {
  25347. "description": "交易模式",
  25348. "type": "integer"
  25349. }
  25350. }
  25351. },
  25352. "taaccount.QueryHisAmountLogRsp": {
  25353. "type": "object",
  25354. "required": [
  25355. "accountid",
  25356. "amount",
  25357. "amountadjusttype",
  25358. "autoid",
  25359. "balance",
  25360. "createtime",
  25361. "currentbalance",
  25362. "histradedate",
  25363. "operatetype"
  25364. ],
  25365. "properties": {
  25366. "OPERATETYPENAME": {
  25367. "description": "资金操作类型名称",
  25368. "type": "string"
  25369. },
  25370. "accountid": {
  25371. "description": "资金账户ID",
  25372. "type": "integer"
  25373. },
  25374. "agoodscode": {
  25375. "description": "竞拍商品代码",
  25376. "type": "string"
  25377. },
  25378. "agoodsname": {
  25379. "description": "竞拍商品名称",
  25380. "type": "string"
  25381. },
  25382. "amount": {
  25383. "description": "资金金额",
  25384. "type": "number"
  25385. },
  25386. "amountadjusttype": {
  25387. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25388. "type": "integer"
  25389. },
  25390. "autoid": {
  25391. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25392. "type": "integer"
  25393. },
  25394. "balance": {
  25395. "description": "期初余额",
  25396. "type": "number"
  25397. },
  25398. "businesscode": {
  25399. "description": "业务编号",
  25400. "type": "integer"
  25401. },
  25402. "createtime": {
  25403. "description": "发生时间",
  25404. "type": "string"
  25405. },
  25406. "currencyid": {
  25407. "description": "币种ID",
  25408. "type": "integer"
  25409. },
  25410. "currentbalance": {
  25411. "description": "期末余额(变动后金额)",
  25412. "type": "number"
  25413. },
  25414. "dgoodscode": {
  25415. "description": "交割商品代码",
  25416. "type": "string"
  25417. },
  25418. "dgoodsname": {
  25419. "description": "交割商品名称",
  25420. "type": "string"
  25421. },
  25422. "goodscode": {
  25423. "description": "商品代码",
  25424. "type": "string"
  25425. },
  25426. "goodsid": {
  25427. "description": "商品ID",
  25428. "type": "integer"
  25429. },
  25430. "goodsname": {
  25431. "description": "商品名称",
  25432. "type": "string"
  25433. },
  25434. "histradedate": {
  25435. "description": "历史交易日",
  25436. "type": "string"
  25437. },
  25438. "isvaliddata": {
  25439. "description": "是否有效 - 0:无效 1:有效",
  25440. "type": "integer"
  25441. },
  25442. "marketid": {
  25443. "description": "市场ID",
  25444. "type": "integer"
  25445. },
  25446. "marketname": {
  25447. "description": "市场名称",
  25448. "type": "string"
  25449. },
  25450. "moneyticket": {
  25451. "description": "资金流水号:银行端流水号",
  25452. "type": "integer"
  25453. },
  25454. "operatetype": {
  25455. "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:营销收款",
  25456. "type": "integer"
  25457. },
  25458. "relationorderid": {
  25459. "description": "关联单号",
  25460. "type": "string"
  25461. },
  25462. "remark": {
  25463. "description": "备注",
  25464. "type": "string"
  25465. },
  25466. "trademode": {
  25467. "description": "交易模式",
  25468. "type": "integer"
  25469. }
  25470. }
  25471. },
  25472. "trade.QueryRecieptOrderRsp": {
  25473. "type": "object",
  25474. "required": [
  25475. "ordertime"
  25476. ],
  25477. "properties": {
  25478. "accountName": {
  25479. "description": "所属账号名称(已脱敏)",
  25480. "type": "string"
  25481. },
  25482. "accountid": {
  25483. "description": "资金账号",
  25484. "type": "integer"
  25485. },
  25486. "buyorsell": {
  25487. "description": "方向 - 0:买 1:卖",
  25488. "type": "integer"
  25489. },
  25490. "enableqty": {
  25491. "description": "可摘数量",
  25492. "type": "integer"
  25493. },
  25494. "goodscode": {
  25495. "description": "商品代码",
  25496. "type": "string"
  25497. },
  25498. "goodsid": {
  25499. "description": "商品ID",
  25500. "type": "integer"
  25501. },
  25502. "goodsname": {
  25503. "description": "商品名称",
  25504. "type": "string"
  25505. },
  25506. "orderid": {
  25507. "description": "委托单号",
  25508. "type": "string"
  25509. },
  25510. "orderprice": {
  25511. "description": "委托价格",
  25512. "type": "number"
  25513. },
  25514. "ordertime": {
  25515. "description": "委托时间",
  25516. "type": "string"
  25517. },
  25518. "tradedate": {
  25519. "description": "交易日(yyyyMMdd)",
  25520. "type": "string"
  25521. }
  25522. }
  25523. },
  25524. "user.LoginQueryRsp": {
  25525. "type": "object",
  25526. "properties": {
  25527. "externalExchanges": {
  25528. "description": "外部交易所",
  25529. "type": "array",
  25530. "items": {
  25531. "$ref": "#/definitions/models.Externalexchange"
  25532. }
  25533. },
  25534. "goodsgroups": {
  25535. "description": "商品组",
  25536. "type": "array",
  25537. "items": {
  25538. "$ref": "#/definitions/models.Goodsgroup"
  25539. }
  25540. },
  25541. "loginAccount": {
  25542. "description": "登录账号",
  25543. "type": "object",
  25544. "$ref": "#/definitions/models.Loginaccount"
  25545. },
  25546. "markets": {
  25547. "description": "市场",
  25548. "type": "array",
  25549. "items": {
  25550. "$ref": "#/definitions/models.Market"
  25551. }
  25552. },
  25553. "systemParams": {
  25554. "description": "系统参数",
  25555. "type": "array",
  25556. "items": {
  25557. "$ref": "#/definitions/models.Systemparam"
  25558. }
  25559. },
  25560. "userAccount": {
  25561. "description": "用户账号",
  25562. "type": "object",
  25563. "$ref": "#/definitions/models.Useraccount"
  25564. },
  25565. "userInfo": {
  25566. "description": "用户信息",
  25567. "type": "object",
  25568. "$ref": "#/definitions/models.Userinfo"
  25569. },
  25570. "username": {
  25571. "description": "用户姓名",
  25572. "type": "string"
  25573. }
  25574. }
  25575. }
  25576. },
  25577. "securityDefinitions": {
  25578. "ApiKeyAuth": {
  25579. "type": "apiKey",
  25580. "name": "Authorization",
  25581. "in": "header"
  25582. }
  25583. }
  25584. }`
  25585. type swaggerInfo struct {
  25586. Version string
  25587. Host string
  25588. BasePath string
  25589. Schemes []string
  25590. Title string
  25591. Description string
  25592. }
  25593. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25594. var SwaggerInfo = swaggerInfo{
  25595. Version: "1.0",
  25596. Host: "",
  25597. BasePath: "/api",
  25598. Schemes: []string{},
  25599. Title: "MTP2.0 查询服务 API",
  25600. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25601. }
  25602. type s struct{}
  25603. func (s *s) ReadDoc() string {
  25604. sInfo := SwaggerInfo
  25605. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25606. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25607. "marshal": func(v interface{}) string {
  25608. a, _ := json.Marshal(v)
  25609. return string(a)
  25610. },
  25611. }).Parse(doc)
  25612. if err != nil {
  25613. return doc
  25614. }
  25615. var tpl bytes.Buffer
  25616. if err := t.Execute(&tpl, sInfo); err != nil {
  25617. return doc
  25618. }
  25619. return tpl.String()
  25620. }
  25621. func init() {
  25622. swag.Register(swag.Name, &s{})
  25623. }