docs.go 917 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583
  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. "increaseqty": {
  13367. "description": "增加数量=销售计划数量+采购已定价数量",
  13368. "type": "number"
  13369. },
  13370. "oritoalspotqty": {
  13371. "description": "昨日数量",
  13372. "type": "number"
  13373. },
  13374. "totalspotqty": {
  13375. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13376. "type": "number"
  13377. },
  13378. "updatetime": {
  13379. "description": "更新时间",
  13380. "type": "string"
  13381. }
  13382. }
  13383. },
  13384. "models.Ermcp3AreaSpotDetail": {
  13385. "type": "object",
  13386. "properties": {
  13387. "contracttype": {
  13388. "description": "合同类型 1-采购 -1-销售",
  13389. "type": "integer"
  13390. },
  13391. "createtime": {
  13392. "description": "创建时间",
  13393. "type": "string"
  13394. },
  13395. "deliverygoodscode": {
  13396. "description": "现货品种代码",
  13397. "type": "string"
  13398. },
  13399. "deliverygoodsid": {
  13400. "description": "现货品种id",
  13401. "type": "integer"
  13402. },
  13403. "deliverygoodsname": {
  13404. "description": "现货品种名称",
  13405. "type": "string"
  13406. },
  13407. "enumdicname": {
  13408. "description": "现货商品单位名称",
  13409. "type": "string"
  13410. },
  13411. "logtype": {
  13412. "description": "记录类型 1-套保 2-现货合同",
  13413. "type": "integer"
  13414. },
  13415. "qty": {
  13416. "description": "数量",
  13417. "type": "number"
  13418. },
  13419. "recordname": {
  13420. "description": "类型名称",
  13421. "type": "string"
  13422. },
  13423. "relatedid": {
  13424. "description": "套保计划ID/现货合同ID",
  13425. "type": "string"
  13426. },
  13427. "relatedno": {
  13428. "description": "编号",
  13429. "type": "string"
  13430. },
  13431. "strtime": {
  13432. "description": "时间",
  13433. "type": "string"
  13434. }
  13435. }
  13436. },
  13437. "models.Ermcp3AreaStock": {
  13438. "type": "object",
  13439. "required": [
  13440. "userid"
  13441. ],
  13442. "properties": {
  13443. "brandname": {
  13444. "description": "品牌名称",
  13445. "type": "string"
  13446. },
  13447. "curstock": {
  13448. "description": "期末库存量(今日量)",
  13449. "type": "number"
  13450. },
  13451. "deliverygoodscode": {
  13452. "description": "现货品种代码",
  13453. "type": "string"
  13454. },
  13455. "deliverygoodsid": {
  13456. "description": "现货品种id",
  13457. "type": "integer"
  13458. },
  13459. "deliverygoodsname": {
  13460. "description": "现货品种名称",
  13461. "type": "string"
  13462. },
  13463. "enumdicname": {
  13464. "description": "单位名称",
  13465. "type": "string"
  13466. },
  13467. "goodsunitid": {
  13468. "description": "现货商品单位id",
  13469. "type": "integer"
  13470. },
  13471. "oristock": {
  13472. "description": "期初库存量(昨日量)",
  13473. "type": "number"
  13474. },
  13475. "spotgoodsbrandid": {
  13476. "description": "现货品牌ID",
  13477. "type": "integer"
  13478. },
  13479. "todaybuyinqty": {
  13480. "description": "今日采购入库量",
  13481. "type": "number"
  13482. },
  13483. "todayproduceinqty": {
  13484. "description": "今日生产入库量",
  13485. "type": "number"
  13486. },
  13487. "todayproduceoutqty": {
  13488. "description": "今日生产出库量",
  13489. "type": "number"
  13490. },
  13491. "todayselloutqty": {
  13492. "description": "今日销售出库量",
  13493. "type": "number"
  13494. },
  13495. "unitid": {
  13496. "description": "单位id",
  13497. "type": "integer"
  13498. },
  13499. "updatetime": {
  13500. "description": "更新时间",
  13501. "type": "string"
  13502. },
  13503. "userid": {
  13504. "description": "机构ID",
  13505. "type": "integer"
  13506. },
  13507. "username": {
  13508. "description": "机构名称",
  13509. "type": "string"
  13510. },
  13511. "warehousecode": {
  13512. "description": "仓库代码",
  13513. "type": "string"
  13514. },
  13515. "warehouseinfoid": {
  13516. "description": "仓库ID",
  13517. "type": "string"
  13518. },
  13519. "warehousename": {
  13520. "description": "仓库名称",
  13521. "type": "string"
  13522. },
  13523. "warehousetype": {
  13524. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13525. "type": "integer"
  13526. },
  13527. "wrstandardcode": {
  13528. "description": "品类代码",
  13529. "type": "string"
  13530. },
  13531. "wrstandardid": {
  13532. "description": "品类ID",
  13533. "type": "string"
  13534. },
  13535. "wrstandardname": {
  13536. "description": "品类名称",
  13537. "type": "string"
  13538. }
  13539. }
  13540. },
  13541. "models.Ermcp3AreaStockApply": {
  13542. "type": "object",
  13543. "properties": {
  13544. "applyid": {
  13545. "description": "申请人",
  13546. "type": "integer"
  13547. },
  13548. "applyname": {
  13549. "description": "申请人名称",
  13550. "type": "string"
  13551. },
  13552. "applyremark": {
  13553. "description": "申请备注",
  13554. "type": "string"
  13555. },
  13556. "applysrc": {
  13557. "description": "申请来源 - 1:管理端 2:终端",
  13558. "type": "integer"
  13559. },
  13560. "applystatus": {
  13561. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13562. "type": "integer"
  13563. },
  13564. "applytime": {
  13565. "description": "申请时间",
  13566. "type": "string"
  13567. },
  13568. "auditid": {
  13569. "description": "审核人",
  13570. "type": "integer"
  13571. },
  13572. "auditname": {
  13573. "description": "审核人名称",
  13574. "type": "string"
  13575. },
  13576. "auditremark": {
  13577. "description": "审核备注",
  13578. "type": "string"
  13579. },
  13580. "auditsrc": {
  13581. "description": "审核来源 - 1:管理端 2:终端",
  13582. "type": "integer"
  13583. },
  13584. "audittime": {
  13585. "description": "审核时间",
  13586. "type": "string"
  13587. },
  13588. "audittradedate": {
  13589. "description": "审核交易日(yyyyMMdd)",
  13590. "type": "string"
  13591. },
  13592. "brandname": {
  13593. "description": "品牌名称",
  13594. "type": "string"
  13595. },
  13596. "buynickname": {
  13597. "description": "采购方昵称",
  13598. "type": "string"
  13599. },
  13600. "buyuserid": {
  13601. "description": "采购方userid",
  13602. "type": "integer"
  13603. },
  13604. "buyusername": {
  13605. "description": "采购方名称",
  13606. "type": "string"
  13607. },
  13608. "contractno": {
  13609. "description": "合同编号",
  13610. "type": "string"
  13611. },
  13612. "contractqty": {
  13613. "description": "合同量",
  13614. "type": "number"
  13615. },
  13616. "contracttype": {
  13617. "description": "现货合同类型 - 1:采购 -1:销售",
  13618. "type": "integer"
  13619. },
  13620. "deliverygoodscode": {
  13621. "description": "现货品种代码",
  13622. "type": "string"
  13623. },
  13624. "deliverygoodsid": {
  13625. "description": "现货品种id",
  13626. "type": "integer"
  13627. },
  13628. "deliverygoodsname": {
  13629. "description": "现货品种名称",
  13630. "type": "string"
  13631. },
  13632. "enumdicname": {
  13633. "description": "现货商品单位名称",
  13634. "type": "string"
  13635. },
  13636. "inoutapplyid": {
  13637. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13638. "type": "string"
  13639. },
  13640. "inouttype": {
  13641. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13642. "type": "integer"
  13643. },
  13644. "pricetype": {
  13645. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13646. "type": "integer"
  13647. },
  13648. "qty": {
  13649. "description": "数量",
  13650. "type": "number"
  13651. },
  13652. "sellnickname": {
  13653. "description": "销售方昵称",
  13654. "type": "string"
  13655. },
  13656. "selluserid": {
  13657. "description": "销售方userid",
  13658. "type": "integer"
  13659. },
  13660. "sellusername": {
  13661. "description": "销售方名称",
  13662. "type": "string"
  13663. },
  13664. "spotcontractid": {
  13665. "description": "关联现货合同ID",
  13666. "type": "string"
  13667. },
  13668. "spotgoodsbrandid": {
  13669. "description": "现货品牌ID",
  13670. "type": "integer"
  13671. },
  13672. "unitid": {
  13673. "description": "单位id",
  13674. "type": "integer"
  13675. },
  13676. "userid": {
  13677. "description": "机构ID",
  13678. "type": "integer"
  13679. },
  13680. "warehousecode": {
  13681. "description": "仓库代码",
  13682. "type": "string"
  13683. },
  13684. "warehouseinfoid": {
  13685. "description": "现货仓库ID",
  13686. "type": "string"
  13687. },
  13688. "warehousename": {
  13689. "description": "仓库名称",
  13690. "type": "string"
  13691. },
  13692. "warehousetype": {
  13693. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13694. "type": "integer"
  13695. },
  13696. "wrstandardcode": {
  13697. "description": "品类代码",
  13698. "type": "string"
  13699. },
  13700. "wrstandardid": {
  13701. "description": "品类ID",
  13702. "type": "integer"
  13703. },
  13704. "wrstandardname": {
  13705. "description": "品类名称",
  13706. "type": "string"
  13707. }
  13708. }
  13709. },
  13710. "models.Ermcp3AreaStockApplySum": {
  13711. "type": "object",
  13712. "properties": {
  13713. "brandname": {
  13714. "description": "品牌名称",
  13715. "type": "string"
  13716. },
  13717. "inouttype": {
  13718. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13719. "type": "integer"
  13720. },
  13721. "spotcontractid": {
  13722. "description": "关联现货合同ID",
  13723. "type": "string"
  13724. },
  13725. "spotgoodsbrandid": {
  13726. "description": "品牌id",
  13727. "type": "integer"
  13728. },
  13729. "totalqty": {
  13730. "description": "总数量",
  13731. "type": "number"
  13732. },
  13733. "wrstandardid": {
  13734. "description": "品类id",
  13735. "type": "integer"
  13736. },
  13737. "wrstandardname": {
  13738. "description": "品类名称",
  13739. "type": "string"
  13740. }
  13741. }
  13742. },
  13743. "models.Ermcp3AreaStockReport": {
  13744. "type": "object",
  13745. "properties": {
  13746. "brandname": {
  13747. "description": "品牌名称",
  13748. "type": "string"
  13749. },
  13750. "curstock": {
  13751. "description": "期末库存量",
  13752. "type": "number"
  13753. },
  13754. "deliverygoodscode": {
  13755. "description": "现货品种代码",
  13756. "type": "string"
  13757. },
  13758. "deliverygoodsid": {
  13759. "description": "现货品种id",
  13760. "type": "integer"
  13761. },
  13762. "deliverygoodsname": {
  13763. "description": "现货品种名称",
  13764. "type": "string"
  13765. },
  13766. "enumdicname": {
  13767. "description": "单位名称",
  13768. "type": "string"
  13769. },
  13770. "goodsunitid": {
  13771. "description": "现货单位id",
  13772. "type": "integer"
  13773. },
  13774. "oristock": {
  13775. "description": "期初库存量",
  13776. "type": "number"
  13777. },
  13778. "spotgoodsbrandid": {
  13779. "description": "现货品牌ID",
  13780. "type": "integer"
  13781. },
  13782. "todaybuyinqty": {
  13783. "description": "今日采购入库量",
  13784. "type": "number"
  13785. },
  13786. "todayproduceinqty": {
  13787. "description": "今日生产入库量",
  13788. "type": "number"
  13789. },
  13790. "todayproduceoutqty": {
  13791. "description": "今日生产出库量",
  13792. "type": "number"
  13793. },
  13794. "todayselloutqty": {
  13795. "description": "今日销售出库量",
  13796. "type": "number"
  13797. },
  13798. "unitid": {
  13799. "description": "品类单位id",
  13800. "type": "integer"
  13801. },
  13802. "updatetime": {
  13803. "description": "更新时间",
  13804. "type": "string"
  13805. },
  13806. "userid": {
  13807. "description": "机构ID",
  13808. "type": "integer"
  13809. },
  13810. "username": {
  13811. "description": "机构名称",
  13812. "type": "string"
  13813. },
  13814. "warehousecode": {
  13815. "description": "仓库代码",
  13816. "type": "string"
  13817. },
  13818. "warehouseinfoid": {
  13819. "description": "仓库ID",
  13820. "type": "string"
  13821. },
  13822. "warehousename": {
  13823. "description": "仓库名称",
  13824. "type": "string"
  13825. },
  13826. "warehousetype": {
  13827. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13828. "type": "integer"
  13829. },
  13830. "wrstandardcode": {
  13831. "description": "品类代码",
  13832. "type": "string"
  13833. },
  13834. "wrstandardid": {
  13835. "description": "品类ID",
  13836. "type": "integer"
  13837. },
  13838. "wrstandardname": {
  13839. "description": "品类名称",
  13840. "type": "string"
  13841. }
  13842. }
  13843. },
  13844. "models.Ermcp3Brand": {
  13845. "type": "object",
  13846. "properties": {
  13847. "areauserid": {
  13848. "description": "用户id",
  13849. "type": "integer"
  13850. },
  13851. "brandid": {
  13852. "description": "品牌id",
  13853. "type": "integer"
  13854. },
  13855. "brandname": {
  13856. "description": "品牌名称",
  13857. "type": "string"
  13858. },
  13859. "deliverygoodsid": {
  13860. "description": "品种ID",
  13861. "type": "integer"
  13862. }
  13863. }
  13864. },
  13865. "models.Ermcp3Contract": {
  13866. "type": "object",
  13867. "properties": {
  13868. "accountid": {
  13869. "description": "期货账户id",
  13870. "type": "string"
  13871. },
  13872. "amount": {
  13873. "description": "金额 [1:一口价、3:暂定价]",
  13874. "type": "number"
  13875. },
  13876. "attachment": {
  13877. "description": "附件",
  13878. "type": "string"
  13879. },
  13880. "auditremark": {
  13881. "description": "审核意见",
  13882. "type": "string"
  13883. },
  13884. "audittime": {
  13885. "description": "审核时间",
  13886. "type": "string"
  13887. },
  13888. "biztype": {
  13889. "description": "业务类型 1-套保 2-套利",
  13890. "type": "integer"
  13891. },
  13892. "brandname": {
  13893. "description": "品牌名称",
  13894. "type": "string"
  13895. },
  13896. "buynickname": {
  13897. "description": "销售方昵称",
  13898. "type": "string"
  13899. },
  13900. "buyuserid": {
  13901. "description": "采购方ID",
  13902. "type": "integer"
  13903. },
  13904. "buyusername": {
  13905. "description": "采购方名称",
  13906. "type": "string"
  13907. },
  13908. "contracctstatus": {
  13909. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13910. "type": "integer"
  13911. },
  13912. "contractmargin": {
  13913. "description": "合同保证金",
  13914. "type": "number"
  13915. },
  13916. "contractno": {
  13917. "description": "现货合同编号",
  13918. "type": "string"
  13919. },
  13920. "contracttype": {
  13921. "description": "现货合同类型 - 1:采购 -1:销售",
  13922. "type": "integer"
  13923. },
  13924. "convertfactor": {
  13925. "description": "标仓系数(品类)",
  13926. "type": "number"
  13927. },
  13928. "createtime": {
  13929. "description": "创建时间",
  13930. "type": "string"
  13931. },
  13932. "deliveryenddate": {
  13933. "description": "交收期(结束)",
  13934. "type": "string"
  13935. },
  13936. "deliverygoodscode": {
  13937. "description": "现货品种代码",
  13938. "type": "string"
  13939. },
  13940. "deliverygoodsid": {
  13941. "description": "现货品种ID",
  13942. "type": "integer"
  13943. },
  13944. "deliverygoodsname": {
  13945. "description": "现货品种名称",
  13946. "type": "string"
  13947. },
  13948. "deliverystartdate": {
  13949. "description": "交收期(开始)",
  13950. "type": "string"
  13951. },
  13952. "enddate": {
  13953. "description": "点价结束日期 [2:点价 3:暂定价]",
  13954. "type": "string"
  13955. },
  13956. "enumdicname": {
  13957. "description": "单位名称",
  13958. "type": "string"
  13959. },
  13960. "goodscode": {
  13961. "description": "点价合约代码",
  13962. "type": "string"
  13963. },
  13964. "goodsid": {
  13965. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13966. "type": "integer"
  13967. },
  13968. "goodsname": {
  13969. "description": "点价商品名称",
  13970. "type": "string"
  13971. },
  13972. "margin": {
  13973. "description": "当前保证金",
  13974. "type": "number"
  13975. },
  13976. "meruserid": {
  13977. "description": "跟单员id",
  13978. "type": "integer"
  13979. },
  13980. "meruserlogincode": {
  13981. "description": "跟单员登录代码",
  13982. "type": "string"
  13983. },
  13984. "price": {
  13985. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13986. "type": "number"
  13987. },
  13988. "pricemove": {
  13989. "description": "升贴水 [2:点价 3:暂定价]",
  13990. "type": "number"
  13991. },
  13992. "pricetype": {
  13993. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13994. "type": "integer"
  13995. },
  13996. "producttype": {
  13997. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13998. "type": "integer"
  13999. },
  14000. "qty": {
  14001. "description": "数量",
  14002. "type": "number"
  14003. },
  14004. "remark": {
  14005. "description": "备注",
  14006. "type": "string"
  14007. },
  14008. "saleuserid": {
  14009. "description": "业务员id",
  14010. "type": "integer"
  14011. },
  14012. "saleuserlogincode": {
  14013. "description": "业务员登录代码",
  14014. "type": "string"
  14015. },
  14016. "sellnickname": {
  14017. "description": "采购方昵称",
  14018. "type": "string"
  14019. },
  14020. "selluserid": {
  14021. "description": "销售方ID",
  14022. "type": "integer"
  14023. },
  14024. "sellusername": {
  14025. "description": "销售方名称",
  14026. "type": "string"
  14027. },
  14028. "spotcontractid": {
  14029. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14030. "type": "string"
  14031. },
  14032. "spotgoodsbrandid": {
  14033. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14034. "type": "integer"
  14035. },
  14036. "spotgoodsdesc": {
  14037. "description": "商品型号",
  14038. "type": "string"
  14039. },
  14040. "startdate": {
  14041. "description": "点价开始日期 [2:点价 3:暂定价]",
  14042. "type": "string"
  14043. },
  14044. "tradeuserid": {
  14045. "description": "交易员id",
  14046. "type": "integer"
  14047. },
  14048. "tradeuserlogincode": {
  14049. "description": "交易员登录代码",
  14050. "type": "string"
  14051. },
  14052. "unitid": {
  14053. "description": "单位id(取品类上的单位id)",
  14054. "type": "integer"
  14055. },
  14056. "updatetime": {
  14057. "description": "更新时间",
  14058. "type": "string"
  14059. },
  14060. "userid": {
  14061. "description": "所属机构ID",
  14062. "type": "integer"
  14063. },
  14064. "wrstandardcode": {
  14065. "description": "品类代码",
  14066. "type": "string"
  14067. },
  14068. "wrstandardid": {
  14069. "description": "品类ID",
  14070. "type": "integer"
  14071. },
  14072. "wrstandardname": {
  14073. "description": "品类名称",
  14074. "type": "string"
  14075. }
  14076. }
  14077. },
  14078. "models.Ermcp3ExposureDetail": {
  14079. "type": "object",
  14080. "properties": {
  14081. "areauserid": {
  14082. "description": "机构ID",
  14083. "type": "integer"
  14084. },
  14085. "changeQty": {
  14086. "description": "套保变动量",
  14087. "type": "number"
  14088. },
  14089. "contracttype": {
  14090. "description": "现货合同类型 - 1:采购 -1:销售",
  14091. "type": "integer"
  14092. },
  14093. "convertfactor": {
  14094. "description": "标仓系数",
  14095. "type": "number"
  14096. },
  14097. "convertratio": {
  14098. "description": "套保系数",
  14099. "type": "number"
  14100. },
  14101. "createtime": {
  14102. "description": "时间",
  14103. "type": "string"
  14104. },
  14105. "deliverygoodscode": {
  14106. "description": "现货品种代码",
  14107. "type": "string"
  14108. },
  14109. "deliverygoodsid": {
  14110. "description": "现货品种id",
  14111. "type": "integer"
  14112. },
  14113. "deliverygoodsname": {
  14114. "description": "现货品种名称",
  14115. "type": "string"
  14116. },
  14117. "enumdicname": {
  14118. "description": "现货商品单位名称",
  14119. "type": "string"
  14120. },
  14121. "logtype": {
  14122. "description": "类型 - 1:套保计划 2:现货合同",
  14123. "type": "integer"
  14124. },
  14125. "middlegoodsId": {
  14126. "description": "套保商品id",
  14127. "type": "integer"
  14128. },
  14129. "middlegoodscode": {
  14130. "description": "套保商品代码",
  14131. "type": "string"
  14132. },
  14133. "middlegoodsname": {
  14134. "description": "套保商品名称",
  14135. "type": "string"
  14136. },
  14137. "qty": {
  14138. "description": "数量",
  14139. "type": "number"
  14140. },
  14141. "relateNo": {
  14142. "description": "现货合同/套保计划编号",
  14143. "type": "string"
  14144. }
  14145. }
  14146. },
  14147. "models.Ermcp3Goods": {
  14148. "type": "object",
  14149. "properties": {
  14150. "agreeunit": {
  14151. "description": "合约单位(合约乘数)",
  14152. "type": "number"
  14153. },
  14154. "enumdicname": {
  14155. "description": "单位名称",
  14156. "type": "string"
  14157. },
  14158. "exexchangecode": {
  14159. "description": "交易所代码",
  14160. "type": "string"
  14161. },
  14162. "goodscode": {
  14163. "description": "期货商品代码",
  14164. "type": "string"
  14165. },
  14166. "goodsid": {
  14167. "description": "期货商品id",
  14168. "type": "integer"
  14169. },
  14170. "goodsname": {
  14171. "description": "期货商品名称",
  14172. "type": "string"
  14173. }
  14174. }
  14175. },
  14176. "models.Ermcp3GoodsGroup": {
  14177. "type": "object",
  14178. "required": [
  14179. "areauserid"
  14180. ],
  14181. "properties": {
  14182. "agreeunit": {
  14183. "description": "合约单位",
  14184. "type": "number"
  14185. },
  14186. "areauserid": {
  14187. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14188. "type": "integer"
  14189. },
  14190. "canshort": {
  14191. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14192. "type": "integer"
  14193. },
  14194. "closepricemode": {
  14195. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14196. "type": "integer"
  14197. },
  14198. "createtime": {
  14199. "description": "创建时间",
  14200. "type": "string"
  14201. },
  14202. "creatorid": {
  14203. "description": "创建人",
  14204. "type": "integer"
  14205. },
  14206. "currencyid": {
  14207. "description": "报价货币ID",
  14208. "type": "integer"
  14209. },
  14210. "decimalplace": {
  14211. "description": "报价小数位",
  14212. "type": "integer"
  14213. },
  14214. "excludecfg": {
  14215. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14216. "type": "integer"
  14217. },
  14218. "exexchangeid": {
  14219. "description": "外部交易所ID[通道交易]",
  14220. "type": "integer"
  14221. },
  14222. "goodsgroupid": {
  14223. "description": "商品组ID(自增ID)",
  14224. "type": "integer"
  14225. },
  14226. "goodsgroupname": {
  14227. "description": "商品组名称",
  14228. "type": "string"
  14229. },
  14230. "goodsgroupstatus": {
  14231. "description": "商品组状态 - 1:正常 2:注销",
  14232. "type": "integer"
  14233. },
  14234. "goodunitid": {
  14235. "description": "报价单位ID",
  14236. "type": "integer"
  14237. },
  14238. "groupcategroyid": {
  14239. "description": "品种分类ID",
  14240. "type": "integer"
  14241. },
  14242. "innerdealmode": {
  14243. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14244. "type": "integer"
  14245. },
  14246. "marketid": {
  14247. "description": "所属市场ID",
  14248. "type": "integer"
  14249. },
  14250. "modifierid": {
  14251. "description": "修改人",
  14252. "type": "integer"
  14253. },
  14254. "modifytime": {
  14255. "description": "修改时间",
  14256. "type": "string"
  14257. },
  14258. "outerdealmode": {
  14259. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14260. "type": "integer"
  14261. },
  14262. "outergroupcode": {
  14263. "description": "外部商品组代码[通道交易]",
  14264. "type": "string"
  14265. },
  14266. "quoteminunit": {
  14267. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14268. "type": "integer"
  14269. },
  14270. "quotesourcegroupid": {
  14271. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14272. "type": "integer"
  14273. },
  14274. "syncgoodsqty": {
  14275. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14276. "type": "integer"
  14277. }
  14278. }
  14279. },
  14280. "models.Ermcp3GoodsGroupEx": {
  14281. "type": "object",
  14282. "properties": {
  14283. "convertratio": {
  14284. "description": "折算系数(品种系数)",
  14285. "type": "number"
  14286. },
  14287. "enumdicname": {
  14288. "description": "单位名称",
  14289. "type": "string"
  14290. },
  14291. "exexchangecode": {
  14292. "description": "交易所代码",
  14293. "type": "string"
  14294. },
  14295. "glist": {
  14296. "description": "合约列表",
  14297. "type": "array",
  14298. "items": {
  14299. "$ref": "#/definitions/models.Ermcp3Goods"
  14300. }
  14301. },
  14302. "goodsgroupid": {
  14303. "description": "商品组id",
  14304. "type": "integer"
  14305. },
  14306. "goodsgroupname": {
  14307. "description": "商品组名称",
  14308. "type": "string"
  14309. },
  14310. "middlegoodsid": {
  14311. "description": "套保商品id",
  14312. "type": "integer"
  14313. }
  14314. }
  14315. },
  14316. "models.Ermcp3HedgePlan": {
  14317. "type": "object",
  14318. "properties": {
  14319. "areauserid": {
  14320. "description": "用户ID",
  14321. "type": "integer"
  14322. },
  14323. "audittime": {
  14324. "description": "审核时间",
  14325. "type": "string"
  14326. },
  14327. "contracttype": {
  14328. "description": "计划类型 - 1:采购 -1:销售",
  14329. "type": "integer"
  14330. },
  14331. "convertfactor": {
  14332. "description": "标仓系数",
  14333. "type": "number"
  14334. },
  14335. "createtime": {
  14336. "description": "创建时间",
  14337. "type": "string"
  14338. },
  14339. "deliverygoodscode": {
  14340. "description": "现货品种代码",
  14341. "type": "string"
  14342. },
  14343. "deliverygoodsid": {
  14344. "description": "现货品种ID",
  14345. "type": "integer"
  14346. },
  14347. "deliverygoodsname": {
  14348. "description": "现货品种名称",
  14349. "type": "string"
  14350. },
  14351. "enumdicname": {
  14352. "description": "单位名称",
  14353. "type": "string"
  14354. },
  14355. "hedgeplanid": {
  14356. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14357. "type": "string"
  14358. },
  14359. "hedgeplanno": {
  14360. "description": "套保计划编号(名称)",
  14361. "type": "string"
  14362. },
  14363. "hedgeplanstatus": {
  14364. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14365. "type": "integer"
  14366. },
  14367. "planqty": {
  14368. "description": "计划数量",
  14369. "type": "number"
  14370. },
  14371. "plantime": {
  14372. "description": "计划时间",
  14373. "type": "string"
  14374. },
  14375. "producttype": {
  14376. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14377. "type": "integer"
  14378. },
  14379. "remark": {
  14380. "description": "备注",
  14381. "type": "string"
  14382. },
  14383. "spotgoodsdesc": {
  14384. "description": "商品型号",
  14385. "type": "string"
  14386. },
  14387. "unitid": {
  14388. "description": "单位id",
  14389. "type": "integer"
  14390. },
  14391. "updatetime": {
  14392. "description": "更新时间",
  14393. "type": "string"
  14394. }
  14395. }
  14396. },
  14397. "models.Ermcp3MiddleGoodsDetail": {
  14398. "type": "object",
  14399. "properties": {
  14400. "gplist": {
  14401. "description": "关联商品组列表",
  14402. "type": "array",
  14403. "items": {
  14404. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14405. }
  14406. },
  14407. "mg": {
  14408. "description": "套保商品信息",
  14409. "type": "object",
  14410. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14411. }
  14412. }
  14413. },
  14414. "models.Ermcp3MiddleGoodsDetailEx": {
  14415. "type": "object",
  14416. "properties": {
  14417. "dglist": {
  14418. "description": "关联的现货品种列表",
  14419. "type": "array",
  14420. "items": {
  14421. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  14422. }
  14423. },
  14424. "gplist": {
  14425. "description": "关联商品组列表",
  14426. "type": "array",
  14427. "items": {
  14428. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14429. }
  14430. },
  14431. "mg": {
  14432. "description": "套保商品信息",
  14433. "type": "object",
  14434. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14435. }
  14436. }
  14437. },
  14438. "models.Ermcp3ReportAreaSpotPL": {
  14439. "type": "object",
  14440. "properties": {
  14441. "actualpl": {
  14442. "description": "实际损益",
  14443. "type": "number"
  14444. },
  14445. "areauserid": {
  14446. "description": "所属机构",
  14447. "type": "integer"
  14448. },
  14449. "brandname": {
  14450. "description": "品牌名称",
  14451. "type": "string"
  14452. },
  14453. "curamount": {
  14454. "description": "期末额",
  14455. "type": "number"
  14456. },
  14457. "curaverageprice": {
  14458. "description": "期末均价",
  14459. "type": "number"
  14460. },
  14461. "curbuyamount": {
  14462. "description": "期末采购总额(采购额)",
  14463. "type": "number"
  14464. },
  14465. "curbuyqty": {
  14466. "description": "期末采购总量",
  14467. "type": "number"
  14468. },
  14469. "curmarketvalue": {
  14470. "description": "参考市值",
  14471. "type": "number"
  14472. },
  14473. "curqty": {
  14474. "description": "期末量",
  14475. "type": "number"
  14476. },
  14477. "cursellamount": {
  14478. "description": "期末销售总额(销售额)",
  14479. "type": "number"
  14480. },
  14481. "cursellqty": {
  14482. "description": "期末销售总量",
  14483. "type": "number"
  14484. },
  14485. "curspotprice": {
  14486. "description": "参考市价",
  14487. "type": "number"
  14488. },
  14489. "deliverygoodscode": {
  14490. "description": "现货品种代码",
  14491. "type": "string"
  14492. },
  14493. "deliverygoodsid": {
  14494. "description": "现货品种id",
  14495. "type": "integer"
  14496. },
  14497. "deliverygoodsname": {
  14498. "description": "现货品种名称",
  14499. "type": "string"
  14500. },
  14501. "enumdicname": {
  14502. "description": "现货商品单位名称",
  14503. "type": "string"
  14504. },
  14505. "floatpl": {
  14506. "description": "浮动损益",
  14507. "type": "number"
  14508. },
  14509. "gbenumdicname": {
  14510. "description": "品类单位名称",
  14511. "type": "string"
  14512. },
  14513. "gbunitid": {
  14514. "description": "现货单位id",
  14515. "type": "integer"
  14516. },
  14517. "modelname": {
  14518. "description": "品类名称",
  14519. "type": "string"
  14520. },
  14521. "oriamount": {
  14522. "description": "期初额",
  14523. "type": "number"
  14524. },
  14525. "oriaverageprice": {
  14526. "description": "期初均价",
  14527. "type": "number"
  14528. },
  14529. "oribuyamount": {
  14530. "description": "期初采购总额",
  14531. "type": "number"
  14532. },
  14533. "oribuyqty": {
  14534. "description": "期初采购总量",
  14535. "type": "number"
  14536. },
  14537. "oriqty": {
  14538. "description": "期初量",
  14539. "type": "number"
  14540. },
  14541. "orisellamount": {
  14542. "description": "期初销售总额",
  14543. "type": "number"
  14544. },
  14545. "orisellqty": {
  14546. "description": "期初销售总量",
  14547. "type": "number"
  14548. },
  14549. "spotgoodsbrandid": {
  14550. "description": "现货品牌ID",
  14551. "type": "integer"
  14552. },
  14553. "todaybuyamount": {
  14554. "description": "今日采购额",
  14555. "type": "number"
  14556. },
  14557. "todaybuyaverageprice": {
  14558. "description": "今日采购均价(采购均价)",
  14559. "type": "number"
  14560. },
  14561. "todaybuyqty": {
  14562. "description": "今日采购量(采购增量)",
  14563. "type": "number"
  14564. },
  14565. "todaysellamount": {
  14566. "description": "今日销售额",
  14567. "type": "number"
  14568. },
  14569. "todaysellaverageprice": {
  14570. "description": "今日销售均价(销售均价)",
  14571. "type": "number"
  14572. },
  14573. "todaysellqty": {
  14574. "description": "今日销售量(销售增量)",
  14575. "type": "number"
  14576. },
  14577. "unitid": {
  14578. "description": "品类单位id",
  14579. "type": "integer"
  14580. },
  14581. "updatetime": {
  14582. "description": "更新时间",
  14583. "type": "string"
  14584. },
  14585. "wrstandardcode": {
  14586. "description": "品类代码",
  14587. "type": "string"
  14588. },
  14589. "wrstandardid": {
  14590. "description": "品类ID",
  14591. "type": "integer"
  14592. },
  14593. "wrstandardname": {
  14594. "description": "品类名称",
  14595. "type": "string"
  14596. }
  14597. }
  14598. },
  14599. "models.Ermcp3ReportDaySpot": {
  14600. "type": "object",
  14601. "properties": {
  14602. "areauserid": {
  14603. "description": "所属机构T",
  14604. "type": "integer"
  14605. },
  14606. "buyinqty": {
  14607. "description": "采购入库量",
  14608. "type": "number"
  14609. },
  14610. "deliverygoodscode": {
  14611. "description": "现货品种代码",
  14612. "type": "string"
  14613. },
  14614. "deliverygoodsid": {
  14615. "description": "现货品种id",
  14616. "type": "integer"
  14617. },
  14618. "deliverygoodsname": {
  14619. "description": "现货品种名称",
  14620. "type": "string"
  14621. },
  14622. "enumdicname": {
  14623. "description": "现货商品单位名称",
  14624. "type": "string"
  14625. },
  14626. "reckondate": {
  14627. "description": "日照时期(yyyyMMdd)",
  14628. "type": "string"
  14629. },
  14630. "selloutqty": {
  14631. "description": "销售出库量",
  14632. "type": "number"
  14633. },
  14634. "todaybuyreckonqty": {
  14635. "description": "采购确定量",
  14636. "type": "number"
  14637. },
  14638. "todaysellreckonqty": {
  14639. "description": "销售确定量",
  14640. "type": "number"
  14641. },
  14642. "totalbuypricedqty": {
  14643. "description": "采购定价量 = 期末 - 期初",
  14644. "type": "number"
  14645. },
  14646. "totalsellpricedqty": {
  14647. "description": "销售定价量 = 期末 - 期初",
  14648. "type": "number"
  14649. }
  14650. }
  14651. },
  14652. "models.Ermcp3ReportMonSpot": {
  14653. "type": "object",
  14654. "properties": {
  14655. "areauserid": {
  14656. "description": "所属机构id",
  14657. "type": "integer"
  14658. },
  14659. "buyinqty": {
  14660. "description": "采购入库量",
  14661. "type": "number"
  14662. },
  14663. "cycletime": {
  14664. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14665. "type": "string"
  14666. },
  14667. "cycletype": {
  14668. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14669. "type": "integer"
  14670. },
  14671. "deliverygoodscode": {
  14672. "description": "现货品种代码",
  14673. "type": "string"
  14674. },
  14675. "deliverygoodsid": {
  14676. "description": "现货品种id",
  14677. "type": "integer"
  14678. },
  14679. "deliverygoodsname": {
  14680. "description": "现货品种名称",
  14681. "type": "string"
  14682. },
  14683. "enumdicname": {
  14684. "description": "现货商品单位名称",
  14685. "type": "string"
  14686. },
  14687. "selloutqty": {
  14688. "description": "销售出库量",
  14689. "type": "number"
  14690. },
  14691. "todaybuyreckonqty": {
  14692. "description": "采购确定量",
  14693. "type": "number"
  14694. },
  14695. "todaysellreckonqty": {
  14696. "description": "销售确定量",
  14697. "type": "number"
  14698. },
  14699. "totalbuypricedqty": {
  14700. "description": "采购定价量 = 期末 - 期初",
  14701. "type": "number"
  14702. },
  14703. "totalsellpricedqty": {
  14704. "description": "销售定价量 = 期末 - 期初",
  14705. "type": "number"
  14706. }
  14707. }
  14708. },
  14709. "models.Ermcp3ReportOPLog": {
  14710. "type": "object",
  14711. "properties": {
  14712. "applyid": {
  14713. "description": "操作人",
  14714. "type": "integer"
  14715. },
  14716. "applyname": {
  14717. "description": "操作人名称",
  14718. "type": "string"
  14719. },
  14720. "biztype": {
  14721. "description": "业务类型 - 1:套保计划 2:现货合同",
  14722. "type": "integer"
  14723. },
  14724. "brandname": {
  14725. "description": "品牌名称",
  14726. "type": "string"
  14727. },
  14728. "contracttype": {
  14729. "description": "现货合同类型 - 1:采购 -1:销售",
  14730. "type": "integer"
  14731. },
  14732. "deliverygoodscode": {
  14733. "description": "现货品种代码",
  14734. "type": "string"
  14735. },
  14736. "deliverygoodsid": {
  14737. "description": "现货品种id",
  14738. "type": "integer"
  14739. },
  14740. "deliverygoodsname": {
  14741. "description": "现货品种名称",
  14742. "type": "string"
  14743. },
  14744. "enumdicName": {
  14745. "description": "单位名称",
  14746. "type": "string"
  14747. },
  14748. "logdatetime": {
  14749. "description": "流水日期(时间)",
  14750. "type": "string"
  14751. },
  14752. "logid": {
  14753. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14754. "type": "string"
  14755. },
  14756. "logtypename": {
  14757. "description": "合同类型(名称)",
  14758. "type": "string"
  14759. },
  14760. "logvalue": {
  14761. "description": "数值",
  14762. "type": "string"
  14763. },
  14764. "operatelogtype": {
  14765. "description": "操作流水类型 -",
  14766. "type": "integer"
  14767. },
  14768. "optypename": {
  14769. "description": "流水类型名称",
  14770. "type": "string"
  14771. },
  14772. "relatedid": {
  14773. "description": "现货合同ID\\套保计划",
  14774. "type": "string"
  14775. },
  14776. "relatedno": {
  14777. "description": "合同编号",
  14778. "type": "string"
  14779. },
  14780. "tradedate": {
  14781. "description": "交易日(yyyyMMdd)",
  14782. "type": "string"
  14783. },
  14784. "userid": {
  14785. "description": "机构ID",
  14786. "type": "integer"
  14787. }
  14788. }
  14789. },
  14790. "models.Ermcp3SellBuyContract": {
  14791. "type": "object",
  14792. "properties": {
  14793. "accountname": {
  14794. "description": "账户名称",
  14795. "type": "string"
  14796. },
  14797. "attachment": {
  14798. "description": "附件",
  14799. "type": "string"
  14800. },
  14801. "audittime": {
  14802. "description": "审核时间",
  14803. "type": "string"
  14804. },
  14805. "brandname": {
  14806. "description": "品牌名称",
  14807. "type": "string"
  14808. },
  14809. "contracctstatus": {
  14810. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14811. "type": "integer"
  14812. },
  14813. "contractmargin": {
  14814. "description": "合同保证金",
  14815. "type": "number"
  14816. },
  14817. "contractno": {
  14818. "description": "合同编号",
  14819. "type": "string"
  14820. },
  14821. "contracttype": {
  14822. "description": "合同类型 1-采购, -1-销售",
  14823. "type": "integer"
  14824. },
  14825. "convertfactor": {
  14826. "description": "标仓系数(品类)",
  14827. "type": "number"
  14828. },
  14829. "createtime": {
  14830. "description": "创建时间",
  14831. "type": "string"
  14832. },
  14833. "daikaiamount": {
  14834. "description": "应收(开)票额",
  14835. "type": "number"
  14836. },
  14837. "deliveryenddate": {
  14838. "description": "交割结束日",
  14839. "type": "string"
  14840. },
  14841. "deliverygoodscode": {
  14842. "description": "现货品种代码",
  14843. "type": "string"
  14844. },
  14845. "deliverygoodsid": {
  14846. "description": "现货商品ID",
  14847. "type": "integer"
  14848. },
  14849. "deliverygoodsname": {
  14850. "description": "现货品种名称",
  14851. "type": "string"
  14852. },
  14853. "deliverystartdate": {
  14854. "description": "交割开始日",
  14855. "type": "string"
  14856. },
  14857. "enddate": {
  14858. "description": "点价结束日",
  14859. "type": "string"
  14860. },
  14861. "enumdicname": {
  14862. "description": "单位名称",
  14863. "type": "string"
  14864. },
  14865. "goodscode": {
  14866. "description": "点价商品代码",
  14867. "type": "string"
  14868. },
  14869. "goodsid": {
  14870. "description": "点价商品ID",
  14871. "type": "integer"
  14872. },
  14873. "goodsname": {
  14874. "description": "点价商品名称",
  14875. "type": "string"
  14876. },
  14877. "invoiceamount": {
  14878. "description": "已开票额",
  14879. "type": "number"
  14880. },
  14881. "loanamount": {
  14882. "description": "贷款总额=已定价额+调整金额",
  14883. "type": "number"
  14884. },
  14885. "margin": {
  14886. "description": "保证金",
  14887. "type": "number"
  14888. },
  14889. "nickname": {
  14890. "description": "账户昵称",
  14891. "type": "string"
  14892. },
  14893. "payamount": {
  14894. "description": "已收付额(收款或付款)",
  14895. "type": "number"
  14896. },
  14897. "preinvoiceamount": {
  14898. "description": "预收(开)票额",
  14899. "type": "number"
  14900. },
  14901. "prepayamount": {
  14902. "description": "预收付额",
  14903. "type": "number"
  14904. },
  14905. "price": {
  14906. "description": "价格",
  14907. "type": "number"
  14908. },
  14909. "pricedamount": {
  14910. "description": "已定价额",
  14911. "type": "number"
  14912. },
  14913. "pricedavg": {
  14914. "description": "已点均价",
  14915. "type": "number"
  14916. },
  14917. "pricedqty": {
  14918. "description": "已定价量",
  14919. "type": "number"
  14920. },
  14921. "pricemove": {
  14922. "description": "升贴水",
  14923. "type": "number"
  14924. },
  14925. "pricetype": {
  14926. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14927. "type": "integer"
  14928. },
  14929. "producttype": {
  14930. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14931. "type": "integer"
  14932. },
  14933. "qty": {
  14934. "description": "合同量",
  14935. "type": "number"
  14936. },
  14937. "reckonadjustamount": {
  14938. "description": "调整金额",
  14939. "type": "number"
  14940. },
  14941. "reckonedamount": {
  14942. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14943. "type": "number"
  14944. },
  14945. "reckonotheramount": {
  14946. "description": "其它费用",
  14947. "type": "number"
  14948. },
  14949. "reckonrealqty": {
  14950. "description": "已确定量",
  14951. "type": "number"
  14952. },
  14953. "remark": {
  14954. "description": "备注",
  14955. "type": "string"
  14956. },
  14957. "spotcontractid": {
  14958. "description": "合同ID",
  14959. "type": "string"
  14960. },
  14961. "spotgoodsbrandid": {
  14962. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14963. "type": "integer"
  14964. },
  14965. "spotgoodsdesc": {
  14966. "description": "商品型号(商品规格)",
  14967. "type": "string"
  14968. },
  14969. "startdate": {
  14970. "description": "点价开始日",
  14971. "type": "string"
  14972. },
  14973. "totalamount": {
  14974. "description": "合计总额",
  14975. "type": "number"
  14976. },
  14977. "unpayamount": {
  14978. "description": "应收付款额(应支付或应收款)",
  14979. "type": "number"
  14980. },
  14981. "unpricedqty": {
  14982. "description": "未定价量",
  14983. "type": "number"
  14984. },
  14985. "unsureqty": {
  14986. "description": "未确定量",
  14987. "type": "number"
  14988. },
  14989. "userid": {
  14990. "description": "机构ID",
  14991. "type": "integer"
  14992. },
  14993. "wrstandardcode": {
  14994. "description": "品类代码",
  14995. "type": "string"
  14996. },
  14997. "wrstandardid": {
  14998. "description": "品类ID",
  14999. "type": "integer"
  15000. },
  15001. "wrstandardname": {
  15002. "description": "品类名称",
  15003. "type": "string"
  15004. }
  15005. }
  15006. },
  15007. "models.Ermcp3SpotGoodsPrice": {
  15008. "type": "object",
  15009. "properties": {
  15010. "areauserid": {
  15011. "description": "所属机构id",
  15012. "type": "integer"
  15013. },
  15014. "brandname": {
  15015. "description": "品牌名称",
  15016. "type": "string"
  15017. },
  15018. "currencyid": {
  15019. "description": "报价货币ID",
  15020. "type": "integer"
  15021. },
  15022. "deliverygoodscode": {
  15023. "description": "现货商品代码",
  15024. "type": "string"
  15025. },
  15026. "deliverygoodsid": {
  15027. "description": "现货商品id",
  15028. "type": "integer"
  15029. },
  15030. "deliverygoodsname": {
  15031. "description": "现货商品名称",
  15032. "type": "string"
  15033. },
  15034. "enumdicname": {
  15035. "description": "现货商品单位名称",
  15036. "type": "string"
  15037. },
  15038. "gbenumdicname": {
  15039. "description": "品类单位名称",
  15040. "type": "string"
  15041. },
  15042. "gmunitid": {
  15043. "description": "品类单位id",
  15044. "type": "integer"
  15045. },
  15046. "isvalid": {
  15047. "description": "是否有效 - 0:无效 1:有效",
  15048. "type": "integer"
  15049. },
  15050. "operateid": {
  15051. "description": "最后操作人",
  15052. "type": "integer"
  15053. },
  15054. "operatesrc": {
  15055. "description": "最后操作来源 - 1:管理端 2:终端",
  15056. "type": "integer"
  15057. },
  15058. "operatetime": {
  15059. "description": "最后操作时间",
  15060. "type": "string"
  15061. },
  15062. "operatorname": {
  15063. "description": "操作人名称",
  15064. "type": "string"
  15065. },
  15066. "spotgoodsbrandid": {
  15067. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15068. "type": "integer"
  15069. },
  15070. "spotgoodsprice": {
  15071. "description": "现货价格",
  15072. "type": "number"
  15073. },
  15074. "tradedate": {
  15075. "description": "交易日(yyyyMMdd)",
  15076. "type": "string"
  15077. },
  15078. "unitid": {
  15079. "description": "现货商品单位id",
  15080. "type": "integer"
  15081. },
  15082. "wrstandardcode": {
  15083. "description": "品类代码",
  15084. "type": "string"
  15085. },
  15086. "wrstandardid": {
  15087. "description": "现货品类ID(通用则为0)",
  15088. "type": "integer"
  15089. },
  15090. "wrstandardname": {
  15091. "description": "品类名称",
  15092. "type": "string"
  15093. }
  15094. }
  15095. },
  15096. "models.Ermcp3SpotGoodsPriceLog": {
  15097. "type": "object",
  15098. "properties": {
  15099. "areauserid": {
  15100. "description": "所属机构id",
  15101. "type": "integer"
  15102. },
  15103. "brandname": {
  15104. "description": "品牌名称",
  15105. "type": "string"
  15106. },
  15107. "currencyid": {
  15108. "description": "报价货币ID",
  15109. "type": "integer"
  15110. },
  15111. "deliverygoodscode": {
  15112. "description": "现货商品代码",
  15113. "type": "string"
  15114. },
  15115. "deliverygoodsid": {
  15116. "description": "现货商品id",
  15117. "type": "integer"
  15118. },
  15119. "deliverygoodsname": {
  15120. "description": "现货商品名称",
  15121. "type": "string"
  15122. },
  15123. "enumdicname": {
  15124. "description": "现货商品单位名称",
  15125. "type": "string"
  15126. },
  15127. "gbenumdicname": {
  15128. "description": "品类单位名称",
  15129. "type": "string"
  15130. },
  15131. "gmunitid": {
  15132. "description": "品类单位id",
  15133. "type": "integer"
  15134. },
  15135. "logid": {
  15136. "description": "日志id",
  15137. "type": "integer"
  15138. },
  15139. "operateid": {
  15140. "description": "最后操作人",
  15141. "type": "integer"
  15142. },
  15143. "operatesrc": {
  15144. "description": "最后操作来源 - 1:管理端 2:终端",
  15145. "type": "integer"
  15146. },
  15147. "operatetime": {
  15148. "description": "最后操作时间",
  15149. "type": "string"
  15150. },
  15151. "operatorname": {
  15152. "description": "操作人名称",
  15153. "type": "string"
  15154. },
  15155. "spotgoodsbrandid": {
  15156. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15157. "type": "integer"
  15158. },
  15159. "spotgoodsprice": {
  15160. "description": "现货价格",
  15161. "type": "number"
  15162. },
  15163. "tradedate": {
  15164. "description": "交易日(yyyyMMdd)",
  15165. "type": "string"
  15166. },
  15167. "unitid": {
  15168. "description": "现货商品单位id",
  15169. "type": "integer"
  15170. },
  15171. "wrstandardcode": {
  15172. "description": "品类代码",
  15173. "type": "string"
  15174. },
  15175. "wrstandardid": {
  15176. "description": "现货品类ID(通用则为0)",
  15177. "type": "integer"
  15178. },
  15179. "wrstandardname": {
  15180. "description": "品类名称",
  15181. "type": "string"
  15182. }
  15183. }
  15184. },
  15185. "models.Ermcp3Wrstandard": {
  15186. "type": "object",
  15187. "properties": {
  15188. "areauserid": {
  15189. "description": "所属机构",
  15190. "type": "integer"
  15191. },
  15192. "convertfactor": {
  15193. "description": "标仓系数",
  15194. "type": "number"
  15195. },
  15196. "createtime": {
  15197. "description": "创建时间",
  15198. "type": "string"
  15199. },
  15200. "creatorid": {
  15201. "description": "创建人",
  15202. "type": "integer"
  15203. },
  15204. "deliverygoodsid": {
  15205. "description": "现货品种ID",
  15206. "type": "integer"
  15207. },
  15208. "enumdicname": {
  15209. "description": "品类单位名称",
  15210. "type": "string"
  15211. },
  15212. "isvalid": {
  15213. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15214. "type": "integer"
  15215. },
  15216. "minivalue": {
  15217. "description": "最小变动值",
  15218. "type": "integer"
  15219. },
  15220. "minivaluedp": {
  15221. "description": "最小变动值小数位",
  15222. "type": "integer"
  15223. },
  15224. "realminivalue": {
  15225. "description": "实际最小变动值",
  15226. "type": "integer"
  15227. },
  15228. "realminivaluedp": {
  15229. "description": "实际最小变动值小数位",
  15230. "type": "integer"
  15231. },
  15232. "remark": {
  15233. "description": "备注",
  15234. "type": "string"
  15235. },
  15236. "unitid": {
  15237. "description": "品类单位ID",
  15238. "type": "integer"
  15239. },
  15240. "updatetime": {
  15241. "description": "更新时间",
  15242. "type": "string"
  15243. },
  15244. "wrstandardcode": {
  15245. "description": "品类代码",
  15246. "type": "string"
  15247. },
  15248. "wrstandardid": {
  15249. "description": "品类ID(SEQ_WRSTANDARD)",
  15250. "type": "integer"
  15251. },
  15252. "wrstandardname": {
  15253. "description": "品类名称",
  15254. "type": "string"
  15255. }
  15256. }
  15257. },
  15258. "models.ErmcpAreaSpotDetailModel": {
  15259. "type": "object",
  15260. "properties": {
  15261. "contracttype": {
  15262. "description": "合同类型 1-采购 -1-销售",
  15263. "type": "integer"
  15264. },
  15265. "createtime": {
  15266. "description": "创建时间",
  15267. "type": "string"
  15268. },
  15269. "enumdicname": {
  15270. "description": "现货商品单位名称",
  15271. "type": "string"
  15272. },
  15273. "logtype": {
  15274. "description": "记录类型 1-套保 2-现货合同",
  15275. "type": "integer"
  15276. },
  15277. "qty": {
  15278. "description": "数量",
  15279. "type": "number"
  15280. },
  15281. "recordname": {
  15282. "description": "类型名称",
  15283. "type": "string"
  15284. },
  15285. "relatedid": {
  15286. "description": "套保计划ID/现货合同ID",
  15287. "type": "string"
  15288. },
  15289. "relatedno": {
  15290. "description": "编号",
  15291. "type": "string"
  15292. },
  15293. "strtime": {
  15294. "description": "时间",
  15295. "type": "string"
  15296. },
  15297. "wrstandardcode": {
  15298. "description": "现货商品代码",
  15299. "type": "string"
  15300. },
  15301. "wrstandardname": {
  15302. "description": "现货商品名称",
  15303. "type": "string"
  15304. }
  15305. }
  15306. },
  15307. "models.ErmcpAreaStock": {
  15308. "type": "object",
  15309. "properties": {
  15310. "brandname": {
  15311. "description": "品牌名称",
  15312. "type": "string"
  15313. },
  15314. "curstock": {
  15315. "description": "期末库存量(今日量)",
  15316. "type": "number"
  15317. },
  15318. "deliverygoodsid": {
  15319. "description": "现货品种ID",
  15320. "type": "integer"
  15321. },
  15322. "enumdicname": {
  15323. "description": "单位名称",
  15324. "type": "string"
  15325. },
  15326. "modelname": {
  15327. "description": "型号名称",
  15328. "type": "string"
  15329. },
  15330. "oristock": {
  15331. "description": "期初库存量(昨日量)",
  15332. "type": "number"
  15333. },
  15334. "spotgoodsbrandid": {
  15335. "description": "现货品牌ID",
  15336. "type": "integer"
  15337. },
  15338. "spotgoodsmodelid": {
  15339. "description": "现货型号ID",
  15340. "type": "integer"
  15341. },
  15342. "todaybuyinqty": {
  15343. "description": "今日采购入库量",
  15344. "type": "number"
  15345. },
  15346. "todayproduceinqty": {
  15347. "description": "今日生产入库量",
  15348. "type": "number"
  15349. },
  15350. "todayproduceoutqty": {
  15351. "description": "今日生产出库量",
  15352. "type": "number"
  15353. },
  15354. "todayselloutqty": {
  15355. "description": "今日销售出库量",
  15356. "type": "number"
  15357. },
  15358. "unitid": {
  15359. "description": "单位id",
  15360. "type": "integer"
  15361. },
  15362. "updatetime": {
  15363. "description": "更新时间",
  15364. "type": "string"
  15365. },
  15366. "userid": {
  15367. "description": "机构ID",
  15368. "type": "integer"
  15369. },
  15370. "username": {
  15371. "description": "机构名称",
  15372. "type": "string"
  15373. },
  15374. "warehousecode": {
  15375. "description": "仓库代码",
  15376. "type": "string"
  15377. },
  15378. "warehouseinfoid": {
  15379. "description": "仓库ID",
  15380. "type": "string"
  15381. },
  15382. "warehousename": {
  15383. "description": "仓库名称",
  15384. "type": "string"
  15385. },
  15386. "warehousetype": {
  15387. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15388. "type": "integer"
  15389. },
  15390. "wrstandardcode": {
  15391. "description": "现货商品代码",
  15392. "type": "string"
  15393. },
  15394. "wrstandardid": {
  15395. "description": "现货商品ID",
  15396. "type": "string"
  15397. },
  15398. "wrstandardname": {
  15399. "description": "现货商品名称",
  15400. "type": "string"
  15401. }
  15402. }
  15403. },
  15404. "models.ErmcpAreaStockApply": {
  15405. "type": "object",
  15406. "properties": {
  15407. "applyid": {
  15408. "description": "申请人",
  15409. "type": "integer"
  15410. },
  15411. "applyname": {
  15412. "description": "申请人名称",
  15413. "type": "string"
  15414. },
  15415. "applyremark": {
  15416. "description": "申请备注",
  15417. "type": "string"
  15418. },
  15419. "applysrc": {
  15420. "description": "申请来源 - 1:管理端 2:终端",
  15421. "type": "integer"
  15422. },
  15423. "applystatus": {
  15424. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15425. "type": "integer"
  15426. },
  15427. "applytime": {
  15428. "description": "申请时间",
  15429. "type": "string"
  15430. },
  15431. "auditid": {
  15432. "description": "审核人",
  15433. "type": "integer"
  15434. },
  15435. "auditname": {
  15436. "description": "审核人名称",
  15437. "type": "string"
  15438. },
  15439. "auditremark": {
  15440. "description": "审核备注",
  15441. "type": "string"
  15442. },
  15443. "auditsrc": {
  15444. "description": "审核来源 - 1:管理端 2:终端",
  15445. "type": "integer"
  15446. },
  15447. "audittime": {
  15448. "description": "审核时间",
  15449. "type": "string"
  15450. },
  15451. "audittradedate": {
  15452. "description": "审核交易日(yyyyMMdd)",
  15453. "type": "string"
  15454. },
  15455. "brandname": {
  15456. "description": "品牌名称",
  15457. "type": "string"
  15458. },
  15459. "buyuserid": {
  15460. "description": "采购方userid",
  15461. "type": "integer"
  15462. },
  15463. "buyusername": {
  15464. "description": "采购方名称",
  15465. "type": "string"
  15466. },
  15467. "contractno": {
  15468. "description": "合同编号",
  15469. "type": "string"
  15470. },
  15471. "contractqty": {
  15472. "description": "合同量",
  15473. "type": "number"
  15474. },
  15475. "contracttype": {
  15476. "description": "现货合同类型 - 1:采购 -1:销售",
  15477. "type": "integer"
  15478. },
  15479. "deliverygoodsid": {
  15480. "description": "现货品种ID",
  15481. "type": "integer"
  15482. },
  15483. "enumdicname": {
  15484. "description": "现货商品单位名称",
  15485. "type": "string"
  15486. },
  15487. "inoutapplyid": {
  15488. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15489. "type": "string"
  15490. },
  15491. "inouttype": {
  15492. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15493. "type": "integer"
  15494. },
  15495. "modelname": {
  15496. "description": "型号名称",
  15497. "type": "string"
  15498. },
  15499. "pricetype": {
  15500. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15501. "type": "integer"
  15502. },
  15503. "qty": {
  15504. "description": "数量",
  15505. "type": "number"
  15506. },
  15507. "selluserid": {
  15508. "description": "销售方userid",
  15509. "type": "integer"
  15510. },
  15511. "sellusername": {
  15512. "description": "销售方名称",
  15513. "type": "string"
  15514. },
  15515. "spotcontractid": {
  15516. "description": "关联现货合同ID",
  15517. "type": "string"
  15518. },
  15519. "spotgoodsbrandid": {
  15520. "description": "现货品牌ID",
  15521. "type": "integer"
  15522. },
  15523. "spotgoodsmodelid": {
  15524. "description": "现货型号ID",
  15525. "type": "integer"
  15526. },
  15527. "unitid": {
  15528. "description": "单位id",
  15529. "type": "integer"
  15530. },
  15531. "userid": {
  15532. "description": "机构ID",
  15533. "type": "integer"
  15534. },
  15535. "warehousecode": {
  15536. "description": "仓库代码",
  15537. "type": "string"
  15538. },
  15539. "warehouseinfoid": {
  15540. "description": "现货仓库ID",
  15541. "type": "string"
  15542. },
  15543. "warehousename": {
  15544. "description": "仓库名称",
  15545. "type": "string"
  15546. },
  15547. "warehousetype": {
  15548. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15549. "type": "integer"
  15550. },
  15551. "wrstandardcode": {
  15552. "description": "现货商品代码",
  15553. "type": "string"
  15554. },
  15555. "wrstandardid": {
  15556. "description": "现货商品ID",
  15557. "type": "string"
  15558. },
  15559. "wrstandardname": {
  15560. "description": "现货商品名称",
  15561. "type": "string"
  15562. }
  15563. }
  15564. },
  15565. "models.ErmcpAreaStockApplySum": {
  15566. "type": "object",
  15567. "properties": {
  15568. "brandname": {
  15569. "description": "品牌名称",
  15570. "type": "string"
  15571. },
  15572. "inouttype": {
  15573. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15574. "type": "integer"
  15575. },
  15576. "modelname": {
  15577. "description": "型号名称",
  15578. "type": "string"
  15579. },
  15580. "spotcontractid": {
  15581. "description": "关联现货合同ID",
  15582. "type": "string"
  15583. },
  15584. "spotgoodsbrandid": {
  15585. "description": "品牌id",
  15586. "type": "integer"
  15587. },
  15588. "spotgoodsmodelid": {
  15589. "description": "型号id",
  15590. "type": "integer"
  15591. },
  15592. "totalqty": {
  15593. "description": "总数量",
  15594. "type": "number"
  15595. }
  15596. }
  15597. },
  15598. "models.ErmcpAreaStockReport": {
  15599. "type": "object",
  15600. "properties": {
  15601. "brandname": {
  15602. "description": "品牌名称",
  15603. "type": "string"
  15604. },
  15605. "curstock": {
  15606. "description": "期末库存量",
  15607. "type": "number"
  15608. },
  15609. "deliverygoodsid": {
  15610. "description": "现货品种ID",
  15611. "type": "integer"
  15612. },
  15613. "enumdicname": {
  15614. "description": "单位名称",
  15615. "type": "string"
  15616. },
  15617. "modelname": {
  15618. "description": "型号名称",
  15619. "type": "string"
  15620. },
  15621. "oristock": {
  15622. "description": "期初库存量",
  15623. "type": "number"
  15624. },
  15625. "spotgoodsbrandid": {
  15626. "description": "现货品牌ID",
  15627. "type": "integer"
  15628. },
  15629. "spotgoodsmodelid": {
  15630. "description": "现货型号ID",
  15631. "type": "integer"
  15632. },
  15633. "todaybuyinqty": {
  15634. "description": "今日采购入库量",
  15635. "type": "number"
  15636. },
  15637. "todayproduceinqty": {
  15638. "description": "今日生产入库量",
  15639. "type": "number"
  15640. },
  15641. "todayproduceoutqty": {
  15642. "description": "今日生产出库量",
  15643. "type": "number"
  15644. },
  15645. "todayselloutqty": {
  15646. "description": "今日销售出库量",
  15647. "type": "number"
  15648. },
  15649. "unitid": {
  15650. "description": "单位id",
  15651. "type": "integer"
  15652. },
  15653. "updatetime": {
  15654. "description": "更新时间",
  15655. "type": "string"
  15656. },
  15657. "userid": {
  15658. "description": "机构ID",
  15659. "type": "integer"
  15660. },
  15661. "username": {
  15662. "description": "机构名称",
  15663. "type": "string"
  15664. },
  15665. "warehousecode": {
  15666. "description": "仓库代码",
  15667. "type": "string"
  15668. },
  15669. "warehouseinfoid": {
  15670. "description": "仓库ID",
  15671. "type": "string"
  15672. },
  15673. "warehousename": {
  15674. "description": "仓库名称",
  15675. "type": "string"
  15676. },
  15677. "warehousetype": {
  15678. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15679. "type": "integer"
  15680. },
  15681. "wrstandardcode": {
  15682. "description": "现货商品代码",
  15683. "type": "string"
  15684. },
  15685. "wrstandardid": {
  15686. "description": "现货商品ID",
  15687. "type": "string"
  15688. },
  15689. "wrstandardname": {
  15690. "description": "现货商品名称",
  15691. "type": "string"
  15692. }
  15693. }
  15694. },
  15695. "models.ErmcpAvalidGoodsGroupModel": {
  15696. "type": "object",
  15697. "properties": {
  15698. "goodsgroupid": {
  15699. "description": "期货品种id",
  15700. "type": "integer"
  15701. },
  15702. "goodsgroupname": {
  15703. "description": "期货品种名称",
  15704. "type": "string"
  15705. },
  15706. "goodunitid": {
  15707. "description": "品种单位id",
  15708. "type": "integer"
  15709. },
  15710. "goodunitname": {
  15711. "description": "品种单位名称",
  15712. "type": "string"
  15713. },
  15714. "outergroupcode": {
  15715. "description": "期货品种代码",
  15716. "type": "string"
  15717. }
  15718. }
  15719. },
  15720. "models.ErmcpBizGroupEx": {
  15721. "type": "object",
  15722. "properties": {
  15723. "acclist": {
  15724. "description": "账号列表",
  15725. "type": "array",
  15726. "items": {
  15727. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15728. }
  15729. },
  15730. "bizgroupid": {
  15731. "description": "业务分组id",
  15732. "type": "integer"
  15733. },
  15734. "biztype": {
  15735. "description": "业务类型 1-套保 2-套利",
  15736. "type": "integer"
  15737. },
  15738. "wrlist": {
  15739. "description": "现货商品表",
  15740. "type": "array",
  15741. "items": {
  15742. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15743. }
  15744. }
  15745. }
  15746. },
  15747. "models.ErmcpBizGroupSpotGoods": {
  15748. "type": "object",
  15749. "properties": {
  15750. "areauserid": {
  15751. "description": "所属机构id",
  15752. "type": "integer"
  15753. },
  15754. "bizgroupid": {
  15755. "description": "分组id",
  15756. "type": "integer"
  15757. },
  15758. "biztype": {
  15759. "description": "业务类型 1-套保 2-套利",
  15760. "type": "integer"
  15761. },
  15762. "deliverygoodscode": {
  15763. "description": "现货商品代码",
  15764. "type": "string"
  15765. },
  15766. "deliverygoodsid": {
  15767. "description": "现货商品id",
  15768. "type": "integer"
  15769. },
  15770. "deliverygoodsname": {
  15771. "description": "现货商品名称",
  15772. "type": "string"
  15773. },
  15774. "unitid": {
  15775. "description": "现货商品单位id",
  15776. "type": "integer"
  15777. }
  15778. }
  15779. },
  15780. "models.ErmcpBizGroupTaAccount": {
  15781. "type": "object",
  15782. "properties": {
  15783. "accountid": {
  15784. "description": "账号id",
  15785. "type": "string"
  15786. },
  15787. "accountname": {
  15788. "description": "账号名称",
  15789. "type": "string"
  15790. },
  15791. "areauserid": {
  15792. "description": "所属机构id",
  15793. "type": "integer"
  15794. },
  15795. "bizgroupid": {
  15796. "description": "业务分组id",
  15797. "type": "integer"
  15798. },
  15799. "ismain": {
  15800. "description": "是否主账号 1-是 0-否",
  15801. "type": "integer"
  15802. }
  15803. }
  15804. },
  15805. "models.ErmcpDGFactoryItem": {
  15806. "type": "object",
  15807. "properties": {
  15808. "areauserid": {
  15809. "description": "用户id",
  15810. "type": "integer"
  15811. },
  15812. "deliverygoodsid": {
  15813. "description": "现货品种ID",
  15814. "type": "integer"
  15815. },
  15816. "dgfactoryitemid": {
  15817. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15818. "type": "integer"
  15819. },
  15820. "dgfactoryitemtypeid": {
  15821. "description": "要素项类型",
  15822. "type": "integer"
  15823. },
  15824. "dgfactoryitemvalue": {
  15825. "description": "要素项值(类型为仓库时填写仓库名称)",
  15826. "type": "string"
  15827. },
  15828. "isvalid": {
  15829. "description": "是否有效 - 0:无效 1:有效",
  15830. "type": "integer"
  15831. },
  15832. "orderindex": {
  15833. "description": "顺序",
  15834. "type": "integer"
  15835. },
  15836. "warehouseid": {
  15837. "description": "仓库ID(类型为仓库时填写)",
  15838. "type": "integer"
  15839. }
  15840. }
  15841. },
  15842. "models.ErmcpDeliveryGoods": {
  15843. "type": "object",
  15844. "properties": {
  15845. "agreeunit": {
  15846. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15847. "type": "integer"
  15848. },
  15849. "areauserid": {
  15850. "description": "所属机构",
  15851. "type": "integer"
  15852. },
  15853. "auditflag": {
  15854. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15855. "type": "integer"
  15856. },
  15857. "categoryid": {
  15858. "description": "类别ID(SEQ_WRCATEGORY)",
  15859. "type": "integer"
  15860. },
  15861. "deliverygoodscode": {
  15862. "description": "现货品种代码",
  15863. "type": "string"
  15864. },
  15865. "deliverygoodsid": {
  15866. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15867. "type": "integer"
  15868. },
  15869. "deliverygoodsname": {
  15870. "description": "现货品种名称",
  15871. "type": "string"
  15872. },
  15873. "deliverygoodstype": {
  15874. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15875. "type": "integer"
  15876. },
  15877. "dgstatus": {
  15878. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15879. "type": "integer"
  15880. },
  15881. "enumdicname": {
  15882. "description": "现货品种单位名称",
  15883. "type": "string"
  15884. },
  15885. "goodsunitid": {
  15886. "description": "现货品种单位ID",
  15887. "type": "integer"
  15888. },
  15889. "isvalid": {
  15890. "description": "是否有效 - 0:无效 1:有效",
  15891. "type": "integer"
  15892. },
  15893. "qtydecimalplace": {
  15894. "description": "成交量小数位",
  15895. "type": "integer"
  15896. },
  15897. "remark": {
  15898. "description": "备注",
  15899. "type": "string"
  15900. },
  15901. "standardqty": {
  15902. "description": "标准数量(库位数量) [标准品特有]",
  15903. "type": "integer"
  15904. },
  15905. "standardqtyrange": {
  15906. "description": "标准数量偏差范围 [标准品特有]",
  15907. "type": "integer"
  15908. }
  15909. }
  15910. },
  15911. "models.ErmcpDeliveryGoodsDetail": {
  15912. "type": "object",
  15913. "properties": {
  15914. "data": {
  15915. "description": "现货商品基本信息(交割品种)",
  15916. "type": "object",
  15917. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15918. },
  15919. "gblist": {
  15920. "description": "品牌列表",
  15921. "type": "array",
  15922. "items": {
  15923. "$ref": "#/definitions/models.Ermcp3Brand"
  15924. }
  15925. },
  15926. "gmlist": {
  15927. "description": "品类列表(仓单标准)",
  15928. "type": "array",
  15929. "items": {
  15930. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15931. }
  15932. }
  15933. }
  15934. },
  15935. "models.ErmcpDeliveryGoodsDetailEx": {
  15936. "type": "object",
  15937. "properties": {
  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. "mgList": {
  15958. "description": "套保列表",
  15959. "type": "array",
  15960. "items": {
  15961. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail"
  15962. }
  15963. }
  15964. }
  15965. },
  15966. "models.ErmcpExposureDetailModel": {
  15967. "type": "object",
  15968. "properties": {
  15969. "areauserid": {
  15970. "description": "机构ID",
  15971. "type": "integer"
  15972. },
  15973. "changeQty": {
  15974. "description": "套保变动量",
  15975. "type": "number"
  15976. },
  15977. "contracttype": {
  15978. "description": "现货合同类型 - 1:采购 -1:销售",
  15979. "type": "integer"
  15980. },
  15981. "convertfactor": {
  15982. "description": "标仓系数",
  15983. "type": "number"
  15984. },
  15985. "convertratio": {
  15986. "description": "套保系数",
  15987. "type": "number"
  15988. },
  15989. "createtime": {
  15990. "description": "时间",
  15991. "type": "string"
  15992. },
  15993. "enumdicname": {
  15994. "description": "现货商品单位名称",
  15995. "type": "string"
  15996. },
  15997. "logtype": {
  15998. "description": "类型 - 1:套保计划 2:现货合同",
  15999. "type": "integer"
  16000. },
  16001. "middlegoodsId": {
  16002. "description": "套保商品id",
  16003. "type": "integer"
  16004. },
  16005. "middlegoodscode": {
  16006. "description": "套保商品代码",
  16007. "type": "string"
  16008. },
  16009. "middlegoodsname": {
  16010. "description": "套保商品名称",
  16011. "type": "string"
  16012. },
  16013. "qty": {
  16014. "description": "数量",
  16015. "type": "number"
  16016. },
  16017. "relateNo": {
  16018. "description": "现货合同/套保计划编号",
  16019. "type": "string"
  16020. },
  16021. "wrstandardcode": {
  16022. "description": "现货商品代码",
  16023. "type": "string"
  16024. },
  16025. "wrstandardid": {
  16026. "description": "现货商品ID",
  16027. "type": "integer"
  16028. },
  16029. "wrstandardname": {
  16030. "description": "现货商品名称",
  16031. "type": "string"
  16032. }
  16033. }
  16034. },
  16035. "models.ErmcpExposurePostion": {
  16036. "type": "object",
  16037. "properties": {
  16038. "agreeunit": {
  16039. "description": "合约单位",
  16040. "type": "string"
  16041. },
  16042. "areauserid": {
  16043. "description": "所属机构id",
  16044. "type": "integer"
  16045. },
  16046. "convertratio": {
  16047. "description": "期货品种系数(折算系数)",
  16048. "type": "number"
  16049. },
  16050. "curqty": {
  16051. "description": "当前持仓",
  16052. "type": "integer"
  16053. },
  16054. "diffhedgeqty": {
  16055. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16056. "type": "number"
  16057. },
  16058. "diffqty": {
  16059. "description": "持仓变动量=当前持仓-昨日持仓",
  16060. "type": "integer"
  16061. },
  16062. "goodscode": {
  16063. "description": "商品代码",
  16064. "type": "string"
  16065. },
  16066. "goodsid": {
  16067. "description": "商品id",
  16068. "type": "integer"
  16069. },
  16070. "goodsname": {
  16071. "description": "商品名称",
  16072. "type": "string"
  16073. },
  16074. "middlegoodsid": {
  16075. "description": "套保商品id",
  16076. "type": "integer"
  16077. },
  16078. "ydqty": {
  16079. "description": "昨日持仓",
  16080. "type": "integer"
  16081. }
  16082. }
  16083. },
  16084. "models.ErmcpFuturesCompany": {
  16085. "type": "object",
  16086. "properties": {
  16087. "brokerid": {
  16088. "description": "经纪公司代码",
  16089. "type": "string"
  16090. },
  16091. "channeladdress": {
  16092. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16093. "type": "string"
  16094. },
  16095. "channelid": {
  16096. "description": "对冲渠道ID",
  16097. "type": "string"
  16098. },
  16099. "createtime": {
  16100. "description": "创建时间",
  16101. "type": "string"
  16102. },
  16103. "creatorid": {
  16104. "description": "创建人",
  16105. "type": "string"
  16106. },
  16107. "fcid": {
  16108. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16109. "type": "integer"
  16110. },
  16111. "fcname": {
  16112. "description": "期货公司名称",
  16113. "type": "string"
  16114. },
  16115. "isvalid": {
  16116. "description": "是否有效 - 0:无效 1:有效",
  16117. "type": "integer"
  16118. },
  16119. "mhpaddress": {
  16120. "description": "MHP服务地址(IP:Port)",
  16121. "type": "string"
  16122. },
  16123. "riskrulegroupid": {
  16124. "description": "风控规则组ID",
  16125. "type": "string"
  16126. },
  16127. "tradefeetmpid": {
  16128. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16129. "type": "string"
  16130. },
  16131. "trademargintmpid": {
  16132. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16133. "type": "string"
  16134. },
  16135. "traderatetmpid": {
  16136. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16137. "type": "string"
  16138. },
  16139. "updatetime": {
  16140. "description": "更新时间",
  16141. "type": "string"
  16142. },
  16143. "updatorid": {
  16144. "description": "更新人",
  16145. "type": "string"
  16146. }
  16147. }
  16148. },
  16149. "models.ErmcpGGConvertCfg": {
  16150. "type": "object",
  16151. "properties": {
  16152. "convertratio": {
  16153. "description": "折算系数",
  16154. "type": "number"
  16155. },
  16156. "destgoodsgroupid": {
  16157. "description": "目标品种ID",
  16158. "type": "integer"
  16159. },
  16160. "dstcode": {
  16161. "description": "目录品种代码",
  16162. "type": "string"
  16163. },
  16164. "dstexchangecode": {
  16165. "description": "目标期货交易所",
  16166. "type": "string"
  16167. },
  16168. "dstname": {
  16169. "description": "目标品种名称",
  16170. "type": "string"
  16171. },
  16172. "dstunitid": {
  16173. "description": "目标品种单位ID",
  16174. "type": "integer"
  16175. },
  16176. "dstunitidname": {
  16177. "description": "目标品种单位名称",
  16178. "type": "string"
  16179. },
  16180. "modifytime": {
  16181. "description": "修改时间",
  16182. "type": "string"
  16183. },
  16184. "srccode": {
  16185. "description": "源品种代码",
  16186. "type": "string"
  16187. },
  16188. "srcexchangecode": {
  16189. "description": "源期货交易所",
  16190. "type": "string"
  16191. },
  16192. "srcgoodsgroupid": {
  16193. "description": "源品种ID",
  16194. "type": "integer"
  16195. },
  16196. "srcname": {
  16197. "description": "源品种名称",
  16198. "type": "string"
  16199. },
  16200. "srcunitid": {
  16201. "description": "源品种单位ID",
  16202. "type": "integer"
  16203. },
  16204. "srcunitidname": {
  16205. "description": "源品种单位名称",
  16206. "type": "string"
  16207. }
  16208. }
  16209. },
  16210. "models.ErmcpGoodsBrand": {
  16211. "type": "object",
  16212. "properties": {
  16213. "areauserid": {
  16214. "description": "所属机构",
  16215. "type": "integer"
  16216. },
  16217. "brandid": {
  16218. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16219. "type": "integer"
  16220. },
  16221. "brandname": {
  16222. "description": "品牌名称",
  16223. "type": "string"
  16224. },
  16225. "createtime": {
  16226. "description": "创建时间",
  16227. "type": "string"
  16228. },
  16229. "creatorid": {
  16230. "description": "创建人",
  16231. "type": "integer"
  16232. },
  16233. "creatorsrc": {
  16234. "description": "创建人来源 - 1:管理端 2:终端",
  16235. "type": "integer"
  16236. },
  16237. "deliverygoodsid": {
  16238. "description": "现货品种ID",
  16239. "type": "integer"
  16240. },
  16241. "isvalid": {
  16242. "description": "是否有效 - 0:无效 1:有效",
  16243. "type": "integer"
  16244. },
  16245. "updatetime": {
  16246. "description": "更新时间",
  16247. "type": "string"
  16248. },
  16249. "updatorid": {
  16250. "description": "更新人",
  16251. "type": "integer"
  16252. },
  16253. "updatorsrc": {
  16254. "description": "更新人来源 - 1:管理端 2:终端",
  16255. "type": "integer"
  16256. },
  16257. "wrstandardid": {
  16258. "description": "现货商品ID",
  16259. "type": "integer"
  16260. }
  16261. }
  16262. },
  16263. "models.ErmcpGoodsModel": {
  16264. "type": "object",
  16265. "properties": {
  16266. "areauserid": {
  16267. "description": "所属机构",
  16268. "type": "integer"
  16269. },
  16270. "convertfactor": {
  16271. "description": "标仓系数",
  16272. "type": "number"
  16273. },
  16274. "createtime": {
  16275. "description": "创建时间",
  16276. "type": "string"
  16277. },
  16278. "creatorid": {
  16279. "description": "创建人",
  16280. "type": "integer"
  16281. },
  16282. "creatorsrc": {
  16283. "description": "创建人来源 - 1:管理端 2:终端",
  16284. "type": "integer"
  16285. },
  16286. "deliverygoodsid": {
  16287. "description": "现货品种ID",
  16288. "type": "integer"
  16289. },
  16290. "isvalid": {
  16291. "description": "是否有效 - 0:无效 1:有效",
  16292. "type": "integer"
  16293. },
  16294. "modelid": {
  16295. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16296. "type": "integer"
  16297. },
  16298. "modelname": {
  16299. "description": "型号名称",
  16300. "type": "string"
  16301. },
  16302. "updatetime": {
  16303. "description": "更新时间",
  16304. "type": "string"
  16305. },
  16306. "updatorid": {
  16307. "description": "更新人",
  16308. "type": "integer"
  16309. },
  16310. "updatorsrc": {
  16311. "description": "更新人来源 - 1:管理端 2:终端",
  16312. "type": "integer"
  16313. },
  16314. "wrstandardid": {
  16315. "description": "现货商品ID",
  16316. "type": "integer"
  16317. }
  16318. }
  16319. },
  16320. "models.ErmcpHedgePlan": {
  16321. "type": "object",
  16322. "properties": {
  16323. "areauserid": {
  16324. "description": "用户ID",
  16325. "type": "integer"
  16326. },
  16327. "audittime": {
  16328. "description": "审核时间",
  16329. "type": "string"
  16330. },
  16331. "contracttype": {
  16332. "description": "计划类型 - 1:采购 -1:销售",
  16333. "type": "integer"
  16334. },
  16335. "convertfactor": {
  16336. "description": "标仓系数",
  16337. "type": "number"
  16338. },
  16339. "createtime": {
  16340. "description": "创建时间",
  16341. "type": "string"
  16342. },
  16343. "deliverygoodsid": {
  16344. "description": "现货品种ID",
  16345. "type": "integer"
  16346. },
  16347. "deliverygoodsname": {
  16348. "description": "现货品种名称",
  16349. "type": "string"
  16350. },
  16351. "enumdicname": {
  16352. "description": "单位名称",
  16353. "type": "string"
  16354. },
  16355. "hedgeplanid": {
  16356. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16357. "type": "string"
  16358. },
  16359. "hedgeplanno": {
  16360. "description": "套保计划编号(名称)",
  16361. "type": "string"
  16362. },
  16363. "hedgeplanstatus": {
  16364. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16365. "type": "integer"
  16366. },
  16367. "planqty": {
  16368. "description": "计划数量",
  16369. "type": "number"
  16370. },
  16371. "plantime": {
  16372. "description": "计划时间",
  16373. "type": "string"
  16374. },
  16375. "producttype": {
  16376. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16377. "type": "integer"
  16378. },
  16379. "remark": {
  16380. "description": "备注",
  16381. "type": "string"
  16382. },
  16383. "spotgoodsdesc": {
  16384. "description": "商品型号",
  16385. "type": "string"
  16386. },
  16387. "unitid": {
  16388. "description": "单位id",
  16389. "type": "integer"
  16390. },
  16391. "updatetime": {
  16392. "description": "更新时间",
  16393. "type": "string"
  16394. },
  16395. "wrstandardid": {
  16396. "description": "现货商品ID",
  16397. "type": "integer"
  16398. },
  16399. "wrstandardname": {
  16400. "description": "现货商品名称",
  16401. "type": "string"
  16402. }
  16403. }
  16404. },
  16405. "models.ErmcpHedgePosition": {
  16406. "type": "object",
  16407. "properties": {
  16408. "accountid": {
  16409. "description": "资金账号[外部母账户]",
  16410. "type": "integer"
  16411. },
  16412. "curbuyposition": {
  16413. "description": "期末买头寸",
  16414. "type": "integer"
  16415. },
  16416. "cursellposition": {
  16417. "description": "期末卖头寸",
  16418. "type": "integer"
  16419. },
  16420. "curtdbuyposition": {
  16421. "description": "期末今日买头寸",
  16422. "type": "integer"
  16423. },
  16424. "curtdsellposition": {
  16425. "description": "期末今日卖头寸",
  16426. "type": "integer"
  16427. },
  16428. "curydbuyposition": {
  16429. "description": "期末上日买头寸",
  16430. "type": "integer"
  16431. },
  16432. "curydsellposition": {
  16433. "description": "期末上日卖头寸",
  16434. "type": "integer"
  16435. },
  16436. "decreaseqty": {
  16437. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16438. "type": "integer"
  16439. },
  16440. "fretdbuyposition": {
  16441. "description": "冻结今日买头寸",
  16442. "type": "integer"
  16443. },
  16444. "fretdsellposition": {
  16445. "description": "冻结今日卖头寸",
  16446. "type": "integer"
  16447. },
  16448. "freydbuyposition": {
  16449. "description": "冻结上日买头寸",
  16450. "type": "integer"
  16451. },
  16452. "freydsellposition": {
  16453. "description": "冻结上日卖头寸",
  16454. "type": "integer"
  16455. },
  16456. "goodscode": {
  16457. "description": "商品代码",
  16458. "type": "string"
  16459. },
  16460. "goodsid": {
  16461. "description": "商品id",
  16462. "type": "integer"
  16463. },
  16464. "goodsname": {
  16465. "description": "商品名称",
  16466. "type": "string"
  16467. },
  16468. "hedgeaccountcode": {
  16469. "description": "对冲账号",
  16470. "type": "string"
  16471. },
  16472. "hedgegoodsid": {
  16473. "description": "对冲合约ID",
  16474. "type": "integer"
  16475. },
  16476. "increaseqty": {
  16477. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16478. "type": "integer"
  16479. },
  16480. "marketid": {
  16481. "description": "市场ID",
  16482. "type": "integer"
  16483. },
  16484. "relateduserid": {
  16485. "description": "关联用户id",
  16486. "type": "integer"
  16487. },
  16488. "totalcurqty": {
  16489. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16490. "type": "integer"
  16491. },
  16492. "totalydqty": {
  16493. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16494. "type": "integer"
  16495. },
  16496. "tradedate": {
  16497. "description": "交易日(yyyyMMdd)",
  16498. "type": "string"
  16499. },
  16500. "ydbuyposition": {
  16501. "description": "期初买头寸",
  16502. "type": "integer"
  16503. },
  16504. "ydsellposition": {
  16505. "description": "期初卖头寸",
  16506. "type": "integer"
  16507. }
  16508. }
  16509. },
  16510. "models.ErmcpHedgePositionDetail": {
  16511. "type": "object",
  16512. "properties": {
  16513. "buyorsell": {
  16514. "description": "买卖方向 0-买 1-卖",
  16515. "type": "integer"
  16516. },
  16517. "channelbuildtype": {
  16518. "description": "开平方向 1-建仓 2-平仓",
  16519. "type": "integer"
  16520. },
  16521. "goodscode": {
  16522. "description": "商品代码",
  16523. "type": "string"
  16524. },
  16525. "goodsname": {
  16526. "description": "商品名称",
  16527. "type": "string"
  16528. },
  16529. "hedgegoodsid": {
  16530. "description": "商品id",
  16531. "type": "integer"
  16532. },
  16533. "tradeqty": {
  16534. "description": "数量(成交数量)",
  16535. "type": "integer"
  16536. },
  16537. "tradetime": {
  16538. "description": "时间(成交时间)",
  16539. "type": "string"
  16540. }
  16541. }
  16542. },
  16543. "models.ErmcpHisExposure": {
  16544. "type": "object",
  16545. "properties": {
  16546. "needhedgeexposoure": {
  16547. "description": "应套保敞口",
  16548. "type": "number"
  16549. },
  16550. "reckondate": {
  16551. "description": "日照时期(yyyyMMdd)",
  16552. "type": "string"
  16553. },
  16554. "totalexposure": {
  16555. "description": "总敞口",
  16556. "type": "number"
  16557. }
  16558. }
  16559. },
  16560. "models.ErmcpHisExposureS": {
  16561. "type": "object",
  16562. "properties": {
  16563. "data": {
  16564. "description": "历史敞口",
  16565. "type": "array",
  16566. "items": {
  16567. "$ref": "#/definitions/models.ErmcpHisExposure"
  16568. }
  16569. },
  16570. "enumdicname": {
  16571. "description": "单位名称",
  16572. "type": "string"
  16573. },
  16574. "middlegoodscode": {
  16575. "description": "套保品种代码",
  16576. "type": "string"
  16577. },
  16578. "middlegoodsid": {
  16579. "description": "套保品种ID",
  16580. "type": "integer"
  16581. },
  16582. "middlegoodsname": {
  16583. "description": "套保品种名称",
  16584. "type": "string"
  16585. }
  16586. }
  16587. },
  16588. "models.ErmcpLoginUser": {
  16589. "type": "object",
  16590. "properties": {
  16591. "accountname": {
  16592. "description": "用户名称",
  16593. "type": "string"
  16594. },
  16595. "clientroleid": {
  16596. "description": "角色id(usertype=2)",
  16597. "type": "integer"
  16598. },
  16599. "createtime": {
  16600. "description": "创建时间",
  16601. "type": "string"
  16602. },
  16603. "logincode": {
  16604. "description": "登录代码",
  16605. "type": "string"
  16606. },
  16607. "loginid": {
  16608. "description": "登录id(LOGINID)",
  16609. "type": "integer"
  16610. },
  16611. "loginstatus": {
  16612. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16613. "type": "integer"
  16614. },
  16615. "memberuserid": {
  16616. "description": "所属会员id",
  16617. "type": "integer"
  16618. },
  16619. "mobile": {
  16620. "description": "手机号",
  16621. "type": "string"
  16622. },
  16623. "modifytime": {
  16624. "description": "修改时间",
  16625. "type": "string"
  16626. },
  16627. "password": {
  16628. "description": "密码(不可解密)",
  16629. "type": "string"
  16630. },
  16631. "rolename": {
  16632. "description": "角色名称",
  16633. "type": "string"
  16634. },
  16635. "rolestatus": {
  16636. "description": "角色状态 1-启用 2-停用",
  16637. "type": "integer"
  16638. },
  16639. "roletype": {
  16640. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16641. "type": "string"
  16642. },
  16643. "userid": {
  16644. "description": "用户id",
  16645. "type": "integer"
  16646. },
  16647. "usertype": {
  16648. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16649. "type": "integer"
  16650. }
  16651. }
  16652. },
  16653. "models.ErmcpLoginUserEx": {
  16654. "type": "object",
  16655. "properties": {
  16656. "roleid": {
  16657. "description": "角色id",
  16658. "type": "integer"
  16659. },
  16660. "rolename": {
  16661. "description": "角色名称",
  16662. "type": "string"
  16663. },
  16664. "userlist": {
  16665. "description": "用户列表",
  16666. "type": "array",
  16667. "items": {
  16668. "$ref": "#/definitions/models.ErmcpLoginUser"
  16669. }
  16670. },
  16671. "usertype": {
  16672. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16673. "type": "integer"
  16674. }
  16675. }
  16676. },
  16677. "models.ErmcpMiddleGoodsChangeLog": {
  16678. "type": "object",
  16679. "properties": {
  16680. "aftervalue": {
  16681. "description": "变更后",
  16682. "type": "number"
  16683. },
  16684. "applyid": {
  16685. "description": "操作人",
  16686. "type": "integer"
  16687. },
  16688. "applyname": {
  16689. "description": "操作人名称",
  16690. "type": "string"
  16691. },
  16692. "applysrc": {
  16693. "description": "操作来源 - 1:管理端 2:终端",
  16694. "type": "integer"
  16695. },
  16696. "beforevalue": {
  16697. "description": "变更前",
  16698. "type": "number"
  16699. },
  16700. "changelogtype": {
  16701. "description": "变更流水类型 - 1:套保比率变更",
  16702. "type": "integer"
  16703. },
  16704. "handlestatus": {
  16705. "description": "处理状态",
  16706. "type": "integer"
  16707. },
  16708. "logdatetime": {
  16709. "description": "流水日期",
  16710. "type": "string"
  16711. },
  16712. "logid": {
  16713. "description": "流水ID",
  16714. "type": "integer"
  16715. },
  16716. "logremark": {
  16717. "description": "流水备注",
  16718. "type": "string"
  16719. },
  16720. "middlegoodsid": {
  16721. "description": "套保品种ID",
  16722. "type": "integer"
  16723. },
  16724. "tradedate": {
  16725. "description": "交易日(yyyyMMdd)",
  16726. "type": "string"
  16727. },
  16728. "updatetime": {
  16729. "description": "更新时间",
  16730. "type": "string"
  16731. }
  16732. }
  16733. },
  16734. "models.ErmcpMiddleGoodsDetail": {
  16735. "type": "object",
  16736. "properties": {
  16737. "cvList": {
  16738. "description": "期货品种折算列表",
  16739. "type": "array",
  16740. "items": {
  16741. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16742. }
  16743. },
  16744. "mg": {
  16745. "description": "套保品种基本信息",
  16746. "type": "object",
  16747. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16748. },
  16749. "wrcList": {
  16750. "description": "现货品种列表(现货商品折算配置)",
  16751. "type": "array",
  16752. "items": {
  16753. "$ref": "#/definitions/models.WRSConverTDetail"
  16754. }
  16755. }
  16756. }
  16757. },
  16758. "models.ErmcpMiddleGoodsModel": {
  16759. "type": "object",
  16760. "properties": {
  16761. "areauserid": {
  16762. "description": "机构用户ID",
  16763. "type": "integer"
  16764. },
  16765. "createtime": {
  16766. "description": "修改时间",
  16767. "type": "string"
  16768. },
  16769. "enumdicname": {
  16770. "description": "单位名称",
  16771. "type": "string"
  16772. },
  16773. "evaluateratio": {
  16774. "description": "估价系数",
  16775. "type": "number"
  16776. },
  16777. "goodsgroupid": {
  16778. "description": "关联期货品种ID",
  16779. "type": "integer"
  16780. },
  16781. "isvalid": {
  16782. "description": "状态 0-无效(停用) 1-有效(正常)",
  16783. "type": "integer"
  16784. },
  16785. "middlegoodscode": {
  16786. "description": "套保品种代码",
  16787. "type": "string"
  16788. },
  16789. "middlegoodsid": {
  16790. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16791. "type": "integer"
  16792. },
  16793. "middlegoodsname": {
  16794. "description": "套保品种名称",
  16795. "type": "string"
  16796. },
  16797. "modifytime": {
  16798. "description": "修改时间",
  16799. "type": "string"
  16800. },
  16801. "needhedgeratio": {
  16802. "description": "套保比率",
  16803. "type": "number"
  16804. },
  16805. "qtydecimalplace": {
  16806. "description": "数量小数位",
  16807. "type": "integer"
  16808. },
  16809. "relatedgoodsid": {
  16810. "description": "关联交易商品ID",
  16811. "type": "integer"
  16812. },
  16813. "relatedgoodstype": {
  16814. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16815. "type": "integer"
  16816. },
  16817. "remark": {
  16818. "description": "备注",
  16819. "type": "string"
  16820. }
  16821. }
  16822. },
  16823. "models.ErmcpModel": {
  16824. "type": "object",
  16825. "properties": {
  16826. "accountname": {
  16827. "description": "账户名称",
  16828. "type": "string"
  16829. },
  16830. "attachment": {
  16831. "description": "附件",
  16832. "type": "string"
  16833. },
  16834. "audittime": {
  16835. "description": "审核时间",
  16836. "type": "string"
  16837. },
  16838. "brandname": {
  16839. "description": "品牌名称",
  16840. "type": "string"
  16841. },
  16842. "contracctstatus": {
  16843. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16844. "type": "integer"
  16845. },
  16846. "contractmargin": {
  16847. "description": "合同保证金",
  16848. "type": "number"
  16849. },
  16850. "contractno": {
  16851. "description": "合同编号",
  16852. "type": "string"
  16853. },
  16854. "contracttype": {
  16855. "description": "合同类型 1-采购, -1-销售",
  16856. "type": "integer"
  16857. },
  16858. "convertfactor": {
  16859. "description": "标仓系数",
  16860. "type": "number"
  16861. },
  16862. "createtime": {
  16863. "description": "创建时间",
  16864. "type": "string"
  16865. },
  16866. "daikaiamount": {
  16867. "description": "应收(开)票额",
  16868. "type": "number"
  16869. },
  16870. "deliveryenddate": {
  16871. "description": "交割结束日",
  16872. "type": "string"
  16873. },
  16874. "deliverygoodscode": {
  16875. "description": "现货品种代码",
  16876. "type": "string"
  16877. },
  16878. "deliverygoodsid": {
  16879. "description": "现货商品ID",
  16880. "type": "integer"
  16881. },
  16882. "deliverygoodsname": {
  16883. "description": "现货品种名称",
  16884. "type": "string"
  16885. },
  16886. "deliverystartdate": {
  16887. "description": "交割开始日",
  16888. "type": "string"
  16889. },
  16890. "enddate": {
  16891. "description": "点价结束日",
  16892. "type": "string"
  16893. },
  16894. "enumdicname": {
  16895. "description": "单位名称",
  16896. "type": "string"
  16897. },
  16898. "goodscode": {
  16899. "description": "点价商品代码",
  16900. "type": "string"
  16901. },
  16902. "goodsid": {
  16903. "description": "点价商品ID",
  16904. "type": "integer"
  16905. },
  16906. "goodsname": {
  16907. "description": "点价商品名称",
  16908. "type": "string"
  16909. },
  16910. "invoiceamount": {
  16911. "description": "已开票额",
  16912. "type": "number"
  16913. },
  16914. "loanamount": {
  16915. "description": "贷款总额=已定价额+调整金额",
  16916. "type": "number"
  16917. },
  16918. "margin": {
  16919. "description": "保证金",
  16920. "type": "number"
  16921. },
  16922. "modelname": {
  16923. "description": "型号名称",
  16924. "type": "string"
  16925. },
  16926. "payamount": {
  16927. "description": "已收付额(收款或付款)",
  16928. "type": "number"
  16929. },
  16930. "preinvoiceamount": {
  16931. "description": "预收(开)票额",
  16932. "type": "number"
  16933. },
  16934. "prepayamount": {
  16935. "description": "预收付额",
  16936. "type": "number"
  16937. },
  16938. "price": {
  16939. "description": "价格",
  16940. "type": "number"
  16941. },
  16942. "pricedamount": {
  16943. "description": "已定价额",
  16944. "type": "number"
  16945. },
  16946. "pricedavg": {
  16947. "description": "已点均价",
  16948. "type": "number"
  16949. },
  16950. "pricedqty": {
  16951. "description": "已定价量",
  16952. "type": "number"
  16953. },
  16954. "pricemove": {
  16955. "description": "升贴水",
  16956. "type": "number"
  16957. },
  16958. "pricetype": {
  16959. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16960. "type": "integer"
  16961. },
  16962. "producttype": {
  16963. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16964. "type": "integer"
  16965. },
  16966. "qty": {
  16967. "description": "合同量",
  16968. "type": "number"
  16969. },
  16970. "reckonadjustamount": {
  16971. "description": "调整金额",
  16972. "type": "number"
  16973. },
  16974. "reckonedamount": {
  16975. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16976. "type": "number"
  16977. },
  16978. "reckonotheramount": {
  16979. "description": "其它费用",
  16980. "type": "number"
  16981. },
  16982. "reckonrealqty": {
  16983. "description": "已确定量",
  16984. "type": "number"
  16985. },
  16986. "remark": {
  16987. "description": "备注",
  16988. "type": "string"
  16989. },
  16990. "spotcontractid": {
  16991. "description": "合同ID",
  16992. "type": "string"
  16993. },
  16994. "spotgoodsbrandid": {
  16995. "description": "现货品牌ID",
  16996. "type": "integer"
  16997. },
  16998. "spotgoodsdesc": {
  16999. "description": "商品型号(商品规格)",
  17000. "type": "string"
  17001. },
  17002. "spotgoodsmodelid": {
  17003. "description": "现货型号ID",
  17004. "type": "integer"
  17005. },
  17006. "startdate": {
  17007. "description": "点价开始日",
  17008. "type": "string"
  17009. },
  17010. "totalamount": {
  17011. "description": "合计总额",
  17012. "type": "number"
  17013. },
  17014. "unpayamount": {
  17015. "description": "应收付款额(应支付或应收款)",
  17016. "type": "number"
  17017. },
  17018. "unpricedqty": {
  17019. "description": "未定价量",
  17020. "type": "number"
  17021. },
  17022. "unsureqty": {
  17023. "description": "未确定量",
  17024. "type": "number"
  17025. },
  17026. "userid": {
  17027. "description": "用户ID",
  17028. "type": "integer"
  17029. },
  17030. "wrstandardcode": {
  17031. "description": "现货商品代码",
  17032. "type": "string"
  17033. },
  17034. "wrstandardid": {
  17035. "description": "现货商品ID",
  17036. "type": "integer"
  17037. },
  17038. "wrstandardname": {
  17039. "description": "现货商品名称",
  17040. "type": "string"
  17041. }
  17042. }
  17043. },
  17044. "models.ErmcpOPLogModel": {
  17045. "type": "object",
  17046. "properties": {
  17047. "aftervalue": {
  17048. "description": "变更后",
  17049. "type": "number"
  17050. },
  17051. "applyid": {
  17052. "description": "操作人ID",
  17053. "type": "string"
  17054. },
  17055. "applyname": {
  17056. "description": "操作人名称",
  17057. "type": "string"
  17058. },
  17059. "beforevalue": {
  17060. "description": "变更前",
  17061. "type": "number"
  17062. },
  17063. "biztype": {
  17064. "description": "业务类型 - 1:套保计划 2:现货合同",
  17065. "type": "integer"
  17066. },
  17067. "contracttype": {
  17068. "description": "现货合同类型 - 1:采购 -1:销售",
  17069. "type": "integer"
  17070. },
  17071. "logvalue": {
  17072. "description": "数值",
  17073. "type": "number"
  17074. },
  17075. "operatelogtype": {
  17076. "description": "操作流水类型",
  17077. "type": "integer"
  17078. },
  17079. "operatelogtypedesc": {
  17080. "description": "操作流水类型名称",
  17081. "type": "string"
  17082. },
  17083. "relatedid": {
  17084. "description": "现货合同ID\\套保计划",
  17085. "type": "string"
  17086. },
  17087. "updatetime": {
  17088. "description": "更新时间",
  17089. "type": "string"
  17090. }
  17091. }
  17092. },
  17093. "models.ErmcpPendingAudit": {
  17094. "type": "object",
  17095. "properties": {
  17096. "areastockqty": {
  17097. "description": "待审核数量: 库存申请",
  17098. "type": "integer"
  17099. },
  17100. "businessdjqty": {
  17101. "description": "待审核数量: 点价",
  17102. "type": "integer"
  17103. },
  17104. "businessfpqty": {
  17105. "description": "待审核数量: 发票",
  17106. "type": "integer"
  17107. },
  17108. "businessjsqty": {
  17109. "description": "待审核数量: 结算",
  17110. "type": "integer"
  17111. },
  17112. "businesskxqty": {
  17113. "description": "待审核数量: 款项",
  17114. "type": "integer"
  17115. },
  17116. "hedgeplanqty": {
  17117. "description": "待审核数量: 套保计划",
  17118. "type": "integer"
  17119. },
  17120. "spotcontractqty": {
  17121. "description": "待审核数量: 现货合同",
  17122. "type": "integer"
  17123. },
  17124. "userqty": {
  17125. "description": "待审核数量: 用户",
  17126. "type": "integer"
  17127. }
  17128. }
  17129. },
  17130. "models.ErmcpRealExposureModel": {
  17131. "type": "object",
  17132. "properties": {
  17133. "AreaUserID": {
  17134. "description": "所属机构",
  17135. "type": "integer"
  17136. },
  17137. "BuyFutureQty": {
  17138. "description": "买入期货数量",
  17139. "type": "number"
  17140. },
  17141. "BuyPlanQty": {
  17142. "description": "采购计划数量",
  17143. "type": "number"
  17144. },
  17145. "BuyPricedQty": {
  17146. "description": "采购合同已定价数量",
  17147. "type": "number"
  17148. },
  17149. "MiddleGoodsCode": {
  17150. "description": "套保品种代码",
  17151. "type": "string"
  17152. },
  17153. "MiddleGoodsHedgeRatio": {
  17154. "description": "应套保比例",
  17155. "type": "number"
  17156. },
  17157. "MiddleGoodsID": {
  17158. "description": "套保品种",
  17159. "type": "integer"
  17160. },
  17161. "MiddleGoodsName": {
  17162. "description": "套保品种名称",
  17163. "type": "string"
  17164. },
  17165. "NeedHedgeExposoure": {
  17166. "description": "应套保敞口",
  17167. "type": "number"
  17168. },
  17169. "NeedHedgeRatio": {
  17170. "description": "应套保敞口比例",
  17171. "type": "number"
  17172. },
  17173. "OriBuyFutureQty": {
  17174. "description": "期初买入期货数量",
  17175. "type": "number"
  17176. },
  17177. "OriBuyPlanQty": {
  17178. "description": "期初采购计划数量",
  17179. "type": "number"
  17180. },
  17181. "OriBuyPricedQty": {
  17182. "description": "期初采购合同已定价数量",
  17183. "type": "number"
  17184. },
  17185. "OriSellFutureQty": {
  17186. "description": "期初卖出期货数量",
  17187. "type": "number"
  17188. },
  17189. "OriSellPlanQty": {
  17190. "description": "期初销售计划数量",
  17191. "type": "number"
  17192. },
  17193. "OriSellPricedQty": {
  17194. "description": "期初销售合同已定价数量",
  17195. "type": "number"
  17196. },
  17197. "SellFutureQty": {
  17198. "description": "卖出期货数量",
  17199. "type": "number"
  17200. },
  17201. "SellPlanQty": {
  17202. "description": "销售计划数量",
  17203. "type": "number"
  17204. },
  17205. "SellPricedQty": {
  17206. "description": "销售合同已定价数量",
  17207. "type": "number"
  17208. },
  17209. "TotalExposure": {
  17210. "description": "总敞口",
  17211. "type": "number"
  17212. },
  17213. "TotalFutureQty": {
  17214. "description": "期货数量",
  17215. "type": "number"
  17216. },
  17217. "TotalHedgeRatio": {
  17218. "description": "敞口比例",
  17219. "type": "number"
  17220. },
  17221. "TotalNeedHedgeQty": {
  17222. "description": "期货应套保量",
  17223. "type": "number"
  17224. },
  17225. "TotalSpotQty": {
  17226. "description": "现货数量",
  17227. "type": "number"
  17228. },
  17229. "diffFutuQty": {
  17230. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17231. "type": "number"
  17232. },
  17233. "diffSpotQty": {
  17234. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17235. "type": "number"
  17236. },
  17237. "enumdicname": {
  17238. "description": "单位名称",
  17239. "type": "string"
  17240. },
  17241. "oriTotalFutuQty": {
  17242. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17243. "type": "number"
  17244. },
  17245. "oriTotalSpotQty": {
  17246. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17247. "type": "number"
  17248. }
  17249. }
  17250. },
  17251. "models.ErmcpReportAreaSpotPL": {
  17252. "type": "object",
  17253. "properties": {
  17254. "actualpl": {
  17255. "description": "实际损益",
  17256. "type": "number"
  17257. },
  17258. "areauserid": {
  17259. "description": "所属机构",
  17260. "type": "integer"
  17261. },
  17262. "brandname": {
  17263. "description": "品牌名称",
  17264. "type": "string"
  17265. },
  17266. "curamount": {
  17267. "description": "期末额",
  17268. "type": "number"
  17269. },
  17270. "curaverageprice": {
  17271. "description": "期末均价",
  17272. "type": "number"
  17273. },
  17274. "curbuyamount": {
  17275. "description": "期末采购总额(采购额)",
  17276. "type": "number"
  17277. },
  17278. "curbuyqty": {
  17279. "description": "期末采购总量",
  17280. "type": "number"
  17281. },
  17282. "curmarketvalue": {
  17283. "description": "参考市值",
  17284. "type": "number"
  17285. },
  17286. "curqty": {
  17287. "description": "期末量",
  17288. "type": "number"
  17289. },
  17290. "cursellamount": {
  17291. "description": "期末销售总额(销售额)",
  17292. "type": "number"
  17293. },
  17294. "cursellqty": {
  17295. "description": "期末销售总量",
  17296. "type": "number"
  17297. },
  17298. "curspotprice": {
  17299. "description": "参考市价",
  17300. "type": "number"
  17301. },
  17302. "enumdicname": {
  17303. "description": "现货商品单位名称",
  17304. "type": "string"
  17305. },
  17306. "floatpl": {
  17307. "description": "浮动损益",
  17308. "type": "number"
  17309. },
  17310. "gbenumdicname": {
  17311. "description": "品类单位名称",
  17312. "type": "string"
  17313. },
  17314. "gbunitid": {
  17315. "description": "品类单位id",
  17316. "type": "integer"
  17317. },
  17318. "modelname": {
  17319. "description": "品类名称",
  17320. "type": "string"
  17321. },
  17322. "oriamount": {
  17323. "description": "期初额",
  17324. "type": "number"
  17325. },
  17326. "oriaverageprice": {
  17327. "description": "期初均价",
  17328. "type": "number"
  17329. },
  17330. "oribuyamount": {
  17331. "description": "期初采购总额",
  17332. "type": "number"
  17333. },
  17334. "oribuyqty": {
  17335. "description": "期初采购总量",
  17336. "type": "number"
  17337. },
  17338. "oriqty": {
  17339. "description": "期初量",
  17340. "type": "number"
  17341. },
  17342. "orisellamount": {
  17343. "description": "期初销售总额",
  17344. "type": "number"
  17345. },
  17346. "orisellqty": {
  17347. "description": "期初销售总量",
  17348. "type": "number"
  17349. },
  17350. "spotgoodsbrandid": {
  17351. "description": "现货品牌ID",
  17352. "type": "integer"
  17353. },
  17354. "spotgoodsmodelid": {
  17355. "description": "现货品类ID",
  17356. "type": "integer"
  17357. },
  17358. "todaybuyamount": {
  17359. "description": "今日采购额",
  17360. "type": "number"
  17361. },
  17362. "todaybuyaverageprice": {
  17363. "description": "今日采购均价(采购均价)",
  17364. "type": "number"
  17365. },
  17366. "todaybuyqty": {
  17367. "description": "今日采购量(采购增量)",
  17368. "type": "number"
  17369. },
  17370. "todaysellamount": {
  17371. "description": "今日销售额",
  17372. "type": "number"
  17373. },
  17374. "todaysellaverageprice": {
  17375. "description": "今日销售均价(销售均价)",
  17376. "type": "number"
  17377. },
  17378. "todaysellqty": {
  17379. "description": "今日销售量(销售增量)",
  17380. "type": "number"
  17381. },
  17382. "unitid": {
  17383. "description": "现货商品单位id",
  17384. "type": "integer"
  17385. },
  17386. "updatetime": {
  17387. "description": "更新时间",
  17388. "type": "string"
  17389. },
  17390. "wrstandardcode": {
  17391. "description": "现货商品代码",
  17392. "type": "string"
  17393. },
  17394. "wrstandardid": {
  17395. "description": "现货商品ID",
  17396. "type": "integer"
  17397. },
  17398. "wrstandardname": {
  17399. "description": "现货商品名称",
  17400. "type": "string"
  17401. }
  17402. }
  17403. },
  17404. "models.ErmcpReportDayExposure": {
  17405. "type": "object",
  17406. "properties": {
  17407. "areauserid": {
  17408. "description": "所属机构",
  17409. "type": "integer"
  17410. },
  17411. "buyfutureqty": {
  17412. "description": "买入期货数量",
  17413. "type": "number"
  17414. },
  17415. "buyplanqty": {
  17416. "description": "采购计划数量",
  17417. "type": "number"
  17418. },
  17419. "buypricedqty": {
  17420. "description": "采购合同已定价数量",
  17421. "type": "number"
  17422. },
  17423. "diffFutuQty": {
  17424. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17425. "type": "number"
  17426. },
  17427. "diffSpotQty": {
  17428. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17429. "type": "number"
  17430. },
  17431. "enumdicname": {
  17432. "description": "单位名称",
  17433. "type": "string"
  17434. },
  17435. "middlegoodscode": {
  17436. "description": "套保品种代码",
  17437. "type": "string"
  17438. },
  17439. "middlegoodshedgeratio": {
  17440. "description": "应套保比例",
  17441. "type": "number"
  17442. },
  17443. "middlegoodsid": {
  17444. "description": "套保品种ID",
  17445. "type": "integer"
  17446. },
  17447. "middlegoodsname": {
  17448. "description": "套保品种名称",
  17449. "type": "string"
  17450. },
  17451. "needhedgeexposoure": {
  17452. "description": "应套保敞口",
  17453. "type": "number"
  17454. },
  17455. "needhedgeratio": {
  17456. "description": "应套保敞口比例",
  17457. "type": "number"
  17458. },
  17459. "oriTotalFutuQty": {
  17460. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17461. "type": "number"
  17462. },
  17463. "oriTotalSpotQty": {
  17464. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17465. "type": "number"
  17466. },
  17467. "oribuyfutureqty": {
  17468. "description": "期初买入期货数量",
  17469. "type": "number"
  17470. },
  17471. "oribuyplanqty": {
  17472. "description": "期初采购计划数量",
  17473. "type": "number"
  17474. },
  17475. "oribuypricedqty": {
  17476. "description": "期初采购合同已定价数量",
  17477. "type": "number"
  17478. },
  17479. "orisellfutureqty": {
  17480. "description": "期初卖出期货数量",
  17481. "type": "number"
  17482. },
  17483. "orisellplanqty": {
  17484. "description": "期初销售计划数量",
  17485. "type": "number"
  17486. },
  17487. "orisellpricedqty": {
  17488. "description": "期初销售合同已定价数量",
  17489. "type": "number"
  17490. },
  17491. "reckondate": {
  17492. "description": "日照时期(yyyyMMdd)",
  17493. "type": "string"
  17494. },
  17495. "sellfutureqty": {
  17496. "description": "卖出期货数量",
  17497. "type": "number"
  17498. },
  17499. "sellplanqty": {
  17500. "description": "销售计划数量",
  17501. "type": "number"
  17502. },
  17503. "sellpricedqty": {
  17504. "description": "销售合同已定价数量",
  17505. "type": "number"
  17506. },
  17507. "totalexposure": {
  17508. "description": "总敞口",
  17509. "type": "number"
  17510. },
  17511. "totalfutureqty": {
  17512. "description": "期货数量",
  17513. "type": "number"
  17514. },
  17515. "totalhedgeratio": {
  17516. "description": "敞口比例",
  17517. "type": "number"
  17518. },
  17519. "totalneedhedgeqty": {
  17520. "description": "期货应套保量",
  17521. "type": "number"
  17522. },
  17523. "totalspotqty": {
  17524. "description": "现货数量",
  17525. "type": "number"
  17526. }
  17527. }
  17528. },
  17529. "models.ErmcpReportDayFR": {
  17530. "type": "object",
  17531. "properties": {
  17532. "areauserid": {
  17533. "description": "所属机构",
  17534. "type": "integer"
  17535. },
  17536. "collectinvoiceamount": {
  17537. "description": "今日开票金额",
  17538. "type": "number"
  17539. },
  17540. "collectinvoicecount": {
  17541. "description": "今日开票笔数",
  17542. "type": "integer"
  17543. },
  17544. "collectmoneyamount": {
  17545. "description": "今日收款金额",
  17546. "type": "number"
  17547. },
  17548. "collectmoneycount": {
  17549. "description": "今日收款笔数",
  17550. "type": "integer"
  17551. },
  17552. "payinvoiceamount": {
  17553. "description": "今日收票金额",
  17554. "type": "number"
  17555. },
  17556. "payinvoicecount": {
  17557. "description": "今日收票笔数",
  17558. "type": "integer"
  17559. },
  17560. "paymoneyamount": {
  17561. "description": "今日付款金额",
  17562. "type": "number"
  17563. },
  17564. "paymoneycount": {
  17565. "description": "今日付款笔数",
  17566. "type": "integer"
  17567. },
  17568. "reckondate": {
  17569. "description": "日照时期(yyyyMMdd)",
  17570. "type": "string"
  17571. },
  17572. "updatetime": {
  17573. "description": "更新时间",
  17574. "type": "string"
  17575. }
  17576. }
  17577. },
  17578. "models.ErmcpReportDaySpot": {
  17579. "type": "object",
  17580. "properties": {
  17581. "areauserid": {
  17582. "description": "所属机构T",
  17583. "type": "integer"
  17584. },
  17585. "buyinqty": {
  17586. "description": "采购入库量",
  17587. "type": "number"
  17588. },
  17589. "enumdicname": {
  17590. "description": "现货商品单位名称",
  17591. "type": "string"
  17592. },
  17593. "reckondate": {
  17594. "description": "日照时期(yyyyMMdd)",
  17595. "type": "string"
  17596. },
  17597. "selloutqty": {
  17598. "description": "销售出库量",
  17599. "type": "number"
  17600. },
  17601. "todaybuyreckonqty": {
  17602. "description": "采购确定量",
  17603. "type": "number"
  17604. },
  17605. "todaysellreckonqty": {
  17606. "description": "销售确定量",
  17607. "type": "number"
  17608. },
  17609. "totalbuypricedqty": {
  17610. "description": "采购定价量 = 期末 - 期初",
  17611. "type": "number"
  17612. },
  17613. "totalsellpricedqty": {
  17614. "description": "销售定价量 = 期末 - 期初",
  17615. "type": "number"
  17616. },
  17617. "wrstandardcode": {
  17618. "description": "现货商品代码",
  17619. "type": "string"
  17620. },
  17621. "wrstandardid": {
  17622. "description": "现货商品ID",
  17623. "type": "integer"
  17624. },
  17625. "wrstandardname": {
  17626. "description": "现货商品名称",
  17627. "type": "string"
  17628. }
  17629. }
  17630. },
  17631. "models.ErmcpReportMonSpot": {
  17632. "type": "object",
  17633. "properties": {
  17634. "areauserid": {
  17635. "description": "所属机构T",
  17636. "type": "integer"
  17637. },
  17638. "buyinqty": {
  17639. "description": "采购入库量",
  17640. "type": "number"
  17641. },
  17642. "cycletime": {
  17643. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17644. "type": "string"
  17645. },
  17646. "cycletype": {
  17647. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17648. "type": "integer"
  17649. },
  17650. "enumdicname": {
  17651. "description": "现货商品单位名称",
  17652. "type": "string"
  17653. },
  17654. "selloutqty": {
  17655. "description": "销售出库量",
  17656. "type": "number"
  17657. },
  17658. "todaybuyreckonqty": {
  17659. "description": "采购确定量",
  17660. "type": "number"
  17661. },
  17662. "todaysellreckonqty": {
  17663. "description": "销售确定量",
  17664. "type": "number"
  17665. },
  17666. "totalbuypricedqty": {
  17667. "description": "采购定价量 = 期末 - 期初",
  17668. "type": "number"
  17669. },
  17670. "totalsellpricedqty": {
  17671. "description": "销售定价量 = 期末 - 期初",
  17672. "type": "number"
  17673. },
  17674. "wrstandardcode": {
  17675. "description": "现货商品代码",
  17676. "type": "string"
  17677. },
  17678. "wrstandardid": {
  17679. "description": "现货商品ID",
  17680. "type": "integer"
  17681. },
  17682. "wrstandardname": {
  17683. "description": "现货商品名称",
  17684. "type": "string"
  17685. }
  17686. }
  17687. },
  17688. "models.ErmcpReportMonthFR": {
  17689. "type": "object",
  17690. "properties": {
  17691. "areauserid": {
  17692. "description": "所属机构【原值】",
  17693. "type": "integer"
  17694. },
  17695. "collectinvoiceamount": {
  17696. "description": "今日开票金额【汇总】",
  17697. "type": "number"
  17698. },
  17699. "collectinvoicecount": {
  17700. "description": "今日开票笔数【汇总】",
  17701. "type": "integer"
  17702. },
  17703. "collectmoneyamount": {
  17704. "description": "今日收款金额【汇总】",
  17705. "type": "number"
  17706. },
  17707. "collectmoneycount": {
  17708. "description": "今日收款笔数 【汇总】",
  17709. "type": "integer"
  17710. },
  17711. "cycletime": {
  17712. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17713. "type": "string"
  17714. },
  17715. "cycletype": {
  17716. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17717. "type": "integer"
  17718. },
  17719. "dayFr": {
  17720. "description": "日报表明细",
  17721. "type": "array",
  17722. "items": {
  17723. "$ref": "#/definitions/models.ErmcpReportDayFR"
  17724. }
  17725. },
  17726. "payinvoiceamount": {
  17727. "description": "今日收票金额【汇总】",
  17728. "type": "number"
  17729. },
  17730. "payinvoicecount": {
  17731. "description": "今日收票笔数【汇总】",
  17732. "type": "integer"
  17733. },
  17734. "paymoneyamount": {
  17735. "description": "今日付款金额【汇总】",
  17736. "type": "number"
  17737. },
  17738. "paymoneycount": {
  17739. "description": "今日付款笔数【汇总】",
  17740. "type": "integer"
  17741. },
  17742. "updatetime": {
  17743. "description": "更新时间",
  17744. "type": "string"
  17745. }
  17746. }
  17747. },
  17748. "models.ErmcpReportOPLog": {
  17749. "type": "object",
  17750. "properties": {
  17751. "applyid": {
  17752. "description": "操作人",
  17753. "type": "integer"
  17754. },
  17755. "applyname": {
  17756. "description": "操作人名称",
  17757. "type": "string"
  17758. },
  17759. "biztype": {
  17760. "description": "业务类型 - 1:套保计划 2:现货合同",
  17761. "type": "integer"
  17762. },
  17763. "brandname": {
  17764. "description": "品牌名称",
  17765. "type": "string"
  17766. },
  17767. "contracttype": {
  17768. "description": "现货合同类型 - 1:采购 -1:销售",
  17769. "type": "integer"
  17770. },
  17771. "enumdicName": {
  17772. "description": "单位名称",
  17773. "type": "string"
  17774. },
  17775. "logdatetime": {
  17776. "description": "流水日期(时间)",
  17777. "type": "string"
  17778. },
  17779. "logid": {
  17780. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  17781. "type": "string"
  17782. },
  17783. "logtypename": {
  17784. "description": "合同类型(名称)",
  17785. "type": "string"
  17786. },
  17787. "logvalue": {
  17788. "description": "数值",
  17789. "type": "string"
  17790. },
  17791. "modelname": {
  17792. "description": "型号名称",
  17793. "type": "string"
  17794. },
  17795. "operatelogtype": {
  17796. "description": "操作流水类型 -",
  17797. "type": "integer"
  17798. },
  17799. "optypename": {
  17800. "description": "流水类型名称",
  17801. "type": "string"
  17802. },
  17803. "relatedid": {
  17804. "description": "现货合同ID\\套保计划",
  17805. "type": "string"
  17806. },
  17807. "relatedno": {
  17808. "description": "合同编号",
  17809. "type": "string"
  17810. },
  17811. "tradedate": {
  17812. "description": "交易日(yyyyMMdd)",
  17813. "type": "string"
  17814. },
  17815. "userid": {
  17816. "description": "机构ID",
  17817. "type": "integer"
  17818. },
  17819. "wrstandardcode": {
  17820. "description": "现货商品代码",
  17821. "type": "string"
  17822. },
  17823. "wrstandardid": {
  17824. "description": "现货商品ID",
  17825. "type": "integer"
  17826. },
  17827. "wrstandardname": {
  17828. "description": "现货商品名称",
  17829. "type": "string"
  17830. }
  17831. }
  17832. },
  17833. "models.ErmcpRole": {
  17834. "type": "object",
  17835. "properties": {
  17836. "areauserid": {
  17837. "description": "所属机构",
  17838. "type": "integer"
  17839. },
  17840. "autoid": {
  17841. "description": "角色ID(自增ID)",
  17842. "type": "integer"
  17843. },
  17844. "modifierid": {
  17845. "description": "修改人(创建人)",
  17846. "type": "integer"
  17847. },
  17848. "modifiername": {
  17849. "description": "修改人名称",
  17850. "type": "string"
  17851. },
  17852. "modifytime": {
  17853. "description": "修改时间(创建时间)",
  17854. "type": "string"
  17855. },
  17856. "rolename": {
  17857. "description": "角色名称",
  17858. "type": "string"
  17859. },
  17860. "rolestatus": {
  17861. "description": "角色状态 - 1:启用 2:停用",
  17862. "type": "integer"
  17863. },
  17864. "roletype": {
  17865. "description": "角色类型 - 1- 管理端 2- 交易端",
  17866. "type": "integer"
  17867. }
  17868. }
  17869. },
  17870. "models.ErmcpRoleMenu": {
  17871. "type": "object",
  17872. "properties": {
  17873. "iconame": {
  17874. "description": "菜单图标",
  17875. "type": "string"
  17876. },
  17877. "menutype": {
  17878. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17879. "type": "integer"
  17880. },
  17881. "parentcode": {
  17882. "description": "上级资源代码",
  17883. "type": "string"
  17884. },
  17885. "remark": {
  17886. "description": "菜单备注",
  17887. "type": "string"
  17888. },
  17889. "resourcecode": {
  17890. "description": "菜单代码",
  17891. "type": "string"
  17892. },
  17893. "resourcelevel": {
  17894. "description": "级别",
  17895. "type": "integer"
  17896. },
  17897. "resourcename": {
  17898. "description": "菜单名称",
  17899. "type": "string"
  17900. },
  17901. "roleid": {
  17902. "description": "角色id",
  17903. "type": "integer"
  17904. },
  17905. "sort": {
  17906. "description": "排序",
  17907. "type": "integer"
  17908. },
  17909. "url": {
  17910. "description": "URL",
  17911. "type": "string"
  17912. },
  17913. "userid": {
  17914. "description": "用户id",
  17915. "type": "integer"
  17916. }
  17917. }
  17918. },
  17919. "models.ErmcpRoleMenuEx": {
  17920. "type": "object",
  17921. "properties": {
  17922. "menu": {
  17923. "description": "父级菜单",
  17924. "type": "object",
  17925. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17926. },
  17927. "subMenu": {
  17928. "description": "子级菜单",
  17929. "type": "array",
  17930. "items": {
  17931. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17932. }
  17933. }
  17934. }
  17935. },
  17936. "models.ErmcpSpotContractModel": {
  17937. "type": "object",
  17938. "properties": {
  17939. "amount": {
  17940. "description": "金额 [1:一口价、3:暂定价]",
  17941. "type": "number"
  17942. },
  17943. "attachment": {
  17944. "description": "附件",
  17945. "type": "string"
  17946. },
  17947. "auditremark": {
  17948. "description": "审核意见",
  17949. "type": "string"
  17950. },
  17951. "audittime": {
  17952. "description": "审核时间",
  17953. "type": "string"
  17954. },
  17955. "brandname": {
  17956. "description": "品牌名称",
  17957. "type": "string"
  17958. },
  17959. "buyuserid": {
  17960. "description": "采购方ID",
  17961. "type": "integer"
  17962. },
  17963. "buyusername": {
  17964. "description": "采购方名称",
  17965. "type": "string"
  17966. },
  17967. "contracctstatus": {
  17968. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17969. "type": "integer"
  17970. },
  17971. "contractmargin": {
  17972. "description": "合同保证金",
  17973. "type": "number"
  17974. },
  17975. "contractno": {
  17976. "description": "现货合同编号",
  17977. "type": "string"
  17978. },
  17979. "contracttype": {
  17980. "description": "现货合同类型 - 1:采购 -1:销售",
  17981. "type": "integer"
  17982. },
  17983. "convertfactor": {
  17984. "description": "标仓系数",
  17985. "type": "number"
  17986. },
  17987. "createtime": {
  17988. "description": "创建时间",
  17989. "type": "string"
  17990. },
  17991. "deliveryenddate": {
  17992. "description": "交收期(结束)",
  17993. "type": "string"
  17994. },
  17995. "deliverygoodscode": {
  17996. "description": "现货品种代码",
  17997. "type": "string"
  17998. },
  17999. "deliverygoodsid": {
  18000. "description": "现货品种ID",
  18001. "type": "integer"
  18002. },
  18003. "deliverygoodsname": {
  18004. "description": "现货品种名称",
  18005. "type": "string"
  18006. },
  18007. "deliverystartdate": {
  18008. "description": "交收期(开始)",
  18009. "type": "string"
  18010. },
  18011. "enddate": {
  18012. "description": "点价结束日期 [2:点价 3:暂定价]",
  18013. "type": "string"
  18014. },
  18015. "enumdicname": {
  18016. "description": "单位名称",
  18017. "type": "string"
  18018. },
  18019. "goodscode": {
  18020. "description": "点价合约代码",
  18021. "type": "string"
  18022. },
  18023. "goodsid": {
  18024. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18025. "type": "integer"
  18026. },
  18027. "goodsname": {
  18028. "description": "点价商品名称",
  18029. "type": "string"
  18030. },
  18031. "margin": {
  18032. "description": "当前保证金",
  18033. "type": "number"
  18034. },
  18035. "modelname": {
  18036. "description": "型号名称",
  18037. "type": "string"
  18038. },
  18039. "price": {
  18040. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18041. "type": "number"
  18042. },
  18043. "pricemove": {
  18044. "description": "升贴水 [2:点价 3:暂定价]",
  18045. "type": "number"
  18046. },
  18047. "pricetype": {
  18048. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18049. "type": "integer"
  18050. },
  18051. "producttype": {
  18052. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18053. "type": "integer"
  18054. },
  18055. "qty": {
  18056. "description": "数量",
  18057. "type": "number"
  18058. },
  18059. "remark": {
  18060. "description": "备注",
  18061. "type": "string"
  18062. },
  18063. "selluserid": {
  18064. "description": "销售方ID",
  18065. "type": "integer"
  18066. },
  18067. "sellusername": {
  18068. "description": "销售方名称",
  18069. "type": "string"
  18070. },
  18071. "spotcontractid": {
  18072. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18073. "type": "string"
  18074. },
  18075. "spotgoodsbrandid": {
  18076. "description": "现货品牌ID",
  18077. "type": "integer"
  18078. },
  18079. "spotgoodsdesc": {
  18080. "description": "商品型号",
  18081. "type": "string"
  18082. },
  18083. "spotgoodsmodelid": {
  18084. "description": "现货型号ID",
  18085. "type": "integer"
  18086. },
  18087. "startdate": {
  18088. "description": "点价开始日期 [2:点价 3:暂定价]",
  18089. "type": "string"
  18090. },
  18091. "updatetime": {
  18092. "description": "更新时间",
  18093. "type": "string"
  18094. },
  18095. "userid": {
  18096. "description": "机构ID",
  18097. "type": "integer"
  18098. },
  18099. "wrstandardcode": {
  18100. "description": "现货商品代码",
  18101. "type": "string"
  18102. },
  18103. "wrstandardid": {
  18104. "description": "现货商品ID",
  18105. "type": "integer"
  18106. },
  18107. "wrstandardname": {
  18108. "description": "现货商品名称",
  18109. "type": "string"
  18110. }
  18111. }
  18112. },
  18113. "models.ErmcpSpotGoodsPrice": {
  18114. "type": "object",
  18115. "properties": {
  18116. "areauserid": {
  18117. "description": "所属机构id",
  18118. "type": "integer"
  18119. },
  18120. "brandname": {
  18121. "description": "品牌名称",
  18122. "type": "string"
  18123. },
  18124. "currencyid": {
  18125. "description": "报价货币ID",
  18126. "type": "integer"
  18127. },
  18128. "enumdicname": {
  18129. "description": "现货商品单位名称",
  18130. "type": "string"
  18131. },
  18132. "gbenumdicname": {
  18133. "description": "品类单位名称",
  18134. "type": "string"
  18135. },
  18136. "gmunitid": {
  18137. "description": "品类单位id",
  18138. "type": "integer"
  18139. },
  18140. "isvalid": {
  18141. "description": "是否有效 - 0:无效 1:有效",
  18142. "type": "integer"
  18143. },
  18144. "modelname": {
  18145. "description": "品类名称",
  18146. "type": "string"
  18147. },
  18148. "operateid": {
  18149. "description": "最后操作人",
  18150. "type": "integer"
  18151. },
  18152. "operatesrc": {
  18153. "description": "最后操作来源 - 1:管理端 2:终端",
  18154. "type": "integer"
  18155. },
  18156. "operatetime": {
  18157. "description": "最后操作时间",
  18158. "type": "string"
  18159. },
  18160. "operatorname": {
  18161. "description": "操作人名称",
  18162. "type": "string"
  18163. },
  18164. "spotgoodsbrandid": {
  18165. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18166. "type": "integer"
  18167. },
  18168. "spotgoodsmodelid": {
  18169. "description": "现货品类ID(通用则为0)",
  18170. "type": "integer"
  18171. },
  18172. "spotgoodsprice": {
  18173. "description": "现货价格",
  18174. "type": "number"
  18175. },
  18176. "tradedate": {
  18177. "description": "交易日(yyyyMMdd)",
  18178. "type": "string"
  18179. },
  18180. "unitid": {
  18181. "description": "现货商品单位id",
  18182. "type": "integer"
  18183. },
  18184. "wrstandardcode": {
  18185. "description": "现货商品代码",
  18186. "type": "string"
  18187. },
  18188. "wrstandardid": {
  18189. "description": "现货商品ID",
  18190. "type": "integer"
  18191. },
  18192. "wrstandardname": {
  18193. "description": "现货商品名称",
  18194. "type": "string"
  18195. }
  18196. }
  18197. },
  18198. "models.ErmcpSpotGoodsPriceLog": {
  18199. "type": "object",
  18200. "properties": {
  18201. "areauserid": {
  18202. "description": "所属机构id",
  18203. "type": "integer"
  18204. },
  18205. "brandname": {
  18206. "description": "品牌名称",
  18207. "type": "string"
  18208. },
  18209. "currencyid": {
  18210. "description": "报价货币ID",
  18211. "type": "integer"
  18212. },
  18213. "enumdicname": {
  18214. "description": "现货商品单位名称",
  18215. "type": "string"
  18216. },
  18217. "gbenumdicname": {
  18218. "description": "品类单位名称",
  18219. "type": "string"
  18220. },
  18221. "gmunitid": {
  18222. "description": "品类单位id",
  18223. "type": "integer"
  18224. },
  18225. "logid": {
  18226. "description": "日志id",
  18227. "type": "integer"
  18228. },
  18229. "modelname": {
  18230. "description": "品类名称",
  18231. "type": "string"
  18232. },
  18233. "operateid": {
  18234. "description": "最后操作人",
  18235. "type": "integer"
  18236. },
  18237. "operatesrc": {
  18238. "description": "最后操作来源 - 1:管理端 2:终端",
  18239. "type": "integer"
  18240. },
  18241. "operatetime": {
  18242. "description": "最后操作时间",
  18243. "type": "string"
  18244. },
  18245. "operatorname": {
  18246. "description": "操作人名称",
  18247. "type": "string"
  18248. },
  18249. "spotgoodsbrandid": {
  18250. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18251. "type": "integer"
  18252. },
  18253. "spotgoodsmodelid": {
  18254. "description": "现货品类ID(通用则为0)",
  18255. "type": "integer"
  18256. },
  18257. "spotgoodsprice": {
  18258. "description": "现货价格",
  18259. "type": "number"
  18260. },
  18261. "tradedate": {
  18262. "description": "交易日(yyyyMMdd)",
  18263. "type": "string"
  18264. },
  18265. "unitid": {
  18266. "description": "现货商品单位id",
  18267. "type": "integer"
  18268. },
  18269. "wrstandardcode": {
  18270. "description": "现货商品代码",
  18271. "type": "string"
  18272. },
  18273. "wrstandardid": {
  18274. "description": "现货商品ID",
  18275. "type": "integer"
  18276. },
  18277. "wrstandardname": {
  18278. "description": "现货商品名称",
  18279. "type": "string"
  18280. }
  18281. }
  18282. },
  18283. "models.ErmcpTaAccount": {
  18284. "type": "object",
  18285. "properties": {
  18286. "accountid": {
  18287. "description": "账户id",
  18288. "type": "integer"
  18289. },
  18290. "accountname": {
  18291. "description": "账户名称",
  18292. "type": "string"
  18293. },
  18294. "currencyid": {
  18295. "description": "币种id",
  18296. "type": "integer"
  18297. },
  18298. "hedgeaccountcode": {
  18299. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18300. "type": "string"
  18301. },
  18302. "ismain": {
  18303. "description": "是否主账户 0-否 1-是",
  18304. "type": "integer"
  18305. },
  18306. "parentaccountid": {
  18307. "description": "父账户id",
  18308. "type": "integer"
  18309. },
  18310. "relateduserid": {
  18311. "description": "关联userid",
  18312. "type": "integer"
  18313. },
  18314. "tradestatus": {
  18315. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18316. "type": "integer"
  18317. }
  18318. }
  18319. },
  18320. "models.ErmcpTaAccountEx": {
  18321. "type": "object",
  18322. "properties": {
  18323. "mainAcc": {
  18324. "description": "主账号",
  18325. "type": "object",
  18326. "$ref": "#/definitions/models.ErmcpTaAccount"
  18327. },
  18328. "subacclist": {
  18329. "description": "子账号列表",
  18330. "type": "array",
  18331. "items": {
  18332. "$ref": "#/definitions/models.ErmcpTaAccount"
  18333. }
  18334. }
  18335. }
  18336. },
  18337. "models.ErmcpTaAccountInfo": {
  18338. "type": "object",
  18339. "properties": {
  18340. "accountid": {
  18341. "description": "资金账户ID",
  18342. "type": "integer"
  18343. },
  18344. "accountname": {
  18345. "description": "账户名称",
  18346. "type": "string"
  18347. },
  18348. "balance": {
  18349. "description": "期初余额",
  18350. "type": "number"
  18351. },
  18352. "capitalbalance": {
  18353. "description": "本金余额[外部子账户实际出入金余额]",
  18354. "type": "number"
  18355. },
  18356. "closepl": {
  18357. "description": "今日平仓盈亏",
  18358. "type": "number"
  18359. },
  18360. "creditdecrease": {
  18361. "description": "今日授信减少",
  18362. "type": "number"
  18363. },
  18364. "creditincrease": {
  18365. "description": "今日授信增加",
  18366. "type": "number"
  18367. },
  18368. "curdebt": {
  18369. "description": "期末欠款",
  18370. "type": "number"
  18371. },
  18372. "currencyid": {
  18373. "description": "货币ID",
  18374. "type": "integer"
  18375. },
  18376. "currentbalance": {
  18377. "description": "期末余额",
  18378. "type": "number"
  18379. },
  18380. "freezecharge": {
  18381. "description": "手续费冻结",
  18382. "type": "number"
  18383. },
  18384. "freezemargin": {
  18385. "description": "冻结保证金",
  18386. "type": "number"
  18387. },
  18388. "fromaccountid": {
  18389. "description": "所属上级账户",
  18390. "type": "integer"
  18391. },
  18392. "inamount": {
  18393. "description": "今日入金金额(包括三方入金)",
  18394. "type": "number"
  18395. },
  18396. "ismain": {
  18397. "description": "是否母账号 0:不是母账户 1:是母账户",
  18398. "type": "integer"
  18399. },
  18400. "mortgagecredit": {
  18401. "description": "授信金额",
  18402. "type": "number"
  18403. },
  18404. "oridebt": {
  18405. "description": "期初欠款",
  18406. "type": "number"
  18407. },
  18408. "orifreezecharge": {
  18409. "description": "期初手续费冻结",
  18410. "type": "number"
  18411. },
  18412. "orifreezemargin": {
  18413. "description": "期初冻结保证金",
  18414. "type": "number"
  18415. },
  18416. "orimortgagecredit": {
  18417. "description": "期初授信金额",
  18418. "type": "number"
  18419. },
  18420. "oriothercredit": {
  18421. "description": "期初其它授信金额",
  18422. "type": "number"
  18423. },
  18424. "oriotherfreezemargin": {
  18425. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18426. "type": "number"
  18427. },
  18428. "orioutamountfreeze": {
  18429. "description": "期初出金冻结",
  18430. "type": "number"
  18431. },
  18432. "oriusedmargin": {
  18433. "description": "期初占用保证金",
  18434. "type": "number"
  18435. },
  18436. "othercredit": {
  18437. "description": "其它授信金额",
  18438. "type": "number"
  18439. },
  18440. "othercreditdecrease": {
  18441. "description": "今日其它授信减少",
  18442. "type": "number"
  18443. },
  18444. "othercreditincrease": {
  18445. "description": "今日其它授信增加",
  18446. "type": "number"
  18447. },
  18448. "otherfreezemargin": {
  18449. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18450. "type": "number"
  18451. },
  18452. "outamount": {
  18453. "description": "今日出金金额(包括三方出金)",
  18454. "type": "number"
  18455. },
  18456. "outamountfreeze": {
  18457. "description": "出金冻结",
  18458. "type": "number"
  18459. },
  18460. "outthreshold": {
  18461. "description": "出金阈值",
  18462. "type": "number"
  18463. },
  18464. "parentaccountid": {
  18465. "description": "所属根账号",
  18466. "type": "integer"
  18467. },
  18468. "paycharge": {
  18469. "description": "今日手续费支出",
  18470. "type": "number"
  18471. },
  18472. "relateduserid": {
  18473. "description": "关联用户",
  18474. "type": "integer"
  18475. },
  18476. "signstatus": {
  18477. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18478. "type": "integer"
  18479. },
  18480. "sublevelpath": {
  18481. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18482. "type": "string"
  18483. },
  18484. "taaccounttype": {
  18485. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18486. "type": "integer"
  18487. },
  18488. "thirdinamount": {
  18489. "description": "今日三方入金",
  18490. "type": "number"
  18491. },
  18492. "thirdoutamount": {
  18493. "description": "今日三方出金",
  18494. "type": "number"
  18495. },
  18496. "tradestatus": {
  18497. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18498. "type": "integer"
  18499. },
  18500. "transferamount": {
  18501. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18502. "type": "number"
  18503. },
  18504. "usedmargin": {
  18505. "description": "占用保证金",
  18506. "type": "number"
  18507. },
  18508. "userid": {
  18509. "description": "用户ID",
  18510. "type": "integer"
  18511. }
  18512. }
  18513. },
  18514. "models.ErmcpTradeConfigTMP": {
  18515. "type": "object",
  18516. "properties": {
  18517. "areauserid": {
  18518. "description": "所属机构",
  18519. "type": "integer"
  18520. },
  18521. "basiccurrencyid": {
  18522. "description": "基本币种ID[汇率] - 目标币种",
  18523. "type": "integer"
  18524. },
  18525. "mainaccountid": {
  18526. "description": "主账户ID",
  18527. "type": "integer"
  18528. },
  18529. "modifierid": {
  18530. "description": "修改人",
  18531. "type": "integer"
  18532. },
  18533. "remark": {
  18534. "description": "备注",
  18535. "type": "string"
  18536. },
  18537. "tradeconfigtmpid": {
  18538. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18539. "type": "integer"
  18540. },
  18541. "tradeconfigtmpname": {
  18542. "description": "交易配置模板名称",
  18543. "type": "string"
  18544. },
  18545. "tradeconfigtmptype": {
  18546. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18547. "type": "integer"
  18548. },
  18549. "updatetime": {
  18550. "description": "更新时间",
  18551. "type": "string"
  18552. }
  18553. }
  18554. },
  18555. "models.ErmcpUserModel": {
  18556. "type": "object",
  18557. "properties": {
  18558. "address": {
  18559. "description": "通讯地址",
  18560. "type": "string"
  18561. },
  18562. "attachment1": {
  18563. "description": "附件1",
  18564. "type": "string"
  18565. },
  18566. "audittime": {
  18567. "description": "审核时间",
  18568. "type": "string"
  18569. },
  18570. "cardbackphotourl": {
  18571. "description": "证件反面图片地址",
  18572. "type": "string"
  18573. },
  18574. "cardfrontphotourl": {
  18575. "description": "证件正面图片地址",
  18576. "type": "string"
  18577. },
  18578. "cardnum": {
  18579. "description": "证件号码",
  18580. "type": "string"
  18581. },
  18582. "cardtype": {
  18583. "description": "证件类型",
  18584. "type": "integer"
  18585. },
  18586. "cardtypename": {
  18587. "description": "证件类型名称",
  18588. "type": "string"
  18589. },
  18590. "cityid": {
  18591. "description": "市",
  18592. "type": "integer"
  18593. },
  18594. "contactname": {
  18595. "description": "联系人",
  18596. "type": "string"
  18597. },
  18598. "countryid": {
  18599. "description": "国家",
  18600. "type": "integer"
  18601. },
  18602. "createtime": {
  18603. "description": "创建时间",
  18604. "type": "string"
  18605. },
  18606. "customername": {
  18607. "description": "企业名称",
  18608. "type": "string"
  18609. },
  18610. "districtid": {
  18611. "description": "区域",
  18612. "type": "integer"
  18613. },
  18614. "email": {
  18615. "description": "邮件",
  18616. "type": "string"
  18617. },
  18618. "legalpersonname": {
  18619. "description": "法人姓名(企业)",
  18620. "type": "string"
  18621. },
  18622. "memberuserid": {
  18623. "description": "所属机构ID",
  18624. "type": "integer"
  18625. },
  18626. "mobile": {
  18627. "description": "手机号码",
  18628. "type": "string"
  18629. },
  18630. "modifytime": {
  18631. "description": "修改时间",
  18632. "type": "string"
  18633. },
  18634. "nickname": {
  18635. "description": "昵称",
  18636. "type": "string"
  18637. },
  18638. "provinceid": {
  18639. "description": "省",
  18640. "type": "integer"
  18641. },
  18642. "remark": {
  18643. "description": "备注",
  18644. "type": "string"
  18645. },
  18646. "status": {
  18647. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18648. "type": "integer"
  18649. },
  18650. "statusdesc": {
  18651. "description": "账户状态中文描述",
  18652. "type": "string"
  18653. },
  18654. "taxpayernum": {
  18655. "description": "纳税人识别号",
  18656. "type": "string"
  18657. },
  18658. "telphone": {
  18659. "description": "联系电话",
  18660. "type": "string"
  18661. },
  18662. "userid": {
  18663. "description": "用户ID",
  18664. "type": "integer"
  18665. },
  18666. "userinfotype": {
  18667. "description": "客户类型",
  18668. "type": "string"
  18669. }
  18670. }
  18671. },
  18672. "models.ErmcpWareHouseInfo": {
  18673. "type": "object",
  18674. "properties": {
  18675. "address": {
  18676. "description": "详细地址",
  18677. "type": "string"
  18678. },
  18679. "areauserid": {
  18680. "description": "所属机构",
  18681. "type": "integer"
  18682. },
  18683. "autoid": {
  18684. "description": "自增ID(仓库ID)",
  18685. "type": "integer"
  18686. },
  18687. "cityid": {
  18688. "description": "市",
  18689. "type": "integer"
  18690. },
  18691. "contactname": {
  18692. "description": "联系人",
  18693. "type": "string"
  18694. },
  18695. "contactnum": {
  18696. "description": "联系电话",
  18697. "type": "string"
  18698. },
  18699. "countryid": {
  18700. "description": "国家",
  18701. "type": "integer"
  18702. },
  18703. "createtime": {
  18704. "description": "创建时间",
  18705. "type": "string"
  18706. },
  18707. "districtid": {
  18708. "description": "区",
  18709. "type": "integer"
  18710. },
  18711. "hasvideo": {
  18712. "description": "是否有视频 - 0:无 1:有",
  18713. "type": "integer"
  18714. },
  18715. "provinceid": {
  18716. "description": "省",
  18717. "type": "integer"
  18718. },
  18719. "remark": {
  18720. "description": "审核备注",
  18721. "type": "string"
  18722. },
  18723. "videourl": {
  18724. "description": "视频地址",
  18725. "type": "string"
  18726. },
  18727. "warehousecode": {
  18728. "description": "仓库代码",
  18729. "type": "string"
  18730. },
  18731. "warehousename": {
  18732. "description": "仓库名称",
  18733. "type": "string"
  18734. },
  18735. "warehousestatus": {
  18736. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18737. "type": "integer"
  18738. },
  18739. "warehousetype": {
  18740. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18741. "type": "integer"
  18742. }
  18743. }
  18744. },
  18745. "models.ErmcpWrstandDetail": {
  18746. "type": "object",
  18747. "properties": {
  18748. "gbList": {
  18749. "description": "品牌列表",
  18750. "type": "array",
  18751. "items": {
  18752. "$ref": "#/definitions/models.GoodsBrand"
  18753. }
  18754. },
  18755. "goodsList": {
  18756. "description": "关联交易商品列表",
  18757. "type": "array",
  18758. "items": {
  18759. "$ref": "#/definitions/models.RelatedGoodsEx"
  18760. }
  18761. },
  18762. "gtList": {
  18763. "description": "型号列表",
  18764. "type": "array",
  18765. "items": {
  18766. "$ref": "#/definitions/models.GoodsTypeModel"
  18767. }
  18768. },
  18769. "wrd": {
  18770. "description": "基本信息",
  18771. "type": "object",
  18772. "$ref": "#/definitions/models.ErmcpWrstandard"
  18773. },
  18774. "wrsList": {
  18775. "description": "套保信息列表",
  18776. "type": "array",
  18777. "items": {
  18778. "$ref": "#/definitions/models.WRSConverTDetail"
  18779. }
  18780. }
  18781. }
  18782. },
  18783. "models.ErmcpWrstandard": {
  18784. "type": "object",
  18785. "properties": {
  18786. "areauserid": {
  18787. "description": "所属机构",
  18788. "type": "integer"
  18789. },
  18790. "createtime": {
  18791. "description": "创建时间",
  18792. "type": "string"
  18793. },
  18794. "creatorid": {
  18795. "description": "创建人",
  18796. "type": "integer"
  18797. },
  18798. "deliverygoodsid": {
  18799. "description": "品种ID",
  18800. "type": "integer"
  18801. },
  18802. "enumdicname": {
  18803. "description": "单位名称",
  18804. "type": "string"
  18805. },
  18806. "isvalid": {
  18807. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18808. "type": "integer"
  18809. },
  18810. "minivalue": {
  18811. "description": "最小变动值",
  18812. "type": "integer"
  18813. },
  18814. "minivaluedp": {
  18815. "description": "最小变动值小数位",
  18816. "type": "integer"
  18817. },
  18818. "realminivalue": {
  18819. "description": "实际最小变动值",
  18820. "type": "integer"
  18821. },
  18822. "realminivaluedp": {
  18823. "description": "实际最小变动值小数位",
  18824. "type": "integer"
  18825. },
  18826. "remark": {
  18827. "description": "备注",
  18828. "type": "string"
  18829. },
  18830. "unitid": {
  18831. "description": "单位ID",
  18832. "type": "integer"
  18833. },
  18834. "updatetime": {
  18835. "description": "更新时间",
  18836. "type": "string"
  18837. },
  18838. "wrstandardcode": {
  18839. "description": "现货商品代码",
  18840. "type": "string"
  18841. },
  18842. "wrstandardid": {
  18843. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18844. "type": "integer"
  18845. },
  18846. "wrstandardname": {
  18847. "description": "现货商品名称",
  18848. "type": "string"
  18849. }
  18850. }
  18851. },
  18852. "models.Externalexchange": {
  18853. "type": "object",
  18854. "required": [
  18855. "autoid"
  18856. ],
  18857. "properties": {
  18858. "autoid": {
  18859. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18860. "type": "integer"
  18861. },
  18862. "exchangefullname": {
  18863. "description": "外部交易所全称",
  18864. "type": "string"
  18865. },
  18866. "exexchangecode": {
  18867. "description": "外部交易所代码",
  18868. "type": "string"
  18869. },
  18870. "exexchangename": {
  18871. "description": "外部交易所名称(简称)",
  18872. "type": "string"
  18873. },
  18874. "ismarketprice": {
  18875. "description": "是否支持市价 - 0:不支持 1:支持",
  18876. "type": "integer"
  18877. },
  18878. "quotegear": {
  18879. "description": "行情档位(1-10)",
  18880. "type": "integer"
  18881. },
  18882. "showbrokerflag": {
  18883. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18884. "type": "integer"
  18885. },
  18886. "updatetime": {
  18887. "description": "更新时间",
  18888. "type": "string"
  18889. }
  18890. }
  18891. },
  18892. "models.Funcmenulist": {
  18893. "type": "object",
  18894. "required": [
  18895. "resourcecode"
  18896. ],
  18897. "properties": {
  18898. "iconame": {
  18899. "description": "菜单图标",
  18900. "type": "string"
  18901. },
  18902. "menutype": {
  18903. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18904. "type": "integer"
  18905. },
  18906. "parentcode": {
  18907. "description": "上级资源代码",
  18908. "type": "string"
  18909. },
  18910. "remark": {
  18911. "description": "备注",
  18912. "type": "string"
  18913. },
  18914. "resourcecode": {
  18915. "description": "资源代码",
  18916. "type": "string"
  18917. },
  18918. "resourcelevel": {
  18919. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18920. "type": "integer"
  18921. },
  18922. "resourcename": {
  18923. "description": "资源名",
  18924. "type": "string"
  18925. },
  18926. "sort": {
  18927. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18928. "type": "integer"
  18929. },
  18930. "url": {
  18931. "description": "URL",
  18932. "type": "string"
  18933. }
  18934. }
  18935. },
  18936. "models.Goods": {
  18937. "type": "object",
  18938. "required": [
  18939. "goodscode",
  18940. "goodsid",
  18941. "goodsname",
  18942. "marketid"
  18943. ],
  18944. "properties": {
  18945. "agreeunit": {
  18946. "description": "合约单位",
  18947. "type": "number"
  18948. },
  18949. "auditaccountid": {
  18950. "description": "审核操作员账号",
  18951. "type": "integer"
  18952. },
  18953. "audittime": {
  18954. "description": "审核时间",
  18955. "type": "string"
  18956. },
  18957. "cancelaccountid": {
  18958. "description": "注销操作员账号",
  18959. "type": "integer"
  18960. },
  18961. "canceltime": {
  18962. "description": "注销时间",
  18963. "type": "string"
  18964. },
  18965. "closepricemode": {
  18966. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18967. "type": "integer"
  18968. },
  18969. "closepriceparam": {
  18970. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18971. "type": "number"
  18972. },
  18973. "createtime": {
  18974. "description": "创建时间",
  18975. "type": "string"
  18976. },
  18977. "creatorid": {
  18978. "description": "创建人",
  18979. "type": "integer"
  18980. },
  18981. "currencyid": {
  18982. "description": "报价货币ID",
  18983. "type": "integer"
  18984. },
  18985. "cutmode": {
  18986. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18987. "type": "integer"
  18988. },
  18989. "decimalplace": {
  18990. "description": "报价小数位",
  18991. "type": "integer"
  18992. },
  18993. "delistingdate": {
  18994. "description": "商品退市时间(状态:退市) -- 已作废",
  18995. "type": "string"
  18996. },
  18997. "delistingmode": {
  18998. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18999. "type": "integer"
  19000. },
  19001. "deliveryflag": {
  19002. "description": "交割标志 - 0:不可交割 1:可交割",
  19003. "type": "integer"
  19004. },
  19005. "forceclosemode": {
  19006. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19007. "type": "integer"
  19008. },
  19009. "forceclosevalue": {
  19010. "description": "定期强平参数 [收益权]",
  19011. "type": "integer"
  19012. },
  19013. "goodscode": {
  19014. "description": "商品代码(内部)",
  19015. "type": "string"
  19016. },
  19017. "goodscurrencyid": {
  19018. "description": "合约货币ID",
  19019. "type": "integer"
  19020. },
  19021. "goodsgroupid": {
  19022. "description": "所属商品组ID",
  19023. "type": "integer"
  19024. },
  19025. "goodsid": {
  19026. "description": "商品ID(自增ID SEQ_GOODS)",
  19027. "type": "integer"
  19028. },
  19029. "goodsname": {
  19030. "description": "商品名称",
  19031. "type": "string"
  19032. },
  19033. "goodsquotetype": {
  19034. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19035. "type": "integer"
  19036. },
  19037. "goodsstatus": {
  19038. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19039. "type": "integer"
  19040. },
  19041. "goodstradetype": {
  19042. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19043. "type": "integer"
  19044. },
  19045. "goodunitid": {
  19046. "description": "报价单位ID",
  19047. "type": "integer"
  19048. },
  19049. "hasquoter": {
  19050. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19051. "type": "integer"
  19052. },
  19053. "hqprotecttime": {
  19054. "description": "行情保护时间(秒)",
  19055. "type": "integer"
  19056. },
  19057. "innerdealmode": {
  19058. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19059. "type": "integer"
  19060. },
  19061. "isbuylimited": {
  19062. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19063. "type": "integer"
  19064. },
  19065. "lasttradedate": {
  19066. "description": "最后交易日期(状态:待退市)",
  19067. "type": "string"
  19068. },
  19069. "listingdate": {
  19070. "description": "交易开始日期",
  19071. "type": "string"
  19072. },
  19073. "marketid": {
  19074. "description": "所属市场ID",
  19075. "type": "integer"
  19076. },
  19077. "modifierid": {
  19078. "description": "修改人",
  19079. "type": "integer"
  19080. },
  19081. "modifystatus": {
  19082. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19083. "type": "integer"
  19084. },
  19085. "modifytime": {
  19086. "description": "修改时间",
  19087. "type": "string"
  19088. },
  19089. "outerdealmode": {
  19090. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19091. "type": "integer"
  19092. },
  19093. "outgoodscode": {
  19094. "description": "商品代码(外部)",
  19095. "type": "string"
  19096. },
  19097. "qtydecimalplace": {
  19098. "description": "成交量小数位",
  19099. "type": "integer"
  19100. },
  19101. "quotegear": {
  19102. "description": "行情档位(1-10)",
  19103. "type": "integer"
  19104. },
  19105. "quoteminunit": {
  19106. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19107. "type": "integer"
  19108. },
  19109. "quoteshowtype": {
  19110. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19111. "type": "integer"
  19112. },
  19113. "quoteshowtypeinterval": {
  19114. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19115. "type": "integer"
  19116. },
  19117. "remark": {
  19118. "description": "备注",
  19119. "type": "string"
  19120. }
  19121. }
  19122. },
  19123. "models.GoodsBrand": {
  19124. "type": "object",
  19125. "properties": {
  19126. "brandid": {
  19127. "description": "品牌ID",
  19128. "type": "integer"
  19129. },
  19130. "brandname": {
  19131. "description": "品牌名称",
  19132. "type": "string"
  19133. },
  19134. "isvalid": {
  19135. "description": "是否有效 - 0:无效 1:有效",
  19136. "type": "integer"
  19137. }
  19138. }
  19139. },
  19140. "models.GoodsIDAndName": {
  19141. "type": "object",
  19142. "required": [
  19143. "goodscode",
  19144. "goodsid",
  19145. "goodsname",
  19146. "marketid"
  19147. ],
  19148. "properties": {
  19149. "goodscode": {
  19150. "description": "商品代码(内部)",
  19151. "type": "string"
  19152. },
  19153. "goodsid": {
  19154. "description": "商品ID(自增ID SEQ_GOODS)",
  19155. "type": "integer"
  19156. },
  19157. "goodsname": {
  19158. "description": "商品名称",
  19159. "type": "string"
  19160. },
  19161. "marketid": {
  19162. "description": "所属市场ID",
  19163. "type": "integer"
  19164. }
  19165. }
  19166. },
  19167. "models.GoodsTypeModel": {
  19168. "type": "object",
  19169. "properties": {
  19170. "convertfactor": {
  19171. "description": "标仓系数",
  19172. "type": "number"
  19173. },
  19174. "modelid": {
  19175. "description": "型号ID",
  19176. "type": "integer"
  19177. },
  19178. "modelname": {
  19179. "description": "型号名称",
  19180. "type": "string"
  19181. },
  19182. "updatetime": {
  19183. "description": "更新时间",
  19184. "type": "string"
  19185. }
  19186. }
  19187. },
  19188. "models.Goodsgroup": {
  19189. "type": "object",
  19190. "required": [
  19191. "goodsgroupid",
  19192. "goodsgroupname",
  19193. "goodsgroupstatus",
  19194. "marketid"
  19195. ],
  19196. "properties": {
  19197. "agreeunit": {
  19198. "description": "合约单位",
  19199. "type": "number"
  19200. },
  19201. "canshort": {
  19202. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19203. "type": "integer"
  19204. },
  19205. "closepricemode": {
  19206. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19207. "type": "integer"
  19208. },
  19209. "closepriceparam": {
  19210. "description": "强平最新价浮动比例 - 方式为2时使用",
  19211. "type": "number"
  19212. },
  19213. "createtime": {
  19214. "description": "创建时间",
  19215. "type": "string"
  19216. },
  19217. "creatorid": {
  19218. "description": "创建人",
  19219. "type": "integer"
  19220. },
  19221. "currencyid": {
  19222. "description": "报价货币ID",
  19223. "type": "integer"
  19224. },
  19225. "decimalplace": {
  19226. "description": "报价小数位",
  19227. "type": "integer"
  19228. },
  19229. "exercisetype": {
  19230. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19231. "type": "integer"
  19232. },
  19233. "exexchangeid": {
  19234. "description": "外部交易所ID[通道交易]",
  19235. "type": "integer"
  19236. },
  19237. "goodsgroupid": {
  19238. "description": "商品组ID(自增ID)",
  19239. "type": "integer"
  19240. },
  19241. "goodsgroupname": {
  19242. "description": "商品组名称",
  19243. "type": "string"
  19244. },
  19245. "goodsgroupstatus": {
  19246. "description": "商品组状态 - 1:正常 2:注销",
  19247. "type": "integer"
  19248. },
  19249. "goodunitid": {
  19250. "description": "报价单位ID",
  19251. "type": "integer"
  19252. },
  19253. "innerdealmode": {
  19254. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19255. "type": "integer"
  19256. },
  19257. "isbuylimited": {
  19258. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19259. "type": "integer"
  19260. },
  19261. "marketid": {
  19262. "description": "所属市场ID",
  19263. "type": "integer"
  19264. },
  19265. "modifierid": {
  19266. "description": "修改人",
  19267. "type": "integer"
  19268. },
  19269. "modifytime": {
  19270. "description": "修改时间",
  19271. "type": "string"
  19272. },
  19273. "outerdealmode": {
  19274. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19275. "type": "integer"
  19276. },
  19277. "outergroupcode": {
  19278. "description": "外部商品组代码[通道交易]",
  19279. "type": "string"
  19280. },
  19281. "premiumdecimalplace": {
  19282. "description": "权利金小数位[场外期权]",
  19283. "type": "integer"
  19284. },
  19285. "premiumspreadalgorithm": {
  19286. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19287. "type": "integer"
  19288. },
  19289. "premiumspreadvalue": {
  19290. "description": "权利金点差值[场外期权]",
  19291. "type": "number"
  19292. },
  19293. "qtydecimalplace": {
  19294. "description": "成交量小数位",
  19295. "type": "integer"
  19296. },
  19297. "quotegear": {
  19298. "description": "行情档位(1-10)",
  19299. "type": "integer"
  19300. },
  19301. "quoteminunit": {
  19302. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19303. "type": "integer"
  19304. },
  19305. "quoterid": {
  19306. "description": "报价商ID[场外期权]",
  19307. "type": "integer"
  19308. },
  19309. "quotesourcegroupid": {
  19310. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19311. "type": "integer"
  19312. },
  19313. "syncgoodsqty": {
  19314. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19315. "type": "integer"
  19316. }
  19317. }
  19318. },
  19319. "models.Goodssortbypreposition": {
  19320. "type": "object",
  19321. "required": [
  19322. "goodscode",
  19323. "tradedate"
  19324. ],
  19325. "properties": {
  19326. "goodscode": {
  19327. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19328. "type": "string"
  19329. },
  19330. "goodsgroupcode": {
  19331. "description": "品种代码",
  19332. "type": "string"
  19333. },
  19334. "prepositionqty": {
  19335. "description": "昨持仓量",
  19336. "type": "integer"
  19337. },
  19338. "sortindex": {
  19339. "description": "排序",
  19340. "type": "integer"
  19341. },
  19342. "tradedate": {
  19343. "description": "交易日",
  19344. "type": "string"
  19345. },
  19346. "updatetime": {
  19347. "description": "更新时间",
  19348. "type": "string"
  19349. }
  19350. }
  19351. },
  19352. "models.Hedgeinnerholderdetail": {
  19353. "type": "object",
  19354. "required": [
  19355. "buyorsell",
  19356. "tradeid"
  19357. ],
  19358. "properties": {
  19359. "accountid": {
  19360. "description": "账号ID",
  19361. "type": "integer"
  19362. },
  19363. "buyorsell": {
  19364. "description": "方向 - 0:买 1:卖",
  19365. "type": "integer"
  19366. },
  19367. "freezeqty": {
  19368. "description": "冻结数量 - 按单平使用",
  19369. "type": "integer"
  19370. },
  19371. "goodsid": {
  19372. "description": "商品ID",
  19373. "type": "integer"
  19374. },
  19375. "holderamount": {
  19376. "description": "持仓金额 [商品币种]",
  19377. "type": "number"
  19378. },
  19379. "holderdays": {
  19380. "description": "剩余冻结天数",
  19381. "type": "integer"
  19382. },
  19383. "holderprice": {
  19384. "description": "持仓价格",
  19385. "type": "number"
  19386. },
  19387. "holderqty": {
  19388. "description": "持仓数量",
  19389. "type": "integer"
  19390. },
  19391. "marketid": {
  19392. "description": "市场ID",
  19393. "type": "integer"
  19394. },
  19395. "openprice": {
  19396. "description": "建仓价格",
  19397. "type": "number"
  19398. },
  19399. "openqty": {
  19400. "description": "建仓数量",
  19401. "type": "integer"
  19402. },
  19403. "parentaccountid": {
  19404. "description": "所属母账户",
  19405. "type": "integer"
  19406. },
  19407. "releaseamount": {
  19408. "description": "释放持仓金额[商品币种]",
  19409. "type": "number"
  19410. },
  19411. "tradeamount": {
  19412. "description": "成交金额[账户]",
  19413. "type": "number"
  19414. },
  19415. "tradedate": {
  19416. "description": "交易日(yyyyMMdd)",
  19417. "type": "string"
  19418. },
  19419. "tradeid": {
  19420. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19421. "type": "string"
  19422. },
  19423. "tradetime": {
  19424. "description": "交易时间",
  19425. "type": "string"
  19426. }
  19427. }
  19428. },
  19429. "models.Hedgemarketopenlog": {
  19430. "type": "object",
  19431. "required": [
  19432. "accountid"
  19433. ],
  19434. "properties": {
  19435. "accountid": {
  19436. "description": "资金账号[外部母账户]",
  19437. "type": "integer"
  19438. },
  19439. "fcname": {
  19440. "description": "期货公司名称",
  19441. "type": "string"
  19442. },
  19443. "handlestatus": {
  19444. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19445. "type": "integer"
  19446. },
  19447. "marketid": {
  19448. "description": "市场ID",
  19449. "type": "integer"
  19450. },
  19451. "status": {
  19452. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19453. "type": "integer"
  19454. },
  19455. "tradedate": {
  19456. "description": "交易日(yyyyMMdd)",
  19457. "type": "string"
  19458. },
  19459. "updatetime": {
  19460. "description": "更新时间",
  19461. "type": "string"
  19462. }
  19463. }
  19464. },
  19465. "models.HsbyBuyMyPayOrder": {
  19466. "type": "object",
  19467. "required": [
  19468. "goodscode",
  19469. "goodsname",
  19470. "tradeid",
  19471. "trademode"
  19472. ],
  19473. "properties": {
  19474. "agreeunit": {
  19475. "description": "合约单位",
  19476. "type": "number"
  19477. },
  19478. "buyaccountid": {
  19479. "description": "买方账号ID[报价币种]",
  19480. "type": "integer"
  19481. },
  19482. "buyorderid": {
  19483. "description": "买方委托单号",
  19484. "type": "string"
  19485. },
  19486. "createtime": {
  19487. "description": "创建时间",
  19488. "type": "string"
  19489. },
  19490. "currencysign": {
  19491. "description": "货币符号",
  19492. "type": "string"
  19493. },
  19494. "decimalplace": {
  19495. "description": "报价小数位",
  19496. "type": "integer"
  19497. },
  19498. "goodscode": {
  19499. "description": "商品代码(内部)",
  19500. "type": "string"
  19501. },
  19502. "goodsid": {
  19503. "description": "商品ID",
  19504. "type": "integer"
  19505. },
  19506. "goodsname": {
  19507. "description": "商品名称",
  19508. "type": "string"
  19509. },
  19510. "marketid": {
  19511. "description": "市场ID",
  19512. "type": "integer"
  19513. },
  19514. "offamount": {
  19515. "description": "优惠金额",
  19516. "type": "number"
  19517. },
  19518. "originalamount": {
  19519. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19520. "type": "number"
  19521. },
  19522. "payamount": {
  19523. "description": "支付金额 = TradeAmount + TradeCharge",
  19524. "type": "number"
  19525. },
  19526. "payflag": {
  19527. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19528. "type": "integer"
  19529. },
  19530. "paylimitedtime": {
  19531. "description": "支付期限",
  19532. "type": "string"
  19533. },
  19534. "paytime": {
  19535. "description": "付款时间",
  19536. "type": "string"
  19537. },
  19538. "picurls1": {
  19539. "description": "预售商品介绍图片[多张用逗号分隔]",
  19540. "type": "string"
  19541. },
  19542. "picurls2": {
  19543. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19544. "type": "string"
  19545. },
  19546. "sellaccountid": {
  19547. "description": "卖方账号ID[报价币种]",
  19548. "type": "integer"
  19549. },
  19550. "sellorderid": {
  19551. "description": "卖方委托单号",
  19552. "type": "string"
  19553. },
  19554. "tradeamount": {
  19555. "description": "成交金额",
  19556. "type": "number"
  19557. },
  19558. "tradecharge": {
  19559. "description": "成交手续费(买方)",
  19560. "type": "number"
  19561. },
  19562. "tradedate": {
  19563. "description": "交易日(yyyyMMdd)",
  19564. "type": "string"
  19565. },
  19566. "tradeid": {
  19567. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19568. "type": "string"
  19569. },
  19570. "trademode": {
  19571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19572. "type": "integer"
  19573. },
  19574. "tradeprice": {
  19575. "description": "成交价格",
  19576. "type": "number"
  19577. },
  19578. "tradeqty": {
  19579. "description": "成交数量",
  19580. "type": "integer"
  19581. },
  19582. "vendorname1": {
  19583. "description": "预售商品供应商名称",
  19584. "type": "string"
  19585. },
  19586. "vendorname2": {
  19587. "description": "挂牌商品供应商名称",
  19588. "type": "string"
  19589. }
  19590. }
  19591. },
  19592. "models.HsbyBuyMyTradeDetail": {
  19593. "type": "object",
  19594. "required": [
  19595. "accountid",
  19596. "buyorsell",
  19597. "goodscode",
  19598. "goodsid",
  19599. "goodsname",
  19600. "marketid",
  19601. "orderid",
  19602. "qty",
  19603. "time",
  19604. "trademode"
  19605. ],
  19606. "properties": {
  19607. "accountid": {
  19608. "description": "账户ID[报价币种]",
  19609. "type": "integer"
  19610. },
  19611. "agreeunit": {
  19612. "description": "合约单位",
  19613. "type": "number"
  19614. },
  19615. "amount": {
  19616. "description": "金额 = 价格 * 数量 * 合约单位",
  19617. "type": "number"
  19618. },
  19619. "buyorsell": {
  19620. "description": "买卖 - 0:买 1:卖",
  19621. "type": "integer"
  19622. },
  19623. "currencysign": {
  19624. "description": "货币符号",
  19625. "type": "string"
  19626. },
  19627. "decimalplace": {
  19628. "description": "报价小数位",
  19629. "type": "integer"
  19630. },
  19631. "goodscode": {
  19632. "description": "商品代码(内部)",
  19633. "type": "string"
  19634. },
  19635. "goodsid": {
  19636. "description": "商品ID",
  19637. "type": "integer"
  19638. },
  19639. "goodsname": {
  19640. "description": "商品名称",
  19641. "type": "string"
  19642. },
  19643. "marketid": {
  19644. "description": "市场ID",
  19645. "type": "integer"
  19646. },
  19647. "orderamount": {
  19648. "description": "委托金额",
  19649. "type": "number"
  19650. },
  19651. "orderid": {
  19652. "description": "单号(成交单号)",
  19653. "type": "string"
  19654. },
  19655. "picurls1": {
  19656. "description": "预售商品介绍图片[多张用逗号分隔]",
  19657. "type": "string"
  19658. },
  19659. "picurls2": {
  19660. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19661. "type": "string"
  19662. },
  19663. "price": {
  19664. "description": "价格",
  19665. "type": "number"
  19666. },
  19667. "qty": {
  19668. "description": "数量",
  19669. "type": "integer"
  19670. },
  19671. "time": {
  19672. "description": "时间",
  19673. "type": "string"
  19674. },
  19675. "trademode": {
  19676. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19677. "type": "integer"
  19678. },
  19679. "vendorname1": {
  19680. "description": "预售商品供应商名称",
  19681. "type": "string"
  19682. },
  19683. "vendorname2": {
  19684. "description": "挂牌商品供应商名称",
  19685. "type": "string"
  19686. }
  19687. }
  19688. },
  19689. "models.HsbyGoodsOrderDetail": {
  19690. "type": "object",
  19691. "required": [
  19692. "buyorsell",
  19693. "orderid",
  19694. "ordertime"
  19695. ],
  19696. "properties": {
  19697. "buyorsell": {
  19698. "description": "买卖 - 0:买 1:卖",
  19699. "type": "integer"
  19700. },
  19701. "currencysign": {
  19702. "description": "货币符号",
  19703. "type": "string"
  19704. },
  19705. "customername": {
  19706. "description": "客户名称(企业名称),已脱敏",
  19707. "type": "string"
  19708. },
  19709. "enableqty": {
  19710. "description": "可用数量",
  19711. "type": "integer"
  19712. },
  19713. "goodunit": {
  19714. "description": "报价单位",
  19715. "type": "string"
  19716. },
  19717. "orderid": {
  19718. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19719. "type": "string"
  19720. },
  19721. "orderprice": {
  19722. "description": "委托价格",
  19723. "type": "number"
  19724. },
  19725. "ordertime": {
  19726. "description": "委托时间",
  19727. "type": "string"
  19728. }
  19729. }
  19730. },
  19731. "models.HsbyListingGoodsDetail": {
  19732. "type": "object",
  19733. "required": [
  19734. "goodscode",
  19735. "goodsid",
  19736. "goodsname",
  19737. "marketid",
  19738. "trademode"
  19739. ],
  19740. "properties": {
  19741. "agreeunit": {
  19742. "description": "合约单位",
  19743. "type": "number"
  19744. },
  19745. "buymaxqty": {
  19746. "description": "购买上限 [71] - 0为不限",
  19747. "type": "integer"
  19748. },
  19749. "currency": {
  19750. "description": "货币",
  19751. "type": "string"
  19752. },
  19753. "currencysign": {
  19754. "description": "货币符号",
  19755. "type": "string"
  19756. },
  19757. "decimalplace": {
  19758. "description": "报价小数位",
  19759. "type": "integer"
  19760. },
  19761. "desccityid": {
  19762. "description": "目的地(市)ID",
  19763. "type": "integer"
  19764. },
  19765. "descprovinceid": {
  19766. "description": "目的地(省)ID",
  19767. "type": "integer"
  19768. },
  19769. "goodscode": {
  19770. "description": "商品代码(内部)",
  19771. "type": "string"
  19772. },
  19773. "goodsdesc": {
  19774. "description": "商品详情",
  19775. "type": "string"
  19776. },
  19777. "goodsid": {
  19778. "description": "商品ID(自增ID SEQ_GOODS)",
  19779. "type": "integer"
  19780. },
  19781. "goodsname": {
  19782. "description": "商品名称",
  19783. "type": "string"
  19784. },
  19785. "goodsprice": {
  19786. "description": "商品价格",
  19787. "type": "number"
  19788. },
  19789. "hotindex": {
  19790. "description": "景点热度",
  19791. "type": "integer"
  19792. },
  19793. "last": {
  19794. "description": "现价",
  19795. "type": "number"
  19796. },
  19797. "limitdown": {
  19798. "description": "跌停价",
  19799. "type": "number"
  19800. },
  19801. "limitup": {
  19802. "description": "涨停价",
  19803. "type": "number"
  19804. },
  19805. "lotsize": {
  19806. "description": "手数最小变动单位",
  19807. "type": "integer"
  19808. },
  19809. "marketid": {
  19810. "description": "所属市场ID",
  19811. "type": "integer"
  19812. },
  19813. "picurls": {
  19814. "description": "介绍图片[多张用逗号分隔]",
  19815. "type": "string"
  19816. },
  19817. "quoteminunit": {
  19818. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19819. "type": "integer"
  19820. },
  19821. "stepvalue": {
  19822. "description": "价格最小变动单位",
  19823. "type": "number"
  19824. },
  19825. "trademode": {
  19826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19827. "type": "integer"
  19828. },
  19829. "vendorattr": {
  19830. "description": "供应商附件(多张,逗号分隔)",
  19831. "type": "string"
  19832. },
  19833. "vendorname": {
  19834. "description": "供应商名称",
  19835. "type": "string"
  19836. },
  19837. "vendorphone": {
  19838. "description": "供应商客服电话",
  19839. "type": "string"
  19840. },
  19841. "videourls": {
  19842. "description": "介绍视频[多张用逗号分隔]",
  19843. "type": "string"
  19844. }
  19845. }
  19846. },
  19847. "models.HsbyMarketGoods": {
  19848. "type": "object",
  19849. "required": [
  19850. "accountid",
  19851. "buyorsell",
  19852. "goodscode",
  19853. "goodsid",
  19854. "goodsname",
  19855. "marketid",
  19856. "orderid",
  19857. "trademode"
  19858. ],
  19859. "properties": {
  19860. "accountid": {
  19861. "description": "账户ID[报价币种]",
  19862. "type": "integer"
  19863. },
  19864. "agreeunit": {
  19865. "description": "合约单位",
  19866. "type": "number"
  19867. },
  19868. "buyorsell": {
  19869. "description": "买卖 - 0:买 1:卖",
  19870. "type": "integer"
  19871. },
  19872. "categoryid": {
  19873. "description": "类别ID(WRCATEGORY)",
  19874. "type": "integer"
  19875. },
  19876. "currency": {
  19877. "description": "货币",
  19878. "type": "string"
  19879. },
  19880. "currencysign": {
  19881. "description": "货币符号",
  19882. "type": "string"
  19883. },
  19884. "customername": {
  19885. "description": "卖家名称",
  19886. "type": "string"
  19887. },
  19888. "decimalplace": {
  19889. "description": "报价小数位",
  19890. "type": "integer"
  19891. },
  19892. "goodscode": {
  19893. "description": "商品代码(内部)",
  19894. "type": "string"
  19895. },
  19896. "goodsid": {
  19897. "description": "商品ID",
  19898. "type": "integer"
  19899. },
  19900. "goodsname": {
  19901. "description": "商品名称",
  19902. "type": "string"
  19903. },
  19904. "goodsprice": {
  19905. "description": "商品价格",
  19906. "type": "number"
  19907. },
  19908. "hascoupon": {
  19909. "description": "是否可用优惠卷",
  19910. "type": "boolean"
  19911. },
  19912. "hotindex": {
  19913. "description": "景点热度",
  19914. "type": "integer"
  19915. },
  19916. "marketid": {
  19917. "description": "市场ID",
  19918. "type": "integer"
  19919. },
  19920. "orderid": {
  19921. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19922. "type": "string"
  19923. },
  19924. "orderprice": {
  19925. "description": "委托价格",
  19926. "type": "number"
  19927. },
  19928. "orderstatus": {
  19929. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19930. "type": "integer"
  19931. },
  19932. "picurls": {
  19933. "description": "介绍图片[多张用逗号分隔]",
  19934. "type": "string"
  19935. },
  19936. "quoteminunit": {
  19937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19938. "type": "integer"
  19939. },
  19940. "sellUserID": {
  19941. "description": "卖方UserID",
  19942. "type": "integer"
  19943. },
  19944. "trademode": {
  19945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19946. "type": "integer"
  19947. },
  19948. "videourls": {
  19949. "description": "介绍视频[多张用逗号分隔]",
  19950. "type": "string"
  19951. }
  19952. }
  19953. },
  19954. "models.HsbyMarketGoodsDetail": {
  19955. "type": "object",
  19956. "required": [
  19957. "accountid",
  19958. "buyorsell",
  19959. "goodscode",
  19960. "goodsid",
  19961. "goodsname",
  19962. "marketid",
  19963. "orderid",
  19964. "orderqty",
  19965. "trademode"
  19966. ],
  19967. "properties": {
  19968. "accountid": {
  19969. "description": "账户ID[报价币种]",
  19970. "type": "integer"
  19971. },
  19972. "agreeunit": {
  19973. "description": "合约单位",
  19974. "type": "number"
  19975. },
  19976. "buymaxqty": {
  19977. "description": "购买上限 [71] - 0为不限",
  19978. "type": "integer"
  19979. },
  19980. "buyorsell": {
  19981. "description": "买卖 - 0:买 1:卖",
  19982. "type": "integer"
  19983. },
  19984. "cancelqty": {
  19985. "description": "撤单数量",
  19986. "type": "integer"
  19987. },
  19988. "categoryid": {
  19989. "description": "类别ID(WRCATEGORY)",
  19990. "type": "integer"
  19991. },
  19992. "currency": {
  19993. "description": "货币",
  19994. "type": "string"
  19995. },
  19996. "currencysign": {
  19997. "description": "货币符号",
  19998. "type": "string"
  19999. },
  20000. "customername": {
  20001. "description": "卖家名称",
  20002. "type": "string"
  20003. },
  20004. "decimalplace": {
  20005. "description": "报价小数位",
  20006. "type": "integer"
  20007. },
  20008. "goodscode": {
  20009. "description": "商品代码(内部)",
  20010. "type": "string"
  20011. },
  20012. "goodsdesc": {
  20013. "description": "商品详情",
  20014. "type": "string"
  20015. },
  20016. "goodsid": {
  20017. "description": "商品ID",
  20018. "type": "integer"
  20019. },
  20020. "goodsname": {
  20021. "description": "商品名称",
  20022. "type": "string"
  20023. },
  20024. "goodsprice": {
  20025. "description": "商品价格",
  20026. "type": "number"
  20027. },
  20028. "hotindex": {
  20029. "description": "景点热度",
  20030. "type": "integer"
  20031. },
  20032. "lotsize": {
  20033. "description": "手数最小变动单位",
  20034. "type": "integer"
  20035. },
  20036. "marketid": {
  20037. "description": "市场ID",
  20038. "type": "integer"
  20039. },
  20040. "orderid": {
  20041. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20042. "type": "string"
  20043. },
  20044. "orderprice": {
  20045. "description": "委托价格",
  20046. "type": "number"
  20047. },
  20048. "orderqty": {
  20049. "description": "委托数量",
  20050. "type": "integer"
  20051. },
  20052. "orderstatus": {
  20053. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20054. "type": "integer"
  20055. },
  20056. "picurls": {
  20057. "description": "介绍图片[多张用逗号分隔]",
  20058. "type": "string"
  20059. },
  20060. "quoteminunit": {
  20061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20062. "type": "integer"
  20063. },
  20064. "sellUserID": {
  20065. "description": "卖方UserID",
  20066. "type": "integer"
  20067. },
  20068. "trademode": {
  20069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20070. "type": "integer"
  20071. },
  20072. "tradeqty": {
  20073. "description": "成交数量",
  20074. "type": "integer"
  20075. },
  20076. "vendorattr": {
  20077. "description": "供应商附件(多张,逗号分隔)",
  20078. "type": "string"
  20079. },
  20080. "vendorname": {
  20081. "description": "供应商名称",
  20082. "type": "string"
  20083. },
  20084. "vendorphone": {
  20085. "description": "供应商客服电话",
  20086. "type": "string"
  20087. },
  20088. "videourls": {
  20089. "description": "介绍视频[多张用逗号分隔]",
  20090. "type": "string"
  20091. }
  20092. }
  20093. },
  20094. "models.HsbyMarketInfo": {
  20095. "type": "object",
  20096. "required": [
  20097. "marketid",
  20098. "marketstatus",
  20099. "trademode"
  20100. ],
  20101. "properties": {
  20102. "marketid": {
  20103. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20104. "type": "integer"
  20105. },
  20106. "marketname": {
  20107. "description": "市场名称",
  20108. "type": "string"
  20109. },
  20110. "marketstatus": {
  20111. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20112. "type": "integer"
  20113. },
  20114. "trademode": {
  20115. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20116. "type": "integer"
  20117. }
  20118. }
  20119. },
  20120. "models.HsbyMyGoods": {
  20121. "type": "object",
  20122. "required": [
  20123. "accountid",
  20124. "goodscode",
  20125. "goodsid",
  20126. "goodsname",
  20127. "marketid",
  20128. "trademode"
  20129. ],
  20130. "properties": {
  20131. "accountid": {
  20132. "description": "账号Id",
  20133. "type": "integer"
  20134. },
  20135. "agreeunit": {
  20136. "description": "合约单位",
  20137. "type": "number"
  20138. },
  20139. "buyaverageprice": {
  20140. "description": "持仓均价",
  20141. "type": "number"
  20142. },
  20143. "buycurholderamount": {
  20144. "description": "买当前持仓总金额[商品币种]",
  20145. "type": "number"
  20146. },
  20147. "buycurpositionqty": {
  20148. "description": "买当前持仓总数量",
  20149. "type": "integer"
  20150. },
  20151. "buymaxqty": {
  20152. "description": "购买上限 [71] - 0为不限",
  20153. "type": "integer"
  20154. },
  20155. "currencysign": {
  20156. "description": "货币符号",
  20157. "type": "string"
  20158. },
  20159. "decimalplace": {
  20160. "description": "报价小数位",
  20161. "type": "integer"
  20162. },
  20163. "enableqty": {
  20164. "description": "可用数量",
  20165. "type": "integer"
  20166. },
  20167. "goodscode": {
  20168. "description": "商品代码(内部)",
  20169. "type": "string"
  20170. },
  20171. "goodsid": {
  20172. "description": "商品Id",
  20173. "type": "integer"
  20174. },
  20175. "goodsname": {
  20176. "description": "商品名称",
  20177. "type": "string"
  20178. },
  20179. "goodsprice": {
  20180. "description": "商品价格",
  20181. "type": "number"
  20182. },
  20183. "goodsstatus": {
  20184. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20185. "type": "integer"
  20186. },
  20187. "last": {
  20188. "description": "现价(仅使用于挂牌点选)",
  20189. "type": "number"
  20190. },
  20191. "limitdown": {
  20192. "description": "跌停价(仅使用于挂牌点选)",
  20193. "type": "number"
  20194. },
  20195. "limitup": {
  20196. "description": "涨停价(仅使用于挂牌点选)",
  20197. "type": "number"
  20198. },
  20199. "lotsize": {
  20200. "description": "手数最小变动单位",
  20201. "type": "integer"
  20202. },
  20203. "marketid": {
  20204. "description": "所属市场ID",
  20205. "type": "integer"
  20206. },
  20207. "picurls": {
  20208. "description": "介绍图片[多张用逗号分隔]",
  20209. "type": "string"
  20210. },
  20211. "quoteminunit": {
  20212. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20213. "type": "integer"
  20214. },
  20215. "stepvalue": {
  20216. "description": "价格最小变动单位",
  20217. "type": "number"
  20218. },
  20219. "trademode": {
  20220. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20221. "type": "integer"
  20222. }
  20223. }
  20224. },
  20225. "models.HsbyMyPackage": {
  20226. "type": "object",
  20227. "required": [
  20228. "goodscode",
  20229. "goodsname",
  20230. "takeorderid",
  20231. "trademode"
  20232. ],
  20233. "properties": {
  20234. "accountid": {
  20235. "description": "账户ID",
  20236. "type": "integer"
  20237. },
  20238. "address": {
  20239. "description": "提货人详细地址",
  20240. "type": "string"
  20241. },
  20242. "agreeunit": {
  20243. "description": "合约单位",
  20244. "type": "number"
  20245. },
  20246. "amount": {
  20247. "description": "提货金额",
  20248. "type": "number"
  20249. },
  20250. "auditer": {
  20251. "description": "审核人",
  20252. "type": "integer"
  20253. },
  20254. "audittime": {
  20255. "description": "审核时间",
  20256. "type": "string"
  20257. },
  20258. "averageprice": {
  20259. "description": "均价",
  20260. "type": "number"
  20261. },
  20262. "cardnum": {
  20263. "description": "提货人证件号码",
  20264. "type": "string"
  20265. },
  20266. "cardtypeid": {
  20267. "description": "提货人证件类型",
  20268. "type": "integer"
  20269. },
  20270. "checkremark": {
  20271. "description": "审核备注",
  20272. "type": "string"
  20273. },
  20274. "currencysign": {
  20275. "description": "货币符号",
  20276. "type": "string"
  20277. },
  20278. "decimalplace": {
  20279. "description": "报价小数位",
  20280. "type": "integer"
  20281. },
  20282. "goodscode": {
  20283. "description": "商品代码(内部)",
  20284. "type": "string"
  20285. },
  20286. "goodsid": {
  20287. "description": "商品ID",
  20288. "type": "integer"
  20289. },
  20290. "goodsname": {
  20291. "description": "商品名称",
  20292. "type": "string"
  20293. },
  20294. "handlestatus": {
  20295. "description": "处理状态",
  20296. "type": "integer"
  20297. },
  20298. "marketid": {
  20299. "description": "市场ID",
  20300. "type": "integer"
  20301. },
  20302. "phonenum": {
  20303. "description": "提货人联系方式",
  20304. "type": "string"
  20305. },
  20306. "picurls": {
  20307. "description": "介绍图片[多张用逗号分隔]",
  20308. "type": "string"
  20309. },
  20310. "qty": {
  20311. "description": "提货数量",
  20312. "type": "number"
  20313. },
  20314. "recivername": {
  20315. "description": "提货人姓名",
  20316. "type": "string"
  20317. },
  20318. "reqtime": {
  20319. "description": "更新时间",
  20320. "type": "string"
  20321. },
  20322. "takemode": {
  20323. "description": "提货方式 - 2:自提 3:配送",
  20324. "type": "integer"
  20325. },
  20326. "takeorderid": {
  20327. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20328. "type": "string"
  20329. },
  20330. "takeorderstatus": {
  20331. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20332. "type": "integer"
  20333. },
  20334. "takeremark": {
  20335. "description": "提货备注",
  20336. "type": "string"
  20337. },
  20338. "tradedate": {
  20339. "description": "交易日(yyyyMMdd)",
  20340. "type": "string"
  20341. },
  20342. "trademode": {
  20343. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20344. "type": "integer"
  20345. },
  20346. "userid": {
  20347. "description": "用户ID",
  20348. "type": "integer"
  20349. },
  20350. "vendorname": {
  20351. "description": "供应商名称",
  20352. "type": "string"
  20353. }
  20354. }
  20355. },
  20356. "models.HsbyPreGoods": {
  20357. "type": "object",
  20358. "required": [
  20359. "goodscode",
  20360. "goodsid",
  20361. "goodsname",
  20362. "marketid",
  20363. "trademode"
  20364. ],
  20365. "properties": {
  20366. "agreeunit": {
  20367. "description": "合约单位",
  20368. "type": "number"
  20369. },
  20370. "currency": {
  20371. "description": "货币",
  20372. "type": "string"
  20373. },
  20374. "currencysign": {
  20375. "description": "货币符号",
  20376. "type": "string"
  20377. },
  20378. "decimalplace": {
  20379. "description": "报价小数位",
  20380. "type": "integer"
  20381. },
  20382. "desccityid": {
  20383. "description": "目的地(市)",
  20384. "type": "integer"
  20385. },
  20386. "descprovinceid": {
  20387. "description": "目的地(省)",
  20388. "type": "integer"
  20389. },
  20390. "enableqty": {
  20391. "description": "剩余数量",
  20392. "type": "integer"
  20393. },
  20394. "goodscode": {
  20395. "description": "商品代码(内部)",
  20396. "type": "string"
  20397. },
  20398. "goodsid": {
  20399. "description": "商品ID(自增ID SEQ_GOODS)",
  20400. "type": "integer"
  20401. },
  20402. "goodsname": {
  20403. "description": "商品名称",
  20404. "type": "string"
  20405. },
  20406. "goodsstatus": {
  20407. "description": "商品状态- 2:未上市 3:上市",
  20408. "type": "integer"
  20409. },
  20410. "lasttradedate": {
  20411. "description": "最后交易日期(状态:待退市)",
  20412. "type": "string"
  20413. },
  20414. "listingdate": {
  20415. "description": "交易开始日期",
  20416. "type": "string"
  20417. },
  20418. "marketid": {
  20419. "description": "所属市场ID",
  20420. "type": "integer"
  20421. },
  20422. "picurls": {
  20423. "description": "介绍图片[多张用逗号分隔]",
  20424. "type": "string"
  20425. },
  20426. "presaledqty": {
  20427. "description": "已预售量(预售结束时更新)",
  20428. "type": "integer"
  20429. },
  20430. "presaleqty": {
  20431. "description": "预售数量",
  20432. "type": "integer"
  20433. },
  20434. "quoteminunit": {
  20435. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20436. "type": "integer"
  20437. },
  20438. "refprice": {
  20439. "description": "参考价格[一口价]",
  20440. "type": "number"
  20441. },
  20442. "relatedgoodsid": {
  20443. "description": "关联交易合约ID",
  20444. "type": "integer"
  20445. },
  20446. "trademode": {
  20447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20448. "type": "integer"
  20449. },
  20450. "videourls": {
  20451. "description": "介绍视频[多张用逗号分隔]",
  20452. "type": "string"
  20453. }
  20454. }
  20455. },
  20456. "models.HsbyPreGoodsDetail": {
  20457. "type": "object",
  20458. "required": [
  20459. "goodscode",
  20460. "goodsid",
  20461. "goodsname",
  20462. "marketid",
  20463. "trademode"
  20464. ],
  20465. "properties": {
  20466. "agreeunit": {
  20467. "description": "合约单位",
  20468. "type": "number"
  20469. },
  20470. "buymaxqty": {
  20471. "description": "购买上限 [71] - 0为不限",
  20472. "type": "integer"
  20473. },
  20474. "currency": {
  20475. "description": "货币",
  20476. "type": "string"
  20477. },
  20478. "currencysign": {
  20479. "description": "货币符号",
  20480. "type": "string"
  20481. },
  20482. "customername": {
  20483. "description": "发行单位",
  20484. "type": "string"
  20485. },
  20486. "decimalplace": {
  20487. "description": "报价小数位",
  20488. "type": "integer"
  20489. },
  20490. "desccityid": {
  20491. "description": "目的地(市)ID",
  20492. "type": "integer"
  20493. },
  20494. "descprovinceid": {
  20495. "description": "目的地(省)ID",
  20496. "type": "integer"
  20497. },
  20498. "enableqty": {
  20499. "description": "剩余数量",
  20500. "type": "integer"
  20501. },
  20502. "goodscode": {
  20503. "description": "商品代码(内部)",
  20504. "type": "string"
  20505. },
  20506. "goodsdesc": {
  20507. "description": "商品详情",
  20508. "type": "string"
  20509. },
  20510. "goodsid": {
  20511. "description": "商品ID(自增ID SEQ_GOODS)",
  20512. "type": "integer"
  20513. },
  20514. "goodsname": {
  20515. "description": "商品名称",
  20516. "type": "string"
  20517. },
  20518. "goodsstatus": {
  20519. "description": "商品状态- 2:未上市 3:上市",
  20520. "type": "integer"
  20521. },
  20522. "goodunit": {
  20523. "description": "报价单位",
  20524. "type": "string"
  20525. },
  20526. "lasttradedate": {
  20527. "description": "最后交易日期(状态:待退市)",
  20528. "type": "string"
  20529. },
  20530. "listingdate": {
  20531. "description": "交易开始日期",
  20532. "type": "string"
  20533. },
  20534. "lotsize": {
  20535. "description": "手数最小变动单位",
  20536. "type": "integer"
  20537. },
  20538. "marketid": {
  20539. "description": "所属市场ID",
  20540. "type": "integer"
  20541. },
  20542. "picurls": {
  20543. "description": "介绍图片[多张用逗号分隔]",
  20544. "type": "string"
  20545. },
  20546. "presaledqty": {
  20547. "description": "已预售量(预售结束时更新)",
  20548. "type": "integer"
  20549. },
  20550. "presaleqty": {
  20551. "description": "预售数量",
  20552. "type": "integer"
  20553. },
  20554. "quoteminunit": {
  20555. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20556. "type": "integer"
  20557. },
  20558. "refprice": {
  20559. "description": "参考价格[一口价]",
  20560. "type": "number"
  20561. },
  20562. "relatedgoodsid": {
  20563. "description": "关联交易合约ID",
  20564. "type": "integer"
  20565. },
  20566. "stepvalue": {
  20567. "description": "价格最小变动单位",
  20568. "type": "number"
  20569. },
  20570. "trademode": {
  20571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20572. "type": "integer"
  20573. },
  20574. "vendorattr": {
  20575. "description": "供应商附件(多张,逗号分隔)",
  20576. "type": "string"
  20577. },
  20578. "vendorname": {
  20579. "description": "供应商名称",
  20580. "type": "string"
  20581. },
  20582. "vendorphone": {
  20583. "description": "供应商客服电话",
  20584. "type": "string"
  20585. },
  20586. "videourls": {
  20587. "description": "介绍视频[多张用逗号分隔]",
  20588. "type": "string"
  20589. }
  20590. }
  20591. },
  20592. "models.HsbySellCollectionOrder": {
  20593. "type": "object",
  20594. "required": [
  20595. "goodscode",
  20596. "goodsname",
  20597. "tradeid",
  20598. "trademode"
  20599. ],
  20600. "properties": {
  20601. "agreeunit": {
  20602. "description": "合约单位",
  20603. "type": "number"
  20604. },
  20605. "buyaccountid": {
  20606. "description": "买方账号ID[报价币种]",
  20607. "type": "integer"
  20608. },
  20609. "buyorderid": {
  20610. "description": "买方委托单号",
  20611. "type": "string"
  20612. },
  20613. "createtime": {
  20614. "description": "创建时间",
  20615. "type": "string"
  20616. },
  20617. "currencysign": {
  20618. "description": "货币符号",
  20619. "type": "string"
  20620. },
  20621. "decimalplace": {
  20622. "description": "报价小数位",
  20623. "type": "integer"
  20624. },
  20625. "goodscode": {
  20626. "description": "商品代码(内部)",
  20627. "type": "string"
  20628. },
  20629. "goodsid": {
  20630. "description": "商品ID",
  20631. "type": "integer"
  20632. },
  20633. "goodsname": {
  20634. "description": "商品名称",
  20635. "type": "string"
  20636. },
  20637. "marketid": {
  20638. "description": "市场ID",
  20639. "type": "integer"
  20640. },
  20641. "offamount": {
  20642. "description": "优惠金额",
  20643. "type": "number"
  20644. },
  20645. "payamount": {
  20646. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20647. "type": "number"
  20648. },
  20649. "payflag": {
  20650. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20651. "type": "integer"
  20652. },
  20653. "paylimitedtime": {
  20654. "description": "支付期限",
  20655. "type": "string"
  20656. },
  20657. "paytime": {
  20658. "description": "付款时间",
  20659. "type": "string"
  20660. },
  20661. "picurls": {
  20662. "description": "商品介绍图片[多张用逗号分隔]",
  20663. "type": "string"
  20664. },
  20665. "sellaccountid": {
  20666. "description": "卖方账号ID[报价币种]",
  20667. "type": "integer"
  20668. },
  20669. "sellorderid": {
  20670. "description": "卖方委托单号",
  20671. "type": "string"
  20672. },
  20673. "tradeamount": {
  20674. "description": "成交金额",
  20675. "type": "number"
  20676. },
  20677. "tradecharge": {
  20678. "description": "成交手续费(买方)",
  20679. "type": "number"
  20680. },
  20681. "tradedate": {
  20682. "description": "交易日(yyyyMMdd)",
  20683. "type": "string"
  20684. },
  20685. "tradeid": {
  20686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20687. "type": "string"
  20688. },
  20689. "trademode": {
  20690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20691. "type": "integer"
  20692. },
  20693. "tradeprice": {
  20694. "description": "成交价格",
  20695. "type": "number"
  20696. },
  20697. "tradeqty": {
  20698. "description": "成交数量",
  20699. "type": "integer"
  20700. }
  20701. }
  20702. },
  20703. "models.HsbySellMyDetail": {
  20704. "type": "object",
  20705. "required": [
  20706. "accountid",
  20707. "buyorsell",
  20708. "goodscode",
  20709. "goodsid",
  20710. "goodsname",
  20711. "marketid",
  20712. "orderid",
  20713. "time",
  20714. "trademode"
  20715. ],
  20716. "properties": {
  20717. "accountid": {
  20718. "description": "账户ID[报价币种]",
  20719. "type": "integer"
  20720. },
  20721. "agreeunit": {
  20722. "description": "合约单位",
  20723. "type": "number"
  20724. },
  20725. "buyorsell": {
  20726. "description": "买卖 - 0:买 1:卖",
  20727. "type": "integer"
  20728. },
  20729. "currencysign": {
  20730. "description": "货币符号",
  20731. "type": "string"
  20732. },
  20733. "decimalplace": {
  20734. "description": "报价小数位",
  20735. "type": "integer"
  20736. },
  20737. "goodscode": {
  20738. "description": "商品代码(内部)",
  20739. "type": "string"
  20740. },
  20741. "goodsid": {
  20742. "description": "商品ID",
  20743. "type": "integer"
  20744. },
  20745. "goodsname": {
  20746. "description": "商品名称",
  20747. "type": "string"
  20748. },
  20749. "marketid": {
  20750. "description": "市场ID",
  20751. "type": "integer"
  20752. },
  20753. "orderid": {
  20754. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20755. "type": "string"
  20756. },
  20757. "ordertype": {
  20758. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20759. "type": "integer"
  20760. },
  20761. "picurls": {
  20762. "description": "介绍图片[多张用逗号分隔]",
  20763. "type": "string"
  20764. },
  20765. "price": {
  20766. "description": "价格",
  20767. "type": "number"
  20768. },
  20769. "qty": {
  20770. "description": "数量",
  20771. "type": "integer"
  20772. },
  20773. "time": {
  20774. "description": "时间",
  20775. "type": "string"
  20776. },
  20777. "trademode": {
  20778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20779. "type": "integer"
  20780. },
  20781. "vendorname": {
  20782. "description": "供应商名称",
  20783. "type": "string"
  20784. }
  20785. }
  20786. },
  20787. "models.HsbyTopGoods": {
  20788. "type": "object",
  20789. "required": [
  20790. "goodscode",
  20791. "goodsid",
  20792. "goodsname",
  20793. "marketid",
  20794. "trademode"
  20795. ],
  20796. "properties": {
  20797. "agreeunit": {
  20798. "description": "合约单位",
  20799. "type": "number"
  20800. },
  20801. "currency": {
  20802. "description": "货币",
  20803. "type": "string"
  20804. },
  20805. "currencysign": {
  20806. "description": "货币符号",
  20807. "type": "string"
  20808. },
  20809. "decimalplace": {
  20810. "description": "报价小数位",
  20811. "type": "integer"
  20812. },
  20813. "desccityid": {
  20814. "description": "目的地(市)",
  20815. "type": "integer"
  20816. },
  20817. "descprovinceid": {
  20818. "description": "目的地(省)",
  20819. "type": "integer"
  20820. },
  20821. "goodscode": {
  20822. "description": "商品代码(内部)",
  20823. "type": "string"
  20824. },
  20825. "goodsid": {
  20826. "description": "商品ID(自增ID SEQ_GOODS)",
  20827. "type": "integer"
  20828. },
  20829. "goodsname": {
  20830. "description": "商品名称",
  20831. "type": "string"
  20832. },
  20833. "hotindex": {
  20834. "description": "景点热度",
  20835. "type": "integer"
  20836. },
  20837. "last": {
  20838. "description": "现价",
  20839. "type": "number"
  20840. },
  20841. "marketid": {
  20842. "description": "所属市场ID",
  20843. "type": "integer"
  20844. },
  20845. "picurls": {
  20846. "description": "介绍图片[多张用逗号分隔]",
  20847. "type": "string"
  20848. },
  20849. "quoteminunit": {
  20850. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20851. "type": "integer"
  20852. },
  20853. "trademode": {
  20854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20855. "type": "integer"
  20856. },
  20857. "videourls": {
  20858. "description": "介绍视频[多张用逗号分隔]",
  20859. "type": "string"
  20860. }
  20861. }
  20862. },
  20863. "models.HybsMyBuyOrderDetail": {
  20864. "type": "object",
  20865. "required": [
  20866. "accountid",
  20867. "buyorsell",
  20868. "goodscode",
  20869. "goodsid",
  20870. "goodsname",
  20871. "marketid",
  20872. "orderid",
  20873. "orderqty",
  20874. "ordertime",
  20875. "trademode"
  20876. ],
  20877. "properties": {
  20878. "accountid": {
  20879. "description": "账户ID[报价币种]",
  20880. "type": "integer"
  20881. },
  20882. "agreeunit": {
  20883. "description": "合约单位",
  20884. "type": "number"
  20885. },
  20886. "buyorsell": {
  20887. "description": "买卖 - 0:买 1:卖",
  20888. "type": "integer"
  20889. },
  20890. "cancelqty": {
  20891. "description": "撤单数量",
  20892. "type": "integer"
  20893. },
  20894. "currencysign": {
  20895. "description": "货币符号",
  20896. "type": "string"
  20897. },
  20898. "decimalplace": {
  20899. "description": "报价小数位",
  20900. "type": "integer"
  20901. },
  20902. "goodscode": {
  20903. "description": "商品代码(内部)",
  20904. "type": "string"
  20905. },
  20906. "goodsid": {
  20907. "description": "商品ID",
  20908. "type": "integer"
  20909. },
  20910. "goodsname": {
  20911. "description": "商品名称",
  20912. "type": "string"
  20913. },
  20914. "listingselecttype": {
  20915. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20916. "type": "integer"
  20917. },
  20918. "marketid": {
  20919. "description": "市场ID",
  20920. "type": "integer"
  20921. },
  20922. "mybuystatus": {
  20923. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20924. "type": "integer"
  20925. },
  20926. "orderamount": {
  20927. "description": "委托金额",
  20928. "type": "number"
  20929. },
  20930. "orderid": {
  20931. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20932. "type": "string"
  20933. },
  20934. "orderprice": {
  20935. "description": "委托价格",
  20936. "type": "number"
  20937. },
  20938. "orderqty": {
  20939. "description": "委托数量",
  20940. "type": "integer"
  20941. },
  20942. "orderstatus": {
  20943. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20944. "type": "integer"
  20945. },
  20946. "ordertime": {
  20947. "description": "委托时间",
  20948. "type": "string"
  20949. },
  20950. "picurls1": {
  20951. "description": "预售商品介绍图片[多张用逗号分隔]",
  20952. "type": "string"
  20953. },
  20954. "picurls2": {
  20955. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20956. "type": "string"
  20957. },
  20958. "trademode": {
  20959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20960. "type": "integer"
  20961. },
  20962. "tradeqty": {
  20963. "description": "成交数量",
  20964. "type": "integer"
  20965. },
  20966. "vendorname1": {
  20967. "description": "预售商品供应商名称",
  20968. "type": "string"
  20969. },
  20970. "vendorname2": {
  20971. "description": "挂牌商品供应商名称",
  20972. "type": "string"
  20973. }
  20974. }
  20975. },
  20976. "models.Loginaccount": {
  20977. "type": "object",
  20978. "required": [
  20979. "loginid"
  20980. ],
  20981. "properties": {
  20982. "canoutin": {
  20983. "description": "是否可出入金 - 0:不可 1:可",
  20984. "type": "integer"
  20985. },
  20986. "clientroleid": {
  20987. "description": "终端角色ID",
  20988. "type": "integer"
  20989. },
  20990. "haslogined": {
  20991. "description": "是否已登录 - 0:未登录 1:已登录",
  20992. "type": "integer"
  20993. },
  20994. "hasupdatedpwd": {
  20995. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20996. "type": "integer"
  20997. },
  20998. "lastloginip": {
  20999. "description": "最新登录地址",
  21000. "type": "string"
  21001. },
  21002. "lastloginmode": {
  21003. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21004. "type": "integer"
  21005. },
  21006. "lastloginremark": {
  21007. "description": "最新登录描述",
  21008. "type": "string"
  21009. },
  21010. "lastlogintime": {
  21011. "description": "最新登录时间",
  21012. "type": "string"
  21013. },
  21014. "logincode": {
  21015. "description": "登录代码",
  21016. "type": "string"
  21017. },
  21018. "loginfailnum": {
  21019. "description": "连续登录失败次数(登录成功时清零)",
  21020. "type": "integer"
  21021. },
  21022. "loginid": {
  21023. "description": "登陆账号",
  21024. "type": "integer"
  21025. },
  21026. "loginport": {
  21027. "description": "最新登录端口",
  21028. "type": "integer"
  21029. },
  21030. "loginstatus": {
  21031. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21032. "type": "integer"
  21033. },
  21034. "loginusertype": {
  21035. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21036. "type": "integer"
  21037. },
  21038. "modifierid": {
  21039. "description": "修改人",
  21040. "type": "integer"
  21041. },
  21042. "modifytime": {
  21043. "description": "修改时间",
  21044. "type": "string"
  21045. },
  21046. "pwdwrongcount": {
  21047. "description": "密码错误次数",
  21048. "type": "integer"
  21049. },
  21050. "taaccountrighttype": {
  21051. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21052. "type": "integer"
  21053. },
  21054. "unfreezetime": {
  21055. "description": "账户解冻时间",
  21056. "type": "string"
  21057. },
  21058. "userid": {
  21059. "description": "用户ID",
  21060. "type": "integer"
  21061. }
  21062. }
  21063. },
  21064. "models.MainAccountInfo": {
  21065. "type": "object",
  21066. "properties": {
  21067. "accountid": {
  21068. "description": "账号id",
  21069. "type": "string"
  21070. },
  21071. "accountname": {
  21072. "description": "账号名称(taaccount表中的名称)",
  21073. "type": "string"
  21074. },
  21075. "appid": {
  21076. "description": "AppID",
  21077. "type": "string"
  21078. },
  21079. "authcode": {
  21080. "description": "授权码",
  21081. "type": "string"
  21082. },
  21083. "brokerid": {
  21084. "description": "经纪商id",
  21085. "type": "string"
  21086. },
  21087. "fcid": {
  21088. "description": "期货公司id",
  21089. "type": "integer"
  21090. },
  21091. "fcname": {
  21092. "description": "期货公司代码",
  21093. "type": "string"
  21094. },
  21095. "hedgeaccountcode": {
  21096. "description": "外部账号代码(主账号登录代码)",
  21097. "type": "string"
  21098. },
  21099. "hedgeaccountpwd": {
  21100. "description": "密码",
  21101. "type": "string"
  21102. },
  21103. "ismain": {
  21104. "description": "是否主账号",
  21105. "type": "integer"
  21106. },
  21107. "relateduserid": {
  21108. "description": "关联用户id",
  21109. "type": "integer"
  21110. }
  21111. }
  21112. },
  21113. "models.Market": {
  21114. "type": "object",
  21115. "required": [
  21116. "marketid",
  21117. "marketstatus",
  21118. "openmethod",
  21119. "reckonpricealgorithm",
  21120. "trademode",
  21121. "tradeproperty"
  21122. ],
  21123. "properties": {
  21124. "auctionwrtype": {
  21125. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21126. "type": "integer"
  21127. },
  21128. "canacceptquote": {
  21129. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21130. "type": "integer"
  21131. },
  21132. "cangoodsexercise": {
  21133. "description": "[期权]是否可现货行权- 0:否 1:是",
  21134. "type": "integer"
  21135. },
  21136. "cangoodsexercisetype": {
  21137. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21138. "type": "integer"
  21139. },
  21140. "canmanualquotestrike": {
  21141. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21142. "type": "integer"
  21143. },
  21144. "canmutistage": {
  21145. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21146. "type": "integer"
  21147. },
  21148. "canpreexercise": {
  21149. "description": "[期权]是否可预申报- 0:否 1:是",
  21150. "type": "integer"
  21151. },
  21152. "clearinterval": {
  21153. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21154. "type": "integer"
  21155. },
  21156. "contracttmp": {
  21157. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21158. "type": "string"
  21159. },
  21160. "exchareaid": {
  21161. "description": "所属交易所,可以没有",
  21162. "type": "integer"
  21163. },
  21164. "goodstype": {
  21165. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21166. "type": "integer"
  21167. },
  21168. "hasrebate": {
  21169. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21170. "type": "integer"
  21171. },
  21172. "hastradecredit": {
  21173. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21174. "type": "integer"
  21175. },
  21176. "haswr": {
  21177. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21178. "type": "integer"
  21179. },
  21180. "isdeductmargin": {
  21181. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21182. "type": "integer"
  21183. },
  21184. "isrecordsource": {
  21185. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21186. "type": "integer"
  21187. },
  21188. "isreleasemargin": {
  21189. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21190. "type": "integer"
  21191. },
  21192. "marginformula": {
  21193. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21194. "type": "integer"
  21195. },
  21196. "marginformula2": {
  21197. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21198. "type": "integer"
  21199. },
  21200. "marketid": {
  21201. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21202. "type": "integer"
  21203. },
  21204. "marketname": {
  21205. "description": "市场名称",
  21206. "type": "string"
  21207. },
  21208. "marketserviceid": {
  21209. "description": "市场服务ID",
  21210. "type": "integer"
  21211. },
  21212. "marketstatus": {
  21213. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21214. "type": "integer"
  21215. },
  21216. "markettype": {
  21217. "description": "市场类型- 1:非交易服务 2:交易服务",
  21218. "type": "integer"
  21219. },
  21220. "matchermode": {
  21221. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21222. "type": "integer"
  21223. },
  21224. "openmethod": {
  21225. "description": "开盘模式 - 0 自动 1手动",
  21226. "type": "integer"
  21227. },
  21228. "otcuserid": {
  21229. "description": "场外期权做市商[场外期权]",
  21230. "type": "integer"
  21231. },
  21232. "outersynctime": {
  21233. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21234. "type": "string"
  21235. },
  21236. "pendingflag": {
  21237. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21238. "type": "integer"
  21239. },
  21240. "pendingtime": {
  21241. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21242. "type": "string"
  21243. },
  21244. "performancetempid": {
  21245. "description": "履约计划模板ID - 作废",
  21246. "type": "integer"
  21247. },
  21248. "premiumquotemode": {
  21249. "description": "权利金报价方式 - 1:自动 2:手动",
  21250. "type": "integer"
  21251. },
  21252. "rebateratio": {
  21253. "description": "返利比率[竞价式]",
  21254. "type": "number"
  21255. },
  21256. "reckonorder": {
  21257. "description": "结算顺序",
  21258. "type": "integer"
  21259. },
  21260. "reckonpricealgorithm": {
  21261. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21262. "type": "integer"
  21263. },
  21264. "reckonpriceparam": {
  21265. "description": "结算价参数",
  21266. "type": "integer"
  21267. },
  21268. "reckontime": {
  21269. "description": "结算时间[通道交易-对冲](HH:mm)",
  21270. "type": "string"
  21271. },
  21272. "roleprioritytype": {
  21273. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21274. "type": "integer"
  21275. },
  21276. "selllistingauditflag": {
  21277. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21278. "type": "integer"
  21279. },
  21280. "trademarkettype": {
  21281. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21282. "type": "integer"
  21283. },
  21284. "trademode": {
  21285. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21286. "type": "integer"
  21287. },
  21288. "tradeproperty": {
  21289. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21290. "type": "integer"
  21291. },
  21292. "tradetype": {
  21293. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21294. "type": "integer"
  21295. }
  21296. }
  21297. },
  21298. "models.Marketrun": {
  21299. "type": "object",
  21300. "required": [
  21301. "marketid",
  21302. "nexttradedate",
  21303. "reckonflag",
  21304. "runstatus",
  21305. "tradedate",
  21306. "tradedate2"
  21307. ],
  21308. "properties": {
  21309. "afternexttradedate": {
  21310. "description": "下下交易日",
  21311. "type": "string"
  21312. },
  21313. "clearquoteflag": {
  21314. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21315. "type": "integer"
  21316. },
  21317. "lastreckondate": {
  21318. "description": "最新交易日(结算成功)",
  21319. "type": "string"
  21320. },
  21321. "machinedate": {
  21322. "description": "机器时间",
  21323. "type": "string"
  21324. },
  21325. "manualflag": {
  21326. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21327. "type": "integer"
  21328. },
  21329. "marketid": {
  21330. "description": "市场ID",
  21331. "type": "integer"
  21332. },
  21333. "nexttradedate": {
  21334. "description": "下一交易日",
  21335. "type": "string"
  21336. },
  21337. "pretradedate": {
  21338. "description": "上一交易日",
  21339. "type": "string"
  21340. },
  21341. "reckonflag": {
  21342. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21343. "type": "integer"
  21344. },
  21345. "runstatus": {
  21346. "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.今日免清算",
  21347. "type": "integer"
  21348. },
  21349. "sectionid": {
  21350. "description": "时间段号[多时段时用]",
  21351. "type": "integer"
  21352. },
  21353. "tradedate": {
  21354. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21355. "type": "string"
  21356. },
  21357. "tradedate2": {
  21358. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21359. "type": "string"
  21360. },
  21361. "updatetime": {
  21362. "description": "更新时间",
  21363. "type": "string"
  21364. }
  21365. }
  21366. },
  21367. "models.Messageboard": {
  21368. "type": "object",
  21369. "required": [
  21370. "messageboardid"
  21371. ],
  21372. "properties": {
  21373. "contactnum": {
  21374. "description": "联系电话",
  21375. "type": "string"
  21376. },
  21377. "createtime": {
  21378. "description": "创建时间",
  21379. "type": "string"
  21380. },
  21381. "message": {
  21382. "description": "留言信息",
  21383. "type": "string"
  21384. },
  21385. "messageboardid": {
  21386. "description": "留言簿ID(SEQ_MessageBoard)",
  21387. "type": "integer"
  21388. },
  21389. "userid": {
  21390. "description": "用户ID",
  21391. "type": "integer"
  21392. }
  21393. }
  21394. },
  21395. "models.MyCoupon": {
  21396. "type": "object",
  21397. "required": [
  21398. "accountid",
  21399. "coupontypeid"
  21400. ],
  21401. "properties": {
  21402. "accountid": {
  21403. "description": "资金账户ID",
  21404. "type": "integer"
  21405. },
  21406. "areauserid": {
  21407. "description": "所属机构",
  21408. "type": "integer"
  21409. },
  21410. "conditionvalue": {
  21411. "description": "条件阈值(可为0)",
  21412. "type": "number"
  21413. },
  21414. "couponcategroy": {
  21415. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21416. "type": "integer"
  21417. },
  21418. "couponname": {
  21419. "description": "优惠券名称",
  21420. "type": "string"
  21421. },
  21422. "coupontypeid": {
  21423. "description": "优惠券类型ID",
  21424. "type": "string"
  21425. },
  21426. "couponvalue": {
  21427. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21428. "type": "number"
  21429. },
  21430. "curfreezeqty": {
  21431. "description": "期末冻结数量",
  21432. "type": "integer"
  21433. },
  21434. "curqty": {
  21435. "description": "期末数量",
  21436. "type": "integer"
  21437. },
  21438. "isgeneral": {
  21439. "description": "是否通用券 - 0:否 1:是",
  21440. "type": "integer"
  21441. },
  21442. "isunusable": {
  21443. "description": "是否不可用",
  21444. "type": "boolean"
  21445. },
  21446. "limitedflag": {
  21447. "description": "是否指定商品 - 0:不限 1:限制",
  21448. "type": "integer"
  21449. },
  21450. "limitedgoodsids": {
  21451. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21452. "type": "string"
  21453. },
  21454. "orifreezeqty": {
  21455. "description": "期初冻结数量",
  21456. "type": "integer"
  21457. },
  21458. "oriqty": {
  21459. "description": "期初数量",
  21460. "type": "integer"
  21461. },
  21462. "reasontype": {
  21463. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21464. "type": "integer"
  21465. },
  21466. "todaydecrease": {
  21467. "description": "今日减少",
  21468. "type": "integer"
  21469. },
  21470. "todayincrease": {
  21471. "description": "今日增加",
  21472. "type": "integer"
  21473. },
  21474. "userid": {
  21475. "description": "用户ID",
  21476. "type": "integer"
  21477. },
  21478. "userscope": {
  21479. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21480. "type": "string"
  21481. }
  21482. }
  21483. },
  21484. "models.MyCouponHold": {
  21485. "type": "object",
  21486. "required": [
  21487. "couponholdid"
  21488. ],
  21489. "properties": {
  21490. "accountid": {
  21491. "description": "资金账户ID",
  21492. "type": "integer"
  21493. },
  21494. "conditionvalue": {
  21495. "description": "条件阈值(可为0)",
  21496. "type": "number"
  21497. },
  21498. "couponcategroy": {
  21499. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21500. "type": "integer"
  21501. },
  21502. "couponholdid": {
  21503. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21504. "type": "string"
  21505. },
  21506. "couponname": {
  21507. "description": "优惠券名称",
  21508. "type": "string"
  21509. },
  21510. "coupontypeid": {
  21511. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21512. "type": "string"
  21513. },
  21514. "couponvalue": {
  21515. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21516. "type": "number"
  21517. },
  21518. "createtime": {
  21519. "description": "创建时间",
  21520. "type": "string"
  21521. },
  21522. "enddate": {
  21523. "description": "结束日期",
  21524. "type": "string"
  21525. },
  21526. "giveapplyid": {
  21527. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21528. "type": "integer"
  21529. },
  21530. "holdstatus": {
  21531. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21532. "type": "integer"
  21533. },
  21534. "isgeneral": {
  21535. "description": "是否通用券 - 0:否 1:是",
  21536. "type": "integer"
  21537. },
  21538. "limitedflag": {
  21539. "description": "是否指定商品 - 0:不限 1:限制",
  21540. "type": "integer"
  21541. },
  21542. "limitedgoodsids": {
  21543. "description": "指定商品IDs[逗号分隔]",
  21544. "type": "string"
  21545. },
  21546. "qty": {
  21547. "description": "数量(按1平铺)",
  21548. "type": "integer"
  21549. },
  21550. "startdate": {
  21551. "description": "开始日期",
  21552. "type": "string"
  21553. },
  21554. "userid": {
  21555. "description": "用户ID",
  21556. "type": "integer"
  21557. },
  21558. "userscope": {
  21559. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21560. "type": "string"
  21561. }
  21562. }
  21563. },
  21564. "models.MyUsedCoupon": {
  21565. "type": "object",
  21566. "required": [
  21567. "coupontypeid",
  21568. "orderid"
  21569. ],
  21570. "properties": {
  21571. "accountid": {
  21572. "description": "资金账户ID(买方)",
  21573. "type": "integer"
  21574. },
  21575. "conditionvalue": {
  21576. "description": "条件阈值(可为0)",
  21577. "type": "number"
  21578. },
  21579. "couponcategroy": {
  21580. "description": "种类 - 1:现金券 2:折扣券",
  21581. "type": "integer"
  21582. },
  21583. "couponname": {
  21584. "description": "优惠券名称",
  21585. "type": "string"
  21586. },
  21587. "coupontypeid": {
  21588. "description": "优惠券类型ID(买方)",
  21589. "type": "string"
  21590. },
  21591. "couponvalue": {
  21592. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21593. "type": "number"
  21594. },
  21595. "createtime": {
  21596. "description": "创建时间",
  21597. "type": "string"
  21598. },
  21599. "goodsid": {
  21600. "description": "商品ID",
  21601. "type": "integer"
  21602. },
  21603. "handlestatus": {
  21604. "description": "处理状态",
  21605. "type": "integer"
  21606. },
  21607. "marketid": {
  21608. "description": "市场ID",
  21609. "type": "integer"
  21610. },
  21611. "offamount": {
  21612. "description": "优惠金额",
  21613. "type": "number"
  21614. },
  21615. "orderid": {
  21616. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21617. "type": "string"
  21618. },
  21619. "sellaccountid": {
  21620. "description": "资金账户ID(卖方)",
  21621. "type": "integer"
  21622. },
  21623. "tradeamount": {
  21624. "description": "成交金额",
  21625. "type": "number"
  21626. },
  21627. "tradeid": {
  21628. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21629. "type": "string"
  21630. },
  21631. "usedqty": {
  21632. "description": "使用数量",
  21633. "type": "integer"
  21634. }
  21635. }
  21636. },
  21637. "models.OperationPrimaryMenu": {
  21638. "type": "object",
  21639. "properties": {
  21640. "Children": {
  21641. "description": "二级功能菜单",
  21642. "type": "array",
  21643. "items": {
  21644. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21645. }
  21646. },
  21647. "Key": {
  21648. "description": "菜单KEY",
  21649. "type": "string"
  21650. },
  21651. "Label": {
  21652. "description": "菜单标题",
  21653. "type": "string"
  21654. }
  21655. }
  21656. },
  21657. "models.OperationSecondaryMenu": {
  21658. "type": "object",
  21659. "properties": {
  21660. "Key": {
  21661. "description": "菜单KEY",
  21662. "type": "string"
  21663. },
  21664. "Label": {
  21665. "description": "菜单标题",
  21666. "type": "string"
  21667. },
  21668. "TabList": {
  21669. "description": "三级功能菜单",
  21670. "type": "array",
  21671. "items": {
  21672. "$ref": "#/definitions/models.OperationTabMenu"
  21673. }
  21674. }
  21675. }
  21676. },
  21677. "models.OperationTabMenu": {
  21678. "type": "object",
  21679. "properties": {
  21680. "Key": {
  21681. "description": "菜单KEY",
  21682. "type": "string"
  21683. },
  21684. "Label": {
  21685. "description": "菜单标题",
  21686. "type": "string"
  21687. }
  21688. }
  21689. },
  21690. "models.PendingAuditBizModel": {
  21691. "type": "object",
  21692. "properties": {
  21693. "accountid": {
  21694. "description": "现货账户",
  21695. "type": "string"
  21696. },
  21697. "areaname": {
  21698. "description": "所属部门",
  21699. "type": "string"
  21700. },
  21701. "bizid": {
  21702. "description": "业务ID",
  21703. "type": "string"
  21704. },
  21705. "bizname": {
  21706. "description": "业务名称",
  21707. "type": "string"
  21708. },
  21709. "status": {
  21710. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21711. "type": "integer"
  21712. },
  21713. "type": {
  21714. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21715. "type": "integer"
  21716. }
  21717. }
  21718. },
  21719. "models.QueryErrorInfosRsp": {
  21720. "type": "object",
  21721. "required": [
  21722. "errorid"
  21723. ],
  21724. "properties": {
  21725. "description": {
  21726. "description": "异常描述",
  21727. "type": "string"
  21728. },
  21729. "errorcode": {
  21730. "description": "异常代码",
  21731. "type": "string"
  21732. },
  21733. "errorid": {
  21734. "description": "异常ID",
  21735. "type": "integer"
  21736. },
  21737. "modulecode": {
  21738. "description": "所属模块",
  21739. "type": "string"
  21740. },
  21741. "operatecode": {
  21742. "description": "所属操作",
  21743. "type": "string"
  21744. },
  21745. "rownumber": {
  21746. "description": "行号",
  21747. "type": "string"
  21748. }
  21749. }
  21750. },
  21751. "models.QueryHedgeOrderDetailRsp": {
  21752. "type": "object",
  21753. "properties": {
  21754. "accountid": {
  21755. "description": "账户ID",
  21756. "type": "integer"
  21757. },
  21758. "buyorsell": {
  21759. "description": "买卖 - 0:买 1:卖",
  21760. "type": "integer"
  21761. },
  21762. "cancellogincode": {
  21763. "description": "撤单人",
  21764. "type": "string"
  21765. },
  21766. "channelbuildtype": {
  21767. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21768. "type": "integer"
  21769. },
  21770. "channelinnerorderstatus": {
  21771. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21772. "type": "integer"
  21773. },
  21774. "channeloperatetype": {
  21775. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21776. "type": "integer"
  21777. },
  21778. "closetype": {
  21779. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21780. "type": "integer"
  21781. },
  21782. "curexchangerate": {
  21783. "description": "当前汇率",
  21784. "type": "number"
  21785. },
  21786. "exchangefullname": {
  21787. "description": "外部交易所全称",
  21788. "type": "string"
  21789. },
  21790. "goodscode": {
  21791. "description": "商品代码(内部)",
  21792. "type": "string"
  21793. },
  21794. "goodsid": {
  21795. "description": "商品ID",
  21796. "type": "integer"
  21797. },
  21798. "goodsname": {
  21799. "description": "商品名称",
  21800. "type": "string"
  21801. },
  21802. "marketid": {
  21803. "description": "市场ID",
  21804. "type": "integer"
  21805. },
  21806. "openfreezemargin": {
  21807. "description": "冻结保证金(冻结交易金额)",
  21808. "type": "number"
  21809. },
  21810. "orderid": {
  21811. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21812. "type": "string"
  21813. },
  21814. "orderlogincode": {
  21815. "description": "委托人",
  21816. "type": "string"
  21817. },
  21818. "orderprice": {
  21819. "description": "委托价格(账户)",
  21820. "type": "number"
  21821. },
  21822. "orderqty": {
  21823. "description": "委托数量",
  21824. "type": "integer"
  21825. },
  21826. "ordertime": {
  21827. "description": "委托时间",
  21828. "type": "string"
  21829. },
  21830. "pricemode": {
  21831. "description": "取价方式 - 1:市价 2: 限价",
  21832. "type": "integer"
  21833. },
  21834. "tradedate": {
  21835. "description": "交易日(yyyyMMdd)",
  21836. "type": "string"
  21837. },
  21838. "tradeqty": {
  21839. "description": "成交数量",
  21840. "type": "integer"
  21841. }
  21842. }
  21843. },
  21844. "models.QueryHedgeTradeDetailRsp": {
  21845. "type": "object",
  21846. "properties": {
  21847. "accountid": {
  21848. "description": "账号ID",
  21849. "type": "integer"
  21850. },
  21851. "buyorsell": {
  21852. "description": "方向 - 0:买 1:卖",
  21853. "type": "integer"
  21854. },
  21855. "channelbuildtype": {
  21856. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21857. "type": "integer"
  21858. },
  21859. "closecharge": {
  21860. "description": "平仓手续费(账户)",
  21861. "type": "number"
  21862. },
  21863. "closecharge2": {
  21864. "description": "平仓手续费(商品)",
  21865. "type": "number"
  21866. },
  21867. "closepl": {
  21868. "description": "平仓盈亏(账户)",
  21869. "type": "number"
  21870. },
  21871. "closepl2": {
  21872. "description": "平仓盈亏(商品)",
  21873. "type": "number"
  21874. },
  21875. "closepl3": {
  21876. "description": "平仓盈亏(账户)(逐笔)",
  21877. "type": "number"
  21878. },
  21879. "closepl4": {
  21880. "description": "平仓盈亏(商品)(逐笔)",
  21881. "type": "number"
  21882. },
  21883. "closetype": {
  21884. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21885. "type": "integer"
  21886. },
  21887. "curexchangerate": {
  21888. "description": "当前汇率",
  21889. "type": "number"
  21890. },
  21891. "exchangefullname": {
  21892. "description": "外部交易所全称",
  21893. "type": "string"
  21894. },
  21895. "goodscode": {
  21896. "description": "商品代码(内部)",
  21897. "type": "string"
  21898. },
  21899. "goodsid": {
  21900. "description": "商品ID",
  21901. "type": "integer"
  21902. },
  21903. "goodsname": {
  21904. "description": "商品名称",
  21905. "type": "string"
  21906. },
  21907. "marketid": {
  21908. "description": "市场ID",
  21909. "type": "integer"
  21910. },
  21911. "opencharge": {
  21912. "description": "建仓手续费(账户)",
  21913. "type": "number"
  21914. },
  21915. "opencharge2": {
  21916. "description": "建仓手续费(商品)",
  21917. "type": "number"
  21918. },
  21919. "orderid": {
  21920. "description": "委托单号",
  21921. "type": "string"
  21922. },
  21923. "orderlogincode": {
  21924. "description": "委托人",
  21925. "type": "string"
  21926. },
  21927. "tradeamount": {
  21928. "description": "成交金额(账户)",
  21929. "type": "number"
  21930. },
  21931. "tradedate": {
  21932. "description": "交易日(yyyyMMdd)",
  21933. "type": "string"
  21934. },
  21935. "tradeid": {
  21936. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21937. "type": "string"
  21938. },
  21939. "tradeprice": {
  21940. "description": "成交价格",
  21941. "type": "number"
  21942. },
  21943. "tradeqty": {
  21944. "description": "成交数量",
  21945. "type": "integer"
  21946. },
  21947. "tradetime": {
  21948. "description": "成交时间",
  21949. "type": "string"
  21950. },
  21951. "tradetype": {
  21952. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21953. "type": "integer"
  21954. }
  21955. }
  21956. },
  21957. "models.QuotePrimaryMenu": {
  21958. "type": "object",
  21959. "properties": {
  21960. "Index": {
  21961. "description": "序号",
  21962. "type": "integer"
  21963. },
  21964. "Key": {
  21965. "description": "键名",
  21966. "type": "string"
  21967. },
  21968. "Name": {
  21969. "description": "菜单名称",
  21970. "type": "string"
  21971. },
  21972. "SubMenus": {
  21973. "description": "子菜单",
  21974. "type": "array",
  21975. "items": {
  21976. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21977. }
  21978. },
  21979. "SubTitleType": {
  21980. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21981. "type": "integer"
  21982. },
  21983. "TradeModes": {
  21984. "description": "包含市场交易类型",
  21985. "type": "string"
  21986. }
  21987. }
  21988. },
  21989. "models.QuoteSecondaryMenu": {
  21990. "type": "object",
  21991. "properties": {
  21992. "ExExchangeCode": {
  21993. "description": "外部交易所代码",
  21994. "type": "string"
  21995. },
  21996. "ExExchangeID": {
  21997. "description": "外部交易所ID",
  21998. "type": "integer"
  21999. },
  22000. "GoodsGroupIDs": {
  22001. "description": "商品组ID列表",
  22002. "type": "array",
  22003. "items": {
  22004. "type": "integer"
  22005. }
  22006. },
  22007. "Index": {
  22008. "description": "序号",
  22009. "type": "integer"
  22010. },
  22011. "MarketID": {
  22012. "description": "市场ID",
  22013. "type": "integer"
  22014. },
  22015. "MenuTitle": {
  22016. "description": "菜单标题(市场名称或外部交易所名称)",
  22017. "type": "string"
  22018. },
  22019. "TradeMode": {
  22020. "description": "交易模式",
  22021. "type": "integer"
  22022. }
  22023. }
  22024. },
  22025. "models.RelatedGoodsEx": {
  22026. "type": "object",
  22027. "properties": {
  22028. "goodscode": {
  22029. "description": "商品代码",
  22030. "type": "string"
  22031. },
  22032. "goodsid": {
  22033. "description": "商品id",
  22034. "type": "integer"
  22035. },
  22036. "goodsname": {
  22037. "description": "商品名称",
  22038. "type": "string"
  22039. }
  22040. }
  22041. },
  22042. "models.SearchGoods": {
  22043. "type": "object",
  22044. "required": [
  22045. "goodscode",
  22046. "goodsid",
  22047. "goodsname",
  22048. "marketid",
  22049. "trademode"
  22050. ],
  22051. "properties": {
  22052. "goodscode": {
  22053. "description": "商品代码(内部)",
  22054. "type": "string"
  22055. },
  22056. "goodsid": {
  22057. "description": "商品ID(自增ID SEQ_GOODS)",
  22058. "type": "integer"
  22059. },
  22060. "goodsname": {
  22061. "description": "商品名称",
  22062. "type": "string"
  22063. },
  22064. "marketid": {
  22065. "description": "所属市场ID",
  22066. "type": "integer"
  22067. },
  22068. "marketname": {
  22069. "description": "市场名称",
  22070. "type": "string"
  22071. },
  22072. "trademode": {
  22073. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22074. "type": "integer"
  22075. }
  22076. }
  22077. },
  22078. "models.Systemparam": {
  22079. "type": "object",
  22080. "required": [
  22081. "paramcode"
  22082. ],
  22083. "properties": {
  22084. "loginid": {
  22085. "description": "更新用户账号,登录账号",
  22086. "type": "string"
  22087. },
  22088. "modifyflag": {
  22089. "description": "修改标志0 不允许修改 1 允许修改",
  22090. "type": "integer"
  22091. },
  22092. "paramcode": {
  22093. "description": "参数代码",
  22094. "type": "string"
  22095. },
  22096. "paramname": {
  22097. "description": "参数名",
  22098. "type": "string"
  22099. },
  22100. "paramtype": {
  22101. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22102. "type": "integer"
  22103. },
  22104. "paramvalue": {
  22105. "description": "参数值",
  22106. "type": "string"
  22107. },
  22108. "paramvalue2": {
  22109. "description": "参数值(CLOB)",
  22110. "type": "string"
  22111. },
  22112. "regexpress": {
  22113. "description": "正则表达式",
  22114. "type": "string"
  22115. },
  22116. "remark": {
  22117. "description": "备注",
  22118. "type": "string"
  22119. },
  22120. "serverip": {
  22121. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22122. "type": "string"
  22123. },
  22124. "showflag": {
  22125. "description": "是否显示0 不显示 1 显示",
  22126. "type": "integer"
  22127. },
  22128. "updatetime": {
  22129. "description": "更新时间",
  22130. "type": "string"
  22131. },
  22132. "userid": {
  22133. "description": "更新用户ID",
  22134. "type": "integer"
  22135. }
  22136. }
  22137. },
  22138. "models.Szdz3convertconfig": {
  22139. "type": "object",
  22140. "required": [
  22141. "converttype",
  22142. "innergoodsid",
  22143. "outergoodscode"
  22144. ],
  22145. "properties": {
  22146. "canin": {
  22147. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22148. "type": "integer"
  22149. },
  22150. "canout": {
  22151. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22152. "type": "integer"
  22153. },
  22154. "converttype": {
  22155. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22156. "type": "integer"
  22157. },
  22158. "createtime": {
  22159. "description": "创建时间",
  22160. "type": "string"
  22161. },
  22162. "creatorid": {
  22163. "description": "创建人",
  22164. "type": "integer"
  22165. },
  22166. "daymaxvalue": {
  22167. "description": "当日最大转入限制",
  22168. "type": "number"
  22169. },
  22170. "freezedays": {
  22171. "description": "冻结天数 [5:花生米转交易]",
  22172. "type": "integer"
  22173. },
  22174. "innergoodsid": {
  22175. "description": "内部商品ID[交易]",
  22176. "type": "integer"
  22177. },
  22178. "inratio": {
  22179. "description": "目标值",
  22180. "type": "integer"
  22181. },
  22182. "modifierid": {
  22183. "description": "修改人",
  22184. "type": "integer"
  22185. },
  22186. "modifytime": {
  22187. "description": "修改时间",
  22188. "type": "string"
  22189. },
  22190. "outergoodscode": {
  22191. "description": "外部商品代码[JD\\PD]",
  22192. "type": "string"
  22193. },
  22194. "outratio": {
  22195. "description": "源值",
  22196. "type": "integer"
  22197. },
  22198. "pddecimalplace": {
  22199. "description": "PD小数位",
  22200. "type": "integer"
  22201. },
  22202. "timemaxvalue": {
  22203. "description": "单次最大转入限制",
  22204. "type": "number"
  22205. },
  22206. "timeminvalue": {
  22207. "description": "单次最小转入限制",
  22208. "type": "number"
  22209. }
  22210. }
  22211. },
  22212. "models.Szdz3searchwhitelist": {
  22213. "type": "object",
  22214. "required": [
  22215. "userid"
  22216. ],
  22217. "properties": {
  22218. "createtime": {
  22219. "description": "创建时间",
  22220. "type": "string"
  22221. },
  22222. "creatorid": {
  22223. "description": "创建人",
  22224. "type": "integer"
  22225. },
  22226. "modifierid": {
  22227. "description": "修改人",
  22228. "type": "integer"
  22229. },
  22230. "modifytime": {
  22231. "description": "修改时间",
  22232. "type": "string"
  22233. },
  22234. "userid": {
  22235. "description": "用户ID",
  22236. "type": "integer"
  22237. }
  22238. }
  22239. },
  22240. "models.Taaccount": {
  22241. "type": "object",
  22242. "required": [
  22243. "accountid",
  22244. "userid"
  22245. ],
  22246. "properties": {
  22247. "accountflag": {
  22248. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22249. "type": "integer"
  22250. },
  22251. "accountid": {
  22252. "description": "资金账户ID",
  22253. "type": "integer"
  22254. },
  22255. "accountname": {
  22256. "description": "账户名称",
  22257. "type": "string"
  22258. },
  22259. "balance": {
  22260. "description": "期初余额",
  22261. "type": "number"
  22262. },
  22263. "capitalbalance": {
  22264. "description": "本金余额[外部子账户实际出入金余额]",
  22265. "type": "number"
  22266. },
  22267. "changeflag": {
  22268. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22269. "type": "integer"
  22270. },
  22271. "changetime": {
  22272. "description": "账户状态变更时间",
  22273. "type": "string"
  22274. },
  22275. "closepl": {
  22276. "description": "今日平仓盈亏",
  22277. "type": "number"
  22278. },
  22279. "creditdecrease": {
  22280. "description": "今日授信减少",
  22281. "type": "number"
  22282. },
  22283. "creditincrease": {
  22284. "description": "今日授信增加",
  22285. "type": "number"
  22286. },
  22287. "currencyid": {
  22288. "description": "货币ID",
  22289. "type": "integer"
  22290. },
  22291. "currentbalance": {
  22292. "description": "期末余额",
  22293. "type": "number"
  22294. },
  22295. "freezecharge": {
  22296. "description": "手续费冻结",
  22297. "type": "number"
  22298. },
  22299. "freezemargin": {
  22300. "description": "冻结保证金",
  22301. "type": "number"
  22302. },
  22303. "fromaccountid": {
  22304. "description": "所属上级账户",
  22305. "type": "integer"
  22306. },
  22307. "inamount": {
  22308. "description": "今日入金金额(包括三方入金)",
  22309. "type": "number"
  22310. },
  22311. "ismain": {
  22312. "description": "是否母账号 0:不是母账户 1:是母账户",
  22313. "type": "integer"
  22314. },
  22315. "ismarketaccount": {
  22316. "description": "是否机构接单账号 0:不是 1:是",
  22317. "type": "integer"
  22318. },
  22319. "isreckonaccount": {
  22320. "description": "是否机构分润账号 0:不是 1:是",
  22321. "type": "integer"
  22322. },
  22323. "mortgagecredit": {
  22324. "description": "授信金额",
  22325. "type": "number"
  22326. },
  22327. "orifreezecharge": {
  22328. "description": "期初手续费冻结",
  22329. "type": "number"
  22330. },
  22331. "orifreezemargin": {
  22332. "description": "期初冻结保证金",
  22333. "type": "number"
  22334. },
  22335. "orimortgagecredit": {
  22336. "description": "期初授信金额",
  22337. "type": "number"
  22338. },
  22339. "oriothercredit": {
  22340. "description": "期初其它授信金额",
  22341. "type": "number"
  22342. },
  22343. "oriotherfreezemargin": {
  22344. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22345. "type": "number"
  22346. },
  22347. "orioutamountfreeze": {
  22348. "description": "期初出金冻结",
  22349. "type": "number"
  22350. },
  22351. "oriusedmargin": {
  22352. "description": "期初占用保证金",
  22353. "type": "number"
  22354. },
  22355. "othercredit": {
  22356. "description": "其它授信金额",
  22357. "type": "number"
  22358. },
  22359. "othercreditdecrease": {
  22360. "description": "今日其它授信减少",
  22361. "type": "number"
  22362. },
  22363. "othercreditincrease": {
  22364. "description": "今日其它授信增加",
  22365. "type": "number"
  22366. },
  22367. "otherfreezemargin": {
  22368. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22369. "type": "number"
  22370. },
  22371. "otherincome": {
  22372. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22373. "type": "number"
  22374. },
  22375. "otherpay": {
  22376. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22377. "type": "number"
  22378. },
  22379. "outamount": {
  22380. "description": "今日出金金额(包括三方出金)",
  22381. "type": "number"
  22382. },
  22383. "outamountfreeze": {
  22384. "description": "出金冻结",
  22385. "type": "number"
  22386. },
  22387. "outthreshold": {
  22388. "description": "出金阈值",
  22389. "type": "number"
  22390. },
  22391. "parentaccountid": {
  22392. "description": "所属根账号",
  22393. "type": "integer"
  22394. },
  22395. "paycharge": {
  22396. "description": "今日手续费支出",
  22397. "type": "number"
  22398. },
  22399. "relatedaccountstatus": {
  22400. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22401. "type": "integer"
  22402. },
  22403. "relateduserid": {
  22404. "description": "关联用户",
  22405. "type": "integer"
  22406. },
  22407. "serivcegroup": {
  22408. "description": "服务分组",
  22409. "type": "integer"
  22410. },
  22411. "signstatus": {
  22412. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22413. "type": "integer"
  22414. },
  22415. "sublevelpath": {
  22416. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22417. "type": "string"
  22418. },
  22419. "taaccounttype": {
  22420. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22421. "type": "integer"
  22422. },
  22423. "thirdinamount": {
  22424. "description": "今日三方入金",
  22425. "type": "number"
  22426. },
  22427. "thirdoutamount": {
  22428. "description": "今日三方出金",
  22429. "type": "number"
  22430. },
  22431. "tradestatus": {
  22432. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22433. "type": "integer"
  22434. },
  22435. "tradestatuschangetime": {
  22436. "description": "激活时间",
  22437. "type": "string"
  22438. },
  22439. "transferamount": {
  22440. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22441. "type": "number"
  22442. },
  22443. "usedmargin": {
  22444. "description": "占用保证金",
  22445. "type": "number"
  22446. },
  22447. "userid": {
  22448. "description": "用户ID",
  22449. "type": "integer"
  22450. }
  22451. }
  22452. },
  22453. "models.Tablecolumnconfig": {
  22454. "type": "object",
  22455. "required": [
  22456. "autoid"
  22457. ],
  22458. "properties": {
  22459. "aligntype": {
  22460. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22461. "type": "integer"
  22462. },
  22463. "autoid": {
  22464. "description": "AutoID",
  22465. "type": "integer"
  22466. },
  22467. "columnfield": {
  22468. "description": "列字段",
  22469. "type": "string"
  22470. },
  22471. "columntitle": {
  22472. "description": "列Title",
  22473. "type": "string"
  22474. },
  22475. "columnwidth": {
  22476. "description": "列宽",
  22477. "type": "string"
  22478. },
  22479. "formatterstring": {
  22480. "description": "格式化字符",
  22481. "type": "string"
  22482. },
  22483. "formattertype": {
  22484. "description": "格式化类型",
  22485. "type": "string"
  22486. },
  22487. "groupname": {
  22488. "description": "表头分组名称",
  22489. "type": "string"
  22490. },
  22491. "isshow": {
  22492. "description": "是否显示 - 0:不显示 1:显示",
  22493. "type": "integer"
  22494. },
  22495. "needsummary": {
  22496. "description": "是否需要汇总 - 0:不需要 1:需要",
  22497. "type": "integer"
  22498. },
  22499. "orderindex": {
  22500. "description": "顺序",
  22501. "type": "integer"
  22502. },
  22503. "remark": {
  22504. "description": "备注",
  22505. "type": "string"
  22506. },
  22507. "summarytype": {
  22508. "description": "汇总类型 - 1:加总 2:最后一个",
  22509. "type": "integer"
  22510. },
  22511. "tablekey": {
  22512. "description": "列表Key",
  22513. "type": "string"
  22514. }
  22515. }
  22516. },
  22517. "models.Useraccount": {
  22518. "type": "object",
  22519. "required": [
  22520. "userid"
  22521. ],
  22522. "properties": {
  22523. "accountname": {
  22524. "description": "账户名称(机构名称)",
  22525. "type": "string"
  22526. },
  22527. "accountstatus": {
  22528. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22529. "type": "integer"
  22530. },
  22531. "auditremark": {
  22532. "description": "审核备注",
  22533. "type": "string"
  22534. },
  22535. "audittime": {
  22536. "description": "审核时间",
  22537. "type": "string"
  22538. },
  22539. "audituserid": {
  22540. "description": "审核人",
  22541. "type": "integer"
  22542. },
  22543. "broker": {
  22544. "description": "所属经纪人ID",
  22545. "type": "integer"
  22546. },
  22547. "canceltime": {
  22548. "description": "销户时间",
  22549. "type": "string"
  22550. },
  22551. "canceluserid": {
  22552. "description": "销户人",
  22553. "type": "integer"
  22554. },
  22555. "createtime": {
  22556. "description": "创建时间",
  22557. "type": "string"
  22558. },
  22559. "creatorid": {
  22560. "description": "创建人",
  22561. "type": "integer"
  22562. },
  22563. "hasauth": {
  22564. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22565. "type": "integer"
  22566. },
  22567. "isanonymous": {
  22568. "description": "是否匿名下单 - 0:否 1:是",
  22569. "type": "integer"
  22570. },
  22571. "maxinvestornum": {
  22572. "description": "最大用户数(经纪会员下投资者个数)",
  22573. "type": "integer"
  22574. },
  22575. "memberuserid": {
  22576. "description": "所属会员ID",
  22577. "type": "integer"
  22578. },
  22579. "modifierid": {
  22580. "description": "修改人",
  22581. "type": "integer"
  22582. },
  22583. "modifyremark": {
  22584. "description": "变更备注",
  22585. "type": "string"
  22586. },
  22587. "modifystatus": {
  22588. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22589. "type": "integer"
  22590. },
  22591. "modifytime": {
  22592. "description": "修改时间",
  22593. "type": "string"
  22594. },
  22595. "parentuserid": {
  22596. "description": "所属机构ID",
  22597. "type": "integer"
  22598. },
  22599. "reckonaccountid": {
  22600. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22601. "type": "integer"
  22602. },
  22603. "refercount": {
  22604. "description": "推荐总人数",
  22605. "type": "integer"
  22606. },
  22607. "refereeuserid": {
  22608. "description": "推荐人ID",
  22609. "type": "integer"
  22610. },
  22611. "refernum": {
  22612. "description": "推荐码",
  22613. "type": "string"
  22614. },
  22615. "subarealevelpath": {
  22616. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22617. "type": "string"
  22618. },
  22619. "userid": {
  22620. "description": "用户ID",
  22621. "type": "integer"
  22622. },
  22623. "usertype": {
  22624. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22625. "type": "integer"
  22626. }
  22627. }
  22628. },
  22629. "models.Userfavoritegoods": {
  22630. "type": "object",
  22631. "required": [
  22632. "goodsid"
  22633. ],
  22634. "properties": {
  22635. "goodsid": {
  22636. "description": "商品ID",
  22637. "type": "integer"
  22638. }
  22639. }
  22640. },
  22641. "models.Userinfo": {
  22642. "type": "object",
  22643. "required": [
  22644. "userid"
  22645. ],
  22646. "properties": {
  22647. "address": {
  22648. "description": "地址",
  22649. "type": "string"
  22650. },
  22651. "attachment1": {
  22652. "description": "附件1",
  22653. "type": "string"
  22654. },
  22655. "attachment2": {
  22656. "description": "附件2",
  22657. "type": "string"
  22658. },
  22659. "bankaccount": {
  22660. "description": "银行帐号 (加密存储)",
  22661. "type": "string"
  22662. },
  22663. "bankaccountname": {
  22664. "description": "收款人名称",
  22665. "type": "string"
  22666. },
  22667. "bankcardfrontphotourl": {
  22668. "description": "银行卡正面照地址",
  22669. "type": "string"
  22670. },
  22671. "bankid": {
  22672. "description": "银行编码",
  22673. "type": "string"
  22674. },
  22675. "bankname": {
  22676. "description": "银行名称",
  22677. "type": "string"
  22678. },
  22679. "biznature": {
  22680. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22681. "type": "integer"
  22682. },
  22683. "bizscope": {
  22684. "description": "企业经营范围(企业)",
  22685. "type": "string"
  22686. },
  22687. "cardbackphotourl": {
  22688. "description": "证件背面图片地址",
  22689. "type": "string"
  22690. },
  22691. "cardfrontphotourl": {
  22692. "description": "证件正面图片地址",
  22693. "type": "string"
  22694. },
  22695. "cardnum": {
  22696. "description": "证件号码(加密存储)",
  22697. "type": "string"
  22698. },
  22699. "cardtypeid": {
  22700. "description": "证件类型ID",
  22701. "type": "integer"
  22702. },
  22703. "cityid": {
  22704. "description": "市",
  22705. "type": "integer"
  22706. },
  22707. "company": {
  22708. "description": "公司(个人)",
  22709. "type": "string"
  22710. },
  22711. "contactname": {
  22712. "description": "联系人",
  22713. "type": "string"
  22714. },
  22715. "countryid": {
  22716. "description": "国家",
  22717. "type": "integer"
  22718. },
  22719. "createtime": {
  22720. "description": "创建时间",
  22721. "type": "string"
  22722. },
  22723. "creatorid": {
  22724. "description": "创建人",
  22725. "type": "integer"
  22726. },
  22727. "customername": {
  22728. "description": "客户名称(企业名称)",
  22729. "type": "string"
  22730. },
  22731. "districtid": {
  22732. "description": "地区",
  22733. "type": "integer"
  22734. },
  22735. "email": {
  22736. "description": "邮件(加密存储)",
  22737. "type": "string"
  22738. },
  22739. "fax": {
  22740. "description": "传真(加密存储)",
  22741. "type": "string"
  22742. },
  22743. "halfbodyphotourl": {
  22744. "description": "半身照地址",
  22745. "type": "string"
  22746. },
  22747. "hasencrypt": {
  22748. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22749. "type": "integer"
  22750. },
  22751. "headurl": {
  22752. "description": "头像地址",
  22753. "type": "string"
  22754. },
  22755. "legalcardbackphotourl": {
  22756. "description": "法人身份证背面照地址",
  22757. "type": "string"
  22758. },
  22759. "legalcardfrontphotourl": {
  22760. "description": "法人身份证正面照地址",
  22761. "type": "string"
  22762. },
  22763. "legalpersonname": {
  22764. "description": "法人姓名(企业)",
  22765. "type": "string"
  22766. },
  22767. "mobile": {
  22768. "description": "手机号码(加密存储)",
  22769. "type": "string"
  22770. },
  22771. "mobile2": {
  22772. "description": "手机号码[明文-尚志]",
  22773. "type": "string"
  22774. },
  22775. "modifierid": {
  22776. "description": "修改人",
  22777. "type": "integer"
  22778. },
  22779. "modifiertime": {
  22780. "description": "修改时间",
  22781. "type": "string"
  22782. },
  22783. "needinvoice": {
  22784. "description": "是否需要发票 - 0:不需要 1:需要",
  22785. "type": "integer"
  22786. },
  22787. "nickname": {
  22788. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22789. "type": "string"
  22790. },
  22791. "openmode": {
  22792. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22793. "type": "integer"
  22794. },
  22795. "otherurl": {
  22796. "description": "其它图片地址[使用分号分隔]",
  22797. "type": "string"
  22798. },
  22799. "postalcode": {
  22800. "description": "邮政编码",
  22801. "type": "string"
  22802. },
  22803. "provinceid": {
  22804. "description": "省",
  22805. "type": "integer"
  22806. },
  22807. "qq": {
  22808. "description": "QQ(加密存储",
  22809. "type": "string"
  22810. },
  22811. "remark": {
  22812. "description": "备注",
  22813. "type": "string"
  22814. },
  22815. "sex": {
  22816. "description": "用户性别 0: 女 1: 男",
  22817. "type": "integer"
  22818. },
  22819. "signpdfurl": {
  22820. "description": "签约pdf文件",
  22821. "type": "string"
  22822. },
  22823. "telphone": {
  22824. "description": "联系电话(加密存储)",
  22825. "type": "string"
  22826. },
  22827. "userid": {
  22828. "description": "用户ID",
  22829. "type": "integer"
  22830. },
  22831. "userinfotype": {
  22832. "description": "用户信息类型 - 1:个人 2:企业",
  22833. "type": "integer"
  22834. },
  22835. "userstatus": {
  22836. "description": "用户状态 - 1:正常 2:注销",
  22837. "type": "integer"
  22838. },
  22839. "usertype": {
  22840. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22841. "type": "integer"
  22842. },
  22843. "wechat": {
  22844. "description": "微信(加密存储)",
  22845. "type": "string"
  22846. },
  22847. "wskhinfo": {
  22848. "description": "开户申请信息(JSON)",
  22849. "type": "string"
  22850. }
  22851. }
  22852. },
  22853. "models.WRSConverTDetail": {
  22854. "type": "object",
  22855. "properties": {
  22856. "convertratio": {
  22857. "description": "套保系数",
  22858. "type": "number"
  22859. },
  22860. "deliverygoodscode": {
  22861. "description": "现货商品代码",
  22862. "type": "string"
  22863. },
  22864. "deliverygoodsid": {
  22865. "description": "现货品种ID",
  22866. "type": "integer"
  22867. },
  22868. "deliverygoodsname": {
  22869. "description": "现货商品名称",
  22870. "type": "string"
  22871. },
  22872. "enumdicname": {
  22873. "description": "单位名称",
  22874. "type": "string"
  22875. },
  22876. "goodsunitid": {
  22877. "description": "套保品种单位id",
  22878. "type": "integer"
  22879. },
  22880. "middlegoodscode": {
  22881. "description": "套保品种代码",
  22882. "type": "string"
  22883. },
  22884. "middlegoodsid": {
  22885. "description": "套保品种ID",
  22886. "type": "integer"
  22887. },
  22888. "middlegoodsname": {
  22889. "description": "套保品种名称",
  22890. "type": "string"
  22891. },
  22892. "modifytime": {
  22893. "description": "修改时间",
  22894. "type": "string"
  22895. },
  22896. "wrstandardid": {
  22897. "description": "品类ID",
  22898. "type": "integer"
  22899. }
  22900. }
  22901. },
  22902. "models.WRStandardInfo": {
  22903. "type": "object",
  22904. "required": [
  22905. "wrstandardid"
  22906. ],
  22907. "properties": {
  22908. "areauserid": {
  22909. "description": "所属机构",
  22910. "type": "integer"
  22911. },
  22912. "convertfactor": {
  22913. "description": "标仓系数",
  22914. "type": "number"
  22915. },
  22916. "createtime": {
  22917. "description": "创建时间",
  22918. "type": "string"
  22919. },
  22920. "creatorid": {
  22921. "description": "创建人",
  22922. "type": "integer"
  22923. },
  22924. "deliverygoodsid": {
  22925. "description": "品种ID",
  22926. "type": "integer"
  22927. },
  22928. "deliverygoodsname": {
  22929. "description": "交割商品名称",
  22930. "type": "string"
  22931. },
  22932. "factoryitemjson": {
  22933. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22934. "type": "string"
  22935. },
  22936. "isvalid": {
  22937. "description": "是否有效 - 0:无效 1:有效",
  22938. "type": "integer"
  22939. },
  22940. "minivalue": {
  22941. "description": "最小变动值",
  22942. "type": "integer"
  22943. },
  22944. "minivaluedp": {
  22945. "description": "最小变动值小数位",
  22946. "type": "integer"
  22947. },
  22948. "realminivalue": {
  22949. "description": "实际最小变动值",
  22950. "type": "integer"
  22951. },
  22952. "realminivaluedp": {
  22953. "description": "实际最小变动值小数位",
  22954. "type": "integer"
  22955. },
  22956. "remark": {
  22957. "description": "备注",
  22958. "type": "string"
  22959. },
  22960. "unitid": {
  22961. "description": "单位ID",
  22962. "type": "integer"
  22963. },
  22964. "unitname": {
  22965. "description": "单位",
  22966. "type": "string"
  22967. },
  22968. "updatetime": {
  22969. "description": "更新时间",
  22970. "type": "string"
  22971. },
  22972. "updatorid": {
  22973. "description": "更新人",
  22974. "type": "integer"
  22975. },
  22976. "wrsstatus": {
  22977. "description": "状态 - 作废 - 0:未激活 1:正常",
  22978. "type": "integer"
  22979. },
  22980. "wrstandardcode": {
  22981. "description": "现货品类代码",
  22982. "type": "string"
  22983. },
  22984. "wrstandardid": {
  22985. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22986. "type": "integer"
  22987. },
  22988. "wrstandardname": {
  22989. "description": "现货品类名称",
  22990. "type": "string"
  22991. }
  22992. }
  22993. },
  22994. "models.Warehouseinfo": {
  22995. "type": "object",
  22996. "required": [
  22997. "autoid",
  22998. "warehousecode"
  22999. ],
  23000. "properties": {
  23001. "address": {
  23002. "description": "详细地址",
  23003. "type": "string"
  23004. },
  23005. "areauserid": {
  23006. "description": "所属机构",
  23007. "type": "integer"
  23008. },
  23009. "autoid": {
  23010. "description": "自增ID",
  23011. "type": "integer"
  23012. },
  23013. "cityid": {
  23014. "description": "市",
  23015. "type": "integer"
  23016. },
  23017. "contactname": {
  23018. "description": "联系人",
  23019. "type": "string"
  23020. },
  23021. "contactnum": {
  23022. "description": "联系电话",
  23023. "type": "string"
  23024. },
  23025. "countryid": {
  23026. "description": "国家",
  23027. "type": "integer"
  23028. },
  23029. "createtime": {
  23030. "description": "创建时间",
  23031. "type": "string"
  23032. },
  23033. "districtid": {
  23034. "description": "区",
  23035. "type": "integer"
  23036. },
  23037. "hasvideo": {
  23038. "description": "是否有视频 - 0:无 1:有",
  23039. "type": "integer"
  23040. },
  23041. "provinceid": {
  23042. "description": "省",
  23043. "type": "integer"
  23044. },
  23045. "remark": {
  23046. "description": "审核备注",
  23047. "type": "string"
  23048. },
  23049. "videourl": {
  23050. "description": "视频地址",
  23051. "type": "string"
  23052. },
  23053. "warehousecode": {
  23054. "description": "仓库代码",
  23055. "type": "string"
  23056. },
  23057. "warehousename": {
  23058. "description": "仓库名称",
  23059. "type": "string"
  23060. },
  23061. "warehousestatus": {
  23062. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23063. "type": "integer"
  23064. },
  23065. "warehousetype": {
  23066. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23067. "type": "integer"
  23068. }
  23069. }
  23070. },
  23071. "order.QueryHisTradeDetailRsp": {
  23072. "type": "object",
  23073. "required": [
  23074. "accountid",
  23075. "buyorsell",
  23076. "goodsid",
  23077. "histradedate",
  23078. "marketid",
  23079. "memberuserid",
  23080. "orderid",
  23081. "tradeamount",
  23082. "tradedate",
  23083. "tradeid",
  23084. "tradeprice",
  23085. "tradeqty",
  23086. "tradetime"
  23087. ],
  23088. "properties": {
  23089. "accountid": {
  23090. "description": "账户ID[报价币种]",
  23091. "type": "integer"
  23092. },
  23093. "buildtype": {
  23094. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23095. "type": "integer"
  23096. },
  23097. "buyorsell": {
  23098. "description": "方向 - 0:买 1:卖",
  23099. "type": "integer"
  23100. },
  23101. "charge": {
  23102. "description": "手续费",
  23103. "type": "number"
  23104. },
  23105. "closecharge": {
  23106. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23107. "type": "number"
  23108. },
  23109. "closeexchagechargevalue": {
  23110. "description": "平仓交易所手续费设置值",
  23111. "type": "number"
  23112. },
  23113. "closefeealgorithm": {
  23114. "description": "平仓手续费收取方式 1:比率 2:固定",
  23115. "type": "integer"
  23116. },
  23117. "closememberchargevalue": {
  23118. "description": "平仓会员手续费设置值",
  23119. "type": "number"
  23120. },
  23121. "closepl": {
  23122. "description": "平仓盈亏",
  23123. "type": "number"
  23124. },
  23125. "closepl2": {
  23126. "description": "平仓盈亏[逐笔]",
  23127. "type": "number"
  23128. },
  23129. "closeqty": {
  23130. "description": "平仓数量(先建后平操作 需要记录)",
  23131. "type": "integer"
  23132. },
  23133. "creditamount": {
  23134. "description": "授信金额",
  23135. "type": "number"
  23136. },
  23137. "gcaccountid": {
  23138. "description": "账户ID[合约币种]",
  23139. "type": "integer"
  23140. },
  23141. "goodscode": {
  23142. "description": "商品代码",
  23143. "type": "string"
  23144. },
  23145. "goodsid": {
  23146. "description": "商品ID",
  23147. "type": "integer"
  23148. },
  23149. "goodsname": {
  23150. "description": "商品名称",
  23151. "type": "string"
  23152. },
  23153. "histradedate": {
  23154. "description": "历史交易日",
  23155. "type": "string"
  23156. },
  23157. "intclosepl": {
  23158. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23159. "type": "integer"
  23160. },
  23161. "isconfirmexercise": {
  23162. "description": "是否确认行权- 0:否 1:是",
  23163. "type": "integer"
  23164. },
  23165. "ismain": {
  23166. "description": "是否主单 - 0:不是 1:是",
  23167. "type": "integer"
  23168. },
  23169. "ispreexercise": {
  23170. "description": "是否预申报- 0:否 1:是",
  23171. "type": "integer"
  23172. },
  23173. "isreckoned": {
  23174. "description": "是否结算 - 0:未结算 1:已结算",
  23175. "type": "integer"
  23176. },
  23177. "isvaliddata": {
  23178. "description": "是否有效 - 0:无效 1:有效",
  23179. "type": "integer"
  23180. },
  23181. "listingselecttype": {
  23182. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23183. "type": "integer"
  23184. },
  23185. "marketid": {
  23186. "description": "市场ID",
  23187. "type": "integer"
  23188. },
  23189. "marketname": {
  23190. "description": "市场名称",
  23191. "type": "string"
  23192. },
  23193. "matchaccountid": {
  23194. "description": "对手账号id",
  23195. "type": "integer"
  23196. },
  23197. "memberuserid": {
  23198. "description": "会员id 个人投资者 需要填写",
  23199. "type": "integer"
  23200. },
  23201. "opencharge": {
  23202. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23203. "type": "number"
  23204. },
  23205. "openexchagechargevalue": {
  23206. "description": "建仓交易所手续费设置值",
  23207. "type": "number"
  23208. },
  23209. "openfeealgorithm": {
  23210. "description": "建仓手续费收取方式 1:比率 2:固定",
  23211. "type": "integer"
  23212. },
  23213. "openmemberchargevalue": {
  23214. "description": "建仓会员手续费设置值",
  23215. "type": "number"
  23216. },
  23217. "openqty": {
  23218. "description": "开仓数量(先建后平操作 需要记录)",
  23219. "type": "integer"
  23220. },
  23221. "optiontype": {
  23222. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23223. "type": "integer"
  23224. },
  23225. "orderid": {
  23226. "description": "委托单号",
  23227. "type": "string"
  23228. },
  23229. "performanceplanid": {
  23230. "description": "履约计划ID[期权]",
  23231. "type": "integer"
  23232. },
  23233. "performancestatus": {
  23234. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23235. "type": "integer"
  23236. },
  23237. "preexerciseprice": {
  23238. "description": "预申报价格",
  23239. "type": "number"
  23240. },
  23241. "premium": {
  23242. "description": "权利金 - [持仓单的权利金]",
  23243. "type": "number"
  23244. },
  23245. "relatedouttradeid": {
  23246. "description": "关联外部成交单ID",
  23247. "type": "integer"
  23248. },
  23249. "status": {
  23250. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23251. "type": "integer"
  23252. },
  23253. "tradeamount": {
  23254. "description": "成交金额[账户币种,用于所有权]",
  23255. "type": "number"
  23256. },
  23257. "tradedate": {
  23258. "description": "交易日(yyyyMMdd)",
  23259. "type": "string"
  23260. },
  23261. "tradeid": {
  23262. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23263. "type": "string"
  23264. },
  23265. "trademode": {
  23266. "description": "交易模式",
  23267. "type": "integer"
  23268. },
  23269. "tradeprice": {
  23270. "description": "成交价格",
  23271. "type": "number"
  23272. },
  23273. "tradeproperty": {
  23274. "description": "交易属性",
  23275. "type": "integer"
  23276. },
  23277. "tradeqty": {
  23278. "description": "成交数量",
  23279. "type": "integer"
  23280. },
  23281. "tradetime": {
  23282. "description": "成交时间",
  23283. "type": "string"
  23284. },
  23285. "tradetype": {
  23286. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23287. "type": "integer"
  23288. }
  23289. }
  23290. },
  23291. "order.QueryHisTradeOrderDetailRsp": {
  23292. "type": "object",
  23293. "required": [
  23294. "accountid",
  23295. "buildtype",
  23296. "buyorsell",
  23297. "goodsid",
  23298. "histradedate",
  23299. "marketid",
  23300. "memberuserid",
  23301. "operatetype",
  23302. "orderid",
  23303. "orderqty",
  23304. "ordertime",
  23305. "pricemode",
  23306. "tradedate",
  23307. "validtype"
  23308. ],
  23309. "properties": {
  23310. "accountid": {
  23311. "description": "账户ID[报价币种]",
  23312. "type": "integer"
  23313. },
  23314. "buildtype": {
  23315. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23316. "type": "integer"
  23317. },
  23318. "buyorsell": {
  23319. "description": "买卖 - 0:买 1:卖",
  23320. "type": "integer"
  23321. },
  23322. "cancelorderid": {
  23323. "description": "撤单单号(撤单时填写)",
  23324. "type": "string"
  23325. },
  23326. "cancelqty": {
  23327. "description": "撤单数量",
  23328. "type": "integer"
  23329. },
  23330. "clientordertime": {
  23331. "description": "客户端委托时间",
  23332. "type": "string"
  23333. },
  23334. "clientticket": {
  23335. "description": "客户端流水号",
  23336. "type": "string"
  23337. },
  23338. "clienttype": {
  23339. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23340. "type": "integer"
  23341. },
  23342. "closeexchagechargevalue": {
  23343. "description": "平仓交易所手续费设置值",
  23344. "type": "number"
  23345. },
  23346. "closefeealgorithm": {
  23347. "description": "平仓手续费收取方式 1:比率 2:固定",
  23348. "type": "integer"
  23349. },
  23350. "closefreezecharge": {
  23351. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23352. "type": "number"
  23353. },
  23354. "closememberchargevalue": {
  23355. "description": "平仓会员手续费设置值",
  23356. "type": "number"
  23357. },
  23358. "closeqty": {
  23359. "description": "平仓数量(先建后平操作 需要记录)",
  23360. "type": "integer"
  23361. },
  23362. "closetradeqty": {
  23363. "description": "平仓成交数量(先建后平操作,需要记录)",
  23364. "type": "integer"
  23365. },
  23366. "closeunfreezecharge": {
  23367. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23368. "type": "number"
  23369. },
  23370. "delistingtype": {
  23371. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23372. "type": "integer"
  23373. },
  23374. "freezecharge": {
  23375. "description": "冻结手续费",
  23376. "type": "number"
  23377. },
  23378. "freezemargin": {
  23379. "description": "冻结保证金(冻结交易金额)",
  23380. "type": "number"
  23381. },
  23382. "gcaccountid": {
  23383. "description": "账户ID[合约币种]",
  23384. "type": "integer"
  23385. },
  23386. "goodscode": {
  23387. "description": "商品代码",
  23388. "type": "string"
  23389. },
  23390. "goodsid": {
  23391. "description": "商品ID",
  23392. "type": "integer"
  23393. },
  23394. "goodsname": {
  23395. "description": "商品名称",
  23396. "type": "string"
  23397. },
  23398. "histradedate": {
  23399. "description": "历史交易日",
  23400. "type": "string"
  23401. },
  23402. "isconfirmexercise": {
  23403. "description": "是否确认行权- 0:否 1:是",
  23404. "type": "integer"
  23405. },
  23406. "ispreexercise": {
  23407. "description": "是否预申报- 0:否 1:是",
  23408. "type": "integer"
  23409. },
  23410. "isvaliddata": {
  23411. "description": "是否有效 - 0:无效 1:有效",
  23412. "type": "integer"
  23413. },
  23414. "listingselecttype": {
  23415. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23416. "type": "integer"
  23417. },
  23418. "marginalgorithm": {
  23419. "description": "保证金收取方式 1:比率 2:固定",
  23420. "type": "integer"
  23421. },
  23422. "marginvalue": {
  23423. "description": "即市保证金设置值",
  23424. "type": "number"
  23425. },
  23426. "marketid": {
  23427. "description": "市场ID",
  23428. "type": "integer"
  23429. },
  23430. "marketmaxsub": {
  23431. "description": "市价最大偏移范围",
  23432. "type": "number"
  23433. },
  23434. "marketname": {
  23435. "description": "市场名称",
  23436. "type": "string"
  23437. },
  23438. "memberuserid": {
  23439. "description": "所属会员UserID",
  23440. "type": "integer"
  23441. },
  23442. "openexchagechargevalue": {
  23443. "description": "建仓交易所手续费设置值",
  23444. "type": "number"
  23445. },
  23446. "openfeealgorithm": {
  23447. "description": "建仓手续费收取方式 1:比率 2:固定",
  23448. "type": "integer"
  23449. },
  23450. "openfreezecharge": {
  23451. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23452. "type": "number"
  23453. },
  23454. "openmemberchargevalue": {
  23455. "description": "建仓会员手续费设置值",
  23456. "type": "number"
  23457. },
  23458. "openqty": {
  23459. "description": "开仓数量(先建后平操作,需要记录)",
  23460. "type": "integer"
  23461. },
  23462. "opentradeqty": {
  23463. "description": "开仓成交数量(先建后平操作,需要记录)",
  23464. "type": "integer"
  23465. },
  23466. "openunfreezecharge": {
  23467. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23468. "type": "number"
  23469. },
  23470. "operatetype": {
  23471. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23472. "type": "integer"
  23473. },
  23474. "operatorid": {
  23475. "description": "登录账号(LoginID)",
  23476. "type": "integer"
  23477. },
  23478. "optiontype": {
  23479. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23480. "type": "integer"
  23481. },
  23482. "orderid": {
  23483. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23484. "type": "string"
  23485. },
  23486. "orderprice": {
  23487. "description": "委托价格",
  23488. "type": "number"
  23489. },
  23490. "orderqty": {
  23491. "description": "委托数量",
  23492. "type": "integer"
  23493. },
  23494. "ordersrc": {
  23495. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23496. "type": "integer"
  23497. },
  23498. "orderstatus": {
  23499. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23500. "type": "integer"
  23501. },
  23502. "ordertime": {
  23503. "description": "委托时间",
  23504. "type": "string"
  23505. },
  23506. "preexerciseprice": {
  23507. "description": "预申报价格",
  23508. "type": "number"
  23509. },
  23510. "premium": {
  23511. "description": "权利金",
  23512. "type": "number"
  23513. },
  23514. "preorderid": {
  23515. "description": "关联预埋单号(止盈止损单时填写)",
  23516. "type": "string"
  23517. },
  23518. "pricemode": {
  23519. "description": "取价方式 - 1:市价 2: 限价",
  23520. "type": "integer"
  23521. },
  23522. "quoteid": {
  23523. "description": "报价单ID",
  23524. "type": "integer"
  23525. },
  23526. "relatedid": {
  23527. "description": "关联单号(交割单)",
  23528. "type": "string"
  23529. },
  23530. "retcode": {
  23531. "description": "错误代码",
  23532. "type": "integer"
  23533. },
  23534. "sessionid": {
  23535. "description": "会话ID",
  23536. "type": "integer"
  23537. },
  23538. "tradedate": {
  23539. "description": "交易日(yyyyMMdd)",
  23540. "type": "string"
  23541. },
  23542. "trademode": {
  23543. "description": "交易模式",
  23544. "type": "integer"
  23545. },
  23546. "tradeproperty": {
  23547. "description": "交易属性",
  23548. "type": "integer"
  23549. },
  23550. "tradeqty": {
  23551. "description": "成交数量",
  23552. "type": "integer"
  23553. },
  23554. "unfreezecharge": {
  23555. "description": "解冻手续费",
  23556. "type": "number"
  23557. },
  23558. "unfreezemargin": {
  23559. "description": "解冻保证金",
  23560. "type": "number"
  23561. },
  23562. "updatetime": {
  23563. "description": "更新时间",
  23564. "type": "string"
  23565. },
  23566. "uuid": {
  23567. "description": "发起端唯一id",
  23568. "type": "string"
  23569. },
  23570. "validtime": {
  23571. "description": "有效期限",
  23572. "type": "string"
  23573. },
  23574. "validtype": {
  23575. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23576. "type": "integer"
  23577. },
  23578. "volumetype": {
  23579. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23580. "type": "integer"
  23581. }
  23582. }
  23583. },
  23584. "order.QueryTradeDetailRsp": {
  23585. "type": "object",
  23586. "required": [
  23587. "accountid",
  23588. "buyorsell",
  23589. "goodsid",
  23590. "marketid",
  23591. "memberuserid",
  23592. "orderid",
  23593. "tradeamount",
  23594. "tradedate",
  23595. "tradeid",
  23596. "tradeprice",
  23597. "tradeqty",
  23598. "tradetime"
  23599. ],
  23600. "properties": {
  23601. "accountid": {
  23602. "description": "账户ID[报价币种]",
  23603. "type": "integer"
  23604. },
  23605. "buildtype": {
  23606. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23607. "type": "integer"
  23608. },
  23609. "buyorsell": {
  23610. "description": "方向 - 0:买 1:卖",
  23611. "type": "integer"
  23612. },
  23613. "charge": {
  23614. "description": "手续费",
  23615. "type": "number"
  23616. },
  23617. "closecharge": {
  23618. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23619. "type": "number"
  23620. },
  23621. "closeexchagechargevalue": {
  23622. "description": "平仓交易所手续费设置值",
  23623. "type": "number"
  23624. },
  23625. "closefeealgorithm": {
  23626. "description": "平仓手续费收取方式 1:比率 2:固定",
  23627. "type": "integer"
  23628. },
  23629. "closememberchargevalue": {
  23630. "description": "平仓会员手续费设置值",
  23631. "type": "number"
  23632. },
  23633. "closepl": {
  23634. "description": "平仓盈亏",
  23635. "type": "number"
  23636. },
  23637. "closepl2": {
  23638. "description": "平仓盈亏[逐笔]",
  23639. "type": "number"
  23640. },
  23641. "closeqty": {
  23642. "description": "平仓数量(先建后平操作 需要记录)",
  23643. "type": "integer"
  23644. },
  23645. "creditamount": {
  23646. "description": "授信金额",
  23647. "type": "number"
  23648. },
  23649. "gcaccountid": {
  23650. "description": "账户ID[合约币种]",
  23651. "type": "integer"
  23652. },
  23653. "goodscode": {
  23654. "description": "商品代码",
  23655. "type": "string"
  23656. },
  23657. "goodsid": {
  23658. "description": "商品ID",
  23659. "type": "integer"
  23660. },
  23661. "goodsname": {
  23662. "description": "商品名称",
  23663. "type": "string"
  23664. },
  23665. "intclosepl": {
  23666. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23667. "type": "integer"
  23668. },
  23669. "isconfirmexercise": {
  23670. "description": "是否确认行权- 0:否 1:是",
  23671. "type": "integer"
  23672. },
  23673. "ismain": {
  23674. "description": "是否主单 - 0:不是 1:是",
  23675. "type": "integer"
  23676. },
  23677. "ispreexercise": {
  23678. "description": "是否预申报- 0:否 1:是",
  23679. "type": "integer"
  23680. },
  23681. "isreckoned": {
  23682. "description": "是否结算 - 0:未结算 1:已结算",
  23683. "type": "integer"
  23684. },
  23685. "listingselecttype": {
  23686. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23687. "type": "integer"
  23688. },
  23689. "marketid": {
  23690. "description": "市场ID",
  23691. "type": "integer"
  23692. },
  23693. "marketname": {
  23694. "description": "市场名称",
  23695. "type": "string"
  23696. },
  23697. "matchaccountid": {
  23698. "description": "对手账号id",
  23699. "type": "integer"
  23700. },
  23701. "memberuserid": {
  23702. "description": "会员id 个人投资者 需要填写",
  23703. "type": "integer"
  23704. },
  23705. "opencharge": {
  23706. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23707. "type": "number"
  23708. },
  23709. "openexchagechargevalue": {
  23710. "description": "建仓交易所手续费设置值",
  23711. "type": "number"
  23712. },
  23713. "openfeealgorithm": {
  23714. "description": "建仓手续费收取方式 1:比率 2:固定",
  23715. "type": "integer"
  23716. },
  23717. "openmemberchargevalue": {
  23718. "description": "建仓会员手续费设置值",
  23719. "type": "number"
  23720. },
  23721. "openqty": {
  23722. "description": "开仓数量(先建后平操作 需要记录)",
  23723. "type": "integer"
  23724. },
  23725. "optiontype": {
  23726. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23727. "type": "integer"
  23728. },
  23729. "orderid": {
  23730. "description": "委托单号",
  23731. "type": "string"
  23732. },
  23733. "performanceplanid": {
  23734. "description": "履约计划ID[期权]",
  23735. "type": "integer"
  23736. },
  23737. "performancestatus": {
  23738. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23739. "type": "integer"
  23740. },
  23741. "preexerciseprice": {
  23742. "description": "预申报价格",
  23743. "type": "number"
  23744. },
  23745. "premium": {
  23746. "description": "权利金 - [持仓单的权利金]",
  23747. "type": "number"
  23748. },
  23749. "relatedouttradeid": {
  23750. "description": "关联外部成交单ID",
  23751. "type": "integer"
  23752. },
  23753. "status": {
  23754. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23755. "type": "integer"
  23756. },
  23757. "tradeamount": {
  23758. "description": "成交金额[账户币种,用于所有权]",
  23759. "type": "number"
  23760. },
  23761. "tradedate": {
  23762. "description": "交易日(yyyyMMdd)",
  23763. "type": "string"
  23764. },
  23765. "tradeid": {
  23766. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23767. "type": "string"
  23768. },
  23769. "trademode": {
  23770. "description": "交易模式",
  23771. "type": "integer"
  23772. },
  23773. "tradeprice": {
  23774. "description": "成交价格",
  23775. "type": "number"
  23776. },
  23777. "tradeproperty": {
  23778. "description": "交易属性",
  23779. "type": "integer"
  23780. },
  23781. "tradeqty": {
  23782. "description": "成交数量",
  23783. "type": "integer"
  23784. },
  23785. "tradetime": {
  23786. "description": "成交时间",
  23787. "type": "string"
  23788. },
  23789. "tradetype": {
  23790. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23791. "type": "integer"
  23792. }
  23793. }
  23794. },
  23795. "order.QueryTradeOrderDetailRsp": {
  23796. "type": "object",
  23797. "required": [
  23798. "accountid",
  23799. "buildtype",
  23800. "buyorsell",
  23801. "goodsid",
  23802. "marketid",
  23803. "operatetype",
  23804. "orderqty",
  23805. "ordertime",
  23806. "pricemode",
  23807. "tradedate",
  23808. "validtype"
  23809. ],
  23810. "properties": {
  23811. "accountid": {
  23812. "description": "账户ID[报价币种]",
  23813. "type": "integer"
  23814. },
  23815. "buildtype": {
  23816. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23817. "type": "integer"
  23818. },
  23819. "buyorsell": {
  23820. "description": "买卖 - 0:买 1:卖",
  23821. "type": "integer"
  23822. },
  23823. "cancelorderid": {
  23824. "description": "撤单单号(撤单时填写)",
  23825. "type": "string"
  23826. },
  23827. "cancelqty": {
  23828. "description": "撤单数量",
  23829. "type": "integer"
  23830. },
  23831. "clienttype": {
  23832. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23833. "type": "integer"
  23834. },
  23835. "closefreezecharge": {
  23836. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23837. "type": "number"
  23838. },
  23839. "closeqty": {
  23840. "description": "平仓数量(先建后平操作 需要记录)",
  23841. "type": "integer"
  23842. },
  23843. "closetradeqty": {
  23844. "description": "平仓成交数量(先建后平操作,需要记录)",
  23845. "type": "integer"
  23846. },
  23847. "closeunfreezecharge": {
  23848. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23849. "type": "number"
  23850. },
  23851. "delistingtype": {
  23852. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23853. "type": "integer"
  23854. },
  23855. "enableqty": {
  23856. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23857. "type": "integer"
  23858. },
  23859. "freezecharge": {
  23860. "description": "冻结手续费",
  23861. "type": "number"
  23862. },
  23863. "freezemargin": {
  23864. "description": "冻结保证金(冻结交易金额)",
  23865. "type": "number"
  23866. },
  23867. "goodscode": {
  23868. "description": "商品代码",
  23869. "type": "string"
  23870. },
  23871. "goodsid": {
  23872. "description": "商品ID",
  23873. "type": "integer"
  23874. },
  23875. "goodsname": {
  23876. "description": "商品名称",
  23877. "type": "string"
  23878. },
  23879. "listingselecttype": {
  23880. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23881. "type": "integer"
  23882. },
  23883. "marketid": {
  23884. "description": "市场ID",
  23885. "type": "integer"
  23886. },
  23887. "marketname": {
  23888. "description": "市场名称",
  23889. "type": "string"
  23890. },
  23891. "openfreezecharge": {
  23892. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23893. "type": "number"
  23894. },
  23895. "openqty": {
  23896. "description": "开仓数量(先建后平操作,需要记录)",
  23897. "type": "integer"
  23898. },
  23899. "opentradeqty": {
  23900. "description": "开仓成交数量(先建后平操作,需要记录)",
  23901. "type": "integer"
  23902. },
  23903. "openunfreezecharge": {
  23904. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23905. "type": "number"
  23906. },
  23907. "operatetype": {
  23908. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23909. "type": "integer"
  23910. },
  23911. "operatorid": {
  23912. "description": "登录账号(LoginID)",
  23913. "type": "integer"
  23914. },
  23915. "orderid": {
  23916. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23917. "type": "string"
  23918. },
  23919. "orderprice": {
  23920. "description": "委托价格",
  23921. "type": "number"
  23922. },
  23923. "orderqty": {
  23924. "description": "委托数量",
  23925. "type": "integer"
  23926. },
  23927. "ordersrc": {
  23928. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23929. "type": "integer"
  23930. },
  23931. "orderstatus": {
  23932. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23933. "type": "integer"
  23934. },
  23935. "ordertime": {
  23936. "description": "委托时间",
  23937. "type": "string"
  23938. },
  23939. "preorderid": {
  23940. "description": "关联预埋单号(止盈止损单时填写)",
  23941. "type": "string"
  23942. },
  23943. "pricemode": {
  23944. "description": "取价方式 - 1:市价 2: 限价",
  23945. "type": "integer"
  23946. },
  23947. "relatedid": {
  23948. "description": "关联单号(交割单)",
  23949. "type": "string"
  23950. },
  23951. "tradedate": {
  23952. "description": "交易日(yyyyMMdd)",
  23953. "type": "string"
  23954. },
  23955. "trademode": {
  23956. "description": "交易模式",
  23957. "type": "integer"
  23958. },
  23959. "tradeqty": {
  23960. "description": "成交数量",
  23961. "type": "integer"
  23962. },
  23963. "unfreezecharge": {
  23964. "description": "解冻手续费",
  23965. "type": "number"
  23966. },
  23967. "unfreezemargin": {
  23968. "description": "解冻保证金",
  23969. "type": "number"
  23970. },
  23971. "validtime": {
  23972. "description": "有效期限",
  23973. "type": "string"
  23974. },
  23975. "validtype": {
  23976. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23977. "type": "integer"
  23978. },
  23979. "volumetype": {
  23980. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23981. "type": "integer"
  23982. }
  23983. }
  23984. },
  23985. "order.QueryTradePositionRsp": {
  23986. "type": "object",
  23987. "required": [
  23988. "goodsid"
  23989. ],
  23990. "properties": {
  23991. "accountid": {
  23992. "description": "资金账户",
  23993. "type": "integer"
  23994. },
  23995. "agreeunit": {
  23996. "description": "合约单位",
  23997. "type": "number"
  23998. },
  23999. "averageprice": {
  24000. "description": "持仓均价",
  24001. "type": "number"
  24002. },
  24003. "buyorsell": {
  24004. "description": "方向 - 0:买 1:卖",
  24005. "type": "integer"
  24006. },
  24007. "closetotalqty": {
  24008. "description": "平仓总数量",
  24009. "type": "integer"
  24010. },
  24011. "curholderamount": {
  24012. "description": "当前持仓总金额[商品币种]",
  24013. "type": "number"
  24014. },
  24015. "curpositionqty": {
  24016. "description": "当前持仓总数量",
  24017. "type": "integer"
  24018. },
  24019. "currencyid": {
  24020. "description": "报价货币ID",
  24021. "type": "integer"
  24022. },
  24023. "curtdposition": {
  24024. "description": "期末今日头寸",
  24025. "type": "integer"
  24026. },
  24027. "decimalplace": {
  24028. "description": "报价小数位",
  24029. "type": "integer"
  24030. },
  24031. "enableqty": {
  24032. "description": "可用量",
  24033. "type": "integer"
  24034. },
  24035. "fretdposition": {
  24036. "description": "冻结今日头寸",
  24037. "type": "integer"
  24038. },
  24039. "frozenqty": {
  24040. "description": "持仓冻结数量",
  24041. "type": "integer"
  24042. },
  24043. "goodscode": {
  24044. "description": "商品代码",
  24045. "type": "string"
  24046. },
  24047. "goodsid": {
  24048. "description": "商品Id",
  24049. "type": "integer"
  24050. },
  24051. "goodsname": {
  24052. "description": "商品名称",
  24053. "type": "string"
  24054. },
  24055. "goodunit": {
  24056. "description": "报价单位",
  24057. "type": "string"
  24058. },
  24059. "goodunitid": {
  24060. "description": "报价单位ID",
  24061. "type": "integer"
  24062. },
  24063. "holderamount": {
  24064. "description": "期初持仓总金额[商品币种]",
  24065. "type": "number"
  24066. },
  24067. "marketid": {
  24068. "description": "所属市场ID",
  24069. "type": "integer"
  24070. },
  24071. "openreqqty": {
  24072. "description": "开仓申请数量(用于比较最大持仓数量)",
  24073. "type": "integer"
  24074. },
  24075. "opentotalqty": {
  24076. "description": "开仓总数量",
  24077. "type": "integer"
  24078. },
  24079. "otherfrozenqty": {
  24080. "description": "持仓其他冻结数量(交割冻结)",
  24081. "type": "integer"
  24082. },
  24083. "positionqty": {
  24084. "description": "期初持仓数量",
  24085. "type": "integer"
  24086. },
  24087. "tnqty": {
  24088. "description": "T+N冻结总量",
  24089. "type": "integer"
  24090. },
  24091. "tnusedqty": {
  24092. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24093. "type": "integer"
  24094. },
  24095. "trademode": {
  24096. "description": "交易模式",
  24097. "type": "integer"
  24098. },
  24099. "usedmargin": {
  24100. "description": "占用保证金[商品币种]",
  24101. "type": "number"
  24102. }
  24103. }
  24104. },
  24105. "quote.HistoryData": {
  24106. "type": "object",
  24107. "properties": {
  24108. "c": {
  24109. "description": "收盘价",
  24110. "type": "number"
  24111. },
  24112. "f": {
  24113. "description": "是否补充数据",
  24114. "type": "boolean"
  24115. },
  24116. "h": {
  24117. "description": "最高价",
  24118. "type": "number"
  24119. },
  24120. "hv": {
  24121. "description": "持仓量",
  24122. "type": "integer"
  24123. },
  24124. "l": {
  24125. "description": "最低价",
  24126. "type": "number"
  24127. },
  24128. "o": {
  24129. "description": "开盘价",
  24130. "type": "number"
  24131. },
  24132. "s": {
  24133. "description": "结算价,日线周期(包括)以上才有",
  24134. "type": "number"
  24135. },
  24136. "ts": {
  24137. "description": "时间",
  24138. "type": "string"
  24139. },
  24140. "tt": {
  24141. "description": "总金额",
  24142. "type": "number"
  24143. },
  24144. "tv": {
  24145. "description": "总量",
  24146. "type": "integer"
  24147. }
  24148. }
  24149. },
  24150. "quote.HistoryTikData": {
  24151. "type": "object",
  24152. "properties": {
  24153. "AV": {
  24154. "description": "卖量",
  24155. "type": "integer"
  24156. },
  24157. "Ask": {
  24158. "description": "卖价",
  24159. "type": "number"
  24160. },
  24161. "BV": {
  24162. "description": "买量",
  24163. "type": "integer"
  24164. },
  24165. "Bid": {
  24166. "description": "买价",
  24167. "type": "number"
  24168. },
  24169. "HI": {
  24170. "description": "单笔持仓",
  24171. "type": "integer"
  24172. },
  24173. "HV": {
  24174. "description": "持仓量",
  24175. "type": "integer"
  24176. },
  24177. "PE": {
  24178. "description": "现价",
  24179. "type": "number"
  24180. },
  24181. "TDR": {
  24182. "description": "交易方向,0:买 1:卖",
  24183. "type": "integer"
  24184. },
  24185. "TK": {
  24186. "description": "交易类型",
  24187. "type": "integer"
  24188. },
  24189. "TS": {
  24190. "description": "行情时间文本",
  24191. "type": "string"
  24192. },
  24193. "TT": {
  24194. "description": "现金额",
  24195. "type": "number"
  24196. },
  24197. "Vol": {
  24198. "description": "现量",
  24199. "type": "integer"
  24200. }
  24201. }
  24202. },
  24203. "quote.QueryQuoteDayRsp": {
  24204. "type": "object",
  24205. "properties": {
  24206. "ask": {
  24207. "description": "卖1",
  24208. "type": "number"
  24209. },
  24210. "ask10": {
  24211. "description": "卖10",
  24212. "type": "number"
  24213. },
  24214. "ask2": {
  24215. "description": "卖2",
  24216. "type": "number"
  24217. },
  24218. "ask3": {
  24219. "description": "卖3",
  24220. "type": "number"
  24221. },
  24222. "ask4": {
  24223. "description": "卖4",
  24224. "type": "number"
  24225. },
  24226. "ask5": {
  24227. "description": "卖5",
  24228. "type": "number"
  24229. },
  24230. "ask6": {
  24231. "description": "卖6",
  24232. "type": "number"
  24233. },
  24234. "ask7": {
  24235. "description": "卖7",
  24236. "type": "number"
  24237. },
  24238. "ask8": {
  24239. "description": "卖8",
  24240. "type": "number"
  24241. },
  24242. "ask9": {
  24243. "description": "卖9",
  24244. "type": "number"
  24245. },
  24246. "askorderid": {
  24247. "description": "卖单号1",
  24248. "type": "integer"
  24249. },
  24250. "askorderid2": {
  24251. "description": "卖单号2",
  24252. "type": "integer"
  24253. },
  24254. "askorderid3": {
  24255. "description": "卖单号3",
  24256. "type": "integer"
  24257. },
  24258. "askorderid4": {
  24259. "description": "卖单号4",
  24260. "type": "integer"
  24261. },
  24262. "askorderid5": {
  24263. "description": "卖单号5",
  24264. "type": "integer"
  24265. },
  24266. "askordervolume": {
  24267. "description": "卖单量1",
  24268. "type": "integer"
  24269. },
  24270. "askordervolume10": {
  24271. "description": "卖单量10",
  24272. "type": "integer"
  24273. },
  24274. "askordervolume2": {
  24275. "description": "卖单量2",
  24276. "type": "integer"
  24277. },
  24278. "askordervolume3": {
  24279. "description": "卖单量3",
  24280. "type": "integer"
  24281. },
  24282. "askordervolume4": {
  24283. "description": "卖单量4",
  24284. "type": "integer"
  24285. },
  24286. "askordervolume5": {
  24287. "description": "卖单量5",
  24288. "type": "integer"
  24289. },
  24290. "askordervolume6": {
  24291. "description": "卖单量6",
  24292. "type": "integer"
  24293. },
  24294. "askordervolume7": {
  24295. "description": "卖单量7",
  24296. "type": "integer"
  24297. },
  24298. "askordervolume8": {
  24299. "description": "卖单量8",
  24300. "type": "integer"
  24301. },
  24302. "askordervolume9": {
  24303. "description": "卖单量9",
  24304. "type": "integer"
  24305. },
  24306. "askqueueinfo": {
  24307. "description": "大利市卖港股用",
  24308. "type": "string"
  24309. },
  24310. "askvolume": {
  24311. "description": "卖量1",
  24312. "type": "integer"
  24313. },
  24314. "askvolume10": {
  24315. "description": "卖量10",
  24316. "type": "integer"
  24317. },
  24318. "askvolume2": {
  24319. "description": "卖量2",
  24320. "type": "integer"
  24321. },
  24322. "askvolume3": {
  24323. "description": "卖量3",
  24324. "type": "integer"
  24325. },
  24326. "askvolume4": {
  24327. "description": "卖量4",
  24328. "type": "integer"
  24329. },
  24330. "askvolume5": {
  24331. "description": "卖量5",
  24332. "type": "integer"
  24333. },
  24334. "askvolume6": {
  24335. "description": "卖量6",
  24336. "type": "integer"
  24337. },
  24338. "askvolume7": {
  24339. "description": "卖量7",
  24340. "type": "integer"
  24341. },
  24342. "askvolume8": {
  24343. "description": "卖量8",
  24344. "type": "integer"
  24345. },
  24346. "askvolume9": {
  24347. "description": "卖量9",
  24348. "type": "integer"
  24349. },
  24350. "averageprice": {
  24351. "description": "均价",
  24352. "type": "number"
  24353. },
  24354. "bid": {
  24355. "description": "买1",
  24356. "type": "number"
  24357. },
  24358. "bid10": {
  24359. "description": "买10",
  24360. "type": "number"
  24361. },
  24362. "bid2": {
  24363. "description": "买2",
  24364. "type": "number"
  24365. },
  24366. "bid3": {
  24367. "description": "买3",
  24368. "type": "number"
  24369. },
  24370. "bid4": {
  24371. "description": "买4",
  24372. "type": "number"
  24373. },
  24374. "bid5": {
  24375. "description": "买5",
  24376. "type": "number"
  24377. },
  24378. "bid6": {
  24379. "description": "买6",
  24380. "type": "number"
  24381. },
  24382. "bid7": {
  24383. "description": "买7",
  24384. "type": "number"
  24385. },
  24386. "bid8": {
  24387. "description": "买8",
  24388. "type": "number"
  24389. },
  24390. "bid9": {
  24391. "description": "买9",
  24392. "type": "number"
  24393. },
  24394. "bidorderid": {
  24395. "description": "买单号1",
  24396. "type": "integer"
  24397. },
  24398. "bidorderid2": {
  24399. "description": "买单号2",
  24400. "type": "integer"
  24401. },
  24402. "bidorderid3": {
  24403. "description": "买单号3",
  24404. "type": "integer"
  24405. },
  24406. "bidorderid4": {
  24407. "description": "买单号4",
  24408. "type": "integer"
  24409. },
  24410. "bidorderid5": {
  24411. "description": "买单号5",
  24412. "type": "integer"
  24413. },
  24414. "bidordervolume": {
  24415. "description": "买单量1",
  24416. "type": "integer"
  24417. },
  24418. "bidordervolume10": {
  24419. "description": "买单量10",
  24420. "type": "integer"
  24421. },
  24422. "bidordervolume2": {
  24423. "description": "买单量2",
  24424. "type": "integer"
  24425. },
  24426. "bidordervolume3": {
  24427. "description": "买单量3",
  24428. "type": "integer"
  24429. },
  24430. "bidordervolume4": {
  24431. "description": "买单量4",
  24432. "type": "integer"
  24433. },
  24434. "bidordervolume5": {
  24435. "description": "买单量5",
  24436. "type": "integer"
  24437. },
  24438. "bidordervolume6": {
  24439. "description": "买单量6",
  24440. "type": "integer"
  24441. },
  24442. "bidordervolume7": {
  24443. "description": "买单量7",
  24444. "type": "integer"
  24445. },
  24446. "bidordervolume8": {
  24447. "description": "买单量8",
  24448. "type": "integer"
  24449. },
  24450. "bidordervolume9": {
  24451. "description": "买单量9",
  24452. "type": "integer"
  24453. },
  24454. "bidqueueinfo": {
  24455. "description": "大利市买港股用",
  24456. "type": "string"
  24457. },
  24458. "bidvolume": {
  24459. "description": "买量1",
  24460. "type": "integer"
  24461. },
  24462. "bidvolume10": {
  24463. "description": "买量10",
  24464. "type": "integer"
  24465. },
  24466. "bidvolume2": {
  24467. "description": "买量2",
  24468. "type": "integer"
  24469. },
  24470. "bidvolume3": {
  24471. "description": "买量3",
  24472. "type": "integer"
  24473. },
  24474. "bidvolume4": {
  24475. "description": "买量4",
  24476. "type": "integer"
  24477. },
  24478. "bidvolume5": {
  24479. "description": "买量5",
  24480. "type": "integer"
  24481. },
  24482. "bidvolume6": {
  24483. "description": "买量6",
  24484. "type": "integer"
  24485. },
  24486. "bidvolume7": {
  24487. "description": "买量7",
  24488. "type": "integer"
  24489. },
  24490. "bidvolume8": {
  24491. "description": "买量8",
  24492. "type": "integer"
  24493. },
  24494. "bidvolume9": {
  24495. "description": "买量9",
  24496. "type": "integer"
  24497. },
  24498. "calloptionpremiums": {
  24499. "description": "认购期权1",
  24500. "type": "integer"
  24501. },
  24502. "calloptionpremiums2": {
  24503. "description": "认购期权2",
  24504. "type": "integer"
  24505. },
  24506. "calloptionpremiums3": {
  24507. "description": "认购期权3",
  24508. "type": "integer"
  24509. },
  24510. "calloptionpremiums4": {
  24511. "description": "认购期权4",
  24512. "type": "integer"
  24513. },
  24514. "calloptionpremiums5": {
  24515. "description": "认购期权5",
  24516. "type": "integer"
  24517. },
  24518. "cleartime": {
  24519. "description": "清盘时间",
  24520. "type": "integer"
  24521. },
  24522. "exchangecode": {
  24523. "description": "交易所代码",
  24524. "type": "integer"
  24525. },
  24526. "exchangedate": {
  24527. "description": "交易日",
  24528. "type": "integer"
  24529. },
  24530. "goodscode": {
  24531. "description": "商品代码",
  24532. "type": "string"
  24533. },
  24534. "grepmarketprice": {
  24535. "description": "暗盘价 港股专用",
  24536. "type": "number"
  24537. },
  24538. "highest": {
  24539. "description": "最高价",
  24540. "type": "number"
  24541. },
  24542. "holdincrement": {
  24543. "description": "单笔持仓",
  24544. "type": "integer"
  24545. },
  24546. "holdvolume": {
  24547. "description": "持仓",
  24548. "type": "integer"
  24549. },
  24550. "iep": {
  24551. "description": "平衡价 港股专用",
  24552. "type": "number"
  24553. },
  24554. "iev": {
  24555. "description": "平衡量 港股专用",
  24556. "type": "number"
  24557. },
  24558. "inventory": {
  24559. "description": "库存",
  24560. "type": "integer"
  24561. },
  24562. "iscleared": {
  24563. "description": "是否清盘标志",
  24564. "type": "integer"
  24565. },
  24566. "issettled": {
  24567. "description": "是否结算标志",
  24568. "type": "integer"
  24569. },
  24570. "last": {
  24571. "description": "最新价",
  24572. "type": "number"
  24573. },
  24574. "lastlot": {
  24575. "description": "最新成交手数",
  24576. "type": "integer"
  24577. },
  24578. "lasttime": {
  24579. "description": "行情时间(只有现价变化行情时间才变化)",
  24580. "type": "string"
  24581. },
  24582. "lastturnover": {
  24583. "description": "最新成交金额",
  24584. "type": "number"
  24585. },
  24586. "lastvolume": {
  24587. "description": "最新成交量",
  24588. "type": "integer"
  24589. },
  24590. "limitdown": {
  24591. "description": "跌停价",
  24592. "type": "number"
  24593. },
  24594. "limitup": {
  24595. "description": "涨停价",
  24596. "type": "number"
  24597. },
  24598. "lowest": {
  24599. "description": "最低价",
  24600. "type": "number"
  24601. },
  24602. "nontotalholdervolume": {
  24603. "description": "非交易持仓量",
  24604. "type": "integer"
  24605. },
  24606. "nontotallot": {
  24607. "description": "非交易总手数",
  24608. "type": "integer"
  24609. },
  24610. "nontotalturnover": {
  24611. "description": "非交易总金额",
  24612. "type": "integer"
  24613. },
  24614. "nontotalvolume": {
  24615. "description": "非交易总量",
  24616. "type": "integer"
  24617. },
  24618. "opened": {
  24619. "description": "开盘价",
  24620. "type": "number"
  24621. },
  24622. "opentime": {
  24623. "description": "开盘时间",
  24624. "type": "string"
  24625. },
  24626. "orderid": {
  24627. "description": "序号",
  24628. "type": "integer"
  24629. },
  24630. "preclose": {
  24631. "description": "昨收",
  24632. "type": "number"
  24633. },
  24634. "preholdvolume": {
  24635. "description": "昨持仓",
  24636. "type": "integer"
  24637. },
  24638. "presettle": {
  24639. "description": "昨结价",
  24640. "type": "number"
  24641. },
  24642. "publictradetype": {
  24643. "description": "公共交易标志类型 港股专用",
  24644. "type": "string"
  24645. },
  24646. "putoptionpremiums": {
  24647. "description": "认沽期权1",
  24648. "type": "integer"
  24649. },
  24650. "putoptionpremiums2": {
  24651. "description": "认沽期权2",
  24652. "type": "integer"
  24653. },
  24654. "putoptionpremiums3": {
  24655. "description": "认沽期权3",
  24656. "type": "integer"
  24657. },
  24658. "putoptionpremiums4": {
  24659. "description": "认沽期权4",
  24660. "type": "integer"
  24661. },
  24662. "putoptionpremiums5": {
  24663. "description": "认沽期权5",
  24664. "type": "integer"
  24665. },
  24666. "settle": {
  24667. "description": "结算价",
  24668. "type": "number"
  24669. },
  24670. "strikeprice": {
  24671. "description": "发行价",
  24672. "type": "number"
  24673. },
  24674. "totalaskvolume": {
  24675. "description": "内盘",
  24676. "type": "integer"
  24677. },
  24678. "totalbidvolume": {
  24679. "description": "外盘",
  24680. "type": "integer"
  24681. },
  24682. "totallot": {
  24683. "description": "总手数",
  24684. "type": "integer"
  24685. },
  24686. "totalturnover": {
  24687. "description": "总金额",
  24688. "type": "number"
  24689. },
  24690. "totalvolume": {
  24691. "description": "总量",
  24692. "type": "integer"
  24693. },
  24694. "utclasttime": {
  24695. "description": "utc的行情时间",
  24696. "type": "string"
  24697. }
  24698. }
  24699. },
  24700. "quote.QueryTSDataRsp": {
  24701. "type": "object",
  24702. "properties": {
  24703. "Count": {
  24704. "description": "交易日应有数据个数",
  24705. "type": "integer"
  24706. },
  24707. "decimalPlace": {
  24708. "description": "小数位",
  24709. "type": "integer"
  24710. },
  24711. "endTime": {
  24712. "description": "结束时间",
  24713. "type": "string"
  24714. },
  24715. "goodsCode": {
  24716. "description": "商品代码",
  24717. "type": "string"
  24718. },
  24719. "historyDatas": {
  24720. "description": "历史数据",
  24721. "type": "array",
  24722. "items": {
  24723. "$ref": "#/definitions/quote.HistoryData"
  24724. }
  24725. },
  24726. "outGoodsCode": {
  24727. "description": "外部商品代码",
  24728. "type": "string"
  24729. },
  24730. "preSettle": {
  24731. "description": "昨结价",
  24732. "type": "number"
  24733. },
  24734. "runSteps": {
  24735. "description": "交易日开休市计划",
  24736. "type": "array",
  24737. "items": {
  24738. "$ref": "#/definitions/quote.TSDataRunStep"
  24739. }
  24740. },
  24741. "startTime": {
  24742. "description": "开始时间",
  24743. "type": "string"
  24744. },
  24745. "tradeDate": {
  24746. "description": "交易日",
  24747. "type": "string"
  24748. }
  24749. }
  24750. },
  24751. "quote.TSDataRunStep": {
  24752. "type": "object",
  24753. "properties": {
  24754. "end": {
  24755. "description": "真实结束时间",
  24756. "type": "string"
  24757. },
  24758. "endflag": {
  24759. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24760. "type": "integer"
  24761. },
  24762. "endtime": {
  24763. "description": "结束时间(HH:mm)",
  24764. "type": "string"
  24765. },
  24766. "endweekday": {
  24767. "description": "结束周几",
  24768. "type": "integer"
  24769. },
  24770. "groupid": {
  24771. "description": "分组ID",
  24772. "type": "integer"
  24773. },
  24774. "runstep": {
  24775. "description": "运行阶段 - 2:连续交易",
  24776. "type": "integer"
  24777. },
  24778. "sectionid": {
  24779. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24780. "type": "integer"
  24781. },
  24782. "start": {
  24783. "description": "真实开始时间",
  24784. "type": "string"
  24785. },
  24786. "startflag": {
  24787. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24788. "type": "integer"
  24789. },
  24790. "starttime": {
  24791. "description": "起始时间(HH:mm)",
  24792. "type": "string"
  24793. },
  24794. "startweekday": {
  24795. "description": "起始周几",
  24796. "type": "integer"
  24797. },
  24798. "tradeweekday": {
  24799. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24800. "type": "integer"
  24801. }
  24802. }
  24803. },
  24804. "szdz.QueryConvertLogRsp": {
  24805. "type": "object",
  24806. "required": [
  24807. "logid"
  24808. ],
  24809. "properties": {
  24810. "accountid": {
  24811. "description": "资金账户ID",
  24812. "type": "integer"
  24813. },
  24814. "clientticket": {
  24815. "description": "客户端流水号",
  24816. "type": "string"
  24817. },
  24818. "converttype": {
  24819. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24820. "type": "integer"
  24821. },
  24822. "createtime": {
  24823. "description": "记账时间",
  24824. "type": "string"
  24825. },
  24826. "daymaxvalue": {
  24827. "description": "配置当日最大转入限制",
  24828. "type": "number"
  24829. },
  24830. "daymaxvalue2": {
  24831. "description": "配置当日最大转入限制(转入)",
  24832. "type": "number"
  24833. },
  24834. "goodscode": {
  24835. "description": "商品代码",
  24836. "type": "string"
  24837. },
  24838. "goodsname": {
  24839. "description": "商品名称",
  24840. "type": "string"
  24841. },
  24842. "handlestatus": {
  24843. "description": "处理状态",
  24844. "type": "integer"
  24845. },
  24846. "innergoodsid": {
  24847. "description": "内部商品ID",
  24848. "type": "integer"
  24849. },
  24850. "inratio": {
  24851. "description": "配置转入比值",
  24852. "type": "integer"
  24853. },
  24854. "invalue": {
  24855. "description": "目标值",
  24856. "type": "number"
  24857. },
  24858. "logid": {
  24859. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24860. "type": "integer"
  24861. },
  24862. "mobile": {
  24863. "description": "手机号码(加密存储)",
  24864. "type": "string"
  24865. },
  24866. "outergoodscode": {
  24867. "description": "外部商品代码[JD\\PD]",
  24868. "type": "string"
  24869. },
  24870. "outratio": {
  24871. "description": "配置转出比值",
  24872. "type": "integer"
  24873. },
  24874. "outvalue": {
  24875. "description": "源值",
  24876. "type": "number"
  24877. },
  24878. "pddecimalplace": {
  24879. "description": "PD小数位",
  24880. "type": "integer"
  24881. },
  24882. "qty": {
  24883. "description": "数量",
  24884. "type": "string"
  24885. },
  24886. "remark": {
  24887. "description": "备注",
  24888. "type": "string"
  24889. },
  24890. "sessionid": {
  24891. "description": "会话ID",
  24892. "type": "integer"
  24893. },
  24894. "timemaxvalue": {
  24895. "description": "配置单次最大转入限制",
  24896. "type": "number"
  24897. },
  24898. "timemaxvalue2": {
  24899. "description": "配置单次最大转入限制(转入)",
  24900. "type": "number"
  24901. },
  24902. "timeminvalue": {
  24903. "description": "配置单次最小数量限制",
  24904. "type": "number"
  24905. },
  24906. "timeminvalue2": {
  24907. "description": "配置单次最小数量限制(转入)",
  24908. "type": "number"
  24909. },
  24910. "tradedate": {
  24911. "description": "交易日(yyyyMMdd)",
  24912. "type": "string"
  24913. },
  24914. "userid": {
  24915. "description": "用户ID",
  24916. "type": "integer"
  24917. }
  24918. }
  24919. },
  24920. "szdz.QueryGoodsPickupRsp": {
  24921. "type": "object",
  24922. "required": [
  24923. "takeorderid"
  24924. ],
  24925. "properties": {
  24926. "accountid": {
  24927. "description": "账户ID",
  24928. "type": "integer"
  24929. },
  24930. "address": {
  24931. "description": "提货人详细地址",
  24932. "type": "string"
  24933. },
  24934. "auditer": {
  24935. "description": "审核人",
  24936. "type": "integer"
  24937. },
  24938. "audittime": {
  24939. "description": "审核时间",
  24940. "type": "string"
  24941. },
  24942. "cardnum": {
  24943. "description": "提货人证件号码",
  24944. "type": "string"
  24945. },
  24946. "cardtypeid": {
  24947. "description": "提货人证件类型",
  24948. "type": "integer"
  24949. },
  24950. "checkremark": {
  24951. "description": "审核备注",
  24952. "type": "string"
  24953. },
  24954. "goodscode": {
  24955. "description": "商品代码",
  24956. "type": "string"
  24957. },
  24958. "goodsid": {
  24959. "description": "商品ID",
  24960. "type": "integer"
  24961. },
  24962. "goodsname": {
  24963. "description": "商品名称",
  24964. "type": "string"
  24965. },
  24966. "handlestatus": {
  24967. "description": "处理状态",
  24968. "type": "integer"
  24969. },
  24970. "marketid": {
  24971. "description": "市场ID",
  24972. "type": "integer"
  24973. },
  24974. "phonenum": {
  24975. "description": "提货人联系方式",
  24976. "type": "string"
  24977. },
  24978. "qty": {
  24979. "description": "提货数量",
  24980. "type": "number"
  24981. },
  24982. "recivername": {
  24983. "description": "提货人姓名",
  24984. "type": "string"
  24985. },
  24986. "reqtime": {
  24987. "description": "更新时间",
  24988. "type": "string"
  24989. },
  24990. "takemode": {
  24991. "description": "提货方式 - 2:自提 3:配送",
  24992. "type": "integer"
  24993. },
  24994. "takeorderid": {
  24995. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24996. "type": "string"
  24997. },
  24998. "takeorderstatus": {
  24999. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25000. "type": "integer"
  25001. },
  25002. "takeremark": {
  25003. "description": "提货备注",
  25004. "type": "string"
  25005. },
  25006. "tradedate": {
  25007. "description": "交易日(yyyyMMdd)",
  25008. "type": "string"
  25009. },
  25010. "userid": {
  25011. "description": "用户ID",
  25012. "type": "integer"
  25013. }
  25014. }
  25015. },
  25016. "szdz.QueryRecieptOrderRsp": {
  25017. "type": "object",
  25018. "required": [
  25019. "ordertime"
  25020. ],
  25021. "properties": {
  25022. "accountName": {
  25023. "description": "所属账号名称(已脱敏)",
  25024. "type": "string"
  25025. },
  25026. "accountid": {
  25027. "description": "资金账号",
  25028. "type": "integer"
  25029. },
  25030. "buyorsell": {
  25031. "description": "方向 - 0:买 1:卖",
  25032. "type": "integer"
  25033. },
  25034. "enableqty": {
  25035. "description": "可摘数量",
  25036. "type": "integer"
  25037. },
  25038. "goodscode": {
  25039. "description": "商品代码",
  25040. "type": "string"
  25041. },
  25042. "goodsid": {
  25043. "description": "商品ID",
  25044. "type": "integer"
  25045. },
  25046. "goodsname": {
  25047. "description": "商品名称",
  25048. "type": "string"
  25049. },
  25050. "orderid": {
  25051. "description": "委托单号",
  25052. "type": "string"
  25053. },
  25054. "orderprice": {
  25055. "description": "委托价格",
  25056. "type": "number"
  25057. },
  25058. "ordertime": {
  25059. "description": "委托时间",
  25060. "type": "string"
  25061. },
  25062. "tradedate": {
  25063. "description": "交易日(yyyyMMdd)",
  25064. "type": "string"
  25065. }
  25066. }
  25067. },
  25068. "szdz.QuerySZDZTradePositionRsp": {
  25069. "type": "object",
  25070. "properties": {
  25071. "accountid": {
  25072. "description": "账号Id",
  25073. "type": "integer"
  25074. },
  25075. "agreeunit": {
  25076. "description": "合约单位",
  25077. "type": "number"
  25078. },
  25079. "averageprice": {
  25080. "description": "持仓均价",
  25081. "type": "number"
  25082. },
  25083. "buyorsell": {
  25084. "description": "方向 - 0:买 1:卖",
  25085. "type": "integer"
  25086. },
  25087. "closetotalqty": {
  25088. "description": "平仓总数量",
  25089. "type": "integer"
  25090. },
  25091. "curholderamount": {
  25092. "description": "当前持仓总金额",
  25093. "type": "number"
  25094. },
  25095. "curpositionqty": {
  25096. "description": "当前持仓总数量",
  25097. "type": "integer"
  25098. },
  25099. "currencyid": {
  25100. "description": "报价货币ID",
  25101. "type": "integer"
  25102. },
  25103. "curtdposition": {
  25104. "description": "期末今日头寸",
  25105. "type": "integer"
  25106. },
  25107. "decimalplace": {
  25108. "description": "报价小数位",
  25109. "type": "integer"
  25110. },
  25111. "enableqty": {
  25112. "description": "可用量",
  25113. "type": "integer"
  25114. },
  25115. "fretdposition": {
  25116. "description": "冻结今日头寸",
  25117. "type": "integer"
  25118. },
  25119. "frozenqty": {
  25120. "description": "持仓冻结数量",
  25121. "type": "integer"
  25122. },
  25123. "goodscode": {
  25124. "description": "商品代码(内部)",
  25125. "type": "string"
  25126. },
  25127. "goodsid": {
  25128. "description": "商品Id",
  25129. "type": "integer"
  25130. },
  25131. "goodsname": {
  25132. "description": "商品名称",
  25133. "type": "string"
  25134. },
  25135. "goodunit": {
  25136. "description": "报价单位",
  25137. "type": "string"
  25138. },
  25139. "goodunitid": {
  25140. "description": "报价单位ID",
  25141. "type": "integer"
  25142. },
  25143. "holderamount": {
  25144. "description": "期初持仓总金额",
  25145. "type": "number"
  25146. },
  25147. "marketid": {
  25148. "description": "市场ID",
  25149. "type": "integer"
  25150. },
  25151. "openreqqty": {
  25152. "description": "开仓申请数量",
  25153. "type": "integer"
  25154. },
  25155. "opentotalqty": {
  25156. "description": "开仓总数量",
  25157. "type": "integer"
  25158. },
  25159. "otherfrozenqty": {
  25160. "description": "持仓其他冻结数量(交割冻结)",
  25161. "type": "integer"
  25162. },
  25163. "positionqty": {
  25164. "description": "期初持仓数量",
  25165. "type": "integer"
  25166. },
  25167. "szdz3freezqty": {
  25168. "description": "尚志大宗转换冻结总数量",
  25169. "type": "integer"
  25170. },
  25171. "tnqty": {
  25172. "description": "T+N冻结总量",
  25173. "type": "integer"
  25174. },
  25175. "tnusedqty": {
  25176. "description": "T+N使用量",
  25177. "type": "integer"
  25178. },
  25179. "trademode": {
  25180. "description": "交易模式",
  25181. "type": "integer"
  25182. },
  25183. "usedmargin": {
  25184. "description": "占用保证金",
  25185. "type": "number"
  25186. }
  25187. }
  25188. },
  25189. "taaccount.QueryAmountLogRsp": {
  25190. "type": "object",
  25191. "required": [
  25192. "accountid",
  25193. "amount",
  25194. "amountadjusttype",
  25195. "autoid",
  25196. "balance",
  25197. "createtime",
  25198. "currentbalance",
  25199. "operatetype"
  25200. ],
  25201. "properties": {
  25202. "OPERATETYPENAME": {
  25203. "description": "资金操作类型名称",
  25204. "type": "string"
  25205. },
  25206. "accountid": {
  25207. "description": "资金账户ID",
  25208. "type": "integer"
  25209. },
  25210. "agoodscode": {
  25211. "description": "竞拍商品代码",
  25212. "type": "string"
  25213. },
  25214. "agoodsname": {
  25215. "description": "竞拍商品名称",
  25216. "type": "string"
  25217. },
  25218. "amount": {
  25219. "description": "资金金额",
  25220. "type": "number"
  25221. },
  25222. "amountadjusttype": {
  25223. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25224. "type": "integer"
  25225. },
  25226. "autoid": {
  25227. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25228. "type": "integer"
  25229. },
  25230. "balance": {
  25231. "description": "期初余额",
  25232. "type": "number"
  25233. },
  25234. "businesscode": {
  25235. "description": "业务编号",
  25236. "type": "integer"
  25237. },
  25238. "createtime": {
  25239. "description": "发生时间",
  25240. "type": "string"
  25241. },
  25242. "currencyid": {
  25243. "description": "币种ID",
  25244. "type": "integer"
  25245. },
  25246. "currentbalance": {
  25247. "description": "期末余额(变动后金额)",
  25248. "type": "number"
  25249. },
  25250. "dgoodscode": {
  25251. "description": "交割商品代码",
  25252. "type": "string"
  25253. },
  25254. "dgoodsname": {
  25255. "description": "交割商品名称",
  25256. "type": "string"
  25257. },
  25258. "goodscode": {
  25259. "description": "商品代码",
  25260. "type": "string"
  25261. },
  25262. "goodsid": {
  25263. "description": "商品ID",
  25264. "type": "integer"
  25265. },
  25266. "goodsname": {
  25267. "description": "商品名称",
  25268. "type": "string"
  25269. },
  25270. "marketid": {
  25271. "description": "市场ID",
  25272. "type": "integer"
  25273. },
  25274. "marketname": {
  25275. "description": "市场名称",
  25276. "type": "string"
  25277. },
  25278. "moneyticket": {
  25279. "description": "资金流水号:银行端流水号",
  25280. "type": "integer"
  25281. },
  25282. "operatetype": {
  25283. "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:营销收款",
  25284. "type": "integer"
  25285. },
  25286. "relationorderid": {
  25287. "description": "关联单号",
  25288. "type": "string"
  25289. },
  25290. "remark": {
  25291. "description": "备注",
  25292. "type": "string"
  25293. },
  25294. "trademode": {
  25295. "description": "交易模式",
  25296. "type": "integer"
  25297. }
  25298. }
  25299. },
  25300. "taaccount.QueryHisAmountLogRsp": {
  25301. "type": "object",
  25302. "required": [
  25303. "accountid",
  25304. "amount",
  25305. "amountadjusttype",
  25306. "autoid",
  25307. "balance",
  25308. "createtime",
  25309. "currentbalance",
  25310. "histradedate",
  25311. "operatetype"
  25312. ],
  25313. "properties": {
  25314. "OPERATETYPENAME": {
  25315. "description": "资金操作类型名称",
  25316. "type": "string"
  25317. },
  25318. "accountid": {
  25319. "description": "资金账户ID",
  25320. "type": "integer"
  25321. },
  25322. "agoodscode": {
  25323. "description": "竞拍商品代码",
  25324. "type": "string"
  25325. },
  25326. "agoodsname": {
  25327. "description": "竞拍商品名称",
  25328. "type": "string"
  25329. },
  25330. "amount": {
  25331. "description": "资金金额",
  25332. "type": "number"
  25333. },
  25334. "amountadjusttype": {
  25335. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25336. "type": "integer"
  25337. },
  25338. "autoid": {
  25339. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25340. "type": "integer"
  25341. },
  25342. "balance": {
  25343. "description": "期初余额",
  25344. "type": "number"
  25345. },
  25346. "businesscode": {
  25347. "description": "业务编号",
  25348. "type": "integer"
  25349. },
  25350. "createtime": {
  25351. "description": "发生时间",
  25352. "type": "string"
  25353. },
  25354. "currencyid": {
  25355. "description": "币种ID",
  25356. "type": "integer"
  25357. },
  25358. "currentbalance": {
  25359. "description": "期末余额(变动后金额)",
  25360. "type": "number"
  25361. },
  25362. "dgoodscode": {
  25363. "description": "交割商品代码",
  25364. "type": "string"
  25365. },
  25366. "dgoodsname": {
  25367. "description": "交割商品名称",
  25368. "type": "string"
  25369. },
  25370. "goodscode": {
  25371. "description": "商品代码",
  25372. "type": "string"
  25373. },
  25374. "goodsid": {
  25375. "description": "商品ID",
  25376. "type": "integer"
  25377. },
  25378. "goodsname": {
  25379. "description": "商品名称",
  25380. "type": "string"
  25381. },
  25382. "histradedate": {
  25383. "description": "历史交易日",
  25384. "type": "string"
  25385. },
  25386. "isvaliddata": {
  25387. "description": "是否有效 - 0:无效 1:有效",
  25388. "type": "integer"
  25389. },
  25390. "marketid": {
  25391. "description": "市场ID",
  25392. "type": "integer"
  25393. },
  25394. "marketname": {
  25395. "description": "市场名称",
  25396. "type": "string"
  25397. },
  25398. "moneyticket": {
  25399. "description": "资金流水号:银行端流水号",
  25400. "type": "integer"
  25401. },
  25402. "operatetype": {
  25403. "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:营销收款",
  25404. "type": "integer"
  25405. },
  25406. "relationorderid": {
  25407. "description": "关联单号",
  25408. "type": "string"
  25409. },
  25410. "remark": {
  25411. "description": "备注",
  25412. "type": "string"
  25413. },
  25414. "trademode": {
  25415. "description": "交易模式",
  25416. "type": "integer"
  25417. }
  25418. }
  25419. },
  25420. "trade.QueryRecieptOrderRsp": {
  25421. "type": "object",
  25422. "required": [
  25423. "ordertime"
  25424. ],
  25425. "properties": {
  25426. "accountName": {
  25427. "description": "所属账号名称(已脱敏)",
  25428. "type": "string"
  25429. },
  25430. "accountid": {
  25431. "description": "资金账号",
  25432. "type": "integer"
  25433. },
  25434. "buyorsell": {
  25435. "description": "方向 - 0:买 1:卖",
  25436. "type": "integer"
  25437. },
  25438. "enableqty": {
  25439. "description": "可摘数量",
  25440. "type": "integer"
  25441. },
  25442. "goodscode": {
  25443. "description": "商品代码",
  25444. "type": "string"
  25445. },
  25446. "goodsid": {
  25447. "description": "商品ID",
  25448. "type": "integer"
  25449. },
  25450. "goodsname": {
  25451. "description": "商品名称",
  25452. "type": "string"
  25453. },
  25454. "orderid": {
  25455. "description": "委托单号",
  25456. "type": "string"
  25457. },
  25458. "orderprice": {
  25459. "description": "委托价格",
  25460. "type": "number"
  25461. },
  25462. "ordertime": {
  25463. "description": "委托时间",
  25464. "type": "string"
  25465. },
  25466. "tradedate": {
  25467. "description": "交易日(yyyyMMdd)",
  25468. "type": "string"
  25469. }
  25470. }
  25471. },
  25472. "user.LoginQueryRsp": {
  25473. "type": "object",
  25474. "properties": {
  25475. "externalExchanges": {
  25476. "description": "外部交易所",
  25477. "type": "array",
  25478. "items": {
  25479. "$ref": "#/definitions/models.Externalexchange"
  25480. }
  25481. },
  25482. "goodsgroups": {
  25483. "description": "商品组",
  25484. "type": "array",
  25485. "items": {
  25486. "$ref": "#/definitions/models.Goodsgroup"
  25487. }
  25488. },
  25489. "loginAccount": {
  25490. "description": "登录账号",
  25491. "type": "object",
  25492. "$ref": "#/definitions/models.Loginaccount"
  25493. },
  25494. "markets": {
  25495. "description": "市场",
  25496. "type": "array",
  25497. "items": {
  25498. "$ref": "#/definitions/models.Market"
  25499. }
  25500. },
  25501. "systemParams": {
  25502. "description": "系统参数",
  25503. "type": "array",
  25504. "items": {
  25505. "$ref": "#/definitions/models.Systemparam"
  25506. }
  25507. },
  25508. "userAccount": {
  25509. "description": "用户账号",
  25510. "type": "object",
  25511. "$ref": "#/definitions/models.Useraccount"
  25512. },
  25513. "userInfo": {
  25514. "description": "用户信息",
  25515. "type": "object",
  25516. "$ref": "#/definitions/models.Userinfo"
  25517. },
  25518. "username": {
  25519. "description": "用户姓名",
  25520. "type": "string"
  25521. }
  25522. }
  25523. }
  25524. },
  25525. "securityDefinitions": {
  25526. "ApiKeyAuth": {
  25527. "type": "apiKey",
  25528. "name": "Authorization",
  25529. "in": "header"
  25530. }
  25531. }
  25532. }`
  25533. type swaggerInfo struct {
  25534. Version string
  25535. Host string
  25536. BasePath string
  25537. Schemes []string
  25538. Title string
  25539. Description string
  25540. }
  25541. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25542. var SwaggerInfo = swaggerInfo{
  25543. Version: "1.0",
  25544. Host: "",
  25545. BasePath: "/api",
  25546. Schemes: []string{},
  25547. Title: "MTP2.0 查询服务 API",
  25548. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25549. }
  25550. type s struct{}
  25551. func (s *s) ReadDoc() string {
  25552. sInfo := SwaggerInfo
  25553. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25554. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25555. "marshal": func(v interface{}) string {
  25556. a, _ := json.Marshal(v)
  25557. return string(a)
  25558. },
  25559. }).Parse(doc)
  25560. if err != nil {
  25561. return doc
  25562. }
  25563. var tpl bytes.Buffer
  25564. if err := t.Execute(&tpl, sInfo); err != nil {
  25565. return doc
  25566. }
  25567. return tpl.String()
  25568. }
  25569. func init() {
  25570. swag.Register(swag.Name, &s{})
  25571. }