docs.go 914 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PC 1:Mobile",
  426. "name": "clientType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "type": "array",
  435. "items": {
  436. "$ref": "#/definitions/common.ClientMenu"
  437. }
  438. }
  439. },
  440. "500": {
  441. "description": "Internal Server Error",
  442. "schema": {
  443. "$ref": "#/definitions/app.Response"
  444. }
  445. }
  446. }
  447. }
  448. },
  449. "/Common/GetDivisions": {
  450. "get": {
  451. "produces": [
  452. "application/json"
  453. ],
  454. "tags": [
  455. "通用服务"
  456. ],
  457. "summary": "查询区域信息",
  458. "responses": {
  459. "200": {
  460. "description": "OK",
  461. "schema": {
  462. "$ref": "#/definitions/models.Division"
  463. }
  464. },
  465. "500": {
  466. "description": "Internal Server Error",
  467. "schema": {
  468. "$ref": "#/definitions/app.Response"
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "/Common/GetServerTime": {
  475. "get": {
  476. "produces": [
  477. "application/json"
  478. ],
  479. "tags": [
  480. "通用服务"
  481. ],
  482. "summary": "获取服务器时间",
  483. "responses": {
  484. "200": {
  485. "description": "OK",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. },
  490. "500": {
  491. "description": "Internal Server Error",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. }
  496. }
  497. }
  498. },
  499. "/Common/NoticeReaded": {
  500. "post": {
  501. "security": [
  502. {
  503. "ApiKeyAuth": []
  504. }
  505. ],
  506. "produces": [
  507. "application/json"
  508. ],
  509. "tags": [
  510. "通用服务"
  511. ],
  512. "summary": "通知公告设置已读请求",
  513. "parameters": [
  514. {
  515. "type": "integer",
  516. "description": "登录账号",
  517. "name": "loginID",
  518. "in": "query",
  519. "required": true
  520. },
  521. {
  522. "type": "integer",
  523. "description": "通知公告ID",
  524. "name": "noticeID",
  525. "in": "query",
  526. "required": true
  527. }
  528. ],
  529. "responses": {
  530. "200": {
  531. "description": "OK",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. },
  536. "500": {
  537. "description": "Internal Server Error",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. }
  542. }
  543. }
  544. },
  545. "/Common/QueryErrorInfos": {
  546. "get": {
  547. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "获取数据库错误信息",
  555. "parameters": [
  556. {
  557. "type": "string",
  558. "description": "起始行号前索引",
  559. "name": "rowNumber",
  560. "in": "query"
  561. }
  562. ],
  563. "responses": {
  564. "200": {
  565. "description": "OK",
  566. "schema": {
  567. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  568. }
  569. },
  570. "500": {
  571. "description": "Internal Server Error",
  572. "schema": {
  573. "$ref": "#/definitions/app.Response"
  574. }
  575. }
  576. }
  577. }
  578. },
  579. "/Common/QueryImageConfigs": {
  580. "get": {
  581. "produces": [
  582. "application/json"
  583. ],
  584. "tags": [
  585. "通用服务"
  586. ],
  587. "summary": "查询轮播图配置信息",
  588. "parameters": [
  589. {
  590. "type": "integer",
  591. "description": "类型 - 1:App首页轮播 2:我的",
  592. "name": "imageType",
  593. "in": "query"
  594. }
  595. ],
  596. "responses": {
  597. "200": {
  598. "description": "OK",
  599. "schema": {
  600. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  601. }
  602. },
  603. "500": {
  604. "description": "Internal Server Error",
  605. "schema": {
  606. "$ref": "#/definitions/app.Response"
  607. }
  608. }
  609. }
  610. }
  611. },
  612. "/Common/QueryNotice": {
  613. "get": {
  614. "security": [
  615. {
  616. "ApiKeyAuth": []
  617. }
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "通用服务"
  624. ],
  625. "summary": "通知公告系统消息查询",
  626. "parameters": [
  627. {
  628. "type": "integer",
  629. "description": "页码",
  630. "name": "page",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "每页条数",
  636. "name": "pagesize",
  637. "in": "query"
  638. },
  639. {
  640. "type": "integer",
  641. "description": "登录账号",
  642. "name": "loginID",
  643. "in": "query",
  644. "required": true
  645. },
  646. {
  647. "type": "integer",
  648. "description": "消息类型 - 1:公告通知 2:系统消息",
  649. "name": "msgType",
  650. "in": "query"
  651. },
  652. {
  653. "type": "boolean",
  654. "description": "是否只获取未读信息",
  655. "name": "onlyUnRead",
  656. "in": "query"
  657. },
  658. {
  659. "type": "integer",
  660. "description": "自增ID,传入后会返回这个ID后面的记录",
  661. "name": "lastID",
  662. "in": "query"
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "OK",
  668. "schema": {
  669. "$ref": "#/definitions/common.QueryNoticeRsp"
  670. }
  671. },
  672. "500": {
  673. "description": "Internal Server Error",
  674. "schema": {
  675. "$ref": "#/definitions/app.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/Common/QueryProvincesAndCities": {
  682. "get": {
  683. "produces": [
  684. "application/json"
  685. ],
  686. "tags": [
  687. "通用服务"
  688. ],
  689. "summary": "查询省市信息(不包括区)",
  690. "parameters": [
  691. {
  692. "type": "integer",
  693. "description": "省ID",
  694. "name": "provinceID",
  695. "in": "query"
  696. }
  697. ],
  698. "responses": {
  699. "200": {
  700. "description": "OK",
  701. "schema": {
  702. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  703. }
  704. },
  705. "500": {
  706. "description": "Internal Server Error",
  707. "schema": {
  708. "$ref": "#/definitions/app.Response"
  709. }
  710. }
  711. }
  712. }
  713. },
  714. "/Common/QueryTableDefine": {
  715. "get": {
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "通用服务"
  721. ],
  722. "summary": "查询交易端列表头信息",
  723. "parameters": [
  724. {
  725. "type": "string",
  726. "description": "表key",
  727. "name": "tableKey",
  728. "in": "query"
  729. },
  730. {
  731. "type": "integer",
  732. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  733. "name": "tableType",
  734. "in": "query"
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "OK",
  740. "schema": {
  741. "$ref": "#/definitions/common.QueryTableDefineRsp"
  742. }
  743. },
  744. "500": {
  745. "description": "Internal Server Error",
  746. "schema": {
  747. "$ref": "#/definitions/app.Response"
  748. }
  749. }
  750. }
  751. }
  752. },
  753. "/Common/QueryTraderMenu": {
  754. "get": {
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "通用服务"
  760. ],
  761. "summary": "查询交易端菜单",
  762. "parameters": [
  763. {
  764. "type": "integer",
  765. "description": "登录账号",
  766. "name": "loginid",
  767. "in": "query",
  768. "required": true
  769. }
  770. ],
  771. "responses": {
  772. "200": {
  773. "description": "OK",
  774. "schema": {
  775. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  776. }
  777. },
  778. "500": {
  779. "description": "Internal Server Error",
  780. "schema": {
  781. "$ref": "#/definitions/app.Response"
  782. }
  783. }
  784. }
  785. }
  786. },
  787. "/Delivery/QueryDeliveryRelation": {
  788. "get": {
  789. "security": [
  790. {
  791. "ApiKeyAuth": []
  792. }
  793. ],
  794. "produces": [
  795. "application/json"
  796. ],
  797. "tags": [
  798. "交割服务"
  799. ],
  800. "summary": "查询商品交割关系表",
  801. "parameters": [
  802. {
  803. "type": "integer",
  804. "description": "商品ID",
  805. "name": "goodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "品种ID",
  811. "name": "deliverygoodsid",
  812. "in": "query"
  813. },
  814. {
  815. "type": "integer",
  816. "description": "市场ID",
  817. "name": "marketid",
  818. "in": "query"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "OK",
  824. "schema": {
  825. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  826. }
  827. },
  828. "500": {
  829. "description": "Internal Server Error",
  830. "schema": {
  831. "$ref": "#/definitions/app.Response"
  832. }
  833. }
  834. }
  835. }
  836. },
  837. "/Ermcp/GetErmcpGoods": {
  838. "get": {
  839. "security": [
  840. {
  841. "ApiKeyAuth": []
  842. }
  843. ],
  844. "produces": [
  845. "application/json"
  846. ],
  847. "tags": [
  848. "企业风险管理(app)"
  849. ],
  850. "summary": "查询企业风管期货商品信息",
  851. "parameters": [
  852. {
  853. "type": "string",
  854. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  855. "name": "lastUpdateTime",
  856. "in": "query"
  857. }
  858. ],
  859. "responses": {
  860. "200": {
  861. "description": "OK",
  862. "schema": {
  863. "$ref": "#/definitions/models.Goods"
  864. }
  865. },
  866. "500": {
  867. "description": "Internal Server Error",
  868. "schema": {
  869. "$ref": "#/definitions/app.Response"
  870. }
  871. }
  872. }
  873. }
  874. },
  875. "/Ermcp/GetErmcpGoodsSortByPosition": {
  876. "get": {
  877. "security": [
  878. {
  879. "ApiKeyAuth": []
  880. }
  881. ],
  882. "produces": [
  883. "application/json"
  884. ],
  885. "tags": [
  886. "企业风险管理(app)"
  887. ],
  888. "summary": "查询企业风管期货主力、次主力商品信息",
  889. "parameters": [
  890. {
  891. "type": "string",
  892. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  893. "name": "sortIndex",
  894. "in": "query"
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "$ref": "#/definitions/models.Goodssortbypreposition"
  902. }
  903. },
  904. "500": {
  905. "description": "Internal Server Error",
  906. "schema": {
  907. "$ref": "#/definitions/app.Response"
  908. }
  909. }
  910. }
  911. }
  912. },
  913. "/Ermcp/GetErmcpOutAccountStatus": {
  914. "get": {
  915. "security": [
  916. {
  917. "ApiKeyAuth": []
  918. }
  919. ],
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "企业风险管理(app)"
  925. ],
  926. "summary": "获取目标登录账号当前对冲账号在线状态",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "登录账号",
  931. "name": "loginID",
  932. "in": "query",
  933. "required": true
  934. }
  935. ],
  936. "responses": {
  937. "200": {
  938. "description": "OK",
  939. "schema": {
  940. "$ref": "#/definitions/models.Hedgemarketopenlog"
  941. }
  942. },
  943. "500": {
  944. "description": "Internal Server Error",
  945. "schema": {
  946. "$ref": "#/definitions/app.Response"
  947. }
  948. }
  949. }
  950. }
  951. },
  952. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  953. "get": {
  954. "security": [
  955. {
  956. "ApiKeyAuth": []
  957. }
  958. ],
  959. "produces": [
  960. "application/json"
  961. ],
  962. "tags": [
  963. "企业风险管理(app)"
  964. ],
  965. "summary": "获取企业风管终端权限",
  966. "parameters": [
  967. {
  968. "type": "integer",
  969. "description": "登录账号",
  970. "name": "loginID",
  971. "in": "query",
  972. "required": true
  973. }
  974. ],
  975. "responses": {
  976. "200": {
  977. "description": "OK",
  978. "schema": {
  979. "$ref": "#/definitions/models.Funcmenulist"
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QryReportAreaSpotPL": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询现货损益报表(现货损益报表)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userid",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "integer",
  1015. "description": "查询类型 1-日报表 2-月报表",
  1016. "name": "querytype",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "string",
  1022. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1023. "name": "querydate",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "integer",
  1029. "description": "现货商品ID",
  1030. "name": "wrstandardid",
  1031. "in": "query"
  1032. },
  1033. {
  1034. "type": "integer",
  1035. "description": "品牌ID",
  1036. "name": "spotgoodsbrandid",
  1037. "in": "query"
  1038. },
  1039. {
  1040. "type": "integer",
  1041. "description": "型号ID",
  1042. "name": "spotgoodsmodelid",
  1043. "in": "query"
  1044. }
  1045. ],
  1046. "responses": {
  1047. "200": {
  1048. "description": "OK",
  1049. "schema": {
  1050. "type": "array",
  1051. "items": {
  1052. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1053. }
  1054. }
  1055. },
  1056. "500": {
  1057. "description": "Internal Server Error",
  1058. "schema": {
  1059. "$ref": "#/definitions/app.Response"
  1060. }
  1061. }
  1062. }
  1063. }
  1064. },
  1065. "/Ermcp/QryReportDayExposure": {
  1066. "get": {
  1067. "security": [
  1068. {
  1069. "ApiKeyAuth": []
  1070. }
  1071. ],
  1072. "produces": [
  1073. "application/json"
  1074. ],
  1075. "tags": [
  1076. "企业风险管理(app)"
  1077. ],
  1078. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1079. "parameters": [
  1080. {
  1081. "type": "integer",
  1082. "description": "用户ID",
  1083. "name": "userid",
  1084. "in": "query",
  1085. "required": true
  1086. },
  1087. {
  1088. "type": "string",
  1089. "description": "交易日(格式:yyyyMMdd)",
  1090. "name": "tradedate",
  1091. "in": "query",
  1092. "required": true
  1093. }
  1094. ],
  1095. "responses": {
  1096. "200": {
  1097. "description": "OK",
  1098. "schema": {
  1099. "type": "array",
  1100. "items": {
  1101. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1102. }
  1103. }
  1104. },
  1105. "500": {
  1106. "description": "Internal Server Error",
  1107. "schema": {
  1108. "$ref": "#/definitions/app.Response"
  1109. }
  1110. }
  1111. }
  1112. }
  1113. },
  1114. "/Ermcp/QryReportDayFinance": {
  1115. "get": {
  1116. "security": [
  1117. {
  1118. "ApiKeyAuth": []
  1119. }
  1120. ],
  1121. "produces": [
  1122. "application/json"
  1123. ],
  1124. "tags": [
  1125. "企业风险管理(app)"
  1126. ],
  1127. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1128. "parameters": [
  1129. {
  1130. "type": "integer",
  1131. "description": "用户ID",
  1132. "name": "userid",
  1133. "in": "query",
  1134. "required": true
  1135. },
  1136. {
  1137. "type": "string",
  1138. "description": "交易日(格式:yyyyMMdd)",
  1139. "name": "tradedate",
  1140. "in": "query",
  1141. "required": true
  1142. }
  1143. ],
  1144. "responses": {
  1145. "200": {
  1146. "description": "OK",
  1147. "schema": {
  1148. "type": "array",
  1149. "items": {
  1150. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1151. }
  1152. }
  1153. },
  1154. "500": {
  1155. "description": "Internal Server Error",
  1156. "schema": {
  1157. "$ref": "#/definitions/app.Response"
  1158. }
  1159. }
  1160. }
  1161. }
  1162. },
  1163. "/Ermcp/QryReportDayFinanceFp": {
  1164. "get": {
  1165. "security": [
  1166. {
  1167. "ApiKeyAuth": []
  1168. }
  1169. ],
  1170. "produces": [
  1171. "application/json"
  1172. ],
  1173. "tags": [
  1174. "企业风险管理(app)"
  1175. ],
  1176. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1177. "parameters": [
  1178. {
  1179. "type": "integer",
  1180. "description": "用户ID",
  1181. "name": "userid",
  1182. "in": "query",
  1183. "required": true
  1184. },
  1185. {
  1186. "type": "string",
  1187. "description": "交易日(格式:yyyyMMdd)",
  1188. "name": "tradedate",
  1189. "in": "query",
  1190. "required": true
  1191. }
  1192. ],
  1193. "responses": {
  1194. "200": {
  1195. "description": "OK",
  1196. "schema": {
  1197. "type": "array",
  1198. "items": {
  1199. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1200. }
  1201. }
  1202. },
  1203. "500": {
  1204. "description": "Internal Server Error",
  1205. "schema": {
  1206. "$ref": "#/definitions/app.Response"
  1207. }
  1208. }
  1209. }
  1210. }
  1211. },
  1212. "/Ermcp/QryReportDayFinanceKx": {
  1213. "get": {
  1214. "security": [
  1215. {
  1216. "ApiKeyAuth": []
  1217. }
  1218. ],
  1219. "produces": [
  1220. "application/json"
  1221. ],
  1222. "tags": [
  1223. "企业风险管理(app)"
  1224. ],
  1225. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1226. "parameters": [
  1227. {
  1228. "type": "integer",
  1229. "description": "用户ID",
  1230. "name": "userid",
  1231. "in": "query",
  1232. "required": true
  1233. },
  1234. {
  1235. "type": "string",
  1236. "description": "交易日(格式:yyyyMMdd)",
  1237. "name": "tradedate",
  1238. "in": "query",
  1239. "required": true
  1240. }
  1241. ],
  1242. "responses": {
  1243. "200": {
  1244. "description": "OK",
  1245. "schema": {
  1246. "type": "array",
  1247. "items": {
  1248. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1249. }
  1250. }
  1251. },
  1252. "500": {
  1253. "description": "Internal Server Error",
  1254. "schema": {
  1255. "$ref": "#/definitions/app.Response"
  1256. }
  1257. }
  1258. }
  1259. }
  1260. },
  1261. "/Ermcp/QryReportDaySpot": {
  1262. "get": {
  1263. "security": [
  1264. {
  1265. "ApiKeyAuth": []
  1266. }
  1267. ],
  1268. "produces": [
  1269. "application/json"
  1270. ],
  1271. "tags": [
  1272. "企业风险管理(app)"
  1273. ],
  1274. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1275. "parameters": [
  1276. {
  1277. "type": "integer",
  1278. "description": "用户ID",
  1279. "name": "userid",
  1280. "in": "query",
  1281. "required": true
  1282. },
  1283. {
  1284. "type": "string",
  1285. "description": "交易日(格式:yyyyMMdd)",
  1286. "name": "tradedate",
  1287. "in": "query",
  1288. "required": true
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "type": "array",
  1296. "items": {
  1297. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1298. }
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/QryReportDaySpotDetail": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "用户ID",
  1328. "name": "userid",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "integer",
  1334. "description": "现货商品id",
  1335. "name": "wrstandardid",
  1336. "in": "query",
  1337. "required": true
  1338. },
  1339. {
  1340. "type": "string",
  1341. "description": "交易日(格式:yyyyMMdd)",
  1342. "name": "tradedate",
  1343. "in": "query",
  1344. "required": true
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "type": "array",
  1352. "items": {
  1353. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1354. }
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/Ermcp/QryReportMonthFinance": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "企业风险管理(app)"
  1378. ],
  1379. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "用户ID",
  1384. "name": "userid",
  1385. "in": "query",
  1386. "required": true
  1387. },
  1388. {
  1389. "type": "string",
  1390. "description": "周期时间:月(格式:yyyyMM)",
  1391. "name": "cycletime",
  1392. "in": "query",
  1393. "required": true
  1394. }
  1395. ],
  1396. "responses": {
  1397. "200": {
  1398. "description": "OK",
  1399. "schema": {
  1400. "type": "array",
  1401. "items": {
  1402. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1403. }
  1404. }
  1405. },
  1406. "500": {
  1407. "description": "Internal Server Error",
  1408. "schema": {
  1409. "$ref": "#/definitions/app.Response"
  1410. }
  1411. }
  1412. }
  1413. }
  1414. },
  1415. "/Ermcp/QryReportMonthSpot": {
  1416. "get": {
  1417. "security": [
  1418. {
  1419. "ApiKeyAuth": []
  1420. }
  1421. ],
  1422. "produces": [
  1423. "application/json"
  1424. ],
  1425. "tags": [
  1426. "企业风险管理(app)"
  1427. ],
  1428. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1429. "parameters": [
  1430. {
  1431. "type": "integer",
  1432. "description": "用户ID",
  1433. "name": "userid",
  1434. "in": "query",
  1435. "required": true
  1436. },
  1437. {
  1438. "type": "string",
  1439. "description": "周期时间:月(格式:yyyyMM)",
  1440. "name": "cycletime",
  1441. "in": "query",
  1442. "required": true
  1443. }
  1444. ],
  1445. "responses": {
  1446. "200": {
  1447. "description": "OK",
  1448. "schema": {
  1449. "type": "array",
  1450. "items": {
  1451. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1452. }
  1453. }
  1454. },
  1455. "500": {
  1456. "description": "Internal Server Error",
  1457. "schema": {
  1458. "$ref": "#/definitions/app.Response"
  1459. }
  1460. }
  1461. }
  1462. }
  1463. },
  1464. "/Ermcp/QryReportMonthSpotDetail": {
  1465. "get": {
  1466. "security": [
  1467. {
  1468. "ApiKeyAuth": []
  1469. }
  1470. ],
  1471. "produces": [
  1472. "application/json"
  1473. ],
  1474. "tags": [
  1475. "企业风险管理(app)"
  1476. ],
  1477. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1478. "parameters": [
  1479. {
  1480. "type": "integer",
  1481. "description": "用户ID",
  1482. "name": "userid",
  1483. "in": "query",
  1484. "required": true
  1485. },
  1486. {
  1487. "type": "integer",
  1488. "description": "现货商品id",
  1489. "name": "wrstandardid",
  1490. "in": "query",
  1491. "required": true
  1492. },
  1493. {
  1494. "type": "string",
  1495. "description": "周期时间:月(格式:yyyyMM)",
  1496. "name": "cycletime",
  1497. "in": "query",
  1498. "required": true
  1499. }
  1500. ],
  1501. "responses": {
  1502. "200": {
  1503. "description": "OK",
  1504. "schema": {
  1505. "type": "array",
  1506. "items": {
  1507. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1508. }
  1509. }
  1510. },
  1511. "500": {
  1512. "description": "Internal Server Error",
  1513. "schema": {
  1514. "$ref": "#/definitions/app.Response"
  1515. }
  1516. }
  1517. }
  1518. }
  1519. },
  1520. "/Ermcp/QueryAccMgrBizGroupSet": {
  1521. "get": {
  1522. "security": [
  1523. {
  1524. "ApiKeyAuth": []
  1525. }
  1526. ],
  1527. "produces": [
  1528. "application/json"
  1529. ],
  1530. "tags": [
  1531. "企业风险管理(app)"
  1532. ],
  1533. "summary": "查询业务类型分组(账户管理/账户设置)",
  1534. "parameters": [
  1535. {
  1536. "type": "integer",
  1537. "description": "用户ID",
  1538. "name": "userid",
  1539. "in": "query",
  1540. "required": true
  1541. }
  1542. ],
  1543. "responses": {
  1544. "200": {
  1545. "description": "OK",
  1546. "schema": {
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1550. }
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Ermcp/QueryAccMgrLoginUser": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "企业风险管理(app)"
  1574. ],
  1575. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "用户ID",
  1580. "name": "userid",
  1581. "in": "query",
  1582. "required": true
  1583. }
  1584. ],
  1585. "responses": {
  1586. "200": {
  1587. "description": "OK",
  1588. "schema": {
  1589. "type": "array",
  1590. "items": {
  1591. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1592. }
  1593. }
  1594. },
  1595. "500": {
  1596. "description": "Internal Server Error",
  1597. "schema": {
  1598. "$ref": "#/definitions/app.Response"
  1599. }
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1605. "get": {
  1606. "security": [
  1607. {
  1608. "ApiKeyAuth": []
  1609. }
  1610. ],
  1611. "produces": [
  1612. "application/json"
  1613. ],
  1614. "tags": [
  1615. "企业风险管理(app)"
  1616. ],
  1617. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1618. "parameters": [
  1619. {
  1620. "type": "integer",
  1621. "description": "用户ID",
  1622. "name": "userid",
  1623. "in": "query"
  1624. },
  1625. {
  1626. "type": "integer",
  1627. "description": "主账号id",
  1628. "name": "accountid",
  1629. "in": "query"
  1630. }
  1631. ],
  1632. "responses": {
  1633. "200": {
  1634. "description": "OK",
  1635. "schema": {
  1636. "type": "array",
  1637. "items": {
  1638. "$ref": "#/definitions/models.MainAccountInfo"
  1639. }
  1640. }
  1641. },
  1642. "500": {
  1643. "description": "Internal Server Error",
  1644. "schema": {
  1645. "$ref": "#/definitions/app.Response"
  1646. }
  1647. }
  1648. }
  1649. }
  1650. },
  1651. "/Ermcp/QueryAccMgrRole": {
  1652. "get": {
  1653. "security": [
  1654. {
  1655. "ApiKeyAuth": []
  1656. }
  1657. ],
  1658. "produces": [
  1659. "application/json"
  1660. ],
  1661. "tags": [
  1662. "企业风险管理(app)"
  1663. ],
  1664. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1665. "parameters": [
  1666. {
  1667. "type": "integer",
  1668. "description": "用户ID",
  1669. "name": "userid",
  1670. "in": "query",
  1671. "required": true
  1672. }
  1673. ],
  1674. "responses": {
  1675. "200": {
  1676. "description": "OK",
  1677. "schema": {
  1678. "type": "array",
  1679. "items": {
  1680. "$ref": "#/definitions/models.ErmcpRole"
  1681. }
  1682. }
  1683. },
  1684. "500": {
  1685. "description": "Internal Server Error",
  1686. "schema": {
  1687. "$ref": "#/definitions/app.Response"
  1688. }
  1689. }
  1690. }
  1691. }
  1692. },
  1693. "/Ermcp/QueryAccMgrRoleMenu": {
  1694. "get": {
  1695. "security": [
  1696. {
  1697. "ApiKeyAuth": []
  1698. }
  1699. ],
  1700. "produces": [
  1701. "application/json"
  1702. ],
  1703. "tags": [
  1704. "企业风险管理(app)"
  1705. ],
  1706. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1707. "parameters": [
  1708. {
  1709. "type": "integer",
  1710. "description": "用户ID",
  1711. "name": "userid",
  1712. "in": "query",
  1713. "required": true
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "角色id(可多个,逗号隔开)",
  1718. "name": "roleid",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1755. "parameters": [
  1756. {
  1757. "type": "integer",
  1758. "description": "用户ID",
  1759. "name": "userid",
  1760. "in": "query",
  1761. "required": true
  1762. },
  1763. {
  1764. "type": "integer",
  1765. "description": "账号id",
  1766. "name": "accountid",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "type": "array",
  1775. "items": {
  1776. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1777. }
  1778. }
  1779. },
  1780. "500": {
  1781. "description": "Internal Server Error",
  1782. "schema": {
  1783. "$ref": "#/definitions/app.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/Ermcp/QueryAccMgrTaaccount": {
  1790. "get": {
  1791. "security": [
  1792. {
  1793. "ApiKeyAuth": []
  1794. }
  1795. ],
  1796. "produces": [
  1797. "application/json"
  1798. ],
  1799. "tags": [
  1800. "企业风险管理(app)"
  1801. ],
  1802. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "用户ID",
  1807. "name": "userid",
  1808. "in": "query",
  1809. "required": true
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "type": "array",
  1817. "items": {
  1818. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1819. }
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryAreaStock": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "查询机构库存(库存管理/当前库存)",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "用户ID",
  1849. "name": "userid",
  1850. "in": "query",
  1851. "required": true
  1852. }
  1853. ],
  1854. "responses": {
  1855. "200": {
  1856. "description": "OK",
  1857. "schema": {
  1858. "type": "array",
  1859. "items": {
  1860. "$ref": "#/definitions/models.ErmcpAreaStock"
  1861. }
  1862. }
  1863. },
  1864. "500": {
  1865. "description": "Internal Server Error",
  1866. "schema": {
  1867. "$ref": "#/definitions/app.Response"
  1868. }
  1869. }
  1870. }
  1871. }
  1872. },
  1873. "/Ermcp/QueryAreaStockApply": {
  1874. "get": {
  1875. "security": [
  1876. {
  1877. "ApiKeyAuth": []
  1878. }
  1879. ],
  1880. "produces": [
  1881. "application/json"
  1882. ],
  1883. "tags": [
  1884. "企业风险管理(app)"
  1885. ],
  1886. "summary": "查询库存申请(出入库记录|库存审核)",
  1887. "parameters": [
  1888. {
  1889. "type": "integer",
  1890. "description": "用户ID",
  1891. "name": "userid",
  1892. "in": "query",
  1893. "required": true
  1894. },
  1895. {
  1896. "type": "string",
  1897. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1898. "name": "inouttype",
  1899. "in": "query"
  1900. },
  1901. {
  1902. "type": "integer",
  1903. "description": "合同ID",
  1904. "name": "spotcontractid",
  1905. "in": "query"
  1906. },
  1907. {
  1908. "type": "integer",
  1909. "description": "现货商品ID",
  1910. "name": "wrstandardid",
  1911. "in": "query"
  1912. },
  1913. {
  1914. "type": "integer",
  1915. "description": "品牌ID",
  1916. "name": "spotgoodsbrandid",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "型号ID",
  1922. "name": "spotgoodsmodelid",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "仓库ID",
  1928. "name": "warehouseinfoid",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "string",
  1933. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1934. "name": "applystatus",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "type": "array",
  1943. "items": {
  1944. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1945. }
  1946. }
  1947. },
  1948. "500": {
  1949. "description": "Internal Server Error",
  1950. "schema": {
  1951. "$ref": "#/definitions/app.Response"
  1952. }
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "/Ermcp/QueryAreaStockApplySum": {
  1958. "get": {
  1959. "security": [
  1960. {
  1961. "ApiKeyAuth": []
  1962. }
  1963. ],
  1964. "produces": [
  1965. "application/json"
  1966. ],
  1967. "tags": [
  1968. "企业风险管理(app)"
  1969. ],
  1970. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1971. "parameters": [
  1972. {
  1973. "type": "integer",
  1974. "description": "合同ID",
  1975. "name": "spotcontractid",
  1976. "in": "query"
  1977. }
  1978. ],
  1979. "responses": {
  1980. "200": {
  1981. "description": "OK",
  1982. "schema": {
  1983. "type": "array",
  1984. "items": {
  1985. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1986. }
  1987. }
  1988. },
  1989. "500": {
  1990. "description": "Internal Server Error",
  1991. "schema": {
  1992. "$ref": "#/definitions/app.Response"
  1993. }
  1994. }
  1995. }
  1996. }
  1997. },
  1998. "/Ermcp/QueryAreaStockReport": {
  1999. "get": {
  2000. "security": [
  2001. {
  2002. "ApiKeyAuth": []
  2003. }
  2004. ],
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "查询库存报表",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "用户ID",
  2016. "name": "userid",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "查询类型 1-日报表 2-月报表",
  2023. "name": "querytype",
  2024. "in": "query",
  2025. "required": true
  2026. },
  2027. {
  2028. "type": "string",
  2029. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2030. "name": "querydate",
  2031. "in": "query",
  2032. "required": true
  2033. },
  2034. {
  2035. "type": "integer",
  2036. "description": "现货商品ID",
  2037. "name": "wrstandardid",
  2038. "in": "query"
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "品牌ID",
  2043. "name": "spotgoodsbrandid",
  2044. "in": "query"
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "型号ID",
  2049. "name": "spotgoodsmodelid",
  2050. "in": "query"
  2051. },
  2052. {
  2053. "type": "integer",
  2054. "description": "仓库ID",
  2055. "name": "warehouseinfoid",
  2056. "in": "query"
  2057. }
  2058. ],
  2059. "responses": {
  2060. "200": {
  2061. "description": "OK",
  2062. "schema": {
  2063. "type": "array",
  2064. "items": {
  2065. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2066. }
  2067. }
  2068. },
  2069. "500": {
  2070. "description": "Internal Server Error",
  2071. "schema": {
  2072. "$ref": "#/definitions/app.Response"
  2073. }
  2074. }
  2075. }
  2076. }
  2077. },
  2078. "/Ermcp/QueryAreaStockReportDetail": {
  2079. "get": {
  2080. "security": [
  2081. {
  2082. "ApiKeyAuth": []
  2083. }
  2084. ],
  2085. "produces": [
  2086. "application/json"
  2087. ],
  2088. "tags": [
  2089. "企业风险管理(app)"
  2090. ],
  2091. "summary": "查询库存报表明细",
  2092. "parameters": [
  2093. {
  2094. "type": "integer",
  2095. "description": "用户ID",
  2096. "name": "userid",
  2097. "in": "query",
  2098. "required": true
  2099. },
  2100. {
  2101. "type": "integer",
  2102. "description": "查询类型 1-日报表明细 2-月报表明细",
  2103. "name": "querytype",
  2104. "in": "query",
  2105. "required": true
  2106. },
  2107. {
  2108. "type": "integer",
  2109. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2110. "name": "detailtype",
  2111. "in": "query",
  2112. "required": true
  2113. },
  2114. {
  2115. "type": "string",
  2116. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2117. "name": "querydate",
  2118. "in": "query",
  2119. "required": true
  2120. },
  2121. {
  2122. "type": "integer",
  2123. "description": "现货商品ID",
  2124. "name": "wrstandardid",
  2125. "in": "query"
  2126. },
  2127. {
  2128. "type": "integer",
  2129. "description": "品牌ID",
  2130. "name": "spotgoodsbrandid",
  2131. "in": "query"
  2132. },
  2133. {
  2134. "type": "integer",
  2135. "description": "型号ID",
  2136. "name": "spotgoodsmodelid",
  2137. "in": "query"
  2138. },
  2139. {
  2140. "type": "integer",
  2141. "description": "仓库ID",
  2142. "name": "warehouseinfoid",
  2143. "in": "query"
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryAvaildGoodsGroup": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "userid",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryBusinessDj": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "用户ID",
  2225. "name": "UserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "string",
  2231. "description": "现货合同ID, 不填则查所有",
  2232. "name": "relatedid",
  2233. "in": "query"
  2234. },
  2235. {
  2236. "type": "string",
  2237. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2238. "name": "applystatus",
  2239. "in": "query"
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryBusinessFp": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "用户ID",
  2279. "name": "UserId",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "string",
  2285. "description": "现货合同ID, 不填则查所有",
  2286. "name": "relatedid",
  2287. "in": "query"
  2288. },
  2289. {
  2290. "type": "string",
  2291. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2292. "name": "applystatus",
  2293. "in": "query"
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryBusinessJs": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2329. "parameters": [
  2330. {
  2331. "type": "integer",
  2332. "description": "用户ID",
  2333. "name": "UserId",
  2334. "in": "query",
  2335. "required": true
  2336. },
  2337. {
  2338. "type": "string",
  2339. "description": "现货合同ID, 不填则查所有",
  2340. "name": "relatedid",
  2341. "in": "query"
  2342. },
  2343. {
  2344. "type": "string",
  2345. "description": "操作申请id",
  2346. "name": "operateapplyid",
  2347. "in": "query"
  2348. },
  2349. {
  2350. "type": "string",
  2351. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2352. "name": "applystatus",
  2353. "in": "query"
  2354. }
  2355. ],
  2356. "responses": {
  2357. "200": {
  2358. "description": "OK",
  2359. "schema": {
  2360. "type": "array",
  2361. "items": {
  2362. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2363. }
  2364. }
  2365. },
  2366. "500": {
  2367. "description": "Internal Server Error",
  2368. "schema": {
  2369. "$ref": "#/definitions/app.Response"
  2370. }
  2371. }
  2372. }
  2373. }
  2374. },
  2375. "/Ermcp/QueryBusinessJsEx": {
  2376. "get": {
  2377. "security": [
  2378. {
  2379. "ApiKeyAuth": []
  2380. }
  2381. ],
  2382. "produces": [
  2383. "application/json"
  2384. ],
  2385. "tags": [
  2386. "企业风险管理(app)"
  2387. ],
  2388. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2389. "parameters": [
  2390. {
  2391. "type": "integer",
  2392. "description": "用户ID",
  2393. "name": "UserId",
  2394. "in": "query",
  2395. "required": true
  2396. },
  2397. {
  2398. "type": "string",
  2399. "description": "现货合同ID, 不填则查所有",
  2400. "name": "relatedid",
  2401. "in": "query"
  2402. },
  2403. {
  2404. "type": "string",
  2405. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2406. "name": "applystatus",
  2407. "in": "query"
  2408. }
  2409. ],
  2410. "responses": {
  2411. "200": {
  2412. "description": "OK",
  2413. "schema": {
  2414. "type": "array",
  2415. "items": {
  2416. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2417. }
  2418. }
  2419. },
  2420. "500": {
  2421. "description": "Internal Server Error",
  2422. "schema": {
  2423. "$ref": "#/definitions/app.Response"
  2424. }
  2425. }
  2426. }
  2427. }
  2428. },
  2429. "/Ermcp/QueryBusinessKx": {
  2430. "get": {
  2431. "security": [
  2432. {
  2433. "ApiKeyAuth": []
  2434. }
  2435. ],
  2436. "produces": [
  2437. "application/json"
  2438. ],
  2439. "tags": [
  2440. "企业风险管理(app)"
  2441. ],
  2442. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2443. "parameters": [
  2444. {
  2445. "type": "integer",
  2446. "description": "用户ID",
  2447. "name": "UserId",
  2448. "in": "query",
  2449. "required": true
  2450. },
  2451. {
  2452. "type": "string",
  2453. "description": "现货合同ID, 不填则查所有",
  2454. "name": "relatedid",
  2455. "in": "query"
  2456. },
  2457. {
  2458. "type": "string",
  2459. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2460. "name": "applystatus",
  2461. "in": "query"
  2462. }
  2463. ],
  2464. "responses": {
  2465. "200": {
  2466. "description": "OK",
  2467. "schema": {
  2468. "type": "array",
  2469. "items": {
  2470. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2471. }
  2472. }
  2473. },
  2474. "500": {
  2475. "description": "Internal Server Error",
  2476. "schema": {
  2477. "$ref": "#/definitions/app.Response"
  2478. }
  2479. }
  2480. }
  2481. }
  2482. },
  2483. "/Ermcp/QueryChangeLog": {
  2484. "get": {
  2485. "security": [
  2486. {
  2487. "ApiKeyAuth": []
  2488. }
  2489. ],
  2490. "produces": [
  2491. "application/json"
  2492. ],
  2493. "tags": [
  2494. "企业风险管理(app)"
  2495. ],
  2496. "summary": "查询变更记录",
  2497. "parameters": [
  2498. {
  2499. "type": "string",
  2500. "description": "合同ID",
  2501. "name": "RelatedId",
  2502. "in": "query",
  2503. "required": true
  2504. }
  2505. ],
  2506. "responses": {
  2507. "200": {
  2508. "description": "OK",
  2509. "schema": {
  2510. "type": "array",
  2511. "items": {
  2512. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2513. }
  2514. }
  2515. },
  2516. "500": {
  2517. "description": "Internal Server Error",
  2518. "schema": {
  2519. "$ref": "#/definitions/app.Response"
  2520. }
  2521. }
  2522. }
  2523. }
  2524. },
  2525. "/Ermcp/QueryContract": {
  2526. "get": {
  2527. "security": [
  2528. {
  2529. "ApiKeyAuth": []
  2530. }
  2531. ],
  2532. "produces": [
  2533. "application/json"
  2534. ],
  2535. "tags": [
  2536. "企业风险管理(app)"
  2537. ],
  2538. "summary": "查询合同(采购和销售)",
  2539. "parameters": [
  2540. {
  2541. "type": "integer",
  2542. "description": "用户ID",
  2543. "name": "userId",
  2544. "in": "query",
  2545. "required": true
  2546. },
  2547. {
  2548. "type": "integer",
  2549. "description": "合同类型 1-采购, -1-销售",
  2550. "name": "contracttype",
  2551. "in": "query",
  2552. "required": true
  2553. },
  2554. {
  2555. "type": "integer",
  2556. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2557. "name": "querytype",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "string",
  2563. "description": "合同ID(SpotContractId)",
  2564. "name": "contractid",
  2565. "in": "query"
  2566. }
  2567. ],
  2568. "responses": {
  2569. "200": {
  2570. "description": "OK",
  2571. "schema": {
  2572. "type": "array",
  2573. "items": {
  2574. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2575. }
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/Ermcp/QueryErmcpHisOrderDetails": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "企业风险管理(app)"
  2599. ],
  2600. "summary": "获取企业风管期货历史委托单信息",
  2601. "parameters": [
  2602. {
  2603. "type": "integer",
  2604. "description": "资金账户ID",
  2605. "name": "accountID",
  2606. "in": "query",
  2607. "required": true
  2608. },
  2609. {
  2610. "type": "string",
  2611. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2612. "name": "startDate",
  2613. "in": "query"
  2614. },
  2615. {
  2616. "type": "string",
  2617. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2618. "name": "endDate",
  2619. "in": "query"
  2620. }
  2621. ],
  2622. "responses": {
  2623. "200": {
  2624. "description": "OK",
  2625. "schema": {
  2626. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2627. }
  2628. },
  2629. "500": {
  2630. "description": "Internal Server Error",
  2631. "schema": {
  2632. "$ref": "#/definitions/app.Response"
  2633. }
  2634. }
  2635. }
  2636. }
  2637. },
  2638. "/Ermcp/QueryErmcpHisTradeDetails": {
  2639. "get": {
  2640. "security": [
  2641. {
  2642. "ApiKeyAuth": []
  2643. }
  2644. ],
  2645. "produces": [
  2646. "application/json"
  2647. ],
  2648. "tags": [
  2649. "企业风险管理(app)"
  2650. ],
  2651. "summary": "获取企业风管期货历史成交单信息",
  2652. "parameters": [
  2653. {
  2654. "type": "integer",
  2655. "description": "资金账户ID",
  2656. "name": "accountID",
  2657. "in": "query",
  2658. "required": true
  2659. },
  2660. {
  2661. "type": "integer",
  2662. "description": "商品ID",
  2663. "name": "goodsID",
  2664. "in": "query"
  2665. },
  2666. {
  2667. "type": "integer",
  2668. "description": "买卖方向,0:买 1:卖",
  2669. "name": "buyOrSell",
  2670. "in": "query"
  2671. },
  2672. {
  2673. "type": "integer",
  2674. "description": "关联委托单号",
  2675. "name": "orderID",
  2676. "in": "query"
  2677. },
  2678. {
  2679. "type": "string",
  2680. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2681. "name": "startDate",
  2682. "in": "query"
  2683. },
  2684. {
  2685. "type": "string",
  2686. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2687. "name": "endDate",
  2688. "in": "query"
  2689. }
  2690. ],
  2691. "responses": {
  2692. "200": {
  2693. "description": "OK",
  2694. "schema": {
  2695. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2696. }
  2697. },
  2698. "500": {
  2699. "description": "Internal Server Error",
  2700. "schema": {
  2701. "$ref": "#/definitions/app.Response"
  2702. }
  2703. }
  2704. }
  2705. }
  2706. },
  2707. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2708. "get": {
  2709. "security": [
  2710. {
  2711. "ApiKeyAuth": []
  2712. }
  2713. ],
  2714. "produces": [
  2715. "application/json"
  2716. ],
  2717. "tags": [
  2718. "企业风险管理(app)"
  2719. ],
  2720. "summary": "获取企业风管期货内部持仓单信息",
  2721. "parameters": [
  2722. {
  2723. "type": "integer",
  2724. "description": "资金账户ID",
  2725. "name": "accountID",
  2726. "in": "query",
  2727. "required": true
  2728. },
  2729. {
  2730. "type": "integer",
  2731. "description": "商品ID",
  2732. "name": "goodsID",
  2733. "in": "query"
  2734. },
  2735. {
  2736. "type": "integer",
  2737. "description": "买卖方向,0:买 1:卖",
  2738. "name": "buyOrSell",
  2739. "in": "query"
  2740. }
  2741. ],
  2742. "responses": {
  2743. "200": {
  2744. "description": "OK",
  2745. "schema": {
  2746. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryErmcpOrderDetails": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "获取企业风管期货委托单信息",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "资金账户ID",
  2776. "name": "accountID",
  2777. "in": "query",
  2778. "required": true
  2779. }
  2780. ],
  2781. "responses": {
  2782. "200": {
  2783. "description": "OK",
  2784. "schema": {
  2785. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2786. }
  2787. },
  2788. "500": {
  2789. "description": "Internal Server Error",
  2790. "schema": {
  2791. "$ref": "#/definitions/app.Response"
  2792. }
  2793. }
  2794. }
  2795. }
  2796. },
  2797. "/Ermcp/QueryErmcpTradeDetails": {
  2798. "get": {
  2799. "security": [
  2800. {
  2801. "ApiKeyAuth": []
  2802. }
  2803. ],
  2804. "produces": [
  2805. "application/json"
  2806. ],
  2807. "tags": [
  2808. "企业风险管理(app)"
  2809. ],
  2810. "summary": "获取企业风管期货成交单信息",
  2811. "parameters": [
  2812. {
  2813. "type": "integer",
  2814. "description": "资金账户ID",
  2815. "name": "accountID",
  2816. "in": "query",
  2817. "required": true
  2818. },
  2819. {
  2820. "type": "integer",
  2821. "description": "商品ID",
  2822. "name": "goodsID",
  2823. "in": "query"
  2824. },
  2825. {
  2826. "type": "integer",
  2827. "description": "买卖方向,0:买 1:卖",
  2828. "name": "buyOrSell",
  2829. "in": "query"
  2830. },
  2831. {
  2832. "type": "integer",
  2833. "description": "关联委托单号",
  2834. "name": "orderID",
  2835. "in": "query"
  2836. }
  2837. ],
  2838. "responses": {
  2839. "200": {
  2840. "description": "OK",
  2841. "schema": {
  2842. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2843. }
  2844. },
  2845. "500": {
  2846. "description": "Internal Server Error",
  2847. "schema": {
  2848. "$ref": "#/definitions/app.Response"
  2849. }
  2850. }
  2851. }
  2852. }
  2853. },
  2854. "/Ermcp/QueryErmcpTradePosition": {
  2855. "get": {
  2856. "security": [
  2857. {
  2858. "ApiKeyAuth": []
  2859. }
  2860. ],
  2861. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "获取企业风管期货持仓头寸信息",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "资金账户ID",
  2873. "name": "accountID",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "所属市场ID",
  2880. "name": "marketID",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2889. }
  2890. },
  2891. "500": {
  2892. "description": "Internal Server Error",
  2893. "schema": {
  2894. "$ref": "#/definitions/app.Response"
  2895. }
  2896. }
  2897. }
  2898. }
  2899. },
  2900. "/Ermcp/QueryExposureDetail": {
  2901. "get": {
  2902. "security": [
  2903. {
  2904. "ApiKeyAuth": []
  2905. }
  2906. ],
  2907. "produces": [
  2908. "application/json"
  2909. ],
  2910. "tags": [
  2911. "企业风险管理(app)"
  2912. ],
  2913. "summary": "查询敞口现货明细",
  2914. "parameters": [
  2915. {
  2916. "type": "integer",
  2917. "description": "所属机构ID",
  2918. "name": "areaUserId",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "integer",
  2924. "description": "套保商品",
  2925. "name": "middleGoodsId",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp/QueryExposureHedgePosition": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理(app)"
  2961. ],
  2962. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "所属机构ID",
  2967. "name": "areaUserId",
  2968. "in": "query",
  2969. "required": true
  2970. }
  2971. ],
  2972. "responses": {
  2973. "200": {
  2974. "description": "OK",
  2975. "schema": {
  2976. "type": "array",
  2977. "items": {
  2978. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2979. }
  2980. }
  2981. },
  2982. "500": {
  2983. "description": "Internal Server Error",
  2984. "schema": {
  2985. "$ref": "#/definitions/app.Response"
  2986. }
  2987. }
  2988. }
  2989. }
  2990. },
  2991. "/Ermcp/QueryExposureHedgePositionDetail": {
  2992. "get": {
  2993. "security": [
  2994. {
  2995. "ApiKeyAuth": []
  2996. }
  2997. ],
  2998. "produces": [
  2999. "application/json"
  3000. ],
  3001. "tags": [
  3002. "企业风险管理(app)"
  3003. ],
  3004. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3005. "parameters": [
  3006. {
  3007. "type": "integer",
  3008. "description": "所属机构ID",
  3009. "name": "areaUserId",
  3010. "in": "query",
  3011. "required": true
  3012. },
  3013. {
  3014. "type": "integer",
  3015. "description": "商品id",
  3016. "name": "goodsId",
  3017. "in": "query",
  3018. "required": true
  3019. }
  3020. ],
  3021. "responses": {
  3022. "200": {
  3023. "description": "OK",
  3024. "schema": {
  3025. "type": "array",
  3026. "items": {
  3027. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3028. }
  3029. }
  3030. },
  3031. "500": {
  3032. "description": "Internal Server Error",
  3033. "schema": {
  3034. "$ref": "#/definitions/app.Response"
  3035. }
  3036. }
  3037. }
  3038. }
  3039. },
  3040. "/Ermcp/QueryExposureSpot": {
  3041. "get": {
  3042. "security": [
  3043. {
  3044. "ApiKeyAuth": []
  3045. }
  3046. ],
  3047. "produces": [
  3048. "application/json"
  3049. ],
  3050. "tags": [
  3051. "企业风险管理(app)"
  3052. ],
  3053. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3054. "parameters": [
  3055. {
  3056. "type": "integer",
  3057. "description": "所属机构ID",
  3058. "name": "areaUserId",
  3059. "in": "query",
  3060. "required": true
  3061. }
  3062. ],
  3063. "responses": {
  3064. "200": {
  3065. "description": "OK",
  3066. "schema": {
  3067. "type": "array",
  3068. "items": {
  3069. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3070. }
  3071. }
  3072. },
  3073. "500": {
  3074. "description": "Internal Server Error",
  3075. "schema": {
  3076. "$ref": "#/definitions/app.Response"
  3077. }
  3078. }
  3079. }
  3080. }
  3081. },
  3082. "/Ermcp/QueryExposureSpotDetail": {
  3083. "get": {
  3084. "security": [
  3085. {
  3086. "ApiKeyAuth": []
  3087. }
  3088. ],
  3089. "produces": [
  3090. "application/json"
  3091. ],
  3092. "tags": [
  3093. "企业风险管理(app)"
  3094. ],
  3095. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3096. "parameters": [
  3097. {
  3098. "type": "integer",
  3099. "description": "所属机构ID",
  3100. "name": "areaUserId",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "现货品种ID",
  3107. "name": "wrstandardId",
  3108. "in": "query",
  3109. "required": true
  3110. }
  3111. ],
  3112. "responses": {
  3113. "200": {
  3114. "description": "OK",
  3115. "schema": {
  3116. "type": "array",
  3117. "items": {
  3118. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3119. }
  3120. }
  3121. },
  3122. "500": {
  3123. "description": "Internal Server Error",
  3124. "schema": {
  3125. "$ref": "#/definitions/app.Response"
  3126. }
  3127. }
  3128. }
  3129. }
  3130. },
  3131. "/Ermcp/QueryFuturesCompany": {
  3132. "get": {
  3133. "security": [
  3134. {
  3135. "ApiKeyAuth": []
  3136. }
  3137. ],
  3138. "produces": [
  3139. "application/json"
  3140. ],
  3141. "tags": [
  3142. "企业风险管理(app)"
  3143. ],
  3144. "summary": "查询期货公司",
  3145. "responses": {
  3146. "200": {
  3147. "description": "OK",
  3148. "schema": {
  3149. "type": "array",
  3150. "items": {
  3151. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3152. }
  3153. }
  3154. },
  3155. "500": {
  3156. "description": "Internal Server Error",
  3157. "schema": {
  3158. "$ref": "#/definitions/app.Response"
  3159. }
  3160. }
  3161. }
  3162. }
  3163. },
  3164. "/Ermcp/QueryGGConvertConfig": {
  3165. "get": {
  3166. "security": [
  3167. {
  3168. "ApiKeyAuth": []
  3169. }
  3170. ],
  3171. "produces": [
  3172. "application/json"
  3173. ],
  3174. "tags": [
  3175. "企业风险管理(app)"
  3176. ],
  3177. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3178. "parameters": [
  3179. {
  3180. "type": "integer",
  3181. "description": "品种id(不填则查所有)",
  3182. "name": "goodsgroupid",
  3183. "in": "query"
  3184. }
  3185. ],
  3186. "responses": {
  3187. "200": {
  3188. "description": "OK",
  3189. "schema": {
  3190. "type": "array",
  3191. "items": {
  3192. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3193. }
  3194. }
  3195. },
  3196. "500": {
  3197. "description": "Internal Server Error",
  3198. "schema": {
  3199. "$ref": "#/definitions/app.Response"
  3200. }
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "/Ermcp/QueryGoodsBrand": {
  3206. "get": {
  3207. "security": [
  3208. {
  3209. "ApiKeyAuth": []
  3210. }
  3211. ],
  3212. "produces": [
  3213. "application/json"
  3214. ],
  3215. "tags": [
  3216. "企业风险管理(app)"
  3217. ],
  3218. "summary": "查询商品品牌",
  3219. "parameters": [
  3220. {
  3221. "type": "integer",
  3222. "description": "用户ID",
  3223. "name": "userid",
  3224. "in": "query",
  3225. "required": true
  3226. },
  3227. {
  3228. "type": "integer",
  3229. "description": "现货商品ID",
  3230. "name": "wrstandardid",
  3231. "in": "query"
  3232. }
  3233. ],
  3234. "responses": {
  3235. "200": {
  3236. "description": "OK",
  3237. "schema": {
  3238. "type": "array",
  3239. "items": {
  3240. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3241. }
  3242. }
  3243. },
  3244. "500": {
  3245. "description": "Internal Server Error",
  3246. "schema": {
  3247. "$ref": "#/definitions/app.Response"
  3248. }
  3249. }
  3250. }
  3251. }
  3252. },
  3253. "/Ermcp/QueryGoodsModel": {
  3254. "get": {
  3255. "security": [
  3256. {
  3257. "ApiKeyAuth": []
  3258. }
  3259. ],
  3260. "produces": [
  3261. "application/json"
  3262. ],
  3263. "tags": [
  3264. "企业风险管理(app)"
  3265. ],
  3266. "summary": "查询商品型号",
  3267. "parameters": [
  3268. {
  3269. "type": "integer",
  3270. "description": "用户ID",
  3271. "name": "userid",
  3272. "in": "query",
  3273. "required": true
  3274. }
  3275. ],
  3276. "responses": {
  3277. "200": {
  3278. "description": "OK",
  3279. "schema": {
  3280. "type": "array",
  3281. "items": {
  3282. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3283. }
  3284. }
  3285. },
  3286. "500": {
  3287. "description": "Internal Server Error",
  3288. "schema": {
  3289. "$ref": "#/definitions/app.Response"
  3290. }
  3291. }
  3292. }
  3293. }
  3294. },
  3295. "/Ermcp/QueryHedgePlan": {
  3296. "get": {
  3297. "security": [
  3298. {
  3299. "ApiKeyAuth": []
  3300. }
  3301. ],
  3302. "produces": [
  3303. "application/json"
  3304. ],
  3305. "tags": [
  3306. "企业风险管理(app)"
  3307. ],
  3308. "summary": "查询套保计划",
  3309. "parameters": [
  3310. {
  3311. "type": "integer",
  3312. "description": "用户ID",
  3313. "name": "userId",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "string",
  3319. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3320. "name": "HedgePlanStatus",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "type": "array",
  3330. "items": {
  3331. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3332. }
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Ermcp/QueryHisExposure": {
  3345. "get": {
  3346. "security": [
  3347. {
  3348. "ApiKeyAuth": []
  3349. }
  3350. ],
  3351. "produces": [
  3352. "application/json"
  3353. ],
  3354. "tags": [
  3355. "企业风险管理(app)"
  3356. ],
  3357. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3358. "parameters": [
  3359. {
  3360. "type": "integer",
  3361. "description": "所属机构ID",
  3362. "name": "areaUserId",
  3363. "in": "query",
  3364. "required": true
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "每个品种记录数",
  3369. "name": "lastNum",
  3370. "in": "query",
  3371. "required": true
  3372. }
  3373. ],
  3374. "responses": {
  3375. "200": {
  3376. "description": "OK",
  3377. "schema": {
  3378. "type": "array",
  3379. "items": {
  3380. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3381. }
  3382. }
  3383. },
  3384. "500": {
  3385. "description": "Internal Server Error",
  3386. "schema": {
  3387. "$ref": "#/definitions/app.Response"
  3388. }
  3389. }
  3390. }
  3391. }
  3392. },
  3393. "/Ermcp/QueryMiddleGoods": {
  3394. "get": {
  3395. "security": [
  3396. {
  3397. "ApiKeyAuth": []
  3398. }
  3399. ],
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "企业风险管理(app)"
  3405. ],
  3406. "summary": "查询套保品种(菜单:套保品种)",
  3407. "parameters": [
  3408. {
  3409. "type": "integer",
  3410. "description": "所属机构ID",
  3411. "name": "userid",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "integer",
  3417. "description": "状态 0-停用 1-正常",
  3418. "name": "status",
  3419. "in": "query",
  3420. "required": true
  3421. }
  3422. ],
  3423. "responses": {
  3424. "200": {
  3425. "description": "OK",
  3426. "schema": {
  3427. "type": "array",
  3428. "items": {
  3429. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3430. }
  3431. }
  3432. },
  3433. "500": {
  3434. "description": "Internal Server Error",
  3435. "schema": {
  3436. "$ref": "#/definitions/app.Response"
  3437. }
  3438. }
  3439. }
  3440. }
  3441. },
  3442. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3443. "get": {
  3444. "security": [
  3445. {
  3446. "ApiKeyAuth": []
  3447. }
  3448. ],
  3449. "produces": [
  3450. "application/json"
  3451. ],
  3452. "tags": [
  3453. "企业风险管理(app)"
  3454. ],
  3455. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3456. "parameters": [
  3457. {
  3458. "type": "integer",
  3459. "description": "所属机构ID",
  3460. "name": "userid",
  3461. "in": "query",
  3462. "required": true
  3463. },
  3464. {
  3465. "type": "integer",
  3466. "description": "套保品种id",
  3467. "name": "middlegoodsid",
  3468. "in": "query",
  3469. "required": true
  3470. }
  3471. ],
  3472. "responses": {
  3473. "200": {
  3474. "description": "OK",
  3475. "schema": {
  3476. "type": "array",
  3477. "items": {
  3478. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3479. }
  3480. }
  3481. },
  3482. "500": {
  3483. "description": "Internal Server Error",
  3484. "schema": {
  3485. "$ref": "#/definitions/app.Response"
  3486. }
  3487. }
  3488. }
  3489. }
  3490. },
  3491. "/Ermcp/QueryMiddleGoodsDetail": {
  3492. "get": {
  3493. "security": [
  3494. {
  3495. "ApiKeyAuth": []
  3496. }
  3497. ],
  3498. "produces": [
  3499. "application/json"
  3500. ],
  3501. "tags": [
  3502. "企业风险管理(app)"
  3503. ],
  3504. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3505. "parameters": [
  3506. {
  3507. "type": "integer",
  3508. "description": "所属机构ID",
  3509. "name": "userid",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "integer",
  3515. "description": "套保品种id",
  3516. "name": "middlegoodsid",
  3517. "in": "query"
  3518. }
  3519. ],
  3520. "responses": {
  3521. "200": {
  3522. "description": "OK",
  3523. "schema": {
  3524. "type": "array",
  3525. "items": {
  3526. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3527. }
  3528. }
  3529. },
  3530. "500": {
  3531. "description": "Internal Server Error",
  3532. "schema": {
  3533. "$ref": "#/definitions/app.Response"
  3534. }
  3535. }
  3536. }
  3537. }
  3538. },
  3539. "/Ermcp/QueryPendingAuditInfo": {
  3540. "get": {
  3541. "security": [
  3542. {
  3543. "ApiKeyAuth": []
  3544. }
  3545. ],
  3546. "produces": [
  3547. "application/json"
  3548. ],
  3549. "tags": [
  3550. "企业风险管理(app)"
  3551. ],
  3552. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3553. "parameters": [
  3554. {
  3555. "type": "integer",
  3556. "description": "用户ID",
  3557. "name": "UserId",
  3558. "in": "query",
  3559. "required": true
  3560. }
  3561. ],
  3562. "responses": {
  3563. "200": {
  3564. "description": "OK",
  3565. "schema": {
  3566. "type": "array",
  3567. "items": {
  3568. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3569. }
  3570. }
  3571. },
  3572. "500": {
  3573. "description": "Internal Server Error",
  3574. "schema": {
  3575. "$ref": "#/definitions/app.Response"
  3576. }
  3577. }
  3578. }
  3579. }
  3580. },
  3581. "/Ermcp/QueryRealtimeExposure": {
  3582. "get": {
  3583. "security": [
  3584. {
  3585. "ApiKeyAuth": []
  3586. }
  3587. ],
  3588. "produces": [
  3589. "application/json"
  3590. ],
  3591. "tags": [
  3592. "企业风险管理(app)"
  3593. ],
  3594. "summary": "查询实时敞口",
  3595. "parameters": [
  3596. {
  3597. "type": "integer",
  3598. "description": "所属机构ID",
  3599. "name": "AreaUserID",
  3600. "in": "query",
  3601. "required": true
  3602. }
  3603. ],
  3604. "responses": {
  3605. "200": {
  3606. "description": "OK",
  3607. "schema": {
  3608. "type": "array",
  3609. "items": {
  3610. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3611. }
  3612. }
  3613. },
  3614. "500": {
  3615. "description": "Internal Server Error",
  3616. "schema": {
  3617. "$ref": "#/definitions/app.Response"
  3618. }
  3619. }
  3620. }
  3621. }
  3622. },
  3623. "/Ermcp/QueryRealtimeExposurePosition": {
  3624. "get": {
  3625. "security": [
  3626. {
  3627. "ApiKeyAuth": []
  3628. }
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "企业风险管理(app)"
  3635. ],
  3636. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3637. "parameters": [
  3638. {
  3639. "type": "integer",
  3640. "description": "所属机构ID",
  3641. "name": "areaUserId",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "套保商品ID",
  3648. "name": "middleGoodsId",
  3649. "in": "query",
  3650. "required": true
  3651. }
  3652. ],
  3653. "responses": {
  3654. "200": {
  3655. "description": "OK",
  3656. "schema": {
  3657. "type": "array",
  3658. "items": {
  3659. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3660. }
  3661. }
  3662. },
  3663. "500": {
  3664. "description": "Internal Server Error",
  3665. "schema": {
  3666. "$ref": "#/definitions/app.Response"
  3667. }
  3668. }
  3669. }
  3670. }
  3671. },
  3672. "/Ermcp/QuerySpotContract": {
  3673. "get": {
  3674. "security": [
  3675. {
  3676. "ApiKeyAuth": []
  3677. }
  3678. ],
  3679. "produces": [
  3680. "application/json"
  3681. ],
  3682. "tags": [
  3683. "企业风险管理(app)"
  3684. ],
  3685. "summary": "查询现货合同(对应现货合同菜单)",
  3686. "parameters": [
  3687. {
  3688. "type": "integer",
  3689. "description": "用户ID",
  3690. "name": "userId",
  3691. "in": "query",
  3692. "required": true
  3693. },
  3694. {
  3695. "type": "integer",
  3696. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3697. "name": "QueryType",
  3698. "in": "query",
  3699. "required": true
  3700. }
  3701. ],
  3702. "responses": {
  3703. "200": {
  3704. "description": "OK",
  3705. "schema": {
  3706. "type": "array",
  3707. "items": {
  3708. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3709. }
  3710. }
  3711. },
  3712. "500": {
  3713. "description": "Internal Server Error",
  3714. "schema": {
  3715. "$ref": "#/definitions/app.Response"
  3716. }
  3717. }
  3718. }
  3719. }
  3720. },
  3721. "/Ermcp/QuerySpotGoodsPrice": {
  3722. "get": {
  3723. "security": [
  3724. {
  3725. "ApiKeyAuth": []
  3726. }
  3727. ],
  3728. "produces": [
  3729. "application/json"
  3730. ],
  3731. "tags": [
  3732. "企业风险管理(app)"
  3733. ],
  3734. "summary": "查询现货市价(现货市价)",
  3735. "parameters": [
  3736. {
  3737. "type": "integer",
  3738. "description": "用户ID",
  3739. "name": "userid",
  3740. "in": "query",
  3741. "required": true
  3742. }
  3743. ],
  3744. "responses": {
  3745. "200": {
  3746. "description": "OK",
  3747. "schema": {
  3748. "type": "array",
  3749. "items": {
  3750. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3751. }
  3752. }
  3753. },
  3754. "500": {
  3755. "description": "Internal Server Error",
  3756. "schema": {
  3757. "$ref": "#/definitions/app.Response"
  3758. }
  3759. }
  3760. }
  3761. }
  3762. },
  3763. "/Ermcp/QuerySpotGoodsPriceLog": {
  3764. "get": {
  3765. "security": [
  3766. {
  3767. "ApiKeyAuth": []
  3768. }
  3769. ],
  3770. "produces": [
  3771. "application/json"
  3772. ],
  3773. "tags": [
  3774. "企业风险管理(app)"
  3775. ],
  3776. "summary": "查询现货市价详情(现货市价/详情)",
  3777. "parameters": [
  3778. {
  3779. "type": "integer",
  3780. "description": "用户ID",
  3781. "name": "userid",
  3782. "in": "query",
  3783. "required": true
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "现货商品ID",
  3788. "name": "wrstandardid",
  3789. "in": "query",
  3790. "required": true
  3791. }
  3792. ],
  3793. "responses": {
  3794. "200": {
  3795. "description": "OK",
  3796. "schema": {
  3797. "type": "array",
  3798. "items": {
  3799. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3800. }
  3801. }
  3802. },
  3803. "500": {
  3804. "description": "Internal Server Error",
  3805. "schema": {
  3806. "$ref": "#/definitions/app.Response"
  3807. }
  3808. }
  3809. }
  3810. }
  3811. },
  3812. "/Ermcp/QueryTradeConfigTMP": {
  3813. "get": {
  3814. "security": [
  3815. {
  3816. "ApiKeyAuth": []
  3817. }
  3818. ],
  3819. "produces": [
  3820. "application/json"
  3821. ],
  3822. "tags": [
  3823. "企业风险管理(app)"
  3824. ],
  3825. "summary": "查询交易模板配置",
  3826. "parameters": [
  3827. {
  3828. "type": "integer",
  3829. "description": "所属机构id",
  3830. "name": "areauserid",
  3831. "in": "query"
  3832. }
  3833. ],
  3834. "responses": {
  3835. "200": {
  3836. "description": "OK",
  3837. "schema": {
  3838. "type": "array",
  3839. "items": {
  3840. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3841. }
  3842. }
  3843. },
  3844. "500": {
  3845. "description": "Internal Server Error",
  3846. "schema": {
  3847. "$ref": "#/definitions/app.Response"
  3848. }
  3849. }
  3850. }
  3851. }
  3852. },
  3853. "/Ermcp/QueryUserInfo": {
  3854. "get": {
  3855. "security": [
  3856. {
  3857. "ApiKeyAuth": []
  3858. }
  3859. ],
  3860. "produces": [
  3861. "application/json"
  3862. ],
  3863. "tags": [
  3864. "企业风险管理(app)"
  3865. ],
  3866. "summary": "查询客户资料",
  3867. "parameters": [
  3868. {
  3869. "type": "integer",
  3870. "description": "所属机构用户ID",
  3871. "name": "MemberUserID",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3878. "name": "queryType",
  3879. "in": "query",
  3880. "required": true
  3881. }
  3882. ],
  3883. "responses": {
  3884. "200": {
  3885. "description": "OK",
  3886. "schema": {
  3887. "type": "array",
  3888. "items": {
  3889. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3890. }
  3891. }
  3892. },
  3893. "500": {
  3894. "description": "Internal Server Error",
  3895. "schema": {
  3896. "$ref": "#/definitions/app.Response"
  3897. }
  3898. }
  3899. }
  3900. }
  3901. },
  3902. "/Ermcp/QueryWarehouseInfo": {
  3903. "get": {
  3904. "security": [
  3905. {
  3906. "ApiKeyAuth": []
  3907. }
  3908. ],
  3909. "produces": [
  3910. "application/json"
  3911. ],
  3912. "tags": [
  3913. "企业风险管理(app)"
  3914. ],
  3915. "summary": "查询仓库信息",
  3916. "parameters": [
  3917. {
  3918. "type": "integer",
  3919. "description": "用户ID",
  3920. "name": "userid",
  3921. "in": "query",
  3922. "required": true
  3923. },
  3924. {
  3925. "type": "string",
  3926. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3927. "name": "status",
  3928. "in": "query"
  3929. }
  3930. ],
  3931. "responses": {
  3932. "200": {
  3933. "description": "OK",
  3934. "schema": {
  3935. "type": "array",
  3936. "items": {
  3937. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3938. }
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/Ermcp/QueryWrStandard": {
  3951. "get": {
  3952. "security": [
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json"
  3959. ],
  3960. "tags": [
  3961. "企业风险管理(app)"
  3962. ],
  3963. "summary": "查询现货商品",
  3964. "parameters": [
  3965. {
  3966. "type": "integer",
  3967. "description": "所属机构ID",
  3968. "name": "userid",
  3969. "in": "query",
  3970. "required": true
  3971. },
  3972. {
  3973. "type": "integer",
  3974. "description": "状态 0-停用 1-正常",
  3975. "name": "status",
  3976. "in": "query",
  3977. "required": true
  3978. }
  3979. ],
  3980. "responses": {
  3981. "200": {
  3982. "description": "OK",
  3983. "schema": {
  3984. "type": "array",
  3985. "items": {
  3986. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3987. }
  3988. }
  3989. },
  3990. "500": {
  3991. "description": "Internal Server Error",
  3992. "schema": {
  3993. "$ref": "#/definitions/app.Response"
  3994. }
  3995. }
  3996. }
  3997. }
  3998. },
  3999. "/Ermcp/QueryWrStandardDetail": {
  4000. "get": {
  4001. "security": [
  4002. {
  4003. "ApiKeyAuth": []
  4004. }
  4005. ],
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "企业风险管理(app)"
  4011. ],
  4012. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4013. "parameters": [
  4014. {
  4015. "type": "integer",
  4016. "description": "所属机构ID",
  4017. "name": "userid",
  4018. "in": "query",
  4019. "required": true
  4020. },
  4021. {
  4022. "type": "integer",
  4023. "description": "现货商品ID",
  4024. "name": "wrstandardid",
  4025. "in": "query"
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "可不填, 1-查询关联交易商品",
  4030. "name": "goods",
  4031. "in": "query"
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "type": "array",
  4039. "items": {
  4040. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4041. }
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "Internal Server Error",
  4046. "schema": {
  4047. "$ref": "#/definitions/app.Response"
  4048. }
  4049. }
  4050. }
  4051. }
  4052. },
  4053. "/Ermcp3/QryReportAreaSpotPL": {
  4054. "get": {
  4055. "security": [
  4056. {
  4057. "ApiKeyAuth": []
  4058. }
  4059. ],
  4060. "produces": [
  4061. "application/json"
  4062. ],
  4063. "tags": [
  4064. "企业风险管理v3(app)"
  4065. ],
  4066. "summary": "查询现货损益报表(现货损益报表)",
  4067. "parameters": [
  4068. {
  4069. "type": "integer",
  4070. "description": "用户ID",
  4071. "name": "userid",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "查询类型 1-日报表 2-月报表",
  4078. "name": "querytype",
  4079. "in": "query",
  4080. "required": true
  4081. },
  4082. {
  4083. "type": "string",
  4084. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4085. "name": "querydate",
  4086. "in": "query",
  4087. "required": true
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "现货商品ID",
  4092. "name": "deliverygoodsid",
  4093. "in": "query"
  4094. },
  4095. {
  4096. "type": "integer",
  4097. "description": "品牌ID",
  4098. "name": "spotgoodsbrandid",
  4099. "in": "query"
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "品类ID",
  4104. "name": "wrstandardid",
  4105. "in": "query"
  4106. }
  4107. ],
  4108. "responses": {
  4109. "200": {
  4110. "description": "OK",
  4111. "schema": {
  4112. "type": "array",
  4113. "items": {
  4114. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4115. }
  4116. }
  4117. },
  4118. "500": {
  4119. "description": "Internal Server Error",
  4120. "schema": {
  4121. "$ref": "#/definitions/app.Response"
  4122. }
  4123. }
  4124. }
  4125. }
  4126. },
  4127. "/Ermcp3/QryReportDayFinanceFp": {
  4128. "get": {
  4129. "security": [
  4130. {
  4131. "ApiKeyAuth": []
  4132. }
  4133. ],
  4134. "produces": [
  4135. "application/json"
  4136. ],
  4137. "tags": [
  4138. "企业风险管理v3(app)"
  4139. ],
  4140. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4141. "parameters": [
  4142. {
  4143. "type": "integer",
  4144. "description": "用户ID",
  4145. "name": "userid",
  4146. "in": "query",
  4147. "required": true
  4148. },
  4149. {
  4150. "type": "string",
  4151. "description": "交易日(格式:yyyyMMdd)",
  4152. "name": "tradedate",
  4153. "in": "query",
  4154. "required": true
  4155. }
  4156. ],
  4157. "responses": {
  4158. "200": {
  4159. "description": "OK",
  4160. "schema": {
  4161. "type": "array",
  4162. "items": {
  4163. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4164. }
  4165. }
  4166. },
  4167. "500": {
  4168. "description": "Internal Server Error",
  4169. "schema": {
  4170. "$ref": "#/definitions/app.Response"
  4171. }
  4172. }
  4173. }
  4174. }
  4175. },
  4176. "/Ermcp3/QryReportDayFinanceKx": {
  4177. "get": {
  4178. "security": [
  4179. {
  4180. "ApiKeyAuth": []
  4181. }
  4182. ],
  4183. "produces": [
  4184. "application/json"
  4185. ],
  4186. "tags": [
  4187. "企业风险管理v3(app)"
  4188. ],
  4189. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4190. "parameters": [
  4191. {
  4192. "type": "integer",
  4193. "description": "用户ID",
  4194. "name": "userid",
  4195. "in": "query",
  4196. "required": true
  4197. },
  4198. {
  4199. "type": "string",
  4200. "description": "交易日(格式:yyyyMMdd)",
  4201. "name": "tradedate",
  4202. "in": "query",
  4203. "required": true
  4204. }
  4205. ],
  4206. "responses": {
  4207. "200": {
  4208. "description": "OK",
  4209. "schema": {
  4210. "type": "array",
  4211. "items": {
  4212. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4213. }
  4214. }
  4215. },
  4216. "500": {
  4217. "description": "Internal Server Error",
  4218. "schema": {
  4219. "$ref": "#/definitions/app.Response"
  4220. }
  4221. }
  4222. }
  4223. }
  4224. },
  4225. "/Ermcp3/QryReportDaySpot": {
  4226. "get": {
  4227. "security": [
  4228. {
  4229. "ApiKeyAuth": []
  4230. }
  4231. ],
  4232. "produces": [
  4233. "application/json"
  4234. ],
  4235. "tags": [
  4236. "企业风险管理v3(app)"
  4237. ],
  4238. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4239. "parameters": [
  4240. {
  4241. "type": "integer",
  4242. "description": "用户ID",
  4243. "name": "userid",
  4244. "in": "query",
  4245. "required": true
  4246. },
  4247. {
  4248. "type": "string",
  4249. "description": "交易日(格式:yyyyMMdd)",
  4250. "name": "tradedate",
  4251. "in": "query",
  4252. "required": true
  4253. }
  4254. ],
  4255. "responses": {
  4256. "200": {
  4257. "description": "OK",
  4258. "schema": {
  4259. "type": "array",
  4260. "items": {
  4261. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4262. }
  4263. }
  4264. },
  4265. "500": {
  4266. "description": "Internal Server Error",
  4267. "schema": {
  4268. "$ref": "#/definitions/app.Response"
  4269. }
  4270. }
  4271. }
  4272. }
  4273. },
  4274. "/Ermcp3/QryReportDaySpotDetail": {
  4275. "get": {
  4276. "security": [
  4277. {
  4278. "ApiKeyAuth": []
  4279. }
  4280. ],
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "企业风险管理v3(app)"
  4286. ],
  4287. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4288. "parameters": [
  4289. {
  4290. "type": "integer",
  4291. "description": "用户ID",
  4292. "name": "userid",
  4293. "in": "query",
  4294. "required": true
  4295. },
  4296. {
  4297. "type": "integer",
  4298. "description": "现货商品id",
  4299. "name": "deliverygoodsid",
  4300. "in": "query",
  4301. "required": true
  4302. },
  4303. {
  4304. "type": "string",
  4305. "description": "交易日(格式:yyyyMMdd)",
  4306. "name": "tradedate",
  4307. "in": "query",
  4308. "required": true
  4309. }
  4310. ],
  4311. "responses": {
  4312. "200": {
  4313. "description": "OK",
  4314. "schema": {
  4315. "type": "array",
  4316. "items": {
  4317. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4318. }
  4319. }
  4320. },
  4321. "500": {
  4322. "description": "Internal Server Error",
  4323. "schema": {
  4324. "$ref": "#/definitions/app.Response"
  4325. }
  4326. }
  4327. }
  4328. }
  4329. },
  4330. "/Ermcp3/QryReportMonthSpot": {
  4331. "get": {
  4332. "security": [
  4333. {
  4334. "ApiKeyAuth": []
  4335. }
  4336. ],
  4337. "produces": [
  4338. "application/json"
  4339. ],
  4340. "tags": [
  4341. "企业风险管理v3(app)"
  4342. ],
  4343. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4344. "parameters": [
  4345. {
  4346. "type": "integer",
  4347. "description": "用户ID",
  4348. "name": "userid",
  4349. "in": "query",
  4350. "required": true
  4351. },
  4352. {
  4353. "type": "string",
  4354. "description": "周期时间:月(格式:yyyyMM)",
  4355. "name": "cycletime",
  4356. "in": "query",
  4357. "required": true
  4358. }
  4359. ],
  4360. "responses": {
  4361. "200": {
  4362. "description": "OK",
  4363. "schema": {
  4364. "type": "array",
  4365. "items": {
  4366. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4367. }
  4368. }
  4369. },
  4370. "500": {
  4371. "description": "Internal Server Error",
  4372. "schema": {
  4373. "$ref": "#/definitions/app.Response"
  4374. }
  4375. }
  4376. }
  4377. }
  4378. },
  4379. "/Ermcp3/QryReportMonthSpotDetail": {
  4380. "get": {
  4381. "security": [
  4382. {
  4383. "ApiKeyAuth": []
  4384. }
  4385. ],
  4386. "produces": [
  4387. "application/json"
  4388. ],
  4389. "tags": [
  4390. "企业风险管理v3(app)"
  4391. ],
  4392. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4393. "parameters": [
  4394. {
  4395. "type": "integer",
  4396. "description": "用户ID",
  4397. "name": "userid",
  4398. "in": "query",
  4399. "required": true
  4400. },
  4401. {
  4402. "type": "integer",
  4403. "description": "现货商品id",
  4404. "name": "deliverygoodsid",
  4405. "in": "query",
  4406. "required": true
  4407. },
  4408. {
  4409. "type": "string",
  4410. "description": "周期时间:月(格式:yyyyMM)",
  4411. "name": "cycletime",
  4412. "in": "query",
  4413. "required": true
  4414. }
  4415. ],
  4416. "responses": {
  4417. "200": {
  4418. "description": "OK",
  4419. "schema": {
  4420. "type": "array",
  4421. "items": {
  4422. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4423. }
  4424. }
  4425. },
  4426. "500": {
  4427. "description": "Internal Server Error",
  4428. "schema": {
  4429. "$ref": "#/definitions/app.Response"
  4430. }
  4431. }
  4432. }
  4433. }
  4434. },
  4435. "/Ermcp3/QueryAreaStockApply": {
  4436. "get": {
  4437. "security": [
  4438. {
  4439. "ApiKeyAuth": []
  4440. }
  4441. ],
  4442. "produces": [
  4443. "application/json"
  4444. ],
  4445. "tags": [
  4446. "企业风险管理v3(app)"
  4447. ],
  4448. "summary": "查询库存申请(出入库记录|库存审核)",
  4449. "parameters": [
  4450. {
  4451. "type": "integer",
  4452. "description": "用户ID",
  4453. "name": "userid",
  4454. "in": "query",
  4455. "required": true
  4456. },
  4457. {
  4458. "type": "integer",
  4459. "description": "现货商品ID",
  4460. "name": "deliverygoodsid",
  4461. "in": "query"
  4462. },
  4463. {
  4464. "type": "string",
  4465. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4466. "name": "inouttype",
  4467. "in": "query"
  4468. },
  4469. {
  4470. "type": "integer",
  4471. "description": "合同ID",
  4472. "name": "spotcontractid",
  4473. "in": "query"
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "品类ID",
  4478. "name": "wrstandardid",
  4479. "in": "query"
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "品牌ID",
  4484. "name": "spotgoodsbrandid",
  4485. "in": "query"
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "仓库ID",
  4490. "name": "warehouseinfoid",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "string",
  4495. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4496. "name": "applystatus",
  4497. "in": "query"
  4498. }
  4499. ],
  4500. "responses": {
  4501. "200": {
  4502. "description": "OK",
  4503. "schema": {
  4504. "type": "array",
  4505. "items": {
  4506. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4507. }
  4508. }
  4509. },
  4510. "500": {
  4511. "description": "Internal Server Error",
  4512. "schema": {
  4513. "$ref": "#/definitions/app.Response"
  4514. }
  4515. }
  4516. }
  4517. }
  4518. },
  4519. "/Ermcp3/QueryAreaStockApplySum": {
  4520. "get": {
  4521. "security": [
  4522. {
  4523. "ApiKeyAuth": []
  4524. }
  4525. ],
  4526. "produces": [
  4527. "application/json"
  4528. ],
  4529. "tags": [
  4530. "企业风险管理v3(app)"
  4531. ],
  4532. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4533. "parameters": [
  4534. {
  4535. "type": "integer",
  4536. "description": "合同ID",
  4537. "name": "spotcontractid",
  4538. "in": "query"
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryAreaStockReport": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询库存报表",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户ID",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "查询类型 1-日报表 2-月报表",
  4585. "name": "querytype",
  4586. "in": "query",
  4587. "required": true
  4588. },
  4589. {
  4590. "type": "string",
  4591. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4592. "name": "querydate",
  4593. "in": "query",
  4594. "required": true
  4595. },
  4596. {
  4597. "type": "integer",
  4598. "description": "现货商品ID",
  4599. "name": "deliverygoodsid",
  4600. "in": "query"
  4601. },
  4602. {
  4603. "type": "integer",
  4604. "description": "品类ID",
  4605. "name": "wrstandardid",
  4606. "in": "query"
  4607. },
  4608. {
  4609. "type": "integer",
  4610. "description": "品牌ID",
  4611. "name": "spotgoodsbrandid",
  4612. "in": "query"
  4613. },
  4614. {
  4615. "type": "integer",
  4616. "description": "仓库ID",
  4617. "name": "warehouseinfoid",
  4618. "in": "query"
  4619. }
  4620. ],
  4621. "responses": {
  4622. "200": {
  4623. "description": "OK",
  4624. "schema": {
  4625. "type": "array",
  4626. "items": {
  4627. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4628. }
  4629. }
  4630. },
  4631. "500": {
  4632. "description": "Internal Server Error",
  4633. "schema": {
  4634. "$ref": "#/definitions/app.Response"
  4635. }
  4636. }
  4637. }
  4638. }
  4639. },
  4640. "/Ermcp3/QueryAreaStockReportDetail": {
  4641. "get": {
  4642. "security": [
  4643. {
  4644. "ApiKeyAuth": []
  4645. }
  4646. ],
  4647. "produces": [
  4648. "application/json"
  4649. ],
  4650. "tags": [
  4651. "企业风险管理v3(app)"
  4652. ],
  4653. "summary": "查询库存报表明细",
  4654. "parameters": [
  4655. {
  4656. "type": "integer",
  4657. "description": "用户ID",
  4658. "name": "userid",
  4659. "in": "query",
  4660. "required": true
  4661. },
  4662. {
  4663. "type": "integer",
  4664. "description": "查询类型 1-日报表明细 2-月报表明细",
  4665. "name": "querytype",
  4666. "in": "query",
  4667. "required": true
  4668. },
  4669. {
  4670. "type": "integer",
  4671. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4672. "name": "detailtype",
  4673. "in": "query",
  4674. "required": true
  4675. },
  4676. {
  4677. "type": "string",
  4678. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4679. "name": "querydate",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "integer",
  4685. "description": "现货商品ID",
  4686. "name": "deliverygoodsid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "integer",
  4691. "description": "品类ID",
  4692. "name": "wrstandardid",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "品牌ID",
  4698. "name": "spotgoodsbrandid",
  4699. "in": "query"
  4700. },
  4701. {
  4702. "type": "integer",
  4703. "description": "仓库ID",
  4704. "name": "warehouseinfoid",
  4705. "in": "query"
  4706. }
  4707. ],
  4708. "responses": {
  4709. "200": {
  4710. "description": "OK",
  4711. "schema": {
  4712. "type": "array",
  4713. "items": {
  4714. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4715. }
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Ermcp3/QueryDGFactoryItem": {
  4728. "get": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "produces": [
  4735. "application/json"
  4736. ],
  4737. "tags": [
  4738. "企业风险管理v3(app)"
  4739. ],
  4740. "summary": "查询品种要素定义项",
  4741. "parameters": [
  4742. {
  4743. "type": "integer",
  4744. "description": "所属机构ID",
  4745. "name": "areauserid",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "integer",
  4750. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4751. "name": "dgfactoryitemid",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "integer",
  4756. "description": "现货品种ID",
  4757. "name": "deliverygoodsid",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "integer",
  4762. "description": "要素项类型",
  4763. "name": "dgfactoryitemtypeid",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "integer",
  4768. "description": "顺序",
  4769. "name": "orderindex",
  4770. "in": "query"
  4771. }
  4772. ],
  4773. "responses": {
  4774. "200": {
  4775. "description": "OK",
  4776. "schema": {
  4777. "type": "array",
  4778. "items": {
  4779. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4780. }
  4781. }
  4782. },
  4783. "500": {
  4784. "description": "Internal Server Error",
  4785. "schema": {
  4786. "$ref": "#/definitions/app.Response"
  4787. }
  4788. }
  4789. }
  4790. }
  4791. },
  4792. "/Ermcp3/QueryDeliveryGoods": {
  4793. "get": {
  4794. "security": [
  4795. {
  4796. "ApiKeyAuth": []
  4797. }
  4798. ],
  4799. "produces": [
  4800. "application/json"
  4801. ],
  4802. "tags": [
  4803. "企业风险管理v3(app)"
  4804. ],
  4805. "summary": "查询现货商品",
  4806. "parameters": [
  4807. {
  4808. "type": "integer",
  4809. "description": "所属机构id",
  4810. "name": "areauserid",
  4811. "in": "query",
  4812. "required": true
  4813. },
  4814. {
  4815. "type": "integer",
  4816. "description": "排除已配置的现货商品 1-排除",
  4817. "name": "excludecfg",
  4818. "in": "query"
  4819. }
  4820. ],
  4821. "responses": {
  4822. "200": {
  4823. "description": "OK",
  4824. "schema": {
  4825. "type": "array",
  4826. "items": {
  4827. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4828. }
  4829. }
  4830. },
  4831. "500": {
  4832. "description": "Internal Server Error",
  4833. "schema": {
  4834. "$ref": "#/definitions/app.Response"
  4835. }
  4836. }
  4837. }
  4838. }
  4839. },
  4840. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4841. "get": {
  4842. "security": [
  4843. {
  4844. "ApiKeyAuth": []
  4845. }
  4846. ],
  4847. "produces": [
  4848. "application/json"
  4849. ],
  4850. "tags": [
  4851. "企业风险管理v3(app)"
  4852. ],
  4853. "summary": "查询现货商品详情",
  4854. "parameters": [
  4855. {
  4856. "type": "integer",
  4857. "description": "所属机构id",
  4858. "name": "areauserid",
  4859. "in": "query",
  4860. "required": true
  4861. },
  4862. {
  4863. "type": "integer",
  4864. "description": "现货商品id",
  4865. "name": "deliverygoodsid",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "integer",
  4870. "description": "是否查询关联交易商品 1-查询",
  4871. "name": "qrytradegoods",
  4872. "in": "query"
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "type": "array",
  4880. "items": {
  4881. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4882. }
  4883. }
  4884. },
  4885. "500": {
  4886. "description": "Internal Server Error",
  4887. "schema": {
  4888. "$ref": "#/definitions/app.Response"
  4889. }
  4890. }
  4891. }
  4892. }
  4893. },
  4894. "/Ermcp3/QueryExposureDetail": {
  4895. "get": {
  4896. "security": [
  4897. {
  4898. "ApiKeyAuth": []
  4899. }
  4900. ],
  4901. "produces": [
  4902. "application/json"
  4903. ],
  4904. "tags": [
  4905. "企业风险管理v3(app)"
  4906. ],
  4907. "summary": "查询敞口现货明细",
  4908. "parameters": [
  4909. {
  4910. "type": "integer",
  4911. "description": "所属机构ID",
  4912. "name": "areaUserId",
  4913. "in": "query",
  4914. "required": true
  4915. },
  4916. {
  4917. "type": "integer",
  4918. "description": "套保商品",
  4919. "name": "middleGoodsId",
  4920. "in": "query",
  4921. "required": true
  4922. }
  4923. ],
  4924. "responses": {
  4925. "200": {
  4926. "description": "OK",
  4927. "schema": {
  4928. "type": "array",
  4929. "items": {
  4930. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4931. }
  4932. }
  4933. },
  4934. "500": {
  4935. "description": "Internal Server Error",
  4936. "schema": {
  4937. "$ref": "#/definitions/app.Response"
  4938. }
  4939. }
  4940. }
  4941. }
  4942. },
  4943. "/Ermcp3/QueryExposureSpot": {
  4944. "get": {
  4945. "security": [
  4946. {
  4947. "ApiKeyAuth": []
  4948. }
  4949. ],
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "企业风险管理v3(app)"
  4955. ],
  4956. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4957. "parameters": [
  4958. {
  4959. "type": "integer",
  4960. "description": "所属机构ID",
  4961. "name": "areaUserId",
  4962. "in": "query",
  4963. "required": true
  4964. }
  4965. ],
  4966. "responses": {
  4967. "200": {
  4968. "description": "OK",
  4969. "schema": {
  4970. "type": "array",
  4971. "items": {
  4972. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4973. }
  4974. }
  4975. },
  4976. "500": {
  4977. "description": "Internal Server Error",
  4978. "schema": {
  4979. "$ref": "#/definitions/app.Response"
  4980. }
  4981. }
  4982. }
  4983. }
  4984. },
  4985. "/Ermcp3/QueryExposureSpotDetail": {
  4986. "get": {
  4987. "security": [
  4988. {
  4989. "ApiKeyAuth": []
  4990. }
  4991. ],
  4992. "produces": [
  4993. "application/json"
  4994. ],
  4995. "tags": [
  4996. "企业风险管理v3(app)"
  4997. ],
  4998. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4999. "parameters": [
  5000. {
  5001. "type": "integer",
  5002. "description": "所属机构ID",
  5003. "name": "areauserid",
  5004. "in": "query",
  5005. "required": true
  5006. },
  5007. {
  5008. "type": "integer",
  5009. "description": "现货品种ID",
  5010. "name": "deliverygoodsid",
  5011. "in": "query",
  5012. "required": true
  5013. }
  5014. ],
  5015. "responses": {
  5016. "200": {
  5017. "description": "OK",
  5018. "schema": {
  5019. "type": "array",
  5020. "items": {
  5021. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5022. }
  5023. }
  5024. },
  5025. "500": {
  5026. "description": "Internal Server Error",
  5027. "schema": {
  5028. "$ref": "#/definitions/app.Response"
  5029. }
  5030. }
  5031. }
  5032. }
  5033. },
  5034. "/Ermcp3/QueryGoodsWrstandard": {
  5035. "get": {
  5036. "security": [
  5037. {
  5038. "ApiKeyAuth": []
  5039. }
  5040. ],
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "企业风险管理v3(app)"
  5046. ],
  5047. "summary": "查询商品品类",
  5048. "parameters": [
  5049. {
  5050. "type": "integer",
  5051. "description": "所属机构ID",
  5052. "name": "areauserid",
  5053. "in": "query",
  5054. "required": true
  5055. },
  5056. {
  5057. "type": "integer",
  5058. "description": "现货商品id",
  5059. "name": "deliverygoodsid",
  5060. "in": "query"
  5061. }
  5062. ],
  5063. "responses": {
  5064. "200": {
  5065. "description": "OK",
  5066. "schema": {
  5067. "type": "array",
  5068. "items": {
  5069. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5070. }
  5071. }
  5072. },
  5073. "500": {
  5074. "description": "Internal Server Error",
  5075. "schema": {
  5076. "$ref": "#/definitions/app.Response"
  5077. }
  5078. }
  5079. }
  5080. }
  5081. },
  5082. "/Ermcp3/QueryGoodsbrand": {
  5083. "get": {
  5084. "security": [
  5085. {
  5086. "ApiKeyAuth": []
  5087. }
  5088. ],
  5089. "produces": [
  5090. "application/json"
  5091. ],
  5092. "tags": [
  5093. "企业风险管理v3(app)"
  5094. ],
  5095. "summary": "查询商品品牌",
  5096. "parameters": [
  5097. {
  5098. "type": "integer",
  5099. "description": "所属机构ID",
  5100. "name": "areauserid",
  5101. "in": "query",
  5102. "required": true
  5103. }
  5104. ],
  5105. "responses": {
  5106. "200": {
  5107. "description": "OK",
  5108. "schema": {
  5109. "type": "array",
  5110. "items": {
  5111. "$ref": "#/definitions/models.Ermcp3Brand"
  5112. }
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/Ermcp3/QueryHedgePlan": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "produces": [
  5132. "application/json"
  5133. ],
  5134. "tags": [
  5135. "企业风险管理v3(app)"
  5136. ],
  5137. "summary": "查询套保计划",
  5138. "parameters": [
  5139. {
  5140. "type": "integer",
  5141. "description": "用户ID",
  5142. "name": "userid",
  5143. "in": "query",
  5144. "required": true
  5145. },
  5146. {
  5147. "type": "string",
  5148. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5149. "name": "hedgeplanstatus",
  5150. "in": "query",
  5151. "required": true
  5152. }
  5153. ],
  5154. "responses": {
  5155. "200": {
  5156. "description": "OK",
  5157. "schema": {
  5158. "type": "array",
  5159. "items": {
  5160. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5161. }
  5162. }
  5163. },
  5164. "500": {
  5165. "description": "Internal Server Error",
  5166. "schema": {
  5167. "$ref": "#/definitions/app.Response"
  5168. }
  5169. }
  5170. }
  5171. }
  5172. },
  5173. "/Ermcp3/QuerySpotContract": {
  5174. "get": {
  5175. "security": [
  5176. {
  5177. "ApiKeyAuth": []
  5178. }
  5179. ],
  5180. "produces": [
  5181. "application/json"
  5182. ],
  5183. "tags": [
  5184. "企业风险管理v3(app)"
  5185. ],
  5186. "summary": "查询现货合同",
  5187. "parameters": [
  5188. {
  5189. "type": "integer",
  5190. "description": "所属机构ID",
  5191. "name": "areauserid",
  5192. "in": "query",
  5193. "required": true
  5194. },
  5195. {
  5196. "type": "integer",
  5197. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5198. "name": "querytype",
  5199. "in": "query",
  5200. "required": true
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "用户ID",
  5205. "name": "userid",
  5206. "in": "query"
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "用户类型 2-机构 7-企业成员",
  5211. "name": "usertype",
  5212. "in": "query"
  5213. },
  5214. {
  5215. "type": "string",
  5216. "description": "合同ID(SpotContractId)",
  5217. "name": "contractid",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "type": "array",
  5226. "items": {
  5227. "$ref": "#/definitions/models.Ermcp3Contract"
  5228. }
  5229. }
  5230. },
  5231. "500": {
  5232. "description": "Internal Server Error",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. }
  5237. }
  5238. }
  5239. },
  5240. "/Ermcp3/QuerySpotContractBS": {
  5241. "get": {
  5242. "security": [
  5243. {
  5244. "ApiKeyAuth": []
  5245. }
  5246. ],
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "企业风险管理v3(app)"
  5252. ],
  5253. "summary": "查询合同(采购/销售)",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "所属机构ID",
  5258. "name": "areauserid",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "integer",
  5264. "description": "合同类型 1-采购, -1-销售",
  5265. "name": "contracttype",
  5266. "in": "query",
  5267. "required": true
  5268. },
  5269. {
  5270. "type": "integer",
  5271. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5272. "name": "querytype",
  5273. "in": "query",
  5274. "required": true
  5275. },
  5276. {
  5277. "type": "integer",
  5278. "description": "用户ID",
  5279. "name": "userid",
  5280. "in": "query"
  5281. },
  5282. {
  5283. "type": "integer",
  5284. "description": "用户类型 2-机构 7-企业成员",
  5285. "name": "usertype",
  5286. "in": "query"
  5287. },
  5288. {
  5289. "type": "string",
  5290. "description": "合同ID(SpotContractId)",
  5291. "name": "contractid",
  5292. "in": "query"
  5293. }
  5294. ],
  5295. "responses": {
  5296. "200": {
  5297. "description": "OK",
  5298. "schema": {
  5299. "type": "array",
  5300. "items": {
  5301. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5302. }
  5303. }
  5304. },
  5305. "500": {
  5306. "description": "Internal Server Error",
  5307. "schema": {
  5308. "$ref": "#/definitions/app.Response"
  5309. }
  5310. }
  5311. }
  5312. }
  5313. },
  5314. "/Ermcp3/QuerySpotGoodsPrice": {
  5315. "get": {
  5316. "security": [
  5317. {
  5318. "ApiKeyAuth": []
  5319. }
  5320. ],
  5321. "produces": [
  5322. "application/json"
  5323. ],
  5324. "tags": [
  5325. "企业风险管理v3(app)"
  5326. ],
  5327. "summary": "查询现货市价(现货市价)",
  5328. "parameters": [
  5329. {
  5330. "type": "integer",
  5331. "description": "用户ID",
  5332. "name": "userid",
  5333. "in": "query",
  5334. "required": true
  5335. }
  5336. ],
  5337. "responses": {
  5338. "200": {
  5339. "description": "OK",
  5340. "schema": {
  5341. "type": "array",
  5342. "items": {
  5343. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5344. }
  5345. }
  5346. },
  5347. "500": {
  5348. "description": "Internal Server Error",
  5349. "schema": {
  5350. "$ref": "#/definitions/app.Response"
  5351. }
  5352. }
  5353. }
  5354. }
  5355. },
  5356. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5357. "get": {
  5358. "security": [
  5359. {
  5360. "ApiKeyAuth": []
  5361. }
  5362. ],
  5363. "produces": [
  5364. "application/json"
  5365. ],
  5366. "tags": [
  5367. "企业风险管理v3(app)"
  5368. ],
  5369. "summary": "查询现货市价详情(现货市价/详情)",
  5370. "parameters": [
  5371. {
  5372. "type": "integer",
  5373. "description": "用户ID",
  5374. "name": "userid",
  5375. "in": "query",
  5376. "required": true
  5377. },
  5378. {
  5379. "type": "integer",
  5380. "description": "现货商品ID",
  5381. "name": "deliverygoodsid",
  5382. "in": "query",
  5383. "required": true
  5384. }
  5385. ],
  5386. "responses": {
  5387. "200": {
  5388. "description": "OK",
  5389. "schema": {
  5390. "type": "array",
  5391. "items": {
  5392. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5393. }
  5394. }
  5395. },
  5396. "500": {
  5397. "description": "Internal Server Error",
  5398. "schema": {
  5399. "$ref": "#/definitions/app.Response"
  5400. }
  5401. }
  5402. }
  5403. }
  5404. },
  5405. "/Erms2/QueryArbitrageStrategy": {
  5406. "get": {
  5407. "security": [
  5408. {
  5409. "ApiKeyAuth": []
  5410. }
  5411. ],
  5412. "produces": [
  5413. "application/json"
  5414. ],
  5415. "tags": [
  5416. "风险管理"
  5417. ],
  5418. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5419. "parameters": [
  5420. {
  5421. "type": "integer",
  5422. "description": "账户ID",
  5423. "name": "userid",
  5424. "in": "query",
  5425. "required": true
  5426. },
  5427. {
  5428. "type": "string",
  5429. "description": "商品组ID(品种ID)",
  5430. "name": "goodsgroupid",
  5431. "in": "query"
  5432. }
  5433. ],
  5434. "responses": {
  5435. "200": {
  5436. "description": "OK",
  5437. "schema": {
  5438. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5439. }
  5440. },
  5441. "500": {
  5442. "description": "Internal Server Error",
  5443. "schema": {
  5444. "$ref": "#/definitions/app.Response"
  5445. }
  5446. }
  5447. }
  5448. }
  5449. },
  5450. "/Erms2/QueryInnerTradeDetail": {
  5451. "get": {
  5452. "security": [
  5453. {
  5454. "ApiKeyAuth": []
  5455. }
  5456. ],
  5457. "produces": [
  5458. "application/json"
  5459. ],
  5460. "tags": [
  5461. "风险管理"
  5462. ],
  5463. "summary": "查询内部成交单信息",
  5464. "parameters": [
  5465. {
  5466. "type": "integer",
  5467. "description": "资金账户",
  5468. "name": "accountid",
  5469. "in": "query",
  5470. "required": true
  5471. }
  5472. ],
  5473. "responses": {
  5474. "200": {
  5475. "description": "OK",
  5476. "schema": {
  5477. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5478. }
  5479. },
  5480. "500": {
  5481. "description": "Internal Server Error",
  5482. "schema": {
  5483. "$ref": "#/definitions/app.Response"
  5484. }
  5485. }
  5486. }
  5487. }
  5488. },
  5489. "/Erms2/QuerySpotContract": {
  5490. "get": {
  5491. "security": [
  5492. {
  5493. "ApiKeyAuth": []
  5494. }
  5495. ],
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "风险管理"
  5501. ],
  5502. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "策略申请ID",
  5507. "name": "asapplyid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "现货合同ID",
  5514. "name": "spotcontractid",
  5515. "in": "query"
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/Erms3/AddErms2ASApply": {
  5535. "post": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "风险管理v3"
  5546. ],
  5547. "summary": "新增期现套利业务申请",
  5548. "parameters": [
  5549. {
  5550. "description": "申请参数",
  5551. "name": "jsonBody",
  5552. "in": "body",
  5553. "required": true,
  5554. "schema": {
  5555. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5556. }
  5557. }
  5558. ],
  5559. "responses": {
  5560. "200": {
  5561. "description": "OK",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. },
  5566. "500": {
  5567. "description": "Internal Server Error",
  5568. "schema": {
  5569. "$ref": "#/definitions/app.Response"
  5570. }
  5571. }
  5572. }
  5573. }
  5574. },
  5575. "/Erms3/AddErms2SpotTradeApply": {
  5576. "post": {
  5577. "security": [
  5578. {
  5579. "ApiKeyAuth": []
  5580. }
  5581. ],
  5582. "produces": [
  5583. "application/json"
  5584. ],
  5585. "tags": [
  5586. "风险管理v3"
  5587. ],
  5588. "summary": "新增现货贸易业务申请",
  5589. "parameters": [
  5590. {
  5591. "description": "申请参数",
  5592. "name": "jsonBody",
  5593. "in": "body",
  5594. "required": true,
  5595. "schema": {
  5596. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5597. }
  5598. }
  5599. ],
  5600. "responses": {
  5601. "200": {
  5602. "description": "OK",
  5603. "schema": {
  5604. "$ref": "#/definitions/app.Response"
  5605. }
  5606. },
  5607. "500": {
  5608. "description": "Internal Server Error",
  5609. "schema": {
  5610. "$ref": "#/definitions/app.Response"
  5611. }
  5612. }
  5613. }
  5614. }
  5615. },
  5616. "/Erms3/AddSpotContractApply": {
  5617. "post": {
  5618. "security": [
  5619. {
  5620. "ApiKeyAuth": []
  5621. }
  5622. ],
  5623. "produces": [
  5624. "application/json"
  5625. ],
  5626. "tags": [
  5627. "风险管理v3"
  5628. ],
  5629. "summary": "新增现货合同申请",
  5630. "parameters": [
  5631. {
  5632. "description": "申请参数",
  5633. "name": "jsonBody",
  5634. "in": "body",
  5635. "required": true,
  5636. "schema": {
  5637. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5638. }
  5639. }
  5640. ],
  5641. "responses": {
  5642. "200": {
  5643. "description": "OK",
  5644. "schema": {
  5645. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5646. }
  5647. },
  5648. "500": {
  5649. "description": "Internal Server Error",
  5650. "schema": {
  5651. "$ref": "#/definitions/app.Response"
  5652. }
  5653. }
  5654. }
  5655. }
  5656. },
  5657. "/Erms3/AddUserInfoApply": {
  5658. "post": {
  5659. "security": [
  5660. {
  5661. "ApiKeyAuth": []
  5662. }
  5663. ],
  5664. "produces": [
  5665. "application/json"
  5666. ],
  5667. "tags": [
  5668. "风险管理v3"
  5669. ],
  5670. "summary": "新增客户申请",
  5671. "parameters": [
  5672. {
  5673. "description": "用户信息",
  5674. "name": "jsonBody",
  5675. "in": "body",
  5676. "required": true,
  5677. "schema": {
  5678. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5679. }
  5680. }
  5681. ],
  5682. "responses": {
  5683. "200": {
  5684. "description": "OK",
  5685. "schema": {
  5686. "$ref": "#/definitions/app.Response"
  5687. }
  5688. },
  5689. "500": {
  5690. "description": "Internal Server Error",
  5691. "schema": {
  5692. "$ref": "#/definitions/app.Response"
  5693. }
  5694. }
  5695. }
  5696. }
  5697. },
  5698. "/Erms3/ModifyUserInfoApply": {
  5699. "post": {
  5700. "security": [
  5701. {
  5702. "ApiKeyAuth": []
  5703. }
  5704. ],
  5705. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5706. "produces": [
  5707. "application/json"
  5708. ],
  5709. "tags": [
  5710. "风险管理v3"
  5711. ],
  5712. "summary": "修改客户申请",
  5713. "parameters": [
  5714. {
  5715. "description": "用户信息",
  5716. "name": "jsonBody",
  5717. "in": "body",
  5718. "required": true,
  5719. "schema": {
  5720. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5721. }
  5722. }
  5723. ],
  5724. "responses": {
  5725. "200": {
  5726. "description": "OK",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. },
  5731. "500": {
  5732. "description": "Internal Server Error",
  5733. "schema": {
  5734. "$ref": "#/definitions/app.Response"
  5735. }
  5736. }
  5737. }
  5738. }
  5739. },
  5740. "/Erms3/QueryBusinessInfo": {
  5741. "get": {
  5742. "security": [
  5743. {
  5744. "ApiKeyAuth": []
  5745. }
  5746. ],
  5747. "produces": [
  5748. "application/json"
  5749. ],
  5750. "tags": [
  5751. "风险管理v3"
  5752. ],
  5753. "summary": "查询业务表单数据",
  5754. "parameters": [
  5755. {
  5756. "type": "string",
  5757. "description": "资金账号ID列表,用逗号分隔",
  5758. "name": "accountids",
  5759. "in": "query",
  5760. "required": true
  5761. },
  5762. {
  5763. "type": "integer",
  5764. "description": "状态,0为未结束 1为已结束",
  5765. "name": "status",
  5766. "in": "query",
  5767. "required": true
  5768. }
  5769. ],
  5770. "responses": {
  5771. "200": {
  5772. "description": "OK",
  5773. "schema": {
  5774. "type": "array",
  5775. "items": {
  5776. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5777. }
  5778. }
  5779. },
  5780. "500": {
  5781. "description": "Internal Server Error",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. }
  5786. }
  5787. }
  5788. },
  5789. "/Erms3/QueryPendingAuditContract": {
  5790. "get": {
  5791. "security": [
  5792. {
  5793. "ApiKeyAuth": []
  5794. }
  5795. ],
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "风险管理v3"
  5801. ],
  5802. "summary": "查询待审核合同",
  5803. "parameters": [
  5804. {
  5805. "type": "string",
  5806. "description": "资金账号ID列表,逗号隔开",
  5807. "name": "accountids",
  5808. "in": "query",
  5809. "required": true
  5810. },
  5811. {
  5812. "type": "integer",
  5813. "description": "合同类型 1-采购 -1-销售",
  5814. "name": "contracttype",
  5815. "in": "query",
  5816. "required": true
  5817. },
  5818. {
  5819. "type": "integer",
  5820. "description": "合同模式 1-普通 2-回购",
  5821. "name": "contractmode",
  5822. "in": "query",
  5823. "required": true
  5824. }
  5825. ],
  5826. "responses": {
  5827. "200": {
  5828. "description": "OK",
  5829. "schema": {
  5830. "type": "array",
  5831. "items": {
  5832. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5833. }
  5834. }
  5835. },
  5836. "500": {
  5837. "description": "Internal Server Error",
  5838. "schema": {
  5839. "$ref": "#/definitions/app.Response"
  5840. }
  5841. }
  5842. }
  5843. }
  5844. },
  5845. "/Erms3/QueryPendingBusiness": {
  5846. "get": {
  5847. "security": [
  5848. {
  5849. "ApiKeyAuth": []
  5850. }
  5851. ],
  5852. "produces": [
  5853. "application/json"
  5854. ],
  5855. "tags": [
  5856. "风险管理v3"
  5857. ],
  5858. "summary": "查询待审核基差贸易业务",
  5859. "parameters": [
  5860. {
  5861. "type": "string",
  5862. "description": "资金账号ID列表,逗号隔开",
  5863. "name": "accountids",
  5864. "in": "query",
  5865. "required": true
  5866. }
  5867. ],
  5868. "responses": {
  5869. "200": {
  5870. "description": "OK",
  5871. "schema": {
  5872. "type": "array",
  5873. "items": {
  5874. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5875. }
  5876. }
  5877. },
  5878. "500": {
  5879. "description": "Internal Server Error",
  5880. "schema": {
  5881. "$ref": "#/definitions/app.Response"
  5882. }
  5883. }
  5884. }
  5885. }
  5886. },
  5887. "/Erms3/QuerySpotContractAppleForm": {
  5888. "get": {
  5889. "security": [
  5890. {
  5891. "ApiKeyAuth": []
  5892. }
  5893. ],
  5894. "produces": [
  5895. "application/json"
  5896. ],
  5897. "tags": [
  5898. "风险管理v3"
  5899. ],
  5900. "summary": "查询合同申请表单数据",
  5901. "parameters": [
  5902. {
  5903. "type": "integer",
  5904. "description": "登录账号",
  5905. "name": "loginID",
  5906. "in": "query",
  5907. "required": true
  5908. }
  5909. ],
  5910. "responses": {
  5911. "200": {
  5912. "description": "OK",
  5913. "schema": {
  5914. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5915. }
  5916. },
  5917. "500": {
  5918. "description": "Internal Server Error",
  5919. "schema": {
  5920. "$ref": "#/definitions/app.Response"
  5921. }
  5922. }
  5923. }
  5924. }
  5925. },
  5926. "/Erms3/QuerySpotContractDetail": {
  5927. "get": {
  5928. "security": [
  5929. {
  5930. "ApiKeyAuth": []
  5931. }
  5932. ],
  5933. "produces": [
  5934. "application/json"
  5935. ],
  5936. "tags": [
  5937. "风险管理v3"
  5938. ],
  5939. "summary": "查询合同详细信息",
  5940. "parameters": [
  5941. {
  5942. "type": "string",
  5943. "description": "资金账号ID列表,用逗号分隔",
  5944. "name": "accountids",
  5945. "in": "query",
  5946. "required": true
  5947. },
  5948. {
  5949. "type": "integer",
  5950. "description": "合同类型,1为采购合同 -1为销售合同",
  5951. "name": "contracttype",
  5952. "in": "query",
  5953. "required": true
  5954. },
  5955. {
  5956. "type": "integer",
  5957. "description": "合同模式,1为普通合同 2为回购销售合同",
  5958. "name": "contractmode",
  5959. "in": "query",
  5960. "required": true
  5961. },
  5962. {
  5963. "type": "integer",
  5964. "description": "状态,0为履约中 1为已完成",
  5965. "name": "status",
  5966. "in": "query",
  5967. "required": true
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "type": "array",
  5975. "items": {
  5976. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5977. }
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/Erms3/QueryUserInfoApplies": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "风险管理v3"
  6001. ],
  6002. "summary": "客户申请信息查询",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "页码",
  6007. "name": "page",
  6008. "in": "query"
  6009. },
  6010. {
  6011. "type": "integer",
  6012. "description": "每页条数",
  6013. "name": "pagesize",
  6014. "in": "query"
  6015. },
  6016. {
  6017. "type": "string",
  6018. "description": "客户名称,支持模糊查询",
  6019. "name": "userName",
  6020. "in": "query"
  6021. }
  6022. ],
  6023. "responses": {
  6024. "200": {
  6025. "description": "OK",
  6026. "schema": {
  6027. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6028. }
  6029. },
  6030. "500": {
  6031. "description": "Internal Server Error",
  6032. "schema": {
  6033. "$ref": "#/definitions/app.Response"
  6034. }
  6035. }
  6036. }
  6037. }
  6038. },
  6039. "/Erms3/QueryUserInfos": {
  6040. "get": {
  6041. "security": [
  6042. {
  6043. "ApiKeyAuth": []
  6044. }
  6045. ],
  6046. "produces": [
  6047. "application/json"
  6048. ],
  6049. "tags": [
  6050. "风险管理v3"
  6051. ],
  6052. "summary": "客户信息查询",
  6053. "parameters": [
  6054. {
  6055. "type": "integer",
  6056. "description": "页码",
  6057. "name": "page",
  6058. "in": "query"
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "每页条数",
  6063. "name": "pagesize",
  6064. "in": "query"
  6065. },
  6066. {
  6067. "type": "string",
  6068. "description": "客户名称,支持模糊查询",
  6069. "name": "userName",
  6070. "in": "query"
  6071. }
  6072. ],
  6073. "responses": {
  6074. "200": {
  6075. "description": "OK",
  6076. "schema": {
  6077. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/HSBY/GetHsbyMyCount": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "description": "说明: 不包括已完成的数量。",
  6097. "produces": [
  6098. "application/json"
  6099. ],
  6100. "tags": [
  6101. "定制【海商报业】"
  6102. ],
  6103. "summary": "获取我的订单与包裹数量",
  6104. "parameters": [
  6105. {
  6106. "type": "string",
  6107. "description": "资金账户列表,格式:1,2,3",
  6108. "name": "accountIDs",
  6109. "in": "query",
  6110. "required": true
  6111. }
  6112. ],
  6113. "responses": {
  6114. "200": {
  6115. "description": "OK",
  6116. "schema": {
  6117. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6118. }
  6119. },
  6120. "500": {
  6121. "description": "Internal Server Error",
  6122. "schema": {
  6123. "$ref": "#/definitions/app.Response"
  6124. }
  6125. }
  6126. }
  6127. }
  6128. },
  6129. "/HSBY/QueryClientFixedADConfigs": {
  6130. "get": {
  6131. "security": [
  6132. {
  6133. "ApiKeyAuth": []
  6134. }
  6135. ],
  6136. "produces": [
  6137. "application/json"
  6138. ],
  6139. "tags": [
  6140. "定制【海商报业】"
  6141. ],
  6142. "summary": "获取终端固定广告配置",
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.Clientfixedadconfig"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "produces": [
  6167. "application/json"
  6168. ],
  6169. "tags": [
  6170. "定制【海商报业】"
  6171. ],
  6172. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6173. "parameters": [
  6174. {
  6175. "type": "integer",
  6176. "description": "页码",
  6177. "name": "page",
  6178. "in": "query"
  6179. },
  6180. {
  6181. "type": "integer",
  6182. "description": "每页条数",
  6183. "name": "pagesize",
  6184. "in": "query"
  6185. },
  6186. {
  6187. "type": "string",
  6188. "description": "资金账户列表,格式:1,2,3",
  6189. "name": "accountIDs",
  6190. "in": "query",
  6191. "required": true
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "description": "说明:查询结果已按委托价格和委托时间排序",
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6225. "parameters": [
  6226. {
  6227. "type": "integer",
  6228. "description": "商品ID",
  6229. "name": "goodsID",
  6230. "in": "query",
  6231. "required": true
  6232. },
  6233. {
  6234. "type": "string",
  6235. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6236. "name": "accountIDs",
  6237. "in": "query"
  6238. },
  6239. {
  6240. "type": "integer",
  6241. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6242. "name": "buyOrSell",
  6243. "in": "query"
  6244. },
  6245. {
  6246. "type": "number",
  6247. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6248. "name": "price",
  6249. "in": "query"
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "档位,不传则默认为3档",
  6254. "name": "speed",
  6255. "in": "query"
  6256. }
  6257. ],
  6258. "responses": {
  6259. "200": {
  6260. "description": "OK",
  6261. "schema": {
  6262. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6263. }
  6264. },
  6265. "500": {
  6266. "description": "Internal Server Error",
  6267. "schema": {
  6268. "$ref": "#/definitions/app.Response"
  6269. }
  6270. }
  6271. }
  6272. }
  6273. },
  6274. "/HSBY/QueryHsbyListingGoodsDetail": {
  6275. "get": {
  6276. "security": [
  6277. {
  6278. "ApiKeyAuth": []
  6279. }
  6280. ],
  6281. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6282. "produces": [
  6283. "application/json"
  6284. ],
  6285. "tags": [
  6286. "定制【海商报业】"
  6287. ],
  6288. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6289. "parameters": [
  6290. {
  6291. "type": "integer",
  6292. "description": "商品ID",
  6293. "name": "goodsID",
  6294. "in": "query",
  6295. "required": true
  6296. },
  6297. {
  6298. "type": "integer",
  6299. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6300. "name": "accountID",
  6301. "in": "query"
  6302. }
  6303. ],
  6304. "responses": {
  6305. "200": {
  6306. "description": "OK",
  6307. "schema": {
  6308. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6309. }
  6310. },
  6311. "500": {
  6312. "description": "Internal Server Error",
  6313. "schema": {
  6314. "$ref": "#/definitions/app.Response"
  6315. }
  6316. }
  6317. }
  6318. }
  6319. },
  6320. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6321. "get": {
  6322. "security": [
  6323. {
  6324. "ApiKeyAuth": []
  6325. }
  6326. ],
  6327. "produces": [
  6328. "application/json"
  6329. ],
  6330. "tags": [
  6331. "定制【海商报业】"
  6332. ],
  6333. "summary": "查询三级市场(商城)商品信息详情",
  6334. "parameters": [
  6335. {
  6336. "type": "integer",
  6337. "description": "委托单号",
  6338. "name": "orderID",
  6339. "in": "query",
  6340. "required": true
  6341. },
  6342. {
  6343. "type": "integer",
  6344. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6345. "name": "accountID",
  6346. "in": "query"
  6347. }
  6348. ],
  6349. "responses": {
  6350. "200": {
  6351. "description": "OK",
  6352. "schema": {
  6353. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6354. }
  6355. },
  6356. "500": {
  6357. "description": "Internal Server Error",
  6358. "schema": {
  6359. "$ref": "#/definitions/app.Response"
  6360. }
  6361. }
  6362. }
  6363. }
  6364. },
  6365. "/HSBY/QueryHsbyMarketGoodses": {
  6366. "get": {
  6367. "security": [
  6368. {
  6369. "ApiKeyAuth": []
  6370. }
  6371. ],
  6372. "produces": [
  6373. "application/json"
  6374. ],
  6375. "tags": [
  6376. "定制【海商报业】"
  6377. ],
  6378. "summary": "查询特卖商品列表(三级商城)",
  6379. "parameters": [
  6380. {
  6381. "type": "integer",
  6382. "description": "页码",
  6383. "name": "page",
  6384. "in": "query"
  6385. },
  6386. {
  6387. "type": "integer",
  6388. "description": "每页条数",
  6389. "name": "pagesize",
  6390. "in": "query"
  6391. },
  6392. {
  6393. "type": "string",
  6394. "description": "市场ID列表,格式:1,2,3",
  6395. "name": "marketIDs",
  6396. "in": "query",
  6397. "required": true
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6402. "name": "accountID",
  6403. "in": "query",
  6404. "required": true
  6405. },
  6406. {
  6407. "type": "integer",
  6408. "description": "类别ID",
  6409. "name": "categoryID",
  6410. "in": "query"
  6411. },
  6412. {
  6413. "type": "string",
  6414. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6415. "name": "goodsIDs",
  6416. "in": "query"
  6417. },
  6418. {
  6419. "type": "integer",
  6420. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6421. "name": "couponTypeID",
  6422. "in": "query"
  6423. }
  6424. ],
  6425. "responses": {
  6426. "200": {
  6427. "description": "OK",
  6428. "schema": {
  6429. "$ref": "#/definitions/models.HsbyMarketGoods"
  6430. }
  6431. },
  6432. "500": {
  6433. "description": "Internal Server Error",
  6434. "schema": {
  6435. "$ref": "#/definitions/app.Response"
  6436. }
  6437. }
  6438. }
  6439. }
  6440. },
  6441. "/HSBY/QueryHsbyMarkets": {
  6442. "get": {
  6443. "security": [
  6444. {
  6445. "ApiKeyAuth": []
  6446. }
  6447. ],
  6448. "produces": [
  6449. "application/json"
  6450. ],
  6451. "tags": [
  6452. "定制【海商报业】"
  6453. ],
  6454. "summary": "查询海商报业相关市场信息",
  6455. "responses": {
  6456. "200": {
  6457. "description": "OK",
  6458. "schema": {
  6459. "$ref": "#/definitions/models.HsbyMarketInfo"
  6460. }
  6461. },
  6462. "500": {
  6463. "description": "Internal Server Error",
  6464. "schema": {
  6465. "$ref": "#/definitions/app.Response"
  6466. }
  6467. }
  6468. }
  6469. }
  6470. },
  6471. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6472. "get": {
  6473. "security": [
  6474. {
  6475. "ApiKeyAuth": []
  6476. }
  6477. ],
  6478. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "定制【海商报业】"
  6484. ],
  6485. "summary": "查询“我的订单”信息",
  6486. "parameters": [
  6487. {
  6488. "type": "string",
  6489. "description": "资金账户列表,格式:1,2,3",
  6490. "name": "accountIDs",
  6491. "in": "query",
  6492. "required": true
  6493. }
  6494. ],
  6495. "responses": {
  6496. "200": {
  6497. "description": "OK",
  6498. "schema": {
  6499. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6500. }
  6501. },
  6502. "500": {
  6503. "description": "Internal Server Error",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. }
  6508. }
  6509. }
  6510. },
  6511. "/HSBY/QueryHsbyMyGoods": {
  6512. "get": {
  6513. "security": [
  6514. {
  6515. "ApiKeyAuth": []
  6516. }
  6517. ],
  6518. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6519. "produces": [
  6520. "application/json"
  6521. ],
  6522. "tags": [
  6523. "定制【海商报业】"
  6524. ],
  6525. "summary": "查询“我的商品”信息",
  6526. "parameters": [
  6527. {
  6528. "type": "string",
  6529. "description": "资金账户列表,格式:1,2,3",
  6530. "name": "accountIDs",
  6531. "in": "query",
  6532. "required": true
  6533. }
  6534. ],
  6535. "responses": {
  6536. "200": {
  6537. "description": "OK",
  6538. "schema": {
  6539. "$ref": "#/definitions/models.HsbyMyGoods"
  6540. }
  6541. },
  6542. "500": {
  6543. "description": "Internal Server Error",
  6544. "schema": {
  6545. "$ref": "#/definitions/app.Response"
  6546. }
  6547. }
  6548. }
  6549. }
  6550. },
  6551. "/HSBY/QueryHsbyMyPackages": {
  6552. "get": {
  6553. "security": [
  6554. {
  6555. "ApiKeyAuth": []
  6556. }
  6557. ],
  6558. "produces": [
  6559. "application/json"
  6560. ],
  6561. "tags": [
  6562. "定制【海商报业】"
  6563. ],
  6564. "summary": "查询我的包裹信息",
  6565. "parameters": [
  6566. {
  6567. "type": "string",
  6568. "description": "资金账户列表,格式:1,2,3",
  6569. "name": "accountIDs",
  6570. "in": "query",
  6571. "required": true
  6572. },
  6573. {
  6574. "type": "integer",
  6575. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6576. "name": "takeOrderStatus",
  6577. "in": "query"
  6578. }
  6579. ],
  6580. "responses": {
  6581. "200": {
  6582. "description": "OK",
  6583. "schema": {
  6584. "$ref": "#/definitions/models.HsbyMyPackage"
  6585. }
  6586. },
  6587. "500": {
  6588. "description": "Internal Server Error",
  6589. "schema": {
  6590. "$ref": "#/definitions/app.Response"
  6591. }
  6592. }
  6593. }
  6594. }
  6595. },
  6596. "/HSBY/QueryHsbyPreGoodsDetail": {
  6597. "get": {
  6598. "security": [
  6599. {
  6600. "ApiKeyAuth": []
  6601. }
  6602. ],
  6603. "produces": [
  6604. "application/json"
  6605. ],
  6606. "tags": [
  6607. "定制【海商报业】"
  6608. ],
  6609. "summary": "查询一级市场(预售)商品信息详情",
  6610. "parameters": [
  6611. {
  6612. "type": "integer",
  6613. "description": "商品ID",
  6614. "name": "goodsID",
  6615. "in": "query",
  6616. "required": true
  6617. },
  6618. {
  6619. "type": "integer",
  6620. "description": "资金账户,主要用于获取预售商品购买上限",
  6621. "name": "accountID",
  6622. "in": "query"
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/HSBY/QueryHsbyPreGoodses": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "定制【海商报业】"
  6654. ],
  6655. "summary": "查询新品上市商品列表(一级市场预售)",
  6656. "parameters": [
  6657. {
  6658. "type": "integer",
  6659. "description": "页码",
  6660. "name": "page",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "每页条数",
  6666. "name": "pagesize",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "string",
  6671. "description": "市场ID列表,格式:1,2,3",
  6672. "name": "marketIDs",
  6673. "in": "query",
  6674. "required": true
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "目的地(省)ID",
  6679. "name": "descProvinceID",
  6680. "in": "query"
  6681. },
  6682. {
  6683. "type": "integer",
  6684. "description": "目的地(市)ID",
  6685. "name": "descCityID",
  6686. "in": "query"
  6687. }
  6688. ],
  6689. "responses": {
  6690. "200": {
  6691. "description": "OK",
  6692. "schema": {
  6693. "$ref": "#/definitions/models.HsbyPreGoods"
  6694. }
  6695. },
  6696. "500": {
  6697. "description": "Internal Server Error",
  6698. "schema": {
  6699. "$ref": "#/definitions/app.Response"
  6700. }
  6701. }
  6702. }
  6703. }
  6704. },
  6705. "/HSBY/QueryHsbySellMyDetails": {
  6706. "get": {
  6707. "security": [
  6708. {
  6709. "ApiKeyAuth": []
  6710. }
  6711. ],
  6712. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6713. "produces": [
  6714. "application/json"
  6715. ],
  6716. "tags": [
  6717. "定制【海商报业】"
  6718. ],
  6719. "summary": "查询\"我的闲置\"单据信息",
  6720. "parameters": [
  6721. {
  6722. "type": "integer",
  6723. "description": "页码",
  6724. "name": "page",
  6725. "in": "query"
  6726. },
  6727. {
  6728. "type": "integer",
  6729. "description": "每页条数",
  6730. "name": "pagesize",
  6731. "in": "query"
  6732. },
  6733. {
  6734. "type": "string",
  6735. "description": "资金账户列表,格式:1,2,3",
  6736. "name": "accountIDs",
  6737. "in": "query",
  6738. "required": true
  6739. },
  6740. {
  6741. "type": "integer",
  6742. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6743. "name": "orderType",
  6744. "in": "query"
  6745. }
  6746. ],
  6747. "responses": {
  6748. "200": {
  6749. "description": "OK",
  6750. "schema": {
  6751. "$ref": "#/definitions/models.HsbySellMyDetail"
  6752. }
  6753. },
  6754. "500": {
  6755. "description": "Internal Server Error",
  6756. "schema": {
  6757. "$ref": "#/definitions/app.Response"
  6758. }
  6759. }
  6760. }
  6761. }
  6762. },
  6763. "/HSBY/QueryHsbyTopGoodses": {
  6764. "get": {
  6765. "security": [
  6766. {
  6767. "ApiKeyAuth": []
  6768. }
  6769. ],
  6770. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6771. "produces": [
  6772. "application/json"
  6773. ],
  6774. "tags": [
  6775. "定制【海商报业】"
  6776. ],
  6777. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6778. "parameters": [
  6779. {
  6780. "type": "integer",
  6781. "description": "页码",
  6782. "name": "page",
  6783. "in": "query"
  6784. },
  6785. {
  6786. "type": "integer",
  6787. "description": "每页条数",
  6788. "name": "pagesize",
  6789. "in": "query"
  6790. },
  6791. {
  6792. "type": "string",
  6793. "description": "市场ID列表,格式:1,2,3",
  6794. "name": "marketIDs",
  6795. "in": "query",
  6796. "required": true
  6797. },
  6798. {
  6799. "type": "integer",
  6800. "description": "目的地(省)ID",
  6801. "name": "descProvinceID",
  6802. "in": "query"
  6803. },
  6804. {
  6805. "type": "integer",
  6806. "description": "目的地(市)ID",
  6807. "name": "descCityID",
  6808. "in": "query"
  6809. }
  6810. ],
  6811. "responses": {
  6812. "200": {
  6813. "description": "OK",
  6814. "schema": {
  6815. "$ref": "#/definitions/models.HsbyTopGoods"
  6816. }
  6817. },
  6818. "500": {
  6819. "description": "Internal Server Error",
  6820. "schema": {
  6821. "$ref": "#/definitions/app.Response"
  6822. }
  6823. }
  6824. }
  6825. }
  6826. },
  6827. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6828. "get": {
  6829. "security": [
  6830. {
  6831. "ApiKeyAuth": []
  6832. }
  6833. ],
  6834. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6835. "produces": [
  6836. "application/json"
  6837. ],
  6838. "tags": [
  6839. "定制【海商报业】"
  6840. ],
  6841. "summary": "查询游客三级市场(商城)商品信息详情",
  6842. "parameters": [
  6843. {
  6844. "type": "integer",
  6845. "description": "商品ID",
  6846. "name": "goodsID",
  6847. "in": "query",
  6848. "required": true
  6849. }
  6850. ],
  6851. "responses": {
  6852. "200": {
  6853. "description": "OK",
  6854. "schema": {
  6855. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6856. }
  6857. },
  6858. "500": {
  6859. "description": "Internal Server Error",
  6860. "schema": {
  6861. "$ref": "#/definitions/app.Response"
  6862. }
  6863. }
  6864. }
  6865. }
  6866. },
  6867. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6868. "get": {
  6869. "security": [
  6870. {
  6871. "ApiKeyAuth": []
  6872. }
  6873. ],
  6874. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6875. "produces": [
  6876. "application/json"
  6877. ],
  6878. "tags": [
  6879. "定制【海商报业】"
  6880. ],
  6881. "summary": "查询游客特卖商品列表(三级商城)",
  6882. "parameters": [
  6883. {
  6884. "type": "integer",
  6885. "description": "页码",
  6886. "name": "page",
  6887. "in": "query"
  6888. },
  6889. {
  6890. "type": "integer",
  6891. "description": "每页条数",
  6892. "name": "pagesize",
  6893. "in": "query"
  6894. },
  6895. {
  6896. "type": "string",
  6897. "description": "市场ID列表,格式:1,2,3",
  6898. "name": "marketIDs",
  6899. "in": "query",
  6900. "required": true
  6901. },
  6902. {
  6903. "type": "integer",
  6904. "description": "类别ID",
  6905. "name": "categoryID",
  6906. "in": "query"
  6907. },
  6908. {
  6909. "type": "string",
  6910. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6911. "name": "goodsIDs",
  6912. "in": "query"
  6913. }
  6914. ],
  6915. "responses": {
  6916. "200": {
  6917. "description": "OK",
  6918. "schema": {
  6919. "$ref": "#/definitions/models.HsbyMarketGoods"
  6920. }
  6921. },
  6922. "500": {
  6923. "description": "Internal Server Error",
  6924. "schema": {
  6925. "$ref": "#/definitions/app.Response"
  6926. }
  6927. }
  6928. }
  6929. }
  6930. },
  6931. "/HSBY/QueryMyCollectionOrders": {
  6932. "get": {
  6933. "security": [
  6934. {
  6935. "ApiKeyAuth": []
  6936. }
  6937. ],
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "定制【海商报业】"
  6943. ],
  6944. "summary": "我的闲置中收款信息查询",
  6945. "parameters": [
  6946. {
  6947. "type": "integer",
  6948. "description": "页码",
  6949. "name": "page",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "integer",
  6954. "description": "每页条数",
  6955. "name": "pagesize",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "资金账户,格式:1,2,3",
  6961. "name": "accountIDs",
  6962. "in": "query",
  6963. "required": true
  6964. }
  6965. ],
  6966. "responses": {
  6967. "200": {
  6968. "description": "OK",
  6969. "schema": {
  6970. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6971. }
  6972. },
  6973. "500": {
  6974. "description": "Internal Server Error",
  6975. "schema": {
  6976. "$ref": "#/definitions/app.Response"
  6977. }
  6978. }
  6979. }
  6980. }
  6981. },
  6982. "/HSBY/QueryMyCouponHolds": {
  6983. "get": {
  6984. "security": [
  6985. {
  6986. "ApiKeyAuth": []
  6987. }
  6988. ],
  6989. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6990. "produces": [
  6991. "application/json"
  6992. ],
  6993. "tags": [
  6994. "定制【海商报业】"
  6995. ],
  6996. "summary": "我的优惠卷持仓查询",
  6997. "parameters": [
  6998. {
  6999. "type": "string",
  7000. "description": "资金账户列表,格式:1,2,3",
  7001. "name": "accountIDs",
  7002. "in": "query",
  7003. "required": true
  7004. },
  7005. {
  7006. "type": "string",
  7007. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7008. "name": "holdStatus",
  7009. "in": "query"
  7010. }
  7011. ],
  7012. "responses": {
  7013. "200": {
  7014. "description": "OK",
  7015. "schema": {
  7016. "$ref": "#/definitions/models.MyCouponHold"
  7017. }
  7018. },
  7019. "500": {
  7020. "description": "Internal Server Error",
  7021. "schema": {
  7022. "$ref": "#/definitions/app.Response"
  7023. }
  7024. }
  7025. }
  7026. }
  7027. },
  7028. "/HSBY/QueryMyCoupons": {
  7029. "get": {
  7030. "security": [
  7031. {
  7032. "ApiKeyAuth": []
  7033. }
  7034. ],
  7035. "produces": [
  7036. "application/json"
  7037. ],
  7038. "tags": [
  7039. "定制【海商报业】"
  7040. ],
  7041. "summary": "我的优惠卷查询",
  7042. "parameters": [
  7043. {
  7044. "type": "string",
  7045. "description": "资金账户列表,格式:1,2,3",
  7046. "name": "accountIDs",
  7047. "in": "query",
  7048. "required": true
  7049. },
  7050. {
  7051. "type": "integer",
  7052. "description": "商品ID, 一般与sellUserID配套传入",
  7053. "name": "goodsID",
  7054. "in": "query"
  7055. },
  7056. {
  7057. "type": "integer",
  7058. "description": "卖方UserID",
  7059. "name": "sellUserID",
  7060. "in": "query"
  7061. }
  7062. ],
  7063. "responses": {
  7064. "200": {
  7065. "description": "OK",
  7066. "schema": {
  7067. "$ref": "#/definitions/models.MyCoupon"
  7068. }
  7069. },
  7070. "500": {
  7071. "description": "Internal Server Error",
  7072. "schema": {
  7073. "$ref": "#/definitions/app.Response"
  7074. }
  7075. }
  7076. }
  7077. }
  7078. },
  7079. "/HSBY/QueryMyPayOrders": {
  7080. "get": {
  7081. "security": [
  7082. {
  7083. "ApiKeyAuth": []
  7084. }
  7085. ],
  7086. "produces": [
  7087. "application/json"
  7088. ],
  7089. "tags": [
  7090. "定制【海商报业】"
  7091. ],
  7092. "summary": "获取我的订单中待付款信息",
  7093. "parameters": [
  7094. {
  7095. "type": "integer",
  7096. "description": "页码",
  7097. "name": "page",
  7098. "in": "query"
  7099. },
  7100. {
  7101. "type": "integer",
  7102. "description": "每页条数",
  7103. "name": "pagesize",
  7104. "in": "query"
  7105. },
  7106. {
  7107. "type": "string",
  7108. "description": "资金账户列表,格式:1,2,3",
  7109. "name": "accountIDs",
  7110. "in": "query",
  7111. "required": true
  7112. },
  7113. {
  7114. "type": "integer",
  7115. "description": "买方委托单号",
  7116. "name": "buyOrderID",
  7117. "in": "query"
  7118. },
  7119. {
  7120. "type": "integer",
  7121. "description": "卖方委托单号",
  7122. "name": "sellOrderID",
  7123. "in": "query"
  7124. }
  7125. ],
  7126. "responses": {
  7127. "200": {
  7128. "description": "OK",
  7129. "schema": {
  7130. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7131. }
  7132. },
  7133. "500": {
  7134. "description": "Internal Server Error",
  7135. "schema": {
  7136. "$ref": "#/definitions/app.Response"
  7137. }
  7138. }
  7139. }
  7140. }
  7141. },
  7142. "/HSBY/QueryMyUsedCoupon": {
  7143. "get": {
  7144. "security": [
  7145. {
  7146. "ApiKeyAuth": []
  7147. }
  7148. ],
  7149. "produces": [
  7150. "application/json"
  7151. ],
  7152. "tags": [
  7153. "定制【海商报业】"
  7154. ],
  7155. "summary": "已使用优惠卷查询",
  7156. "parameters": [
  7157. {
  7158. "type": "string",
  7159. "description": "资金账户列表,格式:1,2,3",
  7160. "name": "accountIDs",
  7161. "in": "query",
  7162. "required": true
  7163. }
  7164. ],
  7165. "responses": {
  7166. "200": {
  7167. "description": "OK",
  7168. "schema": {
  7169. "$ref": "#/definitions/models.MyUsedCoupon"
  7170. }
  7171. },
  7172. "500": {
  7173. "description": "Internal Server Error",
  7174. "schema": {
  7175. "$ref": "#/definitions/app.Response"
  7176. }
  7177. }
  7178. }
  7179. }
  7180. },
  7181. "/HSBY/QueryProvincesAndCities": {
  7182. "get": {
  7183. "security": [
  7184. {
  7185. "ApiKeyAuth": []
  7186. }
  7187. ],
  7188. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7189. "produces": [
  7190. "application/json"
  7191. ],
  7192. "tags": [
  7193. "定制【海商报业】"
  7194. ],
  7195. "summary": "查询省市信息(不包括区)",
  7196. "parameters": [
  7197. {
  7198. "type": "integer",
  7199. "description": "省ID",
  7200. "name": "provinceID",
  7201. "in": "query"
  7202. }
  7203. ],
  7204. "responses": {
  7205. "200": {
  7206. "description": "OK",
  7207. "schema": {
  7208. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7209. }
  7210. },
  7211. "500": {
  7212. "description": "Internal Server Error",
  7213. "schema": {
  7214. "$ref": "#/definitions/app.Response"
  7215. }
  7216. }
  7217. }
  7218. }
  7219. },
  7220. "/HSBY/SetHsbyMyPackagesStatus": {
  7221. "post": {
  7222. "security": [
  7223. {
  7224. "ApiKeyAuth": []
  7225. }
  7226. ],
  7227. "produces": [
  7228. "application/json"
  7229. ],
  7230. "tags": [
  7231. "定制【海商报业】"
  7232. ],
  7233. "summary": "设置我的包裹已收货状态",
  7234. "parameters": [
  7235. {
  7236. "type": "string",
  7237. "description": "提货单号",
  7238. "name": "takeOrderID",
  7239. "in": "query",
  7240. "required": true
  7241. },
  7242. {
  7243. "type": "integer",
  7244. "description": "资金账号",
  7245. "name": "accountID",
  7246. "in": "query",
  7247. "required": true
  7248. }
  7249. ],
  7250. "responses": {
  7251. "200": {
  7252. "description": "OK",
  7253. "schema": {
  7254. "$ref": "#/definitions/app.Response"
  7255. }
  7256. },
  7257. "500": {
  7258. "description": "Internal Server Error",
  7259. "schema": {
  7260. "$ref": "#/definitions/app.Response"
  7261. }
  7262. }
  7263. }
  7264. }
  7265. },
  7266. "/Market/QueryGoodsesByLoginID": {
  7267. "get": {
  7268. "security": [
  7269. {
  7270. "ApiKeyAuth": []
  7271. }
  7272. ],
  7273. "produces": [
  7274. "application/json"
  7275. ],
  7276. "tags": [
  7277. "通用市场"
  7278. ],
  7279. "summary": "获取登录账号有权限的商品信息",
  7280. "parameters": [
  7281. {
  7282. "type": "integer",
  7283. "description": "登录账号",
  7284. "name": "loginID",
  7285. "in": "query",
  7286. "required": true
  7287. },
  7288. {
  7289. "type": "string",
  7290. "description": "市场ID列表,格式:1,2,3",
  7291. "name": "marketIDs",
  7292. "in": "query"
  7293. }
  7294. ],
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "$ref": "#/definitions/models.Goods"
  7300. }
  7301. },
  7302. "500": {
  7303. "description": "Internal Server Error",
  7304. "schema": {
  7305. "$ref": "#/definitions/app.Response"
  7306. }
  7307. }
  7308. }
  7309. }
  7310. },
  7311. "/Market/QueryMarketRun": {
  7312. "get": {
  7313. "security": [
  7314. {
  7315. "ApiKeyAuth": []
  7316. }
  7317. ],
  7318. "produces": [
  7319. "application/json"
  7320. ],
  7321. "tags": [
  7322. "通用市场"
  7323. ],
  7324. "summary": "查询市场运行信息",
  7325. "parameters": [
  7326. {
  7327. "type": "integer",
  7328. "description": "市场ID,不传返回所有",
  7329. "name": "marketID",
  7330. "in": "query"
  7331. }
  7332. ],
  7333. "responses": {
  7334. "200": {
  7335. "description": "OK",
  7336. "schema": {
  7337. "$ref": "#/definitions/models.Marketrun"
  7338. }
  7339. },
  7340. "500": {
  7341. "description": "Internal Server Error",
  7342. "schema": {
  7343. "$ref": "#/definitions/app.Response"
  7344. }
  7345. }
  7346. }
  7347. }
  7348. },
  7349. "/Market/QueryMarketsByLoginID": {
  7350. "get": {
  7351. "security": [
  7352. {
  7353. "ApiKeyAuth": []
  7354. }
  7355. ],
  7356. "produces": [
  7357. "application/json"
  7358. ],
  7359. "tags": [
  7360. "通用市场"
  7361. ],
  7362. "summary": "获取登录账号有权限的市场信息",
  7363. "parameters": [
  7364. {
  7365. "type": "integer",
  7366. "description": "登录账号",
  7367. "name": "loginID",
  7368. "in": "query",
  7369. "required": true
  7370. }
  7371. ],
  7372. "responses": {
  7373. "200": {
  7374. "description": "OK",
  7375. "schema": {
  7376. "$ref": "#/definitions/models.Market"
  7377. }
  7378. },
  7379. "500": {
  7380. "description": "Internal Server Error",
  7381. "schema": {
  7382. "$ref": "#/definitions/app.Response"
  7383. }
  7384. }
  7385. }
  7386. }
  7387. },
  7388. "/Order/QueryHisTradeDetail": {
  7389. "get": {
  7390. "security": [
  7391. {
  7392. "ApiKeyAuth": []
  7393. }
  7394. ],
  7395. "produces": [
  7396. "application/json"
  7397. ],
  7398. "tags": [
  7399. "通用单据"
  7400. ],
  7401. "summary": "历史成交单查询(合约市场)",
  7402. "parameters": [
  7403. {
  7404. "type": "string",
  7405. "description": "资金账户 - 格式:1,2,3",
  7406. "name": "accountID",
  7407. "in": "query",
  7408. "required": true
  7409. },
  7410. {
  7411. "type": "integer",
  7412. "description": "成交单号",
  7413. "name": "tradeID",
  7414. "in": "query"
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "委托单号",
  7419. "name": "orderID",
  7420. "in": "query"
  7421. },
  7422. {
  7423. "type": "string",
  7424. "description": "交易模式 - 格式:1,2,3",
  7425. "name": "tradeMode",
  7426. "in": "query"
  7427. },
  7428. {
  7429. "type": "integer",
  7430. "description": "委托单据类型",
  7431. "name": "buildType",
  7432. "in": "query"
  7433. },
  7434. {
  7435. "type": "string",
  7436. "description": "成交类别 - 格式:1,2,3",
  7437. "name": "tradeType",
  7438. "in": "query"
  7439. },
  7440. {
  7441. "type": "string",
  7442. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7443. "name": "startDate",
  7444. "in": "query"
  7445. },
  7446. {
  7447. "type": "string",
  7448. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7449. "name": "endDate",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Order/QueryHisTradeOrderDetail": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用单据"
  7481. ],
  7482. "summary": "历史委托单查询请求(合约市场)",
  7483. "parameters": [
  7484. {
  7485. "type": "string",
  7486. "description": "资金账户 - 格式:1,2,3",
  7487. "name": "accountID",
  7488. "in": "query",
  7489. "required": true
  7490. },
  7491. {
  7492. "type": "string",
  7493. "description": "交易模式 - 格式:1,2,3",
  7494. "name": "tradeMode",
  7495. "in": "query"
  7496. },
  7497. {
  7498. "type": "string",
  7499. "description": "委托状态 - 格式:1,2,3",
  7500. "name": "orderStatus",
  7501. "in": "query"
  7502. },
  7503. {
  7504. "type": "integer",
  7505. "description": "委托单号",
  7506. "name": "orderID",
  7507. "in": "query"
  7508. },
  7509. {
  7510. "type": "string",
  7511. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7512. "name": "startDate",
  7513. "in": "query"
  7514. },
  7515. {
  7516. "type": "string",
  7517. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7518. "name": "endDate",
  7519. "in": "query"
  7520. }
  7521. ],
  7522. "responses": {
  7523. "200": {
  7524. "description": "OK",
  7525. "schema": {
  7526. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7527. }
  7528. },
  7529. "500": {
  7530. "description": "Internal Server Error",
  7531. "schema": {
  7532. "$ref": "#/definitions/app.Response"
  7533. }
  7534. }
  7535. }
  7536. }
  7537. },
  7538. "/Order/QueryTradeDetail": {
  7539. "get": {
  7540. "security": [
  7541. {
  7542. "ApiKeyAuth": []
  7543. }
  7544. ],
  7545. "produces": [
  7546. "application/json"
  7547. ],
  7548. "tags": [
  7549. "通用单据"
  7550. ],
  7551. "summary": "成交单查询(合约市场)",
  7552. "parameters": [
  7553. {
  7554. "type": "string",
  7555. "description": "资金账户 - 格式:1,2,3",
  7556. "name": "accountID",
  7557. "in": "query",
  7558. "required": true
  7559. },
  7560. {
  7561. "type": "integer",
  7562. "description": "成交单号",
  7563. "name": "tradeID",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "integer",
  7568. "description": "委托单号",
  7569. "name": "orderID",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "交易模式 - 格式:1,2,3",
  7575. "name": "tradeMode",
  7576. "in": "query"
  7577. },
  7578. {
  7579. "type": "integer",
  7580. "description": "委托单据类型",
  7581. "name": "buildType",
  7582. "in": "query"
  7583. },
  7584. {
  7585. "type": "string",
  7586. "description": "成交类别 - 格式:1,2,3",
  7587. "name": "tradeType",
  7588. "in": "query"
  7589. }
  7590. ],
  7591. "responses": {
  7592. "200": {
  7593. "description": "OK",
  7594. "schema": {
  7595. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7596. }
  7597. },
  7598. "500": {
  7599. "description": "Internal Server Error",
  7600. "schema": {
  7601. "$ref": "#/definitions/app.Response"
  7602. }
  7603. }
  7604. }
  7605. }
  7606. },
  7607. "/Order/QueryTradeOrderDetail": {
  7608. "get": {
  7609. "security": [
  7610. {
  7611. "ApiKeyAuth": []
  7612. }
  7613. ],
  7614. "produces": [
  7615. "application/json"
  7616. ],
  7617. "tags": [
  7618. "通用单据"
  7619. ],
  7620. "summary": "委托单查询请求(合约市场)",
  7621. "parameters": [
  7622. {
  7623. "type": "string",
  7624. "description": "资金账户 - 格式:1,2,3",
  7625. "name": "accountID",
  7626. "in": "query",
  7627. "required": true
  7628. },
  7629. {
  7630. "type": "string",
  7631. "description": "交易模式 - 格式:1,2,3",
  7632. "name": "tradeMode",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "委托状态 - 格式:1,2,3",
  7638. "name": "orderStatus",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "integer",
  7643. "description": "委托单号",
  7644. "name": "orderID",
  7645. "in": "query"
  7646. }
  7647. ],
  7648. "responses": {
  7649. "200": {
  7650. "description": "OK",
  7651. "schema": {
  7652. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7653. }
  7654. },
  7655. "500": {
  7656. "description": "Internal Server Error",
  7657. "schema": {
  7658. "$ref": "#/definitions/app.Response"
  7659. }
  7660. }
  7661. }
  7662. }
  7663. },
  7664. "/Order/QueryTradePosition": {
  7665. "get": {
  7666. "security": [
  7667. {
  7668. "ApiKeyAuth": []
  7669. }
  7670. ],
  7671. "produces": [
  7672. "application/json"
  7673. ],
  7674. "tags": [
  7675. "通用单据"
  7676. ],
  7677. "summary": "持仓汇总查询(合约市场)",
  7678. "parameters": [
  7679. {
  7680. "type": "string",
  7681. "description": "资金账户 - 格式:1,2,3",
  7682. "name": "accountID",
  7683. "in": "query",
  7684. "required": true
  7685. },
  7686. {
  7687. "type": "string",
  7688. "description": "交易模式 - 格式:1,2,3",
  7689. "name": "tradeMode",
  7690. "in": "query"
  7691. }
  7692. ],
  7693. "responses": {
  7694. "200": {
  7695. "description": "OK",
  7696. "schema": {
  7697. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7698. }
  7699. },
  7700. "500": {
  7701. "description": "Internal Server Error",
  7702. "schema": {
  7703. "$ref": "#/definitions/app.Response"
  7704. }
  7705. }
  7706. }
  7707. }
  7708. },
  7709. "/Quote/QueryHistoryDatas": {
  7710. "get": {
  7711. "security": [
  7712. {
  7713. "ApiKeyAuth": []
  7714. }
  7715. ],
  7716. "produces": [
  7717. "application/json"
  7718. ],
  7719. "tags": [
  7720. "行情服务"
  7721. ],
  7722. "summary": "查询行情历史数据",
  7723. "parameters": [
  7724. {
  7725. "type": "integer",
  7726. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7727. "name": "cycleType",
  7728. "in": "query",
  7729. "required": true
  7730. },
  7731. {
  7732. "type": "string",
  7733. "description": "商品代码",
  7734. "name": "goodsCode",
  7735. "in": "query",
  7736. "required": true
  7737. },
  7738. {
  7739. "type": "string",
  7740. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7741. "name": "startTime",
  7742. "in": "query"
  7743. },
  7744. {
  7745. "type": "string",
  7746. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7747. "name": "endTime",
  7748. "in": "query"
  7749. },
  7750. {
  7751. "type": "integer",
  7752. "description": "条数",
  7753. "name": "count",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "boolean",
  7758. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7759. "name": "isAsc",
  7760. "in": "query"
  7761. }
  7762. ],
  7763. "responses": {
  7764. "200": {
  7765. "description": "OK",
  7766. "schema": {
  7767. "$ref": "#/definitions/quote.HistoryData"
  7768. }
  7769. },
  7770. "500": {
  7771. "description": "Internal Server Error",
  7772. "schema": {
  7773. "$ref": "#/definitions/app.Response"
  7774. }
  7775. }
  7776. }
  7777. }
  7778. },
  7779. "/Quote/QueryHistoryTikDatas": {
  7780. "get": {
  7781. "security": [
  7782. {
  7783. "ApiKeyAuth": []
  7784. }
  7785. ],
  7786. "produces": [
  7787. "application/json"
  7788. ],
  7789. "tags": [
  7790. "行情服务"
  7791. ],
  7792. "summary": "查询行情Tik数据",
  7793. "parameters": [
  7794. {
  7795. "type": "string",
  7796. "description": "商品代码",
  7797. "name": "goodsCode",
  7798. "in": "query",
  7799. "required": true
  7800. },
  7801. {
  7802. "type": "string",
  7803. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7804. "name": "startTime",
  7805. "in": "query"
  7806. },
  7807. {
  7808. "type": "string",
  7809. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7810. "name": "endTime",
  7811. "in": "query"
  7812. },
  7813. {
  7814. "type": "integer",
  7815. "description": "条数",
  7816. "name": "count",
  7817. "in": "query"
  7818. },
  7819. {
  7820. "type": "boolean",
  7821. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7822. "name": "isAsc",
  7823. "in": "query"
  7824. }
  7825. ],
  7826. "responses": {
  7827. "200": {
  7828. "description": "OK",
  7829. "schema": {
  7830. "$ref": "#/definitions/quote.HistoryTikData"
  7831. }
  7832. },
  7833. "500": {
  7834. "description": "Internal Server Error",
  7835. "schema": {
  7836. "$ref": "#/definitions/app.Response"
  7837. }
  7838. }
  7839. }
  7840. }
  7841. },
  7842. "/Quote/QueryQuoteDay": {
  7843. "get": {
  7844. "security": [
  7845. {
  7846. "ApiKeyAuth": []
  7847. }
  7848. ],
  7849. "produces": [
  7850. "application/json"
  7851. ],
  7852. "tags": [
  7853. "行情服务"
  7854. ],
  7855. "summary": "获取商品盘面信息",
  7856. "parameters": [
  7857. {
  7858. "type": "string",
  7859. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7860. "name": "goodsCodes",
  7861. "in": "query",
  7862. "required": true
  7863. }
  7864. ],
  7865. "responses": {
  7866. "200": {
  7867. "description": "OK",
  7868. "schema": {
  7869. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7870. }
  7871. },
  7872. "500": {
  7873. "description": "Internal Server Error",
  7874. "schema": {
  7875. "$ref": "#/definitions/app.Response"
  7876. }
  7877. }
  7878. }
  7879. }
  7880. },
  7881. "/Quote/QueryTSData": {
  7882. "get": {
  7883. "security": [
  7884. {
  7885. "ApiKeyAuth": []
  7886. }
  7887. ],
  7888. "produces": [
  7889. "application/json"
  7890. ],
  7891. "tags": [
  7892. "行情服务"
  7893. ],
  7894. "summary": "分时图数据查询",
  7895. "parameters": [
  7896. {
  7897. "type": "string",
  7898. "description": "商品代码",
  7899. "name": "goodsCode",
  7900. "in": "query",
  7901. "required": true
  7902. }
  7903. ],
  7904. "responses": {
  7905. "200": {
  7906. "description": "OK",
  7907. "schema": {
  7908. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7909. }
  7910. },
  7911. "500": {
  7912. "description": "Internal Server Error",
  7913. "schema": {
  7914. "$ref": "#/definitions/app.Response"
  7915. }
  7916. }
  7917. }
  7918. }
  7919. },
  7920. "/SZDZ/QueryConvertConfig": {
  7921. "get": {
  7922. "security": [
  7923. {
  7924. "ApiKeyAuth": []
  7925. }
  7926. ],
  7927. "produces": [
  7928. "application/json"
  7929. ],
  7930. "tags": [
  7931. "定制【尚志大宗】"
  7932. ],
  7933. "summary": "查询交易系统转换设置",
  7934. "parameters": [
  7935. {
  7936. "type": "integer",
  7937. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7938. "name": "convertType",
  7939. "in": "query"
  7940. },
  7941. {
  7942. "type": "string",
  7943. "description": "外部商品代码[JD\\PD]",
  7944. "name": "outerGoodsCode",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "string",
  7949. "description": "内部商品ID列表[交易],格式:1,2,3",
  7950. "name": "innerGoodsIDs",
  7951. "in": "query"
  7952. }
  7953. ],
  7954. "responses": {
  7955. "200": {
  7956. "description": "OK",
  7957. "schema": {
  7958. "$ref": "#/definitions/models.Szdz3convertconfig"
  7959. }
  7960. },
  7961. "500": {
  7962. "description": "Internal Server Error",
  7963. "schema": {
  7964. "$ref": "#/definitions/app.Response"
  7965. }
  7966. }
  7967. }
  7968. }
  7969. },
  7970. "/SZDZ/QueryConvertLog": {
  7971. "get": {
  7972. "security": [
  7973. {
  7974. "ApiKeyAuth": []
  7975. }
  7976. ],
  7977. "produces": [
  7978. "application/json"
  7979. ],
  7980. "tags": [
  7981. "定制【尚志大宗】"
  7982. ],
  7983. "summary": "交易系统转换流水查询",
  7984. "parameters": [
  7985. {
  7986. "type": "string",
  7987. "description": "资金账户 - 格式:1,2,3",
  7988. "name": "accountID",
  7989. "in": "query",
  7990. "required": true
  7991. },
  7992. {
  7993. "type": "string",
  7994. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7995. "name": "startDate",
  7996. "in": "query"
  7997. },
  7998. {
  7999. "type": "string",
  8000. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8001. "name": "endDate",
  8002. "in": "query"
  8003. }
  8004. ],
  8005. "responses": {
  8006. "200": {
  8007. "description": "OK",
  8008. "schema": {
  8009. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8010. }
  8011. },
  8012. "500": {
  8013. "description": "Internal Server Error",
  8014. "schema": {
  8015. "$ref": "#/definitions/app.Response"
  8016. }
  8017. }
  8018. }
  8019. }
  8020. },
  8021. "/SZDZ/QueryGoodsPickup": {
  8022. "get": {
  8023. "security": [
  8024. {
  8025. "ApiKeyAuth": []
  8026. }
  8027. ],
  8028. "produces": [
  8029. "application/json"
  8030. ],
  8031. "tags": [
  8032. "定制【尚志大宗】"
  8033. ],
  8034. "summary": "商品提货单查询",
  8035. "parameters": [
  8036. {
  8037. "type": "string",
  8038. "description": "资金账户 - 格式:1,2,3",
  8039. "name": "accountID",
  8040. "in": "query",
  8041. "required": true
  8042. },
  8043. {
  8044. "type": "integer",
  8045. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8046. "name": "takeOrderStatus",
  8047. "in": "query"
  8048. }
  8049. ],
  8050. "responses": {
  8051. "200": {
  8052. "description": "OK",
  8053. "schema": {
  8054. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8055. }
  8056. },
  8057. "500": {
  8058. "description": "Internal Server Error",
  8059. "schema": {
  8060. "$ref": "#/definitions/app.Response"
  8061. }
  8062. }
  8063. }
  8064. }
  8065. },
  8066. "/SZDZ/QueryRecieptOrder": {
  8067. "get": {
  8068. "security": [
  8069. {
  8070. "ApiKeyAuth": []
  8071. }
  8072. ],
  8073. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "定制【尚志大宗】"
  8079. ],
  8080. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8081. "parameters": [
  8082. {
  8083. "type": "integer",
  8084. "description": "页码",
  8085. "name": "page",
  8086. "in": "query"
  8087. },
  8088. {
  8089. "type": "integer",
  8090. "description": "每页条数",
  8091. "name": "pagesize",
  8092. "in": "query"
  8093. },
  8094. {
  8095. "type": "integer",
  8096. "description": "商品ID",
  8097. "name": "goodsID",
  8098. "in": "query",
  8099. "required": true
  8100. },
  8101. {
  8102. "type": "string",
  8103. "description": "所属账户名称",
  8104. "name": "accountName",
  8105. "in": "query"
  8106. },
  8107. {
  8108. "type": "integer",
  8109. "description": "市场ID",
  8110. "name": "marketID",
  8111. "in": "query"
  8112. },
  8113. {
  8114. "type": "integer",
  8115. "description": "方向 - 0:买 1:卖",
  8116. "name": "buyorsell",
  8117. "in": "query",
  8118. "required": true
  8119. }
  8120. ],
  8121. "responses": {
  8122. "200": {
  8123. "description": "OK",
  8124. "schema": {
  8125. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8126. }
  8127. },
  8128. "500": {
  8129. "description": "Internal Server Error",
  8130. "schema": {
  8131. "$ref": "#/definitions/app.Response"
  8132. }
  8133. }
  8134. }
  8135. }
  8136. },
  8137. "/SZDZ/QuerySZDZTradePosition": {
  8138. "get": {
  8139. "security": [
  8140. {
  8141. "ApiKeyAuth": []
  8142. }
  8143. ],
  8144. "produces": [
  8145. "application/json"
  8146. ],
  8147. "tags": [
  8148. "定制【尚志大宗】"
  8149. ],
  8150. "summary": "持仓汇总查询(尚志大宗)",
  8151. "parameters": [
  8152. {
  8153. "type": "integer",
  8154. "description": "资金账户",
  8155. "name": "accountID",
  8156. "in": "query",
  8157. "required": true
  8158. }
  8159. ],
  8160. "responses": {
  8161. "200": {
  8162. "description": "OK",
  8163. "schema": {
  8164. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/SZDZ/SearchWhite": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "定制【尚志大宗】"
  8188. ],
  8189. "summary": "搜索白名单",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userID",
  8195. "in": "query",
  8196. "required": true
  8197. }
  8198. ],
  8199. "responses": {
  8200. "200": {
  8201. "description": "OK",
  8202. "schema": {
  8203. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8204. }
  8205. },
  8206. "500": {
  8207. "description": "Internal Server Error",
  8208. "schema": {
  8209. "$ref": "#/definitions/app.Response"
  8210. }
  8211. }
  8212. }
  8213. }
  8214. },
  8215. "/Search/SearchGoodses": {
  8216. "get": {
  8217. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8218. "produces": [
  8219. "application/json"
  8220. ],
  8221. "tags": [
  8222. "检索服务"
  8223. ],
  8224. "summary": "检索商品信息",
  8225. "parameters": [
  8226. {
  8227. "type": "string",
  8228. "description": "检索内容",
  8229. "name": "content",
  8230. "in": "query",
  8231. "required": true
  8232. },
  8233. {
  8234. "type": "string",
  8235. "description": "交易模式,格式:1,2,3",
  8236. "name": "tradeModes",
  8237. "in": "query"
  8238. }
  8239. ],
  8240. "responses": {
  8241. "200": {
  8242. "description": "OK",
  8243. "schema": {
  8244. "$ref": "#/definitions/models.SearchGoods"
  8245. }
  8246. },
  8247. "500": {
  8248. "description": "Internal Server Error",
  8249. "schema": {
  8250. "$ref": "#/definitions/app.Response"
  8251. }
  8252. }
  8253. }
  8254. }
  8255. },
  8256. "/TaAccount/GetTaAccounts": {
  8257. "get": {
  8258. "security": [
  8259. {
  8260. "ApiKeyAuth": []
  8261. }
  8262. ],
  8263. "produces": [
  8264. "application/json"
  8265. ],
  8266. "tags": [
  8267. "资金账户"
  8268. ],
  8269. "summary": "获取资金账户信息",
  8270. "parameters": [
  8271. {
  8272. "type": "integer",
  8273. "description": "登录账户",
  8274. "name": "loginID",
  8275. "in": "query",
  8276. "required": true
  8277. },
  8278. {
  8279. "type": "integer",
  8280. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8281. "name": "taAccountType",
  8282. "in": "query"
  8283. }
  8284. ],
  8285. "responses": {
  8286. "200": {
  8287. "description": "OK",
  8288. "schema": {
  8289. "$ref": "#/definitions/models.Taaccount"
  8290. }
  8291. },
  8292. "500": {
  8293. "description": "Internal Server Error",
  8294. "schema": {
  8295. "$ref": "#/definitions/app.Response"
  8296. }
  8297. }
  8298. }
  8299. }
  8300. },
  8301. "/TaAccount/QueryAmountLog": {
  8302. "get": {
  8303. "security": [
  8304. {
  8305. "ApiKeyAuth": []
  8306. }
  8307. ],
  8308. "produces": [
  8309. "application/json"
  8310. ],
  8311. "tags": [
  8312. "资金账户"
  8313. ],
  8314. "summary": "资金流水查询(当前)",
  8315. "parameters": [
  8316. {
  8317. "type": "integer",
  8318. "description": "页码",
  8319. "name": "page",
  8320. "in": "query"
  8321. },
  8322. {
  8323. "type": "integer",
  8324. "description": "每页条数",
  8325. "name": "pagesize",
  8326. "in": "query"
  8327. },
  8328. {
  8329. "type": "string",
  8330. "description": "资金账户 - 格式:1,2,3",
  8331. "name": "accountID",
  8332. "in": "query",
  8333. "required": true
  8334. },
  8335. {
  8336. "type": "string",
  8337. "description": "资金操作类型 - 格式:1,2,3",
  8338. "name": "OperateType",
  8339. "in": "query"
  8340. }
  8341. ],
  8342. "responses": {
  8343. "200": {
  8344. "description": "OK",
  8345. "schema": {
  8346. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/app.Response"
  8353. }
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "/TaAccount/QueryHisAmountLog": {
  8359. "get": {
  8360. "security": [
  8361. {
  8362. "ApiKeyAuth": []
  8363. }
  8364. ],
  8365. "produces": [
  8366. "application/json"
  8367. ],
  8368. "tags": [
  8369. "资金账户"
  8370. ],
  8371. "summary": "资金流水查询(历史)",
  8372. "parameters": [
  8373. {
  8374. "type": "integer",
  8375. "description": "页码",
  8376. "name": "page",
  8377. "in": "query"
  8378. },
  8379. {
  8380. "type": "integer",
  8381. "description": "每页条数",
  8382. "name": "pagesize",
  8383. "in": "query"
  8384. },
  8385. {
  8386. "type": "string",
  8387. "description": "资金账户 - 格式:1,2,3",
  8388. "name": "accountID",
  8389. "in": "query",
  8390. "required": true
  8391. },
  8392. {
  8393. "type": "string",
  8394. "description": "资金操作类型 - 格式:1,2,3",
  8395. "name": "OperateType",
  8396. "in": "query"
  8397. },
  8398. {
  8399. "type": "string",
  8400. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8401. "name": "startDate",
  8402. "in": "query"
  8403. },
  8404. {
  8405. "type": "string",
  8406. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8407. "name": "endDate",
  8408. "in": "query"
  8409. }
  8410. ],
  8411. "responses": {
  8412. "200": {
  8413. "description": "OK",
  8414. "schema": {
  8415. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8416. }
  8417. },
  8418. "500": {
  8419. "description": "Internal Server Error",
  8420. "schema": {
  8421. "$ref": "#/definitions/app.Response"
  8422. }
  8423. }
  8424. }
  8425. }
  8426. },
  8427. "/Trade/QueryRecieptOrder": {
  8428. "get": {
  8429. "security": [
  8430. {
  8431. "ApiKeyAuth": []
  8432. }
  8433. ],
  8434. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8435. "produces": [
  8436. "application/json"
  8437. ],
  8438. "tags": [
  8439. "通用交易"
  8440. ],
  8441. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8442. "parameters": [
  8443. {
  8444. "type": "integer",
  8445. "description": "页码",
  8446. "name": "page",
  8447. "in": "query"
  8448. },
  8449. {
  8450. "type": "integer",
  8451. "description": "每页条数",
  8452. "name": "pagesize",
  8453. "in": "query"
  8454. },
  8455. {
  8456. "type": "integer",
  8457. "description": "商品ID",
  8458. "name": "goodsID",
  8459. "in": "query",
  8460. "required": true
  8461. },
  8462. {
  8463. "type": "string",
  8464. "description": "所属账户名称",
  8465. "name": "accountName",
  8466. "in": "query"
  8467. },
  8468. {
  8469. "type": "integer",
  8470. "description": "市场ID",
  8471. "name": "marketID",
  8472. "in": "query"
  8473. },
  8474. {
  8475. "type": "integer",
  8476. "description": "方向 - 0:买 1:卖",
  8477. "name": "buyorsell",
  8478. "in": "query",
  8479. "required": true
  8480. }
  8481. ],
  8482. "responses": {
  8483. "200": {
  8484. "description": "OK",
  8485. "schema": {
  8486. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8487. }
  8488. },
  8489. "500": {
  8490. "description": "Internal Server Error",
  8491. "schema": {
  8492. "$ref": "#/definitions/app.Response"
  8493. }
  8494. }
  8495. }
  8496. }
  8497. },
  8498. "/User/AddMessageBoard": {
  8499. "post": {
  8500. "security": [
  8501. {
  8502. "ApiKeyAuth": []
  8503. }
  8504. ],
  8505. "produces": [
  8506. "application/json"
  8507. ],
  8508. "tags": [
  8509. "用户信息"
  8510. ],
  8511. "summary": "添加用户留言板信息",
  8512. "parameters": [
  8513. {
  8514. "type": "integer",
  8515. "description": "用户ID",
  8516. "name": "userID",
  8517. "in": "query",
  8518. "required": true
  8519. },
  8520. {
  8521. "type": "string",
  8522. "description": "留言信息",
  8523. "name": "message",
  8524. "in": "query",
  8525. "required": true
  8526. },
  8527. {
  8528. "type": "string",
  8529. "description": "联系电话",
  8530. "name": "contactNum",
  8531. "in": "query",
  8532. "required": true
  8533. }
  8534. ],
  8535. "responses": {
  8536. "200": {
  8537. "description": "OK",
  8538. "schema": {
  8539. "$ref": "#/definitions/app.Response"
  8540. }
  8541. },
  8542. "500": {
  8543. "description": "Internal Server Error",
  8544. "schema": {
  8545. "$ref": "#/definitions/app.Response"
  8546. }
  8547. }
  8548. }
  8549. }
  8550. },
  8551. "/User/AddUserFavoriteGoods": {
  8552. "post": {
  8553. "security": [
  8554. {
  8555. "ApiKeyAuth": []
  8556. }
  8557. ],
  8558. "produces": [
  8559. "application/json"
  8560. ],
  8561. "tags": [
  8562. "用户信息"
  8563. ],
  8564. "summary": "添加用户商品收藏信息",
  8565. "parameters": [
  8566. {
  8567. "type": "integer",
  8568. "description": "用户ID",
  8569. "name": "userID",
  8570. "in": "query",
  8571. "required": true
  8572. },
  8573. {
  8574. "type": "integer",
  8575. "description": "商品ID",
  8576. "name": "goodsID",
  8577. "in": "query",
  8578. "required": true
  8579. }
  8580. ],
  8581. "responses": {
  8582. "200": {
  8583. "description": "OK",
  8584. "schema": {
  8585. "$ref": "#/definitions/app.Response"
  8586. }
  8587. },
  8588. "500": {
  8589. "description": "Internal Server Error",
  8590. "schema": {
  8591. "$ref": "#/definitions/app.Response"
  8592. }
  8593. }
  8594. }
  8595. }
  8596. },
  8597. "/User/GetLoginID": {
  8598. "get": {
  8599. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8600. "produces": [
  8601. "application/json"
  8602. ],
  8603. "tags": [
  8604. "用户信息"
  8605. ],
  8606. "summary": "获取登录ID",
  8607. "parameters": [
  8608. {
  8609. "type": "string",
  8610. "description": "登录代码",
  8611. "name": "username",
  8612. "in": "query",
  8613. "required": true
  8614. }
  8615. ],
  8616. "responses": {
  8617. "200": {
  8618. "description": "OK",
  8619. "schema": {
  8620. "$ref": "#/definitions/app.Response"
  8621. }
  8622. },
  8623. "500": {
  8624. "description": "Internal Server Error",
  8625. "schema": {
  8626. "$ref": "#/definitions/app.Response"
  8627. }
  8628. }
  8629. }
  8630. }
  8631. },
  8632. "/User/GetUserAccount": {
  8633. "get": {
  8634. "security": [
  8635. {
  8636. "ApiKeyAuth": []
  8637. }
  8638. ],
  8639. "produces": [
  8640. "application/json"
  8641. ],
  8642. "tags": [
  8643. "用户信息"
  8644. ],
  8645. "summary": "获取用户账号信息",
  8646. "parameters": [
  8647. {
  8648. "type": "integer",
  8649. "description": "用户ID",
  8650. "name": "userID",
  8651. "in": "query",
  8652. "required": true
  8653. }
  8654. ],
  8655. "responses": {
  8656. "200": {
  8657. "description": "OK",
  8658. "schema": {
  8659. "$ref": "#/definitions/models.Useraccount"
  8660. }
  8661. },
  8662. "500": {
  8663. "description": "Internal Server Error",
  8664. "schema": {
  8665. "$ref": "#/definitions/app.Response"
  8666. }
  8667. }
  8668. }
  8669. }
  8670. },
  8671. "/User/GetUserAuthStatus": {
  8672. "get": {
  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. "responses": {
  8695. "200": {
  8696. "description": "OK",
  8697. "schema": {
  8698. "$ref": "#/definitions/app.Response"
  8699. }
  8700. },
  8701. "500": {
  8702. "description": "Internal Server Error",
  8703. "schema": {
  8704. "$ref": "#/definitions/app.Response"
  8705. }
  8706. }
  8707. }
  8708. }
  8709. },
  8710. "/User/LoginQuery": {
  8711. "get": {
  8712. "security": [
  8713. {
  8714. "ApiKeyAuth": []
  8715. }
  8716. ],
  8717. "produces": [
  8718. "application/json"
  8719. ],
  8720. "tags": [
  8721. "用户信息"
  8722. ],
  8723. "summary": "账户登录后信息查询",
  8724. "parameters": [
  8725. {
  8726. "type": "integer",
  8727. "description": "登录账号",
  8728. "name": "loginID",
  8729. "in": "query",
  8730. "required": true
  8731. }
  8732. ],
  8733. "responses": {
  8734. "200": {
  8735. "description": "OK",
  8736. "schema": {
  8737. "$ref": "#/definitions/user.LoginQueryRsp"
  8738. }
  8739. },
  8740. "500": {
  8741. "description": "Internal Server Error",
  8742. "schema": {
  8743. "$ref": "#/definitions/app.Response"
  8744. }
  8745. }
  8746. }
  8747. }
  8748. },
  8749. "/User/QueryMessageBoard": {
  8750. "get": {
  8751. "security": [
  8752. {
  8753. "ApiKeyAuth": []
  8754. }
  8755. ],
  8756. "produces": [
  8757. "application/json"
  8758. ],
  8759. "tags": [
  8760. "用户信息"
  8761. ],
  8762. "summary": "获取用户留言板信息",
  8763. "parameters": [
  8764. {
  8765. "type": "integer",
  8766. "description": "用户ID",
  8767. "name": "userID",
  8768. "in": "query",
  8769. "required": true
  8770. }
  8771. ],
  8772. "responses": {
  8773. "200": {
  8774. "description": "OK",
  8775. "schema": {
  8776. "$ref": "#/definitions/models.Messageboard"
  8777. }
  8778. },
  8779. "500": {
  8780. "description": "Internal Server Error",
  8781. "schema": {
  8782. "$ref": "#/definitions/app.Response"
  8783. }
  8784. }
  8785. }
  8786. }
  8787. },
  8788. "/User/QueryUserFavoriteGoodses": {
  8789. "get": {
  8790. "security": [
  8791. {
  8792. "ApiKeyAuth": []
  8793. }
  8794. ],
  8795. "produces": [
  8796. "application/json"
  8797. ],
  8798. "tags": [
  8799. "用户信息"
  8800. ],
  8801. "summary": "获取用户商品收藏信息",
  8802. "parameters": [
  8803. {
  8804. "type": "integer",
  8805. "description": "用户ID",
  8806. "name": "userID",
  8807. "in": "query",
  8808. "required": true
  8809. }
  8810. ],
  8811. "responses": {
  8812. "200": {
  8813. "description": "OK",
  8814. "schema": {
  8815. "$ref": "#/definitions/models.Userfavoritegoods"
  8816. }
  8817. },
  8818. "500": {
  8819. "description": "Internal Server Error",
  8820. "schema": {
  8821. "$ref": "#/definitions/app.Response"
  8822. }
  8823. }
  8824. }
  8825. }
  8826. },
  8827. "/User/QueryUserInfo": {
  8828. "get": {
  8829. "security": [
  8830. {
  8831. "ApiKeyAuth": []
  8832. }
  8833. ],
  8834. "produces": [
  8835. "application/json"
  8836. ],
  8837. "tags": [
  8838. "用户信息"
  8839. ],
  8840. "summary": "获取用户信息",
  8841. "parameters": [
  8842. {
  8843. "type": "integer",
  8844. "description": "用户ID",
  8845. "name": "userID",
  8846. "in": "query",
  8847. "required": true
  8848. },
  8849. {
  8850. "type": "boolean",
  8851. "description": "是否解密",
  8852. "name": "isDecrypt",
  8853. "in": "query"
  8854. }
  8855. ],
  8856. "responses": {
  8857. "200": {
  8858. "description": "OK",
  8859. "schema": {
  8860. "$ref": "#/definitions/models.Userinfo"
  8861. }
  8862. },
  8863. "500": {
  8864. "description": "Internal Server Error",
  8865. "schema": {
  8866. "$ref": "#/definitions/app.Response"
  8867. }
  8868. }
  8869. }
  8870. }
  8871. },
  8872. "/User/QueryUserReferNum": {
  8873. "get": {
  8874. "produces": [
  8875. "application/json"
  8876. ],
  8877. "tags": [
  8878. "用户信息"
  8879. ],
  8880. "summary": "获取用户邀请码",
  8881. "parameters": [
  8882. {
  8883. "type": "integer",
  8884. "description": "用户ID",
  8885. "name": "userID",
  8886. "in": "query",
  8887. "required": true
  8888. }
  8889. ],
  8890. "responses": {
  8891. "200": {
  8892. "description": "OK",
  8893. "schema": {
  8894. "$ref": "#/definitions/app.Response"
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/User/RemoveUserFavoriteGoods": {
  8907. "post": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "用户信息"
  8918. ],
  8919. "summary": "移除用户商品收藏信息",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userID",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "商品ID",
  8931. "name": "goodsID",
  8932. "in": "query",
  8933. "required": true
  8934. }
  8935. ],
  8936. "responses": {
  8937. "200": {
  8938. "description": "OK",
  8939. "schema": {
  8940. "$ref": "#/definitions/app.Response"
  8941. }
  8942. },
  8943. "500": {
  8944. "description": "Internal Server Error",
  8945. "schema": {
  8946. "$ref": "#/definitions/app.Response"
  8947. }
  8948. }
  8949. }
  8950. }
  8951. },
  8952. "/User/UpdateUserAccountStatus": {
  8953. "post": {
  8954. "security": [
  8955. {
  8956. "ApiKeyAuth": []
  8957. }
  8958. ],
  8959. "produces": [
  8960. "application/json"
  8961. ],
  8962. "tags": [
  8963. "用户信息"
  8964. ],
  8965. "summary": "更新用户状态",
  8966. "parameters": [
  8967. {
  8968. "type": "integer",
  8969. "description": "用户ID",
  8970. "name": "userID",
  8971. "in": "query",
  8972. "required": true
  8973. },
  8974. {
  8975. "type": "integer",
  8976. "description": "账户状态 - 4:正常 6:注销(停用)",
  8977. "name": "accountStatus",
  8978. "in": "query",
  8979. "required": true
  8980. }
  8981. ],
  8982. "responses": {
  8983. "200": {
  8984. "description": "OK",
  8985. "schema": {
  8986. "$ref": "#/definitions/app.Response"
  8987. }
  8988. },
  8989. "500": {
  8990. "description": "Internal Server Error",
  8991. "schema": {
  8992. "$ref": "#/definitions/app.Response"
  8993. }
  8994. }
  8995. }
  8996. }
  8997. },
  8998. "/WRTrade/GetAllDeliveryGoods": {
  8999. "get": {
  9000. "security": [
  9001. {
  9002. "ApiKeyAuth": []
  9003. },
  9004. {
  9005. "ApiKeyAuth": []
  9006. }
  9007. ],
  9008. "produces": [
  9009. "application/json",
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "仓单贸易",
  9014. "仓单贸易"
  9015. ],
  9016. "summary": "获取带仓单分类的种类信息",
  9017. "responses": {
  9018. "200": {
  9019. "description": "OK",
  9020. "schema": {
  9021. "$ref": "#/definitions/app.Response"
  9022. }
  9023. },
  9024. "500": {
  9025. "description": "Internal Server Error",
  9026. "schema": {
  9027. "$ref": "#/definitions/app.Response"
  9028. }
  9029. }
  9030. }
  9031. }
  9032. }
  9033. },
  9034. "definitions": {
  9035. "app.Response": {
  9036. "type": "object",
  9037. "properties": {
  9038. "code": {
  9039. "type": "integer"
  9040. },
  9041. "data": {
  9042. "type": "object"
  9043. },
  9044. "msg": {
  9045. "type": "string"
  9046. },
  9047. "page": {
  9048. "description": "页码",
  9049. "type": "integer"
  9050. },
  9051. "pagesize": {
  9052. "description": "每页条数",
  9053. "type": "integer"
  9054. },
  9055. "total": {
  9056. "description": "总条数",
  9057. "type": "integer"
  9058. }
  9059. }
  9060. },
  9061. "common.ClientMenu": {
  9062. "type": "object",
  9063. "properties": {
  9064. "children": {
  9065. "description": "子菜单列表",
  9066. "type": "array",
  9067. "items": {
  9068. "$ref": "#/definitions/common.ClientMenu"
  9069. }
  9070. },
  9071. "code": {
  9072. "description": "ID",
  9073. "type": "string"
  9074. },
  9075. "isshow": {
  9076. "description": "是否显示",
  9077. "type": "boolean"
  9078. },
  9079. "rulekey": {
  9080. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9081. "type": "string"
  9082. },
  9083. "sort": {
  9084. "description": "排序",
  9085. "type": "integer"
  9086. },
  9087. "title": {
  9088. "description": "标题",
  9089. "type": "string"
  9090. },
  9091. "type": {
  9092. "description": "类型,1:菜单 2:按钮",
  9093. "type": "integer"
  9094. }
  9095. }
  9096. },
  9097. "common.QueryImageConfigsRsp": {
  9098. "type": "object",
  9099. "required": [
  9100. "configid"
  9101. ],
  9102. "properties": {
  9103. "areauserid": {
  9104. "description": "所属机构ID",
  9105. "type": "integer"
  9106. },
  9107. "configid": {
  9108. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9109. "type": "integer"
  9110. },
  9111. "createdate": {
  9112. "description": "创建时间",
  9113. "type": "string"
  9114. },
  9115. "creatorid": {
  9116. "description": "创建人",
  9117. "type": "integer"
  9118. },
  9119. "imagepath": {
  9120. "description": "图片",
  9121. "type": "string"
  9122. },
  9123. "imagetype": {
  9124. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9125. "type": "integer"
  9126. },
  9127. "isshow": {
  9128. "description": "是否展示 - 0:不展示 1:展示",
  9129. "type": "integer"
  9130. },
  9131. "marketid": {
  9132. "description": "市场ID",
  9133. "type": "integer"
  9134. },
  9135. "modifierid": {
  9136. "description": "操作人",
  9137. "type": "integer"
  9138. },
  9139. "sort": {
  9140. "description": "排序",
  9141. "type": "integer"
  9142. },
  9143. "title": {
  9144. "description": "标题",
  9145. "type": "string"
  9146. },
  9147. "trademode": {
  9148. "description": "交易模式",
  9149. "type": "integer"
  9150. },
  9151. "updatedate": {
  9152. "description": "修改时间",
  9153. "type": "string"
  9154. },
  9155. "url": {
  9156. "description": "链接(地址或商品ID)",
  9157. "type": "string"
  9158. },
  9159. "urltype": {
  9160. "description": "链接类型 - 1:直接地址 2:商品ID",
  9161. "type": "integer"
  9162. }
  9163. }
  9164. },
  9165. "common.QueryNoticeRsp": {
  9166. "type": "object",
  9167. "required": [
  9168. "autoid"
  9169. ],
  9170. "properties": {
  9171. "auditoruserid": {
  9172. "description": "审核人",
  9173. "type": "integer"
  9174. },
  9175. "auditremark": {
  9176. "description": "审核备注",
  9177. "type": "string"
  9178. },
  9179. "audittime": {
  9180. "description": "审核日期",
  9181. "type": "string"
  9182. },
  9183. "autoid": {
  9184. "description": "自增ID",
  9185. "type": "integer"
  9186. },
  9187. "content": {
  9188. "description": "内容",
  9189. "type": "string"
  9190. },
  9191. "createtime": {
  9192. "description": "创建时间",
  9193. "type": "string"
  9194. },
  9195. "creatorid": {
  9196. "description": "建仓人",
  9197. "type": "integer"
  9198. },
  9199. "endtime": {
  9200. "description": "结束时间",
  9201. "type": "string"
  9202. },
  9203. "istop": {
  9204. "description": "是否置顶 - 0:不置顶 1:置顶",
  9205. "type": "integer"
  9206. },
  9207. "msgiconurl": {
  9208. "description": "消息图标Url",
  9209. "type": "string"
  9210. },
  9211. "msgtype": {
  9212. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9213. "type": "integer"
  9214. },
  9215. "publisher": {
  9216. "description": "消息发布者",
  9217. "type": "string"
  9218. },
  9219. "readed": {
  9220. "description": "是否已读",
  9221. "type": "boolean"
  9222. },
  9223. "scheduletime": {
  9224. "description": "计划发送时间",
  9225. "type": "string"
  9226. },
  9227. "sendtype": {
  9228. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9229. "type": "integer"
  9230. },
  9231. "sentstatus": {
  9232. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9233. "type": "integer"
  9234. },
  9235. "title": {
  9236. "description": "标题",
  9237. "type": "string"
  9238. },
  9239. "userid": {
  9240. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9241. "type": "integer"
  9242. }
  9243. }
  9244. },
  9245. "common.QueryProvincesAndCitiesRsp": {
  9246. "type": "object",
  9247. "properties": {
  9248. "cities": {
  9249. "description": "市",
  9250. "type": "array",
  9251. "items": {
  9252. "$ref": "#/definitions/models.Division"
  9253. }
  9254. },
  9255. "province": {
  9256. "description": "省",
  9257. "$ref": "#/definitions/models.Division"
  9258. }
  9259. }
  9260. },
  9261. "common.QueryTableDefineRsp": {
  9262. "type": "object",
  9263. "required": [
  9264. "tablekey"
  9265. ],
  9266. "properties": {
  9267. "columns": {
  9268. "description": "列头信息数组",
  9269. "type": "array",
  9270. "items": {
  9271. "$ref": "#/definitions/models.Tablecolumnconfig"
  9272. }
  9273. },
  9274. "remark": {
  9275. "description": "Remark",
  9276. "type": "string"
  9277. },
  9278. "tabelmenu": {
  9279. "description": "列表菜单",
  9280. "type": "string"
  9281. },
  9282. "tablekey": {
  9283. "description": "列表Key",
  9284. "type": "string"
  9285. },
  9286. "tablename": {
  9287. "description": "列表名称",
  9288. "type": "string"
  9289. },
  9290. "tabletype": {
  9291. "description": "列表类型 - 1:管理端 2:终端",
  9292. "type": "integer"
  9293. }
  9294. }
  9295. },
  9296. "common.QueryTraderMenuRsp": {
  9297. "type": "object",
  9298. "properties": {
  9299. "OperationMenu": {
  9300. "description": "功能菜单",
  9301. "type": "array",
  9302. "items": {
  9303. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9304. }
  9305. },
  9306. "QuoteMenu": {
  9307. "description": "报价牌分类菜单",
  9308. "type": "array",
  9309. "items": {
  9310. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9311. }
  9312. }
  9313. }
  9314. },
  9315. "cptrade.Cptradepositioncancel": {
  9316. "type": "object",
  9317. "required": [
  9318. "cancelid"
  9319. ],
  9320. "properties": {
  9321. "accountid": {
  9322. "description": "申请人账户ID",
  9323. "type": "integer"
  9324. },
  9325. "applystatus": {
  9326. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9327. "type": "integer"
  9328. },
  9329. "applytime": {
  9330. "description": "申请时间",
  9331. "type": "string"
  9332. },
  9333. "cancelid": {
  9334. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9335. "type": "integer"
  9336. },
  9337. "cancelqty": {
  9338. "description": "注销数量",
  9339. "type": "integer"
  9340. },
  9341. "createtime": {
  9342. "description": "创建时间",
  9343. "type": "string"
  9344. },
  9345. "creatorid": {
  9346. "description": "创建人ID",
  9347. "type": "integer"
  9348. },
  9349. "creatorname": {
  9350. "description": "创建人",
  9351. "type": "string"
  9352. },
  9353. "goodscode": {
  9354. "description": "订单商品代码",
  9355. "type": "string"
  9356. },
  9357. "goodsid": {
  9358. "description": "商品ID",
  9359. "type": "integer"
  9360. },
  9361. "goodsname": {
  9362. "description": "订单商品名称",
  9363. "type": "string"
  9364. },
  9365. "goodunit": {
  9366. "description": "报价单位",
  9367. "type": "string"
  9368. },
  9369. "handlestatus": {
  9370. "description": "处理状态",
  9371. "type": "integer"
  9372. },
  9373. "marketid": {
  9374. "description": "市场ID",
  9375. "type": "integer"
  9376. },
  9377. "marketname": {
  9378. "description": "市场名称",
  9379. "type": "string"
  9380. },
  9381. "tradedate": {
  9382. "description": "交易日(yyyyMMdd)",
  9383. "type": "string"
  9384. },
  9385. "userid": {
  9386. "description": "申请人ID",
  9387. "type": "integer"
  9388. }
  9389. }
  9390. },
  9391. "cptrade.Cptradepresaleapply": {
  9392. "type": "object",
  9393. "required": [
  9394. "applyid"
  9395. ],
  9396. "properties": {
  9397. "accountid": {
  9398. "description": "申请人账户ID",
  9399. "type": "integer"
  9400. },
  9401. "applyid": {
  9402. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9403. "type": "integer"
  9404. },
  9405. "applyremark": {
  9406. "description": "申请备注",
  9407. "type": "string"
  9408. },
  9409. "applystatus": {
  9410. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9411. "type": "integer"
  9412. },
  9413. "applytime": {
  9414. "description": "申请时间",
  9415. "type": "string"
  9416. },
  9417. "attachmenturl": {
  9418. "description": "附件地址",
  9419. "type": "string"
  9420. },
  9421. "endtime": {
  9422. "description": "预售结束时间",
  9423. "type": "string"
  9424. },
  9425. "goodscode": {
  9426. "description": "商品代码",
  9427. "type": "string"
  9428. },
  9429. "goodsid": {
  9430. "description": "商品ID",
  9431. "type": "integer"
  9432. },
  9433. "goodsname": {
  9434. "description": "商品名称",
  9435. "type": "string"
  9436. },
  9437. "goodunit": {
  9438. "description": "报价单位",
  9439. "type": "string"
  9440. },
  9441. "handlestatus": {
  9442. "description": "处理状态",
  9443. "type": "integer"
  9444. },
  9445. "marketid": {
  9446. "description": "预售市场ID",
  9447. "type": "integer"
  9448. },
  9449. "marketname": {
  9450. "description": "预售市场名称",
  9451. "type": "string"
  9452. },
  9453. "presaleqty": {
  9454. "description": "预售数量",
  9455. "type": "integer"
  9456. },
  9457. "relatedgoodscode": {
  9458. "description": "关联交易合约代码",
  9459. "type": "string"
  9460. },
  9461. "relatedgoodsid": {
  9462. "description": "关联交易合约ID",
  9463. "type": "integer"
  9464. },
  9465. "relatedgoodsname": {
  9466. "description": "关联交易合约名称",
  9467. "type": "string"
  9468. },
  9469. "starttime": {
  9470. "description": "预售开始时间",
  9471. "type": "string"
  9472. },
  9473. "tradedate": {
  9474. "description": "交易日(yyyyMMdd)",
  9475. "type": "string"
  9476. },
  9477. "trademode": {
  9478. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9479. "type": "integer"
  9480. },
  9481. "userid": {
  9482. "description": "申请人ID",
  9483. "type": "integer"
  9484. }
  9485. }
  9486. },
  9487. "cptrade.Cptradeusergoodsdata": {
  9488. "type": "object",
  9489. "required": [
  9490. "accountid",
  9491. "goodsid"
  9492. ],
  9493. "properties": {
  9494. "EnabledQty": {
  9495. "description": "可用量",
  9496. "type": "integer"
  9497. },
  9498. "GoodsCode": {
  9499. "description": "订单商品代码",
  9500. "type": "string"
  9501. },
  9502. "GoodsName": {
  9503. "description": "订单商品名称",
  9504. "type": "string"
  9505. },
  9506. "WRStandardCode": {
  9507. "description": "仓单标准代码",
  9508. "type": "string"
  9509. },
  9510. "WRStandardName": {
  9511. "description": "仓单标准名称",
  9512. "type": "string"
  9513. },
  9514. "accountid": {
  9515. "description": "账户ID",
  9516. "type": "integer"
  9517. },
  9518. "cancelqty": {
  9519. "description": "注销量",
  9520. "type": "integer"
  9521. },
  9522. "curpresaleqty": {
  9523. "description": "当前预售量",
  9524. "type": "integer"
  9525. },
  9526. "deliveryqty": {
  9527. "description": "交割量",
  9528. "type": "integer"
  9529. },
  9530. "freezeamount": {
  9531. "description": "冻结金额",
  9532. "type": "number"
  9533. },
  9534. "goodsid": {
  9535. "description": "商品ID",
  9536. "type": "integer"
  9537. },
  9538. "goodunit": {
  9539. "description": "报价单位",
  9540. "type": "string"
  9541. },
  9542. "hasspotfreeze": {
  9543. "description": "是否有现货冻结 - 0:否 1:有",
  9544. "type": "integer"
  9545. },
  9546. "inqty": {
  9547. "description": "转入量(总数量)",
  9548. "type": "integer"
  9549. },
  9550. "marketid": {
  9551. "description": "市场ID",
  9552. "type": "integer"
  9553. },
  9554. "presaledamount": {
  9555. "description": "已预售总金额",
  9556. "type": "integer"
  9557. },
  9558. "presaledqty": {
  9559. "description": "已预售量",
  9560. "type": "integer"
  9561. },
  9562. "userid": {
  9563. "description": "用户ID",
  9564. "type": "integer"
  9565. },
  9566. "wrstandardid": {
  9567. "description": "仓单标准ID",
  9568. "type": "integer"
  9569. }
  9570. }
  9571. },
  9572. "cptrade.QueryCPTradeMyBidRsp": {
  9573. "type": "object",
  9574. "required": [
  9575. "accountid",
  9576. "goodsid",
  9577. "marketid",
  9578. "orderid",
  9579. "orderqty",
  9580. "ordertime",
  9581. "tradeprice",
  9582. "tradeqty"
  9583. ],
  9584. "properties": {
  9585. "accountid": {
  9586. "description": "账户ID[报价币种]",
  9587. "type": "integer"
  9588. },
  9589. "goodsid": {
  9590. "description": "商品ID",
  9591. "type": "integer"
  9592. },
  9593. "goodunit": {
  9594. "description": "报价单位",
  9595. "type": "string"
  9596. },
  9597. "marketid": {
  9598. "description": "市场ID",
  9599. "type": "integer"
  9600. },
  9601. "orderid": {
  9602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9603. "type": "integer"
  9604. },
  9605. "orderprice": {
  9606. "description": "委托价格",
  9607. "type": "number"
  9608. },
  9609. "orderqty": {
  9610. "description": "委托数量",
  9611. "type": "integer"
  9612. },
  9613. "ordertime": {
  9614. "description": "委托时间",
  9615. "type": "string"
  9616. },
  9617. "ordertotalprice": {
  9618. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9619. "type": "number"
  9620. },
  9621. "ordertotalweight": {
  9622. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9623. "type": "integer"
  9624. },
  9625. "totaltotalprice": {
  9626. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9627. "type": "number"
  9628. },
  9629. "tradeprice": {
  9630. "description": "成交价格",
  9631. "type": "number"
  9632. },
  9633. "tradeqty": {
  9634. "description": "成交数量",
  9635. "type": "integer"
  9636. }
  9637. }
  9638. },
  9639. "cptrade.QueryCPTradeOrderDetailRsq": {
  9640. "type": "object",
  9641. "required": [
  9642. "accountid",
  9643. "buildtype",
  9644. "buyorsell",
  9645. "goodsid",
  9646. "marketid",
  9647. "memberuserid",
  9648. "operatetype",
  9649. "orderqty",
  9650. "ordertime",
  9651. "pricemode",
  9652. "strorderid",
  9653. "tradedate",
  9654. "validtype"
  9655. ],
  9656. "properties": {
  9657. "accountid": {
  9658. "description": "账户ID[报价币种]",
  9659. "type": "integer"
  9660. },
  9661. "buildtype": {
  9662. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9663. "type": "integer"
  9664. },
  9665. "buyorsell": {
  9666. "description": "买卖 - 0:买 1:卖",
  9667. "type": "integer"
  9668. },
  9669. "cancelorderid": {
  9670. "description": "撤单单号(撤单时填写)",
  9671. "type": "integer"
  9672. },
  9673. "cancelqty": {
  9674. "description": "撤单数量",
  9675. "type": "integer"
  9676. },
  9677. "clientordertime": {
  9678. "description": "客户端委托时间",
  9679. "type": "string"
  9680. },
  9681. "clientticket": {
  9682. "description": "客户端流水号",
  9683. "type": "string"
  9684. },
  9685. "clienttype": {
  9686. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9687. "type": "integer"
  9688. },
  9689. "closeexchagechargevalue": {
  9690. "description": "平仓交易所手续费设置值",
  9691. "type": "number"
  9692. },
  9693. "closefeealgorithm": {
  9694. "description": "平仓手续费收取方式 1:比率 2:固定",
  9695. "type": "integer"
  9696. },
  9697. "closefreezecharge": {
  9698. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9699. "type": "number"
  9700. },
  9701. "closememberchargevalue": {
  9702. "description": "平仓会员手续费设置值",
  9703. "type": "number"
  9704. },
  9705. "closeqty": {
  9706. "description": "平仓数量(先建后平操作 需要记录)",
  9707. "type": "integer"
  9708. },
  9709. "closetradeqty": {
  9710. "description": "平仓成交数量(先建后平操作,需要记录)",
  9711. "type": "integer"
  9712. },
  9713. "closeunfreezecharge": {
  9714. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9715. "type": "number"
  9716. },
  9717. "delistingtype": {
  9718. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9719. "type": "integer"
  9720. },
  9721. "freezecharge": {
  9722. "description": "冻结手续费",
  9723. "type": "number"
  9724. },
  9725. "freezemargin": {
  9726. "description": "冻结保证金(冻结交易金额)",
  9727. "type": "number"
  9728. },
  9729. "gcaccountid": {
  9730. "description": "账户ID[合约币种]",
  9731. "type": "integer"
  9732. },
  9733. "goodsid": {
  9734. "description": "商品ID",
  9735. "type": "integer"
  9736. },
  9737. "isconfirmexercise": {
  9738. "description": "是否确认行权- 0:否 1:是",
  9739. "type": "integer"
  9740. },
  9741. "ispreexercise": {
  9742. "description": "是否预申报- 0:否 1:是",
  9743. "type": "integer"
  9744. },
  9745. "listingselecttype": {
  9746. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9747. "type": "integer"
  9748. },
  9749. "marginalgorithm": {
  9750. "description": "保证金收取方式 1:比率 2:固定",
  9751. "type": "integer"
  9752. },
  9753. "marginvalue": {
  9754. "description": "即市保证金设置值",
  9755. "type": "number"
  9756. },
  9757. "marketid": {
  9758. "description": "市场ID",
  9759. "type": "integer"
  9760. },
  9761. "marketmaxsub": {
  9762. "description": "市价最大偏移范围",
  9763. "type": "number"
  9764. },
  9765. "memberuserid": {
  9766. "description": "所属会员UserID",
  9767. "type": "integer"
  9768. },
  9769. "openexchagechargevalue": {
  9770. "description": "建仓交易所手续费设置值",
  9771. "type": "number"
  9772. },
  9773. "openfeealgorithm": {
  9774. "description": "建仓手续费收取方式 1:比率 2:固定",
  9775. "type": "integer"
  9776. },
  9777. "openfreezecharge": {
  9778. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9779. "type": "number"
  9780. },
  9781. "openmemberchargevalue": {
  9782. "description": "建仓会员手续费设置值",
  9783. "type": "number"
  9784. },
  9785. "openqty": {
  9786. "description": "开仓数量(先建后平操作,需要记录)",
  9787. "type": "integer"
  9788. },
  9789. "opentradeqty": {
  9790. "description": "开仓成交数量(先建后平操作,需要记录)",
  9791. "type": "integer"
  9792. },
  9793. "openunfreezecharge": {
  9794. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9795. "type": "number"
  9796. },
  9797. "operatetype": {
  9798. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9799. "type": "integer"
  9800. },
  9801. "operatorid": {
  9802. "description": "登录账号(LoginID)",
  9803. "type": "integer"
  9804. },
  9805. "optiontype": {
  9806. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9807. "type": "integer"
  9808. },
  9809. "orderprice": {
  9810. "description": "委托价格",
  9811. "type": "number"
  9812. },
  9813. "orderqty": {
  9814. "description": "委托数量",
  9815. "type": "integer"
  9816. },
  9817. "ordersrc": {
  9818. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9819. "type": "integer"
  9820. },
  9821. "orderstatus": {
  9822. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9823. "type": "integer"
  9824. },
  9825. "ordertime": {
  9826. "description": "委托时间",
  9827. "type": "string"
  9828. },
  9829. "preexerciseprice": {
  9830. "description": "预申报价格",
  9831. "type": "number"
  9832. },
  9833. "premium": {
  9834. "description": "权利金",
  9835. "type": "number"
  9836. },
  9837. "preorderid": {
  9838. "description": "关联预埋单号(止盈止损单时填写)",
  9839. "type": "integer"
  9840. },
  9841. "pricemode": {
  9842. "description": "取价方式 - 1:市价 2: 限价",
  9843. "type": "integer"
  9844. },
  9845. "quoteid": {
  9846. "description": "报价单ID",
  9847. "type": "integer"
  9848. },
  9849. "relatedid": {
  9850. "description": "关联单号(交割单)",
  9851. "type": "integer"
  9852. },
  9853. "retcode": {
  9854. "description": "错误代码",
  9855. "type": "integer"
  9856. },
  9857. "sessionid": {
  9858. "description": "会话ID",
  9859. "type": "integer"
  9860. },
  9861. "strorderid": {
  9862. "description": "委托单号",
  9863. "type": "string"
  9864. },
  9865. "tradedate": {
  9866. "description": "交易日(yyyyMMdd)",
  9867. "type": "string"
  9868. },
  9869. "tradeproperty": {
  9870. "description": "交易属性",
  9871. "type": "integer"
  9872. },
  9873. "tradeqty": {
  9874. "description": "成交数量",
  9875. "type": "integer"
  9876. },
  9877. "unfreezecharge": {
  9878. "description": "解冻手续费",
  9879. "type": "number"
  9880. },
  9881. "unfreezemargin": {
  9882. "description": "解冻保证金",
  9883. "type": "number"
  9884. },
  9885. "updatetime": {
  9886. "description": "更新时间",
  9887. "type": "string"
  9888. },
  9889. "uuid": {
  9890. "description": "发起端唯一id",
  9891. "type": "string"
  9892. },
  9893. "validtime": {
  9894. "description": "有效期限",
  9895. "type": "string"
  9896. },
  9897. "validtype": {
  9898. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9899. "type": "integer"
  9900. },
  9901. "volumetype": {
  9902. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9903. "type": "integer"
  9904. }
  9905. }
  9906. },
  9907. "cptrade.QueryMyCPTradeGoodsRsp": {
  9908. "type": "object",
  9909. "required": [
  9910. "goodscode",
  9911. "goodsid",
  9912. "goodsname",
  9913. "marketid",
  9914. "relatedgoodscode",
  9915. "relatedgoodsname"
  9916. ],
  9917. "properties": {
  9918. "accountid": {
  9919. "description": "卖方账户ID",
  9920. "type": "integer"
  9921. },
  9922. "agreeunit": {
  9923. "description": "合约单位",
  9924. "type": "number"
  9925. },
  9926. "applyid": {
  9927. "description": "关联申请ID",
  9928. "type": "integer"
  9929. },
  9930. "attachmenturl": {
  9931. "description": "附件地址",
  9932. "type": "string"
  9933. },
  9934. "createtime": {
  9935. "description": "创建时间",
  9936. "type": "string"
  9937. },
  9938. "currencyid": {
  9939. "description": "报价货币ID",
  9940. "type": "integer"
  9941. },
  9942. "decimalplace": {
  9943. "description": "报价小数位",
  9944. "type": "integer"
  9945. },
  9946. "endtime": {
  9947. "description": "预售结束时间",
  9948. "type": "string"
  9949. },
  9950. "floorprice": {
  9951. "description": "底价[大宗式竞拍]",
  9952. "type": "number"
  9953. },
  9954. "goodscode": {
  9955. "description": "商品代码(预售)",
  9956. "type": "string"
  9957. },
  9958. "goodsdetail": {
  9959. "description": "详情[大宗]",
  9960. "type": "string"
  9961. },
  9962. "goodsid": {
  9963. "description": "商品ID(自增ID SEQ_GOODS)",
  9964. "type": "integer"
  9965. },
  9966. "goodsname": {
  9967. "description": "商品名称(预售)",
  9968. "type": "string"
  9969. },
  9970. "goodunit": {
  9971. "description": "报价单位",
  9972. "type": "string"
  9973. },
  9974. "goodunitid": {
  9975. "description": "报价单位ID",
  9976. "type": "integer"
  9977. },
  9978. "marketid": {
  9979. "description": "所属市场ID",
  9980. "type": "integer"
  9981. },
  9982. "marketname": {
  9983. "description": "预售市场名称",
  9984. "type": "string"
  9985. },
  9986. "presaledamount": {
  9987. "description": "已预售总金额(预售结束时更新)",
  9988. "type": "number"
  9989. },
  9990. "presaledqty": {
  9991. "description": "已预售量(预售结束时更新)",
  9992. "type": "integer"
  9993. },
  9994. "presalemode": {
  9995. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9996. "type": "integer"
  9997. },
  9998. "presaleqty": {
  9999. "description": "预售数量",
  10000. "type": "integer"
  10001. },
  10002. "refprice": {
  10003. "description": "参考价格[一口价]",
  10004. "type": "number"
  10005. },
  10006. "relatedgoodscode": {
  10007. "description": "商品代码(订单)",
  10008. "type": "string"
  10009. },
  10010. "relatedgoodsid": {
  10011. "description": "关联交易合约ID",
  10012. "type": "integer"
  10013. },
  10014. "relatedgoodsname": {
  10015. "description": "商品名称(订单)",
  10016. "type": "string"
  10017. },
  10018. "relatedmarketid": {
  10019. "description": "关联交易合约市场ID",
  10020. "type": "integer"
  10021. },
  10022. "sellstatus": {
  10023. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10024. "type": "integer"
  10025. },
  10026. "startprice": {
  10027. "description": "起拍价[大宗式竞拍]",
  10028. "type": "number"
  10029. },
  10030. "starttime": {
  10031. "description": "预售开始时间",
  10032. "type": "string"
  10033. },
  10034. "tradedate": {
  10035. "description": "交易日(yyyyMMdd)",
  10036. "type": "string"
  10037. },
  10038. "tradeprice": {
  10039. "description": "成交价[大宗]",
  10040. "type": "number"
  10041. },
  10042. "userid": {
  10043. "description": "卖方用户ID",
  10044. "type": "integer"
  10045. }
  10046. }
  10047. },
  10048. "cptrade.QueryPresaleGoodsExRsp": {
  10049. "type": "object",
  10050. "required": [
  10051. "goodsid"
  10052. ],
  10053. "properties": {
  10054. "attachmenturl": {
  10055. "description": "附件地址",
  10056. "type": "string"
  10057. },
  10058. "createtime": {
  10059. "description": "创建时间",
  10060. "type": "string"
  10061. },
  10062. "endtime": {
  10063. "description": "预售结束时间",
  10064. "type": "string"
  10065. },
  10066. "floorprice": {
  10067. "description": "底价[大宗式竞拍]",
  10068. "type": "number"
  10069. },
  10070. "goodsdetail": {
  10071. "description": "详情[大宗]",
  10072. "type": "string"
  10073. },
  10074. "goodsid": {
  10075. "description": "商品ID(预售)",
  10076. "type": "integer"
  10077. },
  10078. "goodunit": {
  10079. "description": "报价单位",
  10080. "type": "string"
  10081. },
  10082. "marketid": {
  10083. "description": "预售市场ID - 根据预售模式选择市场",
  10084. "type": "integer"
  10085. },
  10086. "presaledamount": {
  10087. "description": "已预售总金额(预售结束时更新)",
  10088. "type": "number"
  10089. },
  10090. "presaledqty": {
  10091. "description": "已预售量(预售结束时更新)",
  10092. "type": "integer"
  10093. },
  10094. "presalemode": {
  10095. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10096. "type": "integer"
  10097. },
  10098. "presaleqty": {
  10099. "description": "预售数量",
  10100. "type": "integer"
  10101. },
  10102. "refprice": {
  10103. "description": "参考价格[一口价]",
  10104. "type": "number"
  10105. },
  10106. "relatedgoodsid": {
  10107. "description": "关联交易合约ID",
  10108. "type": "integer"
  10109. },
  10110. "relatedmarketid": {
  10111. "description": "关联交易合约市场ID",
  10112. "type": "integer"
  10113. },
  10114. "sellstatus": {
  10115. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10116. "type": "integer"
  10117. },
  10118. "startprice": {
  10119. "description": "起拍价[大宗式竞拍]",
  10120. "type": "number"
  10121. },
  10122. "starttime": {
  10123. "description": "预售开始时间",
  10124. "type": "string"
  10125. },
  10126. "tradedate": {
  10127. "description": "交易日(yyyyMMdd)",
  10128. "type": "string"
  10129. },
  10130. "tradeprice": {
  10131. "description": "成交价[大宗]",
  10132. "type": "number"
  10133. }
  10134. }
  10135. },
  10136. "delivery.QueryDeliveryRelationRsp": {
  10137. "type": "object",
  10138. "required": [
  10139. "begindate",
  10140. "enddate",
  10141. "goodsid",
  10142. "mindeliveryqty",
  10143. "xdeliveryratio"
  10144. ],
  10145. "properties": {
  10146. "begindate": {
  10147. "description": "起始日期(yyyyMMdd)",
  10148. "type": "string"
  10149. },
  10150. "buytemplateid": {
  10151. "description": "买履约计划模板ID",
  10152. "type": "integer"
  10153. },
  10154. "deliverygoodscode": {
  10155. "description": "品种代码",
  10156. "type": "string"
  10157. },
  10158. "deliverygoodsid": {
  10159. "description": "交割商品",
  10160. "type": "integer"
  10161. },
  10162. "deliverygoodsname": {
  10163. "description": "品种名称",
  10164. "type": "string"
  10165. },
  10166. "deliverymode": {
  10167. "description": "交割方式 - 1:点选式 2:申报式",
  10168. "type": "integer"
  10169. },
  10170. "deliverypricerule": {
  10171. "description": "交割价规则- 1:行情价 2:建仓价",
  10172. "type": "integer"
  10173. },
  10174. "deliverytype": {
  10175. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10176. "type": "integer"
  10177. },
  10178. "enddate": {
  10179. "description": "结束日期(yyyyMMdd)",
  10180. "type": "string"
  10181. },
  10182. "goodscode": {
  10183. "description": "商品代码",
  10184. "type": "string"
  10185. },
  10186. "goodsid": {
  10187. "description": "交易合约ID",
  10188. "type": "integer"
  10189. },
  10190. "goodsname": {
  10191. "description": "商品名称",
  10192. "type": "string"
  10193. },
  10194. "marketid": {
  10195. "description": "市场ID",
  10196. "type": "integer"
  10197. },
  10198. "mindeliveryqty": {
  10199. "description": "最小交割系数(K)",
  10200. "type": "integer"
  10201. },
  10202. "p2deliveryprice": {
  10203. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10204. "type": "number"
  10205. },
  10206. "p2deliveryratio": {
  10207. "description": "P2合约系数(p)",
  10208. "type": "integer"
  10209. },
  10210. "p2goodsid": {
  10211. "description": "P2合约ID",
  10212. "type": "integer"
  10213. },
  10214. "p2pricemode": {
  10215. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10216. "type": "integer"
  10217. },
  10218. "pdeliveryprice": {
  10219. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10220. "type": "number"
  10221. },
  10222. "pdeliveryratio": {
  10223. "description": "P合约系数(n)",
  10224. "type": "integer"
  10225. },
  10226. "pgoodsid": {
  10227. "description": "P合约ID",
  10228. "type": "integer"
  10229. },
  10230. "ppricemode": {
  10231. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10232. "type": "integer"
  10233. },
  10234. "rratio": {
  10235. "description": "兑换系数(R)",
  10236. "type": "integer"
  10237. },
  10238. "rratio1": {
  10239. "description": "兑换系数(交易合约)(R1)",
  10240. "type": "integer"
  10241. },
  10242. "rratio2": {
  10243. "description": "兑换系数(仓单标准)(R2)",
  10244. "type": "integer"
  10245. },
  10246. "selltemplateid": {
  10247. "description": "卖履约计划模板ID",
  10248. "type": "integer"
  10249. },
  10250. "wrstandardid": {
  10251. "description": "仓单标准ID",
  10252. "type": "integer"
  10253. },
  10254. "xdeliveryratio": {
  10255. "description": "交易合约系数(m)",
  10256. "type": "integer"
  10257. }
  10258. }
  10259. },
  10260. "ermcp.ExposureDetailRsp": {
  10261. "type": "object",
  10262. "properties": {
  10263. "areauserid": {
  10264. "description": "机构ID",
  10265. "type": "integer"
  10266. },
  10267. "changeQty": {
  10268. "description": "套保变动量",
  10269. "type": "number"
  10270. },
  10271. "contracttype": {
  10272. "description": "现货合同类型 - 1:采购 -1:销售",
  10273. "type": "integer"
  10274. },
  10275. "convertfactor": {
  10276. "description": "标仓系数",
  10277. "type": "number"
  10278. },
  10279. "convertratio": {
  10280. "description": "套保系数",
  10281. "type": "number"
  10282. },
  10283. "createtime": {
  10284. "description": "时间",
  10285. "type": "string"
  10286. },
  10287. "enumdicname": {
  10288. "description": "现货商品单位名称",
  10289. "type": "string"
  10290. },
  10291. "logtype": {
  10292. "description": "类型 - 1:套保计划 2:现货合同",
  10293. "type": "integer"
  10294. },
  10295. "middlegoodsId": {
  10296. "description": "套保商品id",
  10297. "type": "integer"
  10298. },
  10299. "middlegoodscode": {
  10300. "description": "套保商品代码",
  10301. "type": "string"
  10302. },
  10303. "middlegoodsname": {
  10304. "description": "套保商品名称",
  10305. "type": "string"
  10306. },
  10307. "qty": {
  10308. "description": "数量",
  10309. "type": "number"
  10310. },
  10311. "relateNo": {
  10312. "description": "现货合同/套保计划编号",
  10313. "type": "string"
  10314. },
  10315. "wrstandardcode": {
  10316. "description": "现货商品代码",
  10317. "type": "string"
  10318. },
  10319. "wrstandardid": {
  10320. "description": "现货商品ID",
  10321. "type": "integer"
  10322. },
  10323. "wrstandardname": {
  10324. "description": "现货商品名称",
  10325. "type": "string"
  10326. }
  10327. }
  10328. },
  10329. "ermcp.ExposureHedgePosDetailRsp": {
  10330. "type": "object",
  10331. "properties": {
  10332. "buyorsell": {
  10333. "description": "买卖方向 0-买 1-卖",
  10334. "type": "integer"
  10335. },
  10336. "channelbuildtype": {
  10337. "description": "开平方向 1-建仓 2-平仓",
  10338. "type": "integer"
  10339. },
  10340. "goodscode": {
  10341. "description": "商品代码",
  10342. "type": "string"
  10343. },
  10344. "goodsname": {
  10345. "description": "商品名称",
  10346. "type": "string"
  10347. },
  10348. "hedgegoodsid": {
  10349. "description": "商品id",
  10350. "type": "integer"
  10351. },
  10352. "tradeqty": {
  10353. "description": "数量(成交数量)",
  10354. "type": "integer"
  10355. },
  10356. "tradetime": {
  10357. "description": "时间(成交时间)",
  10358. "type": "string"
  10359. }
  10360. }
  10361. },
  10362. "ermcp.ExposureHedgePositionRsp": {
  10363. "type": "object",
  10364. "properties": {
  10365. "accountid": {
  10366. "description": "资金账号[外部母账户]",
  10367. "type": "integer"
  10368. },
  10369. "curbuyposition": {
  10370. "description": "期末买头寸",
  10371. "type": "integer"
  10372. },
  10373. "cursellposition": {
  10374. "description": "期末卖头寸",
  10375. "type": "integer"
  10376. },
  10377. "curtdbuyposition": {
  10378. "description": "期末今日买头寸",
  10379. "type": "integer"
  10380. },
  10381. "curtdsellposition": {
  10382. "description": "期末今日卖头寸",
  10383. "type": "integer"
  10384. },
  10385. "curydbuyposition": {
  10386. "description": "期末上日买头寸",
  10387. "type": "integer"
  10388. },
  10389. "curydsellposition": {
  10390. "description": "期末上日卖头寸",
  10391. "type": "integer"
  10392. },
  10393. "decreaseqty": {
  10394. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  10395. "type": "integer"
  10396. },
  10397. "fretdbuyposition": {
  10398. "description": "冻结今日买头寸",
  10399. "type": "integer"
  10400. },
  10401. "fretdsellposition": {
  10402. "description": "冻结今日卖头寸",
  10403. "type": "integer"
  10404. },
  10405. "freydbuyposition": {
  10406. "description": "冻结上日买头寸",
  10407. "type": "integer"
  10408. },
  10409. "freydsellposition": {
  10410. "description": "冻结上日卖头寸",
  10411. "type": "integer"
  10412. },
  10413. "goodscode": {
  10414. "description": "商品代码",
  10415. "type": "string"
  10416. },
  10417. "goodsid": {
  10418. "description": "商品id",
  10419. "type": "integer"
  10420. },
  10421. "goodsname": {
  10422. "description": "商品名称",
  10423. "type": "string"
  10424. },
  10425. "hedgeaccountcode": {
  10426. "description": "对冲账号",
  10427. "type": "string"
  10428. },
  10429. "hedgegoodsid": {
  10430. "description": "对冲合约ID",
  10431. "type": "integer"
  10432. },
  10433. "increaseqty": {
  10434. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  10435. "type": "integer"
  10436. },
  10437. "marketid": {
  10438. "description": "市场ID",
  10439. "type": "integer"
  10440. },
  10441. "relateduserid": {
  10442. "description": "关联用户id",
  10443. "type": "integer"
  10444. },
  10445. "totalcurqty": {
  10446. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  10447. "type": "integer"
  10448. },
  10449. "totalydqty": {
  10450. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10451. "type": "integer"
  10452. },
  10453. "tradedate": {
  10454. "description": "交易日(yyyyMMdd)",
  10455. "type": "string"
  10456. },
  10457. "ydbuyposition": {
  10458. "description": "期初买头寸",
  10459. "type": "integer"
  10460. },
  10461. "ydsellposition": {
  10462. "description": "期初卖头寸",
  10463. "type": "integer"
  10464. }
  10465. }
  10466. },
  10467. "ermcp.ExposureSpotDetailRsp": {
  10468. "type": "object",
  10469. "properties": {
  10470. "contracttype": {
  10471. "description": "合同类型 1-采购 -1-销售",
  10472. "type": "integer"
  10473. },
  10474. "createtime": {
  10475. "description": "创建时间",
  10476. "type": "string"
  10477. },
  10478. "enumdicname": {
  10479. "description": "现货商品单位名称",
  10480. "type": "string"
  10481. },
  10482. "logtype": {
  10483. "description": "记录类型 1-套保 2-现货合同",
  10484. "type": "integer"
  10485. },
  10486. "qty": {
  10487. "description": "数量",
  10488. "type": "number"
  10489. },
  10490. "recordname": {
  10491. "description": "类型名称",
  10492. "type": "string"
  10493. },
  10494. "relatedid": {
  10495. "description": "套保计划ID/现货合同ID",
  10496. "type": "string"
  10497. },
  10498. "relatedno": {
  10499. "description": "编号",
  10500. "type": "string"
  10501. },
  10502. "strtime": {
  10503. "description": "时间",
  10504. "type": "string"
  10505. },
  10506. "wrstandardcode": {
  10507. "description": "现货商品代码",
  10508. "type": "string"
  10509. },
  10510. "wrstandardname": {
  10511. "description": "现货商品名称",
  10512. "type": "string"
  10513. }
  10514. }
  10515. },
  10516. "ermcp.ExposureSpotRsp": {
  10517. "type": "object",
  10518. "properties": {
  10519. "areauserid": {
  10520. "description": "所属机构",
  10521. "type": "integer"
  10522. },
  10523. "decreaseqty": {
  10524. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10525. "type": "number"
  10526. },
  10527. "increaseqty": {
  10528. "description": "增加数量=销售计划数量+采购已定价数量",
  10529. "type": "number"
  10530. },
  10531. "oritoalspotqty": {
  10532. "description": "昨日数量",
  10533. "type": "number"
  10534. },
  10535. "totalspotqty": {
  10536. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10537. "type": "number"
  10538. },
  10539. "updatetime": {
  10540. "description": "更新时间",
  10541. "type": "string"
  10542. },
  10543. "wrstandardcode": {
  10544. "description": "现货品种代码",
  10545. "type": "string"
  10546. },
  10547. "wrstandardid": {
  10548. "description": "现货商品ID",
  10549. "type": "integer"
  10550. },
  10551. "wrstandardname": {
  10552. "description": "现货品种",
  10553. "type": "string"
  10554. }
  10555. }
  10556. },
  10557. "ermcp.HisExposureRsp": {
  10558. "type": "object",
  10559. "properties": {
  10560. "data": {
  10561. "description": "历史敞口",
  10562. "type": "array",
  10563. "items": {
  10564. "$ref": "#/definitions/models.ErmcpHisExposure"
  10565. }
  10566. },
  10567. "enumdicname": {
  10568. "description": "单位名称",
  10569. "type": "string"
  10570. },
  10571. "middlegoodscode": {
  10572. "description": "套保品种代码",
  10573. "type": "string"
  10574. },
  10575. "middlegoodsid": {
  10576. "description": "套保品种ID",
  10577. "type": "integer"
  10578. },
  10579. "middlegoodsname": {
  10580. "description": "套保品种名称",
  10581. "type": "string"
  10582. }
  10583. }
  10584. },
  10585. "ermcp.PendingAuditCntRsp": {
  10586. "type": "object",
  10587. "properties": {
  10588. "areastockqty": {
  10589. "description": "待审核数量: 库存申请",
  10590. "type": "integer"
  10591. },
  10592. "businessdjqty": {
  10593. "description": "待审核数量: 点价",
  10594. "type": "integer"
  10595. },
  10596. "businessfpqty": {
  10597. "description": "待审核数量: 发票",
  10598. "type": "integer"
  10599. },
  10600. "businessjsqty": {
  10601. "description": "待审核数量: 结算",
  10602. "type": "integer"
  10603. },
  10604. "businesskxqty": {
  10605. "description": "待审核数量: 款项",
  10606. "type": "integer"
  10607. },
  10608. "hedgeplanqty": {
  10609. "description": "待审核数量: 套保计划",
  10610. "type": "integer"
  10611. },
  10612. "spotcontractqty": {
  10613. "description": "待审核数量: 现货合同",
  10614. "type": "integer"
  10615. },
  10616. "userqty": {
  10617. "description": "待审核数量: 用户",
  10618. "type": "integer"
  10619. }
  10620. }
  10621. },
  10622. "ermcp.QryAreaStockApplyRsp": {
  10623. "type": "object",
  10624. "properties": {
  10625. "applyid": {
  10626. "description": "申请人",
  10627. "type": "integer"
  10628. },
  10629. "applyname": {
  10630. "description": "申请人名称",
  10631. "type": "string"
  10632. },
  10633. "applyremark": {
  10634. "description": "申请备注",
  10635. "type": "string"
  10636. },
  10637. "applysrc": {
  10638. "description": "申请来源 - 1:管理端 2:终端",
  10639. "type": "integer"
  10640. },
  10641. "applystatus": {
  10642. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10643. "type": "integer"
  10644. },
  10645. "applytime": {
  10646. "description": "申请时间",
  10647. "type": "string"
  10648. },
  10649. "auditid": {
  10650. "description": "审核人",
  10651. "type": "integer"
  10652. },
  10653. "auditname": {
  10654. "description": "审核人名称",
  10655. "type": "string"
  10656. },
  10657. "auditremark": {
  10658. "description": "审核备注",
  10659. "type": "string"
  10660. },
  10661. "auditsrc": {
  10662. "description": "审核来源 - 1:管理端 2:终端",
  10663. "type": "integer"
  10664. },
  10665. "audittime": {
  10666. "description": "审核时间",
  10667. "type": "string"
  10668. },
  10669. "audittradedate": {
  10670. "description": "审核交易日(yyyyMMdd)",
  10671. "type": "string"
  10672. },
  10673. "brandname": {
  10674. "description": "品牌名称",
  10675. "type": "string"
  10676. },
  10677. "buyuserid": {
  10678. "description": "采购方userid",
  10679. "type": "integer"
  10680. },
  10681. "buyusername": {
  10682. "description": "采购方名称",
  10683. "type": "string"
  10684. },
  10685. "contractno": {
  10686. "description": "合同编号",
  10687. "type": "string"
  10688. },
  10689. "contractqty": {
  10690. "description": "合同量",
  10691. "type": "number"
  10692. },
  10693. "contracttype": {
  10694. "description": "现货合同类型 - 1:采购 -1:销售",
  10695. "type": "integer"
  10696. },
  10697. "deliverygoodsid": {
  10698. "description": "现货品种ID",
  10699. "type": "integer"
  10700. },
  10701. "enumdicname": {
  10702. "description": "现货商品单位名称",
  10703. "type": "string"
  10704. },
  10705. "inoutapplyid": {
  10706. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  10707. "type": "string"
  10708. },
  10709. "inouttype": {
  10710. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10711. "type": "integer"
  10712. },
  10713. "modelname": {
  10714. "description": "型号名称",
  10715. "type": "string"
  10716. },
  10717. "pricetype": {
  10718. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10719. "type": "integer"
  10720. },
  10721. "qty": {
  10722. "description": "数量",
  10723. "type": "number"
  10724. },
  10725. "selluserid": {
  10726. "description": "销售方userid",
  10727. "type": "integer"
  10728. },
  10729. "sellusername": {
  10730. "description": "销售方名称",
  10731. "type": "string"
  10732. },
  10733. "spotcontractid": {
  10734. "description": "关联现货合同ID",
  10735. "type": "string"
  10736. },
  10737. "spotgoodsbrandid": {
  10738. "description": "现货品牌ID",
  10739. "type": "integer"
  10740. },
  10741. "spotgoodsmodelid": {
  10742. "description": "现货型号ID",
  10743. "type": "integer"
  10744. },
  10745. "unitid": {
  10746. "description": "单位id",
  10747. "type": "integer"
  10748. },
  10749. "userid": {
  10750. "description": "机构ID",
  10751. "type": "integer"
  10752. },
  10753. "warehousecode": {
  10754. "description": "仓库代码",
  10755. "type": "string"
  10756. },
  10757. "warehouseinfoid": {
  10758. "description": "现货仓库ID",
  10759. "type": "string"
  10760. },
  10761. "warehousename": {
  10762. "description": "仓库名称",
  10763. "type": "string"
  10764. },
  10765. "warehousetype": {
  10766. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10767. "type": "integer"
  10768. },
  10769. "wrstandardcode": {
  10770. "description": "现货商品代码",
  10771. "type": "string"
  10772. },
  10773. "wrstandardid": {
  10774. "description": "现货商品ID",
  10775. "type": "string"
  10776. },
  10777. "wrstandardname": {
  10778. "description": "现货商品名称",
  10779. "type": "string"
  10780. }
  10781. }
  10782. },
  10783. "ermcp.QryAvalidGPRsp": {
  10784. "type": "object",
  10785. "properties": {
  10786. "goodsgroupid": {
  10787. "description": "期货品种id",
  10788. "type": "integer"
  10789. },
  10790. "goodsgroupname": {
  10791. "description": "期货品种名称",
  10792. "type": "string"
  10793. },
  10794. "goodunitid": {
  10795. "description": "品种单位id",
  10796. "type": "integer"
  10797. },
  10798. "goodunitname": {
  10799. "description": "品种单位名称",
  10800. "type": "string"
  10801. },
  10802. "outergroupcode": {
  10803. "description": "期货品种代码",
  10804. "type": "string"
  10805. }
  10806. }
  10807. },
  10808. "ermcp.QryBusinessDjRsp": {
  10809. "type": "object",
  10810. "properties": {
  10811. "amount": {
  10812. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10813. "type": "number"
  10814. },
  10815. "applyid": {
  10816. "description": "申请人",
  10817. "type": "string"
  10818. },
  10819. "applyname": {
  10820. "description": "申请人名称",
  10821. "type": "string"
  10822. },
  10823. "applystatus": {
  10824. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10825. "type": "integer"
  10826. },
  10827. "applytime": {
  10828. "description": "申请时间",
  10829. "type": "string"
  10830. },
  10831. "attachurl": {
  10832. "description": "附件",
  10833. "type": "string"
  10834. },
  10835. "auditid": {
  10836. "description": "审核人ID",
  10837. "type": "string"
  10838. },
  10839. "auditname": {
  10840. "description": "审核人名称",
  10841. "type": "string"
  10842. },
  10843. "audittime": {
  10844. "description": "审核时间",
  10845. "type": "string"
  10846. },
  10847. "buyusername": {
  10848. "description": "采购方名称",
  10849. "type": "string"
  10850. },
  10851. "contractno": {
  10852. "description": "合同编号",
  10853. "type": "string"
  10854. },
  10855. "contractstatus": {
  10856. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10857. "type": "integer"
  10858. },
  10859. "contracttype": {
  10860. "description": "现货合同类型 - 1:采购 -1:销售",
  10861. "type": "integer"
  10862. },
  10863. "deliverygoodscode": {
  10864. "description": "现货品种代码",
  10865. "type": "string"
  10866. },
  10867. "deliverygoodsid": {
  10868. "description": "现货商品ID",
  10869. "type": "integer"
  10870. },
  10871. "deliverygoodsname": {
  10872. "description": "现货品种名称",
  10873. "type": "string"
  10874. },
  10875. "enumdicname": {
  10876. "description": "单位名称",
  10877. "type": "string"
  10878. },
  10879. "goodscode": {
  10880. "description": "点价合约",
  10881. "type": "string"
  10882. },
  10883. "goodsname": {
  10884. "description": "商品名称",
  10885. "type": "string"
  10886. },
  10887. "operateapplyid": {
  10888. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10889. "type": "string"
  10890. },
  10891. "operateapplytype": {
  10892. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10893. "type": "integer"
  10894. },
  10895. "pricedPrice": {
  10896. "description": "点价价格(非必填)",
  10897. "type": "number"
  10898. },
  10899. "pricedQty": {
  10900. "description": "点价数量(非必填)",
  10901. "type": "number"
  10902. },
  10903. "pricemove": {
  10904. "description": "升贴水",
  10905. "type": "number"
  10906. },
  10907. "pricetype": {
  10908. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10909. "type": "integer"
  10910. },
  10911. "relatedid": {
  10912. "description": "现货合同ID",
  10913. "type": "string"
  10914. },
  10915. "sellusername": {
  10916. "description": "销售方名字",
  10917. "type": "string"
  10918. },
  10919. "userid": {
  10920. "description": "用户ID",
  10921. "type": "integer"
  10922. },
  10923. "wrstandardcode": {
  10924. "description": "品类代码",
  10925. "type": "string"
  10926. },
  10927. "wrstandardid": {
  10928. "description": "品类id",
  10929. "type": "integer"
  10930. },
  10931. "wrstandardname": {
  10932. "description": "品类名称",
  10933. "type": "string"
  10934. }
  10935. }
  10936. },
  10937. "ermcp.QryBussinessFpRsp": {
  10938. "type": "object",
  10939. "properties": {
  10940. "applyid": {
  10941. "description": "申请人",
  10942. "type": "string"
  10943. },
  10944. "applyname": {
  10945. "description": "申请人名称",
  10946. "type": "string"
  10947. },
  10948. "applystatus": {
  10949. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10950. "type": "integer"
  10951. },
  10952. "applytime": {
  10953. "description": "申请时间",
  10954. "type": "string"
  10955. },
  10956. "attachurl": {
  10957. "description": "附件",
  10958. "type": "string"
  10959. },
  10960. "auditid": {
  10961. "description": "审核人ID",
  10962. "type": "string"
  10963. },
  10964. "auditname": {
  10965. "description": "审核人名称",
  10966. "type": "string"
  10967. },
  10968. "audittime": {
  10969. "description": "审核时间",
  10970. "type": "string"
  10971. },
  10972. "buyusername": {
  10973. "description": "采购方名称",
  10974. "type": "string"
  10975. },
  10976. "contractno": {
  10977. "description": "合同编号",
  10978. "type": "string"
  10979. },
  10980. "contractstatus": {
  10981. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10982. "type": "integer"
  10983. },
  10984. "contracttype": {
  10985. "description": "现货合同类型 - 1:采购 -1:销售",
  10986. "type": "integer"
  10987. },
  10988. "deliverygoodscode": {
  10989. "description": "现货品种代码",
  10990. "type": "string"
  10991. },
  10992. "deliverygoodsid": {
  10993. "description": "现货商品ID",
  10994. "type": "integer"
  10995. },
  10996. "deliverygoodsname": {
  10997. "description": "现货品种名称",
  10998. "type": "string"
  10999. },
  11000. "enumdicname": {
  11001. "description": "单位名称",
  11002. "type": "string"
  11003. },
  11004. "goodscode": {
  11005. "description": "点价合约",
  11006. "type": "string"
  11007. },
  11008. "goodsname": {
  11009. "description": "商品名称",
  11010. "type": "string"
  11011. },
  11012. "invoiceAmount": {
  11013. "description": "已开收票金额(销售为开票,采购为收票)",
  11014. "type": "number"
  11015. },
  11016. "operateapplyid": {
  11017. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11018. "type": "string"
  11019. },
  11020. "operateapplytype": {
  11021. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11022. "type": "integer"
  11023. },
  11024. "pricemove": {
  11025. "description": "升贴水",
  11026. "type": "number"
  11027. },
  11028. "pricetype": {
  11029. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11030. "type": "integer"
  11031. },
  11032. "relatedid": {
  11033. "description": "现货合同ID",
  11034. "type": "string"
  11035. },
  11036. "sellusername": {
  11037. "description": "销售方名字",
  11038. "type": "string"
  11039. },
  11040. "userid": {
  11041. "description": "用户ID",
  11042. "type": "integer"
  11043. },
  11044. "wrstandardcode": {
  11045. "description": "品类代码",
  11046. "type": "string"
  11047. },
  11048. "wrstandardid": {
  11049. "description": "品类id",
  11050. "type": "integer"
  11051. },
  11052. "wrstandardname": {
  11053. "description": "品类名称",
  11054. "type": "string"
  11055. }
  11056. }
  11057. },
  11058. "ermcp.QryBussinessJsExRsp": {
  11059. "type": "object",
  11060. "properties": {
  11061. "applyid": {
  11062. "description": "申请人",
  11063. "type": "string"
  11064. },
  11065. "applyname": {
  11066. "description": "申请人名称",
  11067. "type": "string"
  11068. },
  11069. "applystatus": {
  11070. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11071. "type": "integer"
  11072. },
  11073. "applytime": {
  11074. "description": "申请时间",
  11075. "type": "string"
  11076. },
  11077. "attachurl": {
  11078. "description": "附件",
  11079. "type": "string"
  11080. },
  11081. "auditid": {
  11082. "description": "审核人ID",
  11083. "type": "string"
  11084. },
  11085. "auditname": {
  11086. "description": "审核人名称",
  11087. "type": "string"
  11088. },
  11089. "audittime": {
  11090. "description": "审核时间",
  11091. "type": "string"
  11092. },
  11093. "buyusername": {
  11094. "description": "采购方名称",
  11095. "type": "string"
  11096. },
  11097. "contractno": {
  11098. "description": "合同编号",
  11099. "type": "string"
  11100. },
  11101. "contractstatus": {
  11102. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11103. "type": "integer"
  11104. },
  11105. "contracttype": {
  11106. "description": "现货合同类型 - 1:采购 -1:销售",
  11107. "type": "integer"
  11108. },
  11109. "deliverygoodscode": {
  11110. "description": "现货品种代码",
  11111. "type": "string"
  11112. },
  11113. "deliverygoodsid": {
  11114. "description": "现货商品ID",
  11115. "type": "integer"
  11116. },
  11117. "deliverygoodsname": {
  11118. "description": "现货品种名称",
  11119. "type": "string"
  11120. },
  11121. "enumdicname": {
  11122. "description": "单位名称",
  11123. "type": "string"
  11124. },
  11125. "goodscode": {
  11126. "description": "点价合约",
  11127. "type": "string"
  11128. },
  11129. "goodsname": {
  11130. "description": "商品名称",
  11131. "type": "string"
  11132. },
  11133. "operateapplyid": {
  11134. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11135. "type": "string"
  11136. },
  11137. "operateapplytype": {
  11138. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11139. "type": "integer"
  11140. },
  11141. "pricemove": {
  11142. "description": "升贴水",
  11143. "type": "number"
  11144. },
  11145. "pricetype": {
  11146. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11147. "type": "integer"
  11148. },
  11149. "reckontype": {
  11150. "description": "结算类型",
  11151. "type": "string"
  11152. },
  11153. "reckonvalue": {
  11154. "description": "值",
  11155. "type": "number"
  11156. },
  11157. "relatedid": {
  11158. "description": "现货合同ID",
  11159. "type": "string"
  11160. },
  11161. "sellusername": {
  11162. "description": "销售方名字",
  11163. "type": "string"
  11164. },
  11165. "userid": {
  11166. "description": "用户ID",
  11167. "type": "integer"
  11168. },
  11169. "wrstandardcode": {
  11170. "description": "品类代码",
  11171. "type": "string"
  11172. },
  11173. "wrstandardid": {
  11174. "description": "品类id",
  11175. "type": "integer"
  11176. },
  11177. "wrstandardname": {
  11178. "description": "品类名称",
  11179. "type": "string"
  11180. }
  11181. }
  11182. },
  11183. "ermcp.QryBussinessJsRsp": {
  11184. "type": "object",
  11185. "properties": {
  11186. "addmargin": {
  11187. "description": "追加保证金(非必填)",
  11188. "type": "number"
  11189. },
  11190. "applyid": {
  11191. "description": "申请人",
  11192. "type": "string"
  11193. },
  11194. "applyname": {
  11195. "description": "申请人名称",
  11196. "type": "string"
  11197. },
  11198. "applystatus": {
  11199. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11200. "type": "integer"
  11201. },
  11202. "applytime": {
  11203. "description": "申请时间",
  11204. "type": "string"
  11205. },
  11206. "attachurl": {
  11207. "description": "附件",
  11208. "type": "string"
  11209. },
  11210. "auditid": {
  11211. "description": "审核人ID",
  11212. "type": "string"
  11213. },
  11214. "auditname": {
  11215. "description": "审核人名称",
  11216. "type": "string"
  11217. },
  11218. "audittime": {
  11219. "description": "审核时间",
  11220. "type": "string"
  11221. },
  11222. "buyusername": {
  11223. "description": "采购方名称",
  11224. "type": "string"
  11225. },
  11226. "contractno": {
  11227. "description": "合同编号",
  11228. "type": "string"
  11229. },
  11230. "contractstatus": {
  11231. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11232. "type": "integer"
  11233. },
  11234. "contracttype": {
  11235. "description": "现货合同类型 - 1:采购 -1:销售",
  11236. "type": "integer"
  11237. },
  11238. "decmargin": {
  11239. "description": "减少保证金(非必填)",
  11240. "type": "number"
  11241. },
  11242. "deliverygoodscode": {
  11243. "description": "现货品种代码",
  11244. "type": "string"
  11245. },
  11246. "deliverygoodsid": {
  11247. "description": "现货商品ID",
  11248. "type": "integer"
  11249. },
  11250. "deliverygoodsname": {
  11251. "description": "现货品种名称",
  11252. "type": "string"
  11253. },
  11254. "enumdicname": {
  11255. "description": "单位名称",
  11256. "type": "string"
  11257. },
  11258. "goodscode": {
  11259. "description": "点价合约",
  11260. "type": "string"
  11261. },
  11262. "goodsname": {
  11263. "description": "商品名称",
  11264. "type": "string"
  11265. },
  11266. "operateapplyid": {
  11267. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11268. "type": "string"
  11269. },
  11270. "operateapplytype": {
  11271. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11272. "type": "integer"
  11273. },
  11274. "pricemove": {
  11275. "description": "升贴水",
  11276. "type": "number"
  11277. },
  11278. "pricetype": {
  11279. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11280. "type": "integer"
  11281. },
  11282. "reckonadjustamount": {
  11283. "description": "结算调整金额(非必填)",
  11284. "type": "number"
  11285. },
  11286. "reckonosamount": {
  11287. "description": "结算溢短金额(非必填)",
  11288. "type": "number"
  11289. },
  11290. "reckonotheramount": {
  11291. "description": "结算其他费用(非必填)",
  11292. "type": "number"
  11293. },
  11294. "reckonrealqty": {
  11295. "description": "结算实际数量(非必填)",
  11296. "type": "number"
  11297. },
  11298. "relatedid": {
  11299. "description": "现货合同ID",
  11300. "type": "string"
  11301. },
  11302. "sellusername": {
  11303. "description": "销售方名字",
  11304. "type": "string"
  11305. },
  11306. "userid": {
  11307. "description": "用户ID",
  11308. "type": "integer"
  11309. },
  11310. "wrstandardcode": {
  11311. "description": "品类代码",
  11312. "type": "string"
  11313. },
  11314. "wrstandardid": {
  11315. "description": "品类id",
  11316. "type": "integer"
  11317. },
  11318. "wrstandardname": {
  11319. "description": "品类名称",
  11320. "type": "string"
  11321. }
  11322. }
  11323. },
  11324. "ermcp.QryBussinessKxRsp": {
  11325. "type": "object",
  11326. "properties": {
  11327. "applyid": {
  11328. "description": "申请人",
  11329. "type": "string"
  11330. },
  11331. "applyname": {
  11332. "description": "申请人名称",
  11333. "type": "string"
  11334. },
  11335. "applystatus": {
  11336. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11337. "type": "integer"
  11338. },
  11339. "applytime": {
  11340. "description": "申请时间",
  11341. "type": "string"
  11342. },
  11343. "attachurl": {
  11344. "description": "附件",
  11345. "type": "string"
  11346. },
  11347. "auditid": {
  11348. "description": "审核人ID",
  11349. "type": "string"
  11350. },
  11351. "auditname": {
  11352. "description": "审核人名称",
  11353. "type": "string"
  11354. },
  11355. "audittime": {
  11356. "description": "审核时间",
  11357. "type": "string"
  11358. },
  11359. "buyusername": {
  11360. "description": "采购方名称",
  11361. "type": "string"
  11362. },
  11363. "contractno": {
  11364. "description": "合同编号",
  11365. "type": "string"
  11366. },
  11367. "contractstatus": {
  11368. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11369. "type": "integer"
  11370. },
  11371. "contracttype": {
  11372. "description": "现货合同类型 - 1:采购 -1:销售",
  11373. "type": "integer"
  11374. },
  11375. "deductamount": {
  11376. "description": "退款(非必填)",
  11377. "type": "number"
  11378. },
  11379. "deliverygoodscode": {
  11380. "description": "现货品种代码",
  11381. "type": "string"
  11382. },
  11383. "deliverygoodsid": {
  11384. "description": "现货商品ID",
  11385. "type": "integer"
  11386. },
  11387. "deliverygoodsname": {
  11388. "description": "现货品种名称",
  11389. "type": "string"
  11390. },
  11391. "enumdicname": {
  11392. "description": "单位名称",
  11393. "type": "string"
  11394. },
  11395. "goodscode": {
  11396. "description": "点价合约",
  11397. "type": "string"
  11398. },
  11399. "goodsname": {
  11400. "description": "商品名称",
  11401. "type": "string"
  11402. },
  11403. "kxtype": {
  11404. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11405. "type": "integer"
  11406. },
  11407. "operateapplyid": {
  11408. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11409. "type": "string"
  11410. },
  11411. "operateapplytype": {
  11412. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11413. "type": "integer"
  11414. },
  11415. "payamount": {
  11416. "description": "收付款(非必填)",
  11417. "type": "number"
  11418. },
  11419. "pricemove": {
  11420. "description": "升贴水",
  11421. "type": "number"
  11422. },
  11423. "pricetype": {
  11424. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11425. "type": "integer"
  11426. },
  11427. "relatedid": {
  11428. "description": "现货合同ID",
  11429. "type": "string"
  11430. },
  11431. "sellusername": {
  11432. "description": "销售方名字",
  11433. "type": "string"
  11434. },
  11435. "userid": {
  11436. "description": "用户ID",
  11437. "type": "integer"
  11438. },
  11439. "wrstandardcode": {
  11440. "description": "品类代码",
  11441. "type": "string"
  11442. },
  11443. "wrstandardid": {
  11444. "description": "品类id",
  11445. "type": "integer"
  11446. },
  11447. "wrstandardname": {
  11448. "description": "品类名称",
  11449. "type": "string"
  11450. }
  11451. }
  11452. },
  11453. "ermcp.QryErmcpRsp": {
  11454. "type": "object",
  11455. "properties": {
  11456. "accountname": {
  11457. "description": "账户名称",
  11458. "type": "string"
  11459. },
  11460. "attachment": {
  11461. "description": "附件",
  11462. "type": "string"
  11463. },
  11464. "audittime": {
  11465. "description": "审核时间",
  11466. "type": "string"
  11467. },
  11468. "brandname": {
  11469. "description": "品牌名称",
  11470. "type": "string"
  11471. },
  11472. "contracctstatus": {
  11473. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11474. "type": "integer"
  11475. },
  11476. "contractmargin": {
  11477. "description": "合同保证金",
  11478. "type": "number"
  11479. },
  11480. "contractno": {
  11481. "description": "合同编号",
  11482. "type": "string"
  11483. },
  11484. "contracttype": {
  11485. "description": "合同类型 1-采购, -1-销售",
  11486. "type": "integer"
  11487. },
  11488. "convertfactor": {
  11489. "description": "标仓系数",
  11490. "type": "number"
  11491. },
  11492. "createtime": {
  11493. "description": "创建时间",
  11494. "type": "string"
  11495. },
  11496. "daikaiamount": {
  11497. "description": "应收(开)票额",
  11498. "type": "number"
  11499. },
  11500. "deliveryenddate": {
  11501. "description": "交割结束日",
  11502. "type": "string"
  11503. },
  11504. "deliverygoodscode": {
  11505. "description": "现货品种代码",
  11506. "type": "string"
  11507. },
  11508. "deliverygoodsid": {
  11509. "description": "现货商品ID",
  11510. "type": "integer"
  11511. },
  11512. "deliverygoodsname": {
  11513. "description": "现货品种名称",
  11514. "type": "string"
  11515. },
  11516. "deliverystartdate": {
  11517. "description": "交割开始日",
  11518. "type": "string"
  11519. },
  11520. "enddate": {
  11521. "description": "点价结束日",
  11522. "type": "string"
  11523. },
  11524. "enumdicname": {
  11525. "description": "单位名称",
  11526. "type": "string"
  11527. },
  11528. "goodscode": {
  11529. "description": "点价商品代码",
  11530. "type": "string"
  11531. },
  11532. "goodsid": {
  11533. "description": "点价商品ID",
  11534. "type": "integer"
  11535. },
  11536. "goodsname": {
  11537. "description": "点价商品名称",
  11538. "type": "string"
  11539. },
  11540. "invoiceamount": {
  11541. "description": "已开票额",
  11542. "type": "number"
  11543. },
  11544. "loanamount": {
  11545. "description": "贷款总额=已定价额+调整金额",
  11546. "type": "number"
  11547. },
  11548. "margin": {
  11549. "description": "保证金",
  11550. "type": "number"
  11551. },
  11552. "modelname": {
  11553. "description": "型号名称",
  11554. "type": "string"
  11555. },
  11556. "payamount": {
  11557. "description": "已收付额(收款或付款)",
  11558. "type": "number"
  11559. },
  11560. "preinvoiceamount": {
  11561. "description": "预收(开)票额",
  11562. "type": "number"
  11563. },
  11564. "prepayamount": {
  11565. "description": "预收付额",
  11566. "type": "number"
  11567. },
  11568. "price": {
  11569. "description": "价格",
  11570. "type": "number"
  11571. },
  11572. "pricedamount": {
  11573. "description": "已定价额",
  11574. "type": "number"
  11575. },
  11576. "pricedavg": {
  11577. "description": "已点均价",
  11578. "type": "number"
  11579. },
  11580. "pricedqty": {
  11581. "description": "已定价量",
  11582. "type": "number"
  11583. },
  11584. "pricemove": {
  11585. "description": "升贴水",
  11586. "type": "number"
  11587. },
  11588. "pricetype": {
  11589. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11590. "type": "integer"
  11591. },
  11592. "producttype": {
  11593. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11594. "type": "integer"
  11595. },
  11596. "qty": {
  11597. "description": "合同量",
  11598. "type": "number"
  11599. },
  11600. "reckonadjustamount": {
  11601. "description": "调整金额",
  11602. "type": "number"
  11603. },
  11604. "reckonedamount": {
  11605. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  11606. "type": "number"
  11607. },
  11608. "reckonotheramount": {
  11609. "description": "其它费用",
  11610. "type": "number"
  11611. },
  11612. "reckonrealqty": {
  11613. "description": "已确定量",
  11614. "type": "number"
  11615. },
  11616. "remark": {
  11617. "description": "备注",
  11618. "type": "string"
  11619. },
  11620. "spotcontractid": {
  11621. "description": "合同ID",
  11622. "type": "string"
  11623. },
  11624. "spotgoodsbrandid": {
  11625. "description": "现货品牌ID",
  11626. "type": "integer"
  11627. },
  11628. "spotgoodsdesc": {
  11629. "description": "商品型号(商品规格)",
  11630. "type": "string"
  11631. },
  11632. "spotgoodsmodelid": {
  11633. "description": "现货型号ID",
  11634. "type": "integer"
  11635. },
  11636. "startdate": {
  11637. "description": "点价开始日",
  11638. "type": "string"
  11639. },
  11640. "totalamount": {
  11641. "description": "合计总额",
  11642. "type": "number"
  11643. },
  11644. "unpayamount": {
  11645. "description": "应收付款额(应支付或应收款)",
  11646. "type": "number"
  11647. },
  11648. "unpricedqty": {
  11649. "description": "未定价量",
  11650. "type": "number"
  11651. },
  11652. "unsureqty": {
  11653. "description": "未确定量",
  11654. "type": "number"
  11655. },
  11656. "userid": {
  11657. "description": "用户ID",
  11658. "type": "integer"
  11659. },
  11660. "wrstandardcode": {
  11661. "description": "现货商品代码",
  11662. "type": "string"
  11663. },
  11664. "wrstandardid": {
  11665. "description": "现货商品ID",
  11666. "type": "integer"
  11667. },
  11668. "wrstandardname": {
  11669. "description": "现货商品名称",
  11670. "type": "string"
  11671. }
  11672. }
  11673. },
  11674. "ermcp.QryGGCovertCfgRsp": {
  11675. "type": "object",
  11676. "properties": {
  11677. "convertratio": {
  11678. "description": "折算系数",
  11679. "type": "number"
  11680. },
  11681. "destgoodsgroupid": {
  11682. "description": "目标品种ID",
  11683. "type": "integer"
  11684. },
  11685. "dstcode": {
  11686. "description": "目录品种代码",
  11687. "type": "string"
  11688. },
  11689. "dstexchangecode": {
  11690. "description": "目标期货交易所",
  11691. "type": "string"
  11692. },
  11693. "dstname": {
  11694. "description": "目标品种名称",
  11695. "type": "string"
  11696. },
  11697. "dstunitid": {
  11698. "description": "目标品种单位ID",
  11699. "type": "integer"
  11700. },
  11701. "dstunitidname": {
  11702. "description": "目标品种单位名称",
  11703. "type": "string"
  11704. },
  11705. "modifytime": {
  11706. "description": "修改时间",
  11707. "type": "string"
  11708. },
  11709. "srccode": {
  11710. "description": "源品种代码",
  11711. "type": "string"
  11712. },
  11713. "srcexchangecode": {
  11714. "description": "源期货交易所",
  11715. "type": "string"
  11716. },
  11717. "srcgoodsgroupid": {
  11718. "description": "源品种ID",
  11719. "type": "integer"
  11720. },
  11721. "srcname": {
  11722. "description": "源品种名称",
  11723. "type": "string"
  11724. },
  11725. "srcunitid": {
  11726. "description": "源品种单位ID",
  11727. "type": "integer"
  11728. },
  11729. "srcunitidname": {
  11730. "description": "源品种单位名称",
  11731. "type": "string"
  11732. }
  11733. }
  11734. },
  11735. "ermcp.QryHedgePlanRsp": {
  11736. "type": "object",
  11737. "properties": {
  11738. "areauserid": {
  11739. "description": "用户ID",
  11740. "type": "integer"
  11741. },
  11742. "audittime": {
  11743. "description": "审核时间",
  11744. "type": "string"
  11745. },
  11746. "contracttype": {
  11747. "description": "计划类型 - 1:采购 -1:销售",
  11748. "type": "integer"
  11749. },
  11750. "convertfactor": {
  11751. "description": "标仓系数",
  11752. "type": "number"
  11753. },
  11754. "createtime": {
  11755. "description": "创建时间",
  11756. "type": "string"
  11757. },
  11758. "deliverygoodsid": {
  11759. "description": "现货品种ID",
  11760. "type": "integer"
  11761. },
  11762. "deliverygoodsname": {
  11763. "description": "现货品种名称",
  11764. "type": "string"
  11765. },
  11766. "enumdicname": {
  11767. "description": "单位名称",
  11768. "type": "string"
  11769. },
  11770. "hedgeplanid": {
  11771. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11772. "type": "string"
  11773. },
  11774. "hedgeplanno": {
  11775. "description": "套保计划编号(名称)",
  11776. "type": "string"
  11777. },
  11778. "hedgeplanstatus": {
  11779. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11780. "type": "integer"
  11781. },
  11782. "planqty": {
  11783. "description": "计划数量",
  11784. "type": "number"
  11785. },
  11786. "plantime": {
  11787. "description": "计划时间",
  11788. "type": "string"
  11789. },
  11790. "producttype": {
  11791. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11792. "type": "integer"
  11793. },
  11794. "remark": {
  11795. "description": "备注",
  11796. "type": "string"
  11797. },
  11798. "spotgoodsdesc": {
  11799. "description": "商品型号",
  11800. "type": "string"
  11801. },
  11802. "unitid": {
  11803. "description": "单位id",
  11804. "type": "integer"
  11805. },
  11806. "updatetime": {
  11807. "description": "更新时间",
  11808. "type": "string"
  11809. },
  11810. "wrstandardid": {
  11811. "description": "现货商品ID",
  11812. "type": "integer"
  11813. },
  11814. "wrstandardname": {
  11815. "description": "现货商品名称",
  11816. "type": "string"
  11817. }
  11818. }
  11819. },
  11820. "ermcp.QryMGChangeLogRsp": {
  11821. "type": "object",
  11822. "properties": {
  11823. "aftervalue": {
  11824. "description": "变更后",
  11825. "type": "number"
  11826. },
  11827. "applyid": {
  11828. "description": "操作人",
  11829. "type": "integer"
  11830. },
  11831. "applyname": {
  11832. "description": "操作人名称",
  11833. "type": "string"
  11834. },
  11835. "applysrc": {
  11836. "description": "操作来源 - 1:管理端 2:终端",
  11837. "type": "integer"
  11838. },
  11839. "beforevalue": {
  11840. "description": "变更前",
  11841. "type": "number"
  11842. },
  11843. "changelogtype": {
  11844. "description": "变更流水类型 - 1:套保比率变更",
  11845. "type": "integer"
  11846. },
  11847. "handlestatus": {
  11848. "description": "处理状态",
  11849. "type": "integer"
  11850. },
  11851. "logdatetime": {
  11852. "description": "流水日期",
  11853. "type": "string"
  11854. },
  11855. "logid": {
  11856. "description": "流水ID",
  11857. "type": "integer"
  11858. },
  11859. "logremark": {
  11860. "description": "流水备注",
  11861. "type": "string"
  11862. },
  11863. "middlegoodsid": {
  11864. "description": "套保品种ID",
  11865. "type": "integer"
  11866. },
  11867. "tradedate": {
  11868. "description": "交易日(yyyyMMdd)",
  11869. "type": "string"
  11870. },
  11871. "updatetime": {
  11872. "description": "更新时间",
  11873. "type": "string"
  11874. }
  11875. }
  11876. },
  11877. "ermcp.QryMiddleGoodsDetailRsp": {
  11878. "type": "object",
  11879. "properties": {
  11880. "cvList": {
  11881. "description": "期货品种折算列表",
  11882. "type": "array",
  11883. "items": {
  11884. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11885. }
  11886. },
  11887. "mg": {
  11888. "description": "套保品种基本信息",
  11889. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11890. },
  11891. "wrcList": {
  11892. "description": "现货品种列表(现货商品折算配置)",
  11893. "type": "array",
  11894. "items": {
  11895. "$ref": "#/definitions/models.WRSConverTDetail"
  11896. }
  11897. }
  11898. }
  11899. },
  11900. "ermcp.QryMiddleGoodsRsp": {
  11901. "type": "object",
  11902. "properties": {
  11903. "areauserid": {
  11904. "description": "机构用户ID",
  11905. "type": "integer"
  11906. },
  11907. "createtime": {
  11908. "description": "修改时间",
  11909. "type": "string"
  11910. },
  11911. "enumdicname": {
  11912. "description": "单位名称",
  11913. "type": "string"
  11914. },
  11915. "evaluateratio": {
  11916. "description": "估价系数",
  11917. "type": "number"
  11918. },
  11919. "goodsgroupid": {
  11920. "description": "关联期货品种ID",
  11921. "type": "integer"
  11922. },
  11923. "isvalid": {
  11924. "description": "状态 0-无效(停用) 1-有效(正常)",
  11925. "type": "integer"
  11926. },
  11927. "middlegoodscode": {
  11928. "description": "套保品种代码",
  11929. "type": "string"
  11930. },
  11931. "middlegoodsid": {
  11932. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11933. "type": "integer"
  11934. },
  11935. "middlegoodsname": {
  11936. "description": "套保品种名称",
  11937. "type": "string"
  11938. },
  11939. "modifytime": {
  11940. "description": "修改时间",
  11941. "type": "string"
  11942. },
  11943. "needhedgeratio": {
  11944. "description": "套保比率",
  11945. "type": "number"
  11946. },
  11947. "qtydecimalplace": {
  11948. "description": "数量小数位",
  11949. "type": "integer"
  11950. },
  11951. "relatedgoodsid": {
  11952. "description": "关联交易商品ID",
  11953. "type": "integer"
  11954. },
  11955. "relatedgoodstype": {
  11956. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11957. "type": "integer"
  11958. },
  11959. "remark": {
  11960. "description": "备注",
  11961. "type": "string"
  11962. }
  11963. }
  11964. },
  11965. "ermcp.QryOPLogRsp": {
  11966. "type": "object",
  11967. "properties": {
  11968. "aftervalue": {
  11969. "description": "变更后",
  11970. "type": "number"
  11971. },
  11972. "applyid": {
  11973. "description": "操作人ID",
  11974. "type": "string"
  11975. },
  11976. "applyname": {
  11977. "description": "操作人名称",
  11978. "type": "string"
  11979. },
  11980. "beforevalue": {
  11981. "description": "变更前",
  11982. "type": "number"
  11983. },
  11984. "biztype": {
  11985. "description": "业务类型 - 1:套保计划 2:现货合同",
  11986. "type": "integer"
  11987. },
  11988. "contracttype": {
  11989. "description": "现货合同类型 - 1:采购 -1:销售",
  11990. "type": "integer"
  11991. },
  11992. "logvalue": {
  11993. "description": "数值",
  11994. "type": "number"
  11995. },
  11996. "operatelogtype": {
  11997. "description": "操作流水类型",
  11998. "type": "integer"
  11999. },
  12000. "operatelogtypedesc": {
  12001. "description": "操作流水类型名称",
  12002. "type": "string"
  12003. },
  12004. "relatedid": {
  12005. "description": "现货合同ID\\套保计划",
  12006. "type": "string"
  12007. },
  12008. "updatetime": {
  12009. "description": "更新时间",
  12010. "type": "string"
  12011. }
  12012. }
  12013. },
  12014. "ermcp.QryReportDaySpotDetailRsp": {
  12015. "type": "object",
  12016. "properties": {
  12017. "applyid": {
  12018. "description": "操作人",
  12019. "type": "integer"
  12020. },
  12021. "applyname": {
  12022. "description": "操作人名称",
  12023. "type": "string"
  12024. },
  12025. "biztype": {
  12026. "description": "业务类型 - 1:套保计划 2:现货合同",
  12027. "type": "integer"
  12028. },
  12029. "brandname": {
  12030. "description": "品牌名称",
  12031. "type": "string"
  12032. },
  12033. "contracttype": {
  12034. "description": "现货合同类型 - 1:采购 -1:销售",
  12035. "type": "integer"
  12036. },
  12037. "enumdicName": {
  12038. "description": "单位名称",
  12039. "type": "string"
  12040. },
  12041. "logdatetime": {
  12042. "description": "流水日期(时间)",
  12043. "type": "string"
  12044. },
  12045. "logid": {
  12046. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12047. "type": "string"
  12048. },
  12049. "logtypename": {
  12050. "description": "合同类型(名称)",
  12051. "type": "string"
  12052. },
  12053. "logvalue": {
  12054. "description": "数值",
  12055. "type": "string"
  12056. },
  12057. "modelname": {
  12058. "description": "型号名称",
  12059. "type": "string"
  12060. },
  12061. "operatelogtype": {
  12062. "description": "操作流水类型 -",
  12063. "type": "integer"
  12064. },
  12065. "optypename": {
  12066. "description": "流水类型名称",
  12067. "type": "string"
  12068. },
  12069. "relatedid": {
  12070. "description": "现货合同ID\\套保计划",
  12071. "type": "string"
  12072. },
  12073. "relatedno": {
  12074. "description": "合同编号",
  12075. "type": "string"
  12076. },
  12077. "tradedate": {
  12078. "description": "交易日(yyyyMMdd)",
  12079. "type": "string"
  12080. },
  12081. "userid": {
  12082. "description": "机构ID",
  12083. "type": "integer"
  12084. },
  12085. "wrstandardcode": {
  12086. "description": "现货商品代码",
  12087. "type": "string"
  12088. },
  12089. "wrstandardid": {
  12090. "description": "现货商品ID",
  12091. "type": "integer"
  12092. },
  12093. "wrstandardname": {
  12094. "description": "现货商品名称",
  12095. "type": "string"
  12096. }
  12097. }
  12098. },
  12099. "ermcp.QryReportExposureDayRsp": {
  12100. "type": "object",
  12101. "properties": {
  12102. "areauserid": {
  12103. "description": "所属机构",
  12104. "type": "integer"
  12105. },
  12106. "buyfutureqty": {
  12107. "description": "买入期货数量",
  12108. "type": "number"
  12109. },
  12110. "buyplanqty": {
  12111. "description": "采购计划数量",
  12112. "type": "number"
  12113. },
  12114. "buypricedqty": {
  12115. "description": "采购合同已定价数量",
  12116. "type": "number"
  12117. },
  12118. "diffFutuQty": {
  12119. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12120. "type": "number"
  12121. },
  12122. "diffSpotQty": {
  12123. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12124. "type": "number"
  12125. },
  12126. "enumdicname": {
  12127. "description": "单位名称",
  12128. "type": "string"
  12129. },
  12130. "middlegoodscode": {
  12131. "description": "套保品种代码",
  12132. "type": "string"
  12133. },
  12134. "middlegoodshedgeratio": {
  12135. "description": "应套保比例",
  12136. "type": "number"
  12137. },
  12138. "middlegoodsid": {
  12139. "description": "套保品种ID",
  12140. "type": "integer"
  12141. },
  12142. "middlegoodsname": {
  12143. "description": "套保品种名称",
  12144. "type": "string"
  12145. },
  12146. "needhedgeexposoure": {
  12147. "description": "应套保敞口",
  12148. "type": "number"
  12149. },
  12150. "needhedgeratio": {
  12151. "description": "应套保敞口比例",
  12152. "type": "number"
  12153. },
  12154. "oriTotalFutuQty": {
  12155. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12156. "type": "number"
  12157. },
  12158. "oriTotalSpotQty": {
  12159. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12160. "type": "number"
  12161. },
  12162. "oribuyfutureqty": {
  12163. "description": "期初买入期货数量",
  12164. "type": "number"
  12165. },
  12166. "oribuyplanqty": {
  12167. "description": "期初采购计划数量",
  12168. "type": "number"
  12169. },
  12170. "oribuypricedqty": {
  12171. "description": "期初采购合同已定价数量",
  12172. "type": "number"
  12173. },
  12174. "orisellfutureqty": {
  12175. "description": "期初卖出期货数量",
  12176. "type": "number"
  12177. },
  12178. "orisellplanqty": {
  12179. "description": "期初销售计划数量",
  12180. "type": "number"
  12181. },
  12182. "orisellpricedqty": {
  12183. "description": "期初销售合同已定价数量",
  12184. "type": "number"
  12185. },
  12186. "reckondate": {
  12187. "description": "日照时期(yyyyMMdd)",
  12188. "type": "string"
  12189. },
  12190. "sellfutureqty": {
  12191. "description": "卖出期货数量",
  12192. "type": "number"
  12193. },
  12194. "sellplanqty": {
  12195. "description": "销售计划数量",
  12196. "type": "number"
  12197. },
  12198. "sellpricedqty": {
  12199. "description": "销售合同已定价数量",
  12200. "type": "number"
  12201. },
  12202. "totalexposure": {
  12203. "description": "总敞口",
  12204. "type": "number"
  12205. },
  12206. "totalfutureqty": {
  12207. "description": "期货数量",
  12208. "type": "number"
  12209. },
  12210. "totalhedgeratio": {
  12211. "description": "敞口比例",
  12212. "type": "number"
  12213. },
  12214. "totalneedhedgeqty": {
  12215. "description": "期货应套保量",
  12216. "type": "number"
  12217. },
  12218. "totalspotqty": {
  12219. "description": "现货数量",
  12220. "type": "number"
  12221. }
  12222. }
  12223. },
  12224. "ermcp.QryReportFinanceDayRsp": {
  12225. "type": "object",
  12226. "properties": {
  12227. "areauserid": {
  12228. "description": "所属机构",
  12229. "type": "integer"
  12230. },
  12231. "collectinvoiceamount": {
  12232. "description": "今日开票金额",
  12233. "type": "number"
  12234. },
  12235. "collectinvoicecount": {
  12236. "description": "今日开票笔数",
  12237. "type": "integer"
  12238. },
  12239. "collectmoneyamount": {
  12240. "description": "今日收款金额",
  12241. "type": "number"
  12242. },
  12243. "collectmoneycount": {
  12244. "description": "今日收款笔数",
  12245. "type": "integer"
  12246. },
  12247. "payinvoiceamount": {
  12248. "description": "今日收票金额",
  12249. "type": "number"
  12250. },
  12251. "payinvoicecount": {
  12252. "description": "今日收票笔数",
  12253. "type": "integer"
  12254. },
  12255. "paymoneyamount": {
  12256. "description": "今日付款金额",
  12257. "type": "number"
  12258. },
  12259. "paymoneycount": {
  12260. "description": "今日付款笔数",
  12261. "type": "integer"
  12262. },
  12263. "reckondate": {
  12264. "description": "日照时期(yyyyMMdd)",
  12265. "type": "string"
  12266. },
  12267. "updatetime": {
  12268. "description": "更新时间",
  12269. "type": "string"
  12270. }
  12271. }
  12272. },
  12273. "ermcp.QryReportFinanceKxRsp": {
  12274. "type": "object",
  12275. "properties": {
  12276. "applyid": {
  12277. "description": "操作人",
  12278. "type": "integer"
  12279. },
  12280. "applyname": {
  12281. "description": "操作人名称",
  12282. "type": "string"
  12283. },
  12284. "biztype": {
  12285. "description": "业务类型 - 1:套保计划 2:现货合同",
  12286. "type": "integer"
  12287. },
  12288. "brandname": {
  12289. "description": "品牌名称",
  12290. "type": "string"
  12291. },
  12292. "contracttype": {
  12293. "description": "现货合同类型 - 1:采购 -1:销售",
  12294. "type": "integer"
  12295. },
  12296. "enumdicName": {
  12297. "description": "单位名称",
  12298. "type": "string"
  12299. },
  12300. "logdatetime": {
  12301. "description": "流水日期(时间)",
  12302. "type": "string"
  12303. },
  12304. "logid": {
  12305. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12306. "type": "string"
  12307. },
  12308. "logtypename": {
  12309. "description": "合同类型(名称)",
  12310. "type": "string"
  12311. },
  12312. "logvalue": {
  12313. "description": "数值",
  12314. "type": "string"
  12315. },
  12316. "modelname": {
  12317. "description": "型号名称",
  12318. "type": "string"
  12319. },
  12320. "operatelogtype": {
  12321. "description": "操作流水类型 -",
  12322. "type": "integer"
  12323. },
  12324. "optypename": {
  12325. "description": "流水类型名称",
  12326. "type": "string"
  12327. },
  12328. "relatedid": {
  12329. "description": "现货合同ID\\套保计划",
  12330. "type": "string"
  12331. },
  12332. "relatedno": {
  12333. "description": "合同编号",
  12334. "type": "string"
  12335. },
  12336. "tradedate": {
  12337. "description": "交易日(yyyyMMdd)",
  12338. "type": "string"
  12339. },
  12340. "userid": {
  12341. "description": "机构ID",
  12342. "type": "integer"
  12343. },
  12344. "wrstandardcode": {
  12345. "description": "现货商品代码",
  12346. "type": "string"
  12347. },
  12348. "wrstandardid": {
  12349. "description": "现货商品ID",
  12350. "type": "integer"
  12351. },
  12352. "wrstandardname": {
  12353. "description": "现货商品名称",
  12354. "type": "string"
  12355. }
  12356. }
  12357. },
  12358. "ermcp.QryReportFinanceMonRsp": {
  12359. "type": "object",
  12360. "properties": {
  12361. "areauserid": {
  12362. "description": "所属机构【原值】",
  12363. "type": "integer"
  12364. },
  12365. "collectinvoiceamount": {
  12366. "description": "今日开票金额【汇总】",
  12367. "type": "number"
  12368. },
  12369. "collectinvoicecount": {
  12370. "description": "今日开票笔数【汇总】",
  12371. "type": "integer"
  12372. },
  12373. "collectmoneyamount": {
  12374. "description": "今日收款金额【汇总】",
  12375. "type": "number"
  12376. },
  12377. "collectmoneycount": {
  12378. "description": "今日收款笔数 【汇总】",
  12379. "type": "integer"
  12380. },
  12381. "cycletime": {
  12382. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12383. "type": "string"
  12384. },
  12385. "cycletype": {
  12386. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12387. "type": "integer"
  12388. },
  12389. "dayFr": {
  12390. "description": "日报表明细",
  12391. "type": "array",
  12392. "items": {
  12393. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12394. }
  12395. },
  12396. "payinvoiceamount": {
  12397. "description": "今日收票金额【汇总】",
  12398. "type": "number"
  12399. },
  12400. "payinvoicecount": {
  12401. "description": "今日收票笔数【汇总】",
  12402. "type": "integer"
  12403. },
  12404. "paymoneyamount": {
  12405. "description": "今日付款金额【汇总】",
  12406. "type": "number"
  12407. },
  12408. "paymoneycount": {
  12409. "description": "今日付款笔数【汇总】",
  12410. "type": "integer"
  12411. },
  12412. "updatetime": {
  12413. "description": "更新时间",
  12414. "type": "string"
  12415. }
  12416. }
  12417. },
  12418. "ermcp.QryReportSpotDayRsp": {
  12419. "type": "object",
  12420. "properties": {
  12421. "areauserid": {
  12422. "description": "所属机构T",
  12423. "type": "integer"
  12424. },
  12425. "buyinqty": {
  12426. "description": "采购入库量",
  12427. "type": "number"
  12428. },
  12429. "enumdicname": {
  12430. "description": "现货商品单位名称",
  12431. "type": "string"
  12432. },
  12433. "reckondate": {
  12434. "description": "日照时期(yyyyMMdd)",
  12435. "type": "string"
  12436. },
  12437. "selloutqty": {
  12438. "description": "销售出库量",
  12439. "type": "number"
  12440. },
  12441. "todaybuyreckonqty": {
  12442. "description": "采购确定量",
  12443. "type": "number"
  12444. },
  12445. "todaysellreckonqty": {
  12446. "description": "销售确定量",
  12447. "type": "number"
  12448. },
  12449. "totalbuypricedqty": {
  12450. "description": "采购定价量 = 期末 - 期初",
  12451. "type": "number"
  12452. },
  12453. "totalsellpricedqty": {
  12454. "description": "销售定价量 = 期末 - 期初",
  12455. "type": "number"
  12456. },
  12457. "wrstandardcode": {
  12458. "description": "现货商品代码",
  12459. "type": "string"
  12460. },
  12461. "wrstandardid": {
  12462. "description": "现货商品ID",
  12463. "type": "integer"
  12464. },
  12465. "wrstandardname": {
  12466. "description": "现货商品名称",
  12467. "type": "string"
  12468. }
  12469. }
  12470. },
  12471. "ermcp.QryReportSpotMonRsp": {
  12472. "type": "object",
  12473. "properties": {
  12474. "areauserid": {
  12475. "description": "所属机构T",
  12476. "type": "integer"
  12477. },
  12478. "buyinqty": {
  12479. "description": "采购入库量",
  12480. "type": "number"
  12481. },
  12482. "cycletime": {
  12483. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12484. "type": "string"
  12485. },
  12486. "cycletype": {
  12487. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12488. "type": "integer"
  12489. },
  12490. "enumdicname": {
  12491. "description": "现货商品单位名称",
  12492. "type": "string"
  12493. },
  12494. "selloutqty": {
  12495. "description": "销售出库量",
  12496. "type": "number"
  12497. },
  12498. "todaybuyreckonqty": {
  12499. "description": "采购确定量",
  12500. "type": "number"
  12501. },
  12502. "todaysellreckonqty": {
  12503. "description": "销售确定量",
  12504. "type": "number"
  12505. },
  12506. "totalbuypricedqty": {
  12507. "description": "采购定价量 = 期末 - 期初",
  12508. "type": "number"
  12509. },
  12510. "totalsellpricedqty": {
  12511. "description": "销售定价量 = 期末 - 期初",
  12512. "type": "number"
  12513. },
  12514. "wrstandardcode": {
  12515. "description": "现货商品代码",
  12516. "type": "string"
  12517. },
  12518. "wrstandardid": {
  12519. "description": "现货商品ID",
  12520. "type": "integer"
  12521. },
  12522. "wrstandardname": {
  12523. "description": "现货商品名称",
  12524. "type": "string"
  12525. }
  12526. }
  12527. },
  12528. "ermcp.QryReportSpotMonthDetailRsp": {
  12529. "type": "object",
  12530. "properties": {
  12531. "areauserid": {
  12532. "description": "所属机构T",
  12533. "type": "integer"
  12534. },
  12535. "buyinqty": {
  12536. "description": "采购入库量",
  12537. "type": "number"
  12538. },
  12539. "enumdicname": {
  12540. "description": "现货商品单位名称",
  12541. "type": "string"
  12542. },
  12543. "reckondate": {
  12544. "description": "日照时期(yyyyMMdd)",
  12545. "type": "string"
  12546. },
  12547. "selloutqty": {
  12548. "description": "销售出库量",
  12549. "type": "number"
  12550. },
  12551. "todaybuyreckonqty": {
  12552. "description": "采购确定量",
  12553. "type": "number"
  12554. },
  12555. "todaysellreckonqty": {
  12556. "description": "销售确定量",
  12557. "type": "number"
  12558. },
  12559. "totalbuypricedqty": {
  12560. "description": "采购定价量 = 期末 - 期初",
  12561. "type": "number"
  12562. },
  12563. "totalsellpricedqty": {
  12564. "description": "销售定价量 = 期末 - 期初",
  12565. "type": "number"
  12566. },
  12567. "wrstandardcode": {
  12568. "description": "现货商品代码",
  12569. "type": "string"
  12570. },
  12571. "wrstandardid": {
  12572. "description": "现货商品ID",
  12573. "type": "integer"
  12574. },
  12575. "wrstandardname": {
  12576. "description": "现货商品名称",
  12577. "type": "string"
  12578. }
  12579. }
  12580. },
  12581. "ermcp.QrySpotContractRsp": {
  12582. "type": "object",
  12583. "properties": {
  12584. "amount": {
  12585. "description": "金额 [1:一口价、3:暂定价]",
  12586. "type": "number"
  12587. },
  12588. "attachment": {
  12589. "description": "附件",
  12590. "type": "string"
  12591. },
  12592. "auditremark": {
  12593. "description": "审核意见",
  12594. "type": "string"
  12595. },
  12596. "audittime": {
  12597. "description": "审核时间",
  12598. "type": "string"
  12599. },
  12600. "brandname": {
  12601. "description": "品牌名称",
  12602. "type": "string"
  12603. },
  12604. "buyuserid": {
  12605. "description": "采购方ID",
  12606. "type": "integer"
  12607. },
  12608. "buyusername": {
  12609. "description": "采购方名称",
  12610. "type": "string"
  12611. },
  12612. "contracctstatus": {
  12613. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12614. "type": "integer"
  12615. },
  12616. "contractmargin": {
  12617. "description": "合同保证金",
  12618. "type": "number"
  12619. },
  12620. "contractno": {
  12621. "description": "现货合同编号",
  12622. "type": "string"
  12623. },
  12624. "contracttype": {
  12625. "description": "现货合同类型 - 1:采购 -1:销售",
  12626. "type": "integer"
  12627. },
  12628. "convertfactor": {
  12629. "description": "标仓系数",
  12630. "type": "number"
  12631. },
  12632. "createtime": {
  12633. "description": "创建时间",
  12634. "type": "string"
  12635. },
  12636. "deliveryenddate": {
  12637. "description": "交收期(结束)",
  12638. "type": "string"
  12639. },
  12640. "deliverygoodscode": {
  12641. "description": "现货品种代码",
  12642. "type": "string"
  12643. },
  12644. "deliverygoodsid": {
  12645. "description": "现货品种ID",
  12646. "type": "integer"
  12647. },
  12648. "deliverygoodsname": {
  12649. "description": "现货品种名称",
  12650. "type": "string"
  12651. },
  12652. "deliverystartdate": {
  12653. "description": "交收期(开始)",
  12654. "type": "string"
  12655. },
  12656. "enddate": {
  12657. "description": "点价结束日期 [2:点价 3:暂定价]",
  12658. "type": "string"
  12659. },
  12660. "enumdicname": {
  12661. "description": "单位名称",
  12662. "type": "string"
  12663. },
  12664. "goodscode": {
  12665. "description": "点价合约代码",
  12666. "type": "string"
  12667. },
  12668. "goodsid": {
  12669. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12670. "type": "integer"
  12671. },
  12672. "goodsname": {
  12673. "description": "点价商品名称",
  12674. "type": "string"
  12675. },
  12676. "margin": {
  12677. "description": "当前保证金",
  12678. "type": "number"
  12679. },
  12680. "modelname": {
  12681. "description": "型号名称",
  12682. "type": "string"
  12683. },
  12684. "price": {
  12685. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12686. "type": "number"
  12687. },
  12688. "pricemove": {
  12689. "description": "升贴水 [2:点价 3:暂定价]",
  12690. "type": "number"
  12691. },
  12692. "pricetype": {
  12693. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12694. "type": "integer"
  12695. },
  12696. "producttype": {
  12697. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12698. "type": "integer"
  12699. },
  12700. "qty": {
  12701. "description": "数量",
  12702. "type": "number"
  12703. },
  12704. "remark": {
  12705. "description": "备注",
  12706. "type": "string"
  12707. },
  12708. "selluserid": {
  12709. "description": "销售方ID",
  12710. "type": "integer"
  12711. },
  12712. "sellusername": {
  12713. "description": "销售方名称",
  12714. "type": "string"
  12715. },
  12716. "spotcontractid": {
  12717. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12718. "type": "string"
  12719. },
  12720. "spotgoodsbrandid": {
  12721. "description": "现货品牌ID",
  12722. "type": "integer"
  12723. },
  12724. "spotgoodsdesc": {
  12725. "description": "商品型号",
  12726. "type": "string"
  12727. },
  12728. "spotgoodsmodelid": {
  12729. "description": "现货型号ID",
  12730. "type": "integer"
  12731. },
  12732. "startdate": {
  12733. "description": "点价开始日期 [2:点价 3:暂定价]",
  12734. "type": "string"
  12735. },
  12736. "updatetime": {
  12737. "description": "更新时间",
  12738. "type": "string"
  12739. },
  12740. "userid": {
  12741. "description": "机构ID",
  12742. "type": "integer"
  12743. },
  12744. "wrstandardcode": {
  12745. "description": "现货商品代码",
  12746. "type": "string"
  12747. },
  12748. "wrstandardid": {
  12749. "description": "现货商品ID",
  12750. "type": "integer"
  12751. },
  12752. "wrstandardname": {
  12753. "description": "现货商品名称",
  12754. "type": "string"
  12755. }
  12756. }
  12757. },
  12758. "ermcp.QryUserInfoRsp": {
  12759. "type": "object",
  12760. "properties": {
  12761. "address": {
  12762. "description": "通讯地址",
  12763. "type": "string"
  12764. },
  12765. "attachment1": {
  12766. "description": "附件1",
  12767. "type": "string"
  12768. },
  12769. "audittime": {
  12770. "description": "审核时间",
  12771. "type": "string"
  12772. },
  12773. "cardfrontphotourl": {
  12774. "description": "证件正面图片地址",
  12775. "type": "string"
  12776. },
  12777. "cardnum": {
  12778. "description": "证件号码",
  12779. "type": "string"
  12780. },
  12781. "cardtype": {
  12782. "description": "证件类型",
  12783. "type": "integer"
  12784. },
  12785. "cardtypename": {
  12786. "description": "证件类型名称",
  12787. "type": "string"
  12788. },
  12789. "cityid": {
  12790. "description": "市",
  12791. "type": "integer"
  12792. },
  12793. "contactname": {
  12794. "description": "联系人",
  12795. "type": "string"
  12796. },
  12797. "countryid": {
  12798. "description": "国家",
  12799. "type": "integer"
  12800. },
  12801. "createtime": {
  12802. "description": "创建时间",
  12803. "type": "string"
  12804. },
  12805. "customername": {
  12806. "description": "企业名称",
  12807. "type": "string"
  12808. },
  12809. "districtid": {
  12810. "description": "区域",
  12811. "type": "integer"
  12812. },
  12813. "legalpersonname": {
  12814. "description": "法人姓名(企业)",
  12815. "type": "string"
  12816. },
  12817. "memberuserid": {
  12818. "description": "所属机构ID",
  12819. "type": "integer"
  12820. },
  12821. "mobile": {
  12822. "description": "手机号码",
  12823. "type": "string"
  12824. },
  12825. "modifytime": {
  12826. "description": "修改时间",
  12827. "type": "string"
  12828. },
  12829. "nickname": {
  12830. "description": "昵称",
  12831. "type": "string"
  12832. },
  12833. "provinceid": {
  12834. "description": "省",
  12835. "type": "integer"
  12836. },
  12837. "remark": {
  12838. "description": "备注",
  12839. "type": "string"
  12840. },
  12841. "status": {
  12842. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12843. "type": "integer"
  12844. },
  12845. "statusdesc": {
  12846. "description": "账户状态中文描述",
  12847. "type": "string"
  12848. },
  12849. "taxpayernum": {
  12850. "description": "纳税人识别号",
  12851. "type": "string"
  12852. },
  12853. "telphone": {
  12854. "description": "联系电话",
  12855. "type": "string"
  12856. },
  12857. "userid": {
  12858. "description": "用户ID",
  12859. "type": "integer"
  12860. },
  12861. "userinfotype": {
  12862. "description": "客户类型",
  12863. "type": "string"
  12864. }
  12865. }
  12866. },
  12867. "ermcp.QryWarehouseRsp": {
  12868. "type": "object",
  12869. "properties": {
  12870. "address": {
  12871. "description": "详细地址",
  12872. "type": "string"
  12873. },
  12874. "areauserid": {
  12875. "description": "所属机构",
  12876. "type": "integer"
  12877. },
  12878. "autoid": {
  12879. "description": "自增ID(仓库ID)",
  12880. "type": "integer"
  12881. },
  12882. "cityid": {
  12883. "description": "市",
  12884. "type": "integer"
  12885. },
  12886. "contactname": {
  12887. "description": "联系人",
  12888. "type": "string"
  12889. },
  12890. "contactnum": {
  12891. "description": "联系电话",
  12892. "type": "string"
  12893. },
  12894. "countryid": {
  12895. "description": "国家",
  12896. "type": "integer"
  12897. },
  12898. "createtime": {
  12899. "description": "创建时间",
  12900. "type": "string"
  12901. },
  12902. "districtid": {
  12903. "description": "区",
  12904. "type": "integer"
  12905. },
  12906. "hasvideo": {
  12907. "description": "是否有视频 - 0:无 1:有",
  12908. "type": "integer"
  12909. },
  12910. "provinceid": {
  12911. "description": "省",
  12912. "type": "integer"
  12913. },
  12914. "remark": {
  12915. "description": "审核备注",
  12916. "type": "string"
  12917. },
  12918. "videourl": {
  12919. "description": "视频地址",
  12920. "type": "string"
  12921. },
  12922. "warehousecode": {
  12923. "description": "仓库代码",
  12924. "type": "string"
  12925. },
  12926. "warehousename": {
  12927. "description": "仓库名称",
  12928. "type": "string"
  12929. },
  12930. "warehousestatus": {
  12931. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12932. "type": "integer"
  12933. },
  12934. "warehousetype": {
  12935. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12936. "type": "integer"
  12937. }
  12938. }
  12939. },
  12940. "ermcp.QryWrStandardDetailRsp": {
  12941. "type": "object",
  12942. "properties": {
  12943. "gbList": {
  12944. "description": "品牌列表",
  12945. "type": "array",
  12946. "items": {
  12947. "$ref": "#/definitions/models.GoodsBrand"
  12948. }
  12949. },
  12950. "goodsList": {
  12951. "description": "关联交易商品列表",
  12952. "type": "array",
  12953. "items": {
  12954. "$ref": "#/definitions/models.RelatedGoodsEx"
  12955. }
  12956. },
  12957. "gtList": {
  12958. "description": "型号列表",
  12959. "type": "array",
  12960. "items": {
  12961. "$ref": "#/definitions/models.GoodsTypeModel"
  12962. }
  12963. },
  12964. "wrd": {
  12965. "description": "基本信息",
  12966. "$ref": "#/definitions/models.ErmcpWrstandard"
  12967. },
  12968. "wrsList": {
  12969. "description": "套保信息列表",
  12970. "type": "array",
  12971. "items": {
  12972. "$ref": "#/definitions/models.WRSConverTDetail"
  12973. }
  12974. }
  12975. }
  12976. },
  12977. "ermcp.QryWrStandardRsp": {
  12978. "type": "object",
  12979. "properties": {
  12980. "areauserid": {
  12981. "description": "所属机构",
  12982. "type": "integer"
  12983. },
  12984. "createtime": {
  12985. "description": "创建时间",
  12986. "type": "string"
  12987. },
  12988. "creatorid": {
  12989. "description": "创建人",
  12990. "type": "integer"
  12991. },
  12992. "deliverygoodsid": {
  12993. "description": "品种ID",
  12994. "type": "integer"
  12995. },
  12996. "enumdicname": {
  12997. "description": "单位名称",
  12998. "type": "string"
  12999. },
  13000. "isvalid": {
  13001. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13002. "type": "integer"
  13003. },
  13004. "minivalue": {
  13005. "description": "最小变动值",
  13006. "type": "integer"
  13007. },
  13008. "minivaluedp": {
  13009. "description": "最小变动值小数位",
  13010. "type": "integer"
  13011. },
  13012. "realminivalue": {
  13013. "description": "实际最小变动值",
  13014. "type": "integer"
  13015. },
  13016. "realminivaluedp": {
  13017. "description": "实际最小变动值小数位",
  13018. "type": "integer"
  13019. },
  13020. "remark": {
  13021. "description": "备注",
  13022. "type": "string"
  13023. },
  13024. "unitid": {
  13025. "description": "单位ID",
  13026. "type": "integer"
  13027. },
  13028. "updatetime": {
  13029. "description": "更新时间",
  13030. "type": "string"
  13031. },
  13032. "wrstandardcode": {
  13033. "description": "现货商品代码",
  13034. "type": "string"
  13035. },
  13036. "wrstandardid": {
  13037. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13038. "type": "integer"
  13039. },
  13040. "wrstandardname": {
  13041. "description": "现货商品名称",
  13042. "type": "string"
  13043. }
  13044. }
  13045. },
  13046. "ermcp.QueryAreaStockApplySumRsp": {
  13047. "type": "object",
  13048. "properties": {
  13049. "brandname": {
  13050. "description": "品牌名称",
  13051. "type": "string"
  13052. },
  13053. "inouttype": {
  13054. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13055. "type": "integer"
  13056. },
  13057. "modelname": {
  13058. "description": "型号名称",
  13059. "type": "string"
  13060. },
  13061. "spotcontractid": {
  13062. "description": "关联现货合同ID",
  13063. "type": "string"
  13064. },
  13065. "spotgoodsbrandid": {
  13066. "description": "品牌id",
  13067. "type": "integer"
  13068. },
  13069. "spotgoodsmodelid": {
  13070. "description": "型号id",
  13071. "type": "integer"
  13072. },
  13073. "totalqty": {
  13074. "description": "总数量",
  13075. "type": "number"
  13076. }
  13077. }
  13078. },
  13079. "ermcp.QueryErmcpTradePositionRsp": {
  13080. "type": "object",
  13081. "properties": {
  13082. "agreeunit": {
  13083. "description": "合约单位",
  13084. "type": "number"
  13085. },
  13086. "buyorsell": {
  13087. "description": "方向 - 0:买 1:卖",
  13088. "type": "integer"
  13089. },
  13090. "curpositionqty": {
  13091. "description": "持仓(总仓数量, 期末头寸)",
  13092. "type": "integer"
  13093. },
  13094. "curtdposition": {
  13095. "description": "今仓数量(期末今日头寸)",
  13096. "type": "integer"
  13097. },
  13098. "curtdpositionenabled": {
  13099. "description": "今仓可用",
  13100. "type": "integer"
  13101. },
  13102. "decimalplace": {
  13103. "description": "报价小数位",
  13104. "type": "integer"
  13105. },
  13106. "enableqty": {
  13107. "description": "可用(总仓可用)",
  13108. "type": "integer"
  13109. },
  13110. "exexchangename": {
  13111. "description": "外部交易所名称",
  13112. "type": "string"
  13113. },
  13114. "goodscode": {
  13115. "description": "商品代码(内部)",
  13116. "type": "string"
  13117. },
  13118. "goodsid": {
  13119. "description": "商品ID(自增ID SEQ_GOODS)",
  13120. "type": "integer"
  13121. },
  13122. "goodsname": {
  13123. "description": "商品名称",
  13124. "type": "string"
  13125. },
  13126. "last": {
  13127. "description": "现价",
  13128. "type": "number"
  13129. },
  13130. "marketid": {
  13131. "description": "所属市场ID",
  13132. "type": "integer"
  13133. },
  13134. "openaverageprice": {
  13135. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13136. "type": "number"
  13137. },
  13138. "opencost": {
  13139. "description": "开仓成本",
  13140. "type": "number"
  13141. },
  13142. "openpl": {
  13143. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13144. "type": "number"
  13145. },
  13146. "outgoodscode": {
  13147. "description": "商品代码(外部)",
  13148. "type": "string"
  13149. },
  13150. "positionaverageprice": {
  13151. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13152. "type": "number"
  13153. },
  13154. "positioncost": {
  13155. "description": "持仓成本",
  13156. "type": "number"
  13157. },
  13158. "positionpl": {
  13159. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13160. "type": "number"
  13161. },
  13162. "positionplrate": {
  13163. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13164. "type": "number"
  13165. },
  13166. "usedmargin": {
  13167. "description": "占用保证金",
  13168. "type": "number"
  13169. }
  13170. }
  13171. },
  13172. "ermcp.RealtimeExposurePositionRsp": {
  13173. "type": "object",
  13174. "properties": {
  13175. "agreeunit": {
  13176. "description": "合约单位",
  13177. "type": "string"
  13178. },
  13179. "areauserid": {
  13180. "description": "所属机构id",
  13181. "type": "integer"
  13182. },
  13183. "convertratio": {
  13184. "description": "期货品种系数(折算系数)",
  13185. "type": "number"
  13186. },
  13187. "curqty": {
  13188. "description": "当前持仓",
  13189. "type": "integer"
  13190. },
  13191. "diffhedgeqty": {
  13192. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  13193. "type": "number"
  13194. },
  13195. "diffqty": {
  13196. "description": "持仓变动量=当前持仓-昨日持仓",
  13197. "type": "integer"
  13198. },
  13199. "goodscode": {
  13200. "description": "商品代码",
  13201. "type": "string"
  13202. },
  13203. "goodsid": {
  13204. "description": "商品id",
  13205. "type": "integer"
  13206. },
  13207. "goodsname": {
  13208. "description": "商品名称",
  13209. "type": "string"
  13210. },
  13211. "middlegoodsid": {
  13212. "description": "套保商品id",
  13213. "type": "integer"
  13214. },
  13215. "ydqty": {
  13216. "description": "昨日持仓",
  13217. "type": "integer"
  13218. }
  13219. }
  13220. },
  13221. "ermcp.RealtimeExposureRsp": {
  13222. "type": "object",
  13223. "properties": {
  13224. "AreaUserID": {
  13225. "description": "所属机构",
  13226. "type": "integer"
  13227. },
  13228. "BuyFutureQty": {
  13229. "description": "买入期货数量",
  13230. "type": "number"
  13231. },
  13232. "BuyPlanQty": {
  13233. "description": "采购计划数量",
  13234. "type": "number"
  13235. },
  13236. "BuyPricedQty": {
  13237. "description": "采购合同已定价数量",
  13238. "type": "number"
  13239. },
  13240. "MiddleGoodsCode": {
  13241. "description": "套保品种代码",
  13242. "type": "string"
  13243. },
  13244. "MiddleGoodsHedgeRatio": {
  13245. "description": "应套保比例",
  13246. "type": "number"
  13247. },
  13248. "MiddleGoodsID": {
  13249. "description": "套保品种",
  13250. "type": "integer"
  13251. },
  13252. "MiddleGoodsName": {
  13253. "description": "套保品种名称",
  13254. "type": "string"
  13255. },
  13256. "NeedHedgeExposoure": {
  13257. "description": "应套保敞口",
  13258. "type": "number"
  13259. },
  13260. "NeedHedgeRatio": {
  13261. "description": "应套保敞口比例",
  13262. "type": "number"
  13263. },
  13264. "OriBuyFutureQty": {
  13265. "description": "期初买入期货数量",
  13266. "type": "number"
  13267. },
  13268. "OriBuyPlanQty": {
  13269. "description": "期初采购计划数量",
  13270. "type": "number"
  13271. },
  13272. "OriBuyPricedQty": {
  13273. "description": "期初采购合同已定价数量",
  13274. "type": "number"
  13275. },
  13276. "OriSellFutureQty": {
  13277. "description": "期初卖出期货数量",
  13278. "type": "number"
  13279. },
  13280. "OriSellPlanQty": {
  13281. "description": "期初销售计划数量",
  13282. "type": "number"
  13283. },
  13284. "OriSellPricedQty": {
  13285. "description": "期初销售合同已定价数量",
  13286. "type": "number"
  13287. },
  13288. "SellFutureQty": {
  13289. "description": "卖出期货数量",
  13290. "type": "number"
  13291. },
  13292. "SellPlanQty": {
  13293. "description": "销售计划数量",
  13294. "type": "number"
  13295. },
  13296. "SellPricedQty": {
  13297. "description": "销售合同已定价数量",
  13298. "type": "number"
  13299. },
  13300. "TotalExposure": {
  13301. "description": "总敞口",
  13302. "type": "number"
  13303. },
  13304. "TotalFutureQty": {
  13305. "description": "期货数量",
  13306. "type": "number"
  13307. },
  13308. "TotalHedgeRatio": {
  13309. "description": "敞口比例",
  13310. "type": "number"
  13311. },
  13312. "TotalNeedHedgeQty": {
  13313. "description": "期货应套保量",
  13314. "type": "number"
  13315. },
  13316. "TotalSpotQty": {
  13317. "description": "现货数量",
  13318. "type": "number"
  13319. },
  13320. "diffFutuQty": {
  13321. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13322. "type": "number"
  13323. },
  13324. "diffSpotQty": {
  13325. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13326. "type": "number"
  13327. },
  13328. "enumdicname": {
  13329. "description": "单位名称",
  13330. "type": "string"
  13331. },
  13332. "oriTotalFutuQty": {
  13333. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13334. "type": "number"
  13335. },
  13336. "oriTotalSpotQty": {
  13337. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13338. "type": "number"
  13339. }
  13340. }
  13341. },
  13342. "erms2.QueryArbitrageStrategyRsp": {
  13343. "type": "object",
  13344. "required": [
  13345. "asapplyid"
  13346. ],
  13347. "properties": {
  13348. "applybasis": {
  13349. "description": "申请基差",
  13350. "type": "number"
  13351. },
  13352. "asapplyid": {
  13353. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13354. "type": "string"
  13355. },
  13356. "asname": {
  13357. "description": "策略名称",
  13358. "type": "string"
  13359. },
  13360. "asno": {
  13361. "description": "策略编号",
  13362. "type": "string"
  13363. },
  13364. "basischangepl": {
  13365. "description": "基差变动损益[结算更新]",
  13366. "type": "number"
  13367. },
  13368. "biztype": {
  13369. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13370. "type": "integer"
  13371. },
  13372. "closetradedate": {
  13373. "description": "完结交易日(yyyyMMdd)",
  13374. "type": "string"
  13375. },
  13376. "curbasis": {
  13377. "description": "当前基差[结算更新]",
  13378. "type": "number"
  13379. },
  13380. "deliverygoodsid": {
  13381. "description": "现货品种ID",
  13382. "type": "integer"
  13383. },
  13384. "futureavgprice": {
  13385. "description": "期货建仓均价",
  13386. "type": "number"
  13387. },
  13388. "futurecloseamount": {
  13389. "description": "期货平仓金额",
  13390. "type": "number"
  13391. },
  13392. "futurecloseqty": {
  13393. "description": "期货平仓数量",
  13394. "type": "number"
  13395. },
  13396. "futureopenamount": {
  13397. "description": "期货开仓金额",
  13398. "type": "number"
  13399. },
  13400. "futureopenqty": {
  13401. "description": "期货开仓数量",
  13402. "type": "number"
  13403. },
  13404. "futurepl": {
  13405. "description": "期货总盈亏[结算更新]",
  13406. "type": "number"
  13407. },
  13408. "futureqty": {
  13409. "description": "期货持仓数量",
  13410. "type": "number"
  13411. },
  13412. "futurequote": {
  13413. "description": "期货额度",
  13414. "type": "number"
  13415. },
  13416. "goodsgroupid": {
  13417. "description": "期货品种ID",
  13418. "type": "integer"
  13419. },
  13420. "marketid": {
  13421. "description": "市场ID",
  13422. "type": "integer"
  13423. },
  13424. "netexposure": {
  13425. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13426. "type": "number"
  13427. },
  13428. "netexposurepl": {
  13429. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13430. "type": "number"
  13431. },
  13432. "netexposurerate": {
  13433. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13434. "type": "number"
  13435. },
  13436. "openbasis": {
  13437. "description": "建仓基差",
  13438. "type": "number"
  13439. },
  13440. "pricedspotqty": {
  13441. "description": "已定价现货数量",
  13442. "type": "number"
  13443. },
  13444. "pricedspotqtynotax": {
  13445. "description": "已定价现货不含税数量",
  13446. "type": "number"
  13447. },
  13448. "remark": {
  13449. "description": "备注",
  13450. "type": "string"
  13451. },
  13452. "spotavgprice": {
  13453. "description": "现货均价",
  13454. "type": "number"
  13455. },
  13456. "spotbuyamount": {
  13457. "description": "现货采购金额",
  13458. "type": "number"
  13459. },
  13460. "spotbuyqty": {
  13461. "description": "现货采购数量",
  13462. "type": "number"
  13463. },
  13464. "spotpl": {
  13465. "description": "现货总盈亏[结算更新]",
  13466. "type": "number"
  13467. },
  13468. "spotquota": {
  13469. "description": "现货额度",
  13470. "type": "number"
  13471. },
  13472. "spotsellamount": {
  13473. "description": "现货销售金额",
  13474. "type": "number"
  13475. },
  13476. "spotsellqty": {
  13477. "description": "现货销售数量",
  13478. "type": "number"
  13479. },
  13480. "spotusedquota": {
  13481. "description": "现货占用资金",
  13482. "type": "number"
  13483. },
  13484. "strategystatus": {
  13485. "description": "策略状态 - 0:未结束 1:已结束",
  13486. "type": "integer"
  13487. },
  13488. "totalpl": {
  13489. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13490. "type": "number"
  13491. },
  13492. "tradedate": {
  13493. "description": "交易日(yyyyMMdd)",
  13494. "type": "string"
  13495. },
  13496. "updatetime": {
  13497. "description": "更新时间",
  13498. "type": "string"
  13499. },
  13500. "usedquota": {
  13501. "description": "已占用资金",
  13502. "type": "number"
  13503. },
  13504. "userid": {
  13505. "description": "所属机构",
  13506. "type": "integer"
  13507. }
  13508. }
  13509. },
  13510. "erms2.QueryInnerTradeDetailRsp": {
  13511. "type": "object",
  13512. "required": [
  13513. "asapplyid",
  13514. "buyorsell",
  13515. "goodscode",
  13516. "goodsgroupid",
  13517. "goodsgroupname",
  13518. "goodsname",
  13519. "tradeid"
  13520. ],
  13521. "properties": {
  13522. "accountid": {
  13523. "description": "账号ID",
  13524. "type": "integer"
  13525. },
  13526. "agreeunit": {
  13527. "description": "合约单位",
  13528. "type": "number"
  13529. },
  13530. "asapplyid": {
  13531. "description": "策略申请ID",
  13532. "type": "integer"
  13533. },
  13534. "asname": {
  13535. "description": "策略名称",
  13536. "type": "string"
  13537. },
  13538. "asno": {
  13539. "description": "策略编号",
  13540. "type": "string"
  13541. },
  13542. "buyorsell": {
  13543. "description": "方向 - 0:买 1:卖",
  13544. "type": "integer"
  13545. },
  13546. "channelbuildtype": {
  13547. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13548. "type": "integer"
  13549. },
  13550. "closetype": {
  13551. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13552. "type": "integer"
  13553. },
  13554. "decimalplace": {
  13555. "description": "报价小数位",
  13556. "type": "integer"
  13557. },
  13558. "detailtype": {
  13559. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13560. "type": "integer"
  13561. },
  13562. "exexchangecode": {
  13563. "description": "外部交易所代码",
  13564. "type": "string"
  13565. },
  13566. "exexchangename": {
  13567. "description": "外部交易所名称",
  13568. "type": "string"
  13569. },
  13570. "goodscode": {
  13571. "description": "商品代码(合约)",
  13572. "type": "string"
  13573. },
  13574. "goodsgroupid": {
  13575. "description": "商品组ID(品种ID)",
  13576. "type": "integer"
  13577. },
  13578. "goodsgroupname": {
  13579. "description": "商品组名称(品种)",
  13580. "type": "string"
  13581. },
  13582. "goodsid": {
  13583. "description": "商品ID",
  13584. "type": "integer"
  13585. },
  13586. "goodsname": {
  13587. "description": "商品名称(合约)",
  13588. "type": "string"
  13589. },
  13590. "goodunit": {
  13591. "description": "报价单位",
  13592. "type": "string"
  13593. },
  13594. "marketid": {
  13595. "description": "市场ID",
  13596. "type": "integer"
  13597. },
  13598. "orderid": {
  13599. "description": "委托单号",
  13600. "type": "string"
  13601. },
  13602. "outgoodscode": {
  13603. "description": "商品代码(外部)",
  13604. "type": "string"
  13605. },
  13606. "relatedouttradeid": {
  13607. "description": "关联外部成交单ID",
  13608. "type": "string"
  13609. },
  13610. "remark": {
  13611. "description": "备注",
  13612. "type": "string"
  13613. },
  13614. "spotcontractid": {
  13615. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13616. "type": "integer"
  13617. },
  13618. "spotcontractno": {
  13619. "description": "现货合同编号",
  13620. "type": "string"
  13621. },
  13622. "tradeid": {
  13623. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13624. "type": "string"
  13625. },
  13626. "tradeprice": {
  13627. "description": "成交价格",
  13628. "type": "number"
  13629. },
  13630. "tradeqty": {
  13631. "description": "成交数量",
  13632. "type": "integer"
  13633. },
  13634. "tradetime": {
  13635. "description": "成交时间",
  13636. "type": "string"
  13637. },
  13638. "updatetime": {
  13639. "description": "更新时间",
  13640. "type": "string"
  13641. }
  13642. }
  13643. },
  13644. "erms2.QuerySpotContractRsp": {
  13645. "type": "object",
  13646. "required": [
  13647. "spotcontractid"
  13648. ],
  13649. "properties": {
  13650. "accountid": {
  13651. "description": "资金账户ID",
  13652. "type": "integer"
  13653. },
  13654. "areauserid": {
  13655. "description": "所属机构",
  13656. "type": "integer"
  13657. },
  13658. "closedate": {
  13659. "description": "终止日期",
  13660. "type": "string"
  13661. },
  13662. "closeremark": {
  13663. "description": "结束备注",
  13664. "type": "string"
  13665. },
  13666. "closetradedate": {
  13667. "description": "完结交易日(yyyyMMdd)",
  13668. "type": "string"
  13669. },
  13670. "closetype": {
  13671. "description": "终止类型 - 1:违约 2:提前终止",
  13672. "type": "integer"
  13673. },
  13674. "contractamount": {
  13675. "description": "合同金额",
  13676. "type": "number"
  13677. },
  13678. "contractattachment": {
  13679. "description": "合同附件",
  13680. "type": "string"
  13681. },
  13682. "contractno": {
  13683. "description": "现货合同编号",
  13684. "type": "string"
  13685. },
  13686. "contractqty": {
  13687. "description": "合同数量(数值) (用于计算)",
  13688. "type": "number"
  13689. },
  13690. "contractqtychar": {
  13691. "description": "合同数量\\已订价数量 (用于显示)",
  13692. "type": "string"
  13693. },
  13694. "contractstatus": {
  13695. "description": "合同状态 - 0:未结束 1:已结束",
  13696. "type": "integer"
  13697. },
  13698. "contracttype": {
  13699. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13700. "type": "integer"
  13701. },
  13702. "customeraccountid": {
  13703. "description": "客户资金账户ID",
  13704. "type": "integer"
  13705. },
  13706. "customeruserid": {
  13707. "description": "客户ID",
  13708. "type": "integer"
  13709. },
  13710. "deliverygoodsdesc": {
  13711. "description": "品种说明",
  13712. "type": "string"
  13713. },
  13714. "deliverygoodsid": {
  13715. "description": "现货品种ID",
  13716. "type": "integer"
  13717. },
  13718. "handlestatus": {
  13719. "description": "处理状态",
  13720. "type": "integer"
  13721. },
  13722. "invoiceatt": {
  13723. "description": "发票附件",
  13724. "type": "string"
  13725. },
  13726. "invoicedatetime": {
  13727. "description": "开收票更新时间",
  13728. "type": "string"
  13729. },
  13730. "invoiceopentime": {
  13731. "description": "开票时间",
  13732. "type": "string"
  13733. },
  13734. "invoiceremark": {
  13735. "description": "发票备注",
  13736. "type": "string"
  13737. },
  13738. "invoicestatus": {
  13739. "description": "开收票状态 - 0:未开票 1:已开票",
  13740. "type": "integer"
  13741. },
  13742. "lastdate": {
  13743. "description": "交货时间",
  13744. "type": "string"
  13745. },
  13746. "marketid": {
  13747. "description": "市场ID",
  13748. "type": "integer"
  13749. },
  13750. "paydatetime": {
  13751. "description": "收付款更新时间",
  13752. "type": "string"
  13753. },
  13754. "payremark": {
  13755. "description": "收付款备注",
  13756. "type": "string"
  13757. },
  13758. "paystatus": {
  13759. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13760. "type": "integer"
  13761. },
  13762. "positionqty": {
  13763. "description": "头寸数量 - 合同数量去小数部分",
  13764. "type": "integer"
  13765. },
  13766. "producttype": {
  13767. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13768. "type": "integer"
  13769. },
  13770. "relatedqty": {
  13771. "description": "已关联数量",
  13772. "type": "number"
  13773. },
  13774. "relatedstatus": {
  13775. "description": "关联完结状态 - 0:未结束 1:已结束",
  13776. "type": "integer"
  13777. },
  13778. "remark": {
  13779. "description": "备注",
  13780. "type": "string"
  13781. },
  13782. "signdate": {
  13783. "description": "签订日期",
  13784. "type": "string"
  13785. },
  13786. "spotcontractid": {
  13787. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13788. "type": "string"
  13789. },
  13790. "spotdatetime": {
  13791. "description": "收发货更新时间",
  13792. "type": "string"
  13793. },
  13794. "spotprice": {
  13795. "description": "价格",
  13796. "type": "number"
  13797. },
  13798. "spotremark": {
  13799. "description": "收发货备注",
  13800. "type": "string"
  13801. },
  13802. "spotstatus": {
  13803. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13804. "type": "integer"
  13805. },
  13806. "tradedate": {
  13807. "description": "交易日(yyyyMMdd)",
  13808. "type": "string"
  13809. },
  13810. "userid": {
  13811. "description": "业务员用户ID",
  13812. "type": "integer"
  13813. },
  13814. "warehouseid": {
  13815. "description": "仓库ID",
  13816. "type": "integer"
  13817. },
  13818. "wrfactortypeid": {
  13819. "description": "仓单要素类型ID",
  13820. "type": "integer"
  13821. },
  13822. "wrstandardid": {
  13823. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13824. "type": "integer"
  13825. }
  13826. }
  13827. },
  13828. "erms3.AddErms2ASApplyReq": {
  13829. "type": "object",
  13830. "required": [
  13831. "asapplyid"
  13832. ],
  13833. "properties": {
  13834. "applybasis": {
  13835. "description": "申请基差",
  13836. "type": "number"
  13837. },
  13838. "applystatus": {
  13839. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13840. "type": "integer"
  13841. },
  13842. "asapplyid": {
  13843. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13844. "type": "integer"
  13845. },
  13846. "asname": {
  13847. "description": "策略名称",
  13848. "type": "string"
  13849. },
  13850. "asno": {
  13851. "description": "策略编号",
  13852. "type": "string"
  13853. },
  13854. "auditid": {
  13855. "description": "审核人",
  13856. "type": "integer"
  13857. },
  13858. "auditremark": {
  13859. "description": "审核备注",
  13860. "type": "string"
  13861. },
  13862. "audittime": {
  13863. "description": "审核时间",
  13864. "type": "string"
  13865. },
  13866. "biztype": {
  13867. "description": "业务类型 - 1:正向套利 2:反向套利",
  13868. "type": "integer"
  13869. },
  13870. "createtime": {
  13871. "description": "创建时间",
  13872. "type": "string"
  13873. },
  13874. "creatorid": {
  13875. "description": "创建人",
  13876. "type": "integer"
  13877. },
  13878. "deliverygoodsid": {
  13879. "description": "现货品种ID",
  13880. "type": "integer"
  13881. },
  13882. "futurequote": {
  13883. "description": "期货额度",
  13884. "type": "number"
  13885. },
  13886. "goodsgroupid": {
  13887. "description": "期货品种ID",
  13888. "type": "integer"
  13889. },
  13890. "marketid": {
  13891. "description": "市场ID",
  13892. "type": "integer"
  13893. },
  13894. "remark": {
  13895. "description": "备注",
  13896. "type": "string"
  13897. },
  13898. "spotquota": {
  13899. "description": "现货额度",
  13900. "type": "number"
  13901. },
  13902. "tradedate": {
  13903. "description": "交易日(yyyyMMdd)",
  13904. "type": "string"
  13905. },
  13906. "userid": {
  13907. "description": "所属机构",
  13908. "type": "integer"
  13909. }
  13910. }
  13911. },
  13912. "erms3.AddErms2SpotTradeApplyReq": {
  13913. "type": "object",
  13914. "required": [
  13915. "spottradeid"
  13916. ],
  13917. "properties": {
  13918. "applyjsondetail": {
  13919. "description": "申请明细(JSON)",
  13920. "type": "string"
  13921. },
  13922. "applystatus": {
  13923. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13924. "type": "integer"
  13925. },
  13926. "areauserid": {
  13927. "description": "所属机构",
  13928. "type": "integer"
  13929. },
  13930. "auditid": {
  13931. "description": "审核人",
  13932. "type": "integer"
  13933. },
  13934. "auditremark": {
  13935. "description": "审核备注",
  13936. "type": "string"
  13937. },
  13938. "audittime": {
  13939. "description": "审核时间",
  13940. "type": "string"
  13941. },
  13942. "createtime": {
  13943. "description": "创建时间",
  13944. "type": "string"
  13945. },
  13946. "creatorid": {
  13947. "description": "创建人",
  13948. "type": "integer"
  13949. },
  13950. "deliverygoodsid": {
  13951. "description": "现货品种ID",
  13952. "type": "integer"
  13953. },
  13954. "futureaccountid": {
  13955. "description": "期货资金账户",
  13956. "type": "integer"
  13957. },
  13958. "goodsgroupid": {
  13959. "description": "期货品种",
  13960. "type": "integer"
  13961. },
  13962. "marketid": {
  13963. "description": "市场ID",
  13964. "type": "integer"
  13965. },
  13966. "remark": {
  13967. "description": "备注",
  13968. "type": "string"
  13969. },
  13970. "spotaccountid": {
  13971. "description": "现货资金账户",
  13972. "type": "integer"
  13973. },
  13974. "spottradeid": {
  13975. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13976. "type": "integer"
  13977. },
  13978. "spottradename": {
  13979. "description": "业务名称",
  13980. "type": "string"
  13981. },
  13982. "spottradeno": {
  13983. "description": "业务编号",
  13984. "type": "string"
  13985. },
  13986. "tradedate": {
  13987. "description": "交易日(yyyyMMdd)",
  13988. "type": "string"
  13989. },
  13990. "wrstandardid": {
  13991. "description": "仓单标准ID",
  13992. "type": "integer"
  13993. }
  13994. }
  13995. },
  13996. "erms3.AddSpotContractApplyReq": {
  13997. "type": "object",
  13998. "required": [
  13999. "accountid",
  14000. "areauserid",
  14001. "contractno",
  14002. "contracttype",
  14003. "customeraccountid",
  14004. "customeruserid",
  14005. "details",
  14006. "orimargin",
  14007. "signdate"
  14008. ],
  14009. "properties": {
  14010. "accountid": {
  14011. "description": "资金账户ID",
  14012. "type": "integer"
  14013. },
  14014. "areauserid": {
  14015. "description": "所属机构",
  14016. "type": "integer"
  14017. },
  14018. "contractattachment": {
  14019. "description": "合同附件",
  14020. "type": "string"
  14021. },
  14022. "contractno": {
  14023. "description": "现货合同编号",
  14024. "type": "string"
  14025. },
  14026. "contracttype": {
  14027. "description": "现货合同类型 - 1:采购 -1:销售",
  14028. "type": "integer"
  14029. },
  14030. "creatorid": {
  14031. "description": "申请人",
  14032. "type": "integer"
  14033. },
  14034. "customeraccountid": {
  14035. "description": "客户资金账户ID",
  14036. "type": "integer"
  14037. },
  14038. "customeruserid": {
  14039. "description": "客户ID",
  14040. "type": "integer"
  14041. },
  14042. "details": {
  14043. "description": "明细",
  14044. "type": "array",
  14045. "items": {
  14046. "$ref": "#/definitions/erms3.SoptContractDetail"
  14047. }
  14048. },
  14049. "orimargin": {
  14050. "description": "初始保证金",
  14051. "type": "number"
  14052. },
  14053. "remark": {
  14054. "description": "备注",
  14055. "type": "string"
  14056. },
  14057. "signdate": {
  14058. "description": "签订日期",
  14059. "type": "string"
  14060. }
  14061. }
  14062. },
  14063. "erms3.AddSpotContractApplyRsp": {
  14064. "type": "object",
  14065. "required": [
  14066. "contractno"
  14067. ],
  14068. "properties": {
  14069. "contractno": {
  14070. "description": "现货合同编号",
  14071. "type": "string"
  14072. },
  14073. "spotcontractid": {
  14074. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14075. "type": "integer"
  14076. }
  14077. }
  14078. },
  14079. "erms3.AddUserInfoApplyReq": {
  14080. "type": "object",
  14081. "required": [
  14082. "userid"
  14083. ],
  14084. "properties": {
  14085. "accountid": {
  14086. "description": "交易系统帐号Id (加密存储)",
  14087. "type": "integer"
  14088. },
  14089. "areacode": {
  14090. "description": "机构代码",
  14091. "type": "string"
  14092. },
  14093. "areaid": {
  14094. "description": "机构Id",
  14095. "type": "integer"
  14096. },
  14097. "attachment1": {
  14098. "description": "附件1",
  14099. "type": "string"
  14100. },
  14101. "attachment2": {
  14102. "description": "附件2",
  14103. "type": "string"
  14104. },
  14105. "attachment3": {
  14106. "description": "附件3",
  14107. "type": "string"
  14108. },
  14109. "attachment4": {
  14110. "description": "附件4",
  14111. "type": "string"
  14112. },
  14113. "attachment5": {
  14114. "description": "附件5",
  14115. "type": "string"
  14116. },
  14117. "auditedby": {
  14118. "description": "审核人",
  14119. "type": "string"
  14120. },
  14121. "auditime": {
  14122. "description": "审核时间",
  14123. "type": "string"
  14124. },
  14125. "bankaccount": {
  14126. "description": "银行帐号 (加密存储)",
  14127. "type": "string"
  14128. },
  14129. "bankaccountname": {
  14130. "description": "收款人名称",
  14131. "type": "string"
  14132. },
  14133. "bankcardbackphotourl": {
  14134. "description": "银行卡背面照地址",
  14135. "type": "string"
  14136. },
  14137. "bankcardfrontphotourl": {
  14138. "description": "银行卡正面照地址",
  14139. "type": "string"
  14140. },
  14141. "bankid": {
  14142. "description": "银行编码",
  14143. "type": "string"
  14144. },
  14145. "bankname": {
  14146. "description": "银行名称",
  14147. "type": "string"
  14148. },
  14149. "bankpictureurl": {
  14150. "description": "银行卡正面地址",
  14151. "type": "string"
  14152. },
  14153. "biznature": {
  14154. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14155. "type": "integer"
  14156. },
  14157. "bizscope": {
  14158. "description": "企业经营范围(企业)",
  14159. "type": "string"
  14160. },
  14161. "biztype": {
  14162. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14163. "type": "integer"
  14164. },
  14165. "brokerid": {
  14166. "description": "经纪人ID(加密存储)",
  14167. "type": "string"
  14168. },
  14169. "cardaddress": {
  14170. "description": "证件地址 (加密存储)",
  14171. "type": "string"
  14172. },
  14173. "cardbackphotourl": {
  14174. "description": "背面证件照地址",
  14175. "type": "string"
  14176. },
  14177. "cardfrontphotourl": {
  14178. "description": "正面证件照地址",
  14179. "type": "string"
  14180. },
  14181. "cardnum": {
  14182. "description": "证件号码 (加密存储)",
  14183. "type": "string"
  14184. },
  14185. "cardtype": {
  14186. "description": "证件类型",
  14187. "type": "integer"
  14188. },
  14189. "cityid": {
  14190. "description": "市",
  14191. "type": "integer"
  14192. },
  14193. "company": {
  14194. "description": "公司(个人)",
  14195. "type": "string"
  14196. },
  14197. "contactcardbackphotourl": {
  14198. "description": "联系人证件背面图片地址",
  14199. "type": "string"
  14200. },
  14201. "contactcardfrontphotourl": {
  14202. "description": "联系人证件正面图片地址",
  14203. "type": "string"
  14204. },
  14205. "contactname": {
  14206. "description": "联系人",
  14207. "type": "string"
  14208. },
  14209. "countryid": {
  14210. "description": "国家",
  14211. "type": "integer"
  14212. },
  14213. "createtime": {
  14214. "description": "开户申请时间",
  14215. "type": "string"
  14216. },
  14217. "cusbankid": {
  14218. "description": "签约类型",
  14219. "type": "string"
  14220. },
  14221. "cusbankname": {
  14222. "description": "签约类型名称",
  14223. "type": "string"
  14224. },
  14225. "customername": {
  14226. "description": "客户名称(企业名称)",
  14227. "type": "string"
  14228. },
  14229. "districtid": {
  14230. "description": "地区",
  14231. "type": "integer"
  14232. },
  14233. "email": {
  14234. "description": "Email地址(加密存储)",
  14235. "type": "string"
  14236. },
  14237. "halfbodyphotourl": {
  14238. "description": "半身照地址",
  14239. "type": "string"
  14240. },
  14241. "headurl": {
  14242. "description": "头像地址",
  14243. "type": "string"
  14244. },
  14245. "ipaddress": {
  14246. "description": "IP地址",
  14247. "type": "string"
  14248. },
  14249. "isvalidate": {
  14250. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14251. "type": "string"
  14252. },
  14253. "legalcardbackphotourl": {
  14254. "description": "法人身份证背面照地址",
  14255. "type": "string"
  14256. },
  14257. "legalcardfrontphotourl": {
  14258. "description": "法人身份证正面照地址",
  14259. "type": "string"
  14260. },
  14261. "legalpersonname": {
  14262. "description": "法人姓名(企业)",
  14263. "type": "string"
  14264. },
  14265. "logincode": {
  14266. "description": "登录帐号 (加密存储)",
  14267. "type": "string"
  14268. },
  14269. "memberareaid": {
  14270. "description": "所属会员ID",
  14271. "type": "integer"
  14272. },
  14273. "mobile2": {
  14274. "description": "手机号码[明文-尚志]",
  14275. "type": "string"
  14276. },
  14277. "mobilephone": {
  14278. "description": "手机号码 (加密存储)",
  14279. "type": "string"
  14280. },
  14281. "modifiedby": {
  14282. "description": "修改人帐号",
  14283. "type": "integer"
  14284. },
  14285. "modifiedtime": {
  14286. "description": "修改时间",
  14287. "type": "string"
  14288. },
  14289. "nickname": {
  14290. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14291. "type": "string"
  14292. },
  14293. "openmode": {
  14294. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14295. "type": "integer"
  14296. },
  14297. "otherurl": {
  14298. "description": "其它图片地址[使用分号分隔]",
  14299. "type": "string"
  14300. },
  14301. "postalcode": {
  14302. "description": "邮政编码",
  14303. "type": "string"
  14304. },
  14305. "provinceid": {
  14306. "description": "省",
  14307. "type": "integer"
  14308. },
  14309. "proxystatementurl": {
  14310. "description": "授权委托书",
  14311. "type": "string"
  14312. },
  14313. "qq": {
  14314. "description": "QQ(加密存储",
  14315. "type": "string"
  14316. },
  14317. "referral": {
  14318. "description": "推荐人编码",
  14319. "type": "string"
  14320. },
  14321. "remark": {
  14322. "description": "备注",
  14323. "type": "string"
  14324. },
  14325. "removebeforestatus": {
  14326. "description": "REMOVEBEFORESTATUS",
  14327. "type": "integer"
  14328. },
  14329. "sex": {
  14330. "description": "性别 - 0:女 1:男",
  14331. "type": "integer"
  14332. },
  14333. "signedstatus": {
  14334. "description": "账户一号签签约状态",
  14335. "type": "integer"
  14336. },
  14337. "signpdfurl": {
  14338. "description": "签约pdf文件",
  14339. "type": "string"
  14340. },
  14341. "subbranch": {
  14342. "description": "开户支行",
  14343. "type": "string"
  14344. },
  14345. "telphone": {
  14346. "description": "联系电话(加密存储)",
  14347. "type": "string"
  14348. },
  14349. "userid": {
  14350. "description": "用户ID(自增ID)",
  14351. "type": "integer"
  14352. },
  14353. "userinfotype": {
  14354. "description": "用户信息类型 - 1:个人 2:企业",
  14355. "type": "integer"
  14356. },
  14357. "username": {
  14358. "description": "用户姓名",
  14359. "type": "string"
  14360. },
  14361. "userstate": {
  14362. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14363. "type": "integer"
  14364. },
  14365. "usertype": {
  14366. "description": "用户类型 - 1:投资者 2:机构",
  14367. "type": "integer"
  14368. },
  14369. "videourl": {
  14370. "description": "视频地址",
  14371. "type": "string"
  14372. },
  14373. "wechat": {
  14374. "description": "微信号 (加密存储)",
  14375. "type": "string"
  14376. }
  14377. }
  14378. },
  14379. "erms3.CustomerInfo": {
  14380. "type": "object",
  14381. "required": [
  14382. "userid"
  14383. ],
  14384. "properties": {
  14385. "accountids": {
  14386. "description": "资金账户ID列表",
  14387. "type": "array",
  14388. "items": {
  14389. "type": "integer"
  14390. }
  14391. },
  14392. "customername": {
  14393. "description": "名称(企业名称)",
  14394. "type": "string"
  14395. },
  14396. "mobile": {
  14397. "description": "手机号码",
  14398. "type": "string"
  14399. },
  14400. "userid": {
  14401. "description": "用户ID",
  14402. "type": "integer"
  14403. }
  14404. }
  14405. },
  14406. "erms3.ModifyUserInfoApplyReq": {
  14407. "type": "object",
  14408. "required": [
  14409. "userid"
  14410. ],
  14411. "properties": {
  14412. "accountid": {
  14413. "description": "交易系统帐号Id (加密存储)",
  14414. "type": "integer"
  14415. },
  14416. "areacode": {
  14417. "description": "机构代码",
  14418. "type": "string"
  14419. },
  14420. "areaid": {
  14421. "description": "机构Id",
  14422. "type": "integer"
  14423. },
  14424. "attachment1": {
  14425. "description": "附件1",
  14426. "type": "string"
  14427. },
  14428. "attachment2": {
  14429. "description": "附件2",
  14430. "type": "string"
  14431. },
  14432. "attachment3": {
  14433. "description": "附件3",
  14434. "type": "string"
  14435. },
  14436. "attachment4": {
  14437. "description": "附件4",
  14438. "type": "string"
  14439. },
  14440. "attachment5": {
  14441. "description": "附件5",
  14442. "type": "string"
  14443. },
  14444. "auditedby": {
  14445. "description": "审核人",
  14446. "type": "string"
  14447. },
  14448. "auditime": {
  14449. "description": "审核时间",
  14450. "type": "string"
  14451. },
  14452. "bankaccount": {
  14453. "description": "银行帐号 (加密存储)",
  14454. "type": "string"
  14455. },
  14456. "bankaccountname": {
  14457. "description": "收款人名称",
  14458. "type": "string"
  14459. },
  14460. "bankcardbackphotourl": {
  14461. "description": "银行卡背面照地址",
  14462. "type": "string"
  14463. },
  14464. "bankcardfrontphotourl": {
  14465. "description": "银行卡正面照地址",
  14466. "type": "string"
  14467. },
  14468. "bankid": {
  14469. "description": "银行编码",
  14470. "type": "string"
  14471. },
  14472. "bankname": {
  14473. "description": "银行名称",
  14474. "type": "string"
  14475. },
  14476. "bankpictureurl": {
  14477. "description": "银行卡正面地址",
  14478. "type": "string"
  14479. },
  14480. "biznature": {
  14481. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14482. "type": "integer"
  14483. },
  14484. "bizscope": {
  14485. "description": "企业经营范围(企业)",
  14486. "type": "string"
  14487. },
  14488. "biztype": {
  14489. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14490. "type": "integer"
  14491. },
  14492. "brokerid": {
  14493. "description": "经纪人ID(加密存储)",
  14494. "type": "string"
  14495. },
  14496. "cardaddress": {
  14497. "description": "证件地址 (加密存储)",
  14498. "type": "string"
  14499. },
  14500. "cardbackphotourl": {
  14501. "description": "背面证件照地址",
  14502. "type": "string"
  14503. },
  14504. "cardfrontphotourl": {
  14505. "description": "正面证件照地址",
  14506. "type": "string"
  14507. },
  14508. "cardnum": {
  14509. "description": "证件号码 (加密存储)",
  14510. "type": "string"
  14511. },
  14512. "cardtype": {
  14513. "description": "证件类型",
  14514. "type": "integer"
  14515. },
  14516. "cityid": {
  14517. "description": "市",
  14518. "type": "integer"
  14519. },
  14520. "company": {
  14521. "description": "公司(个人)",
  14522. "type": "string"
  14523. },
  14524. "contactcardbackphotourl": {
  14525. "description": "联系人证件背面图片地址",
  14526. "type": "string"
  14527. },
  14528. "contactcardfrontphotourl": {
  14529. "description": "联系人证件正面图片地址",
  14530. "type": "string"
  14531. },
  14532. "contactname": {
  14533. "description": "联系人",
  14534. "type": "string"
  14535. },
  14536. "countryid": {
  14537. "description": "国家",
  14538. "type": "integer"
  14539. },
  14540. "createtime": {
  14541. "description": "开户申请时间",
  14542. "type": "string"
  14543. },
  14544. "cusbankid": {
  14545. "description": "签约类型",
  14546. "type": "string"
  14547. },
  14548. "cusbankname": {
  14549. "description": "签约类型名称",
  14550. "type": "string"
  14551. },
  14552. "customername": {
  14553. "description": "客户名称(企业名称)",
  14554. "type": "string"
  14555. },
  14556. "districtid": {
  14557. "description": "地区",
  14558. "type": "integer"
  14559. },
  14560. "email": {
  14561. "description": "Email地址(加密存储)",
  14562. "type": "string"
  14563. },
  14564. "halfbodyphotourl": {
  14565. "description": "半身照地址",
  14566. "type": "string"
  14567. },
  14568. "headurl": {
  14569. "description": "头像地址",
  14570. "type": "string"
  14571. },
  14572. "ipaddress": {
  14573. "description": "IP地址",
  14574. "type": "string"
  14575. },
  14576. "isvalidate": {
  14577. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14578. "type": "string"
  14579. },
  14580. "legalcardbackphotourl": {
  14581. "description": "法人身份证背面照地址",
  14582. "type": "string"
  14583. },
  14584. "legalcardfrontphotourl": {
  14585. "description": "法人身份证正面照地址",
  14586. "type": "string"
  14587. },
  14588. "legalpersonname": {
  14589. "description": "法人姓名(企业)",
  14590. "type": "string"
  14591. },
  14592. "logincode": {
  14593. "description": "登录帐号 (加密存储)",
  14594. "type": "string"
  14595. },
  14596. "memberareaid": {
  14597. "description": "所属会员ID",
  14598. "type": "integer"
  14599. },
  14600. "mobile2": {
  14601. "description": "手机号码[明文-尚志]",
  14602. "type": "string"
  14603. },
  14604. "mobilephone": {
  14605. "description": "手机号码 (加密存储)",
  14606. "type": "string"
  14607. },
  14608. "modifiedby": {
  14609. "description": "修改人帐号",
  14610. "type": "integer"
  14611. },
  14612. "modifiedtime": {
  14613. "description": "修改时间",
  14614. "type": "string"
  14615. },
  14616. "nickname": {
  14617. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14618. "type": "string"
  14619. },
  14620. "openmode": {
  14621. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14622. "type": "integer"
  14623. },
  14624. "otherurl": {
  14625. "description": "其它图片地址[使用分号分隔]",
  14626. "type": "string"
  14627. },
  14628. "postalcode": {
  14629. "description": "邮政编码",
  14630. "type": "string"
  14631. },
  14632. "provinceid": {
  14633. "description": "省",
  14634. "type": "integer"
  14635. },
  14636. "proxystatementurl": {
  14637. "description": "授权委托书",
  14638. "type": "string"
  14639. },
  14640. "qq": {
  14641. "description": "QQ(加密存储",
  14642. "type": "string"
  14643. },
  14644. "referral": {
  14645. "description": "推荐人编码",
  14646. "type": "string"
  14647. },
  14648. "remark": {
  14649. "description": "备注",
  14650. "type": "string"
  14651. },
  14652. "removebeforestatus": {
  14653. "description": "REMOVEBEFORESTATUS",
  14654. "type": "integer"
  14655. },
  14656. "sex": {
  14657. "description": "性别 - 0:女 1:男",
  14658. "type": "integer"
  14659. },
  14660. "signedstatus": {
  14661. "description": "账户一号签签约状态",
  14662. "type": "integer"
  14663. },
  14664. "signpdfurl": {
  14665. "description": "签约pdf文件",
  14666. "type": "string"
  14667. },
  14668. "subbranch": {
  14669. "description": "开户支行",
  14670. "type": "string"
  14671. },
  14672. "telphone": {
  14673. "description": "联系电话(加密存储)",
  14674. "type": "string"
  14675. },
  14676. "userid": {
  14677. "description": "用户ID(自增ID)",
  14678. "type": "integer"
  14679. },
  14680. "userinfotype": {
  14681. "description": "用户信息类型 - 1:个人 2:企业",
  14682. "type": "integer"
  14683. },
  14684. "username": {
  14685. "description": "用户姓名",
  14686. "type": "string"
  14687. },
  14688. "userstate": {
  14689. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14690. "type": "integer"
  14691. },
  14692. "usertype": {
  14693. "description": "用户类型 - 1:投资者 2:机构",
  14694. "type": "integer"
  14695. },
  14696. "videourl": {
  14697. "description": "视频地址",
  14698. "type": "string"
  14699. },
  14700. "wechat": {
  14701. "description": "微信号 (加密存储)",
  14702. "type": "string"
  14703. }
  14704. }
  14705. },
  14706. "erms3.QryAuditContractRsp": {
  14707. "type": "object",
  14708. "required": [
  14709. "matchcustomername",
  14710. "spotcontractid"
  14711. ],
  14712. "properties": {
  14713. "accountid": {
  14714. "description": "交易员ID",
  14715. "type": "string"
  14716. },
  14717. "applystatus": {
  14718. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14719. "type": "integer"
  14720. },
  14721. "curdeliveryqty": {
  14722. "description": "未交收量",
  14723. "type": "integer"
  14724. },
  14725. "customername": {
  14726. "description": "采购方ID",
  14727. "type": "string"
  14728. },
  14729. "deliverygoodsid": {
  14730. "description": "品种ID",
  14731. "type": "string"
  14732. },
  14733. "deliveryqty": {
  14734. "description": "交收量",
  14735. "type": "integer"
  14736. },
  14737. "enumdicname": {
  14738. "description": "单位名称",
  14739. "type": "string"
  14740. },
  14741. "matchaccountid": {
  14742. "description": "业务员ID",
  14743. "type": "string"
  14744. },
  14745. "matchcustomername": {
  14746. "description": "销售方ID",
  14747. "type": "string"
  14748. },
  14749. "pricedqty": {
  14750. "description": "定价量",
  14751. "type": "number"
  14752. },
  14753. "signdate": {
  14754. "description": "签订日期",
  14755. "type": "string"
  14756. },
  14757. "spotcontractid": {
  14758. "description": "合同ID",
  14759. "type": "string"
  14760. },
  14761. "totaldqty": {
  14762. "description": "合同量",
  14763. "type": "number"
  14764. },
  14765. "unpricedqty": {
  14766. "description": "未定价量",
  14767. "type": "number"
  14768. },
  14769. "wrstandardname": {
  14770. "description": "商品名称",
  14771. "type": "string"
  14772. }
  14773. }
  14774. },
  14775. "erms3.QryPendingBizRsp": {
  14776. "type": "object",
  14777. "properties": {
  14778. "accountid": {
  14779. "description": "现货账户",
  14780. "type": "string"
  14781. },
  14782. "areaname": {
  14783. "description": "所属部门",
  14784. "type": "string"
  14785. },
  14786. "bizid": {
  14787. "description": "业务ID",
  14788. "type": "string"
  14789. },
  14790. "bizname": {
  14791. "description": "业务名称",
  14792. "type": "string"
  14793. },
  14794. "status": {
  14795. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14796. "type": "integer"
  14797. },
  14798. "type": {
  14799. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  14800. "type": "integer"
  14801. }
  14802. }
  14803. },
  14804. "erms3.QueryBusinessInfoRsp": {
  14805. "type": "object",
  14806. "properties": {
  14807. "businessid": {
  14808. "description": "业务ID.",
  14809. "type": "integer"
  14810. },
  14811. "buyamount": {
  14812. "description": "采购额.",
  14813. "type": "number"
  14814. },
  14815. "buyqty": {
  14816. "description": "采购量.",
  14817. "type": "string"
  14818. },
  14819. "futurepl": {
  14820. "description": "期货盈亏.",
  14821. "type": "number"
  14822. },
  14823. "futureqty": {
  14824. "description": "期货敞口.",
  14825. "type": "string"
  14826. },
  14827. "goodsid": {
  14828. "description": "商品名称/商品代码.",
  14829. "type": "string"
  14830. },
  14831. "hedgingqty": {
  14832. "description": "套保量.",
  14833. "type": "string"
  14834. },
  14835. "sellamount": {
  14836. "description": "销售额.",
  14837. "type": "number"
  14838. },
  14839. "sellqty": {
  14840. "description": "销售量.",
  14841. "type": "string"
  14842. },
  14843. "spotmarketvalue": {
  14844. "description": "现货市值.",
  14845. "type": "number"
  14846. },
  14847. "spotpl": {
  14848. "description": "浮动权益.",
  14849. "type": "number"
  14850. },
  14851. "spotqty": {
  14852. "description": "现货量.",
  14853. "type": "string"
  14854. },
  14855. "statu": {
  14856. "description": "状态,0-未结束 1-已结束.",
  14857. "type": "integer"
  14858. },
  14859. "totalpl": {
  14860. "description": "总盈亏.",
  14861. "type": "number"
  14862. },
  14863. "totalqty": {
  14864. "description": "总敞口.",
  14865. "type": "string"
  14866. },
  14867. "type": {
  14868. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14869. "type": "integer"
  14870. }
  14871. }
  14872. },
  14873. "erms3.QuerySpotContractAppleFormRsp": {
  14874. "type": "object",
  14875. "properties": {
  14876. "goodses": {
  14877. "description": "合约列表",
  14878. "type": "array",
  14879. "items": {
  14880. "$ref": "#/definitions/models.GoodsIDAndName"
  14881. }
  14882. },
  14883. "oppositeusers": {
  14884. "description": "对方账号列表",
  14885. "type": "array",
  14886. "items": {
  14887. "$ref": "#/definitions/erms3.CustomerInfo"
  14888. }
  14889. },
  14890. "ouruser": {
  14891. "description": "我方账号",
  14892. "$ref": "#/definitions/erms3.CustomerInfo"
  14893. },
  14894. "warehouseinfos": {
  14895. "description": "仓库信息列表",
  14896. "type": "array",
  14897. "items": {
  14898. "$ref": "#/definitions/models.Warehouseinfo"
  14899. }
  14900. },
  14901. "wrstandards": {
  14902. "description": "仓单标准列表",
  14903. "type": "array",
  14904. "items": {
  14905. "$ref": "#/definitions/models.WRStandardInfo"
  14906. }
  14907. }
  14908. }
  14909. },
  14910. "erms3.QuerySpotContractInfoRsp": {
  14911. "type": "object",
  14912. "properties": {
  14913. "accountid": {
  14914. "description": "表示交易员ID.",
  14915. "type": "integer"
  14916. },
  14917. "curdeliveryqty": {
  14918. "description": "表示未交收量.",
  14919. "type": "number"
  14920. },
  14921. "customername": {
  14922. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14923. "type": "string"
  14924. },
  14925. "deliverygoodsid": {
  14926. "description": "表示品种ID.",
  14927. "type": "string"
  14928. },
  14929. "deliveryqty": {
  14930. "description": "表示交收量.",
  14931. "type": "number"
  14932. },
  14933. "matchaccountid": {
  14934. "description": "表示业务员ID.",
  14935. "type": "integer"
  14936. },
  14937. "matchcustomername": {
  14938. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14939. "type": "string"
  14940. },
  14941. "priceqty": {
  14942. "description": "表示定价量.",
  14943. "type": "number"
  14944. },
  14945. "relatedbizid": {
  14946. "description": "表示业务ID.",
  14947. "type": "string"
  14948. },
  14949. "signdate": {
  14950. "description": "表示签订日期.",
  14951. "type": "string"
  14952. },
  14953. "spotcontractid": {
  14954. "description": "合同ID",
  14955. "type": "string"
  14956. },
  14957. "status": {
  14958. "description": "表示状态,0-履约中 1-已完成.",
  14959. "type": "integer"
  14960. },
  14961. "totalqty": {
  14962. "description": "表示合同量.",
  14963. "type": "number"
  14964. },
  14965. "unpricedqty": {
  14966. "description": "表示未定价量.",
  14967. "type": "number"
  14968. },
  14969. "wrstandardname": {
  14970. "description": "表示商品ID.",
  14971. "type": "string"
  14972. }
  14973. }
  14974. },
  14975. "erms3.QueryUserInfoAppliesRsp": {
  14976. "type": "object",
  14977. "required": [
  14978. "userid"
  14979. ],
  14980. "properties": {
  14981. "biznature": {
  14982. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14983. "type": "integer"
  14984. },
  14985. "contactname": {
  14986. "description": "联系人",
  14987. "type": "string"
  14988. },
  14989. "createtime": {
  14990. "description": "开户申请时间",
  14991. "type": "string"
  14992. },
  14993. "userid": {
  14994. "description": "用户ID(自增ID)",
  14995. "type": "integer"
  14996. },
  14997. "userinfotype": {
  14998. "description": "用户信息类型 - 1:个人 2:企业",
  14999. "type": "integer"
  15000. },
  15001. "username": {
  15002. "description": "用户姓名",
  15003. "type": "string"
  15004. },
  15005. "userstate": {
  15006. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15007. "type": "integer"
  15008. }
  15009. }
  15010. },
  15011. "erms3.QueryUserInfosRsp": {
  15012. "type": "object",
  15013. "required": [
  15014. "userid"
  15015. ],
  15016. "properties": {
  15017. "biznature": {
  15018. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15019. "type": "integer"
  15020. },
  15021. "contactname": {
  15022. "description": "联系人",
  15023. "type": "string"
  15024. },
  15025. "customername": {
  15026. "description": "客户名称(企业名称)",
  15027. "type": "string"
  15028. },
  15029. "userid": {
  15030. "description": "用户ID",
  15031. "type": "integer"
  15032. },
  15033. "userinfotype": {
  15034. "description": "用户信息类型 - 1:个人 2:企业",
  15035. "type": "integer"
  15036. },
  15037. "userstatus": {
  15038. "description": "用户状态 - 1:正常 2:注销",
  15039. "type": "integer"
  15040. }
  15041. }
  15042. },
  15043. "erms3.SoptContractDetail": {
  15044. "type": "object",
  15045. "required": [
  15046. "deliverygoodsid",
  15047. "producttype",
  15048. "unitname",
  15049. "warehouseid",
  15050. "wrstandardid",
  15051. "wrstandardname"
  15052. ],
  15053. "properties": {
  15054. "deliverygoodsdesc": {
  15055. "description": "现货品种说明",
  15056. "type": "string"
  15057. },
  15058. "deliverygoodsid": {
  15059. "description": "现货品种ID",
  15060. "type": "integer"
  15061. },
  15062. "deliverygoodsname": {
  15063. "description": "现货品种名称",
  15064. "type": "string"
  15065. },
  15066. "pointdesc": {
  15067. "description": "点价描述",
  15068. "type": "string"
  15069. },
  15070. "producttype": {
  15071. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15072. "type": "integer"
  15073. },
  15074. "producttypename": {
  15075. "description": "产品类型名称",
  15076. "type": "string"
  15077. },
  15078. "spotPointOrderVoList": {
  15079. "description": "点价列表",
  15080. "type": "array",
  15081. "items": {
  15082. "$ref": "#/definitions/erms3.SpotPointOrder"
  15083. }
  15084. },
  15085. "spotPriceOrderList": {
  15086. "description": "定价列表",
  15087. "type": "array",
  15088. "items": {
  15089. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15090. }
  15091. },
  15092. "unitname": {
  15093. "description": "单位名称",
  15094. "type": "string"
  15095. },
  15096. "warehouseid": {
  15097. "description": "仓库ID",
  15098. "type": "integer"
  15099. },
  15100. "warehousename": {
  15101. "description": "仓库名称",
  15102. "type": "string"
  15103. },
  15104. "wrstandardid": {
  15105. "description": "交易标的ID",
  15106. "type": "integer"
  15107. },
  15108. "wrstandardname": {
  15109. "description": "交易标的名称",
  15110. "type": "string"
  15111. }
  15112. }
  15113. },
  15114. "erms3.SpotPointOrder": {
  15115. "type": "object",
  15116. "required": [
  15117. "basic",
  15118. "goodsid",
  15119. "qty"
  15120. ],
  15121. "properties": {
  15122. "basic": {
  15123. "description": "基差",
  15124. "type": "number"
  15125. },
  15126. "deliveryenddate": {
  15127. "description": "交收结束日期",
  15128. "type": "string"
  15129. },
  15130. "deliverystartdate": {
  15131. "description": "交收开始日期",
  15132. "type": "string"
  15133. },
  15134. "enddate": {
  15135. "description": "点价结束日期",
  15136. "type": "string"
  15137. },
  15138. "goodsid": {
  15139. "description": "商品ID",
  15140. "type": "integer"
  15141. },
  15142. "goodsname": {
  15143. "description": "商品名称",
  15144. "type": "string"
  15145. },
  15146. "qty": {
  15147. "description": "数量",
  15148. "type": "number"
  15149. },
  15150. "startdate": {
  15151. "description": "点价开始日期",
  15152. "type": "string"
  15153. }
  15154. }
  15155. },
  15156. "erms3.SpotPriceOrder": {
  15157. "type": "object",
  15158. "required": [
  15159. "amount",
  15160. "price",
  15161. "qty"
  15162. ],
  15163. "properties": {
  15164. "amount": {
  15165. "description": "金额",
  15166. "type": "number"
  15167. },
  15168. "deliveryenddate": {
  15169. "description": "交收结束日期",
  15170. "type": "string"
  15171. },
  15172. "deliverystartdate": {
  15173. "description": "交收开始日期",
  15174. "type": "string"
  15175. },
  15176. "price": {
  15177. "description": "价格",
  15178. "type": "number"
  15179. },
  15180. "qty": {
  15181. "description": "数量",
  15182. "type": "number"
  15183. }
  15184. }
  15185. },
  15186. "hsby.GetHsbyMyCountRsp": {
  15187. "type": "object",
  15188. "properties": {
  15189. "myCouponCount": {
  15190. "description": "我的优惠卷数量",
  15191. "type": "integer"
  15192. },
  15193. "myOrderDetailListingCount": {
  15194. "description": "我的订单求购中数量",
  15195. "type": "integer"
  15196. },
  15197. "myOrderDetailPreCount": {
  15198. "description": "我的订单抢购中数量",
  15199. "type": "integer"
  15200. },
  15201. "myPackageUnReceiveCount": {
  15202. "description": "我的包裹待收货数量",
  15203. "type": "integer"
  15204. },
  15205. "myPackageUnSendCount": {
  15206. "description": "我的包裹待发货数量",
  15207. "type": "integer"
  15208. },
  15209. "myPayOrderCount": {
  15210. "description": "我的订单待付款数量",
  15211. "type": "integer"
  15212. }
  15213. }
  15214. },
  15215. "hsby.QueryProvincesAndCitiesRsp": {
  15216. "type": "object",
  15217. "properties": {
  15218. "cities": {
  15219. "description": "市",
  15220. "type": "array",
  15221. "items": {
  15222. "$ref": "#/definitions/models.Division"
  15223. }
  15224. },
  15225. "province": {
  15226. "description": "省",
  15227. "$ref": "#/definitions/models.Division"
  15228. }
  15229. }
  15230. },
  15231. "models.Clientfixedadconfig": {
  15232. "type": "object",
  15233. "required": [
  15234. "adsort",
  15235. "adtype"
  15236. ],
  15237. "properties": {
  15238. "adsort": {
  15239. "description": "排序",
  15240. "type": "integer"
  15241. },
  15242. "adtype": {
  15243. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15244. "type": "integer"
  15245. },
  15246. "areauserid": {
  15247. "description": "所属机构ID",
  15248. "type": "integer"
  15249. },
  15250. "createdate": {
  15251. "description": "创建时间",
  15252. "type": "string"
  15253. },
  15254. "creatorid": {
  15255. "description": "创建人",
  15256. "type": "integer"
  15257. },
  15258. "imagepath": {
  15259. "description": "图片",
  15260. "type": "string"
  15261. },
  15262. "isshow": {
  15263. "description": "是否展示 - 0:不展示 1:展示",
  15264. "type": "integer"
  15265. },
  15266. "modifierid": {
  15267. "description": "操作人",
  15268. "type": "integer"
  15269. },
  15270. "recsize": {
  15271. "description": "推荐尺寸",
  15272. "type": "string"
  15273. },
  15274. "title": {
  15275. "description": "标题",
  15276. "type": "string"
  15277. },
  15278. "updatedate": {
  15279. "description": "更新时间",
  15280. "type": "string"
  15281. },
  15282. "urlcontent": {
  15283. "description": "链接(地址或商品ID)",
  15284. "type": "string"
  15285. },
  15286. "urltype": {
  15287. "description": "链接类型 - 1:直接地址 2:商品ID",
  15288. "type": "integer"
  15289. }
  15290. }
  15291. },
  15292. "models.Division": {
  15293. "type": "object",
  15294. "required": [
  15295. "autoid",
  15296. "divisioncode"
  15297. ],
  15298. "properties": {
  15299. "autoid": {
  15300. "description": "自增ID",
  15301. "type": "integer"
  15302. },
  15303. "divisioncode": {
  15304. "description": "行政代码",
  15305. "type": "string"
  15306. },
  15307. "divisionlevel": {
  15308. "description": "行政级别",
  15309. "type": "string"
  15310. },
  15311. "divisionname": {
  15312. "description": "行政名称",
  15313. "type": "string"
  15314. },
  15315. "modifierid": {
  15316. "description": "修改人",
  15317. "type": "integer"
  15318. },
  15319. "modifytime": {
  15320. "description": "修改时间",
  15321. "type": "string"
  15322. },
  15323. "parentcode": {
  15324. "description": "上级行政代码",
  15325. "type": "string"
  15326. },
  15327. "pathname": {
  15328. "description": "路径名称",
  15329. "type": "string"
  15330. },
  15331. "postcode": {
  15332. "description": "邮政编码",
  15333. "type": "string"
  15334. },
  15335. "separablename": {
  15336. "description": "可拆分的全称",
  15337. "type": "string"
  15338. },
  15339. "shortcode": {
  15340. "description": "地区简码",
  15341. "type": "string"
  15342. }
  15343. }
  15344. },
  15345. "models.Enumdicitem": {
  15346. "type": "object",
  15347. "required": [
  15348. "autoid",
  15349. "enumdiccode",
  15350. "enumdicid",
  15351. "enumitemname"
  15352. ],
  15353. "properties": {
  15354. "autoid": {
  15355. "description": "自增ID",
  15356. "type": "integer"
  15357. },
  15358. "bankmappedvalue": {
  15359. "description": "银行服务对应值",
  15360. "type": "string"
  15361. },
  15362. "enumdiccode": {
  15363. "description": "所属枚举代码",
  15364. "type": "string"
  15365. },
  15366. "enumdicid": {
  15367. "description": "所属枚举ID",
  15368. "type": "integer"
  15369. },
  15370. "enumdicname": {
  15371. "description": "枚举项名称",
  15372. "type": "string"
  15373. },
  15374. "enumitemname": {
  15375. "description": "枚举项值",
  15376. "type": "integer"
  15377. },
  15378. "enumitemstatus": {
  15379. "description": "枚举项状态 - 1.启用 2.不启用",
  15380. "type": "integer"
  15381. },
  15382. "enumitemvalue": {
  15383. "description": "通用值 - [币种通用简写]",
  15384. "type": "string"
  15385. },
  15386. "param1": {
  15387. "description": "参数1[币种:币种小数位]",
  15388. "type": "string"
  15389. },
  15390. "param2": {
  15391. "description": "参数1[币种:币种显示单位]",
  15392. "type": "string"
  15393. },
  15394. "remark": {
  15395. "description": "备注",
  15396. "type": "string"
  15397. }
  15398. }
  15399. },
  15400. "models.Ermcp3AreaSpot": {
  15401. "type": "object",
  15402. "properties": {
  15403. "areauserid": {
  15404. "description": "所属机构",
  15405. "type": "integer"
  15406. },
  15407. "decreaseqty": {
  15408. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15409. "type": "number"
  15410. },
  15411. "deliverygoodscode": {
  15412. "description": "现货品种代码",
  15413. "type": "string"
  15414. },
  15415. "deliverygoodsid": {
  15416. "description": "现货品种id",
  15417. "type": "integer"
  15418. },
  15419. "deliverygoodsname": {
  15420. "description": "现货品种名称",
  15421. "type": "string"
  15422. },
  15423. "increaseqty": {
  15424. "description": "增加数量=销售计划数量+采购已定价数量",
  15425. "type": "number"
  15426. },
  15427. "oritoalspotqty": {
  15428. "description": "昨日数量",
  15429. "type": "number"
  15430. },
  15431. "totalspotqty": {
  15432. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15433. "type": "number"
  15434. },
  15435. "updatetime": {
  15436. "description": "更新时间",
  15437. "type": "string"
  15438. }
  15439. }
  15440. },
  15441. "models.Ermcp3AreaSpotDetail": {
  15442. "type": "object",
  15443. "properties": {
  15444. "contracttype": {
  15445. "description": "合同类型 1-采购 -1-销售",
  15446. "type": "integer"
  15447. },
  15448. "createtime": {
  15449. "description": "创建时间",
  15450. "type": "string"
  15451. },
  15452. "deliverygoodscode": {
  15453. "description": "现货品种代码",
  15454. "type": "string"
  15455. },
  15456. "deliverygoodsid": {
  15457. "description": "现货品种id",
  15458. "type": "integer"
  15459. },
  15460. "deliverygoodsname": {
  15461. "description": "现货品种名称",
  15462. "type": "string"
  15463. },
  15464. "enumdicname": {
  15465. "description": "现货商品单位名称",
  15466. "type": "string"
  15467. },
  15468. "logtype": {
  15469. "description": "记录类型 1-套保 2-现货合同",
  15470. "type": "integer"
  15471. },
  15472. "qty": {
  15473. "description": "数量",
  15474. "type": "number"
  15475. },
  15476. "recordname": {
  15477. "description": "类型名称",
  15478. "type": "string"
  15479. },
  15480. "relatedid": {
  15481. "description": "套保计划ID/现货合同ID",
  15482. "type": "string"
  15483. },
  15484. "relatedno": {
  15485. "description": "编号",
  15486. "type": "string"
  15487. },
  15488. "strtime": {
  15489. "description": "时间",
  15490. "type": "string"
  15491. }
  15492. }
  15493. },
  15494. "models.Ermcp3AreaStockApply": {
  15495. "type": "object",
  15496. "properties": {
  15497. "applyid": {
  15498. "description": "申请人",
  15499. "type": "integer"
  15500. },
  15501. "applyname": {
  15502. "description": "申请人名称",
  15503. "type": "string"
  15504. },
  15505. "applyremark": {
  15506. "description": "申请备注",
  15507. "type": "string"
  15508. },
  15509. "applysrc": {
  15510. "description": "申请来源 - 1:管理端 2:终端",
  15511. "type": "integer"
  15512. },
  15513. "applystatus": {
  15514. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15515. "type": "integer"
  15516. },
  15517. "applytime": {
  15518. "description": "申请时间",
  15519. "type": "string"
  15520. },
  15521. "auditid": {
  15522. "description": "审核人",
  15523. "type": "integer"
  15524. },
  15525. "auditname": {
  15526. "description": "审核人名称",
  15527. "type": "string"
  15528. },
  15529. "auditremark": {
  15530. "description": "审核备注",
  15531. "type": "string"
  15532. },
  15533. "auditsrc": {
  15534. "description": "审核来源 - 1:管理端 2:终端",
  15535. "type": "integer"
  15536. },
  15537. "audittime": {
  15538. "description": "审核时间",
  15539. "type": "string"
  15540. },
  15541. "audittradedate": {
  15542. "description": "审核交易日(yyyyMMdd)",
  15543. "type": "string"
  15544. },
  15545. "brandname": {
  15546. "description": "品牌名称",
  15547. "type": "string"
  15548. },
  15549. "buynickname": {
  15550. "description": "采购方昵称",
  15551. "type": "string"
  15552. },
  15553. "buyuserid": {
  15554. "description": "采购方userid",
  15555. "type": "integer"
  15556. },
  15557. "buyusername": {
  15558. "description": "采购方名称",
  15559. "type": "string"
  15560. },
  15561. "contractno": {
  15562. "description": "合同编号",
  15563. "type": "string"
  15564. },
  15565. "contractqty": {
  15566. "description": "合同量",
  15567. "type": "number"
  15568. },
  15569. "contracttype": {
  15570. "description": "现货合同类型 - 1:采购 -1:销售",
  15571. "type": "integer"
  15572. },
  15573. "deliverygoodscode": {
  15574. "description": "现货品种代码",
  15575. "type": "string"
  15576. },
  15577. "deliverygoodsid": {
  15578. "description": "现货品种id",
  15579. "type": "integer"
  15580. },
  15581. "deliverygoodsname": {
  15582. "description": "现货品种名称",
  15583. "type": "string"
  15584. },
  15585. "enumdicname": {
  15586. "description": "现货商品单位名称",
  15587. "type": "string"
  15588. },
  15589. "inoutapplyid": {
  15590. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15591. "type": "string"
  15592. },
  15593. "inouttype": {
  15594. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15595. "type": "integer"
  15596. },
  15597. "pricetype": {
  15598. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15599. "type": "integer"
  15600. },
  15601. "qty": {
  15602. "description": "数量",
  15603. "type": "number"
  15604. },
  15605. "sellnickname": {
  15606. "description": "销售方昵称",
  15607. "type": "string"
  15608. },
  15609. "selluserid": {
  15610. "description": "销售方userid",
  15611. "type": "integer"
  15612. },
  15613. "sellusername": {
  15614. "description": "销售方名称",
  15615. "type": "string"
  15616. },
  15617. "spotcontractid": {
  15618. "description": "关联现货合同ID",
  15619. "type": "string"
  15620. },
  15621. "spotgoodsbrandid": {
  15622. "description": "现货品牌ID",
  15623. "type": "integer"
  15624. },
  15625. "unitid": {
  15626. "description": "单位id",
  15627. "type": "integer"
  15628. },
  15629. "userid": {
  15630. "description": "机构ID",
  15631. "type": "integer"
  15632. },
  15633. "warehousecode": {
  15634. "description": "仓库代码",
  15635. "type": "string"
  15636. },
  15637. "warehouseinfoid": {
  15638. "description": "现货仓库ID",
  15639. "type": "string"
  15640. },
  15641. "warehousename": {
  15642. "description": "仓库名称",
  15643. "type": "string"
  15644. },
  15645. "warehousetype": {
  15646. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15647. "type": "integer"
  15648. },
  15649. "wrstandardcode": {
  15650. "description": "品类代码",
  15651. "type": "string"
  15652. },
  15653. "wrstandardid": {
  15654. "description": "品类ID",
  15655. "type": "integer"
  15656. },
  15657. "wrstandardname": {
  15658. "description": "品类名称",
  15659. "type": "string"
  15660. }
  15661. }
  15662. },
  15663. "models.Ermcp3AreaStockApplySum": {
  15664. "type": "object",
  15665. "properties": {
  15666. "brandname": {
  15667. "description": "品牌名称",
  15668. "type": "string"
  15669. },
  15670. "inouttype": {
  15671. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15672. "type": "integer"
  15673. },
  15674. "spotcontractid": {
  15675. "description": "关联现货合同ID",
  15676. "type": "string"
  15677. },
  15678. "spotgoodsbrandid": {
  15679. "description": "品牌id",
  15680. "type": "integer"
  15681. },
  15682. "totalqty": {
  15683. "description": "总数量",
  15684. "type": "number"
  15685. },
  15686. "wrstandardid": {
  15687. "description": "品类id",
  15688. "type": "integer"
  15689. },
  15690. "wrstandardname": {
  15691. "description": "品类名称",
  15692. "type": "string"
  15693. }
  15694. }
  15695. },
  15696. "models.Ermcp3AreaStockReport": {
  15697. "type": "object",
  15698. "properties": {
  15699. "brandname": {
  15700. "description": "品牌名称",
  15701. "type": "string"
  15702. },
  15703. "curstock": {
  15704. "description": "期末库存量",
  15705. "type": "number"
  15706. },
  15707. "deliverygoodscode": {
  15708. "description": "现货品种代码",
  15709. "type": "string"
  15710. },
  15711. "deliverygoodsid": {
  15712. "description": "现货品种id",
  15713. "type": "integer"
  15714. },
  15715. "deliverygoodsname": {
  15716. "description": "现货品种名称",
  15717. "type": "string"
  15718. },
  15719. "enumdicname": {
  15720. "description": "单位名称",
  15721. "type": "string"
  15722. },
  15723. "goodsunitid": {
  15724. "description": "现货单位id",
  15725. "type": "integer"
  15726. },
  15727. "oristock": {
  15728. "description": "期初库存量",
  15729. "type": "number"
  15730. },
  15731. "spotgoodsbrandid": {
  15732. "description": "现货品牌ID",
  15733. "type": "integer"
  15734. },
  15735. "todaybuyinqty": {
  15736. "description": "今日采购入库量",
  15737. "type": "number"
  15738. },
  15739. "todayproduceinqty": {
  15740. "description": "今日生产入库量",
  15741. "type": "number"
  15742. },
  15743. "todayproduceoutqty": {
  15744. "description": "今日生产出库量",
  15745. "type": "number"
  15746. },
  15747. "todayselloutqty": {
  15748. "description": "今日销售出库量",
  15749. "type": "number"
  15750. },
  15751. "unitid": {
  15752. "description": "品类单位id",
  15753. "type": "integer"
  15754. },
  15755. "updatetime": {
  15756. "description": "更新时间",
  15757. "type": "string"
  15758. },
  15759. "userid": {
  15760. "description": "机构ID",
  15761. "type": "integer"
  15762. },
  15763. "username": {
  15764. "description": "机构名称",
  15765. "type": "string"
  15766. },
  15767. "warehousecode": {
  15768. "description": "仓库代码",
  15769. "type": "string"
  15770. },
  15771. "warehouseinfoid": {
  15772. "description": "仓库ID",
  15773. "type": "string"
  15774. },
  15775. "warehousename": {
  15776. "description": "仓库名称",
  15777. "type": "string"
  15778. },
  15779. "warehousetype": {
  15780. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15781. "type": "integer"
  15782. },
  15783. "wrstandardcode": {
  15784. "description": "品类代码",
  15785. "type": "string"
  15786. },
  15787. "wrstandardid": {
  15788. "description": "品类ID",
  15789. "type": "integer"
  15790. },
  15791. "wrstandardname": {
  15792. "description": "品类名称",
  15793. "type": "string"
  15794. }
  15795. }
  15796. },
  15797. "models.Ermcp3Brand": {
  15798. "type": "object",
  15799. "properties": {
  15800. "areauserid": {
  15801. "description": "用户id",
  15802. "type": "integer"
  15803. },
  15804. "brandid": {
  15805. "description": "品牌id",
  15806. "type": "integer"
  15807. },
  15808. "brandname": {
  15809. "description": "品牌名称",
  15810. "type": "string"
  15811. },
  15812. "deliverygoodsid": {
  15813. "description": "品种ID",
  15814. "type": "integer"
  15815. }
  15816. }
  15817. },
  15818. "models.Ermcp3Contract": {
  15819. "type": "object",
  15820. "properties": {
  15821. "accountid": {
  15822. "description": "期货账户id",
  15823. "type": "string"
  15824. },
  15825. "amount": {
  15826. "description": "金额 [1:一口价、3:暂定价]",
  15827. "type": "number"
  15828. },
  15829. "attachment": {
  15830. "description": "附件",
  15831. "type": "string"
  15832. },
  15833. "auditremark": {
  15834. "description": "审核意见",
  15835. "type": "string"
  15836. },
  15837. "audittime": {
  15838. "description": "审核时间",
  15839. "type": "string"
  15840. },
  15841. "biztype": {
  15842. "description": "业务类型 1-套保 2-套利",
  15843. "type": "integer"
  15844. },
  15845. "brandname": {
  15846. "description": "品牌名称",
  15847. "type": "string"
  15848. },
  15849. "buynickname": {
  15850. "description": "销售方昵称",
  15851. "type": "string"
  15852. },
  15853. "buyuserid": {
  15854. "description": "采购方ID",
  15855. "type": "integer"
  15856. },
  15857. "buyusername": {
  15858. "description": "采购方名称",
  15859. "type": "string"
  15860. },
  15861. "contracctstatus": {
  15862. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15863. "type": "integer"
  15864. },
  15865. "contractmargin": {
  15866. "description": "合同保证金",
  15867. "type": "number"
  15868. },
  15869. "contractno": {
  15870. "description": "现货合同编号",
  15871. "type": "string"
  15872. },
  15873. "contracttype": {
  15874. "description": "现货合同类型 - 1:采购 -1:销售",
  15875. "type": "integer"
  15876. },
  15877. "convertfactor": {
  15878. "description": "标仓系数(品类)",
  15879. "type": "number"
  15880. },
  15881. "createtime": {
  15882. "description": "创建时间",
  15883. "type": "string"
  15884. },
  15885. "deliveryenddate": {
  15886. "description": "交收期(结束)",
  15887. "type": "string"
  15888. },
  15889. "deliverygoodscode": {
  15890. "description": "现货品种代码",
  15891. "type": "string"
  15892. },
  15893. "deliverygoodsid": {
  15894. "description": "现货品种ID",
  15895. "type": "integer"
  15896. },
  15897. "deliverygoodsname": {
  15898. "description": "现货品种名称",
  15899. "type": "string"
  15900. },
  15901. "deliverystartdate": {
  15902. "description": "交收期(开始)",
  15903. "type": "string"
  15904. },
  15905. "enddate": {
  15906. "description": "点价结束日期 [2:点价 3:暂定价]",
  15907. "type": "string"
  15908. },
  15909. "enumdicname": {
  15910. "description": "单位名称",
  15911. "type": "string"
  15912. },
  15913. "goodscode": {
  15914. "description": "点价合约代码",
  15915. "type": "string"
  15916. },
  15917. "goodsid": {
  15918. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15919. "type": "integer"
  15920. },
  15921. "goodsname": {
  15922. "description": "点价商品名称",
  15923. "type": "string"
  15924. },
  15925. "margin": {
  15926. "description": "当前保证金",
  15927. "type": "number"
  15928. },
  15929. "meruserid": {
  15930. "description": "跟单员id",
  15931. "type": "integer"
  15932. },
  15933. "meruserlogincode": {
  15934. "description": "跟单员登录代码",
  15935. "type": "string"
  15936. },
  15937. "price": {
  15938. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15939. "type": "number"
  15940. },
  15941. "pricemove": {
  15942. "description": "升贴水 [2:点价 3:暂定价]",
  15943. "type": "number"
  15944. },
  15945. "pricetype": {
  15946. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15947. "type": "integer"
  15948. },
  15949. "producttype": {
  15950. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15951. "type": "integer"
  15952. },
  15953. "qty": {
  15954. "description": "数量",
  15955. "type": "number"
  15956. },
  15957. "remark": {
  15958. "description": "备注",
  15959. "type": "string"
  15960. },
  15961. "saleuserid": {
  15962. "description": "业务员id",
  15963. "type": "integer"
  15964. },
  15965. "saleuserlogincode": {
  15966. "description": "业务员登录代码",
  15967. "type": "string"
  15968. },
  15969. "sellnickname": {
  15970. "description": "采购方昵称",
  15971. "type": "string"
  15972. },
  15973. "selluserid": {
  15974. "description": "销售方ID",
  15975. "type": "integer"
  15976. },
  15977. "sellusername": {
  15978. "description": "销售方名称",
  15979. "type": "string"
  15980. },
  15981. "spotcontractid": {
  15982. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15983. "type": "string"
  15984. },
  15985. "spotgoodsbrandid": {
  15986. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15987. "type": "integer"
  15988. },
  15989. "spotgoodsdesc": {
  15990. "description": "商品型号",
  15991. "type": "string"
  15992. },
  15993. "startdate": {
  15994. "description": "点价开始日期 [2:点价 3:暂定价]",
  15995. "type": "string"
  15996. },
  15997. "tradeuserid": {
  15998. "description": "交易员id",
  15999. "type": "integer"
  16000. },
  16001. "tradeuserlogincode": {
  16002. "description": "交易员登录代码",
  16003. "type": "string"
  16004. },
  16005. "unitid": {
  16006. "description": "单位id(取品类上的单位id)",
  16007. "type": "integer"
  16008. },
  16009. "updatetime": {
  16010. "description": "更新时间",
  16011. "type": "string"
  16012. },
  16013. "userid": {
  16014. "description": "所属机构ID",
  16015. "type": "integer"
  16016. },
  16017. "wrstandardcode": {
  16018. "description": "品类代码",
  16019. "type": "string"
  16020. },
  16021. "wrstandardid": {
  16022. "description": "品类ID",
  16023. "type": "integer"
  16024. },
  16025. "wrstandardname": {
  16026. "description": "品类名称",
  16027. "type": "string"
  16028. }
  16029. }
  16030. },
  16031. "models.Ermcp3ExposureDetail": {
  16032. "type": "object",
  16033. "properties": {
  16034. "areauserid": {
  16035. "description": "机构ID",
  16036. "type": "integer"
  16037. },
  16038. "changeQty": {
  16039. "description": "套保变动量",
  16040. "type": "number"
  16041. },
  16042. "contracttype": {
  16043. "description": "现货合同类型 - 1:采购 -1:销售",
  16044. "type": "integer"
  16045. },
  16046. "convertfactor": {
  16047. "description": "标仓系数",
  16048. "type": "number"
  16049. },
  16050. "convertratio": {
  16051. "description": "套保系数",
  16052. "type": "number"
  16053. },
  16054. "createtime": {
  16055. "description": "时间",
  16056. "type": "string"
  16057. },
  16058. "deliverygoodscode": {
  16059. "description": "现货品种代码",
  16060. "type": "string"
  16061. },
  16062. "deliverygoodsid": {
  16063. "description": "现货品种id",
  16064. "type": "integer"
  16065. },
  16066. "deliverygoodsname": {
  16067. "description": "现货品种名称",
  16068. "type": "string"
  16069. },
  16070. "enumdicname": {
  16071. "description": "现货商品单位名称",
  16072. "type": "string"
  16073. },
  16074. "logtype": {
  16075. "description": "类型 - 1:套保计划 2:现货合同",
  16076. "type": "integer"
  16077. },
  16078. "middlegoodsId": {
  16079. "description": "套保商品id",
  16080. "type": "integer"
  16081. },
  16082. "middlegoodscode": {
  16083. "description": "套保商品代码",
  16084. "type": "string"
  16085. },
  16086. "middlegoodsname": {
  16087. "description": "套保商品名称",
  16088. "type": "string"
  16089. },
  16090. "qty": {
  16091. "description": "数量",
  16092. "type": "number"
  16093. },
  16094. "relateNo": {
  16095. "description": "现货合同/套保计划编号",
  16096. "type": "string"
  16097. }
  16098. }
  16099. },
  16100. "models.Ermcp3HedgePlan": {
  16101. "type": "object",
  16102. "properties": {
  16103. "areauserid": {
  16104. "description": "用户ID",
  16105. "type": "integer"
  16106. },
  16107. "audittime": {
  16108. "description": "审核时间",
  16109. "type": "string"
  16110. },
  16111. "contracttype": {
  16112. "description": "计划类型 - 1:采购 -1:销售",
  16113. "type": "integer"
  16114. },
  16115. "convertfactor": {
  16116. "description": "标仓系数",
  16117. "type": "number"
  16118. },
  16119. "createtime": {
  16120. "description": "创建时间",
  16121. "type": "string"
  16122. },
  16123. "deliverygoodscode": {
  16124. "description": "现货品种代码",
  16125. "type": "string"
  16126. },
  16127. "deliverygoodsid": {
  16128. "description": "现货品种ID",
  16129. "type": "integer"
  16130. },
  16131. "deliverygoodsname": {
  16132. "description": "现货品种名称",
  16133. "type": "string"
  16134. },
  16135. "enumdicname": {
  16136. "description": "单位名称",
  16137. "type": "string"
  16138. },
  16139. "hedgeplanid": {
  16140. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16141. "type": "string"
  16142. },
  16143. "hedgeplanno": {
  16144. "description": "套保计划编号(名称)",
  16145. "type": "string"
  16146. },
  16147. "hedgeplanstatus": {
  16148. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16149. "type": "integer"
  16150. },
  16151. "planqty": {
  16152. "description": "计划数量",
  16153. "type": "number"
  16154. },
  16155. "plantime": {
  16156. "description": "计划时间",
  16157. "type": "string"
  16158. },
  16159. "producttype": {
  16160. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16161. "type": "integer"
  16162. },
  16163. "remark": {
  16164. "description": "备注",
  16165. "type": "string"
  16166. },
  16167. "spotgoodsdesc": {
  16168. "description": "商品型号",
  16169. "type": "string"
  16170. },
  16171. "unitid": {
  16172. "description": "单位id",
  16173. "type": "integer"
  16174. },
  16175. "updatetime": {
  16176. "description": "更新时间",
  16177. "type": "string"
  16178. }
  16179. }
  16180. },
  16181. "models.Ermcp3ReportAreaSpotPL": {
  16182. "type": "object",
  16183. "properties": {
  16184. "actualpl": {
  16185. "description": "实际损益",
  16186. "type": "number"
  16187. },
  16188. "areauserid": {
  16189. "description": "所属机构",
  16190. "type": "integer"
  16191. },
  16192. "brandname": {
  16193. "description": "品牌名称",
  16194. "type": "string"
  16195. },
  16196. "curamount": {
  16197. "description": "期末额",
  16198. "type": "number"
  16199. },
  16200. "curaverageprice": {
  16201. "description": "期末均价",
  16202. "type": "number"
  16203. },
  16204. "curbuyamount": {
  16205. "description": "期末采购总额(采购额)",
  16206. "type": "number"
  16207. },
  16208. "curbuyqty": {
  16209. "description": "期末采购总量",
  16210. "type": "number"
  16211. },
  16212. "curmarketvalue": {
  16213. "description": "参考市值",
  16214. "type": "number"
  16215. },
  16216. "curqty": {
  16217. "description": "期末量",
  16218. "type": "number"
  16219. },
  16220. "cursellamount": {
  16221. "description": "期末销售总额(销售额)",
  16222. "type": "number"
  16223. },
  16224. "cursellqty": {
  16225. "description": "期末销售总量",
  16226. "type": "number"
  16227. },
  16228. "curspotprice": {
  16229. "description": "参考市价",
  16230. "type": "number"
  16231. },
  16232. "deliverygoodscode": {
  16233. "description": "现货品种代码",
  16234. "type": "string"
  16235. },
  16236. "deliverygoodsid": {
  16237. "description": "现货品种id",
  16238. "type": "integer"
  16239. },
  16240. "deliverygoodsname": {
  16241. "description": "现货品种名称",
  16242. "type": "string"
  16243. },
  16244. "enumdicname": {
  16245. "description": "现货商品单位名称",
  16246. "type": "string"
  16247. },
  16248. "floatpl": {
  16249. "description": "浮动损益",
  16250. "type": "number"
  16251. },
  16252. "gbenumdicname": {
  16253. "description": "品类单位名称",
  16254. "type": "string"
  16255. },
  16256. "gbunitid": {
  16257. "description": "现货单位id",
  16258. "type": "integer"
  16259. },
  16260. "modelname": {
  16261. "description": "品类名称",
  16262. "type": "string"
  16263. },
  16264. "oriamount": {
  16265. "description": "期初额",
  16266. "type": "number"
  16267. },
  16268. "oriaverageprice": {
  16269. "description": "期初均价",
  16270. "type": "number"
  16271. },
  16272. "oribuyamount": {
  16273. "description": "期初采购总额",
  16274. "type": "number"
  16275. },
  16276. "oribuyqty": {
  16277. "description": "期初采购总量",
  16278. "type": "number"
  16279. },
  16280. "oriqty": {
  16281. "description": "期初量",
  16282. "type": "number"
  16283. },
  16284. "orisellamount": {
  16285. "description": "期初销售总额",
  16286. "type": "number"
  16287. },
  16288. "orisellqty": {
  16289. "description": "期初销售总量",
  16290. "type": "number"
  16291. },
  16292. "spotgoodsbrandid": {
  16293. "description": "现货品牌ID",
  16294. "type": "integer"
  16295. },
  16296. "todaybuyamount": {
  16297. "description": "今日采购额",
  16298. "type": "number"
  16299. },
  16300. "todaybuyaverageprice": {
  16301. "description": "今日采购均价(采购均价)",
  16302. "type": "number"
  16303. },
  16304. "todaybuyqty": {
  16305. "description": "今日采购量(采购增量)",
  16306. "type": "number"
  16307. },
  16308. "todaysellamount": {
  16309. "description": "今日销售额",
  16310. "type": "number"
  16311. },
  16312. "todaysellaverageprice": {
  16313. "description": "今日销售均价(销售均价)",
  16314. "type": "number"
  16315. },
  16316. "todaysellqty": {
  16317. "description": "今日销售量(销售增量)",
  16318. "type": "number"
  16319. },
  16320. "unitid": {
  16321. "description": "品类单位id",
  16322. "type": "integer"
  16323. },
  16324. "updatetime": {
  16325. "description": "更新时间",
  16326. "type": "string"
  16327. },
  16328. "wrstandardcode": {
  16329. "description": "品类代码",
  16330. "type": "string"
  16331. },
  16332. "wrstandardid": {
  16333. "description": "品类ID",
  16334. "type": "integer"
  16335. },
  16336. "wrstandardname": {
  16337. "description": "品类名称",
  16338. "type": "string"
  16339. }
  16340. }
  16341. },
  16342. "models.Ermcp3ReportDaySpot": {
  16343. "type": "object",
  16344. "properties": {
  16345. "areauserid": {
  16346. "description": "所属机构T",
  16347. "type": "integer"
  16348. },
  16349. "buyinqty": {
  16350. "description": "采购入库量",
  16351. "type": "number"
  16352. },
  16353. "deliverygoodscode": {
  16354. "description": "现货品种代码",
  16355. "type": "string"
  16356. },
  16357. "deliverygoodsid": {
  16358. "description": "现货品种id",
  16359. "type": "integer"
  16360. },
  16361. "deliverygoodsname": {
  16362. "description": "现货品种名称",
  16363. "type": "string"
  16364. },
  16365. "enumdicname": {
  16366. "description": "现货商品单位名称",
  16367. "type": "string"
  16368. },
  16369. "reckondate": {
  16370. "description": "日照时期(yyyyMMdd)",
  16371. "type": "string"
  16372. },
  16373. "selloutqty": {
  16374. "description": "销售出库量",
  16375. "type": "number"
  16376. },
  16377. "todaybuyreckonqty": {
  16378. "description": "采购确定量",
  16379. "type": "number"
  16380. },
  16381. "todaysellreckonqty": {
  16382. "description": "销售确定量",
  16383. "type": "number"
  16384. },
  16385. "totalbuypricedqty": {
  16386. "description": "采购定价量 = 期末 - 期初",
  16387. "type": "number"
  16388. },
  16389. "totalsellpricedqty": {
  16390. "description": "销售定价量 = 期末 - 期初",
  16391. "type": "number"
  16392. }
  16393. }
  16394. },
  16395. "models.Ermcp3ReportMonSpot": {
  16396. "type": "object",
  16397. "properties": {
  16398. "areauserid": {
  16399. "description": "所属机构id",
  16400. "type": "integer"
  16401. },
  16402. "buyinqty": {
  16403. "description": "采购入库量",
  16404. "type": "number"
  16405. },
  16406. "cycletime": {
  16407. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16408. "type": "string"
  16409. },
  16410. "cycletype": {
  16411. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16412. "type": "integer"
  16413. },
  16414. "deliverygoodscode": {
  16415. "description": "现货品种代码",
  16416. "type": "string"
  16417. },
  16418. "deliverygoodsid": {
  16419. "description": "现货品种id",
  16420. "type": "integer"
  16421. },
  16422. "deliverygoodsname": {
  16423. "description": "现货品种名称",
  16424. "type": "string"
  16425. },
  16426. "enumdicname": {
  16427. "description": "现货商品单位名称",
  16428. "type": "string"
  16429. },
  16430. "selloutqty": {
  16431. "description": "销售出库量",
  16432. "type": "number"
  16433. },
  16434. "todaybuyreckonqty": {
  16435. "description": "采购确定量",
  16436. "type": "number"
  16437. },
  16438. "todaysellreckonqty": {
  16439. "description": "销售确定量",
  16440. "type": "number"
  16441. },
  16442. "totalbuypricedqty": {
  16443. "description": "采购定价量 = 期末 - 期初",
  16444. "type": "number"
  16445. },
  16446. "totalsellpricedqty": {
  16447. "description": "销售定价量 = 期末 - 期初",
  16448. "type": "number"
  16449. }
  16450. }
  16451. },
  16452. "models.Ermcp3ReportOPLog": {
  16453. "type": "object",
  16454. "properties": {
  16455. "applyid": {
  16456. "description": "操作人",
  16457. "type": "integer"
  16458. },
  16459. "applyname": {
  16460. "description": "操作人名称",
  16461. "type": "string"
  16462. },
  16463. "biztype": {
  16464. "description": "业务类型 - 1:套保计划 2:现货合同",
  16465. "type": "integer"
  16466. },
  16467. "brandname": {
  16468. "description": "品牌名称",
  16469. "type": "string"
  16470. },
  16471. "contracttype": {
  16472. "description": "现货合同类型 - 1:采购 -1:销售",
  16473. "type": "integer"
  16474. },
  16475. "deliverygoodscode": {
  16476. "description": "现货品种代码",
  16477. "type": "string"
  16478. },
  16479. "deliverygoodsid": {
  16480. "description": "现货品种id",
  16481. "type": "integer"
  16482. },
  16483. "deliverygoodsname": {
  16484. "description": "现货品种名称",
  16485. "type": "string"
  16486. },
  16487. "enumdicName": {
  16488. "description": "单位名称",
  16489. "type": "string"
  16490. },
  16491. "logdatetime": {
  16492. "description": "流水日期(时间)",
  16493. "type": "string"
  16494. },
  16495. "logid": {
  16496. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  16497. "type": "string"
  16498. },
  16499. "logtypename": {
  16500. "description": "合同类型(名称)",
  16501. "type": "string"
  16502. },
  16503. "logvalue": {
  16504. "description": "数值",
  16505. "type": "string"
  16506. },
  16507. "operatelogtype": {
  16508. "description": "操作流水类型 -",
  16509. "type": "integer"
  16510. },
  16511. "optypename": {
  16512. "description": "流水类型名称",
  16513. "type": "string"
  16514. },
  16515. "relatedid": {
  16516. "description": "现货合同ID\\套保计划",
  16517. "type": "string"
  16518. },
  16519. "relatedno": {
  16520. "description": "合同编号",
  16521. "type": "string"
  16522. },
  16523. "tradedate": {
  16524. "description": "交易日(yyyyMMdd)",
  16525. "type": "string"
  16526. },
  16527. "userid": {
  16528. "description": "机构ID",
  16529. "type": "integer"
  16530. }
  16531. }
  16532. },
  16533. "models.Ermcp3SellBuyContract": {
  16534. "type": "object",
  16535. "properties": {
  16536. "accountname": {
  16537. "description": "账户名称",
  16538. "type": "string"
  16539. },
  16540. "attachment": {
  16541. "description": "附件",
  16542. "type": "string"
  16543. },
  16544. "audittime": {
  16545. "description": "审核时间",
  16546. "type": "string"
  16547. },
  16548. "brandname": {
  16549. "description": "品牌名称",
  16550. "type": "string"
  16551. },
  16552. "contracctstatus": {
  16553. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16554. "type": "integer"
  16555. },
  16556. "contractmargin": {
  16557. "description": "合同保证金",
  16558. "type": "number"
  16559. },
  16560. "contractno": {
  16561. "description": "合同编号",
  16562. "type": "string"
  16563. },
  16564. "contracttype": {
  16565. "description": "合同类型 1-采购, -1-销售",
  16566. "type": "integer"
  16567. },
  16568. "convertfactor": {
  16569. "description": "标仓系数(品类)",
  16570. "type": "number"
  16571. },
  16572. "createtime": {
  16573. "description": "创建时间",
  16574. "type": "string"
  16575. },
  16576. "daikaiamount": {
  16577. "description": "应收(开)票额",
  16578. "type": "number"
  16579. },
  16580. "deliveryenddate": {
  16581. "description": "交割结束日",
  16582. "type": "string"
  16583. },
  16584. "deliverygoodscode": {
  16585. "description": "现货品种代码",
  16586. "type": "string"
  16587. },
  16588. "deliverygoodsid": {
  16589. "description": "现货商品ID",
  16590. "type": "integer"
  16591. },
  16592. "deliverygoodsname": {
  16593. "description": "现货品种名称",
  16594. "type": "string"
  16595. },
  16596. "deliverystartdate": {
  16597. "description": "交割开始日",
  16598. "type": "string"
  16599. },
  16600. "enddate": {
  16601. "description": "点价结束日",
  16602. "type": "string"
  16603. },
  16604. "enumdicname": {
  16605. "description": "单位名称",
  16606. "type": "string"
  16607. },
  16608. "goodscode": {
  16609. "description": "点价商品代码",
  16610. "type": "string"
  16611. },
  16612. "goodsid": {
  16613. "description": "点价商品ID",
  16614. "type": "integer"
  16615. },
  16616. "goodsname": {
  16617. "description": "点价商品名称",
  16618. "type": "string"
  16619. },
  16620. "invoiceamount": {
  16621. "description": "已开票额",
  16622. "type": "number"
  16623. },
  16624. "loanamount": {
  16625. "description": "贷款总额=已定价额+调整金额",
  16626. "type": "number"
  16627. },
  16628. "margin": {
  16629. "description": "保证金",
  16630. "type": "number"
  16631. },
  16632. "payamount": {
  16633. "description": "已收付额(收款或付款)",
  16634. "type": "number"
  16635. },
  16636. "preinvoiceamount": {
  16637. "description": "预收(开)票额",
  16638. "type": "number"
  16639. },
  16640. "prepayamount": {
  16641. "description": "预收付额",
  16642. "type": "number"
  16643. },
  16644. "price": {
  16645. "description": "价格",
  16646. "type": "number"
  16647. },
  16648. "pricedamount": {
  16649. "description": "已定价额",
  16650. "type": "number"
  16651. },
  16652. "pricedavg": {
  16653. "description": "已点均价",
  16654. "type": "number"
  16655. },
  16656. "pricedqty": {
  16657. "description": "已定价量",
  16658. "type": "number"
  16659. },
  16660. "pricemove": {
  16661. "description": "升贴水",
  16662. "type": "number"
  16663. },
  16664. "pricetype": {
  16665. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16666. "type": "integer"
  16667. },
  16668. "producttype": {
  16669. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16670. "type": "integer"
  16671. },
  16672. "qty": {
  16673. "description": "合同量",
  16674. "type": "number"
  16675. },
  16676. "reckonadjustamount": {
  16677. "description": "调整金额",
  16678. "type": "number"
  16679. },
  16680. "reckonedamount": {
  16681. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16682. "type": "number"
  16683. },
  16684. "reckonotheramount": {
  16685. "description": "其它费用",
  16686. "type": "number"
  16687. },
  16688. "reckonrealqty": {
  16689. "description": "已确定量",
  16690. "type": "number"
  16691. },
  16692. "remark": {
  16693. "description": "备注",
  16694. "type": "string"
  16695. },
  16696. "spotcontractid": {
  16697. "description": "合同ID",
  16698. "type": "string"
  16699. },
  16700. "spotgoodsbrandid": {
  16701. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16702. "type": "integer"
  16703. },
  16704. "spotgoodsdesc": {
  16705. "description": "商品型号(商品规格)",
  16706. "type": "string"
  16707. },
  16708. "startdate": {
  16709. "description": "点价开始日",
  16710. "type": "string"
  16711. },
  16712. "totalamount": {
  16713. "description": "合计总额",
  16714. "type": "number"
  16715. },
  16716. "unpayamount": {
  16717. "description": "应收付款额(应支付或应收款)",
  16718. "type": "number"
  16719. },
  16720. "unpricedqty": {
  16721. "description": "未定价量",
  16722. "type": "number"
  16723. },
  16724. "unsureqty": {
  16725. "description": "未确定量",
  16726. "type": "number"
  16727. },
  16728. "userid": {
  16729. "description": "机构ID",
  16730. "type": "integer"
  16731. },
  16732. "wrstandardcode": {
  16733. "description": "品类代码",
  16734. "type": "string"
  16735. },
  16736. "wrstandardid": {
  16737. "description": "品类ID",
  16738. "type": "integer"
  16739. },
  16740. "wrstandardname": {
  16741. "description": "品类名称",
  16742. "type": "string"
  16743. }
  16744. }
  16745. },
  16746. "models.Ermcp3SpotGoodsPrice": {
  16747. "type": "object",
  16748. "properties": {
  16749. "areauserid": {
  16750. "description": "所属机构id",
  16751. "type": "integer"
  16752. },
  16753. "brandname": {
  16754. "description": "品牌名称",
  16755. "type": "string"
  16756. },
  16757. "currencyid": {
  16758. "description": "报价货币ID",
  16759. "type": "integer"
  16760. },
  16761. "deliverygoodscode": {
  16762. "description": "现货商品代码",
  16763. "type": "string"
  16764. },
  16765. "deliverygoodsid": {
  16766. "description": "现货商品id",
  16767. "type": "integer"
  16768. },
  16769. "deliverygoodsname": {
  16770. "description": "现货商品名称",
  16771. "type": "string"
  16772. },
  16773. "enumdicname": {
  16774. "description": "现货商品单位名称",
  16775. "type": "string"
  16776. },
  16777. "gbenumdicname": {
  16778. "description": "品类单位名称",
  16779. "type": "string"
  16780. },
  16781. "gmunitid": {
  16782. "description": "品类单位id",
  16783. "type": "integer"
  16784. },
  16785. "isvalid": {
  16786. "description": "是否有效 - 0:无效 1:有效",
  16787. "type": "integer"
  16788. },
  16789. "operateid": {
  16790. "description": "最后操作人",
  16791. "type": "integer"
  16792. },
  16793. "operatesrc": {
  16794. "description": "最后操作来源 - 1:管理端 2:终端",
  16795. "type": "integer"
  16796. },
  16797. "operatetime": {
  16798. "description": "最后操作时间",
  16799. "type": "string"
  16800. },
  16801. "operatorname": {
  16802. "description": "操作人名称",
  16803. "type": "string"
  16804. },
  16805. "spotgoodsbrandid": {
  16806. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16807. "type": "integer"
  16808. },
  16809. "spotgoodsprice": {
  16810. "description": "现货价格",
  16811. "type": "number"
  16812. },
  16813. "tradedate": {
  16814. "description": "交易日(yyyyMMdd)",
  16815. "type": "string"
  16816. },
  16817. "unitid": {
  16818. "description": "现货商品单位id",
  16819. "type": "integer"
  16820. },
  16821. "wrstandardcode": {
  16822. "description": "品类代码",
  16823. "type": "string"
  16824. },
  16825. "wrstandardid": {
  16826. "description": "现货品类ID(通用则为0)",
  16827. "type": "integer"
  16828. },
  16829. "wrstandardname": {
  16830. "description": "品类名称",
  16831. "type": "string"
  16832. }
  16833. }
  16834. },
  16835. "models.Ermcp3SpotGoodsPriceLog": {
  16836. "type": "object",
  16837. "properties": {
  16838. "areauserid": {
  16839. "description": "所属机构id",
  16840. "type": "integer"
  16841. },
  16842. "brandname": {
  16843. "description": "品牌名称",
  16844. "type": "string"
  16845. },
  16846. "currencyid": {
  16847. "description": "报价货币ID",
  16848. "type": "integer"
  16849. },
  16850. "deliverygoodscode": {
  16851. "description": "现货商品代码",
  16852. "type": "string"
  16853. },
  16854. "deliverygoodsid": {
  16855. "description": "现货商品id",
  16856. "type": "integer"
  16857. },
  16858. "deliverygoodsname": {
  16859. "description": "现货商品名称",
  16860. "type": "string"
  16861. },
  16862. "enumdicname": {
  16863. "description": "现货商品单位名称",
  16864. "type": "string"
  16865. },
  16866. "gbenumdicname": {
  16867. "description": "品类单位名称",
  16868. "type": "string"
  16869. },
  16870. "gmunitid": {
  16871. "description": "品类单位id",
  16872. "type": "integer"
  16873. },
  16874. "logid": {
  16875. "description": "日志id",
  16876. "type": "integer"
  16877. },
  16878. "operateid": {
  16879. "description": "最后操作人",
  16880. "type": "integer"
  16881. },
  16882. "operatesrc": {
  16883. "description": "最后操作来源 - 1:管理端 2:终端",
  16884. "type": "integer"
  16885. },
  16886. "operatetime": {
  16887. "description": "最后操作时间",
  16888. "type": "string"
  16889. },
  16890. "operatorname": {
  16891. "description": "操作人名称",
  16892. "type": "string"
  16893. },
  16894. "spotgoodsbrandid": {
  16895. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16896. "type": "integer"
  16897. },
  16898. "spotgoodsprice": {
  16899. "description": "现货价格",
  16900. "type": "number"
  16901. },
  16902. "tradedate": {
  16903. "description": "交易日(yyyyMMdd)",
  16904. "type": "string"
  16905. },
  16906. "unitid": {
  16907. "description": "现货商品单位id",
  16908. "type": "integer"
  16909. },
  16910. "wrstandardcode": {
  16911. "description": "品类代码",
  16912. "type": "string"
  16913. },
  16914. "wrstandardid": {
  16915. "description": "现货品类ID(通用则为0)",
  16916. "type": "integer"
  16917. },
  16918. "wrstandardname": {
  16919. "description": "品类名称",
  16920. "type": "string"
  16921. }
  16922. }
  16923. },
  16924. "models.Ermcp3Wrstandard": {
  16925. "type": "object",
  16926. "properties": {
  16927. "areauserid": {
  16928. "description": "所属机构",
  16929. "type": "integer"
  16930. },
  16931. "convertfactor": {
  16932. "description": "标仓系数",
  16933. "type": "number"
  16934. },
  16935. "createtime": {
  16936. "description": "创建时间",
  16937. "type": "string"
  16938. },
  16939. "creatorid": {
  16940. "description": "创建人",
  16941. "type": "integer"
  16942. },
  16943. "deliverygoodsid": {
  16944. "description": "现货品种ID",
  16945. "type": "integer"
  16946. },
  16947. "enumdicname": {
  16948. "description": "品类单位名称",
  16949. "type": "string"
  16950. },
  16951. "isvalid": {
  16952. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16953. "type": "integer"
  16954. },
  16955. "minivalue": {
  16956. "description": "最小变动值",
  16957. "type": "integer"
  16958. },
  16959. "minivaluedp": {
  16960. "description": "最小变动值小数位",
  16961. "type": "integer"
  16962. },
  16963. "realminivalue": {
  16964. "description": "实际最小变动值",
  16965. "type": "integer"
  16966. },
  16967. "realminivaluedp": {
  16968. "description": "实际最小变动值小数位",
  16969. "type": "integer"
  16970. },
  16971. "remark": {
  16972. "description": "备注",
  16973. "type": "string"
  16974. },
  16975. "unitid": {
  16976. "description": "品类单位ID",
  16977. "type": "integer"
  16978. },
  16979. "updatetime": {
  16980. "description": "更新时间",
  16981. "type": "string"
  16982. },
  16983. "wrstandardcode": {
  16984. "description": "品类代码",
  16985. "type": "string"
  16986. },
  16987. "wrstandardid": {
  16988. "description": "品类ID(SEQ_WRSTANDARD)",
  16989. "type": "integer"
  16990. },
  16991. "wrstandardname": {
  16992. "description": "品类名称",
  16993. "type": "string"
  16994. }
  16995. }
  16996. },
  16997. "models.ErmcpAreaStock": {
  16998. "type": "object",
  16999. "properties": {
  17000. "brandname": {
  17001. "description": "品牌名称",
  17002. "type": "string"
  17003. },
  17004. "curstock": {
  17005. "description": "期末库存量(今日量)",
  17006. "type": "number"
  17007. },
  17008. "deliverygoodsid": {
  17009. "description": "现货品种ID",
  17010. "type": "integer"
  17011. },
  17012. "enumdicname": {
  17013. "description": "单位名称",
  17014. "type": "string"
  17015. },
  17016. "modelname": {
  17017. "description": "型号名称",
  17018. "type": "string"
  17019. },
  17020. "oristock": {
  17021. "description": "期初库存量(昨日量)",
  17022. "type": "number"
  17023. },
  17024. "spotgoodsbrandid": {
  17025. "description": "现货品牌ID",
  17026. "type": "integer"
  17027. },
  17028. "spotgoodsmodelid": {
  17029. "description": "现货型号ID",
  17030. "type": "integer"
  17031. },
  17032. "todaybuyinqty": {
  17033. "description": "今日采购入库量",
  17034. "type": "number"
  17035. },
  17036. "todayproduceinqty": {
  17037. "description": "今日生产入库量",
  17038. "type": "number"
  17039. },
  17040. "todayproduceoutqty": {
  17041. "description": "今日生产出库量",
  17042. "type": "number"
  17043. },
  17044. "todayselloutqty": {
  17045. "description": "今日销售出库量",
  17046. "type": "number"
  17047. },
  17048. "unitid": {
  17049. "description": "单位id",
  17050. "type": "integer"
  17051. },
  17052. "updatetime": {
  17053. "description": "更新时间",
  17054. "type": "string"
  17055. },
  17056. "userid": {
  17057. "description": "机构ID",
  17058. "type": "integer"
  17059. },
  17060. "username": {
  17061. "description": "机构名称",
  17062. "type": "string"
  17063. },
  17064. "warehousecode": {
  17065. "description": "仓库代码",
  17066. "type": "string"
  17067. },
  17068. "warehouseinfoid": {
  17069. "description": "仓库ID",
  17070. "type": "string"
  17071. },
  17072. "warehousename": {
  17073. "description": "仓库名称",
  17074. "type": "string"
  17075. },
  17076. "warehousetype": {
  17077. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17078. "type": "integer"
  17079. },
  17080. "wrstandardcode": {
  17081. "description": "现货商品代码",
  17082. "type": "string"
  17083. },
  17084. "wrstandardid": {
  17085. "description": "现货商品ID",
  17086. "type": "string"
  17087. },
  17088. "wrstandardname": {
  17089. "description": "现货商品名称",
  17090. "type": "string"
  17091. }
  17092. }
  17093. },
  17094. "models.ErmcpAreaStockApply": {
  17095. "type": "object",
  17096. "properties": {
  17097. "applyid": {
  17098. "description": "申请人",
  17099. "type": "integer"
  17100. },
  17101. "applyname": {
  17102. "description": "申请人名称",
  17103. "type": "string"
  17104. },
  17105. "applyremark": {
  17106. "description": "申请备注",
  17107. "type": "string"
  17108. },
  17109. "applysrc": {
  17110. "description": "申请来源 - 1:管理端 2:终端",
  17111. "type": "integer"
  17112. },
  17113. "applystatus": {
  17114. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17115. "type": "integer"
  17116. },
  17117. "applytime": {
  17118. "description": "申请时间",
  17119. "type": "string"
  17120. },
  17121. "auditid": {
  17122. "description": "审核人",
  17123. "type": "integer"
  17124. },
  17125. "auditname": {
  17126. "description": "审核人名称",
  17127. "type": "string"
  17128. },
  17129. "auditremark": {
  17130. "description": "审核备注",
  17131. "type": "string"
  17132. },
  17133. "auditsrc": {
  17134. "description": "审核来源 - 1:管理端 2:终端",
  17135. "type": "integer"
  17136. },
  17137. "audittime": {
  17138. "description": "审核时间",
  17139. "type": "string"
  17140. },
  17141. "audittradedate": {
  17142. "description": "审核交易日(yyyyMMdd)",
  17143. "type": "string"
  17144. },
  17145. "brandname": {
  17146. "description": "品牌名称",
  17147. "type": "string"
  17148. },
  17149. "buyuserid": {
  17150. "description": "采购方userid",
  17151. "type": "integer"
  17152. },
  17153. "buyusername": {
  17154. "description": "采购方名称",
  17155. "type": "string"
  17156. },
  17157. "contractno": {
  17158. "description": "合同编号",
  17159. "type": "string"
  17160. },
  17161. "contractqty": {
  17162. "description": "合同量",
  17163. "type": "number"
  17164. },
  17165. "contracttype": {
  17166. "description": "现货合同类型 - 1:采购 -1:销售",
  17167. "type": "integer"
  17168. },
  17169. "deliverygoodsid": {
  17170. "description": "现货品种ID",
  17171. "type": "integer"
  17172. },
  17173. "enumdicname": {
  17174. "description": "现货商品单位名称",
  17175. "type": "string"
  17176. },
  17177. "inoutapplyid": {
  17178. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17179. "type": "string"
  17180. },
  17181. "inouttype": {
  17182. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  17183. "type": "integer"
  17184. },
  17185. "modelname": {
  17186. "description": "型号名称",
  17187. "type": "string"
  17188. },
  17189. "pricetype": {
  17190. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17191. "type": "integer"
  17192. },
  17193. "qty": {
  17194. "description": "数量",
  17195. "type": "number"
  17196. },
  17197. "selluserid": {
  17198. "description": "销售方userid",
  17199. "type": "integer"
  17200. },
  17201. "sellusername": {
  17202. "description": "销售方名称",
  17203. "type": "string"
  17204. },
  17205. "spotcontractid": {
  17206. "description": "关联现货合同ID",
  17207. "type": "string"
  17208. },
  17209. "spotgoodsbrandid": {
  17210. "description": "现货品牌ID",
  17211. "type": "integer"
  17212. },
  17213. "spotgoodsmodelid": {
  17214. "description": "现货型号ID",
  17215. "type": "integer"
  17216. },
  17217. "unitid": {
  17218. "description": "单位id",
  17219. "type": "integer"
  17220. },
  17221. "userid": {
  17222. "description": "机构ID",
  17223. "type": "integer"
  17224. },
  17225. "warehousecode": {
  17226. "description": "仓库代码",
  17227. "type": "string"
  17228. },
  17229. "warehouseinfoid": {
  17230. "description": "现货仓库ID",
  17231. "type": "string"
  17232. },
  17233. "warehousename": {
  17234. "description": "仓库名称",
  17235. "type": "string"
  17236. },
  17237. "warehousetype": {
  17238. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17239. "type": "integer"
  17240. },
  17241. "wrstandardcode": {
  17242. "description": "现货商品代码",
  17243. "type": "string"
  17244. },
  17245. "wrstandardid": {
  17246. "description": "现货商品ID",
  17247. "type": "string"
  17248. },
  17249. "wrstandardname": {
  17250. "description": "现货商品名称",
  17251. "type": "string"
  17252. }
  17253. }
  17254. },
  17255. "models.ErmcpAreaStockReport": {
  17256. "type": "object",
  17257. "properties": {
  17258. "brandname": {
  17259. "description": "品牌名称",
  17260. "type": "string"
  17261. },
  17262. "curstock": {
  17263. "description": "期末库存量",
  17264. "type": "number"
  17265. },
  17266. "deliverygoodsid": {
  17267. "description": "现货品种ID",
  17268. "type": "integer"
  17269. },
  17270. "enumdicname": {
  17271. "description": "单位名称",
  17272. "type": "string"
  17273. },
  17274. "modelname": {
  17275. "description": "型号名称",
  17276. "type": "string"
  17277. },
  17278. "oristock": {
  17279. "description": "期初库存量",
  17280. "type": "number"
  17281. },
  17282. "spotgoodsbrandid": {
  17283. "description": "现货品牌ID",
  17284. "type": "integer"
  17285. },
  17286. "spotgoodsmodelid": {
  17287. "description": "现货型号ID",
  17288. "type": "integer"
  17289. },
  17290. "todaybuyinqty": {
  17291. "description": "今日采购入库量",
  17292. "type": "number"
  17293. },
  17294. "todayproduceinqty": {
  17295. "description": "今日生产入库量",
  17296. "type": "number"
  17297. },
  17298. "todayproduceoutqty": {
  17299. "description": "今日生产出库量",
  17300. "type": "number"
  17301. },
  17302. "todayselloutqty": {
  17303. "description": "今日销售出库量",
  17304. "type": "number"
  17305. },
  17306. "unitid": {
  17307. "description": "单位id",
  17308. "type": "integer"
  17309. },
  17310. "updatetime": {
  17311. "description": "更新时间",
  17312. "type": "string"
  17313. },
  17314. "userid": {
  17315. "description": "机构ID",
  17316. "type": "integer"
  17317. },
  17318. "username": {
  17319. "description": "机构名称",
  17320. "type": "string"
  17321. },
  17322. "warehousecode": {
  17323. "description": "仓库代码",
  17324. "type": "string"
  17325. },
  17326. "warehouseinfoid": {
  17327. "description": "仓库ID",
  17328. "type": "string"
  17329. },
  17330. "warehousename": {
  17331. "description": "仓库名称",
  17332. "type": "string"
  17333. },
  17334. "warehousetype": {
  17335. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17336. "type": "integer"
  17337. },
  17338. "wrstandardcode": {
  17339. "description": "现货商品代码",
  17340. "type": "string"
  17341. },
  17342. "wrstandardid": {
  17343. "description": "现货商品ID",
  17344. "type": "string"
  17345. },
  17346. "wrstandardname": {
  17347. "description": "现货商品名称",
  17348. "type": "string"
  17349. }
  17350. }
  17351. },
  17352. "models.ErmcpBizGroupEx": {
  17353. "type": "object",
  17354. "properties": {
  17355. "acclist": {
  17356. "description": "账号列表",
  17357. "type": "array",
  17358. "items": {
  17359. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17360. }
  17361. },
  17362. "bizgroupid": {
  17363. "description": "业务分组id",
  17364. "type": "integer"
  17365. },
  17366. "biztype": {
  17367. "description": "业务类型 1-套保 2-套利",
  17368. "type": "integer"
  17369. },
  17370. "wrlist": {
  17371. "description": "现货商品表",
  17372. "type": "array",
  17373. "items": {
  17374. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17375. }
  17376. }
  17377. }
  17378. },
  17379. "models.ErmcpBizGroupSpotGoods": {
  17380. "type": "object",
  17381. "properties": {
  17382. "areauserid": {
  17383. "description": "所属机构id",
  17384. "type": "integer"
  17385. },
  17386. "bizgroupid": {
  17387. "description": "分组id",
  17388. "type": "integer"
  17389. },
  17390. "biztype": {
  17391. "description": "业务类型 1-套保 2-套利",
  17392. "type": "integer"
  17393. },
  17394. "deliverygoodscode": {
  17395. "description": "现货商品代码",
  17396. "type": "string"
  17397. },
  17398. "deliverygoodsid": {
  17399. "description": "现货商品id",
  17400. "type": "integer"
  17401. },
  17402. "deliverygoodsname": {
  17403. "description": "现货商品名称",
  17404. "type": "string"
  17405. },
  17406. "unitid": {
  17407. "description": "现货商品单位id",
  17408. "type": "integer"
  17409. }
  17410. }
  17411. },
  17412. "models.ErmcpBizGroupTaAccount": {
  17413. "type": "object",
  17414. "properties": {
  17415. "accountid": {
  17416. "description": "账号id",
  17417. "type": "string"
  17418. },
  17419. "accountname": {
  17420. "description": "账号名称",
  17421. "type": "string"
  17422. },
  17423. "areauserid": {
  17424. "description": "所属机构id",
  17425. "type": "integer"
  17426. },
  17427. "bizgroupid": {
  17428. "description": "业务分组id",
  17429. "type": "integer"
  17430. },
  17431. "ismain": {
  17432. "description": "是否主账号 1-是 0-否",
  17433. "type": "integer"
  17434. }
  17435. }
  17436. },
  17437. "models.ErmcpDGFactoryItem": {
  17438. "type": "object",
  17439. "properties": {
  17440. "areauserid": {
  17441. "description": "用户id",
  17442. "type": "integer"
  17443. },
  17444. "deliverygoodsid": {
  17445. "description": "现货品种ID",
  17446. "type": "integer"
  17447. },
  17448. "dgfactoryitemid": {
  17449. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17450. "type": "integer"
  17451. },
  17452. "dgfactoryitemtypeid": {
  17453. "description": "要素项类型",
  17454. "type": "integer"
  17455. },
  17456. "dgfactoryitemvalue": {
  17457. "description": "要素项值(类型为仓库时填写仓库名称)",
  17458. "type": "string"
  17459. },
  17460. "isvalid": {
  17461. "description": "是否有效 - 0:无效 1:有效",
  17462. "type": "integer"
  17463. },
  17464. "orderindex": {
  17465. "description": "顺序",
  17466. "type": "integer"
  17467. },
  17468. "warehouseid": {
  17469. "description": "仓库ID(类型为仓库时填写)",
  17470. "type": "integer"
  17471. }
  17472. }
  17473. },
  17474. "models.ErmcpDeliveryGoods": {
  17475. "type": "object",
  17476. "properties": {
  17477. "agreeunit": {
  17478. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17479. "type": "integer"
  17480. },
  17481. "areauserid": {
  17482. "description": "所属机构",
  17483. "type": "integer"
  17484. },
  17485. "auditflag": {
  17486. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17487. "type": "integer"
  17488. },
  17489. "categoryid": {
  17490. "description": "类别ID(SEQ_WRCATEGORY)",
  17491. "type": "integer"
  17492. },
  17493. "deliverygoodscode": {
  17494. "description": "现货品种代码",
  17495. "type": "string"
  17496. },
  17497. "deliverygoodsid": {
  17498. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17499. "type": "integer"
  17500. },
  17501. "deliverygoodsname": {
  17502. "description": "现货品种名称",
  17503. "type": "string"
  17504. },
  17505. "deliverygoodstype": {
  17506. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17507. "type": "integer"
  17508. },
  17509. "dgstatus": {
  17510. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17511. "type": "integer"
  17512. },
  17513. "enumdicname": {
  17514. "description": "现货品种单位名称",
  17515. "type": "string"
  17516. },
  17517. "goodsunitid": {
  17518. "description": "现货品种单位ID",
  17519. "type": "integer"
  17520. },
  17521. "isvalid": {
  17522. "description": "是否有效 - 0:无效 1:有效",
  17523. "type": "integer"
  17524. },
  17525. "qtydecimalplace": {
  17526. "description": "成交量小数位",
  17527. "type": "integer"
  17528. },
  17529. "remark": {
  17530. "description": "备注",
  17531. "type": "string"
  17532. },
  17533. "standardqty": {
  17534. "description": "标准数量(库位数量) [标准品特有]",
  17535. "type": "integer"
  17536. },
  17537. "standardqtyrange": {
  17538. "description": "标准数量偏差范围 [标准品特有]",
  17539. "type": "integer"
  17540. }
  17541. }
  17542. },
  17543. "models.ErmcpDeliveryGoodsDetail": {
  17544. "type": "object",
  17545. "properties": {
  17546. "data": {
  17547. "description": "现货商品基本信息(交割品种)",
  17548. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17549. },
  17550. "gblist": {
  17551. "description": "品牌列表",
  17552. "type": "array",
  17553. "items": {
  17554. "$ref": "#/definitions/models.Ermcp3Brand"
  17555. }
  17556. },
  17557. "gmlist": {
  17558. "description": "品类列表(仓单标准)",
  17559. "type": "array",
  17560. "items": {
  17561. "$ref": "#/definitions/models.ErmcpWrstandard"
  17562. }
  17563. },
  17564. "goodslist": {
  17565. "description": "关联交易商品列表",
  17566. "type": "array",
  17567. "items": {
  17568. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  17569. }
  17570. },
  17571. "wrslist": {
  17572. "description": "套保信息列表",
  17573. "type": "array",
  17574. "items": {
  17575. "$ref": "#/definitions/models.WRSConverTDetail"
  17576. }
  17577. }
  17578. }
  17579. },
  17580. "models.ErmcpFuturesCompany": {
  17581. "type": "object",
  17582. "properties": {
  17583. "brokerid": {
  17584. "description": "经纪公司代码",
  17585. "type": "string"
  17586. },
  17587. "channeladdress": {
  17588. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17589. "type": "string"
  17590. },
  17591. "channelid": {
  17592. "description": "对冲渠道ID",
  17593. "type": "string"
  17594. },
  17595. "createtime": {
  17596. "description": "创建时间",
  17597. "type": "string"
  17598. },
  17599. "creatorid": {
  17600. "description": "创建人",
  17601. "type": "string"
  17602. },
  17603. "fcid": {
  17604. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17605. "type": "integer"
  17606. },
  17607. "fcname": {
  17608. "description": "期货公司名称",
  17609. "type": "string"
  17610. },
  17611. "isvalid": {
  17612. "description": "是否有效 - 0:无效 1:有效",
  17613. "type": "integer"
  17614. },
  17615. "mhpaddress": {
  17616. "description": "MHP服务地址(IP:Port)",
  17617. "type": "string"
  17618. },
  17619. "riskrulegroupid": {
  17620. "description": "风控规则组ID",
  17621. "type": "string"
  17622. },
  17623. "tradefeetmpid": {
  17624. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17625. "type": "string"
  17626. },
  17627. "trademargintmpid": {
  17628. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17629. "type": "string"
  17630. },
  17631. "traderatetmpid": {
  17632. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17633. "type": "string"
  17634. },
  17635. "updatetime": {
  17636. "description": "更新时间",
  17637. "type": "string"
  17638. },
  17639. "updatorid": {
  17640. "description": "更新人",
  17641. "type": "string"
  17642. }
  17643. }
  17644. },
  17645. "models.ErmcpGGConvertCfg": {
  17646. "type": "object",
  17647. "properties": {
  17648. "convertratio": {
  17649. "description": "折算系数",
  17650. "type": "number"
  17651. },
  17652. "destgoodsgroupid": {
  17653. "description": "目标品种ID",
  17654. "type": "integer"
  17655. },
  17656. "dstcode": {
  17657. "description": "目录品种代码",
  17658. "type": "string"
  17659. },
  17660. "dstexchangecode": {
  17661. "description": "目标期货交易所",
  17662. "type": "string"
  17663. },
  17664. "dstname": {
  17665. "description": "目标品种名称",
  17666. "type": "string"
  17667. },
  17668. "dstunitid": {
  17669. "description": "目标品种单位ID",
  17670. "type": "integer"
  17671. },
  17672. "dstunitidname": {
  17673. "description": "目标品种单位名称",
  17674. "type": "string"
  17675. },
  17676. "modifytime": {
  17677. "description": "修改时间",
  17678. "type": "string"
  17679. },
  17680. "srccode": {
  17681. "description": "源品种代码",
  17682. "type": "string"
  17683. },
  17684. "srcexchangecode": {
  17685. "description": "源期货交易所",
  17686. "type": "string"
  17687. },
  17688. "srcgoodsgroupid": {
  17689. "description": "源品种ID",
  17690. "type": "integer"
  17691. },
  17692. "srcname": {
  17693. "description": "源品种名称",
  17694. "type": "string"
  17695. },
  17696. "srcunitid": {
  17697. "description": "源品种单位ID",
  17698. "type": "integer"
  17699. },
  17700. "srcunitidname": {
  17701. "description": "源品种单位名称",
  17702. "type": "string"
  17703. }
  17704. }
  17705. },
  17706. "models.ErmcpGoodsBrand": {
  17707. "type": "object",
  17708. "properties": {
  17709. "areauserid": {
  17710. "description": "所属机构",
  17711. "type": "integer"
  17712. },
  17713. "brandid": {
  17714. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17715. "type": "integer"
  17716. },
  17717. "brandname": {
  17718. "description": "品牌名称",
  17719. "type": "string"
  17720. },
  17721. "createtime": {
  17722. "description": "创建时间",
  17723. "type": "string"
  17724. },
  17725. "creatorid": {
  17726. "description": "创建人",
  17727. "type": "integer"
  17728. },
  17729. "creatorsrc": {
  17730. "description": "创建人来源 - 1:管理端 2:终端",
  17731. "type": "integer"
  17732. },
  17733. "deliverygoodsid": {
  17734. "description": "现货品种ID",
  17735. "type": "integer"
  17736. },
  17737. "isvalid": {
  17738. "description": "是否有效 - 0:无效 1:有效",
  17739. "type": "integer"
  17740. },
  17741. "updatetime": {
  17742. "description": "更新时间",
  17743. "type": "string"
  17744. },
  17745. "updatorid": {
  17746. "description": "更新人",
  17747. "type": "integer"
  17748. },
  17749. "updatorsrc": {
  17750. "description": "更新人来源 - 1:管理端 2:终端",
  17751. "type": "integer"
  17752. },
  17753. "wrstandardid": {
  17754. "description": "现货商品ID",
  17755. "type": "integer"
  17756. }
  17757. }
  17758. },
  17759. "models.ErmcpGoodsModel": {
  17760. "type": "object",
  17761. "properties": {
  17762. "areauserid": {
  17763. "description": "所属机构",
  17764. "type": "integer"
  17765. },
  17766. "convertfactor": {
  17767. "description": "标仓系数",
  17768. "type": "number"
  17769. },
  17770. "createtime": {
  17771. "description": "创建时间",
  17772. "type": "string"
  17773. },
  17774. "creatorid": {
  17775. "description": "创建人",
  17776. "type": "integer"
  17777. },
  17778. "creatorsrc": {
  17779. "description": "创建人来源 - 1:管理端 2:终端",
  17780. "type": "integer"
  17781. },
  17782. "deliverygoodsid": {
  17783. "description": "现货品种ID",
  17784. "type": "integer"
  17785. },
  17786. "isvalid": {
  17787. "description": "是否有效 - 0:无效 1:有效",
  17788. "type": "integer"
  17789. },
  17790. "modelid": {
  17791. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17792. "type": "integer"
  17793. },
  17794. "modelname": {
  17795. "description": "型号名称",
  17796. "type": "string"
  17797. },
  17798. "updatetime": {
  17799. "description": "更新时间",
  17800. "type": "string"
  17801. },
  17802. "updatorid": {
  17803. "description": "更新人",
  17804. "type": "integer"
  17805. },
  17806. "updatorsrc": {
  17807. "description": "更新人来源 - 1:管理端 2:终端",
  17808. "type": "integer"
  17809. },
  17810. "wrstandardid": {
  17811. "description": "现货商品ID",
  17812. "type": "integer"
  17813. }
  17814. }
  17815. },
  17816. "models.ErmcpHisExposure": {
  17817. "type": "object",
  17818. "properties": {
  17819. "needhedgeexposoure": {
  17820. "description": "应套保敞口",
  17821. "type": "number"
  17822. },
  17823. "reckondate": {
  17824. "description": "日照时期(yyyyMMdd)",
  17825. "type": "string"
  17826. },
  17827. "totalexposure": {
  17828. "description": "总敞口",
  17829. "type": "number"
  17830. }
  17831. }
  17832. },
  17833. "models.ErmcpLoginUser": {
  17834. "type": "object",
  17835. "properties": {
  17836. "accountname": {
  17837. "description": "用户名称",
  17838. "type": "string"
  17839. },
  17840. "clientroleid": {
  17841. "description": "角色id(usertype=2)",
  17842. "type": "integer"
  17843. },
  17844. "createtime": {
  17845. "description": "创建时间",
  17846. "type": "string"
  17847. },
  17848. "logincode": {
  17849. "description": "登录代码",
  17850. "type": "string"
  17851. },
  17852. "loginid": {
  17853. "description": "登录id(LOGINID)",
  17854. "type": "integer"
  17855. },
  17856. "loginstatus": {
  17857. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17858. "type": "integer"
  17859. },
  17860. "memberuserid": {
  17861. "description": "所属会员id",
  17862. "type": "integer"
  17863. },
  17864. "mobile": {
  17865. "description": "手机号",
  17866. "type": "string"
  17867. },
  17868. "modifytime": {
  17869. "description": "修改时间",
  17870. "type": "string"
  17871. },
  17872. "password": {
  17873. "description": "密码(不可解密)",
  17874. "type": "string"
  17875. },
  17876. "rolename": {
  17877. "description": "角色名称",
  17878. "type": "string"
  17879. },
  17880. "rolestatus": {
  17881. "description": "角色状态 1-启用 2-停用",
  17882. "type": "integer"
  17883. },
  17884. "roletype": {
  17885. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17886. "type": "string"
  17887. },
  17888. "userid": {
  17889. "description": "用户id",
  17890. "type": "integer"
  17891. },
  17892. "usertype": {
  17893. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17894. "type": "integer"
  17895. }
  17896. }
  17897. },
  17898. "models.ErmcpLoginUserEx": {
  17899. "type": "object",
  17900. "properties": {
  17901. "roleid": {
  17902. "description": "角色id",
  17903. "type": "integer"
  17904. },
  17905. "rolename": {
  17906. "description": "角色名称",
  17907. "type": "string"
  17908. },
  17909. "userlist": {
  17910. "description": "用户列表",
  17911. "type": "array",
  17912. "items": {
  17913. "$ref": "#/definitions/models.ErmcpLoginUser"
  17914. }
  17915. },
  17916. "usertype": {
  17917. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17918. "type": "integer"
  17919. }
  17920. }
  17921. },
  17922. "models.ErmcpMiddleGoodsModel": {
  17923. "type": "object",
  17924. "properties": {
  17925. "areauserid": {
  17926. "description": "机构用户ID",
  17927. "type": "integer"
  17928. },
  17929. "createtime": {
  17930. "description": "修改时间",
  17931. "type": "string"
  17932. },
  17933. "enumdicname": {
  17934. "description": "单位名称",
  17935. "type": "string"
  17936. },
  17937. "evaluateratio": {
  17938. "description": "估价系数",
  17939. "type": "number"
  17940. },
  17941. "goodsgroupid": {
  17942. "description": "关联期货品种ID",
  17943. "type": "integer"
  17944. },
  17945. "isvalid": {
  17946. "description": "状态 0-无效(停用) 1-有效(正常)",
  17947. "type": "integer"
  17948. },
  17949. "middlegoodscode": {
  17950. "description": "套保品种代码",
  17951. "type": "string"
  17952. },
  17953. "middlegoodsid": {
  17954. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17955. "type": "integer"
  17956. },
  17957. "middlegoodsname": {
  17958. "description": "套保品种名称",
  17959. "type": "string"
  17960. },
  17961. "modifytime": {
  17962. "description": "修改时间",
  17963. "type": "string"
  17964. },
  17965. "needhedgeratio": {
  17966. "description": "套保比率",
  17967. "type": "number"
  17968. },
  17969. "qtydecimalplace": {
  17970. "description": "数量小数位",
  17971. "type": "integer"
  17972. },
  17973. "relatedgoodsid": {
  17974. "description": "关联交易商品ID",
  17975. "type": "integer"
  17976. },
  17977. "relatedgoodstype": {
  17978. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17979. "type": "integer"
  17980. },
  17981. "remark": {
  17982. "description": "备注",
  17983. "type": "string"
  17984. }
  17985. }
  17986. },
  17987. "models.ErmcpRelatedGoods": {
  17988. "type": "object",
  17989. "properties": {
  17990. "deliverygoodsid": {
  17991. "description": "品种ID",
  17992. "type": "integer"
  17993. },
  17994. "goodscode": {
  17995. "description": "商品代码",
  17996. "type": "string"
  17997. },
  17998. "goodsid": {
  17999. "description": "商品id",
  18000. "type": "integer"
  18001. },
  18002. "goodsname": {
  18003. "description": "商品名称",
  18004. "type": "string"
  18005. }
  18006. }
  18007. },
  18008. "models.ErmcpReportAreaSpotPL": {
  18009. "type": "object",
  18010. "properties": {
  18011. "actualpl": {
  18012. "description": "实际损益",
  18013. "type": "number"
  18014. },
  18015. "areauserid": {
  18016. "description": "所属机构",
  18017. "type": "integer"
  18018. },
  18019. "brandname": {
  18020. "description": "品牌名称",
  18021. "type": "string"
  18022. },
  18023. "curamount": {
  18024. "description": "期末额",
  18025. "type": "number"
  18026. },
  18027. "curaverageprice": {
  18028. "description": "期末均价",
  18029. "type": "number"
  18030. },
  18031. "curbuyamount": {
  18032. "description": "期末采购总额(采购额)",
  18033. "type": "number"
  18034. },
  18035. "curbuyqty": {
  18036. "description": "期末采购总量",
  18037. "type": "number"
  18038. },
  18039. "curmarketvalue": {
  18040. "description": "参考市值",
  18041. "type": "number"
  18042. },
  18043. "curqty": {
  18044. "description": "期末量",
  18045. "type": "number"
  18046. },
  18047. "cursellamount": {
  18048. "description": "期末销售总额(销售额)",
  18049. "type": "number"
  18050. },
  18051. "cursellqty": {
  18052. "description": "期末销售总量",
  18053. "type": "number"
  18054. },
  18055. "curspotprice": {
  18056. "description": "参考市价",
  18057. "type": "number"
  18058. },
  18059. "enumdicname": {
  18060. "description": "现货商品单位名称",
  18061. "type": "string"
  18062. },
  18063. "floatpl": {
  18064. "description": "浮动损益",
  18065. "type": "number"
  18066. },
  18067. "gbenumdicname": {
  18068. "description": "品类单位名称",
  18069. "type": "string"
  18070. },
  18071. "gbunitid": {
  18072. "description": "品类单位id",
  18073. "type": "integer"
  18074. },
  18075. "modelname": {
  18076. "description": "品类名称",
  18077. "type": "string"
  18078. },
  18079. "oriamount": {
  18080. "description": "期初额",
  18081. "type": "number"
  18082. },
  18083. "oriaverageprice": {
  18084. "description": "期初均价",
  18085. "type": "number"
  18086. },
  18087. "oribuyamount": {
  18088. "description": "期初采购总额",
  18089. "type": "number"
  18090. },
  18091. "oribuyqty": {
  18092. "description": "期初采购总量",
  18093. "type": "number"
  18094. },
  18095. "oriqty": {
  18096. "description": "期初量",
  18097. "type": "number"
  18098. },
  18099. "orisellamount": {
  18100. "description": "期初销售总额",
  18101. "type": "number"
  18102. },
  18103. "orisellqty": {
  18104. "description": "期初销售总量",
  18105. "type": "number"
  18106. },
  18107. "spotgoodsbrandid": {
  18108. "description": "现货品牌ID",
  18109. "type": "integer"
  18110. },
  18111. "spotgoodsmodelid": {
  18112. "description": "现货品类ID",
  18113. "type": "integer"
  18114. },
  18115. "todaybuyamount": {
  18116. "description": "今日采购额",
  18117. "type": "number"
  18118. },
  18119. "todaybuyaverageprice": {
  18120. "description": "今日采购均价(采购均价)",
  18121. "type": "number"
  18122. },
  18123. "todaybuyqty": {
  18124. "description": "今日采购量(采购增量)",
  18125. "type": "number"
  18126. },
  18127. "todaysellamount": {
  18128. "description": "今日销售额",
  18129. "type": "number"
  18130. },
  18131. "todaysellaverageprice": {
  18132. "description": "今日销售均价(销售均价)",
  18133. "type": "number"
  18134. },
  18135. "todaysellqty": {
  18136. "description": "今日销售量(销售增量)",
  18137. "type": "number"
  18138. },
  18139. "unitid": {
  18140. "description": "现货商品单位id",
  18141. "type": "integer"
  18142. },
  18143. "updatetime": {
  18144. "description": "更新时间",
  18145. "type": "string"
  18146. },
  18147. "wrstandardcode": {
  18148. "description": "现货商品代码",
  18149. "type": "string"
  18150. },
  18151. "wrstandardid": {
  18152. "description": "现货商品ID",
  18153. "type": "integer"
  18154. },
  18155. "wrstandardname": {
  18156. "description": "现货商品名称",
  18157. "type": "string"
  18158. }
  18159. }
  18160. },
  18161. "models.ErmcpReportDayFR": {
  18162. "type": "object",
  18163. "properties": {
  18164. "areauserid": {
  18165. "description": "所属机构",
  18166. "type": "integer"
  18167. },
  18168. "collectinvoiceamount": {
  18169. "description": "今日开票金额",
  18170. "type": "number"
  18171. },
  18172. "collectinvoicecount": {
  18173. "description": "今日开票笔数",
  18174. "type": "integer"
  18175. },
  18176. "collectmoneyamount": {
  18177. "description": "今日收款金额",
  18178. "type": "number"
  18179. },
  18180. "collectmoneycount": {
  18181. "description": "今日收款笔数",
  18182. "type": "integer"
  18183. },
  18184. "payinvoiceamount": {
  18185. "description": "今日收票金额",
  18186. "type": "number"
  18187. },
  18188. "payinvoicecount": {
  18189. "description": "今日收票笔数",
  18190. "type": "integer"
  18191. },
  18192. "paymoneyamount": {
  18193. "description": "今日付款金额",
  18194. "type": "number"
  18195. },
  18196. "paymoneycount": {
  18197. "description": "今日付款笔数",
  18198. "type": "integer"
  18199. },
  18200. "reckondate": {
  18201. "description": "日照时期(yyyyMMdd)",
  18202. "type": "string"
  18203. },
  18204. "updatetime": {
  18205. "description": "更新时间",
  18206. "type": "string"
  18207. }
  18208. }
  18209. },
  18210. "models.ErmcpRole": {
  18211. "type": "object",
  18212. "properties": {
  18213. "areauserid": {
  18214. "description": "所属机构",
  18215. "type": "integer"
  18216. },
  18217. "autoid": {
  18218. "description": "角色ID(自增ID)",
  18219. "type": "integer"
  18220. },
  18221. "modifierid": {
  18222. "description": "修改人(创建人)",
  18223. "type": "integer"
  18224. },
  18225. "modifiername": {
  18226. "description": "修改人名称",
  18227. "type": "string"
  18228. },
  18229. "modifytime": {
  18230. "description": "修改时间(创建时间)",
  18231. "type": "string"
  18232. },
  18233. "rolename": {
  18234. "description": "角色名称",
  18235. "type": "string"
  18236. },
  18237. "rolestatus": {
  18238. "description": "角色状态 - 1:启用 2:停用",
  18239. "type": "integer"
  18240. },
  18241. "roletype": {
  18242. "description": "角色类型 - 1- 管理端 2- 交易端",
  18243. "type": "integer"
  18244. }
  18245. }
  18246. },
  18247. "models.ErmcpRoleMenu": {
  18248. "type": "object",
  18249. "properties": {
  18250. "iconame": {
  18251. "description": "菜单图标",
  18252. "type": "string"
  18253. },
  18254. "menutype": {
  18255. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18256. "type": "integer"
  18257. },
  18258. "parentcode": {
  18259. "description": "上级资源代码",
  18260. "type": "string"
  18261. },
  18262. "remark": {
  18263. "description": "菜单备注",
  18264. "type": "string"
  18265. },
  18266. "resourcecode": {
  18267. "description": "菜单代码",
  18268. "type": "string"
  18269. },
  18270. "resourcelevel": {
  18271. "description": "级别",
  18272. "type": "integer"
  18273. },
  18274. "resourcename": {
  18275. "description": "菜单名称",
  18276. "type": "string"
  18277. },
  18278. "roleid": {
  18279. "description": "角色id",
  18280. "type": "integer"
  18281. },
  18282. "sort": {
  18283. "description": "排序",
  18284. "type": "integer"
  18285. },
  18286. "url": {
  18287. "description": "URL",
  18288. "type": "string"
  18289. },
  18290. "userid": {
  18291. "description": "用户id",
  18292. "type": "integer"
  18293. }
  18294. }
  18295. },
  18296. "models.ErmcpRoleMenuEx": {
  18297. "type": "object",
  18298. "properties": {
  18299. "menu": {
  18300. "description": "父级菜单",
  18301. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18302. },
  18303. "subMenu": {
  18304. "description": "子级菜单",
  18305. "type": "array",
  18306. "items": {
  18307. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18308. }
  18309. }
  18310. }
  18311. },
  18312. "models.ErmcpSpotGoodsPrice": {
  18313. "type": "object",
  18314. "properties": {
  18315. "areauserid": {
  18316. "description": "所属机构id",
  18317. "type": "integer"
  18318. },
  18319. "brandname": {
  18320. "description": "品牌名称",
  18321. "type": "string"
  18322. },
  18323. "currencyid": {
  18324. "description": "报价货币ID",
  18325. "type": "integer"
  18326. },
  18327. "enumdicname": {
  18328. "description": "现货商品单位名称",
  18329. "type": "string"
  18330. },
  18331. "gbenumdicname": {
  18332. "description": "品类单位名称",
  18333. "type": "string"
  18334. },
  18335. "gmunitid": {
  18336. "description": "品类单位id",
  18337. "type": "integer"
  18338. },
  18339. "isvalid": {
  18340. "description": "是否有效 - 0:无效 1:有效",
  18341. "type": "integer"
  18342. },
  18343. "modelname": {
  18344. "description": "品类名称",
  18345. "type": "string"
  18346. },
  18347. "operateid": {
  18348. "description": "最后操作人",
  18349. "type": "integer"
  18350. },
  18351. "operatesrc": {
  18352. "description": "最后操作来源 - 1:管理端 2:终端",
  18353. "type": "integer"
  18354. },
  18355. "operatetime": {
  18356. "description": "最后操作时间",
  18357. "type": "string"
  18358. },
  18359. "operatorname": {
  18360. "description": "操作人名称",
  18361. "type": "string"
  18362. },
  18363. "spotgoodsbrandid": {
  18364. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18365. "type": "integer"
  18366. },
  18367. "spotgoodsmodelid": {
  18368. "description": "现货品类ID(通用则为0)",
  18369. "type": "integer"
  18370. },
  18371. "spotgoodsprice": {
  18372. "description": "现货价格",
  18373. "type": "number"
  18374. },
  18375. "tradedate": {
  18376. "description": "交易日(yyyyMMdd)",
  18377. "type": "string"
  18378. },
  18379. "unitid": {
  18380. "description": "现货商品单位id",
  18381. "type": "integer"
  18382. },
  18383. "wrstandardcode": {
  18384. "description": "现货商品代码",
  18385. "type": "string"
  18386. },
  18387. "wrstandardid": {
  18388. "description": "现货商品ID",
  18389. "type": "integer"
  18390. },
  18391. "wrstandardname": {
  18392. "description": "现货商品名称",
  18393. "type": "string"
  18394. }
  18395. }
  18396. },
  18397. "models.ErmcpSpotGoodsPriceLog": {
  18398. "type": "object",
  18399. "properties": {
  18400. "areauserid": {
  18401. "description": "所属机构id",
  18402. "type": "integer"
  18403. },
  18404. "brandname": {
  18405. "description": "品牌名称",
  18406. "type": "string"
  18407. },
  18408. "currencyid": {
  18409. "description": "报价货币ID",
  18410. "type": "integer"
  18411. },
  18412. "enumdicname": {
  18413. "description": "现货商品单位名称",
  18414. "type": "string"
  18415. },
  18416. "gbenumdicname": {
  18417. "description": "品类单位名称",
  18418. "type": "string"
  18419. },
  18420. "gmunitid": {
  18421. "description": "品类单位id",
  18422. "type": "integer"
  18423. },
  18424. "logid": {
  18425. "description": "日志id",
  18426. "type": "integer"
  18427. },
  18428. "modelname": {
  18429. "description": "品类名称",
  18430. "type": "string"
  18431. },
  18432. "operateid": {
  18433. "description": "最后操作人",
  18434. "type": "integer"
  18435. },
  18436. "operatesrc": {
  18437. "description": "最后操作来源 - 1:管理端 2:终端",
  18438. "type": "integer"
  18439. },
  18440. "operatetime": {
  18441. "description": "最后操作时间",
  18442. "type": "string"
  18443. },
  18444. "operatorname": {
  18445. "description": "操作人名称",
  18446. "type": "string"
  18447. },
  18448. "spotgoodsbrandid": {
  18449. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18450. "type": "integer"
  18451. },
  18452. "spotgoodsmodelid": {
  18453. "description": "现货品类ID(通用则为0)",
  18454. "type": "integer"
  18455. },
  18456. "spotgoodsprice": {
  18457. "description": "现货价格",
  18458. "type": "number"
  18459. },
  18460. "tradedate": {
  18461. "description": "交易日(yyyyMMdd)",
  18462. "type": "string"
  18463. },
  18464. "unitid": {
  18465. "description": "现货商品单位id",
  18466. "type": "integer"
  18467. },
  18468. "wrstandardcode": {
  18469. "description": "现货商品代码",
  18470. "type": "string"
  18471. },
  18472. "wrstandardid": {
  18473. "description": "现货商品ID",
  18474. "type": "integer"
  18475. },
  18476. "wrstandardname": {
  18477. "description": "现货商品名称",
  18478. "type": "string"
  18479. }
  18480. }
  18481. },
  18482. "models.ErmcpTaAccount": {
  18483. "type": "object",
  18484. "properties": {
  18485. "accountid": {
  18486. "description": "账户id",
  18487. "type": "integer"
  18488. },
  18489. "accountname": {
  18490. "description": "账户名称",
  18491. "type": "string"
  18492. },
  18493. "currencyid": {
  18494. "description": "币种id",
  18495. "type": "integer"
  18496. },
  18497. "ismain": {
  18498. "description": "是否主账户 0-否 1-是",
  18499. "type": "integer"
  18500. },
  18501. "parentaccountid": {
  18502. "description": "父账户id",
  18503. "type": "integer"
  18504. },
  18505. "relateduserid": {
  18506. "description": "关联userid",
  18507. "type": "integer"
  18508. },
  18509. "tradestatus": {
  18510. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18511. "type": "integer"
  18512. }
  18513. }
  18514. },
  18515. "models.ErmcpTaAccountEx": {
  18516. "type": "object",
  18517. "properties": {
  18518. "mainAcc": {
  18519. "description": "主账号",
  18520. "$ref": "#/definitions/models.ErmcpTaAccount"
  18521. },
  18522. "subacclist": {
  18523. "description": "子账号列表",
  18524. "type": "array",
  18525. "items": {
  18526. "$ref": "#/definitions/models.ErmcpTaAccount"
  18527. }
  18528. }
  18529. }
  18530. },
  18531. "models.ErmcpTaAccountInfo": {
  18532. "type": "object",
  18533. "properties": {
  18534. "accountid": {
  18535. "description": "资金账户ID",
  18536. "type": "integer"
  18537. },
  18538. "accountname": {
  18539. "description": "账户名称",
  18540. "type": "string"
  18541. },
  18542. "balance": {
  18543. "description": "期初余额",
  18544. "type": "number"
  18545. },
  18546. "capitalbalance": {
  18547. "description": "本金余额[外部子账户实际出入金余额]",
  18548. "type": "number"
  18549. },
  18550. "closepl": {
  18551. "description": "今日平仓盈亏",
  18552. "type": "number"
  18553. },
  18554. "creditdecrease": {
  18555. "description": "今日授信减少",
  18556. "type": "number"
  18557. },
  18558. "creditincrease": {
  18559. "description": "今日授信增加",
  18560. "type": "number"
  18561. },
  18562. "curdebt": {
  18563. "description": "期末欠款",
  18564. "type": "number"
  18565. },
  18566. "currencyid": {
  18567. "description": "货币ID",
  18568. "type": "integer"
  18569. },
  18570. "currentbalance": {
  18571. "description": "期末余额",
  18572. "type": "number"
  18573. },
  18574. "freezecharge": {
  18575. "description": "手续费冻结",
  18576. "type": "number"
  18577. },
  18578. "freezemargin": {
  18579. "description": "冻结保证金",
  18580. "type": "number"
  18581. },
  18582. "fromaccountid": {
  18583. "description": "所属上级账户",
  18584. "type": "integer"
  18585. },
  18586. "inamount": {
  18587. "description": "今日入金金额(包括三方入金)",
  18588. "type": "number"
  18589. },
  18590. "ismain": {
  18591. "description": "是否母账号 0:不是母账户 1:是母账户",
  18592. "type": "integer"
  18593. },
  18594. "mortgagecredit": {
  18595. "description": "授信金额",
  18596. "type": "number"
  18597. },
  18598. "oridebt": {
  18599. "description": "期初欠款",
  18600. "type": "number"
  18601. },
  18602. "orifreezecharge": {
  18603. "description": "期初手续费冻结",
  18604. "type": "number"
  18605. },
  18606. "orifreezemargin": {
  18607. "description": "期初冻结保证金",
  18608. "type": "number"
  18609. },
  18610. "orimortgagecredit": {
  18611. "description": "期初授信金额",
  18612. "type": "number"
  18613. },
  18614. "oriothercredit": {
  18615. "description": "期初其它授信金额",
  18616. "type": "number"
  18617. },
  18618. "oriotherfreezemargin": {
  18619. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18620. "type": "number"
  18621. },
  18622. "orioutamountfreeze": {
  18623. "description": "期初出金冻结",
  18624. "type": "number"
  18625. },
  18626. "oriusedmargin": {
  18627. "description": "期初占用保证金",
  18628. "type": "number"
  18629. },
  18630. "othercredit": {
  18631. "description": "其它授信金额",
  18632. "type": "number"
  18633. },
  18634. "othercreditdecrease": {
  18635. "description": "今日其它授信减少",
  18636. "type": "number"
  18637. },
  18638. "othercreditincrease": {
  18639. "description": "今日其它授信增加",
  18640. "type": "number"
  18641. },
  18642. "otherfreezemargin": {
  18643. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18644. "type": "number"
  18645. },
  18646. "outamount": {
  18647. "description": "今日出金金额(包括三方出金)",
  18648. "type": "number"
  18649. },
  18650. "outamountfreeze": {
  18651. "description": "出金冻结",
  18652. "type": "number"
  18653. },
  18654. "outthreshold": {
  18655. "description": "出金阈值",
  18656. "type": "number"
  18657. },
  18658. "parentaccountid": {
  18659. "description": "所属根账号",
  18660. "type": "integer"
  18661. },
  18662. "paycharge": {
  18663. "description": "今日手续费支出",
  18664. "type": "number"
  18665. },
  18666. "relateduserid": {
  18667. "description": "关联用户",
  18668. "type": "integer"
  18669. },
  18670. "signstatus": {
  18671. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18672. "type": "integer"
  18673. },
  18674. "sublevelpath": {
  18675. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18676. "type": "string"
  18677. },
  18678. "taaccounttype": {
  18679. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18680. "type": "integer"
  18681. },
  18682. "thirdinamount": {
  18683. "description": "今日三方入金",
  18684. "type": "number"
  18685. },
  18686. "thirdoutamount": {
  18687. "description": "今日三方出金",
  18688. "type": "number"
  18689. },
  18690. "tradestatus": {
  18691. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18692. "type": "integer"
  18693. },
  18694. "transferamount": {
  18695. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18696. "type": "number"
  18697. },
  18698. "usedmargin": {
  18699. "description": "占用保证金",
  18700. "type": "number"
  18701. },
  18702. "userid": {
  18703. "description": "用户ID",
  18704. "type": "integer"
  18705. }
  18706. }
  18707. },
  18708. "models.ErmcpTradeConfigTMP": {
  18709. "type": "object",
  18710. "properties": {
  18711. "areauserid": {
  18712. "description": "所属机构",
  18713. "type": "integer"
  18714. },
  18715. "basiccurrencyid": {
  18716. "description": "基本币种ID[汇率] - 目标币种",
  18717. "type": "integer"
  18718. },
  18719. "mainaccountid": {
  18720. "description": "主账户ID",
  18721. "type": "integer"
  18722. },
  18723. "modifierid": {
  18724. "description": "修改人",
  18725. "type": "integer"
  18726. },
  18727. "remark": {
  18728. "description": "备注",
  18729. "type": "string"
  18730. },
  18731. "tradeconfigtmpid": {
  18732. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18733. "type": "integer"
  18734. },
  18735. "tradeconfigtmpname": {
  18736. "description": "交易配置模板名称",
  18737. "type": "string"
  18738. },
  18739. "tradeconfigtmptype": {
  18740. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18741. "type": "integer"
  18742. },
  18743. "updatetime": {
  18744. "description": "更新时间",
  18745. "type": "string"
  18746. }
  18747. }
  18748. },
  18749. "models.ErmcpWrstandard": {
  18750. "type": "object",
  18751. "properties": {
  18752. "areauserid": {
  18753. "description": "所属机构",
  18754. "type": "integer"
  18755. },
  18756. "createtime": {
  18757. "description": "创建时间",
  18758. "type": "string"
  18759. },
  18760. "creatorid": {
  18761. "description": "创建人",
  18762. "type": "integer"
  18763. },
  18764. "deliverygoodsid": {
  18765. "description": "品种ID",
  18766. "type": "integer"
  18767. },
  18768. "enumdicname": {
  18769. "description": "单位名称",
  18770. "type": "string"
  18771. },
  18772. "isvalid": {
  18773. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18774. "type": "integer"
  18775. },
  18776. "minivalue": {
  18777. "description": "最小变动值",
  18778. "type": "integer"
  18779. },
  18780. "minivaluedp": {
  18781. "description": "最小变动值小数位",
  18782. "type": "integer"
  18783. },
  18784. "realminivalue": {
  18785. "description": "实际最小变动值",
  18786. "type": "integer"
  18787. },
  18788. "realminivaluedp": {
  18789. "description": "实际最小变动值小数位",
  18790. "type": "integer"
  18791. },
  18792. "remark": {
  18793. "description": "备注",
  18794. "type": "string"
  18795. },
  18796. "unitid": {
  18797. "description": "单位ID",
  18798. "type": "integer"
  18799. },
  18800. "updatetime": {
  18801. "description": "更新时间",
  18802. "type": "string"
  18803. },
  18804. "wrstandardcode": {
  18805. "description": "现货商品代码",
  18806. "type": "string"
  18807. },
  18808. "wrstandardid": {
  18809. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18810. "type": "integer"
  18811. },
  18812. "wrstandardname": {
  18813. "description": "现货商品名称",
  18814. "type": "string"
  18815. }
  18816. }
  18817. },
  18818. "models.Externalexchange": {
  18819. "type": "object",
  18820. "required": [
  18821. "autoid"
  18822. ],
  18823. "properties": {
  18824. "autoid": {
  18825. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18826. "type": "integer"
  18827. },
  18828. "exchangefullname": {
  18829. "description": "外部交易所全称",
  18830. "type": "string"
  18831. },
  18832. "exexchangecode": {
  18833. "description": "外部交易所代码",
  18834. "type": "string"
  18835. },
  18836. "exexchangename": {
  18837. "description": "外部交易所名称(简称)",
  18838. "type": "string"
  18839. },
  18840. "ismarketprice": {
  18841. "description": "是否支持市价 - 0:不支持 1:支持",
  18842. "type": "integer"
  18843. },
  18844. "quotegear": {
  18845. "description": "行情档位(1-10)",
  18846. "type": "integer"
  18847. },
  18848. "showbrokerflag": {
  18849. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18850. "type": "integer"
  18851. },
  18852. "updatetime": {
  18853. "description": "更新时间",
  18854. "type": "string"
  18855. }
  18856. }
  18857. },
  18858. "models.Funcmenulist": {
  18859. "type": "object",
  18860. "required": [
  18861. "resourcecode"
  18862. ],
  18863. "properties": {
  18864. "iconame": {
  18865. "description": "菜单图标",
  18866. "type": "string"
  18867. },
  18868. "menutype": {
  18869. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18870. "type": "integer"
  18871. },
  18872. "parentcode": {
  18873. "description": "上级资源代码",
  18874. "type": "string"
  18875. },
  18876. "remark": {
  18877. "description": "备注",
  18878. "type": "string"
  18879. },
  18880. "resourcecode": {
  18881. "description": "资源代码",
  18882. "type": "string"
  18883. },
  18884. "resourcelevel": {
  18885. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18886. "type": "integer"
  18887. },
  18888. "resourcename": {
  18889. "description": "资源名",
  18890. "type": "string"
  18891. },
  18892. "sort": {
  18893. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18894. "type": "integer"
  18895. },
  18896. "url": {
  18897. "description": "URL",
  18898. "type": "string"
  18899. }
  18900. }
  18901. },
  18902. "models.Goods": {
  18903. "type": "object",
  18904. "required": [
  18905. "goodscode",
  18906. "goodsid",
  18907. "goodsname",
  18908. "marketid"
  18909. ],
  18910. "properties": {
  18911. "agreeunit": {
  18912. "description": "合约单位",
  18913. "type": "number"
  18914. },
  18915. "auditaccountid": {
  18916. "description": "审核操作员账号",
  18917. "type": "integer"
  18918. },
  18919. "audittime": {
  18920. "description": "审核时间",
  18921. "type": "string"
  18922. },
  18923. "cancelaccountid": {
  18924. "description": "注销操作员账号",
  18925. "type": "integer"
  18926. },
  18927. "canceltime": {
  18928. "description": "注销时间",
  18929. "type": "string"
  18930. },
  18931. "closepricemode": {
  18932. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18933. "type": "integer"
  18934. },
  18935. "closepriceparam": {
  18936. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18937. "type": "number"
  18938. },
  18939. "createtime": {
  18940. "description": "创建时间",
  18941. "type": "string"
  18942. },
  18943. "creatorid": {
  18944. "description": "创建人",
  18945. "type": "integer"
  18946. },
  18947. "currencyid": {
  18948. "description": "报价货币ID",
  18949. "type": "integer"
  18950. },
  18951. "cutmode": {
  18952. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18953. "type": "integer"
  18954. },
  18955. "decimalplace": {
  18956. "description": "报价小数位",
  18957. "type": "integer"
  18958. },
  18959. "delistingdate": {
  18960. "description": "商品退市时间(状态:退市) -- 已作废",
  18961. "type": "string"
  18962. },
  18963. "delistingmode": {
  18964. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18965. "type": "integer"
  18966. },
  18967. "deliveryflag": {
  18968. "description": "交割标志 - 0:不可交割 1:可交割",
  18969. "type": "integer"
  18970. },
  18971. "forceclosemode": {
  18972. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18973. "type": "integer"
  18974. },
  18975. "forceclosevalue": {
  18976. "description": "定期强平参数 [收益权]",
  18977. "type": "integer"
  18978. },
  18979. "goodscode": {
  18980. "description": "商品代码(内部)",
  18981. "type": "string"
  18982. },
  18983. "goodscurrencyid": {
  18984. "description": "合约货币ID",
  18985. "type": "integer"
  18986. },
  18987. "goodsgroupid": {
  18988. "description": "所属商品组ID",
  18989. "type": "integer"
  18990. },
  18991. "goodsid": {
  18992. "description": "商品ID(自增ID SEQ_GOODS)",
  18993. "type": "integer"
  18994. },
  18995. "goodsname": {
  18996. "description": "商品名称",
  18997. "type": "string"
  18998. },
  18999. "goodsquotetype": {
  19000. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19001. "type": "integer"
  19002. },
  19003. "goodsstatus": {
  19004. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19005. "type": "integer"
  19006. },
  19007. "goodstradetype": {
  19008. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19009. "type": "integer"
  19010. },
  19011. "goodunitid": {
  19012. "description": "报价单位ID",
  19013. "type": "integer"
  19014. },
  19015. "hasquoter": {
  19016. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19017. "type": "integer"
  19018. },
  19019. "hqprotecttime": {
  19020. "description": "行情保护时间(秒)",
  19021. "type": "integer"
  19022. },
  19023. "innerdealmode": {
  19024. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19025. "type": "integer"
  19026. },
  19027. "isbuylimited": {
  19028. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19029. "type": "integer"
  19030. },
  19031. "lasttradedate": {
  19032. "description": "最后交易日期(状态:待退市)",
  19033. "type": "string"
  19034. },
  19035. "listingdate": {
  19036. "description": "交易开始日期",
  19037. "type": "string"
  19038. },
  19039. "marketid": {
  19040. "description": "所属市场ID",
  19041. "type": "integer"
  19042. },
  19043. "modifierid": {
  19044. "description": "修改人",
  19045. "type": "integer"
  19046. },
  19047. "modifystatus": {
  19048. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19049. "type": "integer"
  19050. },
  19051. "modifytime": {
  19052. "description": "修改时间",
  19053. "type": "string"
  19054. },
  19055. "outerdealmode": {
  19056. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19057. "type": "integer"
  19058. },
  19059. "outgoodscode": {
  19060. "description": "商品代码(外部)",
  19061. "type": "string"
  19062. },
  19063. "qtydecimalplace": {
  19064. "description": "成交量小数位",
  19065. "type": "integer"
  19066. },
  19067. "quotegear": {
  19068. "description": "行情档位(1-10)",
  19069. "type": "integer"
  19070. },
  19071. "quoteminunit": {
  19072. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19073. "type": "integer"
  19074. },
  19075. "quoteshowtype": {
  19076. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19077. "type": "integer"
  19078. },
  19079. "quoteshowtypeinterval": {
  19080. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19081. "type": "integer"
  19082. },
  19083. "remark": {
  19084. "description": "备注",
  19085. "type": "string"
  19086. }
  19087. }
  19088. },
  19089. "models.GoodsBrand": {
  19090. "type": "object",
  19091. "properties": {
  19092. "brandid": {
  19093. "description": "品牌ID",
  19094. "type": "integer"
  19095. },
  19096. "brandname": {
  19097. "description": "品牌名称",
  19098. "type": "string"
  19099. },
  19100. "isvalid": {
  19101. "description": "是否有效 - 0:无效 1:有效",
  19102. "type": "integer"
  19103. }
  19104. }
  19105. },
  19106. "models.GoodsIDAndName": {
  19107. "type": "object",
  19108. "required": [
  19109. "goodscode",
  19110. "goodsid",
  19111. "goodsname",
  19112. "marketid"
  19113. ],
  19114. "properties": {
  19115. "goodscode": {
  19116. "description": "商品代码(内部)",
  19117. "type": "string"
  19118. },
  19119. "goodsid": {
  19120. "description": "商品ID(自增ID SEQ_GOODS)",
  19121. "type": "integer"
  19122. },
  19123. "goodsname": {
  19124. "description": "商品名称",
  19125. "type": "string"
  19126. },
  19127. "marketid": {
  19128. "description": "所属市场ID",
  19129. "type": "integer"
  19130. }
  19131. }
  19132. },
  19133. "models.GoodsTypeModel": {
  19134. "type": "object",
  19135. "properties": {
  19136. "convertfactor": {
  19137. "description": "标仓系数",
  19138. "type": "number"
  19139. },
  19140. "modelid": {
  19141. "description": "型号ID",
  19142. "type": "integer"
  19143. },
  19144. "modelname": {
  19145. "description": "型号名称",
  19146. "type": "string"
  19147. },
  19148. "updatetime": {
  19149. "description": "更新时间",
  19150. "type": "string"
  19151. }
  19152. }
  19153. },
  19154. "models.Goodsgroup": {
  19155. "type": "object",
  19156. "required": [
  19157. "goodsgroupid",
  19158. "goodsgroupname",
  19159. "goodsgroupstatus",
  19160. "marketid"
  19161. ],
  19162. "properties": {
  19163. "agreeunit": {
  19164. "description": "合约单位",
  19165. "type": "number"
  19166. },
  19167. "canshort": {
  19168. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19169. "type": "integer"
  19170. },
  19171. "closepricemode": {
  19172. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19173. "type": "integer"
  19174. },
  19175. "closepriceparam": {
  19176. "description": "强平最新价浮动比例 - 方式为2时使用",
  19177. "type": "number"
  19178. },
  19179. "createtime": {
  19180. "description": "创建时间",
  19181. "type": "string"
  19182. },
  19183. "creatorid": {
  19184. "description": "创建人",
  19185. "type": "integer"
  19186. },
  19187. "currencyid": {
  19188. "description": "报价货币ID",
  19189. "type": "integer"
  19190. },
  19191. "decimalplace": {
  19192. "description": "报价小数位",
  19193. "type": "integer"
  19194. },
  19195. "exercisetype": {
  19196. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19197. "type": "integer"
  19198. },
  19199. "exexchangeid": {
  19200. "description": "外部交易所ID[通道交易]",
  19201. "type": "integer"
  19202. },
  19203. "goodsgroupid": {
  19204. "description": "商品组ID(自增ID)",
  19205. "type": "integer"
  19206. },
  19207. "goodsgroupname": {
  19208. "description": "商品组名称",
  19209. "type": "string"
  19210. },
  19211. "goodsgroupstatus": {
  19212. "description": "商品组状态 - 1:正常 2:注销",
  19213. "type": "integer"
  19214. },
  19215. "goodunitid": {
  19216. "description": "报价单位ID",
  19217. "type": "integer"
  19218. },
  19219. "innerdealmode": {
  19220. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19221. "type": "integer"
  19222. },
  19223. "isbuylimited": {
  19224. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19225. "type": "integer"
  19226. },
  19227. "marketid": {
  19228. "description": "所属市场ID",
  19229. "type": "integer"
  19230. },
  19231. "modifierid": {
  19232. "description": "修改人",
  19233. "type": "integer"
  19234. },
  19235. "modifytime": {
  19236. "description": "修改时间",
  19237. "type": "string"
  19238. },
  19239. "outerdealmode": {
  19240. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19241. "type": "integer"
  19242. },
  19243. "outergroupcode": {
  19244. "description": "外部商品组代码[通道交易]",
  19245. "type": "string"
  19246. },
  19247. "premiumdecimalplace": {
  19248. "description": "权利金小数位[场外期权]",
  19249. "type": "integer"
  19250. },
  19251. "premiumspreadalgorithm": {
  19252. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19253. "type": "integer"
  19254. },
  19255. "premiumspreadvalue": {
  19256. "description": "权利金点差值[场外期权]",
  19257. "type": "number"
  19258. },
  19259. "qtydecimalplace": {
  19260. "description": "成交量小数位",
  19261. "type": "integer"
  19262. },
  19263. "quotegear": {
  19264. "description": "行情档位(1-10)",
  19265. "type": "integer"
  19266. },
  19267. "quoteminunit": {
  19268. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19269. "type": "integer"
  19270. },
  19271. "quoterid": {
  19272. "description": "报价商ID[场外期权]",
  19273. "type": "integer"
  19274. },
  19275. "quotesourcegroupid": {
  19276. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19277. "type": "integer"
  19278. },
  19279. "syncgoodsqty": {
  19280. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19281. "type": "integer"
  19282. }
  19283. }
  19284. },
  19285. "models.Goodssortbypreposition": {
  19286. "type": "object",
  19287. "required": [
  19288. "goodscode",
  19289. "tradedate"
  19290. ],
  19291. "properties": {
  19292. "goodscode": {
  19293. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19294. "type": "string"
  19295. },
  19296. "goodsgroupcode": {
  19297. "description": "品种代码",
  19298. "type": "string"
  19299. },
  19300. "prepositionqty": {
  19301. "description": "昨持仓量",
  19302. "type": "integer"
  19303. },
  19304. "sortindex": {
  19305. "description": "排序",
  19306. "type": "integer"
  19307. },
  19308. "tradedate": {
  19309. "description": "交易日",
  19310. "type": "string"
  19311. },
  19312. "updatetime": {
  19313. "description": "更新时间",
  19314. "type": "string"
  19315. }
  19316. }
  19317. },
  19318. "models.Hedgeinnerholderdetail": {
  19319. "type": "object",
  19320. "required": [
  19321. "buyorsell",
  19322. "tradeid"
  19323. ],
  19324. "properties": {
  19325. "accountid": {
  19326. "description": "账号ID",
  19327. "type": "integer"
  19328. },
  19329. "buyorsell": {
  19330. "description": "方向 - 0:买 1:卖",
  19331. "type": "integer"
  19332. },
  19333. "freezeqty": {
  19334. "description": "冻结数量 - 按单平使用",
  19335. "type": "integer"
  19336. },
  19337. "goodsid": {
  19338. "description": "商品ID",
  19339. "type": "integer"
  19340. },
  19341. "holderamount": {
  19342. "description": "持仓金额 [商品币种]",
  19343. "type": "number"
  19344. },
  19345. "holderdays": {
  19346. "description": "剩余冻结天数",
  19347. "type": "integer"
  19348. },
  19349. "holderprice": {
  19350. "description": "持仓价格",
  19351. "type": "number"
  19352. },
  19353. "holderqty": {
  19354. "description": "持仓数量",
  19355. "type": "integer"
  19356. },
  19357. "marketid": {
  19358. "description": "市场ID",
  19359. "type": "integer"
  19360. },
  19361. "openprice": {
  19362. "description": "建仓价格",
  19363. "type": "number"
  19364. },
  19365. "openqty": {
  19366. "description": "建仓数量",
  19367. "type": "integer"
  19368. },
  19369. "parentaccountid": {
  19370. "description": "所属母账户",
  19371. "type": "integer"
  19372. },
  19373. "releaseamount": {
  19374. "description": "释放持仓金额[商品币种]",
  19375. "type": "number"
  19376. },
  19377. "tradeamount": {
  19378. "description": "成交金额[账户]",
  19379. "type": "number"
  19380. },
  19381. "tradedate": {
  19382. "description": "交易日(yyyyMMdd)",
  19383. "type": "string"
  19384. },
  19385. "tradeid": {
  19386. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19387. "type": "string"
  19388. },
  19389. "tradetime": {
  19390. "description": "交易时间",
  19391. "type": "string"
  19392. }
  19393. }
  19394. },
  19395. "models.Hedgemarketopenlog": {
  19396. "type": "object",
  19397. "required": [
  19398. "accountid"
  19399. ],
  19400. "properties": {
  19401. "accountid": {
  19402. "description": "资金账号[外部母账户]",
  19403. "type": "integer"
  19404. },
  19405. "fcname": {
  19406. "description": "期货公司名称",
  19407. "type": "string"
  19408. },
  19409. "handlestatus": {
  19410. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19411. "type": "integer"
  19412. },
  19413. "marketid": {
  19414. "description": "市场ID",
  19415. "type": "integer"
  19416. },
  19417. "status": {
  19418. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19419. "type": "integer"
  19420. },
  19421. "tradedate": {
  19422. "description": "交易日(yyyyMMdd)",
  19423. "type": "string"
  19424. },
  19425. "updatetime": {
  19426. "description": "更新时间",
  19427. "type": "string"
  19428. }
  19429. }
  19430. },
  19431. "models.HsbyBuyMyPayOrder": {
  19432. "type": "object",
  19433. "required": [
  19434. "goodscode",
  19435. "goodsname",
  19436. "tradeid",
  19437. "trademode"
  19438. ],
  19439. "properties": {
  19440. "agreeunit": {
  19441. "description": "合约单位",
  19442. "type": "number"
  19443. },
  19444. "buyaccountid": {
  19445. "description": "买方账号ID[报价币种]",
  19446. "type": "integer"
  19447. },
  19448. "buyorderid": {
  19449. "description": "买方委托单号",
  19450. "type": "string"
  19451. },
  19452. "createtime": {
  19453. "description": "创建时间",
  19454. "type": "string"
  19455. },
  19456. "currencysign": {
  19457. "description": "货币符号",
  19458. "type": "string"
  19459. },
  19460. "decimalplace": {
  19461. "description": "报价小数位",
  19462. "type": "integer"
  19463. },
  19464. "goodscode": {
  19465. "description": "商品代码(内部)",
  19466. "type": "string"
  19467. },
  19468. "goodsid": {
  19469. "description": "商品ID",
  19470. "type": "integer"
  19471. },
  19472. "goodsname": {
  19473. "description": "商品名称",
  19474. "type": "string"
  19475. },
  19476. "marketid": {
  19477. "description": "市场ID",
  19478. "type": "integer"
  19479. },
  19480. "offamount": {
  19481. "description": "优惠金额",
  19482. "type": "number"
  19483. },
  19484. "originalamount": {
  19485. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19486. "type": "number"
  19487. },
  19488. "payamount": {
  19489. "description": "支付金额 = TradeAmount + TradeCharge",
  19490. "type": "number"
  19491. },
  19492. "payflag": {
  19493. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19494. "type": "integer"
  19495. },
  19496. "paylimitedtime": {
  19497. "description": "支付期限",
  19498. "type": "string"
  19499. },
  19500. "paytime": {
  19501. "description": "付款时间",
  19502. "type": "string"
  19503. },
  19504. "picurls1": {
  19505. "description": "预售商品介绍图片[多张用逗号分隔]",
  19506. "type": "string"
  19507. },
  19508. "picurls2": {
  19509. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19510. "type": "string"
  19511. },
  19512. "sellaccountid": {
  19513. "description": "卖方账号ID[报价币种]",
  19514. "type": "integer"
  19515. },
  19516. "sellorderid": {
  19517. "description": "卖方委托单号",
  19518. "type": "string"
  19519. },
  19520. "tradeamount": {
  19521. "description": "成交金额",
  19522. "type": "number"
  19523. },
  19524. "tradecharge": {
  19525. "description": "成交手续费(买方)",
  19526. "type": "number"
  19527. },
  19528. "tradedate": {
  19529. "description": "交易日(yyyyMMdd)",
  19530. "type": "string"
  19531. },
  19532. "tradeid": {
  19533. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19534. "type": "string"
  19535. },
  19536. "trademode": {
  19537. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19538. "type": "integer"
  19539. },
  19540. "tradeprice": {
  19541. "description": "成交价格",
  19542. "type": "number"
  19543. },
  19544. "tradeqty": {
  19545. "description": "成交数量",
  19546. "type": "integer"
  19547. },
  19548. "vendorname1": {
  19549. "description": "预售商品供应商名称",
  19550. "type": "string"
  19551. },
  19552. "vendorname2": {
  19553. "description": "挂牌商品供应商名称",
  19554. "type": "string"
  19555. }
  19556. }
  19557. },
  19558. "models.HsbyBuyMyTradeDetail": {
  19559. "type": "object",
  19560. "required": [
  19561. "accountid",
  19562. "buyorsell",
  19563. "goodscode",
  19564. "goodsid",
  19565. "goodsname",
  19566. "marketid",
  19567. "orderid",
  19568. "qty",
  19569. "time",
  19570. "trademode"
  19571. ],
  19572. "properties": {
  19573. "accountid": {
  19574. "description": "账户ID[报价币种]",
  19575. "type": "integer"
  19576. },
  19577. "agreeunit": {
  19578. "description": "合约单位",
  19579. "type": "number"
  19580. },
  19581. "amount": {
  19582. "description": "金额 = 价格 * 数量 * 合约单位",
  19583. "type": "number"
  19584. },
  19585. "buyorsell": {
  19586. "description": "买卖 - 0:买 1:卖",
  19587. "type": "integer"
  19588. },
  19589. "currencysign": {
  19590. "description": "货币符号",
  19591. "type": "string"
  19592. },
  19593. "decimalplace": {
  19594. "description": "报价小数位",
  19595. "type": "integer"
  19596. },
  19597. "goodscode": {
  19598. "description": "商品代码(内部)",
  19599. "type": "string"
  19600. },
  19601. "goodsid": {
  19602. "description": "商品ID",
  19603. "type": "integer"
  19604. },
  19605. "goodsname": {
  19606. "description": "商品名称",
  19607. "type": "string"
  19608. },
  19609. "marketid": {
  19610. "description": "市场ID",
  19611. "type": "integer"
  19612. },
  19613. "orderamount": {
  19614. "description": "委托金额",
  19615. "type": "number"
  19616. },
  19617. "orderid": {
  19618. "description": "单号(成交单号)",
  19619. "type": "string"
  19620. },
  19621. "picurls1": {
  19622. "description": "预售商品介绍图片[多张用逗号分隔]",
  19623. "type": "string"
  19624. },
  19625. "picurls2": {
  19626. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19627. "type": "string"
  19628. },
  19629. "price": {
  19630. "description": "价格",
  19631. "type": "number"
  19632. },
  19633. "qty": {
  19634. "description": "数量",
  19635. "type": "integer"
  19636. },
  19637. "time": {
  19638. "description": "时间",
  19639. "type": "string"
  19640. },
  19641. "trademode": {
  19642. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19643. "type": "integer"
  19644. },
  19645. "vendorname1": {
  19646. "description": "预售商品供应商名称",
  19647. "type": "string"
  19648. },
  19649. "vendorname2": {
  19650. "description": "挂牌商品供应商名称",
  19651. "type": "string"
  19652. }
  19653. }
  19654. },
  19655. "models.HsbyGoodsOrderDetail": {
  19656. "type": "object",
  19657. "required": [
  19658. "buyorsell",
  19659. "orderid",
  19660. "ordertime"
  19661. ],
  19662. "properties": {
  19663. "buyorsell": {
  19664. "description": "买卖 - 0:买 1:卖",
  19665. "type": "integer"
  19666. },
  19667. "currencysign": {
  19668. "description": "货币符号",
  19669. "type": "string"
  19670. },
  19671. "customername": {
  19672. "description": "客户名称(企业名称),已脱敏",
  19673. "type": "string"
  19674. },
  19675. "enableqty": {
  19676. "description": "可用数量",
  19677. "type": "integer"
  19678. },
  19679. "goodunit": {
  19680. "description": "报价单位",
  19681. "type": "string"
  19682. },
  19683. "orderid": {
  19684. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19685. "type": "string"
  19686. },
  19687. "orderprice": {
  19688. "description": "委托价格",
  19689. "type": "number"
  19690. },
  19691. "ordertime": {
  19692. "description": "委托时间",
  19693. "type": "string"
  19694. }
  19695. }
  19696. },
  19697. "models.HsbyListingGoodsDetail": {
  19698. "type": "object",
  19699. "required": [
  19700. "goodscode",
  19701. "goodsid",
  19702. "goodsname",
  19703. "marketid",
  19704. "trademode"
  19705. ],
  19706. "properties": {
  19707. "agreeunit": {
  19708. "description": "合约单位",
  19709. "type": "number"
  19710. },
  19711. "buymaxqty": {
  19712. "description": "购买上限 [71] - 0为不限",
  19713. "type": "integer"
  19714. },
  19715. "currency": {
  19716. "description": "货币",
  19717. "type": "string"
  19718. },
  19719. "currencysign": {
  19720. "description": "货币符号",
  19721. "type": "string"
  19722. },
  19723. "decimalplace": {
  19724. "description": "报价小数位",
  19725. "type": "integer"
  19726. },
  19727. "desccityid": {
  19728. "description": "目的地(市)ID",
  19729. "type": "integer"
  19730. },
  19731. "descprovinceid": {
  19732. "description": "目的地(省)ID",
  19733. "type": "integer"
  19734. },
  19735. "goodscode": {
  19736. "description": "商品代码(内部)",
  19737. "type": "string"
  19738. },
  19739. "goodsdesc": {
  19740. "description": "商品详情",
  19741. "type": "string"
  19742. },
  19743. "goodsid": {
  19744. "description": "商品ID(自增ID SEQ_GOODS)",
  19745. "type": "integer"
  19746. },
  19747. "goodsname": {
  19748. "description": "商品名称",
  19749. "type": "string"
  19750. },
  19751. "goodsprice": {
  19752. "description": "商品价格",
  19753. "type": "number"
  19754. },
  19755. "hotindex": {
  19756. "description": "景点热度",
  19757. "type": "integer"
  19758. },
  19759. "last": {
  19760. "description": "现价",
  19761. "type": "number"
  19762. },
  19763. "limitdown": {
  19764. "description": "跌停价",
  19765. "type": "number"
  19766. },
  19767. "limitup": {
  19768. "description": "涨停价",
  19769. "type": "number"
  19770. },
  19771. "lotsize": {
  19772. "description": "手数最小变动单位",
  19773. "type": "integer"
  19774. },
  19775. "marketid": {
  19776. "description": "所属市场ID",
  19777. "type": "integer"
  19778. },
  19779. "picurls": {
  19780. "description": "介绍图片[多张用逗号分隔]",
  19781. "type": "string"
  19782. },
  19783. "quoteminunit": {
  19784. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19785. "type": "integer"
  19786. },
  19787. "stepvalue": {
  19788. "description": "价格最小变动单位",
  19789. "type": "number"
  19790. },
  19791. "trademode": {
  19792. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19793. "type": "integer"
  19794. },
  19795. "vendorattr": {
  19796. "description": "供应商附件(多张,逗号分隔)",
  19797. "type": "string"
  19798. },
  19799. "vendorname": {
  19800. "description": "供应商名称",
  19801. "type": "string"
  19802. },
  19803. "vendorphone": {
  19804. "description": "供应商客服电话",
  19805. "type": "string"
  19806. },
  19807. "videourls": {
  19808. "description": "介绍视频[多张用逗号分隔]",
  19809. "type": "string"
  19810. }
  19811. }
  19812. },
  19813. "models.HsbyMarketGoods": {
  19814. "type": "object",
  19815. "required": [
  19816. "accountid",
  19817. "buyorsell",
  19818. "goodscode",
  19819. "goodsid",
  19820. "goodsname",
  19821. "marketid",
  19822. "orderid",
  19823. "trademode"
  19824. ],
  19825. "properties": {
  19826. "accountid": {
  19827. "description": "账户ID[报价币种]",
  19828. "type": "integer"
  19829. },
  19830. "agreeunit": {
  19831. "description": "合约单位",
  19832. "type": "number"
  19833. },
  19834. "buyorsell": {
  19835. "description": "买卖 - 0:买 1:卖",
  19836. "type": "integer"
  19837. },
  19838. "categoryid": {
  19839. "description": "类别ID(WRCATEGORY)",
  19840. "type": "integer"
  19841. },
  19842. "currency": {
  19843. "description": "货币",
  19844. "type": "string"
  19845. },
  19846. "currencysign": {
  19847. "description": "货币符号",
  19848. "type": "string"
  19849. },
  19850. "customername": {
  19851. "description": "卖家名称",
  19852. "type": "string"
  19853. },
  19854. "decimalplace": {
  19855. "description": "报价小数位",
  19856. "type": "integer"
  19857. },
  19858. "goodscode": {
  19859. "description": "商品代码(内部)",
  19860. "type": "string"
  19861. },
  19862. "goodsid": {
  19863. "description": "商品ID",
  19864. "type": "integer"
  19865. },
  19866. "goodsname": {
  19867. "description": "商品名称",
  19868. "type": "string"
  19869. },
  19870. "goodsprice": {
  19871. "description": "商品价格",
  19872. "type": "number"
  19873. },
  19874. "hascoupon": {
  19875. "description": "是否可用优惠卷",
  19876. "type": "boolean"
  19877. },
  19878. "hotindex": {
  19879. "description": "景点热度",
  19880. "type": "integer"
  19881. },
  19882. "marketid": {
  19883. "description": "市场ID",
  19884. "type": "integer"
  19885. },
  19886. "orderid": {
  19887. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19888. "type": "string"
  19889. },
  19890. "orderprice": {
  19891. "description": "委托价格",
  19892. "type": "number"
  19893. },
  19894. "orderstatus": {
  19895. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19896. "type": "integer"
  19897. },
  19898. "picurls": {
  19899. "description": "介绍图片[多张用逗号分隔]",
  19900. "type": "string"
  19901. },
  19902. "quoteminunit": {
  19903. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19904. "type": "integer"
  19905. },
  19906. "sellUserID": {
  19907. "description": "卖方UserID",
  19908. "type": "integer"
  19909. },
  19910. "trademode": {
  19911. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19912. "type": "integer"
  19913. },
  19914. "videourls": {
  19915. "description": "介绍视频[多张用逗号分隔]",
  19916. "type": "string"
  19917. }
  19918. }
  19919. },
  19920. "models.HsbyMarketGoodsDetail": {
  19921. "type": "object",
  19922. "required": [
  19923. "accountid",
  19924. "buyorsell",
  19925. "goodscode",
  19926. "goodsid",
  19927. "goodsname",
  19928. "marketid",
  19929. "orderid",
  19930. "orderqty",
  19931. "trademode"
  19932. ],
  19933. "properties": {
  19934. "accountid": {
  19935. "description": "账户ID[报价币种]",
  19936. "type": "integer"
  19937. },
  19938. "agreeunit": {
  19939. "description": "合约单位",
  19940. "type": "number"
  19941. },
  19942. "buymaxqty": {
  19943. "description": "购买上限 [71] - 0为不限",
  19944. "type": "integer"
  19945. },
  19946. "buyorsell": {
  19947. "description": "买卖 - 0:买 1:卖",
  19948. "type": "integer"
  19949. },
  19950. "cancelqty": {
  19951. "description": "撤单数量",
  19952. "type": "integer"
  19953. },
  19954. "categoryid": {
  19955. "description": "类别ID(WRCATEGORY)",
  19956. "type": "integer"
  19957. },
  19958. "currency": {
  19959. "description": "货币",
  19960. "type": "string"
  19961. },
  19962. "currencysign": {
  19963. "description": "货币符号",
  19964. "type": "string"
  19965. },
  19966. "customername": {
  19967. "description": "卖家名称",
  19968. "type": "string"
  19969. },
  19970. "decimalplace": {
  19971. "description": "报价小数位",
  19972. "type": "integer"
  19973. },
  19974. "goodscode": {
  19975. "description": "商品代码(内部)",
  19976. "type": "string"
  19977. },
  19978. "goodsdesc": {
  19979. "description": "商品详情",
  19980. "type": "string"
  19981. },
  19982. "goodsid": {
  19983. "description": "商品ID",
  19984. "type": "integer"
  19985. },
  19986. "goodsname": {
  19987. "description": "商品名称",
  19988. "type": "string"
  19989. },
  19990. "goodsprice": {
  19991. "description": "商品价格",
  19992. "type": "number"
  19993. },
  19994. "hotindex": {
  19995. "description": "景点热度",
  19996. "type": "integer"
  19997. },
  19998. "lotsize": {
  19999. "description": "手数最小变动单位",
  20000. "type": "integer"
  20001. },
  20002. "marketid": {
  20003. "description": "市场ID",
  20004. "type": "integer"
  20005. },
  20006. "orderid": {
  20007. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20008. "type": "string"
  20009. },
  20010. "orderprice": {
  20011. "description": "委托价格",
  20012. "type": "number"
  20013. },
  20014. "orderqty": {
  20015. "description": "委托数量",
  20016. "type": "integer"
  20017. },
  20018. "orderstatus": {
  20019. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20020. "type": "integer"
  20021. },
  20022. "picurls": {
  20023. "description": "介绍图片[多张用逗号分隔]",
  20024. "type": "string"
  20025. },
  20026. "quoteminunit": {
  20027. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20028. "type": "integer"
  20029. },
  20030. "sellUserID": {
  20031. "description": "卖方UserID",
  20032. "type": "integer"
  20033. },
  20034. "trademode": {
  20035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20036. "type": "integer"
  20037. },
  20038. "tradeqty": {
  20039. "description": "成交数量",
  20040. "type": "integer"
  20041. },
  20042. "vendorattr": {
  20043. "description": "供应商附件(多张,逗号分隔)",
  20044. "type": "string"
  20045. },
  20046. "vendorname": {
  20047. "description": "供应商名称",
  20048. "type": "string"
  20049. },
  20050. "vendorphone": {
  20051. "description": "供应商客服电话",
  20052. "type": "string"
  20053. },
  20054. "videourls": {
  20055. "description": "介绍视频[多张用逗号分隔]",
  20056. "type": "string"
  20057. }
  20058. }
  20059. },
  20060. "models.HsbyMarketInfo": {
  20061. "type": "object",
  20062. "required": [
  20063. "marketid",
  20064. "marketstatus",
  20065. "trademode"
  20066. ],
  20067. "properties": {
  20068. "marketid": {
  20069. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20070. "type": "integer"
  20071. },
  20072. "marketname": {
  20073. "description": "市场名称",
  20074. "type": "string"
  20075. },
  20076. "marketstatus": {
  20077. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20078. "type": "integer"
  20079. },
  20080. "trademode": {
  20081. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20082. "type": "integer"
  20083. }
  20084. }
  20085. },
  20086. "models.HsbyMyGoods": {
  20087. "type": "object",
  20088. "required": [
  20089. "accountid",
  20090. "goodscode",
  20091. "goodsid",
  20092. "goodsname",
  20093. "marketid",
  20094. "trademode"
  20095. ],
  20096. "properties": {
  20097. "accountid": {
  20098. "description": "账号Id",
  20099. "type": "integer"
  20100. },
  20101. "agreeunit": {
  20102. "description": "合约单位",
  20103. "type": "number"
  20104. },
  20105. "buyaverageprice": {
  20106. "description": "持仓均价",
  20107. "type": "number"
  20108. },
  20109. "buycurholderamount": {
  20110. "description": "买当前持仓总金额[商品币种]",
  20111. "type": "number"
  20112. },
  20113. "buycurpositionqty": {
  20114. "description": "买当前持仓总数量",
  20115. "type": "integer"
  20116. },
  20117. "buymaxqty": {
  20118. "description": "购买上限 [71] - 0为不限",
  20119. "type": "integer"
  20120. },
  20121. "currencysign": {
  20122. "description": "货币符号",
  20123. "type": "string"
  20124. },
  20125. "decimalplace": {
  20126. "description": "报价小数位",
  20127. "type": "integer"
  20128. },
  20129. "enableqty": {
  20130. "description": "可用数量",
  20131. "type": "integer"
  20132. },
  20133. "goodscode": {
  20134. "description": "商品代码(内部)",
  20135. "type": "string"
  20136. },
  20137. "goodsid": {
  20138. "description": "商品Id",
  20139. "type": "integer"
  20140. },
  20141. "goodsname": {
  20142. "description": "商品名称",
  20143. "type": "string"
  20144. },
  20145. "goodsprice": {
  20146. "description": "商品价格",
  20147. "type": "number"
  20148. },
  20149. "goodsstatus": {
  20150. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20151. "type": "integer"
  20152. },
  20153. "last": {
  20154. "description": "现价(仅使用于挂牌点选)",
  20155. "type": "number"
  20156. },
  20157. "limitdown": {
  20158. "description": "跌停价(仅使用于挂牌点选)",
  20159. "type": "number"
  20160. },
  20161. "limitup": {
  20162. "description": "涨停价(仅使用于挂牌点选)",
  20163. "type": "number"
  20164. },
  20165. "lotsize": {
  20166. "description": "手数最小变动单位",
  20167. "type": "integer"
  20168. },
  20169. "marketid": {
  20170. "description": "所属市场ID",
  20171. "type": "integer"
  20172. },
  20173. "picurls": {
  20174. "description": "介绍图片[多张用逗号分隔]",
  20175. "type": "string"
  20176. },
  20177. "quoteminunit": {
  20178. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20179. "type": "integer"
  20180. },
  20181. "stepvalue": {
  20182. "description": "价格最小变动单位",
  20183. "type": "number"
  20184. },
  20185. "trademode": {
  20186. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20187. "type": "integer"
  20188. }
  20189. }
  20190. },
  20191. "models.HsbyMyPackage": {
  20192. "type": "object",
  20193. "required": [
  20194. "goodscode",
  20195. "goodsname",
  20196. "takeorderid",
  20197. "trademode"
  20198. ],
  20199. "properties": {
  20200. "accountid": {
  20201. "description": "账户ID",
  20202. "type": "integer"
  20203. },
  20204. "address": {
  20205. "description": "提货人详细地址",
  20206. "type": "string"
  20207. },
  20208. "agreeunit": {
  20209. "description": "合约单位",
  20210. "type": "number"
  20211. },
  20212. "amount": {
  20213. "description": "提货金额",
  20214. "type": "number"
  20215. },
  20216. "auditer": {
  20217. "description": "审核人",
  20218. "type": "integer"
  20219. },
  20220. "audittime": {
  20221. "description": "审核时间",
  20222. "type": "string"
  20223. },
  20224. "averageprice": {
  20225. "description": "均价",
  20226. "type": "number"
  20227. },
  20228. "cardnum": {
  20229. "description": "提货人证件号码",
  20230. "type": "string"
  20231. },
  20232. "cardtypeid": {
  20233. "description": "提货人证件类型",
  20234. "type": "integer"
  20235. },
  20236. "checkremark": {
  20237. "description": "审核备注",
  20238. "type": "string"
  20239. },
  20240. "currencysign": {
  20241. "description": "货币符号",
  20242. "type": "string"
  20243. },
  20244. "decimalplace": {
  20245. "description": "报价小数位",
  20246. "type": "integer"
  20247. },
  20248. "goodscode": {
  20249. "description": "商品代码(内部)",
  20250. "type": "string"
  20251. },
  20252. "goodsid": {
  20253. "description": "商品ID",
  20254. "type": "integer"
  20255. },
  20256. "goodsname": {
  20257. "description": "商品名称",
  20258. "type": "string"
  20259. },
  20260. "handlestatus": {
  20261. "description": "处理状态",
  20262. "type": "integer"
  20263. },
  20264. "marketid": {
  20265. "description": "市场ID",
  20266. "type": "integer"
  20267. },
  20268. "phonenum": {
  20269. "description": "提货人联系方式",
  20270. "type": "string"
  20271. },
  20272. "picurls": {
  20273. "description": "介绍图片[多张用逗号分隔]",
  20274. "type": "string"
  20275. },
  20276. "qty": {
  20277. "description": "提货数量",
  20278. "type": "number"
  20279. },
  20280. "recivername": {
  20281. "description": "提货人姓名",
  20282. "type": "string"
  20283. },
  20284. "reqtime": {
  20285. "description": "更新时间",
  20286. "type": "string"
  20287. },
  20288. "takemode": {
  20289. "description": "提货方式 - 2:自提 3:配送",
  20290. "type": "integer"
  20291. },
  20292. "takeorderid": {
  20293. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20294. "type": "string"
  20295. },
  20296. "takeorderstatus": {
  20297. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20298. "type": "integer"
  20299. },
  20300. "takeremark": {
  20301. "description": "提货备注",
  20302. "type": "string"
  20303. },
  20304. "tradedate": {
  20305. "description": "交易日(yyyyMMdd)",
  20306. "type": "string"
  20307. },
  20308. "trademode": {
  20309. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20310. "type": "integer"
  20311. },
  20312. "userid": {
  20313. "description": "用户ID",
  20314. "type": "integer"
  20315. },
  20316. "vendorname": {
  20317. "description": "供应商名称",
  20318. "type": "string"
  20319. }
  20320. }
  20321. },
  20322. "models.HsbyPreGoods": {
  20323. "type": "object",
  20324. "required": [
  20325. "goodscode",
  20326. "goodsid",
  20327. "goodsname",
  20328. "marketid",
  20329. "trademode"
  20330. ],
  20331. "properties": {
  20332. "agreeunit": {
  20333. "description": "合约单位",
  20334. "type": "number"
  20335. },
  20336. "currency": {
  20337. "description": "货币",
  20338. "type": "string"
  20339. },
  20340. "currencysign": {
  20341. "description": "货币符号",
  20342. "type": "string"
  20343. },
  20344. "decimalplace": {
  20345. "description": "报价小数位",
  20346. "type": "integer"
  20347. },
  20348. "desccityid": {
  20349. "description": "目的地(市)",
  20350. "type": "integer"
  20351. },
  20352. "descprovinceid": {
  20353. "description": "目的地(省)",
  20354. "type": "integer"
  20355. },
  20356. "enableqty": {
  20357. "description": "剩余数量",
  20358. "type": "integer"
  20359. },
  20360. "goodscode": {
  20361. "description": "商品代码(内部)",
  20362. "type": "string"
  20363. },
  20364. "goodsid": {
  20365. "description": "商品ID(自增ID SEQ_GOODS)",
  20366. "type": "integer"
  20367. },
  20368. "goodsname": {
  20369. "description": "商品名称",
  20370. "type": "string"
  20371. },
  20372. "goodsstatus": {
  20373. "description": "商品状态- 2:未上市 3:上市",
  20374. "type": "integer"
  20375. },
  20376. "lasttradedate": {
  20377. "description": "最后交易日期(状态:待退市)",
  20378. "type": "string"
  20379. },
  20380. "listingdate": {
  20381. "description": "交易开始日期",
  20382. "type": "string"
  20383. },
  20384. "marketid": {
  20385. "description": "所属市场ID",
  20386. "type": "integer"
  20387. },
  20388. "picurls": {
  20389. "description": "介绍图片[多张用逗号分隔]",
  20390. "type": "string"
  20391. },
  20392. "presaledqty": {
  20393. "description": "已预售量(预售结束时更新)",
  20394. "type": "integer"
  20395. },
  20396. "presaleqty": {
  20397. "description": "预售数量",
  20398. "type": "integer"
  20399. },
  20400. "quoteminunit": {
  20401. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20402. "type": "integer"
  20403. },
  20404. "refprice": {
  20405. "description": "参考价格[一口价]",
  20406. "type": "number"
  20407. },
  20408. "relatedgoodsid": {
  20409. "description": "关联交易合约ID",
  20410. "type": "integer"
  20411. },
  20412. "trademode": {
  20413. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20414. "type": "integer"
  20415. },
  20416. "videourls": {
  20417. "description": "介绍视频[多张用逗号分隔]",
  20418. "type": "string"
  20419. }
  20420. }
  20421. },
  20422. "models.HsbyPreGoodsDetail": {
  20423. "type": "object",
  20424. "required": [
  20425. "goodscode",
  20426. "goodsid",
  20427. "goodsname",
  20428. "marketid",
  20429. "trademode"
  20430. ],
  20431. "properties": {
  20432. "agreeunit": {
  20433. "description": "合约单位",
  20434. "type": "number"
  20435. },
  20436. "buymaxqty": {
  20437. "description": "购买上限 [71] - 0为不限",
  20438. "type": "integer"
  20439. },
  20440. "currency": {
  20441. "description": "货币",
  20442. "type": "string"
  20443. },
  20444. "currencysign": {
  20445. "description": "货币符号",
  20446. "type": "string"
  20447. },
  20448. "customername": {
  20449. "description": "发行单位",
  20450. "type": "string"
  20451. },
  20452. "decimalplace": {
  20453. "description": "报价小数位",
  20454. "type": "integer"
  20455. },
  20456. "desccityid": {
  20457. "description": "目的地(市)ID",
  20458. "type": "integer"
  20459. },
  20460. "descprovinceid": {
  20461. "description": "目的地(省)ID",
  20462. "type": "integer"
  20463. },
  20464. "enableqty": {
  20465. "description": "剩余数量",
  20466. "type": "integer"
  20467. },
  20468. "goodscode": {
  20469. "description": "商品代码(内部)",
  20470. "type": "string"
  20471. },
  20472. "goodsdesc": {
  20473. "description": "商品详情",
  20474. "type": "string"
  20475. },
  20476. "goodsid": {
  20477. "description": "商品ID(自增ID SEQ_GOODS)",
  20478. "type": "integer"
  20479. },
  20480. "goodsname": {
  20481. "description": "商品名称",
  20482. "type": "string"
  20483. },
  20484. "goodsstatus": {
  20485. "description": "商品状态- 2:未上市 3:上市",
  20486. "type": "integer"
  20487. },
  20488. "goodunit": {
  20489. "description": "报价单位",
  20490. "type": "string"
  20491. },
  20492. "lasttradedate": {
  20493. "description": "最后交易日期(状态:待退市)",
  20494. "type": "string"
  20495. },
  20496. "listingdate": {
  20497. "description": "交易开始日期",
  20498. "type": "string"
  20499. },
  20500. "lotsize": {
  20501. "description": "手数最小变动单位",
  20502. "type": "integer"
  20503. },
  20504. "marketid": {
  20505. "description": "所属市场ID",
  20506. "type": "integer"
  20507. },
  20508. "picurls": {
  20509. "description": "介绍图片[多张用逗号分隔]",
  20510. "type": "string"
  20511. },
  20512. "presaledqty": {
  20513. "description": "已预售量(预售结束时更新)",
  20514. "type": "integer"
  20515. },
  20516. "presaleqty": {
  20517. "description": "预售数量",
  20518. "type": "integer"
  20519. },
  20520. "quoteminunit": {
  20521. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20522. "type": "integer"
  20523. },
  20524. "refprice": {
  20525. "description": "参考价格[一口价]",
  20526. "type": "number"
  20527. },
  20528. "relatedgoodsid": {
  20529. "description": "关联交易合约ID",
  20530. "type": "integer"
  20531. },
  20532. "stepvalue": {
  20533. "description": "价格最小变动单位",
  20534. "type": "number"
  20535. },
  20536. "trademode": {
  20537. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20538. "type": "integer"
  20539. },
  20540. "vendorattr": {
  20541. "description": "供应商附件(多张,逗号分隔)",
  20542. "type": "string"
  20543. },
  20544. "vendorname": {
  20545. "description": "供应商名称",
  20546. "type": "string"
  20547. },
  20548. "vendorphone": {
  20549. "description": "供应商客服电话",
  20550. "type": "string"
  20551. },
  20552. "videourls": {
  20553. "description": "介绍视频[多张用逗号分隔]",
  20554. "type": "string"
  20555. }
  20556. }
  20557. },
  20558. "models.HsbySellCollectionOrder": {
  20559. "type": "object",
  20560. "required": [
  20561. "goodscode",
  20562. "goodsname",
  20563. "tradeid",
  20564. "trademode"
  20565. ],
  20566. "properties": {
  20567. "agreeunit": {
  20568. "description": "合约单位",
  20569. "type": "number"
  20570. },
  20571. "buyaccountid": {
  20572. "description": "买方账号ID[报价币种]",
  20573. "type": "integer"
  20574. },
  20575. "buyorderid": {
  20576. "description": "买方委托单号",
  20577. "type": "string"
  20578. },
  20579. "createtime": {
  20580. "description": "创建时间",
  20581. "type": "string"
  20582. },
  20583. "currencysign": {
  20584. "description": "货币符号",
  20585. "type": "string"
  20586. },
  20587. "decimalplace": {
  20588. "description": "报价小数位",
  20589. "type": "integer"
  20590. },
  20591. "goodscode": {
  20592. "description": "商品代码(内部)",
  20593. "type": "string"
  20594. },
  20595. "goodsid": {
  20596. "description": "商品ID",
  20597. "type": "integer"
  20598. },
  20599. "goodsname": {
  20600. "description": "商品名称",
  20601. "type": "string"
  20602. },
  20603. "marketid": {
  20604. "description": "市场ID",
  20605. "type": "integer"
  20606. },
  20607. "offamount": {
  20608. "description": "优惠金额",
  20609. "type": "number"
  20610. },
  20611. "payamount": {
  20612. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20613. "type": "number"
  20614. },
  20615. "payflag": {
  20616. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20617. "type": "integer"
  20618. },
  20619. "paylimitedtime": {
  20620. "description": "支付期限",
  20621. "type": "string"
  20622. },
  20623. "paytime": {
  20624. "description": "付款时间",
  20625. "type": "string"
  20626. },
  20627. "picurls": {
  20628. "description": "商品介绍图片[多张用逗号分隔]",
  20629. "type": "string"
  20630. },
  20631. "sellaccountid": {
  20632. "description": "卖方账号ID[报价币种]",
  20633. "type": "integer"
  20634. },
  20635. "sellorderid": {
  20636. "description": "卖方委托单号",
  20637. "type": "string"
  20638. },
  20639. "tradeamount": {
  20640. "description": "成交金额",
  20641. "type": "number"
  20642. },
  20643. "tradecharge": {
  20644. "description": "成交手续费(买方)",
  20645. "type": "number"
  20646. },
  20647. "tradedate": {
  20648. "description": "交易日(yyyyMMdd)",
  20649. "type": "string"
  20650. },
  20651. "tradeid": {
  20652. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20653. "type": "string"
  20654. },
  20655. "trademode": {
  20656. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20657. "type": "integer"
  20658. },
  20659. "tradeprice": {
  20660. "description": "成交价格",
  20661. "type": "number"
  20662. },
  20663. "tradeqty": {
  20664. "description": "成交数量",
  20665. "type": "integer"
  20666. }
  20667. }
  20668. },
  20669. "models.HsbySellMyDetail": {
  20670. "type": "object",
  20671. "required": [
  20672. "accountid",
  20673. "buyorsell",
  20674. "goodscode",
  20675. "goodsid",
  20676. "goodsname",
  20677. "marketid",
  20678. "orderid",
  20679. "time",
  20680. "trademode"
  20681. ],
  20682. "properties": {
  20683. "accountid": {
  20684. "description": "账户ID[报价币种]",
  20685. "type": "integer"
  20686. },
  20687. "agreeunit": {
  20688. "description": "合约单位",
  20689. "type": "number"
  20690. },
  20691. "buyorsell": {
  20692. "description": "买卖 - 0:买 1:卖",
  20693. "type": "integer"
  20694. },
  20695. "currencysign": {
  20696. "description": "货币符号",
  20697. "type": "string"
  20698. },
  20699. "decimalplace": {
  20700. "description": "报价小数位",
  20701. "type": "integer"
  20702. },
  20703. "goodscode": {
  20704. "description": "商品代码(内部)",
  20705. "type": "string"
  20706. },
  20707. "goodsid": {
  20708. "description": "商品ID",
  20709. "type": "integer"
  20710. },
  20711. "goodsname": {
  20712. "description": "商品名称",
  20713. "type": "string"
  20714. },
  20715. "marketid": {
  20716. "description": "市场ID",
  20717. "type": "integer"
  20718. },
  20719. "orderid": {
  20720. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20721. "type": "string"
  20722. },
  20723. "ordertype": {
  20724. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20725. "type": "integer"
  20726. },
  20727. "picurls": {
  20728. "description": "介绍图片[多张用逗号分隔]",
  20729. "type": "string"
  20730. },
  20731. "price": {
  20732. "description": "价格",
  20733. "type": "number"
  20734. },
  20735. "qty": {
  20736. "description": "数量",
  20737. "type": "integer"
  20738. },
  20739. "time": {
  20740. "description": "时间",
  20741. "type": "string"
  20742. },
  20743. "trademode": {
  20744. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20745. "type": "integer"
  20746. },
  20747. "vendorname": {
  20748. "description": "供应商名称",
  20749. "type": "string"
  20750. }
  20751. }
  20752. },
  20753. "models.HsbyTopGoods": {
  20754. "type": "object",
  20755. "required": [
  20756. "goodscode",
  20757. "goodsid",
  20758. "goodsname",
  20759. "marketid",
  20760. "trademode"
  20761. ],
  20762. "properties": {
  20763. "agreeunit": {
  20764. "description": "合约单位",
  20765. "type": "number"
  20766. },
  20767. "currency": {
  20768. "description": "货币",
  20769. "type": "string"
  20770. },
  20771. "currencysign": {
  20772. "description": "货币符号",
  20773. "type": "string"
  20774. },
  20775. "decimalplace": {
  20776. "description": "报价小数位",
  20777. "type": "integer"
  20778. },
  20779. "desccityid": {
  20780. "description": "目的地(市)",
  20781. "type": "integer"
  20782. },
  20783. "descprovinceid": {
  20784. "description": "目的地(省)",
  20785. "type": "integer"
  20786. },
  20787. "goodscode": {
  20788. "description": "商品代码(内部)",
  20789. "type": "string"
  20790. },
  20791. "goodsid": {
  20792. "description": "商品ID(自增ID SEQ_GOODS)",
  20793. "type": "integer"
  20794. },
  20795. "goodsname": {
  20796. "description": "商品名称",
  20797. "type": "string"
  20798. },
  20799. "hotindex": {
  20800. "description": "景点热度",
  20801. "type": "integer"
  20802. },
  20803. "last": {
  20804. "description": "现价",
  20805. "type": "number"
  20806. },
  20807. "marketid": {
  20808. "description": "所属市场ID",
  20809. "type": "integer"
  20810. },
  20811. "picurls": {
  20812. "description": "介绍图片[多张用逗号分隔]",
  20813. "type": "string"
  20814. },
  20815. "quoteminunit": {
  20816. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20817. "type": "integer"
  20818. },
  20819. "trademode": {
  20820. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20821. "type": "integer"
  20822. },
  20823. "videourls": {
  20824. "description": "介绍视频[多张用逗号分隔]",
  20825. "type": "string"
  20826. }
  20827. }
  20828. },
  20829. "models.HybsMyBuyOrderDetail": {
  20830. "type": "object",
  20831. "required": [
  20832. "accountid",
  20833. "buyorsell",
  20834. "goodscode",
  20835. "goodsid",
  20836. "goodsname",
  20837. "marketid",
  20838. "orderid",
  20839. "orderqty",
  20840. "ordertime",
  20841. "trademode"
  20842. ],
  20843. "properties": {
  20844. "accountid": {
  20845. "description": "账户ID[报价币种]",
  20846. "type": "integer"
  20847. },
  20848. "agreeunit": {
  20849. "description": "合约单位",
  20850. "type": "number"
  20851. },
  20852. "buyorsell": {
  20853. "description": "买卖 - 0:买 1:卖",
  20854. "type": "integer"
  20855. },
  20856. "cancelqty": {
  20857. "description": "撤单数量",
  20858. "type": "integer"
  20859. },
  20860. "currencysign": {
  20861. "description": "货币符号",
  20862. "type": "string"
  20863. },
  20864. "decimalplace": {
  20865. "description": "报价小数位",
  20866. "type": "integer"
  20867. },
  20868. "goodscode": {
  20869. "description": "商品代码(内部)",
  20870. "type": "string"
  20871. },
  20872. "goodsid": {
  20873. "description": "商品ID",
  20874. "type": "integer"
  20875. },
  20876. "goodsname": {
  20877. "description": "商品名称",
  20878. "type": "string"
  20879. },
  20880. "listingselecttype": {
  20881. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20882. "type": "integer"
  20883. },
  20884. "marketid": {
  20885. "description": "市场ID",
  20886. "type": "integer"
  20887. },
  20888. "mybuystatus": {
  20889. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20890. "type": "integer"
  20891. },
  20892. "orderamount": {
  20893. "description": "委托金额",
  20894. "type": "number"
  20895. },
  20896. "orderid": {
  20897. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20898. "type": "string"
  20899. },
  20900. "orderprice": {
  20901. "description": "委托价格",
  20902. "type": "number"
  20903. },
  20904. "orderqty": {
  20905. "description": "委托数量",
  20906. "type": "integer"
  20907. },
  20908. "orderstatus": {
  20909. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20910. "type": "integer"
  20911. },
  20912. "ordertime": {
  20913. "description": "委托时间",
  20914. "type": "string"
  20915. },
  20916. "picurls1": {
  20917. "description": "预售商品介绍图片[多张用逗号分隔]",
  20918. "type": "string"
  20919. },
  20920. "picurls2": {
  20921. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20922. "type": "string"
  20923. },
  20924. "trademode": {
  20925. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20926. "type": "integer"
  20927. },
  20928. "tradeqty": {
  20929. "description": "成交数量",
  20930. "type": "integer"
  20931. },
  20932. "vendorname1": {
  20933. "description": "预售商品供应商名称",
  20934. "type": "string"
  20935. },
  20936. "vendorname2": {
  20937. "description": "挂牌商品供应商名称",
  20938. "type": "string"
  20939. }
  20940. }
  20941. },
  20942. "models.Loginaccount": {
  20943. "type": "object",
  20944. "required": [
  20945. "loginid"
  20946. ],
  20947. "properties": {
  20948. "canoutin": {
  20949. "description": "是否可出入金 - 0:不可 1:可",
  20950. "type": "integer"
  20951. },
  20952. "clientroleid": {
  20953. "description": "终端角色ID",
  20954. "type": "integer"
  20955. },
  20956. "haslogined": {
  20957. "description": "是否已登录 - 0:未登录 1:已登录",
  20958. "type": "integer"
  20959. },
  20960. "hasupdatedpwd": {
  20961. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20962. "type": "integer"
  20963. },
  20964. "lastloginip": {
  20965. "description": "最新登录地址",
  20966. "type": "string"
  20967. },
  20968. "lastloginmode": {
  20969. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20970. "type": "integer"
  20971. },
  20972. "lastloginremark": {
  20973. "description": "最新登录描述",
  20974. "type": "string"
  20975. },
  20976. "lastlogintime": {
  20977. "description": "最新登录时间",
  20978. "type": "string"
  20979. },
  20980. "logincode": {
  20981. "description": "登录代码",
  20982. "type": "string"
  20983. },
  20984. "loginfailnum": {
  20985. "description": "连续登录失败次数(登录成功时清零)",
  20986. "type": "integer"
  20987. },
  20988. "loginid": {
  20989. "description": "登陆账号",
  20990. "type": "integer"
  20991. },
  20992. "loginport": {
  20993. "description": "最新登录端口",
  20994. "type": "integer"
  20995. },
  20996. "loginstatus": {
  20997. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20998. "type": "integer"
  20999. },
  21000. "loginusertype": {
  21001. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21002. "type": "integer"
  21003. },
  21004. "modifierid": {
  21005. "description": "修改人",
  21006. "type": "integer"
  21007. },
  21008. "modifytime": {
  21009. "description": "修改时间",
  21010. "type": "string"
  21011. },
  21012. "pwdwrongcount": {
  21013. "description": "密码错误次数",
  21014. "type": "integer"
  21015. },
  21016. "taaccountrighttype": {
  21017. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21018. "type": "integer"
  21019. },
  21020. "unfreezetime": {
  21021. "description": "账户解冻时间",
  21022. "type": "string"
  21023. },
  21024. "userid": {
  21025. "description": "用户ID",
  21026. "type": "integer"
  21027. }
  21028. }
  21029. },
  21030. "models.MainAccountInfo": {
  21031. "type": "object",
  21032. "properties": {
  21033. "accountid": {
  21034. "description": "账号id",
  21035. "type": "string"
  21036. },
  21037. "accountname": {
  21038. "description": "账号名称(taaccount表中的名称)",
  21039. "type": "string"
  21040. },
  21041. "appid": {
  21042. "description": "AppID",
  21043. "type": "string"
  21044. },
  21045. "authcode": {
  21046. "description": "授权码",
  21047. "type": "string"
  21048. },
  21049. "brokerid": {
  21050. "description": "经纪商id",
  21051. "type": "string"
  21052. },
  21053. "fcid": {
  21054. "description": "期货公司id",
  21055. "type": "integer"
  21056. },
  21057. "fcname": {
  21058. "description": "期货公司代码",
  21059. "type": "string"
  21060. },
  21061. "hedgeaccountcode": {
  21062. "description": "外部账号代码",
  21063. "type": "string"
  21064. },
  21065. "hedgeaccountpwd": {
  21066. "description": "密码",
  21067. "type": "string"
  21068. },
  21069. "ismain": {
  21070. "description": "是否主账号",
  21071. "type": "integer"
  21072. },
  21073. "relateduserid": {
  21074. "description": "关联用户id",
  21075. "type": "integer"
  21076. }
  21077. }
  21078. },
  21079. "models.Market": {
  21080. "type": "object",
  21081. "required": [
  21082. "marketid",
  21083. "marketstatus",
  21084. "openmethod",
  21085. "reckonpricealgorithm",
  21086. "trademode",
  21087. "tradeproperty"
  21088. ],
  21089. "properties": {
  21090. "auctionwrtype": {
  21091. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21092. "type": "integer"
  21093. },
  21094. "canacceptquote": {
  21095. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21096. "type": "integer"
  21097. },
  21098. "cangoodsexercise": {
  21099. "description": "[期权]是否可现货行权- 0:否 1:是",
  21100. "type": "integer"
  21101. },
  21102. "cangoodsexercisetype": {
  21103. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21104. "type": "integer"
  21105. },
  21106. "canmanualquotestrike": {
  21107. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21108. "type": "integer"
  21109. },
  21110. "canmutistage": {
  21111. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21112. "type": "integer"
  21113. },
  21114. "canpreexercise": {
  21115. "description": "[期权]是否可预申报- 0:否 1:是",
  21116. "type": "integer"
  21117. },
  21118. "clearinterval": {
  21119. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21120. "type": "integer"
  21121. },
  21122. "contracttmp": {
  21123. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21124. "type": "string"
  21125. },
  21126. "exchareaid": {
  21127. "description": "所属交易所,可以没有",
  21128. "type": "integer"
  21129. },
  21130. "goodstype": {
  21131. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21132. "type": "integer"
  21133. },
  21134. "hasrebate": {
  21135. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21136. "type": "integer"
  21137. },
  21138. "hastradecredit": {
  21139. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21140. "type": "integer"
  21141. },
  21142. "haswr": {
  21143. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21144. "type": "integer"
  21145. },
  21146. "isdeductmargin": {
  21147. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21148. "type": "integer"
  21149. },
  21150. "isrecordsource": {
  21151. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21152. "type": "integer"
  21153. },
  21154. "isreleasemargin": {
  21155. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21156. "type": "integer"
  21157. },
  21158. "marginformula": {
  21159. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21160. "type": "integer"
  21161. },
  21162. "marginformula2": {
  21163. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21164. "type": "integer"
  21165. },
  21166. "marketid": {
  21167. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21168. "type": "integer"
  21169. },
  21170. "marketname": {
  21171. "description": "市场名称",
  21172. "type": "string"
  21173. },
  21174. "marketserviceid": {
  21175. "description": "市场服务ID",
  21176. "type": "integer"
  21177. },
  21178. "marketstatus": {
  21179. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21180. "type": "integer"
  21181. },
  21182. "markettype": {
  21183. "description": "市场类型- 1:非交易服务 2:交易服务",
  21184. "type": "integer"
  21185. },
  21186. "matchermode": {
  21187. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21188. "type": "integer"
  21189. },
  21190. "openmethod": {
  21191. "description": "开盘模式 - 0 自动 1手动",
  21192. "type": "integer"
  21193. },
  21194. "otcuserid": {
  21195. "description": "场外期权做市商[场外期权]",
  21196. "type": "integer"
  21197. },
  21198. "outersynctime": {
  21199. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21200. "type": "string"
  21201. },
  21202. "pendingflag": {
  21203. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21204. "type": "integer"
  21205. },
  21206. "pendingtime": {
  21207. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21208. "type": "string"
  21209. },
  21210. "performancetempid": {
  21211. "description": "履约计划模板ID - 作废",
  21212. "type": "integer"
  21213. },
  21214. "premiumquotemode": {
  21215. "description": "权利金报价方式 - 1:自动 2:手动",
  21216. "type": "integer"
  21217. },
  21218. "rebateratio": {
  21219. "description": "返利比率[竞价式]",
  21220. "type": "number"
  21221. },
  21222. "reckonorder": {
  21223. "description": "结算顺序",
  21224. "type": "integer"
  21225. },
  21226. "reckonpricealgorithm": {
  21227. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21228. "type": "integer"
  21229. },
  21230. "reckonpriceparam": {
  21231. "description": "结算价参数",
  21232. "type": "integer"
  21233. },
  21234. "reckontime": {
  21235. "description": "结算时间[通道交易-对冲](HH:mm)",
  21236. "type": "string"
  21237. },
  21238. "roleprioritytype": {
  21239. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21240. "type": "integer"
  21241. },
  21242. "selllistingauditflag": {
  21243. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21244. "type": "integer"
  21245. },
  21246. "trademarkettype": {
  21247. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21248. "type": "integer"
  21249. },
  21250. "trademode": {
  21251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21252. "type": "integer"
  21253. },
  21254. "tradeproperty": {
  21255. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21256. "type": "integer"
  21257. },
  21258. "tradetype": {
  21259. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21260. "type": "integer"
  21261. }
  21262. }
  21263. },
  21264. "models.Marketrun": {
  21265. "type": "object",
  21266. "required": [
  21267. "marketid",
  21268. "nexttradedate",
  21269. "reckonflag",
  21270. "runstatus",
  21271. "tradedate",
  21272. "tradedate2"
  21273. ],
  21274. "properties": {
  21275. "afternexttradedate": {
  21276. "description": "下下交易日",
  21277. "type": "string"
  21278. },
  21279. "clearquoteflag": {
  21280. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21281. "type": "integer"
  21282. },
  21283. "lastreckondate": {
  21284. "description": "最新交易日(结算成功)",
  21285. "type": "string"
  21286. },
  21287. "machinedate": {
  21288. "description": "机器时间",
  21289. "type": "string"
  21290. },
  21291. "manualflag": {
  21292. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21293. "type": "integer"
  21294. },
  21295. "marketid": {
  21296. "description": "市场ID",
  21297. "type": "integer"
  21298. },
  21299. "nexttradedate": {
  21300. "description": "下一交易日",
  21301. "type": "string"
  21302. },
  21303. "pretradedate": {
  21304. "description": "上一交易日",
  21305. "type": "string"
  21306. },
  21307. "reckonflag": {
  21308. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21309. "type": "integer"
  21310. },
  21311. "runstatus": {
  21312. "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.今日免清算",
  21313. "type": "integer"
  21314. },
  21315. "sectionid": {
  21316. "description": "时间段号[多时段时用]",
  21317. "type": "integer"
  21318. },
  21319. "tradedate": {
  21320. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21321. "type": "string"
  21322. },
  21323. "tradedate2": {
  21324. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21325. "type": "string"
  21326. },
  21327. "updatetime": {
  21328. "description": "更新时间",
  21329. "type": "string"
  21330. }
  21331. }
  21332. },
  21333. "models.Messageboard": {
  21334. "type": "object",
  21335. "required": [
  21336. "messageboardid"
  21337. ],
  21338. "properties": {
  21339. "contactnum": {
  21340. "description": "联系电话",
  21341. "type": "string"
  21342. },
  21343. "createtime": {
  21344. "description": "创建时间",
  21345. "type": "string"
  21346. },
  21347. "message": {
  21348. "description": "留言信息",
  21349. "type": "string"
  21350. },
  21351. "messageboardid": {
  21352. "description": "留言簿ID(SEQ_MessageBoard)",
  21353. "type": "integer"
  21354. },
  21355. "userid": {
  21356. "description": "用户ID",
  21357. "type": "integer"
  21358. }
  21359. }
  21360. },
  21361. "models.MyCoupon": {
  21362. "type": "object",
  21363. "required": [
  21364. "accountid",
  21365. "coupontypeid"
  21366. ],
  21367. "properties": {
  21368. "accountid": {
  21369. "description": "资金账户ID",
  21370. "type": "integer"
  21371. },
  21372. "areauserid": {
  21373. "description": "所属机构",
  21374. "type": "integer"
  21375. },
  21376. "conditionvalue": {
  21377. "description": "条件阈值(可为0)",
  21378. "type": "number"
  21379. },
  21380. "couponcategroy": {
  21381. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21382. "type": "integer"
  21383. },
  21384. "couponname": {
  21385. "description": "优惠券名称",
  21386. "type": "string"
  21387. },
  21388. "coupontypeid": {
  21389. "description": "优惠券类型ID",
  21390. "type": "string"
  21391. },
  21392. "couponvalue": {
  21393. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21394. "type": "number"
  21395. },
  21396. "curfreezeqty": {
  21397. "description": "期末冻结数量",
  21398. "type": "integer"
  21399. },
  21400. "curqty": {
  21401. "description": "期末数量",
  21402. "type": "integer"
  21403. },
  21404. "isgeneral": {
  21405. "description": "是否通用券 - 0:否 1:是",
  21406. "type": "integer"
  21407. },
  21408. "isunusable": {
  21409. "description": "是否不可用",
  21410. "type": "boolean"
  21411. },
  21412. "limitedflag": {
  21413. "description": "是否指定商品 - 0:不限 1:限制",
  21414. "type": "integer"
  21415. },
  21416. "limitedgoodsids": {
  21417. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21418. "type": "string"
  21419. },
  21420. "orifreezeqty": {
  21421. "description": "期初冻结数量",
  21422. "type": "integer"
  21423. },
  21424. "oriqty": {
  21425. "description": "期初数量",
  21426. "type": "integer"
  21427. },
  21428. "reasontype": {
  21429. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21430. "type": "integer"
  21431. },
  21432. "todaydecrease": {
  21433. "description": "今日减少",
  21434. "type": "integer"
  21435. },
  21436. "todayincrease": {
  21437. "description": "今日增加",
  21438. "type": "integer"
  21439. },
  21440. "userid": {
  21441. "description": "用户ID",
  21442. "type": "integer"
  21443. },
  21444. "userscope": {
  21445. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21446. "type": "string"
  21447. }
  21448. }
  21449. },
  21450. "models.MyCouponHold": {
  21451. "type": "object",
  21452. "required": [
  21453. "couponholdid"
  21454. ],
  21455. "properties": {
  21456. "accountid": {
  21457. "description": "资金账户ID",
  21458. "type": "integer"
  21459. },
  21460. "conditionvalue": {
  21461. "description": "条件阈值(可为0)",
  21462. "type": "number"
  21463. },
  21464. "couponcategroy": {
  21465. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21466. "type": "integer"
  21467. },
  21468. "couponholdid": {
  21469. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21470. "type": "string"
  21471. },
  21472. "couponname": {
  21473. "description": "优惠券名称",
  21474. "type": "string"
  21475. },
  21476. "coupontypeid": {
  21477. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21478. "type": "string"
  21479. },
  21480. "couponvalue": {
  21481. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21482. "type": "number"
  21483. },
  21484. "createtime": {
  21485. "description": "创建时间",
  21486. "type": "string"
  21487. },
  21488. "enddate": {
  21489. "description": "结束日期",
  21490. "type": "string"
  21491. },
  21492. "giveapplyid": {
  21493. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21494. "type": "integer"
  21495. },
  21496. "holdstatus": {
  21497. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21498. "type": "integer"
  21499. },
  21500. "isgeneral": {
  21501. "description": "是否通用券 - 0:否 1:是",
  21502. "type": "integer"
  21503. },
  21504. "limitedflag": {
  21505. "description": "是否指定商品 - 0:不限 1:限制",
  21506. "type": "integer"
  21507. },
  21508. "limitedgoodsids": {
  21509. "description": "指定商品IDs[逗号分隔]",
  21510. "type": "string"
  21511. },
  21512. "qty": {
  21513. "description": "数量(按1平铺)",
  21514. "type": "integer"
  21515. },
  21516. "startdate": {
  21517. "description": "开始日期",
  21518. "type": "string"
  21519. },
  21520. "userid": {
  21521. "description": "用户ID",
  21522. "type": "integer"
  21523. },
  21524. "userscope": {
  21525. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21526. "type": "string"
  21527. }
  21528. }
  21529. },
  21530. "models.MyUsedCoupon": {
  21531. "type": "object",
  21532. "required": [
  21533. "coupontypeid",
  21534. "orderid"
  21535. ],
  21536. "properties": {
  21537. "accountid": {
  21538. "description": "资金账户ID(买方)",
  21539. "type": "integer"
  21540. },
  21541. "conditionvalue": {
  21542. "description": "条件阈值(可为0)",
  21543. "type": "number"
  21544. },
  21545. "couponcategroy": {
  21546. "description": "种类 - 1:现金券 2:折扣券",
  21547. "type": "integer"
  21548. },
  21549. "couponname": {
  21550. "description": "优惠券名称",
  21551. "type": "string"
  21552. },
  21553. "coupontypeid": {
  21554. "description": "优惠券类型ID(买方)",
  21555. "type": "string"
  21556. },
  21557. "couponvalue": {
  21558. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21559. "type": "number"
  21560. },
  21561. "createtime": {
  21562. "description": "创建时间",
  21563. "type": "string"
  21564. },
  21565. "goodsid": {
  21566. "description": "商品ID",
  21567. "type": "integer"
  21568. },
  21569. "handlestatus": {
  21570. "description": "处理状态",
  21571. "type": "integer"
  21572. },
  21573. "marketid": {
  21574. "description": "市场ID",
  21575. "type": "integer"
  21576. },
  21577. "offamount": {
  21578. "description": "优惠金额",
  21579. "type": "number"
  21580. },
  21581. "orderid": {
  21582. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21583. "type": "string"
  21584. },
  21585. "sellaccountid": {
  21586. "description": "资金账户ID(卖方)",
  21587. "type": "integer"
  21588. },
  21589. "tradeamount": {
  21590. "description": "成交金额",
  21591. "type": "number"
  21592. },
  21593. "tradeid": {
  21594. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21595. "type": "string"
  21596. },
  21597. "usedqty": {
  21598. "description": "使用数量",
  21599. "type": "integer"
  21600. }
  21601. }
  21602. },
  21603. "models.OperationPrimaryMenu": {
  21604. "type": "object",
  21605. "properties": {
  21606. "Children": {
  21607. "description": "二级功能菜单",
  21608. "type": "array",
  21609. "items": {
  21610. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21611. }
  21612. },
  21613. "Key": {
  21614. "description": "菜单KEY",
  21615. "type": "string"
  21616. },
  21617. "Label": {
  21618. "description": "菜单标题",
  21619. "type": "string"
  21620. }
  21621. }
  21622. },
  21623. "models.OperationSecondaryMenu": {
  21624. "type": "object",
  21625. "properties": {
  21626. "Key": {
  21627. "description": "菜单KEY",
  21628. "type": "string"
  21629. },
  21630. "Label": {
  21631. "description": "菜单标题",
  21632. "type": "string"
  21633. },
  21634. "TabList": {
  21635. "description": "三级功能菜单",
  21636. "type": "array",
  21637. "items": {
  21638. "$ref": "#/definitions/models.OperationTabMenu"
  21639. }
  21640. }
  21641. }
  21642. },
  21643. "models.OperationTabMenu": {
  21644. "type": "object",
  21645. "properties": {
  21646. "Key": {
  21647. "description": "菜单KEY",
  21648. "type": "string"
  21649. },
  21650. "Label": {
  21651. "description": "菜单标题",
  21652. "type": "string"
  21653. }
  21654. }
  21655. },
  21656. "models.QueryErrorInfosRsp": {
  21657. "type": "object",
  21658. "required": [
  21659. "errorid"
  21660. ],
  21661. "properties": {
  21662. "description": {
  21663. "description": "异常描述",
  21664. "type": "string"
  21665. },
  21666. "errorcode": {
  21667. "description": "异常代码",
  21668. "type": "string"
  21669. },
  21670. "errorid": {
  21671. "description": "异常ID",
  21672. "type": "integer"
  21673. },
  21674. "modulecode": {
  21675. "description": "所属模块",
  21676. "type": "string"
  21677. },
  21678. "operatecode": {
  21679. "description": "所属操作",
  21680. "type": "string"
  21681. },
  21682. "rownumber": {
  21683. "description": "行号",
  21684. "type": "string"
  21685. }
  21686. }
  21687. },
  21688. "models.QueryHedgeOrderDetailRsp": {
  21689. "type": "object",
  21690. "properties": {
  21691. "accountid": {
  21692. "description": "账户ID",
  21693. "type": "integer"
  21694. },
  21695. "buyorsell": {
  21696. "description": "买卖 - 0:买 1:卖",
  21697. "type": "integer"
  21698. },
  21699. "cancellogincode": {
  21700. "description": "撤单人",
  21701. "type": "string"
  21702. },
  21703. "channelbuildtype": {
  21704. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21705. "type": "integer"
  21706. },
  21707. "channelinnerorderstatus": {
  21708. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21709. "type": "integer"
  21710. },
  21711. "channeloperatetype": {
  21712. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21713. "type": "integer"
  21714. },
  21715. "closetype": {
  21716. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21717. "type": "integer"
  21718. },
  21719. "curexchangerate": {
  21720. "description": "当前汇率",
  21721. "type": "number"
  21722. },
  21723. "exchangefullname": {
  21724. "description": "外部交易所全称",
  21725. "type": "string"
  21726. },
  21727. "goodscode": {
  21728. "description": "商品代码(内部)",
  21729. "type": "string"
  21730. },
  21731. "goodsid": {
  21732. "description": "商品ID",
  21733. "type": "integer"
  21734. },
  21735. "goodsname": {
  21736. "description": "商品名称",
  21737. "type": "string"
  21738. },
  21739. "marketid": {
  21740. "description": "市场ID",
  21741. "type": "integer"
  21742. },
  21743. "openfreezemargin": {
  21744. "description": "冻结保证金(冻结交易金额)",
  21745. "type": "number"
  21746. },
  21747. "orderid": {
  21748. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21749. "type": "string"
  21750. },
  21751. "orderlogincode": {
  21752. "description": "委托人",
  21753. "type": "string"
  21754. },
  21755. "orderprice": {
  21756. "description": "委托价格(账户)",
  21757. "type": "number"
  21758. },
  21759. "orderqty": {
  21760. "description": "委托数量",
  21761. "type": "integer"
  21762. },
  21763. "ordertime": {
  21764. "description": "委托时间",
  21765. "type": "string"
  21766. },
  21767. "pricemode": {
  21768. "description": "取价方式 - 1:市价 2: 限价",
  21769. "type": "integer"
  21770. },
  21771. "tradedate": {
  21772. "description": "交易日(yyyyMMdd)",
  21773. "type": "string"
  21774. },
  21775. "tradeqty": {
  21776. "description": "成交数量",
  21777. "type": "integer"
  21778. }
  21779. }
  21780. },
  21781. "models.QueryHedgeTradeDetailRsp": {
  21782. "type": "object",
  21783. "properties": {
  21784. "accountid": {
  21785. "description": "账号ID",
  21786. "type": "integer"
  21787. },
  21788. "buyorsell": {
  21789. "description": "方向 - 0:买 1:卖",
  21790. "type": "integer"
  21791. },
  21792. "channelbuildtype": {
  21793. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21794. "type": "integer"
  21795. },
  21796. "closecharge": {
  21797. "description": "平仓手续费(账户)",
  21798. "type": "number"
  21799. },
  21800. "closecharge2": {
  21801. "description": "平仓手续费(商品)",
  21802. "type": "number"
  21803. },
  21804. "closepl": {
  21805. "description": "平仓盈亏(账户)",
  21806. "type": "number"
  21807. },
  21808. "closepl2": {
  21809. "description": "平仓盈亏(商品)",
  21810. "type": "number"
  21811. },
  21812. "closepl3": {
  21813. "description": "平仓盈亏(账户)(逐笔)",
  21814. "type": "number"
  21815. },
  21816. "closepl4": {
  21817. "description": "平仓盈亏(商品)(逐笔)",
  21818. "type": "number"
  21819. },
  21820. "closetype": {
  21821. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21822. "type": "integer"
  21823. },
  21824. "curexchangerate": {
  21825. "description": "当前汇率",
  21826. "type": "number"
  21827. },
  21828. "exchangefullname": {
  21829. "description": "外部交易所全称",
  21830. "type": "string"
  21831. },
  21832. "goodscode": {
  21833. "description": "商品代码(内部)",
  21834. "type": "string"
  21835. },
  21836. "goodsid": {
  21837. "description": "商品ID",
  21838. "type": "integer"
  21839. },
  21840. "goodsname": {
  21841. "description": "商品名称",
  21842. "type": "string"
  21843. },
  21844. "marketid": {
  21845. "description": "市场ID",
  21846. "type": "integer"
  21847. },
  21848. "opencharge": {
  21849. "description": "建仓手续费(账户)",
  21850. "type": "number"
  21851. },
  21852. "opencharge2": {
  21853. "description": "建仓手续费(商品)",
  21854. "type": "number"
  21855. },
  21856. "orderid": {
  21857. "description": "委托单号",
  21858. "type": "string"
  21859. },
  21860. "orderlogincode": {
  21861. "description": "委托人",
  21862. "type": "string"
  21863. },
  21864. "tradeamount": {
  21865. "description": "成交金额(账户)",
  21866. "type": "number"
  21867. },
  21868. "tradedate": {
  21869. "description": "交易日(yyyyMMdd)",
  21870. "type": "string"
  21871. },
  21872. "tradeid": {
  21873. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21874. "type": "string"
  21875. },
  21876. "tradeprice": {
  21877. "description": "成交价格",
  21878. "type": "number"
  21879. },
  21880. "tradeqty": {
  21881. "description": "成交数量",
  21882. "type": "integer"
  21883. },
  21884. "tradetime": {
  21885. "description": "成交时间",
  21886. "type": "string"
  21887. },
  21888. "tradetype": {
  21889. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21890. "type": "integer"
  21891. }
  21892. }
  21893. },
  21894. "models.QuotePrimaryMenu": {
  21895. "type": "object",
  21896. "properties": {
  21897. "Index": {
  21898. "description": "序号",
  21899. "type": "integer"
  21900. },
  21901. "Key": {
  21902. "description": "键名",
  21903. "type": "string"
  21904. },
  21905. "Name": {
  21906. "description": "菜单名称",
  21907. "type": "string"
  21908. },
  21909. "SubMenus": {
  21910. "description": "子菜单",
  21911. "type": "array",
  21912. "items": {
  21913. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21914. }
  21915. },
  21916. "SubTitleType": {
  21917. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21918. "type": "integer"
  21919. },
  21920. "TradeModes": {
  21921. "description": "包含市场交易类型",
  21922. "type": "string"
  21923. }
  21924. }
  21925. },
  21926. "models.QuoteSecondaryMenu": {
  21927. "type": "object",
  21928. "properties": {
  21929. "ExExchangeCode": {
  21930. "description": "外部交易所代码",
  21931. "type": "string"
  21932. },
  21933. "ExExchangeID": {
  21934. "description": "外部交易所ID",
  21935. "type": "integer"
  21936. },
  21937. "GoodsGroupIDs": {
  21938. "description": "商品组ID列表",
  21939. "type": "array",
  21940. "items": {
  21941. "type": "integer"
  21942. }
  21943. },
  21944. "Index": {
  21945. "description": "序号",
  21946. "type": "integer"
  21947. },
  21948. "MarketID": {
  21949. "description": "市场ID",
  21950. "type": "integer"
  21951. },
  21952. "MenuTitle": {
  21953. "description": "菜单标题(市场名称或外部交易所名称)",
  21954. "type": "string"
  21955. },
  21956. "TradeMode": {
  21957. "description": "交易模式",
  21958. "type": "integer"
  21959. }
  21960. }
  21961. },
  21962. "models.RelatedGoodsEx": {
  21963. "type": "object",
  21964. "properties": {
  21965. "goodscode": {
  21966. "description": "商品代码",
  21967. "type": "string"
  21968. },
  21969. "goodsid": {
  21970. "description": "商品id",
  21971. "type": "integer"
  21972. },
  21973. "goodsname": {
  21974. "description": "商品名称",
  21975. "type": "string"
  21976. }
  21977. }
  21978. },
  21979. "models.SearchGoods": {
  21980. "type": "object",
  21981. "required": [
  21982. "goodscode",
  21983. "goodsid",
  21984. "goodsname",
  21985. "marketid",
  21986. "trademode"
  21987. ],
  21988. "properties": {
  21989. "goodscode": {
  21990. "description": "商品代码(内部)",
  21991. "type": "string"
  21992. },
  21993. "goodsid": {
  21994. "description": "商品ID(自增ID SEQ_GOODS)",
  21995. "type": "integer"
  21996. },
  21997. "goodsname": {
  21998. "description": "商品名称",
  21999. "type": "string"
  22000. },
  22001. "marketid": {
  22002. "description": "所属市场ID",
  22003. "type": "integer"
  22004. },
  22005. "marketname": {
  22006. "description": "市场名称",
  22007. "type": "string"
  22008. },
  22009. "trademode": {
  22010. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22011. "type": "integer"
  22012. }
  22013. }
  22014. },
  22015. "models.Systemparam": {
  22016. "type": "object",
  22017. "required": [
  22018. "paramcode"
  22019. ],
  22020. "properties": {
  22021. "loginid": {
  22022. "description": "更新用户账号,登录账号",
  22023. "type": "string"
  22024. },
  22025. "modifyflag": {
  22026. "description": "修改标志0 不允许修改 1 允许修改",
  22027. "type": "integer"
  22028. },
  22029. "paramcode": {
  22030. "description": "参数代码",
  22031. "type": "string"
  22032. },
  22033. "paramname": {
  22034. "description": "参数名",
  22035. "type": "string"
  22036. },
  22037. "paramtype": {
  22038. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22039. "type": "integer"
  22040. },
  22041. "paramvalue": {
  22042. "description": "参数值",
  22043. "type": "string"
  22044. },
  22045. "paramvalue2": {
  22046. "description": "参数值(CLOB)",
  22047. "type": "string"
  22048. },
  22049. "regexpress": {
  22050. "description": "正则表达式",
  22051. "type": "string"
  22052. },
  22053. "remark": {
  22054. "description": "备注",
  22055. "type": "string"
  22056. },
  22057. "serverip": {
  22058. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22059. "type": "string"
  22060. },
  22061. "showflag": {
  22062. "description": "是否显示0 不显示 1 显示",
  22063. "type": "integer"
  22064. },
  22065. "updatetime": {
  22066. "description": "更新时间",
  22067. "type": "string"
  22068. },
  22069. "userid": {
  22070. "description": "更新用户ID",
  22071. "type": "integer"
  22072. }
  22073. }
  22074. },
  22075. "models.Szdz3convertconfig": {
  22076. "type": "object",
  22077. "required": [
  22078. "converttype",
  22079. "innergoodsid",
  22080. "outergoodscode"
  22081. ],
  22082. "properties": {
  22083. "canin": {
  22084. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22085. "type": "integer"
  22086. },
  22087. "canout": {
  22088. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22089. "type": "integer"
  22090. },
  22091. "converttype": {
  22092. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22093. "type": "integer"
  22094. },
  22095. "createtime": {
  22096. "description": "创建时间",
  22097. "type": "string"
  22098. },
  22099. "creatorid": {
  22100. "description": "创建人",
  22101. "type": "integer"
  22102. },
  22103. "daymaxvalue": {
  22104. "description": "当日最大转入限制",
  22105. "type": "number"
  22106. },
  22107. "freezedays": {
  22108. "description": "冻结天数 [5:花生米转交易]",
  22109. "type": "integer"
  22110. },
  22111. "innergoodsid": {
  22112. "description": "内部商品ID[交易]",
  22113. "type": "integer"
  22114. },
  22115. "inratio": {
  22116. "description": "目标值",
  22117. "type": "integer"
  22118. },
  22119. "modifierid": {
  22120. "description": "修改人",
  22121. "type": "integer"
  22122. },
  22123. "modifytime": {
  22124. "description": "修改时间",
  22125. "type": "string"
  22126. },
  22127. "outergoodscode": {
  22128. "description": "外部商品代码[JD\\PD]",
  22129. "type": "string"
  22130. },
  22131. "outratio": {
  22132. "description": "源值",
  22133. "type": "integer"
  22134. },
  22135. "pddecimalplace": {
  22136. "description": "PD小数位",
  22137. "type": "integer"
  22138. },
  22139. "timemaxvalue": {
  22140. "description": "单次最大转入限制",
  22141. "type": "number"
  22142. },
  22143. "timeminvalue": {
  22144. "description": "单次最小转入限制",
  22145. "type": "number"
  22146. }
  22147. }
  22148. },
  22149. "models.Szdz3searchwhitelist": {
  22150. "type": "object",
  22151. "required": [
  22152. "userid"
  22153. ],
  22154. "properties": {
  22155. "createtime": {
  22156. "description": "创建时间",
  22157. "type": "string"
  22158. },
  22159. "creatorid": {
  22160. "description": "创建人",
  22161. "type": "integer"
  22162. },
  22163. "modifierid": {
  22164. "description": "修改人",
  22165. "type": "integer"
  22166. },
  22167. "modifytime": {
  22168. "description": "修改时间",
  22169. "type": "string"
  22170. },
  22171. "userid": {
  22172. "description": "用户ID",
  22173. "type": "integer"
  22174. }
  22175. }
  22176. },
  22177. "models.Taaccount": {
  22178. "type": "object",
  22179. "required": [
  22180. "accountid",
  22181. "userid"
  22182. ],
  22183. "properties": {
  22184. "accountflag": {
  22185. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22186. "type": "integer"
  22187. },
  22188. "accountid": {
  22189. "description": "资金账户ID",
  22190. "type": "integer"
  22191. },
  22192. "accountname": {
  22193. "description": "账户名称",
  22194. "type": "string"
  22195. },
  22196. "balance": {
  22197. "description": "期初余额",
  22198. "type": "number"
  22199. },
  22200. "capitalbalance": {
  22201. "description": "本金余额[外部子账户实际出入金余额]",
  22202. "type": "number"
  22203. },
  22204. "changeflag": {
  22205. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22206. "type": "integer"
  22207. },
  22208. "changetime": {
  22209. "description": "账户状态变更时间",
  22210. "type": "string"
  22211. },
  22212. "closepl": {
  22213. "description": "今日平仓盈亏",
  22214. "type": "number"
  22215. },
  22216. "creditdecrease": {
  22217. "description": "今日授信减少",
  22218. "type": "number"
  22219. },
  22220. "creditincrease": {
  22221. "description": "今日授信增加",
  22222. "type": "number"
  22223. },
  22224. "currencyid": {
  22225. "description": "货币ID",
  22226. "type": "integer"
  22227. },
  22228. "currentbalance": {
  22229. "description": "期末余额",
  22230. "type": "number"
  22231. },
  22232. "freezecharge": {
  22233. "description": "手续费冻结",
  22234. "type": "number"
  22235. },
  22236. "freezemargin": {
  22237. "description": "冻结保证金",
  22238. "type": "number"
  22239. },
  22240. "fromaccountid": {
  22241. "description": "所属上级账户",
  22242. "type": "integer"
  22243. },
  22244. "inamount": {
  22245. "description": "今日入金金额(包括三方入金)",
  22246. "type": "number"
  22247. },
  22248. "ismain": {
  22249. "description": "是否母账号 0:不是母账户 1:是母账户",
  22250. "type": "integer"
  22251. },
  22252. "ismarketaccount": {
  22253. "description": "是否机构接单账号 0:不是 1:是",
  22254. "type": "integer"
  22255. },
  22256. "isreckonaccount": {
  22257. "description": "是否机构分润账号 0:不是 1:是",
  22258. "type": "integer"
  22259. },
  22260. "mortgagecredit": {
  22261. "description": "授信金额",
  22262. "type": "number"
  22263. },
  22264. "orifreezecharge": {
  22265. "description": "期初手续费冻结",
  22266. "type": "number"
  22267. },
  22268. "orifreezemargin": {
  22269. "description": "期初冻结保证金",
  22270. "type": "number"
  22271. },
  22272. "orimortgagecredit": {
  22273. "description": "期初授信金额",
  22274. "type": "number"
  22275. },
  22276. "oriothercredit": {
  22277. "description": "期初其它授信金额",
  22278. "type": "number"
  22279. },
  22280. "oriotherfreezemargin": {
  22281. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22282. "type": "number"
  22283. },
  22284. "orioutamountfreeze": {
  22285. "description": "期初出金冻结",
  22286. "type": "number"
  22287. },
  22288. "oriusedmargin": {
  22289. "description": "期初占用保证金",
  22290. "type": "number"
  22291. },
  22292. "othercredit": {
  22293. "description": "其它授信金额",
  22294. "type": "number"
  22295. },
  22296. "othercreditdecrease": {
  22297. "description": "今日其它授信减少",
  22298. "type": "number"
  22299. },
  22300. "othercreditincrease": {
  22301. "description": "今日其它授信增加",
  22302. "type": "number"
  22303. },
  22304. "otherfreezemargin": {
  22305. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22306. "type": "number"
  22307. },
  22308. "otherincome": {
  22309. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22310. "type": "number"
  22311. },
  22312. "otherpay": {
  22313. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22314. "type": "number"
  22315. },
  22316. "outamount": {
  22317. "description": "今日出金金额(包括三方出金)",
  22318. "type": "number"
  22319. },
  22320. "outamountfreeze": {
  22321. "description": "出金冻结",
  22322. "type": "number"
  22323. },
  22324. "outthreshold": {
  22325. "description": "出金阈值",
  22326. "type": "number"
  22327. },
  22328. "parentaccountid": {
  22329. "description": "所属根账号",
  22330. "type": "integer"
  22331. },
  22332. "paycharge": {
  22333. "description": "今日手续费支出",
  22334. "type": "number"
  22335. },
  22336. "relatedaccountstatus": {
  22337. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22338. "type": "integer"
  22339. },
  22340. "relateduserid": {
  22341. "description": "关联用户",
  22342. "type": "integer"
  22343. },
  22344. "serivcegroup": {
  22345. "description": "服务分组",
  22346. "type": "integer"
  22347. },
  22348. "signstatus": {
  22349. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22350. "type": "integer"
  22351. },
  22352. "sublevelpath": {
  22353. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22354. "type": "string"
  22355. },
  22356. "taaccounttype": {
  22357. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22358. "type": "integer"
  22359. },
  22360. "thirdinamount": {
  22361. "description": "今日三方入金",
  22362. "type": "number"
  22363. },
  22364. "thirdoutamount": {
  22365. "description": "今日三方出金",
  22366. "type": "number"
  22367. },
  22368. "tradestatus": {
  22369. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22370. "type": "integer"
  22371. },
  22372. "tradestatuschangetime": {
  22373. "description": "激活时间",
  22374. "type": "string"
  22375. },
  22376. "transferamount": {
  22377. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22378. "type": "number"
  22379. },
  22380. "usedmargin": {
  22381. "description": "占用保证金",
  22382. "type": "number"
  22383. },
  22384. "userid": {
  22385. "description": "用户ID",
  22386. "type": "integer"
  22387. }
  22388. }
  22389. },
  22390. "models.Tablecolumnconfig": {
  22391. "type": "object",
  22392. "required": [
  22393. "autoid"
  22394. ],
  22395. "properties": {
  22396. "aligntype": {
  22397. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22398. "type": "integer"
  22399. },
  22400. "autoid": {
  22401. "description": "AutoID",
  22402. "type": "integer"
  22403. },
  22404. "columnfield": {
  22405. "description": "列字段",
  22406. "type": "string"
  22407. },
  22408. "columntitle": {
  22409. "description": "列Title",
  22410. "type": "string"
  22411. },
  22412. "columnwidth": {
  22413. "description": "列宽",
  22414. "type": "string"
  22415. },
  22416. "formatterstring": {
  22417. "description": "格式化字符",
  22418. "type": "string"
  22419. },
  22420. "formattertype": {
  22421. "description": "格式化类型",
  22422. "type": "string"
  22423. },
  22424. "groupname": {
  22425. "description": "表头分组名称",
  22426. "type": "string"
  22427. },
  22428. "isshow": {
  22429. "description": "是否显示 - 0:不显示 1:显示",
  22430. "type": "integer"
  22431. },
  22432. "needsummary": {
  22433. "description": "是否需要汇总 - 0:不需要 1:需要",
  22434. "type": "integer"
  22435. },
  22436. "orderindex": {
  22437. "description": "顺序",
  22438. "type": "integer"
  22439. },
  22440. "remark": {
  22441. "description": "备注",
  22442. "type": "string"
  22443. },
  22444. "summarytype": {
  22445. "description": "汇总类型 - 1:加总 2:最后一个",
  22446. "type": "integer"
  22447. },
  22448. "tablekey": {
  22449. "description": "列表Key",
  22450. "type": "string"
  22451. }
  22452. }
  22453. },
  22454. "models.Useraccount": {
  22455. "type": "object",
  22456. "required": [
  22457. "userid"
  22458. ],
  22459. "properties": {
  22460. "accountname": {
  22461. "description": "账户名称(机构名称)",
  22462. "type": "string"
  22463. },
  22464. "accountstatus": {
  22465. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22466. "type": "integer"
  22467. },
  22468. "auditremark": {
  22469. "description": "审核备注",
  22470. "type": "string"
  22471. },
  22472. "audittime": {
  22473. "description": "审核时间",
  22474. "type": "string"
  22475. },
  22476. "audituserid": {
  22477. "description": "审核人",
  22478. "type": "integer"
  22479. },
  22480. "broker": {
  22481. "description": "所属经纪人ID",
  22482. "type": "integer"
  22483. },
  22484. "canceltime": {
  22485. "description": "销户时间",
  22486. "type": "string"
  22487. },
  22488. "canceluserid": {
  22489. "description": "销户人",
  22490. "type": "integer"
  22491. },
  22492. "createtime": {
  22493. "description": "创建时间",
  22494. "type": "string"
  22495. },
  22496. "creatorid": {
  22497. "description": "创建人",
  22498. "type": "integer"
  22499. },
  22500. "hasauth": {
  22501. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22502. "type": "integer"
  22503. },
  22504. "isanonymous": {
  22505. "description": "是否匿名下单 - 0:否 1:是",
  22506. "type": "integer"
  22507. },
  22508. "maxinvestornum": {
  22509. "description": "最大用户数(经纪会员下投资者个数)",
  22510. "type": "integer"
  22511. },
  22512. "memberuserid": {
  22513. "description": "所属会员ID",
  22514. "type": "integer"
  22515. },
  22516. "modifierid": {
  22517. "description": "修改人",
  22518. "type": "integer"
  22519. },
  22520. "modifyremark": {
  22521. "description": "变更备注",
  22522. "type": "string"
  22523. },
  22524. "modifystatus": {
  22525. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22526. "type": "integer"
  22527. },
  22528. "modifytime": {
  22529. "description": "修改时间",
  22530. "type": "string"
  22531. },
  22532. "parentuserid": {
  22533. "description": "所属机构ID",
  22534. "type": "integer"
  22535. },
  22536. "reckonaccountid": {
  22537. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22538. "type": "integer"
  22539. },
  22540. "refercount": {
  22541. "description": "推荐总人数",
  22542. "type": "integer"
  22543. },
  22544. "refereeuserid": {
  22545. "description": "推荐人ID",
  22546. "type": "integer"
  22547. },
  22548. "refernum": {
  22549. "description": "推荐码",
  22550. "type": "string"
  22551. },
  22552. "subarealevelpath": {
  22553. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22554. "type": "string"
  22555. },
  22556. "userid": {
  22557. "description": "用户ID",
  22558. "type": "integer"
  22559. },
  22560. "usertype": {
  22561. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22562. "type": "integer"
  22563. }
  22564. }
  22565. },
  22566. "models.Userfavoritegoods": {
  22567. "type": "object",
  22568. "required": [
  22569. "goodsid"
  22570. ],
  22571. "properties": {
  22572. "goodsid": {
  22573. "description": "商品ID",
  22574. "type": "integer"
  22575. }
  22576. }
  22577. },
  22578. "models.Userinfo": {
  22579. "type": "object",
  22580. "required": [
  22581. "userid"
  22582. ],
  22583. "properties": {
  22584. "address": {
  22585. "description": "地址",
  22586. "type": "string"
  22587. },
  22588. "attachment1": {
  22589. "description": "附件1",
  22590. "type": "string"
  22591. },
  22592. "attachment2": {
  22593. "description": "附件2",
  22594. "type": "string"
  22595. },
  22596. "bankaccount": {
  22597. "description": "银行帐号 (加密存储)",
  22598. "type": "string"
  22599. },
  22600. "bankaccountname": {
  22601. "description": "收款人名称",
  22602. "type": "string"
  22603. },
  22604. "bankcardfrontphotourl": {
  22605. "description": "银行卡正面照地址",
  22606. "type": "string"
  22607. },
  22608. "bankid": {
  22609. "description": "银行编码",
  22610. "type": "string"
  22611. },
  22612. "bankname": {
  22613. "description": "银行名称",
  22614. "type": "string"
  22615. },
  22616. "biznature": {
  22617. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22618. "type": "integer"
  22619. },
  22620. "bizscope": {
  22621. "description": "企业经营范围(企业)",
  22622. "type": "string"
  22623. },
  22624. "cardbackphotourl": {
  22625. "description": "证件背面图片地址",
  22626. "type": "string"
  22627. },
  22628. "cardfrontphotourl": {
  22629. "description": "证件正面图片地址",
  22630. "type": "string"
  22631. },
  22632. "cardnum": {
  22633. "description": "证件号码(加密存储)",
  22634. "type": "string"
  22635. },
  22636. "cardtypeid": {
  22637. "description": "证件类型ID",
  22638. "type": "integer"
  22639. },
  22640. "cityid": {
  22641. "description": "市",
  22642. "type": "integer"
  22643. },
  22644. "company": {
  22645. "description": "公司(个人)",
  22646. "type": "string"
  22647. },
  22648. "contactname": {
  22649. "description": "联系人",
  22650. "type": "string"
  22651. },
  22652. "countryid": {
  22653. "description": "国家",
  22654. "type": "integer"
  22655. },
  22656. "createtime": {
  22657. "description": "创建时间",
  22658. "type": "string"
  22659. },
  22660. "creatorid": {
  22661. "description": "创建人",
  22662. "type": "integer"
  22663. },
  22664. "customername": {
  22665. "description": "客户名称(企业名称)",
  22666. "type": "string"
  22667. },
  22668. "districtid": {
  22669. "description": "地区",
  22670. "type": "integer"
  22671. },
  22672. "email": {
  22673. "description": "邮件(加密存储)",
  22674. "type": "string"
  22675. },
  22676. "fax": {
  22677. "description": "传真(加密存储)",
  22678. "type": "string"
  22679. },
  22680. "halfbodyphotourl": {
  22681. "description": "半身照地址",
  22682. "type": "string"
  22683. },
  22684. "hasencrypt": {
  22685. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22686. "type": "integer"
  22687. },
  22688. "headurl": {
  22689. "description": "头像地址",
  22690. "type": "string"
  22691. },
  22692. "legalcardbackphotourl": {
  22693. "description": "法人身份证背面照地址",
  22694. "type": "string"
  22695. },
  22696. "legalcardfrontphotourl": {
  22697. "description": "法人身份证正面照地址",
  22698. "type": "string"
  22699. },
  22700. "legalpersonname": {
  22701. "description": "法人姓名(企业)",
  22702. "type": "string"
  22703. },
  22704. "mobile": {
  22705. "description": "手机号码(加密存储)",
  22706. "type": "string"
  22707. },
  22708. "mobile2": {
  22709. "description": "手机号码[明文-尚志]",
  22710. "type": "string"
  22711. },
  22712. "modifierid": {
  22713. "description": "修改人",
  22714. "type": "integer"
  22715. },
  22716. "modifiertime": {
  22717. "description": "修改时间",
  22718. "type": "string"
  22719. },
  22720. "needinvoice": {
  22721. "description": "是否需要发票 - 0:不需要 1:需要",
  22722. "type": "integer"
  22723. },
  22724. "nickname": {
  22725. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22726. "type": "string"
  22727. },
  22728. "openmode": {
  22729. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22730. "type": "integer"
  22731. },
  22732. "otherurl": {
  22733. "description": "其它图片地址[使用分号分隔]",
  22734. "type": "string"
  22735. },
  22736. "postalcode": {
  22737. "description": "邮政编码",
  22738. "type": "string"
  22739. },
  22740. "provinceid": {
  22741. "description": "省",
  22742. "type": "integer"
  22743. },
  22744. "qq": {
  22745. "description": "QQ(加密存储",
  22746. "type": "string"
  22747. },
  22748. "remark": {
  22749. "description": "备注",
  22750. "type": "string"
  22751. },
  22752. "sex": {
  22753. "description": "用户性别 0: 女 1: 男",
  22754. "type": "integer"
  22755. },
  22756. "signpdfurl": {
  22757. "description": "签约pdf文件",
  22758. "type": "string"
  22759. },
  22760. "telphone": {
  22761. "description": "联系电话(加密存储)",
  22762. "type": "string"
  22763. },
  22764. "userid": {
  22765. "description": "用户ID",
  22766. "type": "integer"
  22767. },
  22768. "userinfotype": {
  22769. "description": "用户信息类型 - 1:个人 2:企业",
  22770. "type": "integer"
  22771. },
  22772. "userstatus": {
  22773. "description": "用户状态 - 1:正常 2:注销",
  22774. "type": "integer"
  22775. },
  22776. "usertype": {
  22777. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22778. "type": "integer"
  22779. },
  22780. "wechat": {
  22781. "description": "微信(加密存储)",
  22782. "type": "string"
  22783. },
  22784. "wskhinfo": {
  22785. "description": "开户申请信息(JSON)",
  22786. "type": "string"
  22787. }
  22788. }
  22789. },
  22790. "models.WRSConverTDetail": {
  22791. "type": "object",
  22792. "properties": {
  22793. "convertratio": {
  22794. "description": "套保系数",
  22795. "type": "number"
  22796. },
  22797. "deliverygoodscode": {
  22798. "description": "现货商品代码",
  22799. "type": "string"
  22800. },
  22801. "deliverygoodsid": {
  22802. "description": "现货品种ID",
  22803. "type": "integer"
  22804. },
  22805. "deliverygoodsname": {
  22806. "description": "现货商品名称",
  22807. "type": "string"
  22808. },
  22809. "enumdicname": {
  22810. "description": "单位名称",
  22811. "type": "string"
  22812. },
  22813. "goodsunitid": {
  22814. "description": "套保品种单位id",
  22815. "type": "integer"
  22816. },
  22817. "middlegoodscode": {
  22818. "description": "套保品种代码",
  22819. "type": "string"
  22820. },
  22821. "middlegoodsid": {
  22822. "description": "套保品种ID",
  22823. "type": "integer"
  22824. },
  22825. "middlegoodsname": {
  22826. "description": "套保品种名称",
  22827. "type": "string"
  22828. },
  22829. "modifytime": {
  22830. "description": "修改时间",
  22831. "type": "string"
  22832. },
  22833. "wrstandardid": {
  22834. "description": "品类ID",
  22835. "type": "integer"
  22836. }
  22837. }
  22838. },
  22839. "models.WRStandardInfo": {
  22840. "type": "object",
  22841. "required": [
  22842. "wrstandardid"
  22843. ],
  22844. "properties": {
  22845. "areauserid": {
  22846. "description": "所属机构",
  22847. "type": "integer"
  22848. },
  22849. "convertfactor": {
  22850. "description": "标仓系数",
  22851. "type": "number"
  22852. },
  22853. "createtime": {
  22854. "description": "创建时间",
  22855. "type": "string"
  22856. },
  22857. "creatorid": {
  22858. "description": "创建人",
  22859. "type": "integer"
  22860. },
  22861. "deliverygoodsid": {
  22862. "description": "品种ID",
  22863. "type": "integer"
  22864. },
  22865. "deliverygoodsname": {
  22866. "description": "交割商品名称",
  22867. "type": "string"
  22868. },
  22869. "factoryitemjson": {
  22870. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22871. "type": "string"
  22872. },
  22873. "isvalid": {
  22874. "description": "是否有效 - 0:无效 1:有效",
  22875. "type": "integer"
  22876. },
  22877. "minivalue": {
  22878. "description": "最小变动值",
  22879. "type": "integer"
  22880. },
  22881. "minivaluedp": {
  22882. "description": "最小变动值小数位",
  22883. "type": "integer"
  22884. },
  22885. "realminivalue": {
  22886. "description": "实际最小变动值",
  22887. "type": "integer"
  22888. },
  22889. "realminivaluedp": {
  22890. "description": "实际最小变动值小数位",
  22891. "type": "integer"
  22892. },
  22893. "remark": {
  22894. "description": "备注",
  22895. "type": "string"
  22896. },
  22897. "unitid": {
  22898. "description": "单位ID",
  22899. "type": "integer"
  22900. },
  22901. "unitname": {
  22902. "description": "单位",
  22903. "type": "string"
  22904. },
  22905. "updatetime": {
  22906. "description": "更新时间",
  22907. "type": "string"
  22908. },
  22909. "updatorid": {
  22910. "description": "更新人",
  22911. "type": "integer"
  22912. },
  22913. "wrsstatus": {
  22914. "description": "状态 - 作废 - 0:未激活 1:正常",
  22915. "type": "integer"
  22916. },
  22917. "wrstandardcode": {
  22918. "description": "现货品类代码",
  22919. "type": "string"
  22920. },
  22921. "wrstandardid": {
  22922. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22923. "type": "integer"
  22924. },
  22925. "wrstandardname": {
  22926. "description": "现货品类名称",
  22927. "type": "string"
  22928. }
  22929. }
  22930. },
  22931. "models.Warehouseinfo": {
  22932. "type": "object",
  22933. "required": [
  22934. "autoid",
  22935. "warehousecode"
  22936. ],
  22937. "properties": {
  22938. "address": {
  22939. "description": "详细地址",
  22940. "type": "string"
  22941. },
  22942. "areauserid": {
  22943. "description": "所属机构",
  22944. "type": "integer"
  22945. },
  22946. "autoid": {
  22947. "description": "自增ID",
  22948. "type": "integer"
  22949. },
  22950. "cityid": {
  22951. "description": "市",
  22952. "type": "integer"
  22953. },
  22954. "contactname": {
  22955. "description": "联系人",
  22956. "type": "string"
  22957. },
  22958. "contactnum": {
  22959. "description": "联系电话",
  22960. "type": "string"
  22961. },
  22962. "countryid": {
  22963. "description": "国家",
  22964. "type": "integer"
  22965. },
  22966. "createtime": {
  22967. "description": "创建时间",
  22968. "type": "string"
  22969. },
  22970. "districtid": {
  22971. "description": "区",
  22972. "type": "integer"
  22973. },
  22974. "hasvideo": {
  22975. "description": "是否有视频 - 0:无 1:有",
  22976. "type": "integer"
  22977. },
  22978. "provinceid": {
  22979. "description": "省",
  22980. "type": "integer"
  22981. },
  22982. "remark": {
  22983. "description": "审核备注",
  22984. "type": "string"
  22985. },
  22986. "videourl": {
  22987. "description": "视频地址",
  22988. "type": "string"
  22989. },
  22990. "warehousecode": {
  22991. "description": "仓库代码",
  22992. "type": "string"
  22993. },
  22994. "warehousename": {
  22995. "description": "仓库名称",
  22996. "type": "string"
  22997. },
  22998. "warehousestatus": {
  22999. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23000. "type": "integer"
  23001. },
  23002. "warehousetype": {
  23003. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23004. "type": "integer"
  23005. }
  23006. }
  23007. },
  23008. "order.QueryHisTradeDetailRsp": {
  23009. "type": "object",
  23010. "required": [
  23011. "accountid",
  23012. "buyorsell",
  23013. "goodsid",
  23014. "histradedate",
  23015. "marketid",
  23016. "memberuserid",
  23017. "orderid",
  23018. "tradeamount",
  23019. "tradedate",
  23020. "tradeid",
  23021. "tradeprice",
  23022. "tradeqty",
  23023. "tradetime"
  23024. ],
  23025. "properties": {
  23026. "accountid": {
  23027. "description": "账户ID[报价币种]",
  23028. "type": "integer"
  23029. },
  23030. "buildtype": {
  23031. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23032. "type": "integer"
  23033. },
  23034. "buyorsell": {
  23035. "description": "方向 - 0:买 1:卖",
  23036. "type": "integer"
  23037. },
  23038. "charge": {
  23039. "description": "手续费",
  23040. "type": "number"
  23041. },
  23042. "closecharge": {
  23043. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23044. "type": "number"
  23045. },
  23046. "closeexchagechargevalue": {
  23047. "description": "平仓交易所手续费设置值",
  23048. "type": "number"
  23049. },
  23050. "closefeealgorithm": {
  23051. "description": "平仓手续费收取方式 1:比率 2:固定",
  23052. "type": "integer"
  23053. },
  23054. "closememberchargevalue": {
  23055. "description": "平仓会员手续费设置值",
  23056. "type": "number"
  23057. },
  23058. "closepl": {
  23059. "description": "平仓盈亏",
  23060. "type": "number"
  23061. },
  23062. "closepl2": {
  23063. "description": "平仓盈亏[逐笔]",
  23064. "type": "number"
  23065. },
  23066. "closeqty": {
  23067. "description": "平仓数量(先建后平操作 需要记录)",
  23068. "type": "integer"
  23069. },
  23070. "creditamount": {
  23071. "description": "授信金额",
  23072. "type": "number"
  23073. },
  23074. "gcaccountid": {
  23075. "description": "账户ID[合约币种]",
  23076. "type": "integer"
  23077. },
  23078. "goodscode": {
  23079. "description": "商品代码",
  23080. "type": "string"
  23081. },
  23082. "goodsid": {
  23083. "description": "商品ID",
  23084. "type": "integer"
  23085. },
  23086. "goodsname": {
  23087. "description": "商品名称",
  23088. "type": "string"
  23089. },
  23090. "histradedate": {
  23091. "description": "历史交易日",
  23092. "type": "string"
  23093. },
  23094. "intclosepl": {
  23095. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23096. "type": "integer"
  23097. },
  23098. "isconfirmexercise": {
  23099. "description": "是否确认行权- 0:否 1:是",
  23100. "type": "integer"
  23101. },
  23102. "ismain": {
  23103. "description": "是否主单 - 0:不是 1:是",
  23104. "type": "integer"
  23105. },
  23106. "ispreexercise": {
  23107. "description": "是否预申报- 0:否 1:是",
  23108. "type": "integer"
  23109. },
  23110. "isreckoned": {
  23111. "description": "是否结算 - 0:未结算 1:已结算",
  23112. "type": "integer"
  23113. },
  23114. "isvaliddata": {
  23115. "description": "是否有效 - 0:无效 1:有效",
  23116. "type": "integer"
  23117. },
  23118. "listingselecttype": {
  23119. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23120. "type": "integer"
  23121. },
  23122. "marketid": {
  23123. "description": "市场ID",
  23124. "type": "integer"
  23125. },
  23126. "marketname": {
  23127. "description": "市场名称",
  23128. "type": "string"
  23129. },
  23130. "matchaccountid": {
  23131. "description": "对手账号id",
  23132. "type": "integer"
  23133. },
  23134. "memberuserid": {
  23135. "description": "会员id 个人投资者 需要填写",
  23136. "type": "integer"
  23137. },
  23138. "opencharge": {
  23139. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23140. "type": "number"
  23141. },
  23142. "openexchagechargevalue": {
  23143. "description": "建仓交易所手续费设置值",
  23144. "type": "number"
  23145. },
  23146. "openfeealgorithm": {
  23147. "description": "建仓手续费收取方式 1:比率 2:固定",
  23148. "type": "integer"
  23149. },
  23150. "openmemberchargevalue": {
  23151. "description": "建仓会员手续费设置值",
  23152. "type": "number"
  23153. },
  23154. "openqty": {
  23155. "description": "开仓数量(先建后平操作 需要记录)",
  23156. "type": "integer"
  23157. },
  23158. "optiontype": {
  23159. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23160. "type": "integer"
  23161. },
  23162. "orderid": {
  23163. "description": "委托单号",
  23164. "type": "string"
  23165. },
  23166. "performanceplanid": {
  23167. "description": "履约计划ID[期权]",
  23168. "type": "integer"
  23169. },
  23170. "performancestatus": {
  23171. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23172. "type": "integer"
  23173. },
  23174. "preexerciseprice": {
  23175. "description": "预申报价格",
  23176. "type": "number"
  23177. },
  23178. "premium": {
  23179. "description": "权利金 - [持仓单的权利金]",
  23180. "type": "number"
  23181. },
  23182. "relatedouttradeid": {
  23183. "description": "关联外部成交单ID",
  23184. "type": "integer"
  23185. },
  23186. "status": {
  23187. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23188. "type": "integer"
  23189. },
  23190. "tradeamount": {
  23191. "description": "成交金额[账户币种,用于所有权]",
  23192. "type": "number"
  23193. },
  23194. "tradedate": {
  23195. "description": "交易日(yyyyMMdd)",
  23196. "type": "string"
  23197. },
  23198. "tradeid": {
  23199. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23200. "type": "string"
  23201. },
  23202. "trademode": {
  23203. "description": "交易模式",
  23204. "type": "integer"
  23205. },
  23206. "tradeprice": {
  23207. "description": "成交价格",
  23208. "type": "number"
  23209. },
  23210. "tradeproperty": {
  23211. "description": "交易属性",
  23212. "type": "integer"
  23213. },
  23214. "tradeqty": {
  23215. "description": "成交数量",
  23216. "type": "integer"
  23217. },
  23218. "tradetime": {
  23219. "description": "成交时间",
  23220. "type": "string"
  23221. },
  23222. "tradetype": {
  23223. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23224. "type": "integer"
  23225. }
  23226. }
  23227. },
  23228. "order.QueryHisTradeOrderDetailRsp": {
  23229. "type": "object",
  23230. "required": [
  23231. "accountid",
  23232. "buildtype",
  23233. "buyorsell",
  23234. "goodsid",
  23235. "histradedate",
  23236. "marketid",
  23237. "memberuserid",
  23238. "operatetype",
  23239. "orderid",
  23240. "orderqty",
  23241. "ordertime",
  23242. "pricemode",
  23243. "tradedate",
  23244. "validtype"
  23245. ],
  23246. "properties": {
  23247. "accountid": {
  23248. "description": "账户ID[报价币种]",
  23249. "type": "integer"
  23250. },
  23251. "buildtype": {
  23252. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23253. "type": "integer"
  23254. },
  23255. "buyorsell": {
  23256. "description": "买卖 - 0:买 1:卖",
  23257. "type": "integer"
  23258. },
  23259. "cancelorderid": {
  23260. "description": "撤单单号(撤单时填写)",
  23261. "type": "string"
  23262. },
  23263. "cancelqty": {
  23264. "description": "撤单数量",
  23265. "type": "integer"
  23266. },
  23267. "clientordertime": {
  23268. "description": "客户端委托时间",
  23269. "type": "string"
  23270. },
  23271. "clientticket": {
  23272. "description": "客户端流水号",
  23273. "type": "string"
  23274. },
  23275. "clienttype": {
  23276. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23277. "type": "integer"
  23278. },
  23279. "closeexchagechargevalue": {
  23280. "description": "平仓交易所手续费设置值",
  23281. "type": "number"
  23282. },
  23283. "closefeealgorithm": {
  23284. "description": "平仓手续费收取方式 1:比率 2:固定",
  23285. "type": "integer"
  23286. },
  23287. "closefreezecharge": {
  23288. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23289. "type": "number"
  23290. },
  23291. "closememberchargevalue": {
  23292. "description": "平仓会员手续费设置值",
  23293. "type": "number"
  23294. },
  23295. "closeqty": {
  23296. "description": "平仓数量(先建后平操作 需要记录)",
  23297. "type": "integer"
  23298. },
  23299. "closetradeqty": {
  23300. "description": "平仓成交数量(先建后平操作,需要记录)",
  23301. "type": "integer"
  23302. },
  23303. "closeunfreezecharge": {
  23304. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23305. "type": "number"
  23306. },
  23307. "delistingtype": {
  23308. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23309. "type": "integer"
  23310. },
  23311. "freezecharge": {
  23312. "description": "冻结手续费",
  23313. "type": "number"
  23314. },
  23315. "freezemargin": {
  23316. "description": "冻结保证金(冻结交易金额)",
  23317. "type": "number"
  23318. },
  23319. "gcaccountid": {
  23320. "description": "账户ID[合约币种]",
  23321. "type": "integer"
  23322. },
  23323. "goodscode": {
  23324. "description": "商品代码",
  23325. "type": "string"
  23326. },
  23327. "goodsid": {
  23328. "description": "商品ID",
  23329. "type": "integer"
  23330. },
  23331. "goodsname": {
  23332. "description": "商品名称",
  23333. "type": "string"
  23334. },
  23335. "histradedate": {
  23336. "description": "历史交易日",
  23337. "type": "string"
  23338. },
  23339. "isconfirmexercise": {
  23340. "description": "是否确认行权- 0:否 1:是",
  23341. "type": "integer"
  23342. },
  23343. "ispreexercise": {
  23344. "description": "是否预申报- 0:否 1:是",
  23345. "type": "integer"
  23346. },
  23347. "isvaliddata": {
  23348. "description": "是否有效 - 0:无效 1:有效",
  23349. "type": "integer"
  23350. },
  23351. "listingselecttype": {
  23352. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23353. "type": "integer"
  23354. },
  23355. "marginalgorithm": {
  23356. "description": "保证金收取方式 1:比率 2:固定",
  23357. "type": "integer"
  23358. },
  23359. "marginvalue": {
  23360. "description": "即市保证金设置值",
  23361. "type": "number"
  23362. },
  23363. "marketid": {
  23364. "description": "市场ID",
  23365. "type": "integer"
  23366. },
  23367. "marketmaxsub": {
  23368. "description": "市价最大偏移范围",
  23369. "type": "number"
  23370. },
  23371. "marketname": {
  23372. "description": "市场名称",
  23373. "type": "string"
  23374. },
  23375. "memberuserid": {
  23376. "description": "所属会员UserID",
  23377. "type": "integer"
  23378. },
  23379. "openexchagechargevalue": {
  23380. "description": "建仓交易所手续费设置值",
  23381. "type": "number"
  23382. },
  23383. "openfeealgorithm": {
  23384. "description": "建仓手续费收取方式 1:比率 2:固定",
  23385. "type": "integer"
  23386. },
  23387. "openfreezecharge": {
  23388. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23389. "type": "number"
  23390. },
  23391. "openmemberchargevalue": {
  23392. "description": "建仓会员手续费设置值",
  23393. "type": "number"
  23394. },
  23395. "openqty": {
  23396. "description": "开仓数量(先建后平操作,需要记录)",
  23397. "type": "integer"
  23398. },
  23399. "opentradeqty": {
  23400. "description": "开仓成交数量(先建后平操作,需要记录)",
  23401. "type": "integer"
  23402. },
  23403. "openunfreezecharge": {
  23404. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23405. "type": "number"
  23406. },
  23407. "operatetype": {
  23408. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23409. "type": "integer"
  23410. },
  23411. "operatorid": {
  23412. "description": "登录账号(LoginID)",
  23413. "type": "integer"
  23414. },
  23415. "optiontype": {
  23416. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23417. "type": "integer"
  23418. },
  23419. "orderid": {
  23420. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23421. "type": "string"
  23422. },
  23423. "orderprice": {
  23424. "description": "委托价格",
  23425. "type": "number"
  23426. },
  23427. "orderqty": {
  23428. "description": "委托数量",
  23429. "type": "integer"
  23430. },
  23431. "ordersrc": {
  23432. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23433. "type": "integer"
  23434. },
  23435. "orderstatus": {
  23436. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23437. "type": "integer"
  23438. },
  23439. "ordertime": {
  23440. "description": "委托时间",
  23441. "type": "string"
  23442. },
  23443. "preexerciseprice": {
  23444. "description": "预申报价格",
  23445. "type": "number"
  23446. },
  23447. "premium": {
  23448. "description": "权利金",
  23449. "type": "number"
  23450. },
  23451. "preorderid": {
  23452. "description": "关联预埋单号(止盈止损单时填写)",
  23453. "type": "string"
  23454. },
  23455. "pricemode": {
  23456. "description": "取价方式 - 1:市价 2: 限价",
  23457. "type": "integer"
  23458. },
  23459. "quoteid": {
  23460. "description": "报价单ID",
  23461. "type": "integer"
  23462. },
  23463. "relatedid": {
  23464. "description": "关联单号(交割单)",
  23465. "type": "string"
  23466. },
  23467. "retcode": {
  23468. "description": "错误代码",
  23469. "type": "integer"
  23470. },
  23471. "sessionid": {
  23472. "description": "会话ID",
  23473. "type": "integer"
  23474. },
  23475. "tradedate": {
  23476. "description": "交易日(yyyyMMdd)",
  23477. "type": "string"
  23478. },
  23479. "trademode": {
  23480. "description": "交易模式",
  23481. "type": "integer"
  23482. },
  23483. "tradeproperty": {
  23484. "description": "交易属性",
  23485. "type": "integer"
  23486. },
  23487. "tradeqty": {
  23488. "description": "成交数量",
  23489. "type": "integer"
  23490. },
  23491. "unfreezecharge": {
  23492. "description": "解冻手续费",
  23493. "type": "number"
  23494. },
  23495. "unfreezemargin": {
  23496. "description": "解冻保证金",
  23497. "type": "number"
  23498. },
  23499. "updatetime": {
  23500. "description": "更新时间",
  23501. "type": "string"
  23502. },
  23503. "uuid": {
  23504. "description": "发起端唯一id",
  23505. "type": "string"
  23506. },
  23507. "validtime": {
  23508. "description": "有效期限",
  23509. "type": "string"
  23510. },
  23511. "validtype": {
  23512. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23513. "type": "integer"
  23514. },
  23515. "volumetype": {
  23516. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23517. "type": "integer"
  23518. }
  23519. }
  23520. },
  23521. "order.QueryTradeDetailRsp": {
  23522. "type": "object",
  23523. "required": [
  23524. "accountid",
  23525. "buyorsell",
  23526. "goodsid",
  23527. "marketid",
  23528. "memberuserid",
  23529. "orderid",
  23530. "tradeamount",
  23531. "tradedate",
  23532. "tradeid",
  23533. "tradeprice",
  23534. "tradeqty",
  23535. "tradetime"
  23536. ],
  23537. "properties": {
  23538. "accountid": {
  23539. "description": "账户ID[报价币种]",
  23540. "type": "integer"
  23541. },
  23542. "buildtype": {
  23543. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23544. "type": "integer"
  23545. },
  23546. "buyorsell": {
  23547. "description": "方向 - 0:买 1:卖",
  23548. "type": "integer"
  23549. },
  23550. "charge": {
  23551. "description": "手续费",
  23552. "type": "number"
  23553. },
  23554. "closecharge": {
  23555. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23556. "type": "number"
  23557. },
  23558. "closeexchagechargevalue": {
  23559. "description": "平仓交易所手续费设置值",
  23560. "type": "number"
  23561. },
  23562. "closefeealgorithm": {
  23563. "description": "平仓手续费收取方式 1:比率 2:固定",
  23564. "type": "integer"
  23565. },
  23566. "closememberchargevalue": {
  23567. "description": "平仓会员手续费设置值",
  23568. "type": "number"
  23569. },
  23570. "closepl": {
  23571. "description": "平仓盈亏",
  23572. "type": "number"
  23573. },
  23574. "closepl2": {
  23575. "description": "平仓盈亏[逐笔]",
  23576. "type": "number"
  23577. },
  23578. "closeqty": {
  23579. "description": "平仓数量(先建后平操作 需要记录)",
  23580. "type": "integer"
  23581. },
  23582. "creditamount": {
  23583. "description": "授信金额",
  23584. "type": "number"
  23585. },
  23586. "gcaccountid": {
  23587. "description": "账户ID[合约币种]",
  23588. "type": "integer"
  23589. },
  23590. "goodscode": {
  23591. "description": "商品代码",
  23592. "type": "string"
  23593. },
  23594. "goodsid": {
  23595. "description": "商品ID",
  23596. "type": "integer"
  23597. },
  23598. "goodsname": {
  23599. "description": "商品名称",
  23600. "type": "string"
  23601. },
  23602. "intclosepl": {
  23603. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23604. "type": "integer"
  23605. },
  23606. "isconfirmexercise": {
  23607. "description": "是否确认行权- 0:否 1:是",
  23608. "type": "integer"
  23609. },
  23610. "ismain": {
  23611. "description": "是否主单 - 0:不是 1:是",
  23612. "type": "integer"
  23613. },
  23614. "ispreexercise": {
  23615. "description": "是否预申报- 0:否 1:是",
  23616. "type": "integer"
  23617. },
  23618. "isreckoned": {
  23619. "description": "是否结算 - 0:未结算 1:已结算",
  23620. "type": "integer"
  23621. },
  23622. "listingselecttype": {
  23623. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23624. "type": "integer"
  23625. },
  23626. "marketid": {
  23627. "description": "市场ID",
  23628. "type": "integer"
  23629. },
  23630. "marketname": {
  23631. "description": "市场名称",
  23632. "type": "string"
  23633. },
  23634. "matchaccountid": {
  23635. "description": "对手账号id",
  23636. "type": "integer"
  23637. },
  23638. "memberuserid": {
  23639. "description": "会员id 个人投资者 需要填写",
  23640. "type": "integer"
  23641. },
  23642. "opencharge": {
  23643. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23644. "type": "number"
  23645. },
  23646. "openexchagechargevalue": {
  23647. "description": "建仓交易所手续费设置值",
  23648. "type": "number"
  23649. },
  23650. "openfeealgorithm": {
  23651. "description": "建仓手续费收取方式 1:比率 2:固定",
  23652. "type": "integer"
  23653. },
  23654. "openmemberchargevalue": {
  23655. "description": "建仓会员手续费设置值",
  23656. "type": "number"
  23657. },
  23658. "openqty": {
  23659. "description": "开仓数量(先建后平操作 需要记录)",
  23660. "type": "integer"
  23661. },
  23662. "optiontype": {
  23663. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23664. "type": "integer"
  23665. },
  23666. "orderid": {
  23667. "description": "委托单号",
  23668. "type": "string"
  23669. },
  23670. "performanceplanid": {
  23671. "description": "履约计划ID[期权]",
  23672. "type": "integer"
  23673. },
  23674. "performancestatus": {
  23675. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23676. "type": "integer"
  23677. },
  23678. "preexerciseprice": {
  23679. "description": "预申报价格",
  23680. "type": "number"
  23681. },
  23682. "premium": {
  23683. "description": "权利金 - [持仓单的权利金]",
  23684. "type": "number"
  23685. },
  23686. "relatedouttradeid": {
  23687. "description": "关联外部成交单ID",
  23688. "type": "integer"
  23689. },
  23690. "status": {
  23691. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23692. "type": "integer"
  23693. },
  23694. "tradeamount": {
  23695. "description": "成交金额[账户币种,用于所有权]",
  23696. "type": "number"
  23697. },
  23698. "tradedate": {
  23699. "description": "交易日(yyyyMMdd)",
  23700. "type": "string"
  23701. },
  23702. "tradeid": {
  23703. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23704. "type": "string"
  23705. },
  23706. "trademode": {
  23707. "description": "交易模式",
  23708. "type": "integer"
  23709. },
  23710. "tradeprice": {
  23711. "description": "成交价格",
  23712. "type": "number"
  23713. },
  23714. "tradeproperty": {
  23715. "description": "交易属性",
  23716. "type": "integer"
  23717. },
  23718. "tradeqty": {
  23719. "description": "成交数量",
  23720. "type": "integer"
  23721. },
  23722. "tradetime": {
  23723. "description": "成交时间",
  23724. "type": "string"
  23725. },
  23726. "tradetype": {
  23727. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23728. "type": "integer"
  23729. }
  23730. }
  23731. },
  23732. "order.QueryTradeOrderDetailRsp": {
  23733. "type": "object",
  23734. "required": [
  23735. "accountid",
  23736. "buildtype",
  23737. "buyorsell",
  23738. "goodsid",
  23739. "marketid",
  23740. "operatetype",
  23741. "orderqty",
  23742. "ordertime",
  23743. "pricemode",
  23744. "tradedate",
  23745. "validtype"
  23746. ],
  23747. "properties": {
  23748. "accountid": {
  23749. "description": "账户ID[报价币种]",
  23750. "type": "integer"
  23751. },
  23752. "buildtype": {
  23753. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23754. "type": "integer"
  23755. },
  23756. "buyorsell": {
  23757. "description": "买卖 - 0:买 1:卖",
  23758. "type": "integer"
  23759. },
  23760. "cancelorderid": {
  23761. "description": "撤单单号(撤单时填写)",
  23762. "type": "string"
  23763. },
  23764. "cancelqty": {
  23765. "description": "撤单数量",
  23766. "type": "integer"
  23767. },
  23768. "clienttype": {
  23769. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23770. "type": "integer"
  23771. },
  23772. "closefreezecharge": {
  23773. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23774. "type": "number"
  23775. },
  23776. "closeqty": {
  23777. "description": "平仓数量(先建后平操作 需要记录)",
  23778. "type": "integer"
  23779. },
  23780. "closetradeqty": {
  23781. "description": "平仓成交数量(先建后平操作,需要记录)",
  23782. "type": "integer"
  23783. },
  23784. "closeunfreezecharge": {
  23785. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23786. "type": "number"
  23787. },
  23788. "delistingtype": {
  23789. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23790. "type": "integer"
  23791. },
  23792. "enableqty": {
  23793. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23794. "type": "integer"
  23795. },
  23796. "freezecharge": {
  23797. "description": "冻结手续费",
  23798. "type": "number"
  23799. },
  23800. "freezemargin": {
  23801. "description": "冻结保证金(冻结交易金额)",
  23802. "type": "number"
  23803. },
  23804. "goodscode": {
  23805. "description": "商品代码",
  23806. "type": "string"
  23807. },
  23808. "goodsid": {
  23809. "description": "商品ID",
  23810. "type": "integer"
  23811. },
  23812. "goodsname": {
  23813. "description": "商品名称",
  23814. "type": "string"
  23815. },
  23816. "listingselecttype": {
  23817. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23818. "type": "integer"
  23819. },
  23820. "marketid": {
  23821. "description": "市场ID",
  23822. "type": "integer"
  23823. },
  23824. "marketname": {
  23825. "description": "市场名称",
  23826. "type": "string"
  23827. },
  23828. "openfreezecharge": {
  23829. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23830. "type": "number"
  23831. },
  23832. "openqty": {
  23833. "description": "开仓数量(先建后平操作,需要记录)",
  23834. "type": "integer"
  23835. },
  23836. "opentradeqty": {
  23837. "description": "开仓成交数量(先建后平操作,需要记录)",
  23838. "type": "integer"
  23839. },
  23840. "openunfreezecharge": {
  23841. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23842. "type": "number"
  23843. },
  23844. "operatetype": {
  23845. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23846. "type": "integer"
  23847. },
  23848. "operatorid": {
  23849. "description": "登录账号(LoginID)",
  23850. "type": "integer"
  23851. },
  23852. "orderid": {
  23853. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23854. "type": "string"
  23855. },
  23856. "orderprice": {
  23857. "description": "委托价格",
  23858. "type": "number"
  23859. },
  23860. "orderqty": {
  23861. "description": "委托数量",
  23862. "type": "integer"
  23863. },
  23864. "ordersrc": {
  23865. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23866. "type": "integer"
  23867. },
  23868. "orderstatus": {
  23869. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23870. "type": "integer"
  23871. },
  23872. "ordertime": {
  23873. "description": "委托时间",
  23874. "type": "string"
  23875. },
  23876. "preorderid": {
  23877. "description": "关联预埋单号(止盈止损单时填写)",
  23878. "type": "string"
  23879. },
  23880. "pricemode": {
  23881. "description": "取价方式 - 1:市价 2: 限价",
  23882. "type": "integer"
  23883. },
  23884. "relatedid": {
  23885. "description": "关联单号(交割单)",
  23886. "type": "string"
  23887. },
  23888. "tradedate": {
  23889. "description": "交易日(yyyyMMdd)",
  23890. "type": "string"
  23891. },
  23892. "trademode": {
  23893. "description": "交易模式",
  23894. "type": "integer"
  23895. },
  23896. "tradeqty": {
  23897. "description": "成交数量",
  23898. "type": "integer"
  23899. },
  23900. "unfreezecharge": {
  23901. "description": "解冻手续费",
  23902. "type": "number"
  23903. },
  23904. "unfreezemargin": {
  23905. "description": "解冻保证金",
  23906. "type": "number"
  23907. },
  23908. "validtime": {
  23909. "description": "有效期限",
  23910. "type": "string"
  23911. },
  23912. "validtype": {
  23913. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23914. "type": "integer"
  23915. },
  23916. "volumetype": {
  23917. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23918. "type": "integer"
  23919. }
  23920. }
  23921. },
  23922. "order.QueryTradePositionRsp": {
  23923. "type": "object",
  23924. "required": [
  23925. "goodsid"
  23926. ],
  23927. "properties": {
  23928. "accountid": {
  23929. "description": "资金账户",
  23930. "type": "integer"
  23931. },
  23932. "agreeunit": {
  23933. "description": "合约单位",
  23934. "type": "number"
  23935. },
  23936. "averageprice": {
  23937. "description": "持仓均价",
  23938. "type": "number"
  23939. },
  23940. "buyorsell": {
  23941. "description": "方向 - 0:买 1:卖",
  23942. "type": "integer"
  23943. },
  23944. "closetotalqty": {
  23945. "description": "平仓总数量",
  23946. "type": "integer"
  23947. },
  23948. "curholderamount": {
  23949. "description": "当前持仓总金额[商品币种]",
  23950. "type": "number"
  23951. },
  23952. "curpositionqty": {
  23953. "description": "当前持仓总数量",
  23954. "type": "integer"
  23955. },
  23956. "currencyid": {
  23957. "description": "报价货币ID",
  23958. "type": "integer"
  23959. },
  23960. "curtdposition": {
  23961. "description": "期末今日头寸",
  23962. "type": "integer"
  23963. },
  23964. "decimalplace": {
  23965. "description": "报价小数位",
  23966. "type": "integer"
  23967. },
  23968. "enableqty": {
  23969. "description": "可用量",
  23970. "type": "integer"
  23971. },
  23972. "fretdposition": {
  23973. "description": "冻结今日头寸",
  23974. "type": "integer"
  23975. },
  23976. "frozenqty": {
  23977. "description": "持仓冻结数量",
  23978. "type": "integer"
  23979. },
  23980. "goodscode": {
  23981. "description": "商品代码",
  23982. "type": "string"
  23983. },
  23984. "goodsid": {
  23985. "description": "商品Id",
  23986. "type": "integer"
  23987. },
  23988. "goodsname": {
  23989. "description": "商品名称",
  23990. "type": "string"
  23991. },
  23992. "goodunit": {
  23993. "description": "报价单位",
  23994. "type": "string"
  23995. },
  23996. "goodunitid": {
  23997. "description": "报价单位ID",
  23998. "type": "integer"
  23999. },
  24000. "holderamount": {
  24001. "description": "期初持仓总金额[商品币种]",
  24002. "type": "number"
  24003. },
  24004. "marketid": {
  24005. "description": "所属市场ID",
  24006. "type": "integer"
  24007. },
  24008. "openreqqty": {
  24009. "description": "开仓申请数量(用于比较最大持仓数量)",
  24010. "type": "integer"
  24011. },
  24012. "opentotalqty": {
  24013. "description": "开仓总数量",
  24014. "type": "integer"
  24015. },
  24016. "otherfrozenqty": {
  24017. "description": "持仓其他冻结数量(交割冻结)",
  24018. "type": "integer"
  24019. },
  24020. "positionqty": {
  24021. "description": "期初持仓数量",
  24022. "type": "integer"
  24023. },
  24024. "tnqty": {
  24025. "description": "T+N冻结总量",
  24026. "type": "integer"
  24027. },
  24028. "tnusedqty": {
  24029. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24030. "type": "integer"
  24031. },
  24032. "trademode": {
  24033. "description": "交易模式",
  24034. "type": "integer"
  24035. },
  24036. "usedmargin": {
  24037. "description": "占用保证金[商品币种]",
  24038. "type": "number"
  24039. }
  24040. }
  24041. },
  24042. "quote.HistoryData": {
  24043. "type": "object",
  24044. "properties": {
  24045. "c": {
  24046. "description": "收盘价",
  24047. "type": "number"
  24048. },
  24049. "f": {
  24050. "description": "是否补充数据",
  24051. "type": "boolean"
  24052. },
  24053. "h": {
  24054. "description": "最高价",
  24055. "type": "number"
  24056. },
  24057. "hv": {
  24058. "description": "持仓量",
  24059. "type": "integer"
  24060. },
  24061. "l": {
  24062. "description": "最低价",
  24063. "type": "number"
  24064. },
  24065. "o": {
  24066. "description": "开盘价",
  24067. "type": "number"
  24068. },
  24069. "s": {
  24070. "description": "结算价,日线周期(包括)以上才有",
  24071. "type": "number"
  24072. },
  24073. "ts": {
  24074. "description": "时间",
  24075. "type": "string"
  24076. },
  24077. "tt": {
  24078. "description": "总金额",
  24079. "type": "number"
  24080. },
  24081. "tv": {
  24082. "description": "总量",
  24083. "type": "integer"
  24084. }
  24085. }
  24086. },
  24087. "quote.HistoryTikData": {
  24088. "type": "object",
  24089. "properties": {
  24090. "AV": {
  24091. "description": "卖量",
  24092. "type": "integer"
  24093. },
  24094. "Ask": {
  24095. "description": "卖价",
  24096. "type": "number"
  24097. },
  24098. "BV": {
  24099. "description": "买量",
  24100. "type": "integer"
  24101. },
  24102. "Bid": {
  24103. "description": "买价",
  24104. "type": "number"
  24105. },
  24106. "HI": {
  24107. "description": "单笔持仓",
  24108. "type": "integer"
  24109. },
  24110. "HV": {
  24111. "description": "持仓量",
  24112. "type": "integer"
  24113. },
  24114. "PE": {
  24115. "description": "现价",
  24116. "type": "number"
  24117. },
  24118. "TDR": {
  24119. "description": "交易方向,0:买 1:卖",
  24120. "type": "integer"
  24121. },
  24122. "TK": {
  24123. "description": "交易类型",
  24124. "type": "integer"
  24125. },
  24126. "TS": {
  24127. "description": "行情时间文本",
  24128. "type": "string"
  24129. },
  24130. "TT": {
  24131. "description": "现金额",
  24132. "type": "number"
  24133. },
  24134. "Vol": {
  24135. "description": "现量",
  24136. "type": "integer"
  24137. }
  24138. }
  24139. },
  24140. "quote.QueryQuoteDayRsp": {
  24141. "type": "object",
  24142. "properties": {
  24143. "ask": {
  24144. "description": "卖1",
  24145. "type": "number"
  24146. },
  24147. "ask10": {
  24148. "description": "卖10",
  24149. "type": "number"
  24150. },
  24151. "ask2": {
  24152. "description": "卖2",
  24153. "type": "number"
  24154. },
  24155. "ask3": {
  24156. "description": "卖3",
  24157. "type": "number"
  24158. },
  24159. "ask4": {
  24160. "description": "卖4",
  24161. "type": "number"
  24162. },
  24163. "ask5": {
  24164. "description": "卖5",
  24165. "type": "number"
  24166. },
  24167. "ask6": {
  24168. "description": "卖6",
  24169. "type": "number"
  24170. },
  24171. "ask7": {
  24172. "description": "卖7",
  24173. "type": "number"
  24174. },
  24175. "ask8": {
  24176. "description": "卖8",
  24177. "type": "number"
  24178. },
  24179. "ask9": {
  24180. "description": "卖9",
  24181. "type": "number"
  24182. },
  24183. "askorderid": {
  24184. "description": "卖单号1",
  24185. "type": "integer"
  24186. },
  24187. "askorderid2": {
  24188. "description": "卖单号2",
  24189. "type": "integer"
  24190. },
  24191. "askorderid3": {
  24192. "description": "卖单号3",
  24193. "type": "integer"
  24194. },
  24195. "askorderid4": {
  24196. "description": "卖单号4",
  24197. "type": "integer"
  24198. },
  24199. "askorderid5": {
  24200. "description": "卖单号5",
  24201. "type": "integer"
  24202. },
  24203. "askordervolume": {
  24204. "description": "卖单量1",
  24205. "type": "integer"
  24206. },
  24207. "askordervolume10": {
  24208. "description": "卖单量10",
  24209. "type": "integer"
  24210. },
  24211. "askordervolume2": {
  24212. "description": "卖单量2",
  24213. "type": "integer"
  24214. },
  24215. "askordervolume3": {
  24216. "description": "卖单量3",
  24217. "type": "integer"
  24218. },
  24219. "askordervolume4": {
  24220. "description": "卖单量4",
  24221. "type": "integer"
  24222. },
  24223. "askordervolume5": {
  24224. "description": "卖单量5",
  24225. "type": "integer"
  24226. },
  24227. "askordervolume6": {
  24228. "description": "卖单量6",
  24229. "type": "integer"
  24230. },
  24231. "askordervolume7": {
  24232. "description": "卖单量7",
  24233. "type": "integer"
  24234. },
  24235. "askordervolume8": {
  24236. "description": "卖单量8",
  24237. "type": "integer"
  24238. },
  24239. "askordervolume9": {
  24240. "description": "卖单量9",
  24241. "type": "integer"
  24242. },
  24243. "askqueueinfo": {
  24244. "description": "大利市卖港股用",
  24245. "type": "string"
  24246. },
  24247. "askvolume": {
  24248. "description": "卖量1",
  24249. "type": "integer"
  24250. },
  24251. "askvolume10": {
  24252. "description": "卖量10",
  24253. "type": "integer"
  24254. },
  24255. "askvolume2": {
  24256. "description": "卖量2",
  24257. "type": "integer"
  24258. },
  24259. "askvolume3": {
  24260. "description": "卖量3",
  24261. "type": "integer"
  24262. },
  24263. "askvolume4": {
  24264. "description": "卖量4",
  24265. "type": "integer"
  24266. },
  24267. "askvolume5": {
  24268. "description": "卖量5",
  24269. "type": "integer"
  24270. },
  24271. "askvolume6": {
  24272. "description": "卖量6",
  24273. "type": "integer"
  24274. },
  24275. "askvolume7": {
  24276. "description": "卖量7",
  24277. "type": "integer"
  24278. },
  24279. "askvolume8": {
  24280. "description": "卖量8",
  24281. "type": "integer"
  24282. },
  24283. "askvolume9": {
  24284. "description": "卖量9",
  24285. "type": "integer"
  24286. },
  24287. "averageprice": {
  24288. "description": "均价",
  24289. "type": "number"
  24290. },
  24291. "bid": {
  24292. "description": "买1",
  24293. "type": "number"
  24294. },
  24295. "bid10": {
  24296. "description": "买10",
  24297. "type": "number"
  24298. },
  24299. "bid2": {
  24300. "description": "买2",
  24301. "type": "number"
  24302. },
  24303. "bid3": {
  24304. "description": "买3",
  24305. "type": "number"
  24306. },
  24307. "bid4": {
  24308. "description": "买4",
  24309. "type": "number"
  24310. },
  24311. "bid5": {
  24312. "description": "买5",
  24313. "type": "number"
  24314. },
  24315. "bid6": {
  24316. "description": "买6",
  24317. "type": "number"
  24318. },
  24319. "bid7": {
  24320. "description": "买7",
  24321. "type": "number"
  24322. },
  24323. "bid8": {
  24324. "description": "买8",
  24325. "type": "number"
  24326. },
  24327. "bid9": {
  24328. "description": "买9",
  24329. "type": "number"
  24330. },
  24331. "bidorderid": {
  24332. "description": "买单号1",
  24333. "type": "integer"
  24334. },
  24335. "bidorderid2": {
  24336. "description": "买单号2",
  24337. "type": "integer"
  24338. },
  24339. "bidorderid3": {
  24340. "description": "买单号3",
  24341. "type": "integer"
  24342. },
  24343. "bidorderid4": {
  24344. "description": "买单号4",
  24345. "type": "integer"
  24346. },
  24347. "bidorderid5": {
  24348. "description": "买单号5",
  24349. "type": "integer"
  24350. },
  24351. "bidordervolume": {
  24352. "description": "买单量1",
  24353. "type": "integer"
  24354. },
  24355. "bidordervolume10": {
  24356. "description": "买单量10",
  24357. "type": "integer"
  24358. },
  24359. "bidordervolume2": {
  24360. "description": "买单量2",
  24361. "type": "integer"
  24362. },
  24363. "bidordervolume3": {
  24364. "description": "买单量3",
  24365. "type": "integer"
  24366. },
  24367. "bidordervolume4": {
  24368. "description": "买单量4",
  24369. "type": "integer"
  24370. },
  24371. "bidordervolume5": {
  24372. "description": "买单量5",
  24373. "type": "integer"
  24374. },
  24375. "bidordervolume6": {
  24376. "description": "买单量6",
  24377. "type": "integer"
  24378. },
  24379. "bidordervolume7": {
  24380. "description": "买单量7",
  24381. "type": "integer"
  24382. },
  24383. "bidordervolume8": {
  24384. "description": "买单量8",
  24385. "type": "integer"
  24386. },
  24387. "bidordervolume9": {
  24388. "description": "买单量9",
  24389. "type": "integer"
  24390. },
  24391. "bidqueueinfo": {
  24392. "description": "大利市买港股用",
  24393. "type": "string"
  24394. },
  24395. "bidvolume": {
  24396. "description": "买量1",
  24397. "type": "integer"
  24398. },
  24399. "bidvolume10": {
  24400. "description": "买量10",
  24401. "type": "integer"
  24402. },
  24403. "bidvolume2": {
  24404. "description": "买量2",
  24405. "type": "integer"
  24406. },
  24407. "bidvolume3": {
  24408. "description": "买量3",
  24409. "type": "integer"
  24410. },
  24411. "bidvolume4": {
  24412. "description": "买量4",
  24413. "type": "integer"
  24414. },
  24415. "bidvolume5": {
  24416. "description": "买量5",
  24417. "type": "integer"
  24418. },
  24419. "bidvolume6": {
  24420. "description": "买量6",
  24421. "type": "integer"
  24422. },
  24423. "bidvolume7": {
  24424. "description": "买量7",
  24425. "type": "integer"
  24426. },
  24427. "bidvolume8": {
  24428. "description": "买量8",
  24429. "type": "integer"
  24430. },
  24431. "bidvolume9": {
  24432. "description": "买量9",
  24433. "type": "integer"
  24434. },
  24435. "calloptionpremiums": {
  24436. "description": "认购期权1",
  24437. "type": "integer"
  24438. },
  24439. "calloptionpremiums2": {
  24440. "description": "认购期权2",
  24441. "type": "integer"
  24442. },
  24443. "calloptionpremiums3": {
  24444. "description": "认购期权3",
  24445. "type": "integer"
  24446. },
  24447. "calloptionpremiums4": {
  24448. "description": "认购期权4",
  24449. "type": "integer"
  24450. },
  24451. "calloptionpremiums5": {
  24452. "description": "认购期权5",
  24453. "type": "integer"
  24454. },
  24455. "cleartime": {
  24456. "description": "清盘时间",
  24457. "type": "integer"
  24458. },
  24459. "exchangecode": {
  24460. "description": "交易所代码",
  24461. "type": "integer"
  24462. },
  24463. "exchangedate": {
  24464. "description": "交易日",
  24465. "type": "integer"
  24466. },
  24467. "goodscode": {
  24468. "description": "商品代码",
  24469. "type": "string"
  24470. },
  24471. "grepmarketprice": {
  24472. "description": "暗盘价 港股专用",
  24473. "type": "number"
  24474. },
  24475. "highest": {
  24476. "description": "最高价",
  24477. "type": "number"
  24478. },
  24479. "holdincrement": {
  24480. "description": "单笔持仓",
  24481. "type": "integer"
  24482. },
  24483. "holdvolume": {
  24484. "description": "持仓",
  24485. "type": "integer"
  24486. },
  24487. "iep": {
  24488. "description": "平衡价 港股专用",
  24489. "type": "number"
  24490. },
  24491. "iev": {
  24492. "description": "平衡量 港股专用",
  24493. "type": "number"
  24494. },
  24495. "inventory": {
  24496. "description": "库存",
  24497. "type": "integer"
  24498. },
  24499. "iscleared": {
  24500. "description": "是否清盘标志",
  24501. "type": "integer"
  24502. },
  24503. "issettled": {
  24504. "description": "是否结算标志",
  24505. "type": "integer"
  24506. },
  24507. "last": {
  24508. "description": "最新价",
  24509. "type": "number"
  24510. },
  24511. "lastlot": {
  24512. "description": "最新成交手数",
  24513. "type": "integer"
  24514. },
  24515. "lasttime": {
  24516. "description": "行情时间(只有现价变化行情时间才变化)",
  24517. "type": "string"
  24518. },
  24519. "lastturnover": {
  24520. "description": "最新成交金额",
  24521. "type": "number"
  24522. },
  24523. "lastvolume": {
  24524. "description": "最新成交量",
  24525. "type": "integer"
  24526. },
  24527. "limitdown": {
  24528. "description": "跌停价",
  24529. "type": "number"
  24530. },
  24531. "limitup": {
  24532. "description": "涨停价",
  24533. "type": "number"
  24534. },
  24535. "lowest": {
  24536. "description": "最低价",
  24537. "type": "number"
  24538. },
  24539. "nontotalholdervolume": {
  24540. "description": "非交易持仓量",
  24541. "type": "integer"
  24542. },
  24543. "nontotallot": {
  24544. "description": "非交易总手数",
  24545. "type": "integer"
  24546. },
  24547. "nontotalturnover": {
  24548. "description": "非交易总金额",
  24549. "type": "integer"
  24550. },
  24551. "nontotalvolume": {
  24552. "description": "非交易总量",
  24553. "type": "integer"
  24554. },
  24555. "opened": {
  24556. "description": "开盘价",
  24557. "type": "number"
  24558. },
  24559. "opentime": {
  24560. "description": "开盘时间",
  24561. "type": "string"
  24562. },
  24563. "orderid": {
  24564. "description": "序号",
  24565. "type": "integer"
  24566. },
  24567. "preclose": {
  24568. "description": "昨收",
  24569. "type": "number"
  24570. },
  24571. "preholdvolume": {
  24572. "description": "昨持仓",
  24573. "type": "integer"
  24574. },
  24575. "presettle": {
  24576. "description": "昨结价",
  24577. "type": "number"
  24578. },
  24579. "publictradetype": {
  24580. "description": "公共交易标志类型 港股专用",
  24581. "type": "string"
  24582. },
  24583. "putoptionpremiums": {
  24584. "description": "认沽期权1",
  24585. "type": "integer"
  24586. },
  24587. "putoptionpremiums2": {
  24588. "description": "认沽期权2",
  24589. "type": "integer"
  24590. },
  24591. "putoptionpremiums3": {
  24592. "description": "认沽期权3",
  24593. "type": "integer"
  24594. },
  24595. "putoptionpremiums4": {
  24596. "description": "认沽期权4",
  24597. "type": "integer"
  24598. },
  24599. "putoptionpremiums5": {
  24600. "description": "认沽期权5",
  24601. "type": "integer"
  24602. },
  24603. "settle": {
  24604. "description": "结算价",
  24605. "type": "number"
  24606. },
  24607. "strikeprice": {
  24608. "description": "发行价",
  24609. "type": "number"
  24610. },
  24611. "totalaskvolume": {
  24612. "description": "内盘",
  24613. "type": "integer"
  24614. },
  24615. "totalbidvolume": {
  24616. "description": "外盘",
  24617. "type": "integer"
  24618. },
  24619. "totallot": {
  24620. "description": "总手数",
  24621. "type": "integer"
  24622. },
  24623. "totalturnover": {
  24624. "description": "总金额",
  24625. "type": "number"
  24626. },
  24627. "totalvolume": {
  24628. "description": "总量",
  24629. "type": "integer"
  24630. },
  24631. "utclasttime": {
  24632. "description": "utc的行情时间",
  24633. "type": "string"
  24634. }
  24635. }
  24636. },
  24637. "quote.QueryTSDataRsp": {
  24638. "type": "object",
  24639. "properties": {
  24640. "Count": {
  24641. "description": "交易日应有数据个数",
  24642. "type": "integer"
  24643. },
  24644. "decimalPlace": {
  24645. "description": "小数位",
  24646. "type": "integer"
  24647. },
  24648. "endTime": {
  24649. "description": "结束时间",
  24650. "type": "string"
  24651. },
  24652. "goodsCode": {
  24653. "description": "商品代码",
  24654. "type": "string"
  24655. },
  24656. "historyDatas": {
  24657. "description": "历史数据",
  24658. "type": "array",
  24659. "items": {
  24660. "$ref": "#/definitions/quote.HistoryData"
  24661. }
  24662. },
  24663. "outGoodsCode": {
  24664. "description": "外部商品代码",
  24665. "type": "string"
  24666. },
  24667. "preSettle": {
  24668. "description": "昨结价",
  24669. "type": "number"
  24670. },
  24671. "runSteps": {
  24672. "description": "交易日开休市计划",
  24673. "type": "array",
  24674. "items": {
  24675. "$ref": "#/definitions/quote.TSDataRunStep"
  24676. }
  24677. },
  24678. "startTime": {
  24679. "description": "开始时间",
  24680. "type": "string"
  24681. },
  24682. "tradeDate": {
  24683. "description": "交易日",
  24684. "type": "string"
  24685. }
  24686. }
  24687. },
  24688. "quote.TSDataRunStep": {
  24689. "type": "object",
  24690. "properties": {
  24691. "end": {
  24692. "description": "真实结束时间",
  24693. "type": "string"
  24694. },
  24695. "endflag": {
  24696. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24697. "type": "integer"
  24698. },
  24699. "endtime": {
  24700. "description": "结束时间(HH:mm)",
  24701. "type": "string"
  24702. },
  24703. "endweekday": {
  24704. "description": "结束周几",
  24705. "type": "integer"
  24706. },
  24707. "groupid": {
  24708. "description": "分组ID",
  24709. "type": "integer"
  24710. },
  24711. "runstep": {
  24712. "description": "运行阶段 - 2:连续交易",
  24713. "type": "integer"
  24714. },
  24715. "sectionid": {
  24716. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24717. "type": "integer"
  24718. },
  24719. "start": {
  24720. "description": "真实开始时间",
  24721. "type": "string"
  24722. },
  24723. "startflag": {
  24724. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24725. "type": "integer"
  24726. },
  24727. "starttime": {
  24728. "description": "起始时间(HH:mm)",
  24729. "type": "string"
  24730. },
  24731. "startweekday": {
  24732. "description": "起始周几",
  24733. "type": "integer"
  24734. },
  24735. "tradeweekday": {
  24736. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24737. "type": "integer"
  24738. }
  24739. }
  24740. },
  24741. "szdz.QueryConvertLogRsp": {
  24742. "type": "object",
  24743. "required": [
  24744. "logid"
  24745. ],
  24746. "properties": {
  24747. "accountid": {
  24748. "description": "资金账户ID",
  24749. "type": "integer"
  24750. },
  24751. "clientticket": {
  24752. "description": "客户端流水号",
  24753. "type": "string"
  24754. },
  24755. "converttype": {
  24756. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24757. "type": "integer"
  24758. },
  24759. "createtime": {
  24760. "description": "记账时间",
  24761. "type": "string"
  24762. },
  24763. "daymaxvalue": {
  24764. "description": "配置当日最大转入限制",
  24765. "type": "number"
  24766. },
  24767. "daymaxvalue2": {
  24768. "description": "配置当日最大转入限制(转入)",
  24769. "type": "number"
  24770. },
  24771. "goodscode": {
  24772. "description": "商品代码",
  24773. "type": "string"
  24774. },
  24775. "goodsname": {
  24776. "description": "商品名称",
  24777. "type": "string"
  24778. },
  24779. "handlestatus": {
  24780. "description": "处理状态",
  24781. "type": "integer"
  24782. },
  24783. "innergoodsid": {
  24784. "description": "内部商品ID",
  24785. "type": "integer"
  24786. },
  24787. "inratio": {
  24788. "description": "配置转入比值",
  24789. "type": "integer"
  24790. },
  24791. "invalue": {
  24792. "description": "目标值",
  24793. "type": "number"
  24794. },
  24795. "logid": {
  24796. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24797. "type": "integer"
  24798. },
  24799. "mobile": {
  24800. "description": "手机号码(加密存储)",
  24801. "type": "string"
  24802. },
  24803. "outergoodscode": {
  24804. "description": "外部商品代码[JD\\PD]",
  24805. "type": "string"
  24806. },
  24807. "outratio": {
  24808. "description": "配置转出比值",
  24809. "type": "integer"
  24810. },
  24811. "outvalue": {
  24812. "description": "源值",
  24813. "type": "number"
  24814. },
  24815. "pddecimalplace": {
  24816. "description": "PD小数位",
  24817. "type": "integer"
  24818. },
  24819. "qty": {
  24820. "description": "数量",
  24821. "type": "string"
  24822. },
  24823. "remark": {
  24824. "description": "备注",
  24825. "type": "string"
  24826. },
  24827. "sessionid": {
  24828. "description": "会话ID",
  24829. "type": "integer"
  24830. },
  24831. "timemaxvalue": {
  24832. "description": "配置单次最大转入限制",
  24833. "type": "number"
  24834. },
  24835. "timemaxvalue2": {
  24836. "description": "配置单次最大转入限制(转入)",
  24837. "type": "number"
  24838. },
  24839. "timeminvalue": {
  24840. "description": "配置单次最小数量限制",
  24841. "type": "number"
  24842. },
  24843. "timeminvalue2": {
  24844. "description": "配置单次最小数量限制(转入)",
  24845. "type": "number"
  24846. },
  24847. "tradedate": {
  24848. "description": "交易日(yyyyMMdd)",
  24849. "type": "string"
  24850. },
  24851. "userid": {
  24852. "description": "用户ID",
  24853. "type": "integer"
  24854. }
  24855. }
  24856. },
  24857. "szdz.QueryGoodsPickupRsp": {
  24858. "type": "object",
  24859. "required": [
  24860. "takeorderid"
  24861. ],
  24862. "properties": {
  24863. "accountid": {
  24864. "description": "账户ID",
  24865. "type": "integer"
  24866. },
  24867. "address": {
  24868. "description": "提货人详细地址",
  24869. "type": "string"
  24870. },
  24871. "auditer": {
  24872. "description": "审核人",
  24873. "type": "integer"
  24874. },
  24875. "audittime": {
  24876. "description": "审核时间",
  24877. "type": "string"
  24878. },
  24879. "cardnum": {
  24880. "description": "提货人证件号码",
  24881. "type": "string"
  24882. },
  24883. "cardtypeid": {
  24884. "description": "提货人证件类型",
  24885. "type": "integer"
  24886. },
  24887. "checkremark": {
  24888. "description": "审核备注",
  24889. "type": "string"
  24890. },
  24891. "goodscode": {
  24892. "description": "商品代码",
  24893. "type": "string"
  24894. },
  24895. "goodsid": {
  24896. "description": "商品ID",
  24897. "type": "integer"
  24898. },
  24899. "goodsname": {
  24900. "description": "商品名称",
  24901. "type": "string"
  24902. },
  24903. "handlestatus": {
  24904. "description": "处理状态",
  24905. "type": "integer"
  24906. },
  24907. "marketid": {
  24908. "description": "市场ID",
  24909. "type": "integer"
  24910. },
  24911. "phonenum": {
  24912. "description": "提货人联系方式",
  24913. "type": "string"
  24914. },
  24915. "qty": {
  24916. "description": "提货数量",
  24917. "type": "number"
  24918. },
  24919. "recivername": {
  24920. "description": "提货人姓名",
  24921. "type": "string"
  24922. },
  24923. "reqtime": {
  24924. "description": "更新时间",
  24925. "type": "string"
  24926. },
  24927. "takemode": {
  24928. "description": "提货方式 - 2:自提 3:配送",
  24929. "type": "integer"
  24930. },
  24931. "takeorderid": {
  24932. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24933. "type": "string"
  24934. },
  24935. "takeorderstatus": {
  24936. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24937. "type": "integer"
  24938. },
  24939. "takeremark": {
  24940. "description": "提货备注",
  24941. "type": "string"
  24942. },
  24943. "tradedate": {
  24944. "description": "交易日(yyyyMMdd)",
  24945. "type": "string"
  24946. },
  24947. "userid": {
  24948. "description": "用户ID",
  24949. "type": "integer"
  24950. }
  24951. }
  24952. },
  24953. "szdz.QueryRecieptOrderRsp": {
  24954. "type": "object",
  24955. "required": [
  24956. "ordertime"
  24957. ],
  24958. "properties": {
  24959. "accountName": {
  24960. "description": "所属账号名称(已脱敏)",
  24961. "type": "string"
  24962. },
  24963. "accountid": {
  24964. "description": "资金账号",
  24965. "type": "integer"
  24966. },
  24967. "buyorsell": {
  24968. "description": "方向 - 0:买 1:卖",
  24969. "type": "integer"
  24970. },
  24971. "enableqty": {
  24972. "description": "可摘数量",
  24973. "type": "integer"
  24974. },
  24975. "goodscode": {
  24976. "description": "商品代码",
  24977. "type": "string"
  24978. },
  24979. "goodsid": {
  24980. "description": "商品ID",
  24981. "type": "integer"
  24982. },
  24983. "goodsname": {
  24984. "description": "商品名称",
  24985. "type": "string"
  24986. },
  24987. "orderid": {
  24988. "description": "委托单号",
  24989. "type": "string"
  24990. },
  24991. "orderprice": {
  24992. "description": "委托价格",
  24993. "type": "number"
  24994. },
  24995. "ordertime": {
  24996. "description": "委托时间",
  24997. "type": "string"
  24998. },
  24999. "tradedate": {
  25000. "description": "交易日(yyyyMMdd)",
  25001. "type": "string"
  25002. }
  25003. }
  25004. },
  25005. "szdz.QuerySZDZTradePositionRsp": {
  25006. "type": "object",
  25007. "properties": {
  25008. "accountid": {
  25009. "description": "账号Id",
  25010. "type": "integer"
  25011. },
  25012. "agreeunit": {
  25013. "description": "合约单位",
  25014. "type": "number"
  25015. },
  25016. "averageprice": {
  25017. "description": "持仓均价",
  25018. "type": "number"
  25019. },
  25020. "buyorsell": {
  25021. "description": "方向 - 0:买 1:卖",
  25022. "type": "integer"
  25023. },
  25024. "closetotalqty": {
  25025. "description": "平仓总数量",
  25026. "type": "integer"
  25027. },
  25028. "curholderamount": {
  25029. "description": "当前持仓总金额",
  25030. "type": "number"
  25031. },
  25032. "curpositionqty": {
  25033. "description": "当前持仓总数量",
  25034. "type": "integer"
  25035. },
  25036. "currencyid": {
  25037. "description": "报价货币ID",
  25038. "type": "integer"
  25039. },
  25040. "curtdposition": {
  25041. "description": "期末今日头寸",
  25042. "type": "integer"
  25043. },
  25044. "decimalplace": {
  25045. "description": "报价小数位",
  25046. "type": "integer"
  25047. },
  25048. "enableqty": {
  25049. "description": "可用量",
  25050. "type": "integer"
  25051. },
  25052. "fretdposition": {
  25053. "description": "冻结今日头寸",
  25054. "type": "integer"
  25055. },
  25056. "frozenqty": {
  25057. "description": "持仓冻结数量",
  25058. "type": "integer"
  25059. },
  25060. "goodscode": {
  25061. "description": "商品代码(内部)",
  25062. "type": "string"
  25063. },
  25064. "goodsid": {
  25065. "description": "商品Id",
  25066. "type": "integer"
  25067. },
  25068. "goodsname": {
  25069. "description": "商品名称",
  25070. "type": "string"
  25071. },
  25072. "goodunit": {
  25073. "description": "报价单位",
  25074. "type": "string"
  25075. },
  25076. "goodunitid": {
  25077. "description": "报价单位ID",
  25078. "type": "integer"
  25079. },
  25080. "holderamount": {
  25081. "description": "期初持仓总金额",
  25082. "type": "number"
  25083. },
  25084. "marketid": {
  25085. "description": "市场ID",
  25086. "type": "integer"
  25087. },
  25088. "openreqqty": {
  25089. "description": "开仓申请数量",
  25090. "type": "integer"
  25091. },
  25092. "opentotalqty": {
  25093. "description": "开仓总数量",
  25094. "type": "integer"
  25095. },
  25096. "otherfrozenqty": {
  25097. "description": "持仓其他冻结数量(交割冻结)",
  25098. "type": "integer"
  25099. },
  25100. "positionqty": {
  25101. "description": "期初持仓数量",
  25102. "type": "integer"
  25103. },
  25104. "szdz3freezqty": {
  25105. "description": "尚志大宗转换冻结总数量",
  25106. "type": "integer"
  25107. },
  25108. "tnqty": {
  25109. "description": "T+N冻结总量",
  25110. "type": "integer"
  25111. },
  25112. "tnusedqty": {
  25113. "description": "T+N使用量",
  25114. "type": "integer"
  25115. },
  25116. "trademode": {
  25117. "description": "交易模式",
  25118. "type": "integer"
  25119. },
  25120. "usedmargin": {
  25121. "description": "占用保证金",
  25122. "type": "number"
  25123. }
  25124. }
  25125. },
  25126. "taaccount.QueryAmountLogRsp": {
  25127. "type": "object",
  25128. "required": [
  25129. "accountid",
  25130. "amount",
  25131. "amountadjusttype",
  25132. "autoid",
  25133. "balance",
  25134. "createtime",
  25135. "currentbalance",
  25136. "operatetype"
  25137. ],
  25138. "properties": {
  25139. "OPERATETYPENAME": {
  25140. "description": "资金操作类型名称",
  25141. "type": "string"
  25142. },
  25143. "accountid": {
  25144. "description": "资金账户ID",
  25145. "type": "integer"
  25146. },
  25147. "agoodscode": {
  25148. "description": "竞拍商品代码",
  25149. "type": "string"
  25150. },
  25151. "agoodsname": {
  25152. "description": "竞拍商品名称",
  25153. "type": "string"
  25154. },
  25155. "amount": {
  25156. "description": "资金金额",
  25157. "type": "number"
  25158. },
  25159. "amountadjusttype": {
  25160. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25161. "type": "integer"
  25162. },
  25163. "autoid": {
  25164. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25165. "type": "integer"
  25166. },
  25167. "balance": {
  25168. "description": "期初余额",
  25169. "type": "number"
  25170. },
  25171. "businesscode": {
  25172. "description": "业务编号",
  25173. "type": "integer"
  25174. },
  25175. "createtime": {
  25176. "description": "发生时间",
  25177. "type": "string"
  25178. },
  25179. "currencyid": {
  25180. "description": "币种ID",
  25181. "type": "integer"
  25182. },
  25183. "currentbalance": {
  25184. "description": "期末余额(变动后金额)",
  25185. "type": "number"
  25186. },
  25187. "dgoodscode": {
  25188. "description": "交割商品代码",
  25189. "type": "string"
  25190. },
  25191. "dgoodsname": {
  25192. "description": "交割商品名称",
  25193. "type": "string"
  25194. },
  25195. "goodscode": {
  25196. "description": "商品代码",
  25197. "type": "string"
  25198. },
  25199. "goodsid": {
  25200. "description": "商品ID",
  25201. "type": "integer"
  25202. },
  25203. "goodsname": {
  25204. "description": "商品名称",
  25205. "type": "string"
  25206. },
  25207. "marketid": {
  25208. "description": "市场ID",
  25209. "type": "integer"
  25210. },
  25211. "marketname": {
  25212. "description": "市场名称",
  25213. "type": "string"
  25214. },
  25215. "moneyticket": {
  25216. "description": "资金流水号:银行端流水号",
  25217. "type": "integer"
  25218. },
  25219. "operatetype": {
  25220. "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:营销收款",
  25221. "type": "integer"
  25222. },
  25223. "relationorderid": {
  25224. "description": "关联单号",
  25225. "type": "string"
  25226. },
  25227. "remark": {
  25228. "description": "备注",
  25229. "type": "string"
  25230. },
  25231. "trademode": {
  25232. "description": "交易模式",
  25233. "type": "integer"
  25234. }
  25235. }
  25236. },
  25237. "taaccount.QueryHisAmountLogRsp": {
  25238. "type": "object",
  25239. "required": [
  25240. "accountid",
  25241. "amount",
  25242. "amountadjusttype",
  25243. "autoid",
  25244. "balance",
  25245. "createtime",
  25246. "currentbalance",
  25247. "histradedate",
  25248. "operatetype"
  25249. ],
  25250. "properties": {
  25251. "OPERATETYPENAME": {
  25252. "description": "资金操作类型名称",
  25253. "type": "string"
  25254. },
  25255. "accountid": {
  25256. "description": "资金账户ID",
  25257. "type": "integer"
  25258. },
  25259. "agoodscode": {
  25260. "description": "竞拍商品代码",
  25261. "type": "string"
  25262. },
  25263. "agoodsname": {
  25264. "description": "竞拍商品名称",
  25265. "type": "string"
  25266. },
  25267. "amount": {
  25268. "description": "资金金额",
  25269. "type": "number"
  25270. },
  25271. "amountadjusttype": {
  25272. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25273. "type": "integer"
  25274. },
  25275. "autoid": {
  25276. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25277. "type": "integer"
  25278. },
  25279. "balance": {
  25280. "description": "期初余额",
  25281. "type": "number"
  25282. },
  25283. "businesscode": {
  25284. "description": "业务编号",
  25285. "type": "integer"
  25286. },
  25287. "createtime": {
  25288. "description": "发生时间",
  25289. "type": "string"
  25290. },
  25291. "currencyid": {
  25292. "description": "币种ID",
  25293. "type": "integer"
  25294. },
  25295. "currentbalance": {
  25296. "description": "期末余额(变动后金额)",
  25297. "type": "number"
  25298. },
  25299. "dgoodscode": {
  25300. "description": "交割商品代码",
  25301. "type": "string"
  25302. },
  25303. "dgoodsname": {
  25304. "description": "交割商品名称",
  25305. "type": "string"
  25306. },
  25307. "goodscode": {
  25308. "description": "商品代码",
  25309. "type": "string"
  25310. },
  25311. "goodsid": {
  25312. "description": "商品ID",
  25313. "type": "integer"
  25314. },
  25315. "goodsname": {
  25316. "description": "商品名称",
  25317. "type": "string"
  25318. },
  25319. "histradedate": {
  25320. "description": "历史交易日",
  25321. "type": "string"
  25322. },
  25323. "isvaliddata": {
  25324. "description": "是否有效 - 0:无效 1:有效",
  25325. "type": "integer"
  25326. },
  25327. "marketid": {
  25328. "description": "市场ID",
  25329. "type": "integer"
  25330. },
  25331. "marketname": {
  25332. "description": "市场名称",
  25333. "type": "string"
  25334. },
  25335. "moneyticket": {
  25336. "description": "资金流水号:银行端流水号",
  25337. "type": "integer"
  25338. },
  25339. "operatetype": {
  25340. "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:营销收款",
  25341. "type": "integer"
  25342. },
  25343. "relationorderid": {
  25344. "description": "关联单号",
  25345. "type": "string"
  25346. },
  25347. "remark": {
  25348. "description": "备注",
  25349. "type": "string"
  25350. },
  25351. "trademode": {
  25352. "description": "交易模式",
  25353. "type": "integer"
  25354. }
  25355. }
  25356. },
  25357. "trade.QueryRecieptOrderRsp": {
  25358. "type": "object",
  25359. "required": [
  25360. "ordertime"
  25361. ],
  25362. "properties": {
  25363. "accountName": {
  25364. "description": "所属账号名称(已脱敏)",
  25365. "type": "string"
  25366. },
  25367. "accountid": {
  25368. "description": "资金账号",
  25369. "type": "integer"
  25370. },
  25371. "buyorsell": {
  25372. "description": "方向 - 0:买 1:卖",
  25373. "type": "integer"
  25374. },
  25375. "enableqty": {
  25376. "description": "可摘数量",
  25377. "type": "integer"
  25378. },
  25379. "goodscode": {
  25380. "description": "商品代码",
  25381. "type": "string"
  25382. },
  25383. "goodsid": {
  25384. "description": "商品ID",
  25385. "type": "integer"
  25386. },
  25387. "goodsname": {
  25388. "description": "商品名称",
  25389. "type": "string"
  25390. },
  25391. "orderid": {
  25392. "description": "委托单号",
  25393. "type": "string"
  25394. },
  25395. "orderprice": {
  25396. "description": "委托价格",
  25397. "type": "number"
  25398. },
  25399. "ordertime": {
  25400. "description": "委托时间",
  25401. "type": "string"
  25402. },
  25403. "tradedate": {
  25404. "description": "交易日(yyyyMMdd)",
  25405. "type": "string"
  25406. }
  25407. }
  25408. },
  25409. "user.LoginQueryRsp": {
  25410. "type": "object",
  25411. "properties": {
  25412. "externalExchanges": {
  25413. "description": "外部交易所",
  25414. "type": "array",
  25415. "items": {
  25416. "$ref": "#/definitions/models.Externalexchange"
  25417. }
  25418. },
  25419. "goodsgroups": {
  25420. "description": "商品组",
  25421. "type": "array",
  25422. "items": {
  25423. "$ref": "#/definitions/models.Goodsgroup"
  25424. }
  25425. },
  25426. "loginAccount": {
  25427. "description": "登录账号",
  25428. "$ref": "#/definitions/models.Loginaccount"
  25429. },
  25430. "markets": {
  25431. "description": "市场",
  25432. "type": "array",
  25433. "items": {
  25434. "$ref": "#/definitions/models.Market"
  25435. }
  25436. },
  25437. "systemParams": {
  25438. "description": "系统参数",
  25439. "type": "array",
  25440. "items": {
  25441. "$ref": "#/definitions/models.Systemparam"
  25442. }
  25443. },
  25444. "userAccount": {
  25445. "description": "用户账号",
  25446. "$ref": "#/definitions/models.Useraccount"
  25447. },
  25448. "userInfo": {
  25449. "description": "用户信息",
  25450. "$ref": "#/definitions/models.Userinfo"
  25451. },
  25452. "username": {
  25453. "description": "用户姓名",
  25454. "type": "string"
  25455. }
  25456. }
  25457. }
  25458. },
  25459. "securityDefinitions": {
  25460. "ApiKeyAuth": {
  25461. "type": "apiKey",
  25462. "name": "Authorization",
  25463. "in": "header"
  25464. }
  25465. }
  25466. }`
  25467. type swaggerInfo struct {
  25468. Version string
  25469. Host string
  25470. BasePath string
  25471. Schemes []string
  25472. Title string
  25473. Description string
  25474. }
  25475. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25476. var SwaggerInfo = swaggerInfo{
  25477. Version: "1.0",
  25478. Host: "",
  25479. BasePath: "/api",
  25480. Schemes: []string{},
  25481. Title: "MTP2.0 查询服务 API",
  25482. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25483. }
  25484. type s struct{}
  25485. func (s *s) ReadDoc() string {
  25486. sInfo := SwaggerInfo
  25487. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25488. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25489. "marshal": func(v interface{}) string {
  25490. a, _ := json.Marshal(v)
  25491. return string(a)
  25492. },
  25493. }).Parse(doc)
  25494. if err != nil {
  25495. return doc
  25496. }
  25497. var tpl bytes.Buffer
  25498. if err := t.Execute(&tpl, sInfo); err != nil {
  25499. return doc
  25500. }
  25501. return tpl.String()
  25502. }
  25503. func init() {
  25504. swag.Register(swag.Name, &s{})
  25505. }