docs.go 879 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540
  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.Hedgeoutmainconfig"
  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. "required": true
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp/QueryUserInfo": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理(app)"
  3866. ],
  3867. "summary": "查询客户资料",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "所属机构用户ID",
  3872. "name": "MemberUserID",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3879. "name": "queryType",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp/QueryWarehouseInfo": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理(app)"
  3915. ],
  3916. "summary": "查询仓库信息",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户ID",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3928. "name": "status",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp/QueryWrStandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理(app)"
  3963. ],
  3964. "summary": "查询现货商品",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "所属机构ID",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "状态 0-停用 1-正常",
  3976. "name": "status",
  3977. "in": "query",
  3978. "required": true
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp/QueryWrStandardDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理(app)"
  4012. ],
  4013. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "所属机构ID",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "现货商品ID",
  4025. "name": "wrstandardid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "可不填, 1-查询关联交易商品",
  4031. "name": "goods",
  4032. "in": "query"
  4033. }
  4034. ],
  4035. "responses": {
  4036. "200": {
  4037. "description": "OK",
  4038. "schema": {
  4039. "type": "array",
  4040. "items": {
  4041. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4042. }
  4043. }
  4044. },
  4045. "500": {
  4046. "description": "Internal Server Error",
  4047. "schema": {
  4048. "$ref": "#/definitions/app.Response"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "/Ermcp3/QryReportAreaSpotPL": {
  4055. "get": {
  4056. "security": [
  4057. {
  4058. "ApiKeyAuth": []
  4059. }
  4060. ],
  4061. "produces": [
  4062. "application/json"
  4063. ],
  4064. "tags": [
  4065. "企业风险管理v3(app)"
  4066. ],
  4067. "summary": "查询现货损益报表(现货损益报表)",
  4068. "parameters": [
  4069. {
  4070. "type": "integer",
  4071. "description": "用户ID",
  4072. "name": "userid",
  4073. "in": "query",
  4074. "required": true
  4075. },
  4076. {
  4077. "type": "integer",
  4078. "description": "查询类型 1-日报表 2-月报表",
  4079. "name": "querytype",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "string",
  4085. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4086. "name": "querydate",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "现货商品ID",
  4093. "name": "deliverygoodsid",
  4094. "in": "query"
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "品牌ID",
  4099. "name": "spotgoodsbrandid",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "品类ID",
  4105. "name": "wrstandardid",
  4106. "in": "query"
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "type": "array",
  4114. "items": {
  4115. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4116. }
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/Ermcp3/QryReportDayFinanceFp": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "企业风险管理v3(app)"
  4140. ],
  4141. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4142. "parameters": [
  4143. {
  4144. "type": "integer",
  4145. "description": "用户ID",
  4146. "name": "userid",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "交易日(格式:yyyyMMdd)",
  4153. "name": "tradedate",
  4154. "in": "query",
  4155. "required": true
  4156. }
  4157. ],
  4158. "responses": {
  4159. "200": {
  4160. "description": "OK",
  4161. "schema": {
  4162. "type": "array",
  4163. "items": {
  4164. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4165. }
  4166. }
  4167. },
  4168. "500": {
  4169. "description": "Internal Server Error",
  4170. "schema": {
  4171. "$ref": "#/definitions/app.Response"
  4172. }
  4173. }
  4174. }
  4175. }
  4176. },
  4177. "/Ermcp3/QryReportDayFinanceKx": {
  4178. "get": {
  4179. "security": [
  4180. {
  4181. "ApiKeyAuth": []
  4182. }
  4183. ],
  4184. "produces": [
  4185. "application/json"
  4186. ],
  4187. "tags": [
  4188. "企业风险管理v3(app)"
  4189. ],
  4190. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4191. "parameters": [
  4192. {
  4193. "type": "integer",
  4194. "description": "用户ID",
  4195. "name": "userid",
  4196. "in": "query",
  4197. "required": true
  4198. },
  4199. {
  4200. "type": "string",
  4201. "description": "交易日(格式:yyyyMMdd)",
  4202. "name": "tradedate",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QryReportDaySpot": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "用户ID",
  4244. "name": "userid",
  4245. "in": "query",
  4246. "required": true
  4247. },
  4248. {
  4249. "type": "string",
  4250. "description": "交易日(格式:yyyyMMdd)",
  4251. "name": "tradedate",
  4252. "in": "query",
  4253. "required": true
  4254. }
  4255. ],
  4256. "responses": {
  4257. "200": {
  4258. "description": "OK",
  4259. "schema": {
  4260. "type": "array",
  4261. "items": {
  4262. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4263. }
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/Ermcp3/QryReportDaySpotDetail": {
  4276. "get": {
  4277. "security": [
  4278. {
  4279. "ApiKeyAuth": []
  4280. }
  4281. ],
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "企业风险管理v3(app)"
  4287. ],
  4288. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4289. "parameters": [
  4290. {
  4291. "type": "integer",
  4292. "description": "用户ID",
  4293. "name": "userid",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "integer",
  4299. "description": "现货商品id",
  4300. "name": "deliverygoodsid",
  4301. "in": "query",
  4302. "required": true
  4303. },
  4304. {
  4305. "type": "string",
  4306. "description": "交易日(格式:yyyyMMdd)",
  4307. "name": "tradedate",
  4308. "in": "query",
  4309. "required": true
  4310. }
  4311. ],
  4312. "responses": {
  4313. "200": {
  4314. "description": "OK",
  4315. "schema": {
  4316. "type": "array",
  4317. "items": {
  4318. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4319. }
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Ermcp3/QryReportMonthSpot": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "企业风险管理v3(app)"
  4343. ],
  4344. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4345. "parameters": [
  4346. {
  4347. "type": "integer",
  4348. "description": "用户ID",
  4349. "name": "userid",
  4350. "in": "query",
  4351. "required": true
  4352. },
  4353. {
  4354. "type": "string",
  4355. "description": "周期时间:月(格式:yyyyMM)",
  4356. "name": "cycletime",
  4357. "in": "query",
  4358. "required": true
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QryReportMonthSpotDetail": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "produces": [
  4388. "application/json"
  4389. ],
  4390. "tags": [
  4391. "企业风险管理v3(app)"
  4392. ],
  4393. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4394. "parameters": [
  4395. {
  4396. "type": "integer",
  4397. "description": "用户ID",
  4398. "name": "userid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "现货商品id",
  4405. "name": "wrstandardid",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "string",
  4411. "description": "周期时间:月(格式:yyyyMM)",
  4412. "name": "cycletime",
  4413. "in": "query",
  4414. "required": true
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "type": "array",
  4422. "items": {
  4423. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4424. }
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/Ermcp3/QueryDGFactoryItem": {
  4437. "get": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "企业风险管理v3(app)"
  4448. ],
  4449. "summary": "查询品种要素定义项",
  4450. "parameters": [
  4451. {
  4452. "type": "integer",
  4453. "description": "所属机构ID",
  4454. "name": "areauserid",
  4455. "in": "query"
  4456. },
  4457. {
  4458. "type": "integer",
  4459. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4460. "name": "dgfactoryitemid",
  4461. "in": "query"
  4462. },
  4463. {
  4464. "type": "integer",
  4465. "description": "现货品种ID",
  4466. "name": "deliverygoodsid",
  4467. "in": "query"
  4468. },
  4469. {
  4470. "type": "integer",
  4471. "description": "要素项类型",
  4472. "name": "dgfactoryitemtypeid",
  4473. "in": "query"
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "顺序",
  4478. "name": "orderindex",
  4479. "in": "query"
  4480. }
  4481. ],
  4482. "responses": {
  4483. "200": {
  4484. "description": "OK",
  4485. "schema": {
  4486. "type": "array",
  4487. "items": {
  4488. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4489. }
  4490. }
  4491. },
  4492. "500": {
  4493. "description": "Internal Server Error",
  4494. "schema": {
  4495. "$ref": "#/definitions/app.Response"
  4496. }
  4497. }
  4498. }
  4499. }
  4500. },
  4501. "/Ermcp3/QueryDeliveryGoods": {
  4502. "get": {
  4503. "security": [
  4504. {
  4505. "ApiKeyAuth": []
  4506. }
  4507. ],
  4508. "produces": [
  4509. "application/json"
  4510. ],
  4511. "tags": [
  4512. "企业风险管理v3(app)"
  4513. ],
  4514. "summary": "查询现货商品",
  4515. "parameters": [
  4516. {
  4517. "type": "integer",
  4518. "description": "所属机构id",
  4519. "name": "areauserid",
  4520. "in": "query",
  4521. "required": true
  4522. },
  4523. {
  4524. "type": "integer",
  4525. "description": "排除已配置的现货商品 1-排除",
  4526. "name": "excludecfg",
  4527. "in": "query"
  4528. }
  4529. ],
  4530. "responses": {
  4531. "200": {
  4532. "description": "OK",
  4533. "schema": {
  4534. "type": "array",
  4535. "items": {
  4536. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4537. }
  4538. }
  4539. },
  4540. "500": {
  4541. "description": "Internal Server Error",
  4542. "schema": {
  4543. "$ref": "#/definitions/app.Response"
  4544. }
  4545. }
  4546. }
  4547. }
  4548. },
  4549. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4550. "get": {
  4551. "security": [
  4552. {
  4553. "ApiKeyAuth": []
  4554. }
  4555. ],
  4556. "produces": [
  4557. "application/json"
  4558. ],
  4559. "tags": [
  4560. "企业风险管理v3(app)"
  4561. ],
  4562. "summary": "查询现货商品详情",
  4563. "parameters": [
  4564. {
  4565. "type": "integer",
  4566. "description": "所属机构id",
  4567. "name": "areauserid",
  4568. "in": "query",
  4569. "required": true
  4570. },
  4571. {
  4572. "type": "integer",
  4573. "description": "现货商品id",
  4574. "name": "deliverygoodsid",
  4575. "in": "query"
  4576. },
  4577. {
  4578. "type": "integer",
  4579. "description": "是否查询关联交易商品 1-查询",
  4580. "name": "qrytradegoods",
  4581. "in": "query"
  4582. }
  4583. ],
  4584. "responses": {
  4585. "200": {
  4586. "description": "OK",
  4587. "schema": {
  4588. "type": "array",
  4589. "items": {
  4590. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4591. }
  4592. }
  4593. },
  4594. "500": {
  4595. "description": "Internal Server Error",
  4596. "schema": {
  4597. "$ref": "#/definitions/app.Response"
  4598. }
  4599. }
  4600. }
  4601. }
  4602. },
  4603. "/Ermcp3/QueryExposureDetail": {
  4604. "get": {
  4605. "security": [
  4606. {
  4607. "ApiKeyAuth": []
  4608. }
  4609. ],
  4610. "produces": [
  4611. "application/json"
  4612. ],
  4613. "tags": [
  4614. "企业风险管理v3(app)"
  4615. ],
  4616. "summary": "查询敞口现货明细",
  4617. "parameters": [
  4618. {
  4619. "type": "integer",
  4620. "description": "所属机构ID",
  4621. "name": "areaUserId",
  4622. "in": "query",
  4623. "required": true
  4624. },
  4625. {
  4626. "type": "integer",
  4627. "description": "套保商品",
  4628. "name": "middleGoodsId",
  4629. "in": "query",
  4630. "required": true
  4631. }
  4632. ],
  4633. "responses": {
  4634. "200": {
  4635. "description": "OK",
  4636. "schema": {
  4637. "type": "array",
  4638. "items": {
  4639. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4640. }
  4641. }
  4642. },
  4643. "500": {
  4644. "description": "Internal Server Error",
  4645. "schema": {
  4646. "$ref": "#/definitions/app.Response"
  4647. }
  4648. }
  4649. }
  4650. }
  4651. },
  4652. "/Ermcp3/QueryExposureSpot": {
  4653. "get": {
  4654. "security": [
  4655. {
  4656. "ApiKeyAuth": []
  4657. }
  4658. ],
  4659. "produces": [
  4660. "application/json"
  4661. ],
  4662. "tags": [
  4663. "企业风险管理v3(app)"
  4664. ],
  4665. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4666. "parameters": [
  4667. {
  4668. "type": "integer",
  4669. "description": "所属机构ID",
  4670. "name": "areaUserId",
  4671. "in": "query",
  4672. "required": true
  4673. }
  4674. ],
  4675. "responses": {
  4676. "200": {
  4677. "description": "OK",
  4678. "schema": {
  4679. "type": "array",
  4680. "items": {
  4681. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4682. }
  4683. }
  4684. },
  4685. "500": {
  4686. "description": "Internal Server Error",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "/Ermcp3/QueryExposureSpotDetail": {
  4695. "get": {
  4696. "security": [
  4697. {
  4698. "ApiKeyAuth": []
  4699. }
  4700. ],
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "企业风险管理v3(app)"
  4706. ],
  4707. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "所属机构ID",
  4712. "name": "areauserid",
  4713. "in": "query",
  4714. "required": true
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "现货品种ID",
  4719. "name": "deliverygoodsid",
  4720. "in": "query",
  4721. "required": true
  4722. }
  4723. ],
  4724. "responses": {
  4725. "200": {
  4726. "description": "OK",
  4727. "schema": {
  4728. "type": "array",
  4729. "items": {
  4730. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4731. }
  4732. }
  4733. },
  4734. "500": {
  4735. "description": "Internal Server Error",
  4736. "schema": {
  4737. "$ref": "#/definitions/app.Response"
  4738. }
  4739. }
  4740. }
  4741. }
  4742. },
  4743. "/Ermcp3/QueryGoodsWrstandard": {
  4744. "get": {
  4745. "security": [
  4746. {
  4747. "ApiKeyAuth": []
  4748. }
  4749. ],
  4750. "produces": [
  4751. "application/json"
  4752. ],
  4753. "tags": [
  4754. "企业风险管理v3(app)"
  4755. ],
  4756. "summary": "查询商品品类",
  4757. "parameters": [
  4758. {
  4759. "type": "integer",
  4760. "description": "所属机构ID",
  4761. "name": "areauserid",
  4762. "in": "query",
  4763. "required": true
  4764. },
  4765. {
  4766. "type": "integer",
  4767. "description": "现货商品id",
  4768. "name": "deliverygoodsid",
  4769. "in": "query"
  4770. }
  4771. ],
  4772. "responses": {
  4773. "200": {
  4774. "description": "OK",
  4775. "schema": {
  4776. "type": "array",
  4777. "items": {
  4778. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4779. }
  4780. }
  4781. },
  4782. "500": {
  4783. "description": "Internal Server Error",
  4784. "schema": {
  4785. "$ref": "#/definitions/app.Response"
  4786. }
  4787. }
  4788. }
  4789. }
  4790. },
  4791. "/Ermcp3/QueryGoodsbrand": {
  4792. "get": {
  4793. "security": [
  4794. {
  4795. "ApiKeyAuth": []
  4796. }
  4797. ],
  4798. "produces": [
  4799. "application/json"
  4800. ],
  4801. "tags": [
  4802. "企业风险管理v3(app)"
  4803. ],
  4804. "summary": "查询商品品牌",
  4805. "parameters": [
  4806. {
  4807. "type": "integer",
  4808. "description": "所属机构ID",
  4809. "name": "areauserid",
  4810. "in": "query",
  4811. "required": true
  4812. }
  4813. ],
  4814. "responses": {
  4815. "200": {
  4816. "description": "OK",
  4817. "schema": {
  4818. "type": "array",
  4819. "items": {
  4820. "$ref": "#/definitions/models.Ermcp3Brand"
  4821. }
  4822. }
  4823. },
  4824. "500": {
  4825. "description": "Internal Server Error",
  4826. "schema": {
  4827. "$ref": "#/definitions/app.Response"
  4828. }
  4829. }
  4830. }
  4831. }
  4832. },
  4833. "/Ermcp3/QuerySpotContract": {
  4834. "get": {
  4835. "security": [
  4836. {
  4837. "ApiKeyAuth": []
  4838. }
  4839. ],
  4840. "produces": [
  4841. "application/json"
  4842. ],
  4843. "tags": [
  4844. "企业风险管理v3(app)"
  4845. ],
  4846. "summary": "查询现货合同",
  4847. "parameters": [
  4848. {
  4849. "type": "integer",
  4850. "description": "所属机构ID",
  4851. "name": "areauserid",
  4852. "in": "query",
  4853. "required": true
  4854. },
  4855. {
  4856. "type": "integer",
  4857. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4858. "name": "querytype",
  4859. "in": "query",
  4860. "required": true
  4861. },
  4862. {
  4863. "type": "integer",
  4864. "description": "用户ID",
  4865. "name": "userid",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "integer",
  4870. "description": "用户类型 2-机构 7-企业成员",
  4871. "name": "usertype",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "合同ID(SpotContractId)",
  4877. "name": "contractid",
  4878. "in": "query"
  4879. }
  4880. ],
  4881. "responses": {
  4882. "200": {
  4883. "description": "OK",
  4884. "schema": {
  4885. "type": "array",
  4886. "items": {
  4887. "$ref": "#/definitions/models.Ermcp3Contract"
  4888. }
  4889. }
  4890. },
  4891. "500": {
  4892. "description": "Internal Server Error",
  4893. "schema": {
  4894. "$ref": "#/definitions/app.Response"
  4895. }
  4896. }
  4897. }
  4898. }
  4899. },
  4900. "/Ermcp3/QuerySpotContractBS": {
  4901. "get": {
  4902. "security": [
  4903. {
  4904. "ApiKeyAuth": []
  4905. }
  4906. ],
  4907. "produces": [
  4908. "application/json"
  4909. ],
  4910. "tags": [
  4911. "企业风险管理v3(app)"
  4912. ],
  4913. "summary": "查询合同(采购/销售)",
  4914. "parameters": [
  4915. {
  4916. "type": "integer",
  4917. "description": "所属机构ID",
  4918. "name": "areauserid",
  4919. "in": "query",
  4920. "required": true
  4921. },
  4922. {
  4923. "type": "integer",
  4924. "description": "合同类型 1-采购, -1-销售",
  4925. "name": "contracttype",
  4926. "in": "query",
  4927. "required": true
  4928. },
  4929. {
  4930. "type": "integer",
  4931. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4932. "name": "querytype",
  4933. "in": "query",
  4934. "required": true
  4935. },
  4936. {
  4937. "type": "integer",
  4938. "description": "用户ID",
  4939. "name": "userid",
  4940. "in": "query"
  4941. },
  4942. {
  4943. "type": "integer",
  4944. "description": "用户类型 2-机构 7-企业成员",
  4945. "name": "usertype",
  4946. "in": "query"
  4947. },
  4948. {
  4949. "type": "string",
  4950. "description": "合同ID(SpotContractId)",
  4951. "name": "contractid",
  4952. "in": "query"
  4953. }
  4954. ],
  4955. "responses": {
  4956. "200": {
  4957. "description": "OK",
  4958. "schema": {
  4959. "type": "array",
  4960. "items": {
  4961. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4962. }
  4963. }
  4964. },
  4965. "500": {
  4966. "description": "Internal Server Error",
  4967. "schema": {
  4968. "$ref": "#/definitions/app.Response"
  4969. }
  4970. }
  4971. }
  4972. }
  4973. },
  4974. "/Erms2/QueryArbitrageStrategy": {
  4975. "get": {
  4976. "security": [
  4977. {
  4978. "ApiKeyAuth": []
  4979. }
  4980. ],
  4981. "produces": [
  4982. "application/json"
  4983. ],
  4984. "tags": [
  4985. "风险管理"
  4986. ],
  4987. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4988. "parameters": [
  4989. {
  4990. "type": "integer",
  4991. "description": "账户ID",
  4992. "name": "userid",
  4993. "in": "query",
  4994. "required": true
  4995. },
  4996. {
  4997. "type": "string",
  4998. "description": "商品组ID(品种ID)",
  4999. "name": "goodsgroupid",
  5000. "in": "query"
  5001. }
  5002. ],
  5003. "responses": {
  5004. "200": {
  5005. "description": "OK",
  5006. "schema": {
  5007. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5008. }
  5009. },
  5010. "500": {
  5011. "description": "Internal Server Error",
  5012. "schema": {
  5013. "$ref": "#/definitions/app.Response"
  5014. }
  5015. }
  5016. }
  5017. }
  5018. },
  5019. "/Erms2/QueryInnerTradeDetail": {
  5020. "get": {
  5021. "security": [
  5022. {
  5023. "ApiKeyAuth": []
  5024. }
  5025. ],
  5026. "produces": [
  5027. "application/json"
  5028. ],
  5029. "tags": [
  5030. "风险管理"
  5031. ],
  5032. "summary": "查询内部成交单信息",
  5033. "parameters": [
  5034. {
  5035. "type": "integer",
  5036. "description": "资金账户",
  5037. "name": "accountid",
  5038. "in": "query",
  5039. "required": true
  5040. }
  5041. ],
  5042. "responses": {
  5043. "200": {
  5044. "description": "OK",
  5045. "schema": {
  5046. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5047. }
  5048. },
  5049. "500": {
  5050. "description": "Internal Server Error",
  5051. "schema": {
  5052. "$ref": "#/definitions/app.Response"
  5053. }
  5054. }
  5055. }
  5056. }
  5057. },
  5058. "/Erms2/QuerySpotContract": {
  5059. "get": {
  5060. "security": [
  5061. {
  5062. "ApiKeyAuth": []
  5063. }
  5064. ],
  5065. "produces": [
  5066. "application/json"
  5067. ],
  5068. "tags": [
  5069. "风险管理"
  5070. ],
  5071. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5072. "parameters": [
  5073. {
  5074. "type": "integer",
  5075. "description": "策略申请ID",
  5076. "name": "asapplyid",
  5077. "in": "query",
  5078. "required": true
  5079. },
  5080. {
  5081. "type": "integer",
  5082. "description": "现货合同ID",
  5083. "name": "spotcontractid",
  5084. "in": "query"
  5085. }
  5086. ],
  5087. "responses": {
  5088. "200": {
  5089. "description": "OK",
  5090. "schema": {
  5091. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5092. }
  5093. },
  5094. "500": {
  5095. "description": "Internal Server Error",
  5096. "schema": {
  5097. "$ref": "#/definitions/app.Response"
  5098. }
  5099. }
  5100. }
  5101. }
  5102. },
  5103. "/Erms3/AddErms2ASApply": {
  5104. "post": {
  5105. "security": [
  5106. {
  5107. "ApiKeyAuth": []
  5108. }
  5109. ],
  5110. "produces": [
  5111. "application/json"
  5112. ],
  5113. "tags": [
  5114. "风险管理v3"
  5115. ],
  5116. "summary": "新增期现套利业务申请",
  5117. "parameters": [
  5118. {
  5119. "description": "申请参数",
  5120. "name": "jsonBody",
  5121. "in": "body",
  5122. "required": true,
  5123. "schema": {
  5124. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5125. }
  5126. }
  5127. ],
  5128. "responses": {
  5129. "200": {
  5130. "description": "OK",
  5131. "schema": {
  5132. "$ref": "#/definitions/app.Response"
  5133. }
  5134. },
  5135. "500": {
  5136. "description": "Internal Server Error",
  5137. "schema": {
  5138. "$ref": "#/definitions/app.Response"
  5139. }
  5140. }
  5141. }
  5142. }
  5143. },
  5144. "/Erms3/AddErms2SpotTradeApply": {
  5145. "post": {
  5146. "security": [
  5147. {
  5148. "ApiKeyAuth": []
  5149. }
  5150. ],
  5151. "produces": [
  5152. "application/json"
  5153. ],
  5154. "tags": [
  5155. "风险管理v3"
  5156. ],
  5157. "summary": "新增现货贸易业务申请",
  5158. "parameters": [
  5159. {
  5160. "description": "申请参数",
  5161. "name": "jsonBody",
  5162. "in": "body",
  5163. "required": true,
  5164. "schema": {
  5165. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5166. }
  5167. }
  5168. ],
  5169. "responses": {
  5170. "200": {
  5171. "description": "OK",
  5172. "schema": {
  5173. "$ref": "#/definitions/app.Response"
  5174. }
  5175. },
  5176. "500": {
  5177. "description": "Internal Server Error",
  5178. "schema": {
  5179. "$ref": "#/definitions/app.Response"
  5180. }
  5181. }
  5182. }
  5183. }
  5184. },
  5185. "/Erms3/AddSpotContractApply": {
  5186. "post": {
  5187. "security": [
  5188. {
  5189. "ApiKeyAuth": []
  5190. }
  5191. ],
  5192. "produces": [
  5193. "application/json"
  5194. ],
  5195. "tags": [
  5196. "风险管理v3"
  5197. ],
  5198. "summary": "新增现货合同申请",
  5199. "parameters": [
  5200. {
  5201. "description": "申请参数",
  5202. "name": "jsonBody",
  5203. "in": "body",
  5204. "required": true,
  5205. "schema": {
  5206. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5207. }
  5208. }
  5209. ],
  5210. "responses": {
  5211. "200": {
  5212. "description": "OK",
  5213. "schema": {
  5214. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5215. }
  5216. },
  5217. "500": {
  5218. "description": "Internal Server Error",
  5219. "schema": {
  5220. "$ref": "#/definitions/app.Response"
  5221. }
  5222. }
  5223. }
  5224. }
  5225. },
  5226. "/Erms3/AddUserInfoApply": {
  5227. "post": {
  5228. "security": [
  5229. {
  5230. "ApiKeyAuth": []
  5231. }
  5232. ],
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "风险管理v3"
  5238. ],
  5239. "summary": "新增客户申请",
  5240. "parameters": [
  5241. {
  5242. "description": "用户信息",
  5243. "name": "jsonBody",
  5244. "in": "body",
  5245. "required": true,
  5246. "schema": {
  5247. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5248. }
  5249. }
  5250. ],
  5251. "responses": {
  5252. "200": {
  5253. "description": "OK",
  5254. "schema": {
  5255. "$ref": "#/definitions/app.Response"
  5256. }
  5257. },
  5258. "500": {
  5259. "description": "Internal Server Error",
  5260. "schema": {
  5261. "$ref": "#/definitions/app.Response"
  5262. }
  5263. }
  5264. }
  5265. }
  5266. },
  5267. "/Erms3/ModifyUserInfoApply": {
  5268. "post": {
  5269. "security": [
  5270. {
  5271. "ApiKeyAuth": []
  5272. }
  5273. ],
  5274. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5275. "produces": [
  5276. "application/json"
  5277. ],
  5278. "tags": [
  5279. "风险管理v3"
  5280. ],
  5281. "summary": "修改客户申请",
  5282. "parameters": [
  5283. {
  5284. "description": "用户信息",
  5285. "name": "jsonBody",
  5286. "in": "body",
  5287. "required": true,
  5288. "schema": {
  5289. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5290. }
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/Erms3/QueryBusinessInfo": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "风险管理v3"
  5321. ],
  5322. "summary": "查询业务表单数据",
  5323. "parameters": [
  5324. {
  5325. "type": "string",
  5326. "description": "资金账号ID列表,用逗号分隔",
  5327. "name": "accountids",
  5328. "in": "query",
  5329. "required": true
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "状态,0为未结束 1为已结束",
  5334. "name": "status",
  5335. "in": "query",
  5336. "required": true
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "type": "array",
  5344. "items": {
  5345. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5346. }
  5347. }
  5348. },
  5349. "500": {
  5350. "description": "Internal Server Error",
  5351. "schema": {
  5352. "$ref": "#/definitions/app.Response"
  5353. }
  5354. }
  5355. }
  5356. }
  5357. },
  5358. "/Erms3/QueryPendingAuditContract": {
  5359. "get": {
  5360. "security": [
  5361. {
  5362. "ApiKeyAuth": []
  5363. }
  5364. ],
  5365. "produces": [
  5366. "application/json"
  5367. ],
  5368. "tags": [
  5369. "风险管理v3"
  5370. ],
  5371. "summary": "查询待审核合同",
  5372. "parameters": [
  5373. {
  5374. "type": "string",
  5375. "description": "资金账号ID列表,逗号隔开",
  5376. "name": "accountids",
  5377. "in": "query",
  5378. "required": true
  5379. },
  5380. {
  5381. "type": "integer",
  5382. "description": "合同类型 1-采购 -1-销售",
  5383. "name": "contracttype",
  5384. "in": "query",
  5385. "required": true
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "合同模式 1-普通 2-回购",
  5390. "name": "contractmode",
  5391. "in": "query",
  5392. "required": true
  5393. }
  5394. ],
  5395. "responses": {
  5396. "200": {
  5397. "description": "OK",
  5398. "schema": {
  5399. "type": "array",
  5400. "items": {
  5401. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5402. }
  5403. }
  5404. },
  5405. "500": {
  5406. "description": "Internal Server Error",
  5407. "schema": {
  5408. "$ref": "#/definitions/app.Response"
  5409. }
  5410. }
  5411. }
  5412. }
  5413. },
  5414. "/Erms3/QueryPendingBusiness": {
  5415. "get": {
  5416. "security": [
  5417. {
  5418. "ApiKeyAuth": []
  5419. }
  5420. ],
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "风险管理v3"
  5426. ],
  5427. "summary": "查询待审核基差贸易业务",
  5428. "parameters": [
  5429. {
  5430. "type": "string",
  5431. "description": "资金账号ID列表,逗号隔开",
  5432. "name": "accountids",
  5433. "in": "query",
  5434. "required": true
  5435. }
  5436. ],
  5437. "responses": {
  5438. "200": {
  5439. "description": "OK",
  5440. "schema": {
  5441. "type": "array",
  5442. "items": {
  5443. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5444. }
  5445. }
  5446. },
  5447. "500": {
  5448. "description": "Internal Server Error",
  5449. "schema": {
  5450. "$ref": "#/definitions/app.Response"
  5451. }
  5452. }
  5453. }
  5454. }
  5455. },
  5456. "/Erms3/QuerySpotContractAppleForm": {
  5457. "get": {
  5458. "security": [
  5459. {
  5460. "ApiKeyAuth": []
  5461. }
  5462. ],
  5463. "produces": [
  5464. "application/json"
  5465. ],
  5466. "tags": [
  5467. "风险管理v3"
  5468. ],
  5469. "summary": "查询合同申请表单数据",
  5470. "parameters": [
  5471. {
  5472. "type": "integer",
  5473. "description": "登录账号",
  5474. "name": "loginID",
  5475. "in": "query",
  5476. "required": true
  5477. }
  5478. ],
  5479. "responses": {
  5480. "200": {
  5481. "description": "OK",
  5482. "schema": {
  5483. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5484. }
  5485. },
  5486. "500": {
  5487. "description": "Internal Server Error",
  5488. "schema": {
  5489. "$ref": "#/definitions/app.Response"
  5490. }
  5491. }
  5492. }
  5493. }
  5494. },
  5495. "/Erms3/QuerySpotContractDetail": {
  5496. "get": {
  5497. "security": [
  5498. {
  5499. "ApiKeyAuth": []
  5500. }
  5501. ],
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "风险管理v3"
  5507. ],
  5508. "summary": "查询合同详细信息",
  5509. "parameters": [
  5510. {
  5511. "type": "string",
  5512. "description": "资金账号ID列表,用逗号分隔",
  5513. "name": "accountids",
  5514. "in": "query",
  5515. "required": true
  5516. },
  5517. {
  5518. "type": "integer",
  5519. "description": "合同类型,1为采购合同 -1为销售合同",
  5520. "name": "contracttype",
  5521. "in": "query",
  5522. "required": true
  5523. },
  5524. {
  5525. "type": "integer",
  5526. "description": "合同模式,1为普通合同 2为回购销售合同",
  5527. "name": "contractmode",
  5528. "in": "query",
  5529. "required": true
  5530. },
  5531. {
  5532. "type": "integer",
  5533. "description": "状态,0为履约中 1为已完成",
  5534. "name": "status",
  5535. "in": "query",
  5536. "required": true
  5537. }
  5538. ],
  5539. "responses": {
  5540. "200": {
  5541. "description": "OK",
  5542. "schema": {
  5543. "type": "array",
  5544. "items": {
  5545. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5546. }
  5547. }
  5548. },
  5549. "500": {
  5550. "description": "Internal Server Error",
  5551. "schema": {
  5552. "$ref": "#/definitions/app.Response"
  5553. }
  5554. }
  5555. }
  5556. }
  5557. },
  5558. "/Erms3/QueryUserInfoApplies": {
  5559. "get": {
  5560. "security": [
  5561. {
  5562. "ApiKeyAuth": []
  5563. }
  5564. ],
  5565. "produces": [
  5566. "application/json"
  5567. ],
  5568. "tags": [
  5569. "风险管理v3"
  5570. ],
  5571. "summary": "客户申请信息查询",
  5572. "parameters": [
  5573. {
  5574. "type": "integer",
  5575. "description": "页码",
  5576. "name": "page",
  5577. "in": "query"
  5578. },
  5579. {
  5580. "type": "integer",
  5581. "description": "每页条数",
  5582. "name": "pagesize",
  5583. "in": "query"
  5584. },
  5585. {
  5586. "type": "string",
  5587. "description": "客户名称,支持模糊查询",
  5588. "name": "userName",
  5589. "in": "query"
  5590. }
  5591. ],
  5592. "responses": {
  5593. "200": {
  5594. "description": "OK",
  5595. "schema": {
  5596. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5597. }
  5598. },
  5599. "500": {
  5600. "description": "Internal Server Error",
  5601. "schema": {
  5602. "$ref": "#/definitions/app.Response"
  5603. }
  5604. }
  5605. }
  5606. }
  5607. },
  5608. "/Erms3/QueryUserInfos": {
  5609. "get": {
  5610. "security": [
  5611. {
  5612. "ApiKeyAuth": []
  5613. }
  5614. ],
  5615. "produces": [
  5616. "application/json"
  5617. ],
  5618. "tags": [
  5619. "风险管理v3"
  5620. ],
  5621. "summary": "客户信息查询",
  5622. "parameters": [
  5623. {
  5624. "type": "integer",
  5625. "description": "页码",
  5626. "name": "page",
  5627. "in": "query"
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "每页条数",
  5632. "name": "pagesize",
  5633. "in": "query"
  5634. },
  5635. {
  5636. "type": "string",
  5637. "description": "客户名称,支持模糊查询",
  5638. "name": "userName",
  5639. "in": "query"
  5640. }
  5641. ],
  5642. "responses": {
  5643. "200": {
  5644. "description": "OK",
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5647. }
  5648. },
  5649. "500": {
  5650. "description": "Internal Server Error",
  5651. "schema": {
  5652. "$ref": "#/definitions/app.Response"
  5653. }
  5654. }
  5655. }
  5656. }
  5657. },
  5658. "/HSBY/GetHsbyMyCount": {
  5659. "get": {
  5660. "security": [
  5661. {
  5662. "ApiKeyAuth": []
  5663. }
  5664. ],
  5665. "description": "说明: 不包括已完成的数量。",
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "定制【海商报业】"
  5671. ],
  5672. "summary": "获取我的订单与包裹数量",
  5673. "parameters": [
  5674. {
  5675. "type": "string",
  5676. "description": "资金账户列表,格式:1,2,3",
  5677. "name": "accountIDs",
  5678. "in": "query",
  5679. "required": true
  5680. }
  5681. ],
  5682. "responses": {
  5683. "200": {
  5684. "description": "OK",
  5685. "schema": {
  5686. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5687. }
  5688. },
  5689. "500": {
  5690. "description": "Internal Server Error",
  5691. "schema": {
  5692. "$ref": "#/definitions/app.Response"
  5693. }
  5694. }
  5695. }
  5696. }
  5697. },
  5698. "/HSBY/QueryClientFixedADConfigs": {
  5699. "get": {
  5700. "security": [
  5701. {
  5702. "ApiKeyAuth": []
  5703. }
  5704. ],
  5705. "produces": [
  5706. "application/json"
  5707. ],
  5708. "tags": [
  5709. "定制【海商报业】"
  5710. ],
  5711. "summary": "获取终端固定广告配置",
  5712. "responses": {
  5713. "200": {
  5714. "description": "OK",
  5715. "schema": {
  5716. "$ref": "#/definitions/models.Clientfixedadconfig"
  5717. }
  5718. },
  5719. "500": {
  5720. "description": "Internal Server Error",
  5721. "schema": {
  5722. "$ref": "#/definitions/app.Response"
  5723. }
  5724. }
  5725. }
  5726. }
  5727. },
  5728. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5729. "get": {
  5730. "security": [
  5731. {
  5732. "ApiKeyAuth": []
  5733. }
  5734. ],
  5735. "produces": [
  5736. "application/json"
  5737. ],
  5738. "tags": [
  5739. "定制【海商报业】"
  5740. ],
  5741. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5742. "parameters": [
  5743. {
  5744. "type": "integer",
  5745. "description": "页码",
  5746. "name": "page",
  5747. "in": "query"
  5748. },
  5749. {
  5750. "type": "integer",
  5751. "description": "每页条数",
  5752. "name": "pagesize",
  5753. "in": "query"
  5754. },
  5755. {
  5756. "type": "string",
  5757. "description": "资金账户列表,格式:1,2,3",
  5758. "name": "accountIDs",
  5759. "in": "query",
  5760. "required": true
  5761. }
  5762. ],
  5763. "responses": {
  5764. "200": {
  5765. "description": "OK",
  5766. "schema": {
  5767. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5768. }
  5769. },
  5770. "500": {
  5771. "description": "Internal Server Error",
  5772. "schema": {
  5773. "$ref": "#/definitions/app.Response"
  5774. }
  5775. }
  5776. }
  5777. }
  5778. },
  5779. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5780. "get": {
  5781. "security": [
  5782. {
  5783. "ApiKeyAuth": []
  5784. }
  5785. ],
  5786. "description": "说明:查询结果已按委托价格和委托时间排序",
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "定制【海商报业】"
  5792. ],
  5793. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "商品ID",
  5798. "name": "goodsID",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "string",
  5804. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5805. "name": "accountIDs",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5811. "name": "buyOrSell",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "number",
  5816. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5817. "name": "price",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "integer",
  5822. "description": "档位,不传则默认为3档",
  5823. "name": "speed",
  5824. "in": "query"
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryHsbyListingGoodsDetail": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5858. "parameters": [
  5859. {
  5860. "type": "integer",
  5861. "description": "商品ID",
  5862. "name": "goodsID",
  5863. "in": "query",
  5864. "required": true
  5865. },
  5866. {
  5867. "type": "integer",
  5868. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5869. "name": "accountID",
  5870. "in": "query"
  5871. }
  5872. ],
  5873. "responses": {
  5874. "200": {
  5875. "description": "OK",
  5876. "schema": {
  5877. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "定制【海商报业】"
  5901. ],
  5902. "summary": "查询三级市场(商城)商品信息详情",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "委托单号",
  5907. "name": "orderID",
  5908. "in": "query",
  5909. "required": true
  5910. },
  5911. {
  5912. "type": "integer",
  5913. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5914. "name": "accountID",
  5915. "in": "query"
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5923. }
  5924. },
  5925. "500": {
  5926. "description": "Internal Server Error",
  5927. "schema": {
  5928. "$ref": "#/definitions/app.Response"
  5929. }
  5930. }
  5931. }
  5932. }
  5933. },
  5934. "/HSBY/QueryHsbyMarketGoodses": {
  5935. "get": {
  5936. "security": [
  5937. {
  5938. "ApiKeyAuth": []
  5939. }
  5940. ],
  5941. "produces": [
  5942. "application/json"
  5943. ],
  5944. "tags": [
  5945. "定制【海商报业】"
  5946. ],
  5947. "summary": "查询特卖商品列表(三级商城)",
  5948. "parameters": [
  5949. {
  5950. "type": "integer",
  5951. "description": "页码",
  5952. "name": "page",
  5953. "in": "query"
  5954. },
  5955. {
  5956. "type": "integer",
  5957. "description": "每页条数",
  5958. "name": "pagesize",
  5959. "in": "query"
  5960. },
  5961. {
  5962. "type": "string",
  5963. "description": "市场ID列表,格式:1,2,3",
  5964. "name": "marketIDs",
  5965. "in": "query",
  5966. "required": true
  5967. },
  5968. {
  5969. "type": "integer",
  5970. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5971. "name": "accountID",
  5972. "in": "query",
  5973. "required": true
  5974. },
  5975. {
  5976. "type": "integer",
  5977. "description": "类别ID",
  5978. "name": "categoryID",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "string",
  5983. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5984. "name": "goodsIDs",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "integer",
  5989. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5990. "name": "couponTypeID",
  5991. "in": "query"
  5992. }
  5993. ],
  5994. "responses": {
  5995. "200": {
  5996. "description": "OK",
  5997. "schema": {
  5998. "$ref": "#/definitions/models.HsbyMarketGoods"
  5999. }
  6000. },
  6001. "500": {
  6002. "description": "Internal Server Error",
  6003. "schema": {
  6004. "$ref": "#/definitions/app.Response"
  6005. }
  6006. }
  6007. }
  6008. }
  6009. },
  6010. "/HSBY/QueryHsbyMarkets": {
  6011. "get": {
  6012. "security": [
  6013. {
  6014. "ApiKeyAuth": []
  6015. }
  6016. ],
  6017. "produces": [
  6018. "application/json"
  6019. ],
  6020. "tags": [
  6021. "定制【海商报业】"
  6022. ],
  6023. "summary": "查询海商报业相关市场信息",
  6024. "responses": {
  6025. "200": {
  6026. "description": "OK",
  6027. "schema": {
  6028. "$ref": "#/definitions/models.HsbyMarketInfo"
  6029. }
  6030. },
  6031. "500": {
  6032. "description": "Internal Server Error",
  6033. "schema": {
  6034. "$ref": "#/definitions/app.Response"
  6035. }
  6036. }
  6037. }
  6038. }
  6039. },
  6040. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6041. "get": {
  6042. "security": [
  6043. {
  6044. "ApiKeyAuth": []
  6045. }
  6046. ],
  6047. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6048. "produces": [
  6049. "application/json"
  6050. ],
  6051. "tags": [
  6052. "定制【海商报业】"
  6053. ],
  6054. "summary": "查询“我的订单”信息",
  6055. "parameters": [
  6056. {
  6057. "type": "string",
  6058. "description": "资金账户列表,格式:1,2,3",
  6059. "name": "accountIDs",
  6060. "in": "query",
  6061. "required": true
  6062. }
  6063. ],
  6064. "responses": {
  6065. "200": {
  6066. "description": "OK",
  6067. "schema": {
  6068. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6069. }
  6070. },
  6071. "500": {
  6072. "description": "Internal Server Error",
  6073. "schema": {
  6074. "$ref": "#/definitions/app.Response"
  6075. }
  6076. }
  6077. }
  6078. }
  6079. },
  6080. "/HSBY/QueryHsbyMyGoods": {
  6081. "get": {
  6082. "security": [
  6083. {
  6084. "ApiKeyAuth": []
  6085. }
  6086. ],
  6087. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6088. "produces": [
  6089. "application/json"
  6090. ],
  6091. "tags": [
  6092. "定制【海商报业】"
  6093. ],
  6094. "summary": "查询“我的商品”信息",
  6095. "parameters": [
  6096. {
  6097. "type": "string",
  6098. "description": "资金账户列表,格式:1,2,3",
  6099. "name": "accountIDs",
  6100. "in": "query",
  6101. "required": true
  6102. }
  6103. ],
  6104. "responses": {
  6105. "200": {
  6106. "description": "OK",
  6107. "schema": {
  6108. "$ref": "#/definitions/models.HsbyMyGoods"
  6109. }
  6110. },
  6111. "500": {
  6112. "description": "Internal Server Error",
  6113. "schema": {
  6114. "$ref": "#/definitions/app.Response"
  6115. }
  6116. }
  6117. }
  6118. }
  6119. },
  6120. "/HSBY/QueryHsbyMyPackages": {
  6121. "get": {
  6122. "security": [
  6123. {
  6124. "ApiKeyAuth": []
  6125. }
  6126. ],
  6127. "produces": [
  6128. "application/json"
  6129. ],
  6130. "tags": [
  6131. "定制【海商报业】"
  6132. ],
  6133. "summary": "查询我的包裹信息",
  6134. "parameters": [
  6135. {
  6136. "type": "string",
  6137. "description": "资金账户列表,格式:1,2,3",
  6138. "name": "accountIDs",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6145. "name": "takeOrderStatus",
  6146. "in": "query"
  6147. }
  6148. ],
  6149. "responses": {
  6150. "200": {
  6151. "description": "OK",
  6152. "schema": {
  6153. "$ref": "#/definitions/models.HsbyMyPackage"
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/HSBY/QueryHsbyPreGoodsDetail": {
  6166. "get": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "定制【海商报业】"
  6177. ],
  6178. "summary": "查询一级市场(预售)商品信息详情",
  6179. "parameters": [
  6180. {
  6181. "type": "integer",
  6182. "description": "商品ID",
  6183. "name": "goodsID",
  6184. "in": "query",
  6185. "required": true
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "资金账户,主要用于获取预售商品购买上限",
  6190. "name": "accountID",
  6191. "in": "query"
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryHsbyPreGoodses": {
  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": "页码",
  6229. "name": "page",
  6230. "in": "query"
  6231. },
  6232. {
  6233. "type": "integer",
  6234. "description": "每页条数",
  6235. "name": "pagesize",
  6236. "in": "query"
  6237. },
  6238. {
  6239. "type": "string",
  6240. "description": "市场ID列表,格式:1,2,3",
  6241. "name": "marketIDs",
  6242. "in": "query",
  6243. "required": true
  6244. },
  6245. {
  6246. "type": "integer",
  6247. "description": "目的地(省)ID",
  6248. "name": "descProvinceID",
  6249. "in": "query"
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "目的地(市)ID",
  6254. "name": "descCityID",
  6255. "in": "query"
  6256. }
  6257. ],
  6258. "responses": {
  6259. "200": {
  6260. "description": "OK",
  6261. "schema": {
  6262. "$ref": "#/definitions/models.HsbyPreGoods"
  6263. }
  6264. },
  6265. "500": {
  6266. "description": "Internal Server Error",
  6267. "schema": {
  6268. "$ref": "#/definitions/app.Response"
  6269. }
  6270. }
  6271. }
  6272. }
  6273. },
  6274. "/HSBY/QueryHsbySellMyDetails": {
  6275. "get": {
  6276. "security": [
  6277. {
  6278. "ApiKeyAuth": []
  6279. }
  6280. ],
  6281. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6282. "produces": [
  6283. "application/json"
  6284. ],
  6285. "tags": [
  6286. "定制【海商报业】"
  6287. ],
  6288. "summary": "查询\"我的闲置\"单据信息",
  6289. "parameters": [
  6290. {
  6291. "type": "integer",
  6292. "description": "页码",
  6293. "name": "page",
  6294. "in": "query"
  6295. },
  6296. {
  6297. "type": "integer",
  6298. "description": "每页条数",
  6299. "name": "pagesize",
  6300. "in": "query"
  6301. },
  6302. {
  6303. "type": "string",
  6304. "description": "资金账户列表,格式:1,2,3",
  6305. "name": "accountIDs",
  6306. "in": "query",
  6307. "required": true
  6308. },
  6309. {
  6310. "type": "integer",
  6311. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6312. "name": "orderType",
  6313. "in": "query"
  6314. }
  6315. ],
  6316. "responses": {
  6317. "200": {
  6318. "description": "OK",
  6319. "schema": {
  6320. "$ref": "#/definitions/models.HsbySellMyDetail"
  6321. }
  6322. },
  6323. "500": {
  6324. "description": "Internal Server Error",
  6325. "schema": {
  6326. "$ref": "#/definitions/app.Response"
  6327. }
  6328. }
  6329. }
  6330. }
  6331. },
  6332. "/HSBY/QueryHsbyTopGoodses": {
  6333. "get": {
  6334. "security": [
  6335. {
  6336. "ApiKeyAuth": []
  6337. }
  6338. ],
  6339. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6340. "produces": [
  6341. "application/json"
  6342. ],
  6343. "tags": [
  6344. "定制【海商报业】"
  6345. ],
  6346. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6347. "parameters": [
  6348. {
  6349. "type": "integer",
  6350. "description": "页码",
  6351. "name": "page",
  6352. "in": "query"
  6353. },
  6354. {
  6355. "type": "integer",
  6356. "description": "每页条数",
  6357. "name": "pagesize",
  6358. "in": "query"
  6359. },
  6360. {
  6361. "type": "string",
  6362. "description": "市场ID列表,格式:1,2,3",
  6363. "name": "marketIDs",
  6364. "in": "query",
  6365. "required": true
  6366. },
  6367. {
  6368. "type": "integer",
  6369. "description": "目的地(省)ID",
  6370. "name": "descProvinceID",
  6371. "in": "query"
  6372. },
  6373. {
  6374. "type": "integer",
  6375. "description": "目的地(市)ID",
  6376. "name": "descCityID",
  6377. "in": "query"
  6378. }
  6379. ],
  6380. "responses": {
  6381. "200": {
  6382. "description": "OK",
  6383. "schema": {
  6384. "$ref": "#/definitions/models.HsbyTopGoods"
  6385. }
  6386. },
  6387. "500": {
  6388. "description": "Internal Server Error",
  6389. "schema": {
  6390. "$ref": "#/definitions/app.Response"
  6391. }
  6392. }
  6393. }
  6394. }
  6395. },
  6396. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6397. "get": {
  6398. "security": [
  6399. {
  6400. "ApiKeyAuth": []
  6401. }
  6402. ],
  6403. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6404. "produces": [
  6405. "application/json"
  6406. ],
  6407. "tags": [
  6408. "定制【海商报业】"
  6409. ],
  6410. "summary": "查询游客三级市场(商城)商品信息详情",
  6411. "parameters": [
  6412. {
  6413. "type": "integer",
  6414. "description": "商品ID",
  6415. "name": "goodsID",
  6416. "in": "query",
  6417. "required": true
  6418. }
  6419. ],
  6420. "responses": {
  6421. "200": {
  6422. "description": "OK",
  6423. "schema": {
  6424. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6425. }
  6426. },
  6427. "500": {
  6428. "description": "Internal Server Error",
  6429. "schema": {
  6430. "$ref": "#/definitions/app.Response"
  6431. }
  6432. }
  6433. }
  6434. }
  6435. },
  6436. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6437. "get": {
  6438. "security": [
  6439. {
  6440. "ApiKeyAuth": []
  6441. }
  6442. ],
  6443. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6444. "produces": [
  6445. "application/json"
  6446. ],
  6447. "tags": [
  6448. "定制【海商报业】"
  6449. ],
  6450. "summary": "查询游客特卖商品列表(三级商城)",
  6451. "parameters": [
  6452. {
  6453. "type": "integer",
  6454. "description": "页码",
  6455. "name": "page",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "integer",
  6460. "description": "每页条数",
  6461. "name": "pagesize",
  6462. "in": "query"
  6463. },
  6464. {
  6465. "type": "string",
  6466. "description": "市场ID列表,格式:1,2,3",
  6467. "name": "marketIDs",
  6468. "in": "query",
  6469. "required": true
  6470. },
  6471. {
  6472. "type": "integer",
  6473. "description": "类别ID",
  6474. "name": "categoryID",
  6475. "in": "query"
  6476. },
  6477. {
  6478. "type": "string",
  6479. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6480. "name": "goodsIDs",
  6481. "in": "query"
  6482. }
  6483. ],
  6484. "responses": {
  6485. "200": {
  6486. "description": "OK",
  6487. "schema": {
  6488. "$ref": "#/definitions/models.HsbyMarketGoods"
  6489. }
  6490. },
  6491. "500": {
  6492. "description": "Internal Server Error",
  6493. "schema": {
  6494. "$ref": "#/definitions/app.Response"
  6495. }
  6496. }
  6497. }
  6498. }
  6499. },
  6500. "/HSBY/QueryMyCollectionOrders": {
  6501. "get": {
  6502. "security": [
  6503. {
  6504. "ApiKeyAuth": []
  6505. }
  6506. ],
  6507. "produces": [
  6508. "application/json"
  6509. ],
  6510. "tags": [
  6511. "定制【海商报业】"
  6512. ],
  6513. "summary": "我的闲置中收款信息查询",
  6514. "parameters": [
  6515. {
  6516. "type": "integer",
  6517. "description": "页码",
  6518. "name": "page",
  6519. "in": "query"
  6520. },
  6521. {
  6522. "type": "integer",
  6523. "description": "每页条数",
  6524. "name": "pagesize",
  6525. "in": "query"
  6526. },
  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.HsbySellCollectionOrder"
  6540. }
  6541. },
  6542. "500": {
  6543. "description": "Internal Server Error",
  6544. "schema": {
  6545. "$ref": "#/definitions/app.Response"
  6546. }
  6547. }
  6548. }
  6549. }
  6550. },
  6551. "/HSBY/QueryMyCouponHolds": {
  6552. "get": {
  6553. "security": [
  6554. {
  6555. "ApiKeyAuth": []
  6556. }
  6557. ],
  6558. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "我的优惠卷持仓查询",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "资金账户列表,格式:1,2,3",
  6570. "name": "accountIDs",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "string",
  6576. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6577. "name": "holdStatus",
  6578. "in": "query"
  6579. }
  6580. ],
  6581. "responses": {
  6582. "200": {
  6583. "description": "OK",
  6584. "schema": {
  6585. "$ref": "#/definitions/models.MyCouponHold"
  6586. }
  6587. },
  6588. "500": {
  6589. "description": "Internal Server Error",
  6590. "schema": {
  6591. "$ref": "#/definitions/app.Response"
  6592. }
  6593. }
  6594. }
  6595. }
  6596. },
  6597. "/HSBY/QueryMyCoupons": {
  6598. "get": {
  6599. "security": [
  6600. {
  6601. "ApiKeyAuth": []
  6602. }
  6603. ],
  6604. "produces": [
  6605. "application/json"
  6606. ],
  6607. "tags": [
  6608. "定制【海商报业】"
  6609. ],
  6610. "summary": "我的优惠卷查询",
  6611. "parameters": [
  6612. {
  6613. "type": "string",
  6614. "description": "资金账户列表,格式:1,2,3",
  6615. "name": "accountIDs",
  6616. "in": "query",
  6617. "required": true
  6618. },
  6619. {
  6620. "type": "integer",
  6621. "description": "商品ID, 一般与sellUserID配套传入",
  6622. "name": "goodsID",
  6623. "in": "query"
  6624. },
  6625. {
  6626. "type": "integer",
  6627. "description": "卖方UserID",
  6628. "name": "sellUserID",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "$ref": "#/definitions/models.MyCoupon"
  6637. }
  6638. },
  6639. "500": {
  6640. "description": "Internal Server Error",
  6641. "schema": {
  6642. "$ref": "#/definitions/app.Response"
  6643. }
  6644. }
  6645. }
  6646. }
  6647. },
  6648. "/HSBY/QueryMyPayOrders": {
  6649. "get": {
  6650. "security": [
  6651. {
  6652. "ApiKeyAuth": []
  6653. }
  6654. ],
  6655. "produces": [
  6656. "application/json"
  6657. ],
  6658. "tags": [
  6659. "定制【海商报业】"
  6660. ],
  6661. "summary": "获取我的订单中待付款信息",
  6662. "parameters": [
  6663. {
  6664. "type": "integer",
  6665. "description": "页码",
  6666. "name": "page",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "每页条数",
  6672. "name": "pagesize",
  6673. "in": "query"
  6674. },
  6675. {
  6676. "type": "string",
  6677. "description": "资金账户列表,格式:1,2,3",
  6678. "name": "accountIDs",
  6679. "in": "query",
  6680. "required": true
  6681. },
  6682. {
  6683. "type": "integer",
  6684. "description": "买方委托单号",
  6685. "name": "buyOrderID",
  6686. "in": "query"
  6687. },
  6688. {
  6689. "type": "integer",
  6690. "description": "卖方委托单号",
  6691. "name": "sellOrderID",
  6692. "in": "query"
  6693. }
  6694. ],
  6695. "responses": {
  6696. "200": {
  6697. "description": "OK",
  6698. "schema": {
  6699. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6700. }
  6701. },
  6702. "500": {
  6703. "description": "Internal Server Error",
  6704. "schema": {
  6705. "$ref": "#/definitions/app.Response"
  6706. }
  6707. }
  6708. }
  6709. }
  6710. },
  6711. "/HSBY/QueryMyUsedCoupon": {
  6712. "get": {
  6713. "security": [
  6714. {
  6715. "ApiKeyAuth": []
  6716. }
  6717. ],
  6718. "produces": [
  6719. "application/json"
  6720. ],
  6721. "tags": [
  6722. "定制【海商报业】"
  6723. ],
  6724. "summary": "已使用优惠卷查询",
  6725. "parameters": [
  6726. {
  6727. "type": "string",
  6728. "description": "资金账户列表,格式:1,2,3",
  6729. "name": "accountIDs",
  6730. "in": "query",
  6731. "required": true
  6732. }
  6733. ],
  6734. "responses": {
  6735. "200": {
  6736. "description": "OK",
  6737. "schema": {
  6738. "$ref": "#/definitions/models.MyUsedCoupon"
  6739. }
  6740. },
  6741. "500": {
  6742. "description": "Internal Server Error",
  6743. "schema": {
  6744. "$ref": "#/definitions/app.Response"
  6745. }
  6746. }
  6747. }
  6748. }
  6749. },
  6750. "/HSBY/QueryProvincesAndCities": {
  6751. "get": {
  6752. "security": [
  6753. {
  6754. "ApiKeyAuth": []
  6755. }
  6756. ],
  6757. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6758. "produces": [
  6759. "application/json"
  6760. ],
  6761. "tags": [
  6762. "定制【海商报业】"
  6763. ],
  6764. "summary": "查询省市信息(不包括区)",
  6765. "parameters": [
  6766. {
  6767. "type": "integer",
  6768. "description": "省ID",
  6769. "name": "provinceID",
  6770. "in": "query"
  6771. }
  6772. ],
  6773. "responses": {
  6774. "200": {
  6775. "description": "OK",
  6776. "schema": {
  6777. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6778. }
  6779. },
  6780. "500": {
  6781. "description": "Internal Server Error",
  6782. "schema": {
  6783. "$ref": "#/definitions/app.Response"
  6784. }
  6785. }
  6786. }
  6787. }
  6788. },
  6789. "/HSBY/SetHsbyMyPackagesStatus": {
  6790. "post": {
  6791. "security": [
  6792. {
  6793. "ApiKeyAuth": []
  6794. }
  6795. ],
  6796. "produces": [
  6797. "application/json"
  6798. ],
  6799. "tags": [
  6800. "定制【海商报业】"
  6801. ],
  6802. "summary": "设置我的包裹已收货状态",
  6803. "parameters": [
  6804. {
  6805. "type": "string",
  6806. "description": "提货单号",
  6807. "name": "takeOrderID",
  6808. "in": "query",
  6809. "required": true
  6810. },
  6811. {
  6812. "type": "integer",
  6813. "description": "资金账号",
  6814. "name": "accountID",
  6815. "in": "query",
  6816. "required": true
  6817. }
  6818. ],
  6819. "responses": {
  6820. "200": {
  6821. "description": "OK",
  6822. "schema": {
  6823. "$ref": "#/definitions/app.Response"
  6824. }
  6825. },
  6826. "500": {
  6827. "description": "Internal Server Error",
  6828. "schema": {
  6829. "$ref": "#/definitions/app.Response"
  6830. }
  6831. }
  6832. }
  6833. }
  6834. },
  6835. "/Market/QueryGoodsesByLoginID": {
  6836. "get": {
  6837. "security": [
  6838. {
  6839. "ApiKeyAuth": []
  6840. }
  6841. ],
  6842. "produces": [
  6843. "application/json"
  6844. ],
  6845. "tags": [
  6846. "通用市场"
  6847. ],
  6848. "summary": "获取登录账号有权限的商品信息",
  6849. "parameters": [
  6850. {
  6851. "type": "integer",
  6852. "description": "登录账号",
  6853. "name": "loginID",
  6854. "in": "query",
  6855. "required": true
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "市场ID列表,格式:1,2,3",
  6860. "name": "marketIDs",
  6861. "in": "query"
  6862. }
  6863. ],
  6864. "responses": {
  6865. "200": {
  6866. "description": "OK",
  6867. "schema": {
  6868. "$ref": "#/definitions/models.Goods"
  6869. }
  6870. },
  6871. "500": {
  6872. "description": "Internal Server Error",
  6873. "schema": {
  6874. "$ref": "#/definitions/app.Response"
  6875. }
  6876. }
  6877. }
  6878. }
  6879. },
  6880. "/Market/QueryMarketRun": {
  6881. "get": {
  6882. "security": [
  6883. {
  6884. "ApiKeyAuth": []
  6885. }
  6886. ],
  6887. "produces": [
  6888. "application/json"
  6889. ],
  6890. "tags": [
  6891. "通用市场"
  6892. ],
  6893. "summary": "查询市场运行信息",
  6894. "parameters": [
  6895. {
  6896. "type": "integer",
  6897. "description": "市场ID,不传返回所有",
  6898. "name": "marketID",
  6899. "in": "query"
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/models.Marketrun"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/Market/QueryMarketsByLoginID": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "通用市场"
  6930. ],
  6931. "summary": "获取登录账号有权限的市场信息",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "登录账号",
  6936. "name": "loginID",
  6937. "in": "query",
  6938. "required": true
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.Market"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/Order/QueryHisTradeDetail": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "produces": [
  6965. "application/json"
  6966. ],
  6967. "tags": [
  6968. "通用单据"
  6969. ],
  6970. "summary": "历史成交单查询(合约市场)",
  6971. "parameters": [
  6972. {
  6973. "type": "string",
  6974. "description": "资金账户 - 格式:1,2,3",
  6975. "name": "accountID",
  6976. "in": "query",
  6977. "required": true
  6978. },
  6979. {
  6980. "type": "integer",
  6981. "description": "成交单号",
  6982. "name": "tradeID",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "委托单号",
  6988. "name": "orderID",
  6989. "in": "query"
  6990. },
  6991. {
  6992. "type": "string",
  6993. "description": "交易模式 - 格式:1,2,3",
  6994. "name": "tradeMode",
  6995. "in": "query"
  6996. },
  6997. {
  6998. "type": "integer",
  6999. "description": "委托单据类型",
  7000. "name": "buildType",
  7001. "in": "query"
  7002. },
  7003. {
  7004. "type": "string",
  7005. "description": "成交类别 - 格式:1,2,3",
  7006. "name": "tradeType",
  7007. "in": "query"
  7008. },
  7009. {
  7010. "type": "string",
  7011. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7012. "name": "startDate",
  7013. "in": "query"
  7014. },
  7015. {
  7016. "type": "string",
  7017. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7018. "name": "endDate",
  7019. "in": "query"
  7020. }
  7021. ],
  7022. "responses": {
  7023. "200": {
  7024. "description": "OK",
  7025. "schema": {
  7026. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7027. }
  7028. },
  7029. "500": {
  7030. "description": "Internal Server Error",
  7031. "schema": {
  7032. "$ref": "#/definitions/app.Response"
  7033. }
  7034. }
  7035. }
  7036. }
  7037. },
  7038. "/Order/QueryHisTradeOrderDetail": {
  7039. "get": {
  7040. "security": [
  7041. {
  7042. "ApiKeyAuth": []
  7043. }
  7044. ],
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "通用单据"
  7050. ],
  7051. "summary": "历史委托单查询请求(合约市场)",
  7052. "parameters": [
  7053. {
  7054. "type": "string",
  7055. "description": "资金账户 - 格式:1,2,3",
  7056. "name": "accountID",
  7057. "in": "query",
  7058. "required": true
  7059. },
  7060. {
  7061. "type": "string",
  7062. "description": "交易模式 - 格式:1,2,3",
  7063. "name": "tradeMode",
  7064. "in": "query"
  7065. },
  7066. {
  7067. "type": "string",
  7068. "description": "委托状态 - 格式:1,2,3",
  7069. "name": "orderStatus",
  7070. "in": "query"
  7071. },
  7072. {
  7073. "type": "integer",
  7074. "description": "委托单号",
  7075. "name": "orderID",
  7076. "in": "query"
  7077. },
  7078. {
  7079. "type": "string",
  7080. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7081. "name": "startDate",
  7082. "in": "query"
  7083. },
  7084. {
  7085. "type": "string",
  7086. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7087. "name": "endDate",
  7088. "in": "query"
  7089. }
  7090. ],
  7091. "responses": {
  7092. "200": {
  7093. "description": "OK",
  7094. "schema": {
  7095. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7096. }
  7097. },
  7098. "500": {
  7099. "description": "Internal Server Error",
  7100. "schema": {
  7101. "$ref": "#/definitions/app.Response"
  7102. }
  7103. }
  7104. }
  7105. }
  7106. },
  7107. "/Order/QueryTradeDetail": {
  7108. "get": {
  7109. "security": [
  7110. {
  7111. "ApiKeyAuth": []
  7112. }
  7113. ],
  7114. "produces": [
  7115. "application/json"
  7116. ],
  7117. "tags": [
  7118. "通用单据"
  7119. ],
  7120. "summary": "成交单查询(合约市场)",
  7121. "parameters": [
  7122. {
  7123. "type": "string",
  7124. "description": "资金账户 - 格式:1,2,3",
  7125. "name": "accountID",
  7126. "in": "query",
  7127. "required": true
  7128. },
  7129. {
  7130. "type": "integer",
  7131. "description": "成交单号",
  7132. "name": "tradeID",
  7133. "in": "query"
  7134. },
  7135. {
  7136. "type": "integer",
  7137. "description": "委托单号",
  7138. "name": "orderID",
  7139. "in": "query"
  7140. },
  7141. {
  7142. "type": "string",
  7143. "description": "交易模式 - 格式:1,2,3",
  7144. "name": "tradeMode",
  7145. "in": "query"
  7146. },
  7147. {
  7148. "type": "integer",
  7149. "description": "委托单据类型",
  7150. "name": "buildType",
  7151. "in": "query"
  7152. },
  7153. {
  7154. "type": "string",
  7155. "description": "成交类别 - 格式:1,2,3",
  7156. "name": "tradeType",
  7157. "in": "query"
  7158. }
  7159. ],
  7160. "responses": {
  7161. "200": {
  7162. "description": "OK",
  7163. "schema": {
  7164. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7165. }
  7166. },
  7167. "500": {
  7168. "description": "Internal Server Error",
  7169. "schema": {
  7170. "$ref": "#/definitions/app.Response"
  7171. }
  7172. }
  7173. }
  7174. }
  7175. },
  7176. "/Order/QueryTradeOrderDetail": {
  7177. "get": {
  7178. "security": [
  7179. {
  7180. "ApiKeyAuth": []
  7181. }
  7182. ],
  7183. "produces": [
  7184. "application/json"
  7185. ],
  7186. "tags": [
  7187. "通用单据"
  7188. ],
  7189. "summary": "委托单查询请求(合约市场)",
  7190. "parameters": [
  7191. {
  7192. "type": "string",
  7193. "description": "资金账户 - 格式:1,2,3",
  7194. "name": "accountID",
  7195. "in": "query",
  7196. "required": true
  7197. },
  7198. {
  7199. "type": "string",
  7200. "description": "交易模式 - 格式:1,2,3",
  7201. "name": "tradeMode",
  7202. "in": "query"
  7203. },
  7204. {
  7205. "type": "string",
  7206. "description": "委托状态 - 格式:1,2,3",
  7207. "name": "orderStatus",
  7208. "in": "query"
  7209. },
  7210. {
  7211. "type": "integer",
  7212. "description": "委托单号",
  7213. "name": "orderID",
  7214. "in": "query"
  7215. }
  7216. ],
  7217. "responses": {
  7218. "200": {
  7219. "description": "OK",
  7220. "schema": {
  7221. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7222. }
  7223. },
  7224. "500": {
  7225. "description": "Internal Server Error",
  7226. "schema": {
  7227. "$ref": "#/definitions/app.Response"
  7228. }
  7229. }
  7230. }
  7231. }
  7232. },
  7233. "/Order/QueryTradePosition": {
  7234. "get": {
  7235. "security": [
  7236. {
  7237. "ApiKeyAuth": []
  7238. }
  7239. ],
  7240. "produces": [
  7241. "application/json"
  7242. ],
  7243. "tags": [
  7244. "通用单据"
  7245. ],
  7246. "summary": "持仓汇总查询(合约市场)",
  7247. "parameters": [
  7248. {
  7249. "type": "string",
  7250. "description": "资金账户 - 格式:1,2,3",
  7251. "name": "accountID",
  7252. "in": "query",
  7253. "required": true
  7254. },
  7255. {
  7256. "type": "string",
  7257. "description": "交易模式 - 格式:1,2,3",
  7258. "name": "tradeMode",
  7259. "in": "query"
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7267. }
  7268. },
  7269. "500": {
  7270. "description": "Internal Server Error",
  7271. "schema": {
  7272. "$ref": "#/definitions/app.Response"
  7273. }
  7274. }
  7275. }
  7276. }
  7277. },
  7278. "/Quote/QueryHistoryDatas": {
  7279. "get": {
  7280. "security": [
  7281. {
  7282. "ApiKeyAuth": []
  7283. }
  7284. ],
  7285. "produces": [
  7286. "application/json"
  7287. ],
  7288. "tags": [
  7289. "行情服务"
  7290. ],
  7291. "summary": "查询行情历史数据",
  7292. "parameters": [
  7293. {
  7294. "type": "integer",
  7295. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7296. "name": "cycleType",
  7297. "in": "query",
  7298. "required": true
  7299. },
  7300. {
  7301. "type": "string",
  7302. "description": "商品代码",
  7303. "name": "goodsCode",
  7304. "in": "query",
  7305. "required": true
  7306. },
  7307. {
  7308. "type": "string",
  7309. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7310. "name": "startTime",
  7311. "in": "query"
  7312. },
  7313. {
  7314. "type": "string",
  7315. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7316. "name": "endTime",
  7317. "in": "query"
  7318. },
  7319. {
  7320. "type": "integer",
  7321. "description": "条数",
  7322. "name": "count",
  7323. "in": "query"
  7324. },
  7325. {
  7326. "type": "boolean",
  7327. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7328. "name": "isAsc",
  7329. "in": "query"
  7330. }
  7331. ],
  7332. "responses": {
  7333. "200": {
  7334. "description": "OK",
  7335. "schema": {
  7336. "$ref": "#/definitions/quote.HistoryData"
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Quote/QueryHistoryTikDatas": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "行情服务"
  7360. ],
  7361. "summary": "查询行情Tik数据",
  7362. "parameters": [
  7363. {
  7364. "type": "string",
  7365. "description": "商品代码",
  7366. "name": "goodsCode",
  7367. "in": "query",
  7368. "required": true
  7369. },
  7370. {
  7371. "type": "string",
  7372. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7373. "name": "startTime",
  7374. "in": "query"
  7375. },
  7376. {
  7377. "type": "string",
  7378. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7379. "name": "endTime",
  7380. "in": "query"
  7381. },
  7382. {
  7383. "type": "integer",
  7384. "description": "条数",
  7385. "name": "count",
  7386. "in": "query"
  7387. },
  7388. {
  7389. "type": "boolean",
  7390. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7391. "name": "isAsc",
  7392. "in": "query"
  7393. }
  7394. ],
  7395. "responses": {
  7396. "200": {
  7397. "description": "OK",
  7398. "schema": {
  7399. "$ref": "#/definitions/quote.HistoryTikData"
  7400. }
  7401. },
  7402. "500": {
  7403. "description": "Internal Server Error",
  7404. "schema": {
  7405. "$ref": "#/definitions/app.Response"
  7406. }
  7407. }
  7408. }
  7409. }
  7410. },
  7411. "/Quote/QueryQuoteDay": {
  7412. "get": {
  7413. "security": [
  7414. {
  7415. "ApiKeyAuth": []
  7416. }
  7417. ],
  7418. "produces": [
  7419. "application/json"
  7420. ],
  7421. "tags": [
  7422. "行情服务"
  7423. ],
  7424. "summary": "获取商品盘面信息",
  7425. "parameters": [
  7426. {
  7427. "type": "string",
  7428. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7429. "name": "goodsCodes",
  7430. "in": "query",
  7431. "required": true
  7432. }
  7433. ],
  7434. "responses": {
  7435. "200": {
  7436. "description": "OK",
  7437. "schema": {
  7438. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Quote/QueryTSData": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "行情服务"
  7462. ],
  7463. "summary": "分时图数据查询",
  7464. "parameters": [
  7465. {
  7466. "type": "string",
  7467. "description": "商品代码",
  7468. "name": "goodsCode",
  7469. "in": "query",
  7470. "required": true
  7471. }
  7472. ],
  7473. "responses": {
  7474. "200": {
  7475. "description": "OK",
  7476. "schema": {
  7477. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7478. }
  7479. },
  7480. "500": {
  7481. "description": "Internal Server Error",
  7482. "schema": {
  7483. "$ref": "#/definitions/app.Response"
  7484. }
  7485. }
  7486. }
  7487. }
  7488. },
  7489. "/SZDZ/QueryConvertConfig": {
  7490. "get": {
  7491. "security": [
  7492. {
  7493. "ApiKeyAuth": []
  7494. }
  7495. ],
  7496. "produces": [
  7497. "application/json"
  7498. ],
  7499. "tags": [
  7500. "定制【尚志大宗】"
  7501. ],
  7502. "summary": "查询交易系统转换设置",
  7503. "parameters": [
  7504. {
  7505. "type": "integer",
  7506. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7507. "name": "convertType",
  7508. "in": "query"
  7509. },
  7510. {
  7511. "type": "string",
  7512. "description": "外部商品代码[JD\\PD]",
  7513. "name": "outerGoodsCode",
  7514. "in": "query"
  7515. },
  7516. {
  7517. "type": "string",
  7518. "description": "内部商品ID列表[交易],格式:1,2,3",
  7519. "name": "innerGoodsIDs",
  7520. "in": "query"
  7521. }
  7522. ],
  7523. "responses": {
  7524. "200": {
  7525. "description": "OK",
  7526. "schema": {
  7527. "$ref": "#/definitions/models.Szdz3convertconfig"
  7528. }
  7529. },
  7530. "500": {
  7531. "description": "Internal Server Error",
  7532. "schema": {
  7533. "$ref": "#/definitions/app.Response"
  7534. }
  7535. }
  7536. }
  7537. }
  7538. },
  7539. "/SZDZ/QueryConvertLog": {
  7540. "get": {
  7541. "security": [
  7542. {
  7543. "ApiKeyAuth": []
  7544. }
  7545. ],
  7546. "produces": [
  7547. "application/json"
  7548. ],
  7549. "tags": [
  7550. "定制【尚志大宗】"
  7551. ],
  7552. "summary": "交易系统转换流水查询",
  7553. "parameters": [
  7554. {
  7555. "type": "string",
  7556. "description": "资金账户 - 格式:1,2,3",
  7557. "name": "accountID",
  7558. "in": "query",
  7559. "required": true
  7560. },
  7561. {
  7562. "type": "string",
  7563. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7564. "name": "startDate",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7570. "name": "endDate",
  7571. "in": "query"
  7572. }
  7573. ],
  7574. "responses": {
  7575. "200": {
  7576. "description": "OK",
  7577. "schema": {
  7578. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/SZDZ/QueryGoodsPickup": {
  7591. "get": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "定制【尚志大宗】"
  7602. ],
  7603. "summary": "商品提货单查询",
  7604. "parameters": [
  7605. {
  7606. "type": "string",
  7607. "description": "资金账户 - 格式:1,2,3",
  7608. "name": "accountID",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "integer",
  7614. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7615. "name": "takeOrderStatus",
  7616. "in": "query"
  7617. }
  7618. ],
  7619. "responses": {
  7620. "200": {
  7621. "description": "OK",
  7622. "schema": {
  7623. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7624. }
  7625. },
  7626. "500": {
  7627. "description": "Internal Server Error",
  7628. "schema": {
  7629. "$ref": "#/definitions/app.Response"
  7630. }
  7631. }
  7632. }
  7633. }
  7634. },
  7635. "/SZDZ/QueryRecieptOrder": {
  7636. "get": {
  7637. "security": [
  7638. {
  7639. "ApiKeyAuth": []
  7640. }
  7641. ],
  7642. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7643. "produces": [
  7644. "application/json"
  7645. ],
  7646. "tags": [
  7647. "定制【尚志大宗】"
  7648. ],
  7649. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7650. "parameters": [
  7651. {
  7652. "type": "integer",
  7653. "description": "页码",
  7654. "name": "page",
  7655. "in": "query"
  7656. },
  7657. {
  7658. "type": "integer",
  7659. "description": "每页条数",
  7660. "name": "pagesize",
  7661. "in": "query"
  7662. },
  7663. {
  7664. "type": "integer",
  7665. "description": "商品ID",
  7666. "name": "goodsID",
  7667. "in": "query",
  7668. "required": true
  7669. },
  7670. {
  7671. "type": "string",
  7672. "description": "所属账户名称",
  7673. "name": "accountName",
  7674. "in": "query"
  7675. },
  7676. {
  7677. "type": "integer",
  7678. "description": "市场ID",
  7679. "name": "marketID",
  7680. "in": "query"
  7681. },
  7682. {
  7683. "type": "integer",
  7684. "description": "方向 - 0:买 1:卖",
  7685. "name": "buyorsell",
  7686. "in": "query",
  7687. "required": true
  7688. }
  7689. ],
  7690. "responses": {
  7691. "200": {
  7692. "description": "OK",
  7693. "schema": {
  7694. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7695. }
  7696. },
  7697. "500": {
  7698. "description": "Internal Server Error",
  7699. "schema": {
  7700. "$ref": "#/definitions/app.Response"
  7701. }
  7702. }
  7703. }
  7704. }
  7705. },
  7706. "/SZDZ/QuerySZDZTradePosition": {
  7707. "get": {
  7708. "security": [
  7709. {
  7710. "ApiKeyAuth": []
  7711. }
  7712. ],
  7713. "produces": [
  7714. "application/json"
  7715. ],
  7716. "tags": [
  7717. "定制【尚志大宗】"
  7718. ],
  7719. "summary": "持仓汇总查询(尚志大宗)",
  7720. "parameters": [
  7721. {
  7722. "type": "integer",
  7723. "description": "资金账户",
  7724. "name": "accountID",
  7725. "in": "query",
  7726. "required": true
  7727. }
  7728. ],
  7729. "responses": {
  7730. "200": {
  7731. "description": "OK",
  7732. "schema": {
  7733. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/SZDZ/SearchWhite": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "定制【尚志大宗】"
  7757. ],
  7758. "summary": "搜索白名单",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "用户ID",
  7763. "name": "userID",
  7764. "in": "query",
  7765. "required": true
  7766. }
  7767. ],
  7768. "responses": {
  7769. "200": {
  7770. "description": "OK",
  7771. "schema": {
  7772. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7773. }
  7774. },
  7775. "500": {
  7776. "description": "Internal Server Error",
  7777. "schema": {
  7778. "$ref": "#/definitions/app.Response"
  7779. }
  7780. }
  7781. }
  7782. }
  7783. },
  7784. "/Search/SearchGoodses": {
  7785. "get": {
  7786. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7787. "produces": [
  7788. "application/json"
  7789. ],
  7790. "tags": [
  7791. "检索服务"
  7792. ],
  7793. "summary": "检索商品信息",
  7794. "parameters": [
  7795. {
  7796. "type": "string",
  7797. "description": "检索内容",
  7798. "name": "content",
  7799. "in": "query",
  7800. "required": true
  7801. },
  7802. {
  7803. "type": "string",
  7804. "description": "交易模式,格式:1,2,3",
  7805. "name": "tradeModes",
  7806. "in": "query"
  7807. }
  7808. ],
  7809. "responses": {
  7810. "200": {
  7811. "description": "OK",
  7812. "schema": {
  7813. "$ref": "#/definitions/models.SearchGoods"
  7814. }
  7815. },
  7816. "500": {
  7817. "description": "Internal Server Error",
  7818. "schema": {
  7819. "$ref": "#/definitions/app.Response"
  7820. }
  7821. }
  7822. }
  7823. }
  7824. },
  7825. "/TaAccount/GetTaAccounts": {
  7826. "get": {
  7827. "security": [
  7828. {
  7829. "ApiKeyAuth": []
  7830. }
  7831. ],
  7832. "produces": [
  7833. "application/json"
  7834. ],
  7835. "tags": [
  7836. "资金账户"
  7837. ],
  7838. "summary": "获取资金账户信息",
  7839. "parameters": [
  7840. {
  7841. "type": "integer",
  7842. "description": "登录账户",
  7843. "name": "loginID",
  7844. "in": "query",
  7845. "required": true
  7846. },
  7847. {
  7848. "type": "integer",
  7849. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7850. "name": "taAccountType",
  7851. "in": "query"
  7852. }
  7853. ],
  7854. "responses": {
  7855. "200": {
  7856. "description": "OK",
  7857. "schema": {
  7858. "$ref": "#/definitions/models.Taaccount"
  7859. }
  7860. },
  7861. "500": {
  7862. "description": "Internal Server Error",
  7863. "schema": {
  7864. "$ref": "#/definitions/app.Response"
  7865. }
  7866. }
  7867. }
  7868. }
  7869. },
  7870. "/TaAccount/QueryAmountLog": {
  7871. "get": {
  7872. "security": [
  7873. {
  7874. "ApiKeyAuth": []
  7875. }
  7876. ],
  7877. "produces": [
  7878. "application/json"
  7879. ],
  7880. "tags": [
  7881. "资金账户"
  7882. ],
  7883. "summary": "资金流水查询(当前)",
  7884. "parameters": [
  7885. {
  7886. "type": "integer",
  7887. "description": "页码",
  7888. "name": "page",
  7889. "in": "query"
  7890. },
  7891. {
  7892. "type": "integer",
  7893. "description": "每页条数",
  7894. "name": "pagesize",
  7895. "in": "query"
  7896. },
  7897. {
  7898. "type": "string",
  7899. "description": "资金账户 - 格式:1,2,3",
  7900. "name": "accountID",
  7901. "in": "query",
  7902. "required": true
  7903. },
  7904. {
  7905. "type": "string",
  7906. "description": "资金操作类型 - 格式:1,2,3",
  7907. "name": "OperateType",
  7908. "in": "query"
  7909. }
  7910. ],
  7911. "responses": {
  7912. "200": {
  7913. "description": "OK",
  7914. "schema": {
  7915. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7916. }
  7917. },
  7918. "500": {
  7919. "description": "Internal Server Error",
  7920. "schema": {
  7921. "$ref": "#/definitions/app.Response"
  7922. }
  7923. }
  7924. }
  7925. }
  7926. },
  7927. "/TaAccount/QueryHisAmountLog": {
  7928. "get": {
  7929. "security": [
  7930. {
  7931. "ApiKeyAuth": []
  7932. }
  7933. ],
  7934. "produces": [
  7935. "application/json"
  7936. ],
  7937. "tags": [
  7938. "资金账户"
  7939. ],
  7940. "summary": "资金流水查询(历史)",
  7941. "parameters": [
  7942. {
  7943. "type": "integer",
  7944. "description": "页码",
  7945. "name": "page",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "integer",
  7950. "description": "每页条数",
  7951. "name": "pagesize",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "string",
  7956. "description": "资金账户 - 格式:1,2,3",
  7957. "name": "accountID",
  7958. "in": "query",
  7959. "required": true
  7960. },
  7961. {
  7962. "type": "string",
  7963. "description": "资金操作类型 - 格式:1,2,3",
  7964. "name": "OperateType",
  7965. "in": "query"
  7966. },
  7967. {
  7968. "type": "string",
  7969. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7970. "name": "startDate",
  7971. "in": "query"
  7972. },
  7973. {
  7974. "type": "string",
  7975. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7976. "name": "endDate",
  7977. "in": "query"
  7978. }
  7979. ],
  7980. "responses": {
  7981. "200": {
  7982. "description": "OK",
  7983. "schema": {
  7984. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7985. }
  7986. },
  7987. "500": {
  7988. "description": "Internal Server Error",
  7989. "schema": {
  7990. "$ref": "#/definitions/app.Response"
  7991. }
  7992. }
  7993. }
  7994. }
  7995. },
  7996. "/Trade/QueryRecieptOrder": {
  7997. "get": {
  7998. "security": [
  7999. {
  8000. "ApiKeyAuth": []
  8001. }
  8002. ],
  8003. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "通用交易"
  8009. ],
  8010. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "页码",
  8015. "name": "page",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "每页条数",
  8021. "name": "pagesize",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "integer",
  8026. "description": "商品ID",
  8027. "name": "goodsID",
  8028. "in": "query",
  8029. "required": true
  8030. },
  8031. {
  8032. "type": "string",
  8033. "description": "所属账户名称",
  8034. "name": "accountName",
  8035. "in": "query"
  8036. },
  8037. {
  8038. "type": "integer",
  8039. "description": "市场ID",
  8040. "name": "marketID",
  8041. "in": "query"
  8042. },
  8043. {
  8044. "type": "integer",
  8045. "description": "方向 - 0:买 1:卖",
  8046. "name": "buyorsell",
  8047. "in": "query",
  8048. "required": true
  8049. }
  8050. ],
  8051. "responses": {
  8052. "200": {
  8053. "description": "OK",
  8054. "schema": {
  8055. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/User/AddMessageBoard": {
  8068. "post": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "用户信息"
  8079. ],
  8080. "summary": "添加用户留言板信息",
  8081. "parameters": [
  8082. {
  8083. "type": "integer",
  8084. "description": "用户ID",
  8085. "name": "userID",
  8086. "in": "query",
  8087. "required": true
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "留言信息",
  8092. "name": "message",
  8093. "in": "query",
  8094. "required": true
  8095. },
  8096. {
  8097. "type": "string",
  8098. "description": "联系电话",
  8099. "name": "contactNum",
  8100. "in": "query",
  8101. "required": true
  8102. }
  8103. ],
  8104. "responses": {
  8105. "200": {
  8106. "description": "OK",
  8107. "schema": {
  8108. "$ref": "#/definitions/app.Response"
  8109. }
  8110. },
  8111. "500": {
  8112. "description": "Internal Server Error",
  8113. "schema": {
  8114. "$ref": "#/definitions/app.Response"
  8115. }
  8116. }
  8117. }
  8118. }
  8119. },
  8120. "/User/AddUserFavoriteGoods": {
  8121. "post": {
  8122. "security": [
  8123. {
  8124. "ApiKeyAuth": []
  8125. }
  8126. ],
  8127. "produces": [
  8128. "application/json"
  8129. ],
  8130. "tags": [
  8131. "用户信息"
  8132. ],
  8133. "summary": "添加用户商品收藏信息",
  8134. "parameters": [
  8135. {
  8136. "type": "integer",
  8137. "description": "用户ID",
  8138. "name": "userID",
  8139. "in": "query",
  8140. "required": true
  8141. },
  8142. {
  8143. "type": "integer",
  8144. "description": "商品ID",
  8145. "name": "goodsID",
  8146. "in": "query",
  8147. "required": true
  8148. }
  8149. ],
  8150. "responses": {
  8151. "200": {
  8152. "description": "OK",
  8153. "schema": {
  8154. "$ref": "#/definitions/app.Response"
  8155. }
  8156. },
  8157. "500": {
  8158. "description": "Internal Server Error",
  8159. "schema": {
  8160. "$ref": "#/definitions/app.Response"
  8161. }
  8162. }
  8163. }
  8164. }
  8165. },
  8166. "/User/GetLoginID": {
  8167. "get": {
  8168. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8169. "produces": [
  8170. "application/json"
  8171. ],
  8172. "tags": [
  8173. "用户信息"
  8174. ],
  8175. "summary": "获取登录ID",
  8176. "parameters": [
  8177. {
  8178. "type": "string",
  8179. "description": "登录代码",
  8180. "name": "username",
  8181. "in": "query",
  8182. "required": true
  8183. }
  8184. ],
  8185. "responses": {
  8186. "200": {
  8187. "description": "OK",
  8188. "schema": {
  8189. "$ref": "#/definitions/app.Response"
  8190. }
  8191. },
  8192. "500": {
  8193. "description": "Internal Server Error",
  8194. "schema": {
  8195. "$ref": "#/definitions/app.Response"
  8196. }
  8197. }
  8198. }
  8199. }
  8200. },
  8201. "/User/GetUserAccount": {
  8202. "get": {
  8203. "security": [
  8204. {
  8205. "ApiKeyAuth": []
  8206. }
  8207. ],
  8208. "produces": [
  8209. "application/json"
  8210. ],
  8211. "tags": [
  8212. "用户信息"
  8213. ],
  8214. "summary": "获取用户账号信息",
  8215. "parameters": [
  8216. {
  8217. "type": "integer",
  8218. "description": "用户ID",
  8219. "name": "userID",
  8220. "in": "query",
  8221. "required": true
  8222. }
  8223. ],
  8224. "responses": {
  8225. "200": {
  8226. "description": "OK",
  8227. "schema": {
  8228. "$ref": "#/definitions/models.Useraccount"
  8229. }
  8230. },
  8231. "500": {
  8232. "description": "Internal Server Error",
  8233. "schema": {
  8234. "$ref": "#/definitions/app.Response"
  8235. }
  8236. }
  8237. }
  8238. }
  8239. },
  8240. "/User/GetUserAuthStatus": {
  8241. "get": {
  8242. "security": [
  8243. {
  8244. "ApiKeyAuth": []
  8245. }
  8246. ],
  8247. "produces": [
  8248. "application/json"
  8249. ],
  8250. "tags": [
  8251. "用户信息"
  8252. ],
  8253. "summary": "获取用户实名认证状态",
  8254. "parameters": [
  8255. {
  8256. "type": "integer",
  8257. "description": "用户ID",
  8258. "name": "userID",
  8259. "in": "query",
  8260. "required": true
  8261. }
  8262. ],
  8263. "responses": {
  8264. "200": {
  8265. "description": "OK",
  8266. "schema": {
  8267. "$ref": "#/definitions/app.Response"
  8268. }
  8269. },
  8270. "500": {
  8271. "description": "Internal Server Error",
  8272. "schema": {
  8273. "$ref": "#/definitions/app.Response"
  8274. }
  8275. }
  8276. }
  8277. }
  8278. },
  8279. "/User/LoginQuery": {
  8280. "get": {
  8281. "security": [
  8282. {
  8283. "ApiKeyAuth": []
  8284. }
  8285. ],
  8286. "produces": [
  8287. "application/json"
  8288. ],
  8289. "tags": [
  8290. "用户信息"
  8291. ],
  8292. "summary": "账户登录后信息查询",
  8293. "parameters": [
  8294. {
  8295. "type": "integer",
  8296. "description": "登录账号",
  8297. "name": "loginID",
  8298. "in": "query",
  8299. "required": true
  8300. }
  8301. ],
  8302. "responses": {
  8303. "200": {
  8304. "description": "OK",
  8305. "schema": {
  8306. "$ref": "#/definitions/user.LoginQueryRsp"
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/User/QueryMessageBoard": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "用户信息"
  8330. ],
  8331. "summary": "获取用户留言板信息",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userID",
  8337. "in": "query",
  8338. "required": true
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "$ref": "#/definitions/models.Messageboard"
  8346. }
  8347. },
  8348. "500": {
  8349. "description": "Internal Server Error",
  8350. "schema": {
  8351. "$ref": "#/definitions/app.Response"
  8352. }
  8353. }
  8354. }
  8355. }
  8356. },
  8357. "/User/QueryUserFavoriteGoodses": {
  8358. "get": {
  8359. "security": [
  8360. {
  8361. "ApiKeyAuth": []
  8362. }
  8363. ],
  8364. "produces": [
  8365. "application/json"
  8366. ],
  8367. "tags": [
  8368. "用户信息"
  8369. ],
  8370. "summary": "获取用户商品收藏信息",
  8371. "parameters": [
  8372. {
  8373. "type": "integer",
  8374. "description": "用户ID",
  8375. "name": "userID",
  8376. "in": "query",
  8377. "required": true
  8378. }
  8379. ],
  8380. "responses": {
  8381. "200": {
  8382. "description": "OK",
  8383. "schema": {
  8384. "$ref": "#/definitions/models.Userfavoritegoods"
  8385. }
  8386. },
  8387. "500": {
  8388. "description": "Internal Server Error",
  8389. "schema": {
  8390. "$ref": "#/definitions/app.Response"
  8391. }
  8392. }
  8393. }
  8394. }
  8395. },
  8396. "/User/QueryUserInfo": {
  8397. "get": {
  8398. "security": [
  8399. {
  8400. "ApiKeyAuth": []
  8401. }
  8402. ],
  8403. "produces": [
  8404. "application/json"
  8405. ],
  8406. "tags": [
  8407. "用户信息"
  8408. ],
  8409. "summary": "获取用户信息",
  8410. "parameters": [
  8411. {
  8412. "type": "integer",
  8413. "description": "用户ID",
  8414. "name": "userID",
  8415. "in": "query",
  8416. "required": true
  8417. },
  8418. {
  8419. "type": "boolean",
  8420. "description": "是否解密",
  8421. "name": "isDecrypt",
  8422. "in": "query"
  8423. }
  8424. ],
  8425. "responses": {
  8426. "200": {
  8427. "description": "OK",
  8428. "schema": {
  8429. "$ref": "#/definitions/models.Userinfo"
  8430. }
  8431. },
  8432. "500": {
  8433. "description": "Internal Server Error",
  8434. "schema": {
  8435. "$ref": "#/definitions/app.Response"
  8436. }
  8437. }
  8438. }
  8439. }
  8440. },
  8441. "/User/QueryUserReferNum": {
  8442. "get": {
  8443. "produces": [
  8444. "application/json"
  8445. ],
  8446. "tags": [
  8447. "用户信息"
  8448. ],
  8449. "summary": "获取用户邀请码",
  8450. "parameters": [
  8451. {
  8452. "type": "integer",
  8453. "description": "用户ID",
  8454. "name": "userID",
  8455. "in": "query",
  8456. "required": true
  8457. }
  8458. ],
  8459. "responses": {
  8460. "200": {
  8461. "description": "OK",
  8462. "schema": {
  8463. "$ref": "#/definitions/app.Response"
  8464. }
  8465. },
  8466. "500": {
  8467. "description": "Internal Server Error",
  8468. "schema": {
  8469. "$ref": "#/definitions/app.Response"
  8470. }
  8471. }
  8472. }
  8473. }
  8474. },
  8475. "/User/RemoveUserFavoriteGoods": {
  8476. "post": {
  8477. "security": [
  8478. {
  8479. "ApiKeyAuth": []
  8480. }
  8481. ],
  8482. "produces": [
  8483. "application/json"
  8484. ],
  8485. "tags": [
  8486. "用户信息"
  8487. ],
  8488. "summary": "移除用户商品收藏信息",
  8489. "parameters": [
  8490. {
  8491. "type": "integer",
  8492. "description": "用户ID",
  8493. "name": "userID",
  8494. "in": "query",
  8495. "required": true
  8496. },
  8497. {
  8498. "type": "integer",
  8499. "description": "商品ID",
  8500. "name": "goodsID",
  8501. "in": "query",
  8502. "required": true
  8503. }
  8504. ],
  8505. "responses": {
  8506. "200": {
  8507. "description": "OK",
  8508. "schema": {
  8509. "$ref": "#/definitions/app.Response"
  8510. }
  8511. },
  8512. "500": {
  8513. "description": "Internal Server Error",
  8514. "schema": {
  8515. "$ref": "#/definitions/app.Response"
  8516. }
  8517. }
  8518. }
  8519. }
  8520. },
  8521. "/User/UpdateUserAccountStatus": {
  8522. "post": {
  8523. "security": [
  8524. {
  8525. "ApiKeyAuth": []
  8526. }
  8527. ],
  8528. "produces": [
  8529. "application/json"
  8530. ],
  8531. "tags": [
  8532. "用户信息"
  8533. ],
  8534. "summary": "更新用户状态",
  8535. "parameters": [
  8536. {
  8537. "type": "integer",
  8538. "description": "用户ID",
  8539. "name": "userID",
  8540. "in": "query",
  8541. "required": true
  8542. },
  8543. {
  8544. "type": "integer",
  8545. "description": "账户状态 - 4:正常 6:注销(停用)",
  8546. "name": "accountStatus",
  8547. "in": "query",
  8548. "required": true
  8549. }
  8550. ],
  8551. "responses": {
  8552. "200": {
  8553. "description": "OK",
  8554. "schema": {
  8555. "$ref": "#/definitions/app.Response"
  8556. }
  8557. },
  8558. "500": {
  8559. "description": "Internal Server Error",
  8560. "schema": {
  8561. "$ref": "#/definitions/app.Response"
  8562. }
  8563. }
  8564. }
  8565. }
  8566. },
  8567. "/WRTrade/GetAllDeliveryGoods": {
  8568. "get": {
  8569. "security": [
  8570. {
  8571. "ApiKeyAuth": []
  8572. },
  8573. {
  8574. "ApiKeyAuth": []
  8575. }
  8576. ],
  8577. "produces": [
  8578. "application/json",
  8579. "application/json"
  8580. ],
  8581. "tags": [
  8582. "仓单贸易",
  8583. "仓单贸易"
  8584. ],
  8585. "summary": "获取带仓单分类的种类信息",
  8586. "responses": {
  8587. "200": {
  8588. "description": "OK",
  8589. "schema": {
  8590. "$ref": "#/definitions/app.Response"
  8591. }
  8592. },
  8593. "500": {
  8594. "description": "Internal Server Error",
  8595. "schema": {
  8596. "$ref": "#/definitions/app.Response"
  8597. }
  8598. }
  8599. }
  8600. }
  8601. }
  8602. },
  8603. "definitions": {
  8604. "app.Response": {
  8605. "type": "object",
  8606. "properties": {
  8607. "code": {
  8608. "type": "integer"
  8609. },
  8610. "data": {
  8611. "type": "object"
  8612. },
  8613. "msg": {
  8614. "type": "string"
  8615. },
  8616. "page": {
  8617. "description": "页码",
  8618. "type": "integer"
  8619. },
  8620. "pagesize": {
  8621. "description": "每页条数",
  8622. "type": "integer"
  8623. },
  8624. "total": {
  8625. "description": "总条数",
  8626. "type": "integer"
  8627. }
  8628. }
  8629. },
  8630. "common.ClientMenu": {
  8631. "type": "object",
  8632. "properties": {
  8633. "children": {
  8634. "description": "子菜单列表",
  8635. "type": "array",
  8636. "items": {
  8637. "$ref": "#/definitions/common.ClientMenu"
  8638. }
  8639. },
  8640. "code": {
  8641. "description": "ID",
  8642. "type": "string"
  8643. },
  8644. "isshow": {
  8645. "description": "是否显示",
  8646. "type": "boolean"
  8647. },
  8648. "rulekey": {
  8649. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8650. "type": "string"
  8651. },
  8652. "sort": {
  8653. "description": "排序",
  8654. "type": "integer"
  8655. },
  8656. "title": {
  8657. "description": "标题",
  8658. "type": "string"
  8659. },
  8660. "type": {
  8661. "description": "类型,1:菜单 2:按钮",
  8662. "type": "integer"
  8663. }
  8664. }
  8665. },
  8666. "common.QueryImageConfigsRsp": {
  8667. "type": "object",
  8668. "required": [
  8669. "configid"
  8670. ],
  8671. "properties": {
  8672. "areauserid": {
  8673. "description": "所属机构ID",
  8674. "type": "integer"
  8675. },
  8676. "configid": {
  8677. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8678. "type": "integer"
  8679. },
  8680. "createdate": {
  8681. "description": "创建时间",
  8682. "type": "string"
  8683. },
  8684. "creatorid": {
  8685. "description": "创建人",
  8686. "type": "integer"
  8687. },
  8688. "imagepath": {
  8689. "description": "图片",
  8690. "type": "string"
  8691. },
  8692. "imagetype": {
  8693. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8694. "type": "integer"
  8695. },
  8696. "isshow": {
  8697. "description": "是否展示 - 0:不展示 1:展示",
  8698. "type": "integer"
  8699. },
  8700. "marketid": {
  8701. "description": "市场ID",
  8702. "type": "integer"
  8703. },
  8704. "modifierid": {
  8705. "description": "操作人",
  8706. "type": "integer"
  8707. },
  8708. "sort": {
  8709. "description": "排序",
  8710. "type": "integer"
  8711. },
  8712. "title": {
  8713. "description": "标题",
  8714. "type": "string"
  8715. },
  8716. "trademode": {
  8717. "description": "交易模式",
  8718. "type": "integer"
  8719. },
  8720. "updatedate": {
  8721. "description": "修改时间",
  8722. "type": "string"
  8723. },
  8724. "url": {
  8725. "description": "链接(地址或商品ID)",
  8726. "type": "string"
  8727. },
  8728. "urltype": {
  8729. "description": "链接类型 - 1:直接地址 2:商品ID",
  8730. "type": "integer"
  8731. }
  8732. }
  8733. },
  8734. "common.QueryNoticeRsp": {
  8735. "type": "object",
  8736. "required": [
  8737. "autoid"
  8738. ],
  8739. "properties": {
  8740. "auditoruserid": {
  8741. "description": "审核人",
  8742. "type": "integer"
  8743. },
  8744. "auditremark": {
  8745. "description": "审核备注",
  8746. "type": "string"
  8747. },
  8748. "audittime": {
  8749. "description": "审核日期",
  8750. "type": "string"
  8751. },
  8752. "autoid": {
  8753. "description": "自增ID",
  8754. "type": "integer"
  8755. },
  8756. "content": {
  8757. "description": "内容",
  8758. "type": "string"
  8759. },
  8760. "createtime": {
  8761. "description": "创建时间",
  8762. "type": "string"
  8763. },
  8764. "creatorid": {
  8765. "description": "建仓人",
  8766. "type": "integer"
  8767. },
  8768. "endtime": {
  8769. "description": "结束时间",
  8770. "type": "string"
  8771. },
  8772. "istop": {
  8773. "description": "是否置顶 - 0:不置顶 1:置顶",
  8774. "type": "integer"
  8775. },
  8776. "msgiconurl": {
  8777. "description": "消息图标Url",
  8778. "type": "string"
  8779. },
  8780. "msgtype": {
  8781. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8782. "type": "integer"
  8783. },
  8784. "publisher": {
  8785. "description": "消息发布者",
  8786. "type": "string"
  8787. },
  8788. "readed": {
  8789. "description": "是否已读",
  8790. "type": "boolean"
  8791. },
  8792. "scheduletime": {
  8793. "description": "计划发送时间",
  8794. "type": "string"
  8795. },
  8796. "sendtype": {
  8797. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8798. "type": "integer"
  8799. },
  8800. "sentstatus": {
  8801. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8802. "type": "integer"
  8803. },
  8804. "title": {
  8805. "description": "标题",
  8806. "type": "string"
  8807. },
  8808. "userid": {
  8809. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8810. "type": "integer"
  8811. }
  8812. }
  8813. },
  8814. "common.QueryProvincesAndCitiesRsp": {
  8815. "type": "object",
  8816. "properties": {
  8817. "cities": {
  8818. "description": "市",
  8819. "type": "array",
  8820. "items": {
  8821. "$ref": "#/definitions/models.Division"
  8822. }
  8823. },
  8824. "province": {
  8825. "description": "省",
  8826. "$ref": "#/definitions/models.Division"
  8827. }
  8828. }
  8829. },
  8830. "common.QueryTableDefineRsp": {
  8831. "type": "object",
  8832. "required": [
  8833. "tablekey"
  8834. ],
  8835. "properties": {
  8836. "columns": {
  8837. "description": "列头信息数组",
  8838. "type": "array",
  8839. "items": {
  8840. "$ref": "#/definitions/models.Tablecolumnconfig"
  8841. }
  8842. },
  8843. "remark": {
  8844. "description": "Remark",
  8845. "type": "string"
  8846. },
  8847. "tabelmenu": {
  8848. "description": "列表菜单",
  8849. "type": "string"
  8850. },
  8851. "tablekey": {
  8852. "description": "列表Key",
  8853. "type": "string"
  8854. },
  8855. "tablename": {
  8856. "description": "列表名称",
  8857. "type": "string"
  8858. },
  8859. "tabletype": {
  8860. "description": "列表类型 - 1:管理端 2:终端",
  8861. "type": "integer"
  8862. }
  8863. }
  8864. },
  8865. "common.QueryTraderMenuRsp": {
  8866. "type": "object",
  8867. "properties": {
  8868. "OperationMenu": {
  8869. "description": "功能菜单",
  8870. "type": "array",
  8871. "items": {
  8872. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8873. }
  8874. },
  8875. "QuoteMenu": {
  8876. "description": "报价牌分类菜单",
  8877. "type": "array",
  8878. "items": {
  8879. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8880. }
  8881. }
  8882. }
  8883. },
  8884. "cptrade.Cptradepositioncancel": {
  8885. "type": "object",
  8886. "required": [
  8887. "cancelid"
  8888. ],
  8889. "properties": {
  8890. "accountid": {
  8891. "description": "申请人账户ID",
  8892. "type": "integer"
  8893. },
  8894. "applystatus": {
  8895. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8896. "type": "integer"
  8897. },
  8898. "applytime": {
  8899. "description": "申请时间",
  8900. "type": "string"
  8901. },
  8902. "cancelid": {
  8903. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8904. "type": "integer"
  8905. },
  8906. "cancelqty": {
  8907. "description": "注销数量",
  8908. "type": "integer"
  8909. },
  8910. "createtime": {
  8911. "description": "创建时间",
  8912. "type": "string"
  8913. },
  8914. "creatorid": {
  8915. "description": "创建人ID",
  8916. "type": "integer"
  8917. },
  8918. "creatorname": {
  8919. "description": "创建人",
  8920. "type": "string"
  8921. },
  8922. "goodscode": {
  8923. "description": "订单商品代码",
  8924. "type": "string"
  8925. },
  8926. "goodsid": {
  8927. "description": "商品ID",
  8928. "type": "integer"
  8929. },
  8930. "goodsname": {
  8931. "description": "订单商品名称",
  8932. "type": "string"
  8933. },
  8934. "goodunit": {
  8935. "description": "报价单位",
  8936. "type": "string"
  8937. },
  8938. "handlestatus": {
  8939. "description": "处理状态",
  8940. "type": "integer"
  8941. },
  8942. "marketid": {
  8943. "description": "市场ID",
  8944. "type": "integer"
  8945. },
  8946. "marketname": {
  8947. "description": "市场名称",
  8948. "type": "string"
  8949. },
  8950. "tradedate": {
  8951. "description": "交易日(yyyyMMdd)",
  8952. "type": "string"
  8953. },
  8954. "userid": {
  8955. "description": "申请人ID",
  8956. "type": "integer"
  8957. }
  8958. }
  8959. },
  8960. "cptrade.Cptradepresaleapply": {
  8961. "type": "object",
  8962. "required": [
  8963. "applyid"
  8964. ],
  8965. "properties": {
  8966. "accountid": {
  8967. "description": "申请人账户ID",
  8968. "type": "integer"
  8969. },
  8970. "applyid": {
  8971. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8972. "type": "integer"
  8973. },
  8974. "applyremark": {
  8975. "description": "申请备注",
  8976. "type": "string"
  8977. },
  8978. "applystatus": {
  8979. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8980. "type": "integer"
  8981. },
  8982. "applytime": {
  8983. "description": "申请时间",
  8984. "type": "string"
  8985. },
  8986. "attachmenturl": {
  8987. "description": "附件地址",
  8988. "type": "string"
  8989. },
  8990. "endtime": {
  8991. "description": "预售结束时间",
  8992. "type": "string"
  8993. },
  8994. "goodscode": {
  8995. "description": "商品代码",
  8996. "type": "string"
  8997. },
  8998. "goodsid": {
  8999. "description": "商品ID",
  9000. "type": "integer"
  9001. },
  9002. "goodsname": {
  9003. "description": "商品名称",
  9004. "type": "string"
  9005. },
  9006. "goodunit": {
  9007. "description": "报价单位",
  9008. "type": "string"
  9009. },
  9010. "handlestatus": {
  9011. "description": "处理状态",
  9012. "type": "integer"
  9013. },
  9014. "marketid": {
  9015. "description": "预售市场ID",
  9016. "type": "integer"
  9017. },
  9018. "marketname": {
  9019. "description": "预售市场名称",
  9020. "type": "string"
  9021. },
  9022. "presaleqty": {
  9023. "description": "预售数量",
  9024. "type": "integer"
  9025. },
  9026. "relatedgoodscode": {
  9027. "description": "关联交易合约代码",
  9028. "type": "string"
  9029. },
  9030. "relatedgoodsid": {
  9031. "description": "关联交易合约ID",
  9032. "type": "integer"
  9033. },
  9034. "relatedgoodsname": {
  9035. "description": "关联交易合约名称",
  9036. "type": "string"
  9037. },
  9038. "starttime": {
  9039. "description": "预售开始时间",
  9040. "type": "string"
  9041. },
  9042. "tradedate": {
  9043. "description": "交易日(yyyyMMdd)",
  9044. "type": "string"
  9045. },
  9046. "trademode": {
  9047. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9048. "type": "integer"
  9049. },
  9050. "userid": {
  9051. "description": "申请人ID",
  9052. "type": "integer"
  9053. }
  9054. }
  9055. },
  9056. "cptrade.Cptradeusergoodsdata": {
  9057. "type": "object",
  9058. "required": [
  9059. "accountid",
  9060. "goodsid"
  9061. ],
  9062. "properties": {
  9063. "EnabledQty": {
  9064. "description": "可用量",
  9065. "type": "integer"
  9066. },
  9067. "GoodsCode": {
  9068. "description": "订单商品代码",
  9069. "type": "string"
  9070. },
  9071. "GoodsName": {
  9072. "description": "订单商品名称",
  9073. "type": "string"
  9074. },
  9075. "WRStandardCode": {
  9076. "description": "仓单标准代码",
  9077. "type": "string"
  9078. },
  9079. "WRStandardName": {
  9080. "description": "仓单标准名称",
  9081. "type": "string"
  9082. },
  9083. "accountid": {
  9084. "description": "账户ID",
  9085. "type": "integer"
  9086. },
  9087. "cancelqty": {
  9088. "description": "注销量",
  9089. "type": "integer"
  9090. },
  9091. "curpresaleqty": {
  9092. "description": "当前预售量",
  9093. "type": "integer"
  9094. },
  9095. "deliveryqty": {
  9096. "description": "交割量",
  9097. "type": "integer"
  9098. },
  9099. "freezeamount": {
  9100. "description": "冻结金额",
  9101. "type": "number"
  9102. },
  9103. "goodsid": {
  9104. "description": "商品ID",
  9105. "type": "integer"
  9106. },
  9107. "goodunit": {
  9108. "description": "报价单位",
  9109. "type": "string"
  9110. },
  9111. "hasspotfreeze": {
  9112. "description": "是否有现货冻结 - 0:否 1:有",
  9113. "type": "integer"
  9114. },
  9115. "inqty": {
  9116. "description": "转入量(总数量)",
  9117. "type": "integer"
  9118. },
  9119. "marketid": {
  9120. "description": "市场ID",
  9121. "type": "integer"
  9122. },
  9123. "presaledamount": {
  9124. "description": "已预售总金额",
  9125. "type": "integer"
  9126. },
  9127. "presaledqty": {
  9128. "description": "已预售量",
  9129. "type": "integer"
  9130. },
  9131. "userid": {
  9132. "description": "用户ID",
  9133. "type": "integer"
  9134. },
  9135. "wrstandardid": {
  9136. "description": "仓单标准ID",
  9137. "type": "integer"
  9138. }
  9139. }
  9140. },
  9141. "cptrade.QueryCPTradeMyBidRsp": {
  9142. "type": "object",
  9143. "required": [
  9144. "accountid",
  9145. "goodsid",
  9146. "marketid",
  9147. "orderid",
  9148. "orderqty",
  9149. "ordertime",
  9150. "tradeprice",
  9151. "tradeqty"
  9152. ],
  9153. "properties": {
  9154. "accountid": {
  9155. "description": "账户ID[报价币种]",
  9156. "type": "integer"
  9157. },
  9158. "goodsid": {
  9159. "description": "商品ID",
  9160. "type": "integer"
  9161. },
  9162. "goodunit": {
  9163. "description": "报价单位",
  9164. "type": "string"
  9165. },
  9166. "marketid": {
  9167. "description": "市场ID",
  9168. "type": "integer"
  9169. },
  9170. "orderid": {
  9171. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9172. "type": "integer"
  9173. },
  9174. "orderprice": {
  9175. "description": "委托价格",
  9176. "type": "number"
  9177. },
  9178. "orderqty": {
  9179. "description": "委托数量",
  9180. "type": "integer"
  9181. },
  9182. "ordertime": {
  9183. "description": "委托时间",
  9184. "type": "string"
  9185. },
  9186. "ordertotalprice": {
  9187. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9188. "type": "number"
  9189. },
  9190. "ordertotalweight": {
  9191. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9192. "type": "integer"
  9193. },
  9194. "totaltotalprice": {
  9195. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9196. "type": "number"
  9197. },
  9198. "tradeprice": {
  9199. "description": "成交价格",
  9200. "type": "number"
  9201. },
  9202. "tradeqty": {
  9203. "description": "成交数量",
  9204. "type": "integer"
  9205. }
  9206. }
  9207. },
  9208. "cptrade.QueryCPTradeOrderDetailRsq": {
  9209. "type": "object",
  9210. "required": [
  9211. "accountid",
  9212. "buildtype",
  9213. "buyorsell",
  9214. "goodsid",
  9215. "marketid",
  9216. "memberuserid",
  9217. "operatetype",
  9218. "orderqty",
  9219. "ordertime",
  9220. "pricemode",
  9221. "strorderid",
  9222. "tradedate",
  9223. "validtype"
  9224. ],
  9225. "properties": {
  9226. "accountid": {
  9227. "description": "账户ID[报价币种]",
  9228. "type": "integer"
  9229. },
  9230. "buildtype": {
  9231. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9232. "type": "integer"
  9233. },
  9234. "buyorsell": {
  9235. "description": "买卖 - 0:买 1:卖",
  9236. "type": "integer"
  9237. },
  9238. "cancelorderid": {
  9239. "description": "撤单单号(撤单时填写)",
  9240. "type": "integer"
  9241. },
  9242. "cancelqty": {
  9243. "description": "撤单数量",
  9244. "type": "integer"
  9245. },
  9246. "clientordertime": {
  9247. "description": "客户端委托时间",
  9248. "type": "string"
  9249. },
  9250. "clientticket": {
  9251. "description": "客户端流水号",
  9252. "type": "string"
  9253. },
  9254. "clienttype": {
  9255. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9256. "type": "integer"
  9257. },
  9258. "closeexchagechargevalue": {
  9259. "description": "平仓交易所手续费设置值",
  9260. "type": "number"
  9261. },
  9262. "closefeealgorithm": {
  9263. "description": "平仓手续费收取方式 1:比率 2:固定",
  9264. "type": "integer"
  9265. },
  9266. "closefreezecharge": {
  9267. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9268. "type": "number"
  9269. },
  9270. "closememberchargevalue": {
  9271. "description": "平仓会员手续费设置值",
  9272. "type": "number"
  9273. },
  9274. "closeqty": {
  9275. "description": "平仓数量(先建后平操作 需要记录)",
  9276. "type": "integer"
  9277. },
  9278. "closetradeqty": {
  9279. "description": "平仓成交数量(先建后平操作,需要记录)",
  9280. "type": "integer"
  9281. },
  9282. "closeunfreezecharge": {
  9283. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9284. "type": "number"
  9285. },
  9286. "delistingtype": {
  9287. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9288. "type": "integer"
  9289. },
  9290. "freezecharge": {
  9291. "description": "冻结手续费",
  9292. "type": "number"
  9293. },
  9294. "freezemargin": {
  9295. "description": "冻结保证金(冻结交易金额)",
  9296. "type": "number"
  9297. },
  9298. "gcaccountid": {
  9299. "description": "账户ID[合约币种]",
  9300. "type": "integer"
  9301. },
  9302. "goodsid": {
  9303. "description": "商品ID",
  9304. "type": "integer"
  9305. },
  9306. "isconfirmexercise": {
  9307. "description": "是否确认行权- 0:否 1:是",
  9308. "type": "integer"
  9309. },
  9310. "ispreexercise": {
  9311. "description": "是否预申报- 0:否 1:是",
  9312. "type": "integer"
  9313. },
  9314. "listingselecttype": {
  9315. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9316. "type": "integer"
  9317. },
  9318. "marginalgorithm": {
  9319. "description": "保证金收取方式 1:比率 2:固定",
  9320. "type": "integer"
  9321. },
  9322. "marginvalue": {
  9323. "description": "即市保证金设置值",
  9324. "type": "number"
  9325. },
  9326. "marketid": {
  9327. "description": "市场ID",
  9328. "type": "integer"
  9329. },
  9330. "marketmaxsub": {
  9331. "description": "市价最大偏移范围",
  9332. "type": "number"
  9333. },
  9334. "memberuserid": {
  9335. "description": "所属会员UserID",
  9336. "type": "integer"
  9337. },
  9338. "openexchagechargevalue": {
  9339. "description": "建仓交易所手续费设置值",
  9340. "type": "number"
  9341. },
  9342. "openfeealgorithm": {
  9343. "description": "建仓手续费收取方式 1:比率 2:固定",
  9344. "type": "integer"
  9345. },
  9346. "openfreezecharge": {
  9347. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9348. "type": "number"
  9349. },
  9350. "openmemberchargevalue": {
  9351. "description": "建仓会员手续费设置值",
  9352. "type": "number"
  9353. },
  9354. "openqty": {
  9355. "description": "开仓数量(先建后平操作,需要记录)",
  9356. "type": "integer"
  9357. },
  9358. "opentradeqty": {
  9359. "description": "开仓成交数量(先建后平操作,需要记录)",
  9360. "type": "integer"
  9361. },
  9362. "openunfreezecharge": {
  9363. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9364. "type": "number"
  9365. },
  9366. "operatetype": {
  9367. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9368. "type": "integer"
  9369. },
  9370. "operatorid": {
  9371. "description": "登录账号(LoginID)",
  9372. "type": "integer"
  9373. },
  9374. "optiontype": {
  9375. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9376. "type": "integer"
  9377. },
  9378. "orderprice": {
  9379. "description": "委托价格",
  9380. "type": "number"
  9381. },
  9382. "orderqty": {
  9383. "description": "委托数量",
  9384. "type": "integer"
  9385. },
  9386. "ordersrc": {
  9387. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9388. "type": "integer"
  9389. },
  9390. "orderstatus": {
  9391. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9392. "type": "integer"
  9393. },
  9394. "ordertime": {
  9395. "description": "委托时间",
  9396. "type": "string"
  9397. },
  9398. "preexerciseprice": {
  9399. "description": "预申报价格",
  9400. "type": "number"
  9401. },
  9402. "premium": {
  9403. "description": "权利金",
  9404. "type": "number"
  9405. },
  9406. "preorderid": {
  9407. "description": "关联预埋单号(止盈止损单时填写)",
  9408. "type": "integer"
  9409. },
  9410. "pricemode": {
  9411. "description": "取价方式 - 1:市价 2: 限价",
  9412. "type": "integer"
  9413. },
  9414. "quoteid": {
  9415. "description": "报价单ID",
  9416. "type": "integer"
  9417. },
  9418. "relatedid": {
  9419. "description": "关联单号(交割单)",
  9420. "type": "integer"
  9421. },
  9422. "retcode": {
  9423. "description": "错误代码",
  9424. "type": "integer"
  9425. },
  9426. "sessionid": {
  9427. "description": "会话ID",
  9428. "type": "integer"
  9429. },
  9430. "strorderid": {
  9431. "description": "委托单号",
  9432. "type": "string"
  9433. },
  9434. "tradedate": {
  9435. "description": "交易日(yyyyMMdd)",
  9436. "type": "string"
  9437. },
  9438. "tradeproperty": {
  9439. "description": "交易属性",
  9440. "type": "integer"
  9441. },
  9442. "tradeqty": {
  9443. "description": "成交数量",
  9444. "type": "integer"
  9445. },
  9446. "unfreezecharge": {
  9447. "description": "解冻手续费",
  9448. "type": "number"
  9449. },
  9450. "unfreezemargin": {
  9451. "description": "解冻保证金",
  9452. "type": "number"
  9453. },
  9454. "updatetime": {
  9455. "description": "更新时间",
  9456. "type": "string"
  9457. },
  9458. "uuid": {
  9459. "description": "发起端唯一id",
  9460. "type": "string"
  9461. },
  9462. "validtime": {
  9463. "description": "有效期限",
  9464. "type": "string"
  9465. },
  9466. "validtype": {
  9467. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9468. "type": "integer"
  9469. },
  9470. "volumetype": {
  9471. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9472. "type": "integer"
  9473. }
  9474. }
  9475. },
  9476. "cptrade.QueryMyCPTradeGoodsRsp": {
  9477. "type": "object",
  9478. "required": [
  9479. "goodscode",
  9480. "goodsid",
  9481. "goodsname",
  9482. "marketid",
  9483. "relatedgoodscode",
  9484. "relatedgoodsname"
  9485. ],
  9486. "properties": {
  9487. "accountid": {
  9488. "description": "卖方账户ID",
  9489. "type": "integer"
  9490. },
  9491. "agreeunit": {
  9492. "description": "合约单位",
  9493. "type": "number"
  9494. },
  9495. "applyid": {
  9496. "description": "关联申请ID",
  9497. "type": "integer"
  9498. },
  9499. "attachmenturl": {
  9500. "description": "附件地址",
  9501. "type": "string"
  9502. },
  9503. "createtime": {
  9504. "description": "创建时间",
  9505. "type": "string"
  9506. },
  9507. "currencyid": {
  9508. "description": "报价货币ID",
  9509. "type": "integer"
  9510. },
  9511. "decimalplace": {
  9512. "description": "报价小数位",
  9513. "type": "integer"
  9514. },
  9515. "endtime": {
  9516. "description": "预售结束时间",
  9517. "type": "string"
  9518. },
  9519. "floorprice": {
  9520. "description": "底价[大宗式竞拍]",
  9521. "type": "number"
  9522. },
  9523. "goodscode": {
  9524. "description": "商品代码(预售)",
  9525. "type": "string"
  9526. },
  9527. "goodsdetail": {
  9528. "description": "详情[大宗]",
  9529. "type": "string"
  9530. },
  9531. "goodsid": {
  9532. "description": "商品ID(自增ID SEQ_GOODS)",
  9533. "type": "integer"
  9534. },
  9535. "goodsname": {
  9536. "description": "商品名称(预售)",
  9537. "type": "string"
  9538. },
  9539. "goodunit": {
  9540. "description": "报价单位",
  9541. "type": "string"
  9542. },
  9543. "goodunitid": {
  9544. "description": "报价单位ID",
  9545. "type": "integer"
  9546. },
  9547. "marketid": {
  9548. "description": "所属市场ID",
  9549. "type": "integer"
  9550. },
  9551. "marketname": {
  9552. "description": "预售市场名称",
  9553. "type": "string"
  9554. },
  9555. "presaledamount": {
  9556. "description": "已预售总金额(预售结束时更新)",
  9557. "type": "number"
  9558. },
  9559. "presaledqty": {
  9560. "description": "已预售量(预售结束时更新)",
  9561. "type": "integer"
  9562. },
  9563. "presalemode": {
  9564. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9565. "type": "integer"
  9566. },
  9567. "presaleqty": {
  9568. "description": "预售数量",
  9569. "type": "integer"
  9570. },
  9571. "refprice": {
  9572. "description": "参考价格[一口价]",
  9573. "type": "number"
  9574. },
  9575. "relatedgoodscode": {
  9576. "description": "商品代码(订单)",
  9577. "type": "string"
  9578. },
  9579. "relatedgoodsid": {
  9580. "description": "关联交易合约ID",
  9581. "type": "integer"
  9582. },
  9583. "relatedgoodsname": {
  9584. "description": "商品名称(订单)",
  9585. "type": "string"
  9586. },
  9587. "relatedmarketid": {
  9588. "description": "关联交易合约市场ID",
  9589. "type": "integer"
  9590. },
  9591. "sellstatus": {
  9592. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9593. "type": "integer"
  9594. },
  9595. "startprice": {
  9596. "description": "起拍价[大宗式竞拍]",
  9597. "type": "number"
  9598. },
  9599. "starttime": {
  9600. "description": "预售开始时间",
  9601. "type": "string"
  9602. },
  9603. "tradedate": {
  9604. "description": "交易日(yyyyMMdd)",
  9605. "type": "string"
  9606. },
  9607. "tradeprice": {
  9608. "description": "成交价[大宗]",
  9609. "type": "number"
  9610. },
  9611. "userid": {
  9612. "description": "卖方用户ID",
  9613. "type": "integer"
  9614. }
  9615. }
  9616. },
  9617. "cptrade.QueryPresaleGoodsExRsp": {
  9618. "type": "object",
  9619. "required": [
  9620. "goodsid"
  9621. ],
  9622. "properties": {
  9623. "attachmenturl": {
  9624. "description": "附件地址",
  9625. "type": "string"
  9626. },
  9627. "createtime": {
  9628. "description": "创建时间",
  9629. "type": "string"
  9630. },
  9631. "endtime": {
  9632. "description": "预售结束时间",
  9633. "type": "string"
  9634. },
  9635. "floorprice": {
  9636. "description": "底价[大宗式竞拍]",
  9637. "type": "number"
  9638. },
  9639. "goodsdetail": {
  9640. "description": "详情[大宗]",
  9641. "type": "string"
  9642. },
  9643. "goodsid": {
  9644. "description": "商品ID(预售)",
  9645. "type": "integer"
  9646. },
  9647. "goodunit": {
  9648. "description": "报价单位",
  9649. "type": "string"
  9650. },
  9651. "marketid": {
  9652. "description": "预售市场ID - 根据预售模式选择市场",
  9653. "type": "integer"
  9654. },
  9655. "presaledamount": {
  9656. "description": "已预售总金额(预售结束时更新)",
  9657. "type": "number"
  9658. },
  9659. "presaledqty": {
  9660. "description": "已预售量(预售结束时更新)",
  9661. "type": "integer"
  9662. },
  9663. "presalemode": {
  9664. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9665. "type": "integer"
  9666. },
  9667. "presaleqty": {
  9668. "description": "预售数量",
  9669. "type": "integer"
  9670. },
  9671. "refprice": {
  9672. "description": "参考价格[一口价]",
  9673. "type": "number"
  9674. },
  9675. "relatedgoodsid": {
  9676. "description": "关联交易合约ID",
  9677. "type": "integer"
  9678. },
  9679. "relatedmarketid": {
  9680. "description": "关联交易合约市场ID",
  9681. "type": "integer"
  9682. },
  9683. "sellstatus": {
  9684. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9685. "type": "integer"
  9686. },
  9687. "startprice": {
  9688. "description": "起拍价[大宗式竞拍]",
  9689. "type": "number"
  9690. },
  9691. "starttime": {
  9692. "description": "预售开始时间",
  9693. "type": "string"
  9694. },
  9695. "tradedate": {
  9696. "description": "交易日(yyyyMMdd)",
  9697. "type": "string"
  9698. },
  9699. "tradeprice": {
  9700. "description": "成交价[大宗]",
  9701. "type": "number"
  9702. }
  9703. }
  9704. },
  9705. "delivery.QueryDeliveryRelationRsp": {
  9706. "type": "object",
  9707. "required": [
  9708. "begindate",
  9709. "enddate",
  9710. "goodsid",
  9711. "mindeliveryqty",
  9712. "xdeliveryratio"
  9713. ],
  9714. "properties": {
  9715. "begindate": {
  9716. "description": "起始日期(yyyyMMdd)",
  9717. "type": "string"
  9718. },
  9719. "buytemplateid": {
  9720. "description": "买履约计划模板ID",
  9721. "type": "integer"
  9722. },
  9723. "deliverygoodscode": {
  9724. "description": "品种代码",
  9725. "type": "string"
  9726. },
  9727. "deliverygoodsid": {
  9728. "description": "交割商品",
  9729. "type": "integer"
  9730. },
  9731. "deliverygoodsname": {
  9732. "description": "品种名称",
  9733. "type": "string"
  9734. },
  9735. "deliverymode": {
  9736. "description": "交割方式 - 1:点选式 2:申报式",
  9737. "type": "integer"
  9738. },
  9739. "deliverypricerule": {
  9740. "description": "交割价规则- 1:行情价 2:建仓价",
  9741. "type": "integer"
  9742. },
  9743. "deliverytype": {
  9744. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9745. "type": "integer"
  9746. },
  9747. "enddate": {
  9748. "description": "结束日期(yyyyMMdd)",
  9749. "type": "string"
  9750. },
  9751. "goodscode": {
  9752. "description": "商品代码",
  9753. "type": "string"
  9754. },
  9755. "goodsid": {
  9756. "description": "交易合约ID",
  9757. "type": "integer"
  9758. },
  9759. "goodsname": {
  9760. "description": "商品名称",
  9761. "type": "string"
  9762. },
  9763. "marketid": {
  9764. "description": "市场ID",
  9765. "type": "integer"
  9766. },
  9767. "mindeliveryqty": {
  9768. "description": "最小交割系数(K)",
  9769. "type": "integer"
  9770. },
  9771. "p2deliveryprice": {
  9772. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9773. "type": "number"
  9774. },
  9775. "p2deliveryratio": {
  9776. "description": "P2合约系数(p)",
  9777. "type": "integer"
  9778. },
  9779. "p2goodsid": {
  9780. "description": "P2合约ID",
  9781. "type": "integer"
  9782. },
  9783. "p2pricemode": {
  9784. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9785. "type": "integer"
  9786. },
  9787. "pdeliveryprice": {
  9788. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9789. "type": "number"
  9790. },
  9791. "pdeliveryratio": {
  9792. "description": "P合约系数(n)",
  9793. "type": "integer"
  9794. },
  9795. "pgoodsid": {
  9796. "description": "P合约ID",
  9797. "type": "integer"
  9798. },
  9799. "ppricemode": {
  9800. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9801. "type": "integer"
  9802. },
  9803. "rratio": {
  9804. "description": "兑换系数(R)",
  9805. "type": "integer"
  9806. },
  9807. "rratio1": {
  9808. "description": "兑换系数(交易合约)(R1)",
  9809. "type": "integer"
  9810. },
  9811. "rratio2": {
  9812. "description": "兑换系数(仓单标准)(R2)",
  9813. "type": "integer"
  9814. },
  9815. "selltemplateid": {
  9816. "description": "卖履约计划模板ID",
  9817. "type": "integer"
  9818. },
  9819. "wrstandardid": {
  9820. "description": "仓单标准ID",
  9821. "type": "integer"
  9822. },
  9823. "xdeliveryratio": {
  9824. "description": "交易合约系数(m)",
  9825. "type": "integer"
  9826. }
  9827. }
  9828. },
  9829. "ermcp.ExposureDetailRsp": {
  9830. "type": "object",
  9831. "properties": {
  9832. "areauserid": {
  9833. "description": "机构ID",
  9834. "type": "integer"
  9835. },
  9836. "changeQty": {
  9837. "description": "套保变动量",
  9838. "type": "number"
  9839. },
  9840. "contracttype": {
  9841. "description": "现货合同类型 - 1:采购 -1:销售",
  9842. "type": "integer"
  9843. },
  9844. "convertfactor": {
  9845. "description": "标仓系数",
  9846. "type": "number"
  9847. },
  9848. "convertratio": {
  9849. "description": "套保系数",
  9850. "type": "number"
  9851. },
  9852. "createtime": {
  9853. "description": "时间",
  9854. "type": "string"
  9855. },
  9856. "enumdicname": {
  9857. "description": "现货商品单位名称",
  9858. "type": "string"
  9859. },
  9860. "logtype": {
  9861. "description": "类型 - 1:套保计划 2:现货合同",
  9862. "type": "integer"
  9863. },
  9864. "middlegoodsId": {
  9865. "description": "套保商品id",
  9866. "type": "integer"
  9867. },
  9868. "middlegoodscode": {
  9869. "description": "套保商品代码",
  9870. "type": "string"
  9871. },
  9872. "middlegoodsname": {
  9873. "description": "套保商品名称",
  9874. "type": "string"
  9875. },
  9876. "qty": {
  9877. "description": "数量",
  9878. "type": "number"
  9879. },
  9880. "relateNo": {
  9881. "description": "现货合同/套保计划编号",
  9882. "type": "string"
  9883. },
  9884. "wrstandardcode": {
  9885. "description": "现货商品代码",
  9886. "type": "string"
  9887. },
  9888. "wrstandardid": {
  9889. "description": "现货商品ID",
  9890. "type": "integer"
  9891. },
  9892. "wrstandardname": {
  9893. "description": "现货商品名称",
  9894. "type": "string"
  9895. }
  9896. }
  9897. },
  9898. "ermcp.ExposureHedgePosDetailRsp": {
  9899. "type": "object",
  9900. "properties": {
  9901. "buyorsell": {
  9902. "description": "买卖方向 0-买 1-卖",
  9903. "type": "integer"
  9904. },
  9905. "channelbuildtype": {
  9906. "description": "开平方向 1-建仓 2-平仓",
  9907. "type": "integer"
  9908. },
  9909. "goodscode": {
  9910. "description": "商品代码",
  9911. "type": "string"
  9912. },
  9913. "goodsname": {
  9914. "description": "商品名称",
  9915. "type": "string"
  9916. },
  9917. "hedgegoodsid": {
  9918. "description": "商品id",
  9919. "type": "integer"
  9920. },
  9921. "tradeqty": {
  9922. "description": "数量(成交数量)",
  9923. "type": "integer"
  9924. },
  9925. "tradetime": {
  9926. "description": "时间(成交时间)",
  9927. "type": "string"
  9928. }
  9929. }
  9930. },
  9931. "ermcp.ExposureHedgePositionRsp": {
  9932. "type": "object",
  9933. "properties": {
  9934. "accountid": {
  9935. "description": "资金账号[外部母账户]",
  9936. "type": "integer"
  9937. },
  9938. "curbuyposition": {
  9939. "description": "期末买头寸",
  9940. "type": "integer"
  9941. },
  9942. "cursellposition": {
  9943. "description": "期末卖头寸",
  9944. "type": "integer"
  9945. },
  9946. "curtdbuyposition": {
  9947. "description": "期末今日买头寸",
  9948. "type": "integer"
  9949. },
  9950. "curtdsellposition": {
  9951. "description": "期末今日卖头寸",
  9952. "type": "integer"
  9953. },
  9954. "curydbuyposition": {
  9955. "description": "期末上日买头寸",
  9956. "type": "integer"
  9957. },
  9958. "curydsellposition": {
  9959. "description": "期末上日卖头寸",
  9960. "type": "integer"
  9961. },
  9962. "decreaseqty": {
  9963. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9964. "type": "integer"
  9965. },
  9966. "fretdbuyposition": {
  9967. "description": "冻结今日买头寸",
  9968. "type": "integer"
  9969. },
  9970. "fretdsellposition": {
  9971. "description": "冻结今日卖头寸",
  9972. "type": "integer"
  9973. },
  9974. "freydbuyposition": {
  9975. "description": "冻结上日买头寸",
  9976. "type": "integer"
  9977. },
  9978. "freydsellposition": {
  9979. "description": "冻结上日卖头寸",
  9980. "type": "integer"
  9981. },
  9982. "goodscode": {
  9983. "description": "商品代码",
  9984. "type": "string"
  9985. },
  9986. "goodsid": {
  9987. "description": "商品id",
  9988. "type": "integer"
  9989. },
  9990. "goodsname": {
  9991. "description": "商品名称",
  9992. "type": "string"
  9993. },
  9994. "hedgeaccountcode": {
  9995. "description": "对冲账号",
  9996. "type": "string"
  9997. },
  9998. "hedgegoodsid": {
  9999. "description": "对冲合约ID",
  10000. "type": "integer"
  10001. },
  10002. "increaseqty": {
  10003. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  10004. "type": "integer"
  10005. },
  10006. "marketid": {
  10007. "description": "市场ID",
  10008. "type": "integer"
  10009. },
  10010. "relateduserid": {
  10011. "description": "关联用户id",
  10012. "type": "integer"
  10013. },
  10014. "totalcurqty": {
  10015. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  10016. "type": "integer"
  10017. },
  10018. "totalydqty": {
  10019. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10020. "type": "integer"
  10021. },
  10022. "tradedate": {
  10023. "description": "交易日(yyyyMMdd)",
  10024. "type": "string"
  10025. },
  10026. "ydbuyposition": {
  10027. "description": "期初买头寸",
  10028. "type": "integer"
  10029. },
  10030. "ydsellposition": {
  10031. "description": "期初卖头寸",
  10032. "type": "integer"
  10033. }
  10034. }
  10035. },
  10036. "ermcp.ExposureSpotDetailRsp": {
  10037. "type": "object",
  10038. "properties": {
  10039. "contracttype": {
  10040. "description": "合同类型 1-采购 -1-销售",
  10041. "type": "integer"
  10042. },
  10043. "createtime": {
  10044. "description": "创建时间",
  10045. "type": "string"
  10046. },
  10047. "enumdicname": {
  10048. "description": "现货商品单位名称",
  10049. "type": "string"
  10050. },
  10051. "logtype": {
  10052. "description": "记录类型 1-套保 2-现货合同",
  10053. "type": "integer"
  10054. },
  10055. "qty": {
  10056. "description": "数量",
  10057. "type": "number"
  10058. },
  10059. "recordname": {
  10060. "description": "类型名称",
  10061. "type": "string"
  10062. },
  10063. "relatedid": {
  10064. "description": "套保计划ID/现货合同ID",
  10065. "type": "string"
  10066. },
  10067. "relatedno": {
  10068. "description": "编号",
  10069. "type": "string"
  10070. },
  10071. "strtime": {
  10072. "description": "时间",
  10073. "type": "string"
  10074. },
  10075. "wrstandardcode": {
  10076. "description": "现货商品代码",
  10077. "type": "string"
  10078. },
  10079. "wrstandardname": {
  10080. "description": "现货商品名称",
  10081. "type": "string"
  10082. }
  10083. }
  10084. },
  10085. "ermcp.ExposureSpotRsp": {
  10086. "type": "object",
  10087. "properties": {
  10088. "areauserid": {
  10089. "description": "所属机构",
  10090. "type": "integer"
  10091. },
  10092. "decreaseqty": {
  10093. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10094. "type": "number"
  10095. },
  10096. "increaseqty": {
  10097. "description": "增加数量=销售计划数量+采购已定价数量",
  10098. "type": "number"
  10099. },
  10100. "oritoalspotqty": {
  10101. "description": "昨日数量",
  10102. "type": "number"
  10103. },
  10104. "totalspotqty": {
  10105. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10106. "type": "number"
  10107. },
  10108. "updatetime": {
  10109. "description": "更新时间",
  10110. "type": "string"
  10111. },
  10112. "wrstandardcode": {
  10113. "description": "现货品种代码",
  10114. "type": "string"
  10115. },
  10116. "wrstandardid": {
  10117. "description": "现货商品ID",
  10118. "type": "integer"
  10119. },
  10120. "wrstandardname": {
  10121. "description": "现货品种",
  10122. "type": "string"
  10123. }
  10124. }
  10125. },
  10126. "ermcp.HisExposureRsp": {
  10127. "type": "object",
  10128. "properties": {
  10129. "data": {
  10130. "description": "历史敞口",
  10131. "type": "array",
  10132. "items": {
  10133. "$ref": "#/definitions/models.ErmcpHisExposure"
  10134. }
  10135. },
  10136. "enumdicname": {
  10137. "description": "单位名称",
  10138. "type": "string"
  10139. },
  10140. "middlegoodscode": {
  10141. "description": "套保品种代码",
  10142. "type": "string"
  10143. },
  10144. "middlegoodsid": {
  10145. "description": "套保品种ID",
  10146. "type": "integer"
  10147. },
  10148. "middlegoodsname": {
  10149. "description": "套保品种名称",
  10150. "type": "string"
  10151. }
  10152. }
  10153. },
  10154. "ermcp.PendingAuditCntRsp": {
  10155. "type": "object",
  10156. "properties": {
  10157. "areastockqty": {
  10158. "description": "待审核数量: 库存申请",
  10159. "type": "integer"
  10160. },
  10161. "businessdjqty": {
  10162. "description": "待审核数量: 点价",
  10163. "type": "integer"
  10164. },
  10165. "businessfpqty": {
  10166. "description": "待审核数量: 发票",
  10167. "type": "integer"
  10168. },
  10169. "businessjsqty": {
  10170. "description": "待审核数量: 结算",
  10171. "type": "integer"
  10172. },
  10173. "businesskxqty": {
  10174. "description": "待审核数量: 款项",
  10175. "type": "integer"
  10176. },
  10177. "hedgeplanqty": {
  10178. "description": "待审核数量: 套保计划",
  10179. "type": "integer"
  10180. },
  10181. "spotcontractqty": {
  10182. "description": "待审核数量: 现货合同",
  10183. "type": "integer"
  10184. },
  10185. "userqty": {
  10186. "description": "待审核数量: 用户",
  10187. "type": "integer"
  10188. }
  10189. }
  10190. },
  10191. "ermcp.QryAreaStockApplyRsp": {
  10192. "type": "object",
  10193. "properties": {
  10194. "applyid": {
  10195. "description": "申请人",
  10196. "type": "integer"
  10197. },
  10198. "applyname": {
  10199. "description": "申请人名称",
  10200. "type": "string"
  10201. },
  10202. "applyremark": {
  10203. "description": "申请备注",
  10204. "type": "string"
  10205. },
  10206. "applysrc": {
  10207. "description": "申请来源 - 1:管理端 2:终端",
  10208. "type": "integer"
  10209. },
  10210. "applystatus": {
  10211. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10212. "type": "integer"
  10213. },
  10214. "applytime": {
  10215. "description": "申请时间",
  10216. "type": "string"
  10217. },
  10218. "auditid": {
  10219. "description": "审核人",
  10220. "type": "integer"
  10221. },
  10222. "auditname": {
  10223. "description": "审核人名称",
  10224. "type": "string"
  10225. },
  10226. "auditremark": {
  10227. "description": "审核备注",
  10228. "type": "string"
  10229. },
  10230. "auditsrc": {
  10231. "description": "审核来源 - 1:管理端 2:终端",
  10232. "type": "integer"
  10233. },
  10234. "audittime": {
  10235. "description": "审核时间",
  10236. "type": "string"
  10237. },
  10238. "audittradedate": {
  10239. "description": "审核交易日(yyyyMMdd)",
  10240. "type": "string"
  10241. },
  10242. "brandname": {
  10243. "description": "品牌名称",
  10244. "type": "string"
  10245. },
  10246. "buyuserid": {
  10247. "description": "采购方userid",
  10248. "type": "integer"
  10249. },
  10250. "buyusername": {
  10251. "description": "采购方名称",
  10252. "type": "string"
  10253. },
  10254. "contractno": {
  10255. "description": "合同编号",
  10256. "type": "string"
  10257. },
  10258. "contractqty": {
  10259. "description": "合同量",
  10260. "type": "number"
  10261. },
  10262. "contracttype": {
  10263. "description": "现货合同类型 - 1:采购 -1:销售",
  10264. "type": "integer"
  10265. },
  10266. "deliverygoodsid": {
  10267. "description": "现货品种ID",
  10268. "type": "integer"
  10269. },
  10270. "enumdicname": {
  10271. "description": "现货商品单位名称",
  10272. "type": "string"
  10273. },
  10274. "inoutapplyid": {
  10275. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  10276. "type": "string"
  10277. },
  10278. "inouttype": {
  10279. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10280. "type": "integer"
  10281. },
  10282. "modelname": {
  10283. "description": "型号名称",
  10284. "type": "string"
  10285. },
  10286. "pricetype": {
  10287. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10288. "type": "integer"
  10289. },
  10290. "qty": {
  10291. "description": "数量",
  10292. "type": "number"
  10293. },
  10294. "selluserid": {
  10295. "description": "销售方userid",
  10296. "type": "integer"
  10297. },
  10298. "sellusername": {
  10299. "description": "销售方名称",
  10300. "type": "string"
  10301. },
  10302. "spotcontractid": {
  10303. "description": "关联现货合同ID",
  10304. "type": "string"
  10305. },
  10306. "spotgoodsbrandid": {
  10307. "description": "现货品牌ID",
  10308. "type": "integer"
  10309. },
  10310. "spotgoodsmodelid": {
  10311. "description": "现货型号ID",
  10312. "type": "integer"
  10313. },
  10314. "unitid": {
  10315. "description": "单位id",
  10316. "type": "integer"
  10317. },
  10318. "userid": {
  10319. "description": "机构ID",
  10320. "type": "integer"
  10321. },
  10322. "warehousecode": {
  10323. "description": "仓库代码",
  10324. "type": "string"
  10325. },
  10326. "warehouseinfoid": {
  10327. "description": "现货仓库ID",
  10328. "type": "string"
  10329. },
  10330. "warehousename": {
  10331. "description": "仓库名称",
  10332. "type": "string"
  10333. },
  10334. "warehousetype": {
  10335. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10336. "type": "integer"
  10337. },
  10338. "wrstandardcode": {
  10339. "description": "现货商品代码",
  10340. "type": "string"
  10341. },
  10342. "wrstandardid": {
  10343. "description": "现货商品ID",
  10344. "type": "string"
  10345. },
  10346. "wrstandardname": {
  10347. "description": "现货商品名称",
  10348. "type": "string"
  10349. }
  10350. }
  10351. },
  10352. "ermcp.QryAvalidGPRsp": {
  10353. "type": "object",
  10354. "properties": {
  10355. "goodsgroupid": {
  10356. "description": "期货品种id",
  10357. "type": "integer"
  10358. },
  10359. "goodsgroupname": {
  10360. "description": "期货品种名称",
  10361. "type": "string"
  10362. },
  10363. "goodunitid": {
  10364. "description": "品种单位id",
  10365. "type": "integer"
  10366. },
  10367. "goodunitname": {
  10368. "description": "品种单位名称",
  10369. "type": "string"
  10370. },
  10371. "outergroupcode": {
  10372. "description": "期货品种代码",
  10373. "type": "string"
  10374. }
  10375. }
  10376. },
  10377. "ermcp.QryBusinessDjRsp": {
  10378. "type": "object",
  10379. "properties": {
  10380. "amount": {
  10381. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10382. "type": "number"
  10383. },
  10384. "applyid": {
  10385. "description": "申请人",
  10386. "type": "string"
  10387. },
  10388. "applyname": {
  10389. "description": "申请人名称",
  10390. "type": "string"
  10391. },
  10392. "applystatus": {
  10393. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10394. "type": "integer"
  10395. },
  10396. "applytime": {
  10397. "description": "申请时间",
  10398. "type": "string"
  10399. },
  10400. "attachurl": {
  10401. "description": "附件",
  10402. "type": "string"
  10403. },
  10404. "auditid": {
  10405. "description": "审核人ID",
  10406. "type": "string"
  10407. },
  10408. "auditname": {
  10409. "description": "审核人名称",
  10410. "type": "string"
  10411. },
  10412. "audittime": {
  10413. "description": "审核时间",
  10414. "type": "string"
  10415. },
  10416. "buyusername": {
  10417. "description": "采购方名称",
  10418. "type": "string"
  10419. },
  10420. "contractno": {
  10421. "description": "合同编号",
  10422. "type": "string"
  10423. },
  10424. "contractstatus": {
  10425. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10426. "type": "integer"
  10427. },
  10428. "contracttype": {
  10429. "description": "现货合同类型 - 1:采购 -1:销售",
  10430. "type": "integer"
  10431. },
  10432. "deliverygoodscode": {
  10433. "description": "现货品种代码",
  10434. "type": "string"
  10435. },
  10436. "deliverygoodsid": {
  10437. "description": "现货商品ID",
  10438. "type": "integer"
  10439. },
  10440. "deliverygoodsname": {
  10441. "description": "现货品种名称",
  10442. "type": "string"
  10443. },
  10444. "enumdicname": {
  10445. "description": "单位名称",
  10446. "type": "string"
  10447. },
  10448. "goodscode": {
  10449. "description": "点价合约",
  10450. "type": "string"
  10451. },
  10452. "goodsname": {
  10453. "description": "商品名称",
  10454. "type": "string"
  10455. },
  10456. "operateapplyid": {
  10457. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10458. "type": "string"
  10459. },
  10460. "operateapplytype": {
  10461. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10462. "type": "integer"
  10463. },
  10464. "pricedPrice": {
  10465. "description": "点价价格(非必填)",
  10466. "type": "number"
  10467. },
  10468. "pricedQty": {
  10469. "description": "点价数量(非必填)",
  10470. "type": "number"
  10471. },
  10472. "pricemove": {
  10473. "description": "升贴水",
  10474. "type": "number"
  10475. },
  10476. "pricetype": {
  10477. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10478. "type": "integer"
  10479. },
  10480. "relatedid": {
  10481. "description": "现货合同ID",
  10482. "type": "string"
  10483. },
  10484. "sellusername": {
  10485. "description": "销售方名字",
  10486. "type": "string"
  10487. },
  10488. "userid": {
  10489. "description": "用户ID",
  10490. "type": "integer"
  10491. },
  10492. "wrstandardcode": {
  10493. "description": "品类代码",
  10494. "type": "string"
  10495. },
  10496. "wrstandardid": {
  10497. "description": "品类id",
  10498. "type": "integer"
  10499. },
  10500. "wrstandardname": {
  10501. "description": "品类名称",
  10502. "type": "string"
  10503. }
  10504. }
  10505. },
  10506. "ermcp.QryBussinessFpRsp": {
  10507. "type": "object",
  10508. "properties": {
  10509. "applyid": {
  10510. "description": "申请人",
  10511. "type": "string"
  10512. },
  10513. "applyname": {
  10514. "description": "申请人名称",
  10515. "type": "string"
  10516. },
  10517. "applystatus": {
  10518. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10519. "type": "integer"
  10520. },
  10521. "applytime": {
  10522. "description": "申请时间",
  10523. "type": "string"
  10524. },
  10525. "attachurl": {
  10526. "description": "附件",
  10527. "type": "string"
  10528. },
  10529. "auditid": {
  10530. "description": "审核人ID",
  10531. "type": "string"
  10532. },
  10533. "auditname": {
  10534. "description": "审核人名称",
  10535. "type": "string"
  10536. },
  10537. "audittime": {
  10538. "description": "审核时间",
  10539. "type": "string"
  10540. },
  10541. "buyusername": {
  10542. "description": "采购方名称",
  10543. "type": "string"
  10544. },
  10545. "contractno": {
  10546. "description": "合同编号",
  10547. "type": "string"
  10548. },
  10549. "contractstatus": {
  10550. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10551. "type": "integer"
  10552. },
  10553. "contracttype": {
  10554. "description": "现货合同类型 - 1:采购 -1:销售",
  10555. "type": "integer"
  10556. },
  10557. "deliverygoodscode": {
  10558. "description": "现货品种代码",
  10559. "type": "string"
  10560. },
  10561. "deliverygoodsid": {
  10562. "description": "现货商品ID",
  10563. "type": "integer"
  10564. },
  10565. "deliverygoodsname": {
  10566. "description": "现货品种名称",
  10567. "type": "string"
  10568. },
  10569. "enumdicname": {
  10570. "description": "单位名称",
  10571. "type": "string"
  10572. },
  10573. "goodscode": {
  10574. "description": "点价合约",
  10575. "type": "string"
  10576. },
  10577. "goodsname": {
  10578. "description": "商品名称",
  10579. "type": "string"
  10580. },
  10581. "invoiceAmount": {
  10582. "description": "已开收票金额(销售为开票,采购为收票)",
  10583. "type": "number"
  10584. },
  10585. "operateapplyid": {
  10586. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10587. "type": "string"
  10588. },
  10589. "operateapplytype": {
  10590. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10591. "type": "integer"
  10592. },
  10593. "pricemove": {
  10594. "description": "升贴水",
  10595. "type": "number"
  10596. },
  10597. "pricetype": {
  10598. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10599. "type": "integer"
  10600. },
  10601. "relatedid": {
  10602. "description": "现货合同ID",
  10603. "type": "string"
  10604. },
  10605. "sellusername": {
  10606. "description": "销售方名字",
  10607. "type": "string"
  10608. },
  10609. "userid": {
  10610. "description": "用户ID",
  10611. "type": "integer"
  10612. },
  10613. "wrstandardcode": {
  10614. "description": "品类代码",
  10615. "type": "string"
  10616. },
  10617. "wrstandardid": {
  10618. "description": "品类id",
  10619. "type": "integer"
  10620. },
  10621. "wrstandardname": {
  10622. "description": "品类名称",
  10623. "type": "string"
  10624. }
  10625. }
  10626. },
  10627. "ermcp.QryBussinessJsExRsp": {
  10628. "type": "object",
  10629. "properties": {
  10630. "applyid": {
  10631. "description": "申请人",
  10632. "type": "string"
  10633. },
  10634. "applyname": {
  10635. "description": "申请人名称",
  10636. "type": "string"
  10637. },
  10638. "applystatus": {
  10639. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10640. "type": "integer"
  10641. },
  10642. "applytime": {
  10643. "description": "申请时间",
  10644. "type": "string"
  10645. },
  10646. "attachurl": {
  10647. "description": "附件",
  10648. "type": "string"
  10649. },
  10650. "auditid": {
  10651. "description": "审核人ID",
  10652. "type": "string"
  10653. },
  10654. "auditname": {
  10655. "description": "审核人名称",
  10656. "type": "string"
  10657. },
  10658. "audittime": {
  10659. "description": "审核时间",
  10660. "type": "string"
  10661. },
  10662. "buyusername": {
  10663. "description": "采购方名称",
  10664. "type": "string"
  10665. },
  10666. "contractno": {
  10667. "description": "合同编号",
  10668. "type": "string"
  10669. },
  10670. "contractstatus": {
  10671. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10672. "type": "integer"
  10673. },
  10674. "contracttype": {
  10675. "description": "现货合同类型 - 1:采购 -1:销售",
  10676. "type": "integer"
  10677. },
  10678. "deliverygoodscode": {
  10679. "description": "现货品种代码",
  10680. "type": "string"
  10681. },
  10682. "deliverygoodsid": {
  10683. "description": "现货商品ID",
  10684. "type": "integer"
  10685. },
  10686. "deliverygoodsname": {
  10687. "description": "现货品种名称",
  10688. "type": "string"
  10689. },
  10690. "enumdicname": {
  10691. "description": "单位名称",
  10692. "type": "string"
  10693. },
  10694. "goodscode": {
  10695. "description": "点价合约",
  10696. "type": "string"
  10697. },
  10698. "goodsname": {
  10699. "description": "商品名称",
  10700. "type": "string"
  10701. },
  10702. "operateapplyid": {
  10703. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10704. "type": "string"
  10705. },
  10706. "operateapplytype": {
  10707. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10708. "type": "integer"
  10709. },
  10710. "pricemove": {
  10711. "description": "升贴水",
  10712. "type": "number"
  10713. },
  10714. "pricetype": {
  10715. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10716. "type": "integer"
  10717. },
  10718. "reckontype": {
  10719. "description": "结算类型",
  10720. "type": "string"
  10721. },
  10722. "reckonvalue": {
  10723. "description": "值",
  10724. "type": "number"
  10725. },
  10726. "relatedid": {
  10727. "description": "现货合同ID",
  10728. "type": "string"
  10729. },
  10730. "sellusername": {
  10731. "description": "销售方名字",
  10732. "type": "string"
  10733. },
  10734. "userid": {
  10735. "description": "用户ID",
  10736. "type": "integer"
  10737. },
  10738. "wrstandardcode": {
  10739. "description": "品类代码",
  10740. "type": "string"
  10741. },
  10742. "wrstandardid": {
  10743. "description": "品类id",
  10744. "type": "integer"
  10745. },
  10746. "wrstandardname": {
  10747. "description": "品类名称",
  10748. "type": "string"
  10749. }
  10750. }
  10751. },
  10752. "ermcp.QryBussinessJsRsp": {
  10753. "type": "object",
  10754. "properties": {
  10755. "addmargin": {
  10756. "description": "追加保证金(非必填)",
  10757. "type": "number"
  10758. },
  10759. "applyid": {
  10760. "description": "申请人",
  10761. "type": "string"
  10762. },
  10763. "applyname": {
  10764. "description": "申请人名称",
  10765. "type": "string"
  10766. },
  10767. "applystatus": {
  10768. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10769. "type": "integer"
  10770. },
  10771. "applytime": {
  10772. "description": "申请时间",
  10773. "type": "string"
  10774. },
  10775. "attachurl": {
  10776. "description": "附件",
  10777. "type": "string"
  10778. },
  10779. "auditid": {
  10780. "description": "审核人ID",
  10781. "type": "string"
  10782. },
  10783. "auditname": {
  10784. "description": "审核人名称",
  10785. "type": "string"
  10786. },
  10787. "audittime": {
  10788. "description": "审核时间",
  10789. "type": "string"
  10790. },
  10791. "buyusername": {
  10792. "description": "采购方名称",
  10793. "type": "string"
  10794. },
  10795. "contractno": {
  10796. "description": "合同编号",
  10797. "type": "string"
  10798. },
  10799. "contractstatus": {
  10800. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10801. "type": "integer"
  10802. },
  10803. "contracttype": {
  10804. "description": "现货合同类型 - 1:采购 -1:销售",
  10805. "type": "integer"
  10806. },
  10807. "decmargin": {
  10808. "description": "减少保证金(非必填)",
  10809. "type": "number"
  10810. },
  10811. "deliverygoodscode": {
  10812. "description": "现货品种代码",
  10813. "type": "string"
  10814. },
  10815. "deliverygoodsid": {
  10816. "description": "现货商品ID",
  10817. "type": "integer"
  10818. },
  10819. "deliverygoodsname": {
  10820. "description": "现货品种名称",
  10821. "type": "string"
  10822. },
  10823. "enumdicname": {
  10824. "description": "单位名称",
  10825. "type": "string"
  10826. },
  10827. "goodscode": {
  10828. "description": "点价合约",
  10829. "type": "string"
  10830. },
  10831. "goodsname": {
  10832. "description": "商品名称",
  10833. "type": "string"
  10834. },
  10835. "operateapplyid": {
  10836. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10837. "type": "string"
  10838. },
  10839. "operateapplytype": {
  10840. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10841. "type": "integer"
  10842. },
  10843. "pricemove": {
  10844. "description": "升贴水",
  10845. "type": "number"
  10846. },
  10847. "pricetype": {
  10848. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10849. "type": "integer"
  10850. },
  10851. "reckonadjustamount": {
  10852. "description": "结算调整金额(非必填)",
  10853. "type": "number"
  10854. },
  10855. "reckonosamount": {
  10856. "description": "结算溢短金额(非必填)",
  10857. "type": "number"
  10858. },
  10859. "reckonotheramount": {
  10860. "description": "结算其他费用(非必填)",
  10861. "type": "number"
  10862. },
  10863. "reckonrealqty": {
  10864. "description": "结算实际数量(非必填)",
  10865. "type": "number"
  10866. },
  10867. "relatedid": {
  10868. "description": "现货合同ID",
  10869. "type": "string"
  10870. },
  10871. "sellusername": {
  10872. "description": "销售方名字",
  10873. "type": "string"
  10874. },
  10875. "userid": {
  10876. "description": "用户ID",
  10877. "type": "integer"
  10878. },
  10879. "wrstandardcode": {
  10880. "description": "品类代码",
  10881. "type": "string"
  10882. },
  10883. "wrstandardid": {
  10884. "description": "品类id",
  10885. "type": "integer"
  10886. },
  10887. "wrstandardname": {
  10888. "description": "品类名称",
  10889. "type": "string"
  10890. }
  10891. }
  10892. },
  10893. "ermcp.QryBussinessKxRsp": {
  10894. "type": "object",
  10895. "properties": {
  10896. "applyid": {
  10897. "description": "申请人",
  10898. "type": "string"
  10899. },
  10900. "applyname": {
  10901. "description": "申请人名称",
  10902. "type": "string"
  10903. },
  10904. "applystatus": {
  10905. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10906. "type": "integer"
  10907. },
  10908. "applytime": {
  10909. "description": "申请时间",
  10910. "type": "string"
  10911. },
  10912. "attachurl": {
  10913. "description": "附件",
  10914. "type": "string"
  10915. },
  10916. "auditid": {
  10917. "description": "审核人ID",
  10918. "type": "string"
  10919. },
  10920. "auditname": {
  10921. "description": "审核人名称",
  10922. "type": "string"
  10923. },
  10924. "audittime": {
  10925. "description": "审核时间",
  10926. "type": "string"
  10927. },
  10928. "buyusername": {
  10929. "description": "采购方名称",
  10930. "type": "string"
  10931. },
  10932. "contractno": {
  10933. "description": "合同编号",
  10934. "type": "string"
  10935. },
  10936. "contractstatus": {
  10937. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10938. "type": "integer"
  10939. },
  10940. "contracttype": {
  10941. "description": "现货合同类型 - 1:采购 -1:销售",
  10942. "type": "integer"
  10943. },
  10944. "deductamount": {
  10945. "description": "退款(非必填)",
  10946. "type": "number"
  10947. },
  10948. "deliverygoodscode": {
  10949. "description": "现货品种代码",
  10950. "type": "string"
  10951. },
  10952. "deliverygoodsid": {
  10953. "description": "现货商品ID",
  10954. "type": "integer"
  10955. },
  10956. "deliverygoodsname": {
  10957. "description": "现货品种名称",
  10958. "type": "string"
  10959. },
  10960. "enumdicname": {
  10961. "description": "单位名称",
  10962. "type": "string"
  10963. },
  10964. "goodscode": {
  10965. "description": "点价合约",
  10966. "type": "string"
  10967. },
  10968. "goodsname": {
  10969. "description": "商品名称",
  10970. "type": "string"
  10971. },
  10972. "kxtype": {
  10973. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10974. "type": "integer"
  10975. },
  10976. "operateapplyid": {
  10977. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10978. "type": "string"
  10979. },
  10980. "operateapplytype": {
  10981. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10982. "type": "integer"
  10983. },
  10984. "payamount": {
  10985. "description": "收付款(非必填)",
  10986. "type": "number"
  10987. },
  10988. "pricemove": {
  10989. "description": "升贴水",
  10990. "type": "number"
  10991. },
  10992. "pricetype": {
  10993. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10994. "type": "integer"
  10995. },
  10996. "relatedid": {
  10997. "description": "现货合同ID",
  10998. "type": "string"
  10999. },
  11000. "sellusername": {
  11001. "description": "销售方名字",
  11002. "type": "string"
  11003. },
  11004. "userid": {
  11005. "description": "用户ID",
  11006. "type": "integer"
  11007. },
  11008. "wrstandardcode": {
  11009. "description": "品类代码",
  11010. "type": "string"
  11011. },
  11012. "wrstandardid": {
  11013. "description": "品类id",
  11014. "type": "integer"
  11015. },
  11016. "wrstandardname": {
  11017. "description": "品类名称",
  11018. "type": "string"
  11019. }
  11020. }
  11021. },
  11022. "ermcp.QryErmcpRsp": {
  11023. "type": "object",
  11024. "properties": {
  11025. "accountname": {
  11026. "description": "账户名称",
  11027. "type": "string"
  11028. },
  11029. "attachment": {
  11030. "description": "附件",
  11031. "type": "string"
  11032. },
  11033. "audittime": {
  11034. "description": "审核时间",
  11035. "type": "string"
  11036. },
  11037. "brandname": {
  11038. "description": "品牌名称",
  11039. "type": "string"
  11040. },
  11041. "contracctstatus": {
  11042. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11043. "type": "integer"
  11044. },
  11045. "contractmargin": {
  11046. "description": "合同保证金",
  11047. "type": "number"
  11048. },
  11049. "contractno": {
  11050. "description": "合同编号",
  11051. "type": "string"
  11052. },
  11053. "contracttype": {
  11054. "description": "合同类型 1-采购, -1-销售",
  11055. "type": "integer"
  11056. },
  11057. "convertfactor": {
  11058. "description": "标仓系数",
  11059. "type": "number"
  11060. },
  11061. "createtime": {
  11062. "description": "创建时间",
  11063. "type": "string"
  11064. },
  11065. "daikaiamount": {
  11066. "description": "应收(开)票额",
  11067. "type": "number"
  11068. },
  11069. "deliveryenddate": {
  11070. "description": "交割结束日",
  11071. "type": "string"
  11072. },
  11073. "deliverygoodscode": {
  11074. "description": "现货品种代码",
  11075. "type": "string"
  11076. },
  11077. "deliverygoodsid": {
  11078. "description": "现货商品ID",
  11079. "type": "integer"
  11080. },
  11081. "deliverygoodsname": {
  11082. "description": "现货品种名称",
  11083. "type": "string"
  11084. },
  11085. "deliverystartdate": {
  11086. "description": "交割开始日",
  11087. "type": "string"
  11088. },
  11089. "enddate": {
  11090. "description": "点价结束日",
  11091. "type": "string"
  11092. },
  11093. "enumdicname": {
  11094. "description": "单位名称",
  11095. "type": "string"
  11096. },
  11097. "goodscode": {
  11098. "description": "点价商品代码",
  11099. "type": "string"
  11100. },
  11101. "goodsid": {
  11102. "description": "点价商品ID",
  11103. "type": "integer"
  11104. },
  11105. "goodsname": {
  11106. "description": "点价商品名称",
  11107. "type": "string"
  11108. },
  11109. "invoiceamount": {
  11110. "description": "已开票额",
  11111. "type": "number"
  11112. },
  11113. "loanamount": {
  11114. "description": "贷款总额=已定价额+调整金额",
  11115. "type": "number"
  11116. },
  11117. "margin": {
  11118. "description": "保证金",
  11119. "type": "number"
  11120. },
  11121. "modelname": {
  11122. "description": "型号名称",
  11123. "type": "string"
  11124. },
  11125. "payamount": {
  11126. "description": "已收付额(收款或付款)",
  11127. "type": "number"
  11128. },
  11129. "preinvoiceamount": {
  11130. "description": "预收(开)票额",
  11131. "type": "number"
  11132. },
  11133. "prepayamount": {
  11134. "description": "预收付额",
  11135. "type": "number"
  11136. },
  11137. "price": {
  11138. "description": "价格",
  11139. "type": "number"
  11140. },
  11141. "pricedamount": {
  11142. "description": "已定价额",
  11143. "type": "number"
  11144. },
  11145. "pricedavg": {
  11146. "description": "已点均价",
  11147. "type": "number"
  11148. },
  11149. "pricedqty": {
  11150. "description": "已定价量",
  11151. "type": "number"
  11152. },
  11153. "pricemove": {
  11154. "description": "升贴水",
  11155. "type": "number"
  11156. },
  11157. "pricetype": {
  11158. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11159. "type": "integer"
  11160. },
  11161. "producttype": {
  11162. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11163. "type": "integer"
  11164. },
  11165. "qty": {
  11166. "description": "合同量",
  11167. "type": "number"
  11168. },
  11169. "reckonadjustamount": {
  11170. "description": "调整金额",
  11171. "type": "number"
  11172. },
  11173. "reckonedamount": {
  11174. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  11175. "type": "number"
  11176. },
  11177. "reckonotheramount": {
  11178. "description": "其它费用",
  11179. "type": "number"
  11180. },
  11181. "reckonrealqty": {
  11182. "description": "已确定量",
  11183. "type": "number"
  11184. },
  11185. "remark": {
  11186. "description": "备注",
  11187. "type": "string"
  11188. },
  11189. "spotcontractid": {
  11190. "description": "合同ID",
  11191. "type": "string"
  11192. },
  11193. "spotgoodsbrandid": {
  11194. "description": "现货品牌ID",
  11195. "type": "integer"
  11196. },
  11197. "spotgoodsdesc": {
  11198. "description": "商品型号(商品规格)",
  11199. "type": "string"
  11200. },
  11201. "spotgoodsmodelid": {
  11202. "description": "现货型号ID",
  11203. "type": "integer"
  11204. },
  11205. "startdate": {
  11206. "description": "点价开始日",
  11207. "type": "string"
  11208. },
  11209. "totalamount": {
  11210. "description": "合计总额",
  11211. "type": "number"
  11212. },
  11213. "unpayamount": {
  11214. "description": "应收付款额(应支付或应收款)",
  11215. "type": "number"
  11216. },
  11217. "unpricedqty": {
  11218. "description": "未定价量",
  11219. "type": "number"
  11220. },
  11221. "unsureqty": {
  11222. "description": "未确定量",
  11223. "type": "number"
  11224. },
  11225. "userid": {
  11226. "description": "用户ID",
  11227. "type": "integer"
  11228. },
  11229. "wrstandardcode": {
  11230. "description": "现货商品代码",
  11231. "type": "string"
  11232. },
  11233. "wrstandardid": {
  11234. "description": "现货商品ID",
  11235. "type": "integer"
  11236. },
  11237. "wrstandardname": {
  11238. "description": "现货商品名称",
  11239. "type": "string"
  11240. }
  11241. }
  11242. },
  11243. "ermcp.QryGGCovertCfgRsp": {
  11244. "type": "object",
  11245. "properties": {
  11246. "convertratio": {
  11247. "description": "折算系数",
  11248. "type": "number"
  11249. },
  11250. "destgoodsgroupid": {
  11251. "description": "目标品种ID",
  11252. "type": "integer"
  11253. },
  11254. "dstcode": {
  11255. "description": "目录品种代码",
  11256. "type": "string"
  11257. },
  11258. "dstexchangecode": {
  11259. "description": "目标期货交易所",
  11260. "type": "string"
  11261. },
  11262. "dstname": {
  11263. "description": "目标品种名称",
  11264. "type": "string"
  11265. },
  11266. "dstunitid": {
  11267. "description": "目标品种单位ID",
  11268. "type": "integer"
  11269. },
  11270. "dstunitidname": {
  11271. "description": "目标品种单位名称",
  11272. "type": "string"
  11273. },
  11274. "modifytime": {
  11275. "description": "修改时间",
  11276. "type": "string"
  11277. },
  11278. "srccode": {
  11279. "description": "源品种代码",
  11280. "type": "string"
  11281. },
  11282. "srcexchangecode": {
  11283. "description": "源期货交易所",
  11284. "type": "string"
  11285. },
  11286. "srcgoodsgroupid": {
  11287. "description": "源品种ID",
  11288. "type": "integer"
  11289. },
  11290. "srcname": {
  11291. "description": "源品种名称",
  11292. "type": "string"
  11293. },
  11294. "srcunitid": {
  11295. "description": "源品种单位ID",
  11296. "type": "integer"
  11297. },
  11298. "srcunitidname": {
  11299. "description": "源品种单位名称",
  11300. "type": "string"
  11301. }
  11302. }
  11303. },
  11304. "ermcp.QryHedgePlanRsp": {
  11305. "type": "object",
  11306. "properties": {
  11307. "areauserid": {
  11308. "description": "用户ID",
  11309. "type": "integer"
  11310. },
  11311. "audittime": {
  11312. "description": "审核时间",
  11313. "type": "string"
  11314. },
  11315. "contracttype": {
  11316. "description": "计划类型 - 1:采购 -1:销售",
  11317. "type": "integer"
  11318. },
  11319. "convertfactor": {
  11320. "description": "标仓系数",
  11321. "type": "number"
  11322. },
  11323. "createtime": {
  11324. "description": "创建时间",
  11325. "type": "string"
  11326. },
  11327. "deliverygoodsid": {
  11328. "description": "现货品种ID",
  11329. "type": "integer"
  11330. },
  11331. "deliverygoodsname": {
  11332. "description": "现货品种名称",
  11333. "type": "string"
  11334. },
  11335. "enumdicname": {
  11336. "description": "单位名称",
  11337. "type": "string"
  11338. },
  11339. "hedgeplanid": {
  11340. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11341. "type": "string"
  11342. },
  11343. "hedgeplanno": {
  11344. "description": "套保计划编号(名称)",
  11345. "type": "string"
  11346. },
  11347. "hedgeplanstatus": {
  11348. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11349. "type": "integer"
  11350. },
  11351. "planqty": {
  11352. "description": "计划数量",
  11353. "type": "number"
  11354. },
  11355. "plantime": {
  11356. "description": "计划时间",
  11357. "type": "string"
  11358. },
  11359. "producttype": {
  11360. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11361. "type": "integer"
  11362. },
  11363. "remark": {
  11364. "description": "备注",
  11365. "type": "string"
  11366. },
  11367. "spotgoodsdesc": {
  11368. "description": "商品型号",
  11369. "type": "string"
  11370. },
  11371. "unitid": {
  11372. "description": "单位id",
  11373. "type": "integer"
  11374. },
  11375. "updatetime": {
  11376. "description": "更新时间",
  11377. "type": "string"
  11378. },
  11379. "wrstandardid": {
  11380. "description": "现货商品ID",
  11381. "type": "integer"
  11382. },
  11383. "wrstandardname": {
  11384. "description": "现货商品名称",
  11385. "type": "string"
  11386. }
  11387. }
  11388. },
  11389. "ermcp.QryMGChangeLogRsp": {
  11390. "type": "object",
  11391. "properties": {
  11392. "aftervalue": {
  11393. "description": "变更后",
  11394. "type": "number"
  11395. },
  11396. "applyid": {
  11397. "description": "操作人",
  11398. "type": "integer"
  11399. },
  11400. "applyname": {
  11401. "description": "操作人名称",
  11402. "type": "string"
  11403. },
  11404. "applysrc": {
  11405. "description": "操作来源 - 1:管理端 2:终端",
  11406. "type": "integer"
  11407. },
  11408. "beforevalue": {
  11409. "description": "变更前",
  11410. "type": "number"
  11411. },
  11412. "changelogtype": {
  11413. "description": "变更流水类型 - 1:套保比率变更",
  11414. "type": "integer"
  11415. },
  11416. "handlestatus": {
  11417. "description": "处理状态",
  11418. "type": "integer"
  11419. },
  11420. "logdatetime": {
  11421. "description": "流水日期",
  11422. "type": "string"
  11423. },
  11424. "logid": {
  11425. "description": "流水ID",
  11426. "type": "integer"
  11427. },
  11428. "logremark": {
  11429. "description": "流水备注",
  11430. "type": "string"
  11431. },
  11432. "middlegoodsid": {
  11433. "description": "套保品种ID",
  11434. "type": "integer"
  11435. },
  11436. "tradedate": {
  11437. "description": "交易日(yyyyMMdd)",
  11438. "type": "string"
  11439. },
  11440. "updatetime": {
  11441. "description": "更新时间",
  11442. "type": "string"
  11443. }
  11444. }
  11445. },
  11446. "ermcp.QryMiddleGoodsDetailRsp": {
  11447. "type": "object",
  11448. "properties": {
  11449. "cvList": {
  11450. "description": "期货品种折算列表",
  11451. "type": "array",
  11452. "items": {
  11453. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11454. }
  11455. },
  11456. "mg": {
  11457. "description": "套保品种基本信息",
  11458. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11459. },
  11460. "wrcList": {
  11461. "description": "现货品种列表(现货商品折算配置)",
  11462. "type": "array",
  11463. "items": {
  11464. "$ref": "#/definitions/models.WRSConverTDetail"
  11465. }
  11466. }
  11467. }
  11468. },
  11469. "ermcp.QryMiddleGoodsRsp": {
  11470. "type": "object",
  11471. "properties": {
  11472. "areauserid": {
  11473. "description": "机构用户ID",
  11474. "type": "integer"
  11475. },
  11476. "createtime": {
  11477. "description": "修改时间",
  11478. "type": "string"
  11479. },
  11480. "enumdicname": {
  11481. "description": "单位名称",
  11482. "type": "string"
  11483. },
  11484. "evaluateratio": {
  11485. "description": "估价系数",
  11486. "type": "number"
  11487. },
  11488. "goodsgroupid": {
  11489. "description": "关联期货品种ID",
  11490. "type": "integer"
  11491. },
  11492. "isvalid": {
  11493. "description": "状态 0-无效(停用) 1-有效(正常)",
  11494. "type": "integer"
  11495. },
  11496. "middlegoodscode": {
  11497. "description": "套保品种代码",
  11498. "type": "string"
  11499. },
  11500. "middlegoodsid": {
  11501. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11502. "type": "integer"
  11503. },
  11504. "middlegoodsname": {
  11505. "description": "套保品种名称",
  11506. "type": "string"
  11507. },
  11508. "modifytime": {
  11509. "description": "修改时间",
  11510. "type": "string"
  11511. },
  11512. "needhedgeratio": {
  11513. "description": "套保比率",
  11514. "type": "number"
  11515. },
  11516. "qtydecimalplace": {
  11517. "description": "数量小数位",
  11518. "type": "integer"
  11519. },
  11520. "relatedgoodsid": {
  11521. "description": "关联交易商品ID",
  11522. "type": "integer"
  11523. },
  11524. "relatedgoodstype": {
  11525. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11526. "type": "integer"
  11527. },
  11528. "remark": {
  11529. "description": "备注",
  11530. "type": "string"
  11531. }
  11532. }
  11533. },
  11534. "ermcp.QryOPLogRsp": {
  11535. "type": "object",
  11536. "properties": {
  11537. "aftervalue": {
  11538. "description": "变更后",
  11539. "type": "number"
  11540. },
  11541. "applyid": {
  11542. "description": "操作人ID",
  11543. "type": "string"
  11544. },
  11545. "applyname": {
  11546. "description": "操作人名称",
  11547. "type": "string"
  11548. },
  11549. "beforevalue": {
  11550. "description": "变更前",
  11551. "type": "number"
  11552. },
  11553. "biztype": {
  11554. "description": "业务类型 - 1:套保计划 2:现货合同",
  11555. "type": "integer"
  11556. },
  11557. "contracttype": {
  11558. "description": "现货合同类型 - 1:采购 -1:销售",
  11559. "type": "integer"
  11560. },
  11561. "logvalue": {
  11562. "description": "数值",
  11563. "type": "number"
  11564. },
  11565. "operatelogtype": {
  11566. "description": "操作流水类型",
  11567. "type": "integer"
  11568. },
  11569. "operatelogtypedesc": {
  11570. "description": "操作流水类型名称",
  11571. "type": "string"
  11572. },
  11573. "relatedid": {
  11574. "description": "现货合同ID\\套保计划",
  11575. "type": "string"
  11576. },
  11577. "updatetime": {
  11578. "description": "更新时间",
  11579. "type": "string"
  11580. }
  11581. }
  11582. },
  11583. "ermcp.QryReportDaySpotDetailRsp": {
  11584. "type": "object",
  11585. "properties": {
  11586. "applyid": {
  11587. "description": "操作人",
  11588. "type": "integer"
  11589. },
  11590. "applyname": {
  11591. "description": "操作人名称",
  11592. "type": "string"
  11593. },
  11594. "biztype": {
  11595. "description": "业务类型 - 1:套保计划 2:现货合同",
  11596. "type": "integer"
  11597. },
  11598. "brandname": {
  11599. "description": "品牌名称",
  11600. "type": "string"
  11601. },
  11602. "contracttype": {
  11603. "description": "现货合同类型 - 1:采购 -1:销售",
  11604. "type": "integer"
  11605. },
  11606. "enumdicName": {
  11607. "description": "单位名称",
  11608. "type": "string"
  11609. },
  11610. "logdatetime": {
  11611. "description": "流水日期(时间)",
  11612. "type": "string"
  11613. },
  11614. "logid": {
  11615. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  11616. "type": "string"
  11617. },
  11618. "logtypename": {
  11619. "description": "合同类型(名称)",
  11620. "type": "string"
  11621. },
  11622. "logvalue": {
  11623. "description": "数值",
  11624. "type": "string"
  11625. },
  11626. "modelname": {
  11627. "description": "型号名称",
  11628. "type": "string"
  11629. },
  11630. "operatelogtype": {
  11631. "description": "操作流水类型 -",
  11632. "type": "integer"
  11633. },
  11634. "optypename": {
  11635. "description": "流水类型名称",
  11636. "type": "string"
  11637. },
  11638. "relatedid": {
  11639. "description": "现货合同ID\\套保计划",
  11640. "type": "string"
  11641. },
  11642. "relatedno": {
  11643. "description": "合同编号",
  11644. "type": "string"
  11645. },
  11646. "tradedate": {
  11647. "description": "交易日(yyyyMMdd)",
  11648. "type": "string"
  11649. },
  11650. "userid": {
  11651. "description": "机构ID",
  11652. "type": "integer"
  11653. },
  11654. "wrstandardcode": {
  11655. "description": "现货商品代码",
  11656. "type": "string"
  11657. },
  11658. "wrstandardid": {
  11659. "description": "现货商品ID",
  11660. "type": "integer"
  11661. },
  11662. "wrstandardname": {
  11663. "description": "现货商品名称",
  11664. "type": "string"
  11665. }
  11666. }
  11667. },
  11668. "ermcp.QryReportExposureDayRsp": {
  11669. "type": "object",
  11670. "properties": {
  11671. "areauserid": {
  11672. "description": "所属机构",
  11673. "type": "integer"
  11674. },
  11675. "buyfutureqty": {
  11676. "description": "买入期货数量",
  11677. "type": "number"
  11678. },
  11679. "buyplanqty": {
  11680. "description": "采购计划数量",
  11681. "type": "number"
  11682. },
  11683. "buypricedqty": {
  11684. "description": "采购合同已定价数量",
  11685. "type": "number"
  11686. },
  11687. "diffFutuQty": {
  11688. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11689. "type": "number"
  11690. },
  11691. "diffSpotQty": {
  11692. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11693. "type": "number"
  11694. },
  11695. "enumdicname": {
  11696. "description": "单位名称",
  11697. "type": "string"
  11698. },
  11699. "middlegoodscode": {
  11700. "description": "套保品种代码",
  11701. "type": "string"
  11702. },
  11703. "middlegoodshedgeratio": {
  11704. "description": "应套保比例",
  11705. "type": "number"
  11706. },
  11707. "middlegoodsid": {
  11708. "description": "套保品种ID",
  11709. "type": "integer"
  11710. },
  11711. "middlegoodsname": {
  11712. "description": "套保品种名称",
  11713. "type": "string"
  11714. },
  11715. "needhedgeexposoure": {
  11716. "description": "应套保敞口",
  11717. "type": "number"
  11718. },
  11719. "needhedgeratio": {
  11720. "description": "应套保敞口比例",
  11721. "type": "number"
  11722. },
  11723. "oriTotalFutuQty": {
  11724. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11725. "type": "number"
  11726. },
  11727. "oriTotalSpotQty": {
  11728. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11729. "type": "number"
  11730. },
  11731. "oribuyfutureqty": {
  11732. "description": "期初买入期货数量",
  11733. "type": "number"
  11734. },
  11735. "oribuyplanqty": {
  11736. "description": "期初采购计划数量",
  11737. "type": "number"
  11738. },
  11739. "oribuypricedqty": {
  11740. "description": "期初采购合同已定价数量",
  11741. "type": "number"
  11742. },
  11743. "orisellfutureqty": {
  11744. "description": "期初卖出期货数量",
  11745. "type": "number"
  11746. },
  11747. "orisellplanqty": {
  11748. "description": "期初销售计划数量",
  11749. "type": "number"
  11750. },
  11751. "orisellpricedqty": {
  11752. "description": "期初销售合同已定价数量",
  11753. "type": "number"
  11754. },
  11755. "reckondate": {
  11756. "description": "日照时期(yyyyMMdd)",
  11757. "type": "string"
  11758. },
  11759. "sellfutureqty": {
  11760. "description": "卖出期货数量",
  11761. "type": "number"
  11762. },
  11763. "sellplanqty": {
  11764. "description": "销售计划数量",
  11765. "type": "number"
  11766. },
  11767. "sellpricedqty": {
  11768. "description": "销售合同已定价数量",
  11769. "type": "number"
  11770. },
  11771. "totalexposure": {
  11772. "description": "总敞口",
  11773. "type": "number"
  11774. },
  11775. "totalfutureqty": {
  11776. "description": "期货数量",
  11777. "type": "number"
  11778. },
  11779. "totalhedgeratio": {
  11780. "description": "敞口比例",
  11781. "type": "number"
  11782. },
  11783. "totalneedhedgeqty": {
  11784. "description": "期货应套保量",
  11785. "type": "number"
  11786. },
  11787. "totalspotqty": {
  11788. "description": "现货数量",
  11789. "type": "number"
  11790. }
  11791. }
  11792. },
  11793. "ermcp.QryReportFinanceDayRsp": {
  11794. "type": "object",
  11795. "properties": {
  11796. "areauserid": {
  11797. "description": "所属机构",
  11798. "type": "integer"
  11799. },
  11800. "collectinvoiceamount": {
  11801. "description": "今日开票金额",
  11802. "type": "number"
  11803. },
  11804. "collectinvoicecount": {
  11805. "description": "今日开票笔数",
  11806. "type": "integer"
  11807. },
  11808. "collectmoneyamount": {
  11809. "description": "今日收款金额",
  11810. "type": "number"
  11811. },
  11812. "collectmoneycount": {
  11813. "description": "今日收款笔数",
  11814. "type": "integer"
  11815. },
  11816. "payinvoiceamount": {
  11817. "description": "今日收票金额",
  11818. "type": "number"
  11819. },
  11820. "payinvoicecount": {
  11821. "description": "今日收票笔数",
  11822. "type": "integer"
  11823. },
  11824. "paymoneyamount": {
  11825. "description": "今日付款金额",
  11826. "type": "number"
  11827. },
  11828. "paymoneycount": {
  11829. "description": "今日付款笔数",
  11830. "type": "integer"
  11831. },
  11832. "reckondate": {
  11833. "description": "日照时期(yyyyMMdd)",
  11834. "type": "string"
  11835. },
  11836. "updatetime": {
  11837. "description": "更新时间",
  11838. "type": "string"
  11839. }
  11840. }
  11841. },
  11842. "ermcp.QryReportFinanceKxRsp": {
  11843. "type": "object",
  11844. "properties": {
  11845. "applyid": {
  11846. "description": "操作人",
  11847. "type": "integer"
  11848. },
  11849. "applyname": {
  11850. "description": "操作人名称",
  11851. "type": "string"
  11852. },
  11853. "biztype": {
  11854. "description": "业务类型 - 1:套保计划 2:现货合同",
  11855. "type": "integer"
  11856. },
  11857. "brandname": {
  11858. "description": "品牌名称",
  11859. "type": "string"
  11860. },
  11861. "contracttype": {
  11862. "description": "现货合同类型 - 1:采购 -1:销售",
  11863. "type": "integer"
  11864. },
  11865. "enumdicName": {
  11866. "description": "单位名称",
  11867. "type": "string"
  11868. },
  11869. "logdatetime": {
  11870. "description": "流水日期(时间)",
  11871. "type": "string"
  11872. },
  11873. "logid": {
  11874. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  11875. "type": "string"
  11876. },
  11877. "logtypename": {
  11878. "description": "合同类型(名称)",
  11879. "type": "string"
  11880. },
  11881. "logvalue": {
  11882. "description": "数值",
  11883. "type": "string"
  11884. },
  11885. "modelname": {
  11886. "description": "型号名称",
  11887. "type": "string"
  11888. },
  11889. "operatelogtype": {
  11890. "description": "操作流水类型 -",
  11891. "type": "integer"
  11892. },
  11893. "optypename": {
  11894. "description": "流水类型名称",
  11895. "type": "string"
  11896. },
  11897. "relatedid": {
  11898. "description": "现货合同ID\\套保计划",
  11899. "type": "string"
  11900. },
  11901. "relatedno": {
  11902. "description": "合同编号",
  11903. "type": "string"
  11904. },
  11905. "tradedate": {
  11906. "description": "交易日(yyyyMMdd)",
  11907. "type": "string"
  11908. },
  11909. "userid": {
  11910. "description": "机构ID",
  11911. "type": "integer"
  11912. },
  11913. "wrstandardcode": {
  11914. "description": "现货商品代码",
  11915. "type": "string"
  11916. },
  11917. "wrstandardid": {
  11918. "description": "现货商品ID",
  11919. "type": "integer"
  11920. },
  11921. "wrstandardname": {
  11922. "description": "现货商品名称",
  11923. "type": "string"
  11924. }
  11925. }
  11926. },
  11927. "ermcp.QryReportFinanceMonRsp": {
  11928. "type": "object",
  11929. "properties": {
  11930. "areauserid": {
  11931. "description": "所属机构【原值】",
  11932. "type": "integer"
  11933. },
  11934. "collectinvoiceamount": {
  11935. "description": "今日开票金额【汇总】",
  11936. "type": "number"
  11937. },
  11938. "collectinvoicecount": {
  11939. "description": "今日开票笔数【汇总】",
  11940. "type": "integer"
  11941. },
  11942. "collectmoneyamount": {
  11943. "description": "今日收款金额【汇总】",
  11944. "type": "number"
  11945. },
  11946. "collectmoneycount": {
  11947. "description": "今日收款笔数 【汇总】",
  11948. "type": "integer"
  11949. },
  11950. "cycletime": {
  11951. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11952. "type": "string"
  11953. },
  11954. "cycletype": {
  11955. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11956. "type": "integer"
  11957. },
  11958. "dayFr": {
  11959. "description": "日报表明细",
  11960. "type": "array",
  11961. "items": {
  11962. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11963. }
  11964. },
  11965. "payinvoiceamount": {
  11966. "description": "今日收票金额【汇总】",
  11967. "type": "number"
  11968. },
  11969. "payinvoicecount": {
  11970. "description": "今日收票笔数【汇总】",
  11971. "type": "integer"
  11972. },
  11973. "paymoneyamount": {
  11974. "description": "今日付款金额【汇总】",
  11975. "type": "number"
  11976. },
  11977. "paymoneycount": {
  11978. "description": "今日付款笔数【汇总】",
  11979. "type": "integer"
  11980. },
  11981. "updatetime": {
  11982. "description": "更新时间",
  11983. "type": "string"
  11984. }
  11985. }
  11986. },
  11987. "ermcp.QryReportSpotDayRsp": {
  11988. "type": "object",
  11989. "properties": {
  11990. "areauserid": {
  11991. "description": "所属机构T",
  11992. "type": "integer"
  11993. },
  11994. "buyinqty": {
  11995. "description": "采购入库量",
  11996. "type": "number"
  11997. },
  11998. "enumdicname": {
  11999. "description": "现货商品单位名称",
  12000. "type": "string"
  12001. },
  12002. "reckondate": {
  12003. "description": "日照时期(yyyyMMdd)",
  12004. "type": "string"
  12005. },
  12006. "selloutqty": {
  12007. "description": "销售出库量",
  12008. "type": "number"
  12009. },
  12010. "todaybuyreckonqty": {
  12011. "description": "采购确定量",
  12012. "type": "number"
  12013. },
  12014. "todaysellreckonqty": {
  12015. "description": "销售确定量",
  12016. "type": "number"
  12017. },
  12018. "totalbuypricedqty": {
  12019. "description": "采购定价量 = 期末 - 期初",
  12020. "type": "number"
  12021. },
  12022. "totalsellpricedqty": {
  12023. "description": "销售定价量 = 期末 - 期初",
  12024. "type": "number"
  12025. },
  12026. "wrstandardcode": {
  12027. "description": "现货商品代码",
  12028. "type": "string"
  12029. },
  12030. "wrstandardid": {
  12031. "description": "现货商品ID",
  12032. "type": "integer"
  12033. },
  12034. "wrstandardname": {
  12035. "description": "现货商品名称",
  12036. "type": "string"
  12037. }
  12038. }
  12039. },
  12040. "ermcp.QryReportSpotMonRsp": {
  12041. "type": "object",
  12042. "properties": {
  12043. "areauserid": {
  12044. "description": "所属机构T",
  12045. "type": "integer"
  12046. },
  12047. "buyinqty": {
  12048. "description": "采购入库量",
  12049. "type": "number"
  12050. },
  12051. "cycletime": {
  12052. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12053. "type": "string"
  12054. },
  12055. "cycletype": {
  12056. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12057. "type": "integer"
  12058. },
  12059. "enumdicname": {
  12060. "description": "现货商品单位名称",
  12061. "type": "string"
  12062. },
  12063. "selloutqty": {
  12064. "description": "销售出库量",
  12065. "type": "number"
  12066. },
  12067. "todaybuyreckonqty": {
  12068. "description": "采购确定量",
  12069. "type": "number"
  12070. },
  12071. "todaysellreckonqty": {
  12072. "description": "销售确定量",
  12073. "type": "number"
  12074. },
  12075. "totalbuypricedqty": {
  12076. "description": "采购定价量 = 期末 - 期初",
  12077. "type": "number"
  12078. },
  12079. "totalsellpricedqty": {
  12080. "description": "销售定价量 = 期末 - 期初",
  12081. "type": "number"
  12082. },
  12083. "wrstandardcode": {
  12084. "description": "现货商品代码",
  12085. "type": "string"
  12086. },
  12087. "wrstandardid": {
  12088. "description": "现货商品ID",
  12089. "type": "integer"
  12090. },
  12091. "wrstandardname": {
  12092. "description": "现货商品名称",
  12093. "type": "string"
  12094. }
  12095. }
  12096. },
  12097. "ermcp.QryReportSpotMonthDetailRsp": {
  12098. "type": "object",
  12099. "properties": {
  12100. "areauserid": {
  12101. "description": "所属机构T",
  12102. "type": "integer"
  12103. },
  12104. "buyinqty": {
  12105. "description": "采购入库量",
  12106. "type": "number"
  12107. },
  12108. "enumdicname": {
  12109. "description": "现货商品单位名称",
  12110. "type": "string"
  12111. },
  12112. "reckondate": {
  12113. "description": "日照时期(yyyyMMdd)",
  12114. "type": "string"
  12115. },
  12116. "selloutqty": {
  12117. "description": "销售出库量",
  12118. "type": "number"
  12119. },
  12120. "todaybuyreckonqty": {
  12121. "description": "采购确定量",
  12122. "type": "number"
  12123. },
  12124. "todaysellreckonqty": {
  12125. "description": "销售确定量",
  12126. "type": "number"
  12127. },
  12128. "totalbuypricedqty": {
  12129. "description": "采购定价量 = 期末 - 期初",
  12130. "type": "number"
  12131. },
  12132. "totalsellpricedqty": {
  12133. "description": "销售定价量 = 期末 - 期初",
  12134. "type": "number"
  12135. },
  12136. "wrstandardcode": {
  12137. "description": "现货商品代码",
  12138. "type": "string"
  12139. },
  12140. "wrstandardid": {
  12141. "description": "现货商品ID",
  12142. "type": "integer"
  12143. },
  12144. "wrstandardname": {
  12145. "description": "现货商品名称",
  12146. "type": "string"
  12147. }
  12148. }
  12149. },
  12150. "ermcp.QrySpotContractRsp": {
  12151. "type": "object",
  12152. "properties": {
  12153. "amount": {
  12154. "description": "金额 [1:一口价、3:暂定价]",
  12155. "type": "number"
  12156. },
  12157. "attachment": {
  12158. "description": "附件",
  12159. "type": "string"
  12160. },
  12161. "auditremark": {
  12162. "description": "审核意见",
  12163. "type": "string"
  12164. },
  12165. "audittime": {
  12166. "description": "审核时间",
  12167. "type": "string"
  12168. },
  12169. "brandname": {
  12170. "description": "品牌名称",
  12171. "type": "string"
  12172. },
  12173. "buyuserid": {
  12174. "description": "采购方ID",
  12175. "type": "integer"
  12176. },
  12177. "buyusername": {
  12178. "description": "采购方名称",
  12179. "type": "string"
  12180. },
  12181. "contracctstatus": {
  12182. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12183. "type": "integer"
  12184. },
  12185. "contractmargin": {
  12186. "description": "合同保证金",
  12187. "type": "number"
  12188. },
  12189. "contractno": {
  12190. "description": "现货合同编号",
  12191. "type": "string"
  12192. },
  12193. "contracttype": {
  12194. "description": "现货合同类型 - 1:采购 -1:销售",
  12195. "type": "integer"
  12196. },
  12197. "convertfactor": {
  12198. "description": "标仓系数",
  12199. "type": "number"
  12200. },
  12201. "createtime": {
  12202. "description": "创建时间",
  12203. "type": "string"
  12204. },
  12205. "deliveryenddate": {
  12206. "description": "交收期(结束)",
  12207. "type": "string"
  12208. },
  12209. "deliverygoodscode": {
  12210. "description": "现货品种代码",
  12211. "type": "string"
  12212. },
  12213. "deliverygoodsid": {
  12214. "description": "现货品种ID",
  12215. "type": "integer"
  12216. },
  12217. "deliverygoodsname": {
  12218. "description": "现货品种名称",
  12219. "type": "string"
  12220. },
  12221. "deliverystartdate": {
  12222. "description": "交收期(开始)",
  12223. "type": "string"
  12224. },
  12225. "enddate": {
  12226. "description": "点价结束日期 [2:点价 3:暂定价]",
  12227. "type": "string"
  12228. },
  12229. "enumdicname": {
  12230. "description": "单位名称",
  12231. "type": "string"
  12232. },
  12233. "goodscode": {
  12234. "description": "点价合约代码",
  12235. "type": "string"
  12236. },
  12237. "goodsid": {
  12238. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12239. "type": "integer"
  12240. },
  12241. "goodsname": {
  12242. "description": "点价商品名称",
  12243. "type": "string"
  12244. },
  12245. "margin": {
  12246. "description": "当前保证金",
  12247. "type": "number"
  12248. },
  12249. "modelname": {
  12250. "description": "型号名称",
  12251. "type": "string"
  12252. },
  12253. "price": {
  12254. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12255. "type": "number"
  12256. },
  12257. "pricemove": {
  12258. "description": "升贴水 [2:点价 3:暂定价]",
  12259. "type": "number"
  12260. },
  12261. "pricetype": {
  12262. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12263. "type": "integer"
  12264. },
  12265. "producttype": {
  12266. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12267. "type": "integer"
  12268. },
  12269. "qty": {
  12270. "description": "数量",
  12271. "type": "number"
  12272. },
  12273. "remark": {
  12274. "description": "备注",
  12275. "type": "string"
  12276. },
  12277. "selluserid": {
  12278. "description": "销售方ID",
  12279. "type": "integer"
  12280. },
  12281. "sellusername": {
  12282. "description": "销售方名称",
  12283. "type": "string"
  12284. },
  12285. "spotcontractid": {
  12286. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12287. "type": "string"
  12288. },
  12289. "spotgoodsbrandid": {
  12290. "description": "现货品牌ID",
  12291. "type": "integer"
  12292. },
  12293. "spotgoodsdesc": {
  12294. "description": "商品型号",
  12295. "type": "string"
  12296. },
  12297. "spotgoodsmodelid": {
  12298. "description": "现货型号ID",
  12299. "type": "integer"
  12300. },
  12301. "startdate": {
  12302. "description": "点价开始日期 [2:点价 3:暂定价]",
  12303. "type": "string"
  12304. },
  12305. "updatetime": {
  12306. "description": "更新时间",
  12307. "type": "string"
  12308. },
  12309. "userid": {
  12310. "description": "机构ID",
  12311. "type": "integer"
  12312. },
  12313. "wrstandardcode": {
  12314. "description": "现货商品代码",
  12315. "type": "string"
  12316. },
  12317. "wrstandardid": {
  12318. "description": "现货商品ID",
  12319. "type": "integer"
  12320. },
  12321. "wrstandardname": {
  12322. "description": "现货商品名称",
  12323. "type": "string"
  12324. }
  12325. }
  12326. },
  12327. "ermcp.QryUserInfoRsp": {
  12328. "type": "object",
  12329. "properties": {
  12330. "address": {
  12331. "description": "通讯地址",
  12332. "type": "string"
  12333. },
  12334. "attachment1": {
  12335. "description": "附件1",
  12336. "type": "string"
  12337. },
  12338. "audittime": {
  12339. "description": "审核时间",
  12340. "type": "string"
  12341. },
  12342. "cardfrontphotourl": {
  12343. "description": "证件正面图片地址",
  12344. "type": "string"
  12345. },
  12346. "cardnum": {
  12347. "description": "证件号码",
  12348. "type": "string"
  12349. },
  12350. "cardtype": {
  12351. "description": "证件类型",
  12352. "type": "integer"
  12353. },
  12354. "cardtypename": {
  12355. "description": "证件类型名称",
  12356. "type": "string"
  12357. },
  12358. "cityid": {
  12359. "description": "市",
  12360. "type": "integer"
  12361. },
  12362. "countryid": {
  12363. "description": "国家",
  12364. "type": "integer"
  12365. },
  12366. "createtime": {
  12367. "description": "创建时间",
  12368. "type": "string"
  12369. },
  12370. "customername": {
  12371. "description": "企业名称",
  12372. "type": "string"
  12373. },
  12374. "districtid": {
  12375. "description": "区域",
  12376. "type": "integer"
  12377. },
  12378. "memberuserid": {
  12379. "description": "所属机构ID",
  12380. "type": "integer"
  12381. },
  12382. "mobile": {
  12383. "description": "手机号码",
  12384. "type": "string"
  12385. },
  12386. "modifytime": {
  12387. "description": "修改时间",
  12388. "type": "string"
  12389. },
  12390. "nickname": {
  12391. "description": "昵称",
  12392. "type": "string"
  12393. },
  12394. "provinceid": {
  12395. "description": "省",
  12396. "type": "integer"
  12397. },
  12398. "remark": {
  12399. "description": "备注",
  12400. "type": "string"
  12401. },
  12402. "status": {
  12403. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12404. "type": "integer"
  12405. },
  12406. "statusdesc": {
  12407. "description": "账户状态中文描述",
  12408. "type": "string"
  12409. },
  12410. "telphone": {
  12411. "description": "联系电话",
  12412. "type": "string"
  12413. },
  12414. "userid": {
  12415. "description": "用户ID",
  12416. "type": "integer"
  12417. },
  12418. "userinfotype": {
  12419. "description": "客户类型",
  12420. "type": "string"
  12421. }
  12422. }
  12423. },
  12424. "ermcp.QryWarehouseRsp": {
  12425. "type": "object",
  12426. "properties": {
  12427. "address": {
  12428. "description": "详细地址",
  12429. "type": "string"
  12430. },
  12431. "areauserid": {
  12432. "description": "所属机构",
  12433. "type": "integer"
  12434. },
  12435. "autoid": {
  12436. "description": "自增ID(仓库ID)",
  12437. "type": "integer"
  12438. },
  12439. "cityid": {
  12440. "description": "市",
  12441. "type": "integer"
  12442. },
  12443. "contactname": {
  12444. "description": "联系人",
  12445. "type": "string"
  12446. },
  12447. "contactnum": {
  12448. "description": "联系电话",
  12449. "type": "string"
  12450. },
  12451. "countryid": {
  12452. "description": "国家",
  12453. "type": "integer"
  12454. },
  12455. "createtime": {
  12456. "description": "创建时间",
  12457. "type": "string"
  12458. },
  12459. "districtid": {
  12460. "description": "区",
  12461. "type": "integer"
  12462. },
  12463. "hasvideo": {
  12464. "description": "是否有视频 - 0:无 1:有",
  12465. "type": "integer"
  12466. },
  12467. "provinceid": {
  12468. "description": "省",
  12469. "type": "integer"
  12470. },
  12471. "remark": {
  12472. "description": "审核备注",
  12473. "type": "string"
  12474. },
  12475. "videourl": {
  12476. "description": "视频地址",
  12477. "type": "string"
  12478. },
  12479. "warehousecode": {
  12480. "description": "仓库代码",
  12481. "type": "string"
  12482. },
  12483. "warehousename": {
  12484. "description": "仓库名称",
  12485. "type": "string"
  12486. },
  12487. "warehousestatus": {
  12488. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12489. "type": "integer"
  12490. },
  12491. "warehousetype": {
  12492. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12493. "type": "integer"
  12494. }
  12495. }
  12496. },
  12497. "ermcp.QryWrStandardDetailRsp": {
  12498. "type": "object",
  12499. "properties": {
  12500. "gbList": {
  12501. "description": "品牌列表",
  12502. "type": "array",
  12503. "items": {
  12504. "$ref": "#/definitions/models.GoodsBrand"
  12505. }
  12506. },
  12507. "goodsList": {
  12508. "description": "关联交易商品列表",
  12509. "type": "array",
  12510. "items": {
  12511. "$ref": "#/definitions/models.RelatedGoodsEx"
  12512. }
  12513. },
  12514. "gtList": {
  12515. "description": "型号列表",
  12516. "type": "array",
  12517. "items": {
  12518. "$ref": "#/definitions/models.GoodsTypeModel"
  12519. }
  12520. },
  12521. "wrd": {
  12522. "description": "基本信息",
  12523. "$ref": "#/definitions/models.ErmcpWrstandard"
  12524. },
  12525. "wrsList": {
  12526. "description": "套保信息列表",
  12527. "type": "array",
  12528. "items": {
  12529. "$ref": "#/definitions/models.WRSConverTDetail"
  12530. }
  12531. }
  12532. }
  12533. },
  12534. "ermcp.QryWrStandardRsp": {
  12535. "type": "object",
  12536. "properties": {
  12537. "areauserid": {
  12538. "description": "所属机构",
  12539. "type": "integer"
  12540. },
  12541. "createtime": {
  12542. "description": "创建时间",
  12543. "type": "string"
  12544. },
  12545. "creatorid": {
  12546. "description": "创建人",
  12547. "type": "integer"
  12548. },
  12549. "deliverygoodsid": {
  12550. "description": "品种ID",
  12551. "type": "integer"
  12552. },
  12553. "enumdicname": {
  12554. "description": "单位名称",
  12555. "type": "string"
  12556. },
  12557. "isvalid": {
  12558. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12559. "type": "integer"
  12560. },
  12561. "minivalue": {
  12562. "description": "最小变动值",
  12563. "type": "integer"
  12564. },
  12565. "minivaluedp": {
  12566. "description": "最小变动值小数位",
  12567. "type": "integer"
  12568. },
  12569. "realminivalue": {
  12570. "description": "实际最小变动值",
  12571. "type": "integer"
  12572. },
  12573. "realminivaluedp": {
  12574. "description": "实际最小变动值小数位",
  12575. "type": "integer"
  12576. },
  12577. "remark": {
  12578. "description": "备注",
  12579. "type": "string"
  12580. },
  12581. "unitid": {
  12582. "description": "单位ID",
  12583. "type": "integer"
  12584. },
  12585. "updatetime": {
  12586. "description": "更新时间",
  12587. "type": "string"
  12588. },
  12589. "wrstandardcode": {
  12590. "description": "现货商品代码",
  12591. "type": "string"
  12592. },
  12593. "wrstandardid": {
  12594. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12595. "type": "integer"
  12596. },
  12597. "wrstandardname": {
  12598. "description": "现货商品名称",
  12599. "type": "string"
  12600. }
  12601. }
  12602. },
  12603. "ermcp.QueryAreaStockApplySumRsp": {
  12604. "type": "object",
  12605. "properties": {
  12606. "brandname": {
  12607. "description": "品牌名称",
  12608. "type": "string"
  12609. },
  12610. "inouttype": {
  12611. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12612. "type": "integer"
  12613. },
  12614. "modelname": {
  12615. "description": "型号名称",
  12616. "type": "string"
  12617. },
  12618. "spotcontractid": {
  12619. "description": "关联现货合同ID",
  12620. "type": "string"
  12621. },
  12622. "spotgoodsbrandid": {
  12623. "description": "品牌id",
  12624. "type": "integer"
  12625. },
  12626. "spotgoodsmodelid": {
  12627. "description": "型号id",
  12628. "type": "integer"
  12629. },
  12630. "totalqty": {
  12631. "description": "总数量",
  12632. "type": "number"
  12633. }
  12634. }
  12635. },
  12636. "ermcp.QueryErmcpTradePositionRsp": {
  12637. "type": "object",
  12638. "properties": {
  12639. "agreeunit": {
  12640. "description": "合约单位",
  12641. "type": "number"
  12642. },
  12643. "buyorsell": {
  12644. "description": "方向 - 0:买 1:卖",
  12645. "type": "integer"
  12646. },
  12647. "curpositionqty": {
  12648. "description": "持仓(总仓数量, 期末头寸)",
  12649. "type": "integer"
  12650. },
  12651. "curtdposition": {
  12652. "description": "今仓数量(期末今日头寸)",
  12653. "type": "integer"
  12654. },
  12655. "curtdpositionenabled": {
  12656. "description": "今仓可用",
  12657. "type": "integer"
  12658. },
  12659. "decimalplace": {
  12660. "description": "报价小数位",
  12661. "type": "integer"
  12662. },
  12663. "enableqty": {
  12664. "description": "可用(总仓可用)",
  12665. "type": "integer"
  12666. },
  12667. "exexchangename": {
  12668. "description": "外部交易所名称",
  12669. "type": "string"
  12670. },
  12671. "goodscode": {
  12672. "description": "商品代码(内部)",
  12673. "type": "string"
  12674. },
  12675. "goodsid": {
  12676. "description": "商品ID(自增ID SEQ_GOODS)",
  12677. "type": "integer"
  12678. },
  12679. "goodsname": {
  12680. "description": "商品名称",
  12681. "type": "string"
  12682. },
  12683. "last": {
  12684. "description": "现价",
  12685. "type": "number"
  12686. },
  12687. "marketid": {
  12688. "description": "所属市场ID",
  12689. "type": "integer"
  12690. },
  12691. "openaverageprice": {
  12692. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12693. "type": "number"
  12694. },
  12695. "opencost": {
  12696. "description": "开仓成本",
  12697. "type": "number"
  12698. },
  12699. "openpl": {
  12700. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12701. "type": "number"
  12702. },
  12703. "outgoodscode": {
  12704. "description": "商品代码(外部)",
  12705. "type": "string"
  12706. },
  12707. "positionaverageprice": {
  12708. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12709. "type": "number"
  12710. },
  12711. "positioncost": {
  12712. "description": "持仓成本",
  12713. "type": "number"
  12714. },
  12715. "positionpl": {
  12716. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12717. "type": "number"
  12718. },
  12719. "positionplrate": {
  12720. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12721. "type": "number"
  12722. },
  12723. "usedmargin": {
  12724. "description": "占用保证金",
  12725. "type": "number"
  12726. }
  12727. }
  12728. },
  12729. "ermcp.RealtimeExposurePositionRsp": {
  12730. "type": "object",
  12731. "properties": {
  12732. "agreeunit": {
  12733. "description": "合约单位",
  12734. "type": "string"
  12735. },
  12736. "areauserid": {
  12737. "description": "所属机构id",
  12738. "type": "integer"
  12739. },
  12740. "convertratio": {
  12741. "description": "期货品种系数(折算系数)",
  12742. "type": "number"
  12743. },
  12744. "curqty": {
  12745. "description": "当前持仓",
  12746. "type": "integer"
  12747. },
  12748. "diffhedgeqty": {
  12749. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  12750. "type": "number"
  12751. },
  12752. "diffqty": {
  12753. "description": "持仓变动量=当前持仓-昨日持仓",
  12754. "type": "integer"
  12755. },
  12756. "goodscode": {
  12757. "description": "商品代码",
  12758. "type": "string"
  12759. },
  12760. "goodsid": {
  12761. "description": "商品id",
  12762. "type": "integer"
  12763. },
  12764. "goodsname": {
  12765. "description": "商品名称",
  12766. "type": "string"
  12767. },
  12768. "middlegoodsid": {
  12769. "description": "套保商品id",
  12770. "type": "integer"
  12771. },
  12772. "ydqty": {
  12773. "description": "昨日持仓",
  12774. "type": "integer"
  12775. }
  12776. }
  12777. },
  12778. "ermcp.RealtimeExposureRsp": {
  12779. "type": "object",
  12780. "properties": {
  12781. "AreaUserID": {
  12782. "description": "所属机构",
  12783. "type": "integer"
  12784. },
  12785. "BuyFutureQty": {
  12786. "description": "买入期货数量",
  12787. "type": "number"
  12788. },
  12789. "BuyPlanQty": {
  12790. "description": "采购计划数量",
  12791. "type": "number"
  12792. },
  12793. "BuyPricedQty": {
  12794. "description": "采购合同已定价数量",
  12795. "type": "number"
  12796. },
  12797. "MiddleGoodsCode": {
  12798. "description": "套保品种代码",
  12799. "type": "string"
  12800. },
  12801. "MiddleGoodsHedgeRatio": {
  12802. "description": "应套保比例",
  12803. "type": "number"
  12804. },
  12805. "MiddleGoodsID": {
  12806. "description": "套保品种",
  12807. "type": "integer"
  12808. },
  12809. "MiddleGoodsName": {
  12810. "description": "套保品种名称",
  12811. "type": "string"
  12812. },
  12813. "NeedHedgeExposoure": {
  12814. "description": "应套保敞口",
  12815. "type": "number"
  12816. },
  12817. "NeedHedgeRatio": {
  12818. "description": "应套保敞口比例",
  12819. "type": "number"
  12820. },
  12821. "OriBuyFutureQty": {
  12822. "description": "期初买入期货数量",
  12823. "type": "number"
  12824. },
  12825. "OriBuyPlanQty": {
  12826. "description": "期初采购计划数量",
  12827. "type": "number"
  12828. },
  12829. "OriBuyPricedQty": {
  12830. "description": "期初采购合同已定价数量",
  12831. "type": "number"
  12832. },
  12833. "OriSellFutureQty": {
  12834. "description": "期初卖出期货数量",
  12835. "type": "number"
  12836. },
  12837. "OriSellPlanQty": {
  12838. "description": "期初销售计划数量",
  12839. "type": "number"
  12840. },
  12841. "OriSellPricedQty": {
  12842. "description": "期初销售合同已定价数量",
  12843. "type": "number"
  12844. },
  12845. "SellFutureQty": {
  12846. "description": "卖出期货数量",
  12847. "type": "number"
  12848. },
  12849. "SellPlanQty": {
  12850. "description": "销售计划数量",
  12851. "type": "number"
  12852. },
  12853. "SellPricedQty": {
  12854. "description": "销售合同已定价数量",
  12855. "type": "number"
  12856. },
  12857. "TotalExposure": {
  12858. "description": "总敞口",
  12859. "type": "number"
  12860. },
  12861. "TotalFutureQty": {
  12862. "description": "期货数量",
  12863. "type": "number"
  12864. },
  12865. "TotalHedgeRatio": {
  12866. "description": "敞口比例",
  12867. "type": "number"
  12868. },
  12869. "TotalNeedHedgeQty": {
  12870. "description": "期货应套保量",
  12871. "type": "number"
  12872. },
  12873. "TotalSpotQty": {
  12874. "description": "现货数量",
  12875. "type": "number"
  12876. },
  12877. "diffFutuQty": {
  12878. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12879. "type": "number"
  12880. },
  12881. "diffSpotQty": {
  12882. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12883. "type": "number"
  12884. },
  12885. "enumdicname": {
  12886. "description": "单位名称",
  12887. "type": "string"
  12888. },
  12889. "oriTotalFutuQty": {
  12890. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12891. "type": "number"
  12892. },
  12893. "oriTotalSpotQty": {
  12894. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12895. "type": "number"
  12896. }
  12897. }
  12898. },
  12899. "erms2.QueryArbitrageStrategyRsp": {
  12900. "type": "object",
  12901. "required": [
  12902. "asapplyid"
  12903. ],
  12904. "properties": {
  12905. "applybasis": {
  12906. "description": "申请基差",
  12907. "type": "number"
  12908. },
  12909. "asapplyid": {
  12910. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12911. "type": "string"
  12912. },
  12913. "asname": {
  12914. "description": "策略名称",
  12915. "type": "string"
  12916. },
  12917. "asno": {
  12918. "description": "策略编号",
  12919. "type": "string"
  12920. },
  12921. "basischangepl": {
  12922. "description": "基差变动损益[结算更新]",
  12923. "type": "number"
  12924. },
  12925. "biztype": {
  12926. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12927. "type": "integer"
  12928. },
  12929. "closetradedate": {
  12930. "description": "完结交易日(yyyyMMdd)",
  12931. "type": "string"
  12932. },
  12933. "curbasis": {
  12934. "description": "当前基差[结算更新]",
  12935. "type": "number"
  12936. },
  12937. "deliverygoodsid": {
  12938. "description": "现货品种ID",
  12939. "type": "integer"
  12940. },
  12941. "futureavgprice": {
  12942. "description": "期货建仓均价",
  12943. "type": "number"
  12944. },
  12945. "futurecloseamount": {
  12946. "description": "期货平仓金额",
  12947. "type": "number"
  12948. },
  12949. "futurecloseqty": {
  12950. "description": "期货平仓数量",
  12951. "type": "number"
  12952. },
  12953. "futureopenamount": {
  12954. "description": "期货开仓金额",
  12955. "type": "number"
  12956. },
  12957. "futureopenqty": {
  12958. "description": "期货开仓数量",
  12959. "type": "number"
  12960. },
  12961. "futurepl": {
  12962. "description": "期货总盈亏[结算更新]",
  12963. "type": "number"
  12964. },
  12965. "futureqty": {
  12966. "description": "期货持仓数量",
  12967. "type": "number"
  12968. },
  12969. "futurequote": {
  12970. "description": "期货额度",
  12971. "type": "number"
  12972. },
  12973. "goodsgroupid": {
  12974. "description": "期货品种ID",
  12975. "type": "integer"
  12976. },
  12977. "marketid": {
  12978. "description": "市场ID",
  12979. "type": "integer"
  12980. },
  12981. "netexposure": {
  12982. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12983. "type": "number"
  12984. },
  12985. "netexposurepl": {
  12986. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12987. "type": "number"
  12988. },
  12989. "netexposurerate": {
  12990. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12991. "type": "number"
  12992. },
  12993. "openbasis": {
  12994. "description": "建仓基差",
  12995. "type": "number"
  12996. },
  12997. "pricedspotqty": {
  12998. "description": "已定价现货数量",
  12999. "type": "number"
  13000. },
  13001. "pricedspotqtynotax": {
  13002. "description": "已定价现货不含税数量",
  13003. "type": "number"
  13004. },
  13005. "remark": {
  13006. "description": "备注",
  13007. "type": "string"
  13008. },
  13009. "spotavgprice": {
  13010. "description": "现货均价",
  13011. "type": "number"
  13012. },
  13013. "spotbuyamount": {
  13014. "description": "现货采购金额",
  13015. "type": "number"
  13016. },
  13017. "spotbuyqty": {
  13018. "description": "现货采购数量",
  13019. "type": "number"
  13020. },
  13021. "spotpl": {
  13022. "description": "现货总盈亏[结算更新]",
  13023. "type": "number"
  13024. },
  13025. "spotquota": {
  13026. "description": "现货额度",
  13027. "type": "number"
  13028. },
  13029. "spotsellamount": {
  13030. "description": "现货销售金额",
  13031. "type": "number"
  13032. },
  13033. "spotsellqty": {
  13034. "description": "现货销售数量",
  13035. "type": "number"
  13036. },
  13037. "spotusedquota": {
  13038. "description": "现货占用资金",
  13039. "type": "number"
  13040. },
  13041. "strategystatus": {
  13042. "description": "策略状态 - 0:未结束 1:已结束",
  13043. "type": "integer"
  13044. },
  13045. "totalpl": {
  13046. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13047. "type": "number"
  13048. },
  13049. "tradedate": {
  13050. "description": "交易日(yyyyMMdd)",
  13051. "type": "string"
  13052. },
  13053. "updatetime": {
  13054. "description": "更新时间",
  13055. "type": "string"
  13056. },
  13057. "usedquota": {
  13058. "description": "已占用资金",
  13059. "type": "number"
  13060. },
  13061. "userid": {
  13062. "description": "所属机构",
  13063. "type": "integer"
  13064. }
  13065. }
  13066. },
  13067. "erms2.QueryInnerTradeDetailRsp": {
  13068. "type": "object",
  13069. "required": [
  13070. "asapplyid",
  13071. "buyorsell",
  13072. "goodscode",
  13073. "goodsgroupid",
  13074. "goodsgroupname",
  13075. "goodsname",
  13076. "tradeid"
  13077. ],
  13078. "properties": {
  13079. "accountid": {
  13080. "description": "账号ID",
  13081. "type": "integer"
  13082. },
  13083. "agreeunit": {
  13084. "description": "合约单位",
  13085. "type": "number"
  13086. },
  13087. "asapplyid": {
  13088. "description": "策略申请ID",
  13089. "type": "integer"
  13090. },
  13091. "asname": {
  13092. "description": "策略名称",
  13093. "type": "string"
  13094. },
  13095. "asno": {
  13096. "description": "策略编号",
  13097. "type": "string"
  13098. },
  13099. "buyorsell": {
  13100. "description": "方向 - 0:买 1:卖",
  13101. "type": "integer"
  13102. },
  13103. "channelbuildtype": {
  13104. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13105. "type": "integer"
  13106. },
  13107. "closetype": {
  13108. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13109. "type": "integer"
  13110. },
  13111. "decimalplace": {
  13112. "description": "报价小数位",
  13113. "type": "integer"
  13114. },
  13115. "detailtype": {
  13116. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13117. "type": "integer"
  13118. },
  13119. "exexchangecode": {
  13120. "description": "外部交易所代码",
  13121. "type": "string"
  13122. },
  13123. "exexchangename": {
  13124. "description": "外部交易所名称",
  13125. "type": "string"
  13126. },
  13127. "goodscode": {
  13128. "description": "商品代码(合约)",
  13129. "type": "string"
  13130. },
  13131. "goodsgroupid": {
  13132. "description": "商品组ID(品种ID)",
  13133. "type": "integer"
  13134. },
  13135. "goodsgroupname": {
  13136. "description": "商品组名称(品种)",
  13137. "type": "string"
  13138. },
  13139. "goodsid": {
  13140. "description": "商品ID",
  13141. "type": "integer"
  13142. },
  13143. "goodsname": {
  13144. "description": "商品名称(合约)",
  13145. "type": "string"
  13146. },
  13147. "goodunit": {
  13148. "description": "报价单位",
  13149. "type": "string"
  13150. },
  13151. "marketid": {
  13152. "description": "市场ID",
  13153. "type": "integer"
  13154. },
  13155. "orderid": {
  13156. "description": "委托单号",
  13157. "type": "string"
  13158. },
  13159. "outgoodscode": {
  13160. "description": "商品代码(外部)",
  13161. "type": "string"
  13162. },
  13163. "relatedouttradeid": {
  13164. "description": "关联外部成交单ID",
  13165. "type": "string"
  13166. },
  13167. "remark": {
  13168. "description": "备注",
  13169. "type": "string"
  13170. },
  13171. "spotcontractid": {
  13172. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13173. "type": "integer"
  13174. },
  13175. "spotcontractno": {
  13176. "description": "现货合同编号",
  13177. "type": "string"
  13178. },
  13179. "tradeid": {
  13180. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13181. "type": "string"
  13182. },
  13183. "tradeprice": {
  13184. "description": "成交价格",
  13185. "type": "number"
  13186. },
  13187. "tradeqty": {
  13188. "description": "成交数量",
  13189. "type": "integer"
  13190. },
  13191. "tradetime": {
  13192. "description": "成交时间",
  13193. "type": "string"
  13194. },
  13195. "updatetime": {
  13196. "description": "更新时间",
  13197. "type": "string"
  13198. }
  13199. }
  13200. },
  13201. "erms2.QuerySpotContractRsp": {
  13202. "type": "object",
  13203. "required": [
  13204. "spotcontractid"
  13205. ],
  13206. "properties": {
  13207. "accountid": {
  13208. "description": "资金账户ID",
  13209. "type": "integer"
  13210. },
  13211. "areauserid": {
  13212. "description": "所属机构",
  13213. "type": "integer"
  13214. },
  13215. "closedate": {
  13216. "description": "终止日期",
  13217. "type": "string"
  13218. },
  13219. "closeremark": {
  13220. "description": "结束备注",
  13221. "type": "string"
  13222. },
  13223. "closetradedate": {
  13224. "description": "完结交易日(yyyyMMdd)",
  13225. "type": "string"
  13226. },
  13227. "closetype": {
  13228. "description": "终止类型 - 1:违约 2:提前终止",
  13229. "type": "integer"
  13230. },
  13231. "contractamount": {
  13232. "description": "合同金额",
  13233. "type": "number"
  13234. },
  13235. "contractattachment": {
  13236. "description": "合同附件",
  13237. "type": "string"
  13238. },
  13239. "contractno": {
  13240. "description": "现货合同编号",
  13241. "type": "string"
  13242. },
  13243. "contractqty": {
  13244. "description": "合同数量(数值) (用于计算)",
  13245. "type": "number"
  13246. },
  13247. "contractqtychar": {
  13248. "description": "合同数量\\已订价数量 (用于显示)",
  13249. "type": "string"
  13250. },
  13251. "contractstatus": {
  13252. "description": "合同状态 - 0:未结束 1:已结束",
  13253. "type": "integer"
  13254. },
  13255. "contracttype": {
  13256. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13257. "type": "integer"
  13258. },
  13259. "customeraccountid": {
  13260. "description": "客户资金账户ID",
  13261. "type": "integer"
  13262. },
  13263. "customeruserid": {
  13264. "description": "客户ID",
  13265. "type": "integer"
  13266. },
  13267. "deliverygoodsdesc": {
  13268. "description": "品种说明",
  13269. "type": "string"
  13270. },
  13271. "deliverygoodsid": {
  13272. "description": "现货品种ID",
  13273. "type": "integer"
  13274. },
  13275. "handlestatus": {
  13276. "description": "处理状态",
  13277. "type": "integer"
  13278. },
  13279. "invoiceatt": {
  13280. "description": "发票附件",
  13281. "type": "string"
  13282. },
  13283. "invoicedatetime": {
  13284. "description": "开收票更新时间",
  13285. "type": "string"
  13286. },
  13287. "invoiceopentime": {
  13288. "description": "开票时间",
  13289. "type": "string"
  13290. },
  13291. "invoiceremark": {
  13292. "description": "发票备注",
  13293. "type": "string"
  13294. },
  13295. "invoicestatus": {
  13296. "description": "开收票状态 - 0:未开票 1:已开票",
  13297. "type": "integer"
  13298. },
  13299. "lastdate": {
  13300. "description": "交货时间",
  13301. "type": "string"
  13302. },
  13303. "marketid": {
  13304. "description": "市场ID",
  13305. "type": "integer"
  13306. },
  13307. "paydatetime": {
  13308. "description": "收付款更新时间",
  13309. "type": "string"
  13310. },
  13311. "payremark": {
  13312. "description": "收付款备注",
  13313. "type": "string"
  13314. },
  13315. "paystatus": {
  13316. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13317. "type": "integer"
  13318. },
  13319. "positionqty": {
  13320. "description": "头寸数量 - 合同数量去小数部分",
  13321. "type": "integer"
  13322. },
  13323. "producttype": {
  13324. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13325. "type": "integer"
  13326. },
  13327. "relatedqty": {
  13328. "description": "已关联数量",
  13329. "type": "number"
  13330. },
  13331. "relatedstatus": {
  13332. "description": "关联完结状态 - 0:未结束 1:已结束",
  13333. "type": "integer"
  13334. },
  13335. "remark": {
  13336. "description": "备注",
  13337. "type": "string"
  13338. },
  13339. "signdate": {
  13340. "description": "签订日期",
  13341. "type": "string"
  13342. },
  13343. "spotcontractid": {
  13344. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13345. "type": "string"
  13346. },
  13347. "spotdatetime": {
  13348. "description": "收发货更新时间",
  13349. "type": "string"
  13350. },
  13351. "spotprice": {
  13352. "description": "价格",
  13353. "type": "number"
  13354. },
  13355. "spotremark": {
  13356. "description": "收发货备注",
  13357. "type": "string"
  13358. },
  13359. "spotstatus": {
  13360. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13361. "type": "integer"
  13362. },
  13363. "tradedate": {
  13364. "description": "交易日(yyyyMMdd)",
  13365. "type": "string"
  13366. },
  13367. "userid": {
  13368. "description": "业务员用户ID",
  13369. "type": "integer"
  13370. },
  13371. "warehouseid": {
  13372. "description": "仓库ID",
  13373. "type": "integer"
  13374. },
  13375. "wrfactortypeid": {
  13376. "description": "仓单要素类型ID",
  13377. "type": "integer"
  13378. },
  13379. "wrstandardid": {
  13380. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13381. "type": "integer"
  13382. }
  13383. }
  13384. },
  13385. "erms3.AddErms2ASApplyReq": {
  13386. "type": "object",
  13387. "required": [
  13388. "asapplyid"
  13389. ],
  13390. "properties": {
  13391. "applybasis": {
  13392. "description": "申请基差",
  13393. "type": "number"
  13394. },
  13395. "applystatus": {
  13396. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13397. "type": "integer"
  13398. },
  13399. "asapplyid": {
  13400. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13401. "type": "integer"
  13402. },
  13403. "asname": {
  13404. "description": "策略名称",
  13405. "type": "string"
  13406. },
  13407. "asno": {
  13408. "description": "策略编号",
  13409. "type": "string"
  13410. },
  13411. "auditid": {
  13412. "description": "审核人",
  13413. "type": "integer"
  13414. },
  13415. "auditremark": {
  13416. "description": "审核备注",
  13417. "type": "string"
  13418. },
  13419. "audittime": {
  13420. "description": "审核时间",
  13421. "type": "string"
  13422. },
  13423. "biztype": {
  13424. "description": "业务类型 - 1:正向套利 2:反向套利",
  13425. "type": "integer"
  13426. },
  13427. "createtime": {
  13428. "description": "创建时间",
  13429. "type": "string"
  13430. },
  13431. "creatorid": {
  13432. "description": "创建人",
  13433. "type": "integer"
  13434. },
  13435. "deliverygoodsid": {
  13436. "description": "现货品种ID",
  13437. "type": "integer"
  13438. },
  13439. "futurequote": {
  13440. "description": "期货额度",
  13441. "type": "number"
  13442. },
  13443. "goodsgroupid": {
  13444. "description": "期货品种ID",
  13445. "type": "integer"
  13446. },
  13447. "marketid": {
  13448. "description": "市场ID",
  13449. "type": "integer"
  13450. },
  13451. "remark": {
  13452. "description": "备注",
  13453. "type": "string"
  13454. },
  13455. "spotquota": {
  13456. "description": "现货额度",
  13457. "type": "number"
  13458. },
  13459. "tradedate": {
  13460. "description": "交易日(yyyyMMdd)",
  13461. "type": "string"
  13462. },
  13463. "userid": {
  13464. "description": "所属机构",
  13465. "type": "integer"
  13466. }
  13467. }
  13468. },
  13469. "erms3.AddErms2SpotTradeApplyReq": {
  13470. "type": "object",
  13471. "required": [
  13472. "spottradeid"
  13473. ],
  13474. "properties": {
  13475. "applyjsondetail": {
  13476. "description": "申请明细(JSON)",
  13477. "type": "string"
  13478. },
  13479. "applystatus": {
  13480. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13481. "type": "integer"
  13482. },
  13483. "areauserid": {
  13484. "description": "所属机构",
  13485. "type": "integer"
  13486. },
  13487. "auditid": {
  13488. "description": "审核人",
  13489. "type": "integer"
  13490. },
  13491. "auditremark": {
  13492. "description": "审核备注",
  13493. "type": "string"
  13494. },
  13495. "audittime": {
  13496. "description": "审核时间",
  13497. "type": "string"
  13498. },
  13499. "createtime": {
  13500. "description": "创建时间",
  13501. "type": "string"
  13502. },
  13503. "creatorid": {
  13504. "description": "创建人",
  13505. "type": "integer"
  13506. },
  13507. "deliverygoodsid": {
  13508. "description": "现货品种ID",
  13509. "type": "integer"
  13510. },
  13511. "futureaccountid": {
  13512. "description": "期货资金账户",
  13513. "type": "integer"
  13514. },
  13515. "goodsgroupid": {
  13516. "description": "期货品种",
  13517. "type": "integer"
  13518. },
  13519. "marketid": {
  13520. "description": "市场ID",
  13521. "type": "integer"
  13522. },
  13523. "remark": {
  13524. "description": "备注",
  13525. "type": "string"
  13526. },
  13527. "spotaccountid": {
  13528. "description": "现货资金账户",
  13529. "type": "integer"
  13530. },
  13531. "spottradeid": {
  13532. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13533. "type": "integer"
  13534. },
  13535. "spottradename": {
  13536. "description": "业务名称",
  13537. "type": "string"
  13538. },
  13539. "spottradeno": {
  13540. "description": "业务编号",
  13541. "type": "string"
  13542. },
  13543. "tradedate": {
  13544. "description": "交易日(yyyyMMdd)",
  13545. "type": "string"
  13546. },
  13547. "wrstandardid": {
  13548. "description": "仓单标准ID",
  13549. "type": "integer"
  13550. }
  13551. }
  13552. },
  13553. "erms3.AddSpotContractApplyReq": {
  13554. "type": "object",
  13555. "required": [
  13556. "accountid",
  13557. "areauserid",
  13558. "contractno",
  13559. "contracttype",
  13560. "customeraccountid",
  13561. "customeruserid",
  13562. "details",
  13563. "orimargin",
  13564. "signdate"
  13565. ],
  13566. "properties": {
  13567. "accountid": {
  13568. "description": "资金账户ID",
  13569. "type": "integer"
  13570. },
  13571. "areauserid": {
  13572. "description": "所属机构",
  13573. "type": "integer"
  13574. },
  13575. "contractattachment": {
  13576. "description": "合同附件",
  13577. "type": "string"
  13578. },
  13579. "contractno": {
  13580. "description": "现货合同编号",
  13581. "type": "string"
  13582. },
  13583. "contracttype": {
  13584. "description": "现货合同类型 - 1:采购 -1:销售",
  13585. "type": "integer"
  13586. },
  13587. "creatorid": {
  13588. "description": "申请人",
  13589. "type": "integer"
  13590. },
  13591. "customeraccountid": {
  13592. "description": "客户资金账户ID",
  13593. "type": "integer"
  13594. },
  13595. "customeruserid": {
  13596. "description": "客户ID",
  13597. "type": "integer"
  13598. },
  13599. "details": {
  13600. "description": "明细",
  13601. "type": "array",
  13602. "items": {
  13603. "$ref": "#/definitions/erms3.SoptContractDetail"
  13604. }
  13605. },
  13606. "orimargin": {
  13607. "description": "初始保证金",
  13608. "type": "number"
  13609. },
  13610. "remark": {
  13611. "description": "备注",
  13612. "type": "string"
  13613. },
  13614. "signdate": {
  13615. "description": "签订日期",
  13616. "type": "string"
  13617. }
  13618. }
  13619. },
  13620. "erms3.AddSpotContractApplyRsp": {
  13621. "type": "object",
  13622. "required": [
  13623. "contractno"
  13624. ],
  13625. "properties": {
  13626. "contractno": {
  13627. "description": "现货合同编号",
  13628. "type": "string"
  13629. },
  13630. "spotcontractid": {
  13631. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13632. "type": "integer"
  13633. }
  13634. }
  13635. },
  13636. "erms3.AddUserInfoApplyReq": {
  13637. "type": "object",
  13638. "required": [
  13639. "userid"
  13640. ],
  13641. "properties": {
  13642. "accountid": {
  13643. "description": "交易系统帐号Id (加密存储)",
  13644. "type": "integer"
  13645. },
  13646. "areacode": {
  13647. "description": "机构代码",
  13648. "type": "string"
  13649. },
  13650. "areaid": {
  13651. "description": "机构Id",
  13652. "type": "integer"
  13653. },
  13654. "attachment1": {
  13655. "description": "附件1",
  13656. "type": "string"
  13657. },
  13658. "attachment2": {
  13659. "description": "附件2",
  13660. "type": "string"
  13661. },
  13662. "attachment3": {
  13663. "description": "附件3",
  13664. "type": "string"
  13665. },
  13666. "attachment4": {
  13667. "description": "附件4",
  13668. "type": "string"
  13669. },
  13670. "attachment5": {
  13671. "description": "附件5",
  13672. "type": "string"
  13673. },
  13674. "auditedby": {
  13675. "description": "审核人",
  13676. "type": "string"
  13677. },
  13678. "auditime": {
  13679. "description": "审核时间",
  13680. "type": "string"
  13681. },
  13682. "bankaccount": {
  13683. "description": "银行帐号 (加密存储)",
  13684. "type": "string"
  13685. },
  13686. "bankaccountname": {
  13687. "description": "收款人名称",
  13688. "type": "string"
  13689. },
  13690. "bankcardbackphotourl": {
  13691. "description": "银行卡背面照地址",
  13692. "type": "string"
  13693. },
  13694. "bankcardfrontphotourl": {
  13695. "description": "银行卡正面照地址",
  13696. "type": "string"
  13697. },
  13698. "bankid": {
  13699. "description": "银行编码",
  13700. "type": "string"
  13701. },
  13702. "bankname": {
  13703. "description": "银行名称",
  13704. "type": "string"
  13705. },
  13706. "bankpictureurl": {
  13707. "description": "银行卡正面地址",
  13708. "type": "string"
  13709. },
  13710. "biznature": {
  13711. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13712. "type": "integer"
  13713. },
  13714. "bizscope": {
  13715. "description": "企业经营范围(企业)",
  13716. "type": "string"
  13717. },
  13718. "biztype": {
  13719. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13720. "type": "integer"
  13721. },
  13722. "brokerid": {
  13723. "description": "经纪人ID(加密存储)",
  13724. "type": "string"
  13725. },
  13726. "cardaddress": {
  13727. "description": "证件地址 (加密存储)",
  13728. "type": "string"
  13729. },
  13730. "cardbackphotourl": {
  13731. "description": "背面证件照地址",
  13732. "type": "string"
  13733. },
  13734. "cardfrontphotourl": {
  13735. "description": "正面证件照地址",
  13736. "type": "string"
  13737. },
  13738. "cardnum": {
  13739. "description": "证件号码 (加密存储)",
  13740. "type": "string"
  13741. },
  13742. "cardtype": {
  13743. "description": "证件类型",
  13744. "type": "integer"
  13745. },
  13746. "cityid": {
  13747. "description": "市",
  13748. "type": "integer"
  13749. },
  13750. "company": {
  13751. "description": "公司(个人)",
  13752. "type": "string"
  13753. },
  13754. "contactcardbackphotourl": {
  13755. "description": "联系人证件背面图片地址",
  13756. "type": "string"
  13757. },
  13758. "contactcardfrontphotourl": {
  13759. "description": "联系人证件正面图片地址",
  13760. "type": "string"
  13761. },
  13762. "contactname": {
  13763. "description": "联系人",
  13764. "type": "string"
  13765. },
  13766. "countryid": {
  13767. "description": "国家",
  13768. "type": "integer"
  13769. },
  13770. "createtime": {
  13771. "description": "开户申请时间",
  13772. "type": "string"
  13773. },
  13774. "cusbankid": {
  13775. "description": "签约类型",
  13776. "type": "string"
  13777. },
  13778. "cusbankname": {
  13779. "description": "签约类型名称",
  13780. "type": "string"
  13781. },
  13782. "customername": {
  13783. "description": "客户名称(企业名称)",
  13784. "type": "string"
  13785. },
  13786. "districtid": {
  13787. "description": "地区",
  13788. "type": "integer"
  13789. },
  13790. "email": {
  13791. "description": "Email地址(加密存储)",
  13792. "type": "string"
  13793. },
  13794. "halfbodyphotourl": {
  13795. "description": "半身照地址",
  13796. "type": "string"
  13797. },
  13798. "headurl": {
  13799. "description": "头像地址",
  13800. "type": "string"
  13801. },
  13802. "ipaddress": {
  13803. "description": "IP地址",
  13804. "type": "string"
  13805. },
  13806. "isvalidate": {
  13807. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13808. "type": "string"
  13809. },
  13810. "legalcardbackphotourl": {
  13811. "description": "法人身份证背面照地址",
  13812. "type": "string"
  13813. },
  13814. "legalcardfrontphotourl": {
  13815. "description": "法人身份证正面照地址",
  13816. "type": "string"
  13817. },
  13818. "legalpersonname": {
  13819. "description": "法人姓名(企业)",
  13820. "type": "string"
  13821. },
  13822. "logincode": {
  13823. "description": "登录帐号 (加密存储)",
  13824. "type": "string"
  13825. },
  13826. "memberareaid": {
  13827. "description": "所属会员ID",
  13828. "type": "integer"
  13829. },
  13830. "mobile2": {
  13831. "description": "手机号码[明文-尚志]",
  13832. "type": "string"
  13833. },
  13834. "mobilephone": {
  13835. "description": "手机号码 (加密存储)",
  13836. "type": "string"
  13837. },
  13838. "modifiedby": {
  13839. "description": "修改人帐号",
  13840. "type": "integer"
  13841. },
  13842. "modifiedtime": {
  13843. "description": "修改时间",
  13844. "type": "string"
  13845. },
  13846. "nickname": {
  13847. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13848. "type": "string"
  13849. },
  13850. "openmode": {
  13851. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13852. "type": "integer"
  13853. },
  13854. "otherurl": {
  13855. "description": "其它图片地址[使用分号分隔]",
  13856. "type": "string"
  13857. },
  13858. "postalcode": {
  13859. "description": "邮政编码",
  13860. "type": "string"
  13861. },
  13862. "provinceid": {
  13863. "description": "省",
  13864. "type": "integer"
  13865. },
  13866. "proxystatementurl": {
  13867. "description": "授权委托书",
  13868. "type": "string"
  13869. },
  13870. "qq": {
  13871. "description": "QQ(加密存储",
  13872. "type": "string"
  13873. },
  13874. "referral": {
  13875. "description": "推荐人编码",
  13876. "type": "string"
  13877. },
  13878. "remark": {
  13879. "description": "备注",
  13880. "type": "string"
  13881. },
  13882. "removebeforestatus": {
  13883. "description": "REMOVEBEFORESTATUS",
  13884. "type": "integer"
  13885. },
  13886. "sex": {
  13887. "description": "性别 - 0:女 1:男",
  13888. "type": "integer"
  13889. },
  13890. "signedstatus": {
  13891. "description": "账户一号签签约状态",
  13892. "type": "integer"
  13893. },
  13894. "signpdfurl": {
  13895. "description": "签约pdf文件",
  13896. "type": "string"
  13897. },
  13898. "subbranch": {
  13899. "description": "开户支行",
  13900. "type": "string"
  13901. },
  13902. "telphone": {
  13903. "description": "联系电话(加密存储)",
  13904. "type": "string"
  13905. },
  13906. "userid": {
  13907. "description": "用户ID(自增ID)",
  13908. "type": "integer"
  13909. },
  13910. "userinfotype": {
  13911. "description": "用户信息类型 - 1:个人 2:企业",
  13912. "type": "integer"
  13913. },
  13914. "username": {
  13915. "description": "用户姓名",
  13916. "type": "string"
  13917. },
  13918. "userstate": {
  13919. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13920. "type": "integer"
  13921. },
  13922. "usertype": {
  13923. "description": "用户类型 - 1:投资者 2:机构",
  13924. "type": "integer"
  13925. },
  13926. "videourl": {
  13927. "description": "视频地址",
  13928. "type": "string"
  13929. },
  13930. "wechat": {
  13931. "description": "微信号 (加密存储)",
  13932. "type": "string"
  13933. }
  13934. }
  13935. },
  13936. "erms3.CustomerInfo": {
  13937. "type": "object",
  13938. "required": [
  13939. "userid"
  13940. ],
  13941. "properties": {
  13942. "accountids": {
  13943. "description": "资金账户ID列表",
  13944. "type": "array",
  13945. "items": {
  13946. "type": "integer"
  13947. }
  13948. },
  13949. "customername": {
  13950. "description": "名称(企业名称)",
  13951. "type": "string"
  13952. },
  13953. "mobile": {
  13954. "description": "手机号码",
  13955. "type": "string"
  13956. },
  13957. "userid": {
  13958. "description": "用户ID",
  13959. "type": "integer"
  13960. }
  13961. }
  13962. },
  13963. "erms3.ModifyUserInfoApplyReq": {
  13964. "type": "object",
  13965. "required": [
  13966. "userid"
  13967. ],
  13968. "properties": {
  13969. "accountid": {
  13970. "description": "交易系统帐号Id (加密存储)",
  13971. "type": "integer"
  13972. },
  13973. "areacode": {
  13974. "description": "机构代码",
  13975. "type": "string"
  13976. },
  13977. "areaid": {
  13978. "description": "机构Id",
  13979. "type": "integer"
  13980. },
  13981. "attachment1": {
  13982. "description": "附件1",
  13983. "type": "string"
  13984. },
  13985. "attachment2": {
  13986. "description": "附件2",
  13987. "type": "string"
  13988. },
  13989. "attachment3": {
  13990. "description": "附件3",
  13991. "type": "string"
  13992. },
  13993. "attachment4": {
  13994. "description": "附件4",
  13995. "type": "string"
  13996. },
  13997. "attachment5": {
  13998. "description": "附件5",
  13999. "type": "string"
  14000. },
  14001. "auditedby": {
  14002. "description": "审核人",
  14003. "type": "string"
  14004. },
  14005. "auditime": {
  14006. "description": "审核时间",
  14007. "type": "string"
  14008. },
  14009. "bankaccount": {
  14010. "description": "银行帐号 (加密存储)",
  14011. "type": "string"
  14012. },
  14013. "bankaccountname": {
  14014. "description": "收款人名称",
  14015. "type": "string"
  14016. },
  14017. "bankcardbackphotourl": {
  14018. "description": "银行卡背面照地址",
  14019. "type": "string"
  14020. },
  14021. "bankcardfrontphotourl": {
  14022. "description": "银行卡正面照地址",
  14023. "type": "string"
  14024. },
  14025. "bankid": {
  14026. "description": "银行编码",
  14027. "type": "string"
  14028. },
  14029. "bankname": {
  14030. "description": "银行名称",
  14031. "type": "string"
  14032. },
  14033. "bankpictureurl": {
  14034. "description": "银行卡正面地址",
  14035. "type": "string"
  14036. },
  14037. "biznature": {
  14038. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14039. "type": "integer"
  14040. },
  14041. "bizscope": {
  14042. "description": "企业经营范围(企业)",
  14043. "type": "string"
  14044. },
  14045. "biztype": {
  14046. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14047. "type": "integer"
  14048. },
  14049. "brokerid": {
  14050. "description": "经纪人ID(加密存储)",
  14051. "type": "string"
  14052. },
  14053. "cardaddress": {
  14054. "description": "证件地址 (加密存储)",
  14055. "type": "string"
  14056. },
  14057. "cardbackphotourl": {
  14058. "description": "背面证件照地址",
  14059. "type": "string"
  14060. },
  14061. "cardfrontphotourl": {
  14062. "description": "正面证件照地址",
  14063. "type": "string"
  14064. },
  14065. "cardnum": {
  14066. "description": "证件号码 (加密存储)",
  14067. "type": "string"
  14068. },
  14069. "cardtype": {
  14070. "description": "证件类型",
  14071. "type": "integer"
  14072. },
  14073. "cityid": {
  14074. "description": "市",
  14075. "type": "integer"
  14076. },
  14077. "company": {
  14078. "description": "公司(个人)",
  14079. "type": "string"
  14080. },
  14081. "contactcardbackphotourl": {
  14082. "description": "联系人证件背面图片地址",
  14083. "type": "string"
  14084. },
  14085. "contactcardfrontphotourl": {
  14086. "description": "联系人证件正面图片地址",
  14087. "type": "string"
  14088. },
  14089. "contactname": {
  14090. "description": "联系人",
  14091. "type": "string"
  14092. },
  14093. "countryid": {
  14094. "description": "国家",
  14095. "type": "integer"
  14096. },
  14097. "createtime": {
  14098. "description": "开户申请时间",
  14099. "type": "string"
  14100. },
  14101. "cusbankid": {
  14102. "description": "签约类型",
  14103. "type": "string"
  14104. },
  14105. "cusbankname": {
  14106. "description": "签约类型名称",
  14107. "type": "string"
  14108. },
  14109. "customername": {
  14110. "description": "客户名称(企业名称)",
  14111. "type": "string"
  14112. },
  14113. "districtid": {
  14114. "description": "地区",
  14115. "type": "integer"
  14116. },
  14117. "email": {
  14118. "description": "Email地址(加密存储)",
  14119. "type": "string"
  14120. },
  14121. "halfbodyphotourl": {
  14122. "description": "半身照地址",
  14123. "type": "string"
  14124. },
  14125. "headurl": {
  14126. "description": "头像地址",
  14127. "type": "string"
  14128. },
  14129. "ipaddress": {
  14130. "description": "IP地址",
  14131. "type": "string"
  14132. },
  14133. "isvalidate": {
  14134. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14135. "type": "string"
  14136. },
  14137. "legalcardbackphotourl": {
  14138. "description": "法人身份证背面照地址",
  14139. "type": "string"
  14140. },
  14141. "legalcardfrontphotourl": {
  14142. "description": "法人身份证正面照地址",
  14143. "type": "string"
  14144. },
  14145. "legalpersonname": {
  14146. "description": "法人姓名(企业)",
  14147. "type": "string"
  14148. },
  14149. "logincode": {
  14150. "description": "登录帐号 (加密存储)",
  14151. "type": "string"
  14152. },
  14153. "memberareaid": {
  14154. "description": "所属会员ID",
  14155. "type": "integer"
  14156. },
  14157. "mobile2": {
  14158. "description": "手机号码[明文-尚志]",
  14159. "type": "string"
  14160. },
  14161. "mobilephone": {
  14162. "description": "手机号码 (加密存储)",
  14163. "type": "string"
  14164. },
  14165. "modifiedby": {
  14166. "description": "修改人帐号",
  14167. "type": "integer"
  14168. },
  14169. "modifiedtime": {
  14170. "description": "修改时间",
  14171. "type": "string"
  14172. },
  14173. "nickname": {
  14174. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14175. "type": "string"
  14176. },
  14177. "openmode": {
  14178. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14179. "type": "integer"
  14180. },
  14181. "otherurl": {
  14182. "description": "其它图片地址[使用分号分隔]",
  14183. "type": "string"
  14184. },
  14185. "postalcode": {
  14186. "description": "邮政编码",
  14187. "type": "string"
  14188. },
  14189. "provinceid": {
  14190. "description": "省",
  14191. "type": "integer"
  14192. },
  14193. "proxystatementurl": {
  14194. "description": "授权委托书",
  14195. "type": "string"
  14196. },
  14197. "qq": {
  14198. "description": "QQ(加密存储",
  14199. "type": "string"
  14200. },
  14201. "referral": {
  14202. "description": "推荐人编码",
  14203. "type": "string"
  14204. },
  14205. "remark": {
  14206. "description": "备注",
  14207. "type": "string"
  14208. },
  14209. "removebeforestatus": {
  14210. "description": "REMOVEBEFORESTATUS",
  14211. "type": "integer"
  14212. },
  14213. "sex": {
  14214. "description": "性别 - 0:女 1:男",
  14215. "type": "integer"
  14216. },
  14217. "signedstatus": {
  14218. "description": "账户一号签签约状态",
  14219. "type": "integer"
  14220. },
  14221. "signpdfurl": {
  14222. "description": "签约pdf文件",
  14223. "type": "string"
  14224. },
  14225. "subbranch": {
  14226. "description": "开户支行",
  14227. "type": "string"
  14228. },
  14229. "telphone": {
  14230. "description": "联系电话(加密存储)",
  14231. "type": "string"
  14232. },
  14233. "userid": {
  14234. "description": "用户ID(自增ID)",
  14235. "type": "integer"
  14236. },
  14237. "userinfotype": {
  14238. "description": "用户信息类型 - 1:个人 2:企业",
  14239. "type": "integer"
  14240. },
  14241. "username": {
  14242. "description": "用户姓名",
  14243. "type": "string"
  14244. },
  14245. "userstate": {
  14246. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14247. "type": "integer"
  14248. },
  14249. "usertype": {
  14250. "description": "用户类型 - 1:投资者 2:机构",
  14251. "type": "integer"
  14252. },
  14253. "videourl": {
  14254. "description": "视频地址",
  14255. "type": "string"
  14256. },
  14257. "wechat": {
  14258. "description": "微信号 (加密存储)",
  14259. "type": "string"
  14260. }
  14261. }
  14262. },
  14263. "erms3.QryAuditContractRsp": {
  14264. "type": "object",
  14265. "required": [
  14266. "matchcustomername",
  14267. "spotcontractid"
  14268. ],
  14269. "properties": {
  14270. "accountid": {
  14271. "description": "交易员ID",
  14272. "type": "string"
  14273. },
  14274. "applystatus": {
  14275. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14276. "type": "integer"
  14277. },
  14278. "curdeliveryqty": {
  14279. "description": "未交收量",
  14280. "type": "integer"
  14281. },
  14282. "customername": {
  14283. "description": "采购方ID",
  14284. "type": "string"
  14285. },
  14286. "deliverygoodsid": {
  14287. "description": "品种ID",
  14288. "type": "string"
  14289. },
  14290. "deliveryqty": {
  14291. "description": "交收量",
  14292. "type": "integer"
  14293. },
  14294. "enumdicname": {
  14295. "description": "单位名称",
  14296. "type": "string"
  14297. },
  14298. "matchaccountid": {
  14299. "description": "业务员ID",
  14300. "type": "string"
  14301. },
  14302. "matchcustomername": {
  14303. "description": "销售方ID",
  14304. "type": "string"
  14305. },
  14306. "pricedqty": {
  14307. "description": "定价量",
  14308. "type": "number"
  14309. },
  14310. "signdate": {
  14311. "description": "签订日期",
  14312. "type": "string"
  14313. },
  14314. "spotcontractid": {
  14315. "description": "合同ID",
  14316. "type": "string"
  14317. },
  14318. "totaldqty": {
  14319. "description": "合同量",
  14320. "type": "number"
  14321. },
  14322. "unpricedqty": {
  14323. "description": "未定价量",
  14324. "type": "number"
  14325. },
  14326. "wrstandardname": {
  14327. "description": "商品名称",
  14328. "type": "string"
  14329. }
  14330. }
  14331. },
  14332. "erms3.QryPendingBizRsp": {
  14333. "type": "object",
  14334. "properties": {
  14335. "accountid": {
  14336. "description": "现货账户",
  14337. "type": "string"
  14338. },
  14339. "areaname": {
  14340. "description": "所属部门",
  14341. "type": "string"
  14342. },
  14343. "bizid": {
  14344. "description": "业务ID",
  14345. "type": "string"
  14346. },
  14347. "bizname": {
  14348. "description": "业务名称",
  14349. "type": "string"
  14350. },
  14351. "status": {
  14352. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14353. "type": "integer"
  14354. },
  14355. "type": {
  14356. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  14357. "type": "integer"
  14358. }
  14359. }
  14360. },
  14361. "erms3.QueryBusinessInfoRsp": {
  14362. "type": "object",
  14363. "properties": {
  14364. "businessid": {
  14365. "description": "业务ID.",
  14366. "type": "integer"
  14367. },
  14368. "buyamount": {
  14369. "description": "采购额.",
  14370. "type": "number"
  14371. },
  14372. "buyqty": {
  14373. "description": "采购量.",
  14374. "type": "string"
  14375. },
  14376. "futurepl": {
  14377. "description": "期货盈亏.",
  14378. "type": "number"
  14379. },
  14380. "futureqty": {
  14381. "description": "期货敞口.",
  14382. "type": "string"
  14383. },
  14384. "goodsid": {
  14385. "description": "商品名称/商品代码.",
  14386. "type": "string"
  14387. },
  14388. "hedgingqty": {
  14389. "description": "套保量.",
  14390. "type": "string"
  14391. },
  14392. "sellamount": {
  14393. "description": "销售额.",
  14394. "type": "number"
  14395. },
  14396. "sellqty": {
  14397. "description": "销售量.",
  14398. "type": "string"
  14399. },
  14400. "spotmarketvalue": {
  14401. "description": "现货市值.",
  14402. "type": "number"
  14403. },
  14404. "spotpl": {
  14405. "description": "浮动权益.",
  14406. "type": "number"
  14407. },
  14408. "spotqty": {
  14409. "description": "现货量.",
  14410. "type": "string"
  14411. },
  14412. "statu": {
  14413. "description": "状态,0-未结束 1-已结束.",
  14414. "type": "integer"
  14415. },
  14416. "totalpl": {
  14417. "description": "总盈亏.",
  14418. "type": "number"
  14419. },
  14420. "totalqty": {
  14421. "description": "总敞口.",
  14422. "type": "string"
  14423. },
  14424. "type": {
  14425. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14426. "type": "integer"
  14427. }
  14428. }
  14429. },
  14430. "erms3.QuerySpotContractAppleFormRsp": {
  14431. "type": "object",
  14432. "properties": {
  14433. "goodses": {
  14434. "description": "合约列表",
  14435. "type": "array",
  14436. "items": {
  14437. "$ref": "#/definitions/models.GoodsIDAndName"
  14438. }
  14439. },
  14440. "oppositeusers": {
  14441. "description": "对方账号列表",
  14442. "type": "array",
  14443. "items": {
  14444. "$ref": "#/definitions/erms3.CustomerInfo"
  14445. }
  14446. },
  14447. "ouruser": {
  14448. "description": "我方账号",
  14449. "$ref": "#/definitions/erms3.CustomerInfo"
  14450. },
  14451. "warehouseinfos": {
  14452. "description": "仓库信息列表",
  14453. "type": "array",
  14454. "items": {
  14455. "$ref": "#/definitions/models.Warehouseinfo"
  14456. }
  14457. },
  14458. "wrstandards": {
  14459. "description": "仓单标准列表",
  14460. "type": "array",
  14461. "items": {
  14462. "$ref": "#/definitions/models.WRStandardInfo"
  14463. }
  14464. }
  14465. }
  14466. },
  14467. "erms3.QuerySpotContractInfoRsp": {
  14468. "type": "object",
  14469. "properties": {
  14470. "accountid": {
  14471. "description": "表示交易员ID.",
  14472. "type": "integer"
  14473. },
  14474. "curdeliveryqty": {
  14475. "description": "表示未交收量.",
  14476. "type": "number"
  14477. },
  14478. "customername": {
  14479. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14480. "type": "string"
  14481. },
  14482. "deliverygoodsid": {
  14483. "description": "表示品种ID.",
  14484. "type": "string"
  14485. },
  14486. "deliveryqty": {
  14487. "description": "表示交收量.",
  14488. "type": "number"
  14489. },
  14490. "matchaccountid": {
  14491. "description": "表示业务员ID.",
  14492. "type": "integer"
  14493. },
  14494. "matchcustomername": {
  14495. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14496. "type": "string"
  14497. },
  14498. "priceqty": {
  14499. "description": "表示定价量.",
  14500. "type": "number"
  14501. },
  14502. "relatedbizid": {
  14503. "description": "表示业务ID.",
  14504. "type": "string"
  14505. },
  14506. "signdate": {
  14507. "description": "表示签订日期.",
  14508. "type": "string"
  14509. },
  14510. "spotcontractid": {
  14511. "description": "合同ID",
  14512. "type": "string"
  14513. },
  14514. "status": {
  14515. "description": "表示状态,0-履约中 1-已完成.",
  14516. "type": "integer"
  14517. },
  14518. "totalqty": {
  14519. "description": "表示合同量.",
  14520. "type": "number"
  14521. },
  14522. "unpricedqty": {
  14523. "description": "表示未定价量.",
  14524. "type": "number"
  14525. },
  14526. "wrstandardname": {
  14527. "description": "表示商品ID.",
  14528. "type": "string"
  14529. }
  14530. }
  14531. },
  14532. "erms3.QueryUserInfoAppliesRsp": {
  14533. "type": "object",
  14534. "required": [
  14535. "userid"
  14536. ],
  14537. "properties": {
  14538. "biznature": {
  14539. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14540. "type": "integer"
  14541. },
  14542. "contactname": {
  14543. "description": "联系人",
  14544. "type": "string"
  14545. },
  14546. "createtime": {
  14547. "description": "开户申请时间",
  14548. "type": "string"
  14549. },
  14550. "userid": {
  14551. "description": "用户ID(自增ID)",
  14552. "type": "integer"
  14553. },
  14554. "userinfotype": {
  14555. "description": "用户信息类型 - 1:个人 2:企业",
  14556. "type": "integer"
  14557. },
  14558. "username": {
  14559. "description": "用户姓名",
  14560. "type": "string"
  14561. },
  14562. "userstate": {
  14563. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14564. "type": "integer"
  14565. }
  14566. }
  14567. },
  14568. "erms3.QueryUserInfosRsp": {
  14569. "type": "object",
  14570. "required": [
  14571. "userid"
  14572. ],
  14573. "properties": {
  14574. "biznature": {
  14575. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14576. "type": "integer"
  14577. },
  14578. "contactname": {
  14579. "description": "联系人",
  14580. "type": "string"
  14581. },
  14582. "customername": {
  14583. "description": "客户名称(企业名称)",
  14584. "type": "string"
  14585. },
  14586. "userid": {
  14587. "description": "用户ID",
  14588. "type": "integer"
  14589. },
  14590. "userinfotype": {
  14591. "description": "用户信息类型 - 1:个人 2:企业",
  14592. "type": "integer"
  14593. },
  14594. "userstatus": {
  14595. "description": "用户状态 - 1:正常 2:注销",
  14596. "type": "integer"
  14597. }
  14598. }
  14599. },
  14600. "erms3.SoptContractDetail": {
  14601. "type": "object",
  14602. "required": [
  14603. "deliverygoodsid",
  14604. "producttype",
  14605. "unitname",
  14606. "warehouseid",
  14607. "wrstandardid",
  14608. "wrstandardname"
  14609. ],
  14610. "properties": {
  14611. "deliverygoodsdesc": {
  14612. "description": "现货品种说明",
  14613. "type": "string"
  14614. },
  14615. "deliverygoodsid": {
  14616. "description": "现货品种ID",
  14617. "type": "integer"
  14618. },
  14619. "deliverygoodsname": {
  14620. "description": "现货品种名称",
  14621. "type": "string"
  14622. },
  14623. "pointdesc": {
  14624. "description": "点价描述",
  14625. "type": "string"
  14626. },
  14627. "producttype": {
  14628. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14629. "type": "integer"
  14630. },
  14631. "producttypename": {
  14632. "description": "产品类型名称",
  14633. "type": "string"
  14634. },
  14635. "spotPointOrderVoList": {
  14636. "description": "点价列表",
  14637. "type": "array",
  14638. "items": {
  14639. "$ref": "#/definitions/erms3.SpotPointOrder"
  14640. }
  14641. },
  14642. "spotPriceOrderList": {
  14643. "description": "定价列表",
  14644. "type": "array",
  14645. "items": {
  14646. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14647. }
  14648. },
  14649. "unitname": {
  14650. "description": "单位名称",
  14651. "type": "string"
  14652. },
  14653. "warehouseid": {
  14654. "description": "仓库ID",
  14655. "type": "integer"
  14656. },
  14657. "warehousename": {
  14658. "description": "仓库名称",
  14659. "type": "string"
  14660. },
  14661. "wrstandardid": {
  14662. "description": "交易标的ID",
  14663. "type": "integer"
  14664. },
  14665. "wrstandardname": {
  14666. "description": "交易标的名称",
  14667. "type": "string"
  14668. }
  14669. }
  14670. },
  14671. "erms3.SpotPointOrder": {
  14672. "type": "object",
  14673. "required": [
  14674. "basic",
  14675. "goodsid",
  14676. "qty"
  14677. ],
  14678. "properties": {
  14679. "basic": {
  14680. "description": "基差",
  14681. "type": "number"
  14682. },
  14683. "deliveryenddate": {
  14684. "description": "交收结束日期",
  14685. "type": "string"
  14686. },
  14687. "deliverystartdate": {
  14688. "description": "交收开始日期",
  14689. "type": "string"
  14690. },
  14691. "enddate": {
  14692. "description": "点价结束日期",
  14693. "type": "string"
  14694. },
  14695. "goodsid": {
  14696. "description": "商品ID",
  14697. "type": "integer"
  14698. },
  14699. "goodsname": {
  14700. "description": "商品名称",
  14701. "type": "string"
  14702. },
  14703. "qty": {
  14704. "description": "数量",
  14705. "type": "number"
  14706. },
  14707. "startdate": {
  14708. "description": "点价开始日期",
  14709. "type": "string"
  14710. }
  14711. }
  14712. },
  14713. "erms3.SpotPriceOrder": {
  14714. "type": "object",
  14715. "required": [
  14716. "amount",
  14717. "price",
  14718. "qty"
  14719. ],
  14720. "properties": {
  14721. "amount": {
  14722. "description": "金额",
  14723. "type": "number"
  14724. },
  14725. "deliveryenddate": {
  14726. "description": "交收结束日期",
  14727. "type": "string"
  14728. },
  14729. "deliverystartdate": {
  14730. "description": "交收开始日期",
  14731. "type": "string"
  14732. },
  14733. "price": {
  14734. "description": "价格",
  14735. "type": "number"
  14736. },
  14737. "qty": {
  14738. "description": "数量",
  14739. "type": "number"
  14740. }
  14741. }
  14742. },
  14743. "hsby.GetHsbyMyCountRsp": {
  14744. "type": "object",
  14745. "properties": {
  14746. "myCouponCount": {
  14747. "description": "我的优惠卷数量",
  14748. "type": "integer"
  14749. },
  14750. "myOrderDetailListingCount": {
  14751. "description": "我的订单求购中数量",
  14752. "type": "integer"
  14753. },
  14754. "myOrderDetailPreCount": {
  14755. "description": "我的订单抢购中数量",
  14756. "type": "integer"
  14757. },
  14758. "myPackageUnReceiveCount": {
  14759. "description": "我的包裹待收货数量",
  14760. "type": "integer"
  14761. },
  14762. "myPackageUnSendCount": {
  14763. "description": "我的包裹待发货数量",
  14764. "type": "integer"
  14765. },
  14766. "myPayOrderCount": {
  14767. "description": "我的订单待付款数量",
  14768. "type": "integer"
  14769. }
  14770. }
  14771. },
  14772. "hsby.QueryProvincesAndCitiesRsp": {
  14773. "type": "object",
  14774. "properties": {
  14775. "cities": {
  14776. "description": "市",
  14777. "type": "array",
  14778. "items": {
  14779. "$ref": "#/definitions/models.Division"
  14780. }
  14781. },
  14782. "province": {
  14783. "description": "省",
  14784. "$ref": "#/definitions/models.Division"
  14785. }
  14786. }
  14787. },
  14788. "models.Clientfixedadconfig": {
  14789. "type": "object",
  14790. "required": [
  14791. "adsort",
  14792. "adtype"
  14793. ],
  14794. "properties": {
  14795. "adsort": {
  14796. "description": "排序",
  14797. "type": "integer"
  14798. },
  14799. "adtype": {
  14800. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14801. "type": "integer"
  14802. },
  14803. "areauserid": {
  14804. "description": "所属机构ID",
  14805. "type": "integer"
  14806. },
  14807. "createdate": {
  14808. "description": "创建时间",
  14809. "type": "string"
  14810. },
  14811. "creatorid": {
  14812. "description": "创建人",
  14813. "type": "integer"
  14814. },
  14815. "imagepath": {
  14816. "description": "图片",
  14817. "type": "string"
  14818. },
  14819. "isshow": {
  14820. "description": "是否展示 - 0:不展示 1:展示",
  14821. "type": "integer"
  14822. },
  14823. "modifierid": {
  14824. "description": "操作人",
  14825. "type": "integer"
  14826. },
  14827. "recsize": {
  14828. "description": "推荐尺寸",
  14829. "type": "string"
  14830. },
  14831. "title": {
  14832. "description": "标题",
  14833. "type": "string"
  14834. },
  14835. "updatedate": {
  14836. "description": "更新时间",
  14837. "type": "string"
  14838. },
  14839. "urlcontent": {
  14840. "description": "链接(地址或商品ID)",
  14841. "type": "string"
  14842. },
  14843. "urltype": {
  14844. "description": "链接类型 - 1:直接地址 2:商品ID",
  14845. "type": "integer"
  14846. }
  14847. }
  14848. },
  14849. "models.Division": {
  14850. "type": "object",
  14851. "required": [
  14852. "autoid",
  14853. "divisioncode"
  14854. ],
  14855. "properties": {
  14856. "autoid": {
  14857. "description": "自增ID",
  14858. "type": "integer"
  14859. },
  14860. "divisioncode": {
  14861. "description": "行政代码",
  14862. "type": "string"
  14863. },
  14864. "divisionlevel": {
  14865. "description": "行政级别",
  14866. "type": "string"
  14867. },
  14868. "divisionname": {
  14869. "description": "行政名称",
  14870. "type": "string"
  14871. },
  14872. "modifierid": {
  14873. "description": "修改人",
  14874. "type": "integer"
  14875. },
  14876. "modifytime": {
  14877. "description": "修改时间",
  14878. "type": "string"
  14879. },
  14880. "parentcode": {
  14881. "description": "上级行政代码",
  14882. "type": "string"
  14883. },
  14884. "pathname": {
  14885. "description": "路径名称",
  14886. "type": "string"
  14887. },
  14888. "postcode": {
  14889. "description": "邮政编码",
  14890. "type": "string"
  14891. },
  14892. "separablename": {
  14893. "description": "可拆分的全称",
  14894. "type": "string"
  14895. },
  14896. "shortcode": {
  14897. "description": "地区简码",
  14898. "type": "string"
  14899. }
  14900. }
  14901. },
  14902. "models.Enumdicitem": {
  14903. "type": "object",
  14904. "required": [
  14905. "autoid",
  14906. "enumdiccode",
  14907. "enumdicid",
  14908. "enumitemname"
  14909. ],
  14910. "properties": {
  14911. "autoid": {
  14912. "description": "自增ID",
  14913. "type": "integer"
  14914. },
  14915. "bankmappedvalue": {
  14916. "description": "银行服务对应值",
  14917. "type": "string"
  14918. },
  14919. "enumdiccode": {
  14920. "description": "所属枚举代码",
  14921. "type": "string"
  14922. },
  14923. "enumdicid": {
  14924. "description": "所属枚举ID",
  14925. "type": "integer"
  14926. },
  14927. "enumdicname": {
  14928. "description": "枚举项名称",
  14929. "type": "string"
  14930. },
  14931. "enumitemname": {
  14932. "description": "枚举项值",
  14933. "type": "integer"
  14934. },
  14935. "enumitemstatus": {
  14936. "description": "枚举项状态 - 1.启用 2.不启用",
  14937. "type": "integer"
  14938. },
  14939. "enumitemvalue": {
  14940. "description": "通用值 - [币种通用简写]",
  14941. "type": "string"
  14942. },
  14943. "param1": {
  14944. "description": "参数1[币种:币种小数位]",
  14945. "type": "string"
  14946. },
  14947. "param2": {
  14948. "description": "参数1[币种:币种显示单位]",
  14949. "type": "string"
  14950. },
  14951. "remark": {
  14952. "description": "备注",
  14953. "type": "string"
  14954. }
  14955. }
  14956. },
  14957. "models.Ermcp3AreaSpot": {
  14958. "type": "object",
  14959. "properties": {
  14960. "areauserid": {
  14961. "description": "所属机构",
  14962. "type": "integer"
  14963. },
  14964. "decreaseqty": {
  14965. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14966. "type": "number"
  14967. },
  14968. "deliverygoodscode": {
  14969. "description": "现货品种代码",
  14970. "type": "string"
  14971. },
  14972. "deliverygoodsid": {
  14973. "description": "现货品种id",
  14974. "type": "integer"
  14975. },
  14976. "deliverygoodsname": {
  14977. "description": "现货品种名称",
  14978. "type": "string"
  14979. },
  14980. "increaseqty": {
  14981. "description": "增加数量=销售计划数量+采购已定价数量",
  14982. "type": "number"
  14983. },
  14984. "oritoalspotqty": {
  14985. "description": "昨日数量",
  14986. "type": "number"
  14987. },
  14988. "totalspotqty": {
  14989. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14990. "type": "number"
  14991. },
  14992. "updatetime": {
  14993. "description": "更新时间",
  14994. "type": "string"
  14995. }
  14996. }
  14997. },
  14998. "models.Ermcp3AreaSpotDetail": {
  14999. "type": "object",
  15000. "properties": {
  15001. "contracttype": {
  15002. "description": "合同类型 1-采购 -1-销售",
  15003. "type": "integer"
  15004. },
  15005. "createtime": {
  15006. "description": "创建时间",
  15007. "type": "string"
  15008. },
  15009. "deliverygoodscode": {
  15010. "description": "现货品种代码",
  15011. "type": "string"
  15012. },
  15013. "deliverygoodsid": {
  15014. "description": "现货品种id",
  15015. "type": "integer"
  15016. },
  15017. "deliverygoodsname": {
  15018. "description": "现货品种名称",
  15019. "type": "string"
  15020. },
  15021. "enumdicname": {
  15022. "description": "现货商品单位名称",
  15023. "type": "string"
  15024. },
  15025. "logtype": {
  15026. "description": "记录类型 1-套保 2-现货合同",
  15027. "type": "integer"
  15028. },
  15029. "qty": {
  15030. "description": "数量",
  15031. "type": "number"
  15032. },
  15033. "recordname": {
  15034. "description": "类型名称",
  15035. "type": "string"
  15036. },
  15037. "relatedid": {
  15038. "description": "套保计划ID/现货合同ID",
  15039. "type": "string"
  15040. },
  15041. "relatedno": {
  15042. "description": "编号",
  15043. "type": "string"
  15044. },
  15045. "strtime": {
  15046. "description": "时间",
  15047. "type": "string"
  15048. }
  15049. }
  15050. },
  15051. "models.Ermcp3Brand": {
  15052. "type": "object",
  15053. "properties": {
  15054. "areauserid": {
  15055. "description": "用户id",
  15056. "type": "integer"
  15057. },
  15058. "brandid": {
  15059. "description": "品牌id",
  15060. "type": "integer"
  15061. },
  15062. "brandname": {
  15063. "description": "品牌名称",
  15064. "type": "string"
  15065. },
  15066. "deliverygoodsid": {
  15067. "description": "品种ID",
  15068. "type": "integer"
  15069. }
  15070. }
  15071. },
  15072. "models.Ermcp3Contract": {
  15073. "type": "object",
  15074. "properties": {
  15075. "accountid": {
  15076. "description": "期货账户id",
  15077. "type": "string"
  15078. },
  15079. "amount": {
  15080. "description": "金额 [1:一口价、3:暂定价]",
  15081. "type": "number"
  15082. },
  15083. "attachment": {
  15084. "description": "附件",
  15085. "type": "string"
  15086. },
  15087. "auditremark": {
  15088. "description": "审核意见",
  15089. "type": "string"
  15090. },
  15091. "audittime": {
  15092. "description": "审核时间",
  15093. "type": "string"
  15094. },
  15095. "biztype": {
  15096. "description": "业务类型 1-套保 2-套利",
  15097. "type": "integer"
  15098. },
  15099. "brandname": {
  15100. "description": "品牌名称",
  15101. "type": "string"
  15102. },
  15103. "buynickname": {
  15104. "description": "销售方昵称",
  15105. "type": "string"
  15106. },
  15107. "buyuserid": {
  15108. "description": "采购方ID",
  15109. "type": "integer"
  15110. },
  15111. "buyusername": {
  15112. "description": "采购方名称",
  15113. "type": "string"
  15114. },
  15115. "contracctstatus": {
  15116. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15117. "type": "integer"
  15118. },
  15119. "contractmargin": {
  15120. "description": "合同保证金",
  15121. "type": "number"
  15122. },
  15123. "contractno": {
  15124. "description": "现货合同编号",
  15125. "type": "string"
  15126. },
  15127. "contracttype": {
  15128. "description": "现货合同类型 - 1:采购 -1:销售",
  15129. "type": "integer"
  15130. },
  15131. "convertfactor": {
  15132. "description": "标仓系数(品类)",
  15133. "type": "number"
  15134. },
  15135. "createtime": {
  15136. "description": "创建时间",
  15137. "type": "string"
  15138. },
  15139. "deliveryenddate": {
  15140. "description": "交收期(结束)",
  15141. "type": "string"
  15142. },
  15143. "deliverygoodscode": {
  15144. "description": "现货品种代码",
  15145. "type": "string"
  15146. },
  15147. "deliverygoodsid": {
  15148. "description": "现货品种ID",
  15149. "type": "integer"
  15150. },
  15151. "deliverygoodsname": {
  15152. "description": "现货品种名称",
  15153. "type": "string"
  15154. },
  15155. "deliverystartdate": {
  15156. "description": "交收期(开始)",
  15157. "type": "string"
  15158. },
  15159. "enddate": {
  15160. "description": "点价结束日期 [2:点价 3:暂定价]",
  15161. "type": "string"
  15162. },
  15163. "enumdicname": {
  15164. "description": "单位名称",
  15165. "type": "string"
  15166. },
  15167. "goodscode": {
  15168. "description": "点价合约代码",
  15169. "type": "string"
  15170. },
  15171. "goodsid": {
  15172. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15173. "type": "integer"
  15174. },
  15175. "goodsname": {
  15176. "description": "点价商品名称",
  15177. "type": "string"
  15178. },
  15179. "margin": {
  15180. "description": "当前保证金",
  15181. "type": "number"
  15182. },
  15183. "meruserid": {
  15184. "description": "业务员id",
  15185. "type": "integer"
  15186. },
  15187. "meruserlogincode": {
  15188. "description": "业务员登录代码",
  15189. "type": "string"
  15190. },
  15191. "price": {
  15192. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15193. "type": "number"
  15194. },
  15195. "pricemove": {
  15196. "description": "升贴水 [2:点价 3:暂定价]",
  15197. "type": "number"
  15198. },
  15199. "pricetype": {
  15200. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15201. "type": "integer"
  15202. },
  15203. "producttype": {
  15204. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15205. "type": "integer"
  15206. },
  15207. "qty": {
  15208. "description": "数量",
  15209. "type": "number"
  15210. },
  15211. "remark": {
  15212. "description": "备注",
  15213. "type": "string"
  15214. },
  15215. "saleuserid": {
  15216. "description": "销售员id",
  15217. "type": "integer"
  15218. },
  15219. "saleuserlogincode": {
  15220. "description": "销售员登录代码",
  15221. "type": "string"
  15222. },
  15223. "sellnickname": {
  15224. "description": "采购方昵称",
  15225. "type": "string"
  15226. },
  15227. "selluserid": {
  15228. "description": "销售方ID",
  15229. "type": "integer"
  15230. },
  15231. "sellusername": {
  15232. "description": "销售方名称",
  15233. "type": "string"
  15234. },
  15235. "spotcontractid": {
  15236. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15237. "type": "string"
  15238. },
  15239. "spotgoodsbrandid": {
  15240. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15241. "type": "integer"
  15242. },
  15243. "spotgoodsdesc": {
  15244. "description": "商品型号",
  15245. "type": "string"
  15246. },
  15247. "startdate": {
  15248. "description": "点价开始日期 [2:点价 3:暂定价]",
  15249. "type": "string"
  15250. },
  15251. "tradeuserid": {
  15252. "description": "交易员id",
  15253. "type": "integer"
  15254. },
  15255. "tradeuserlogincode": {
  15256. "description": "交易员登录代码",
  15257. "type": "string"
  15258. },
  15259. "unitid": {
  15260. "description": "单位id(取品类上的单位id)",
  15261. "type": "integer"
  15262. },
  15263. "updatetime": {
  15264. "description": "更新时间",
  15265. "type": "string"
  15266. },
  15267. "userid": {
  15268. "description": "所属机构ID",
  15269. "type": "integer"
  15270. },
  15271. "wrstandardcode": {
  15272. "description": "品类代码",
  15273. "type": "string"
  15274. },
  15275. "wrstandardid": {
  15276. "description": "品类ID",
  15277. "type": "integer"
  15278. },
  15279. "wrstandardname": {
  15280. "description": "品类名称",
  15281. "type": "string"
  15282. }
  15283. }
  15284. },
  15285. "models.Ermcp3ExposureDetail": {
  15286. "type": "object",
  15287. "properties": {
  15288. "areauserid": {
  15289. "description": "机构ID",
  15290. "type": "integer"
  15291. },
  15292. "changeQty": {
  15293. "description": "套保变动量",
  15294. "type": "number"
  15295. },
  15296. "contracttype": {
  15297. "description": "现货合同类型 - 1:采购 -1:销售",
  15298. "type": "integer"
  15299. },
  15300. "convertfactor": {
  15301. "description": "标仓系数",
  15302. "type": "number"
  15303. },
  15304. "convertratio": {
  15305. "description": "套保系数",
  15306. "type": "number"
  15307. },
  15308. "createtime": {
  15309. "description": "时间",
  15310. "type": "string"
  15311. },
  15312. "deliverygoodscode": {
  15313. "description": "现货品种代码",
  15314. "type": "string"
  15315. },
  15316. "deliverygoodsid": {
  15317. "description": "现货品种id",
  15318. "type": "integer"
  15319. },
  15320. "deliverygoodsname": {
  15321. "description": "现货品种名称",
  15322. "type": "string"
  15323. },
  15324. "enumdicname": {
  15325. "description": "现货商品单位名称",
  15326. "type": "string"
  15327. },
  15328. "logtype": {
  15329. "description": "类型 - 1:套保计划 2:现货合同",
  15330. "type": "integer"
  15331. },
  15332. "middlegoodsId": {
  15333. "description": "套保商品id",
  15334. "type": "integer"
  15335. },
  15336. "middlegoodscode": {
  15337. "description": "套保商品代码",
  15338. "type": "string"
  15339. },
  15340. "middlegoodsname": {
  15341. "description": "套保商品名称",
  15342. "type": "string"
  15343. },
  15344. "qty": {
  15345. "description": "数量",
  15346. "type": "number"
  15347. },
  15348. "relateNo": {
  15349. "description": "现货合同/套保计划编号",
  15350. "type": "string"
  15351. }
  15352. }
  15353. },
  15354. "models.Ermcp3ReportAreaSpotPL": {
  15355. "type": "object",
  15356. "properties": {
  15357. "actualpl": {
  15358. "description": "实际损益",
  15359. "type": "number"
  15360. },
  15361. "areauserid": {
  15362. "description": "所属机构",
  15363. "type": "integer"
  15364. },
  15365. "brandname": {
  15366. "description": "品牌名称",
  15367. "type": "string"
  15368. },
  15369. "curamount": {
  15370. "description": "期末额",
  15371. "type": "number"
  15372. },
  15373. "curaverageprice": {
  15374. "description": "期末均价",
  15375. "type": "number"
  15376. },
  15377. "curbuyamount": {
  15378. "description": "期末采购总额(采购额)",
  15379. "type": "number"
  15380. },
  15381. "curbuyqty": {
  15382. "description": "期末采购总量",
  15383. "type": "number"
  15384. },
  15385. "curmarketvalue": {
  15386. "description": "参考市值",
  15387. "type": "number"
  15388. },
  15389. "curqty": {
  15390. "description": "期末量",
  15391. "type": "number"
  15392. },
  15393. "cursellamount": {
  15394. "description": "期末销售总额(销售额)",
  15395. "type": "number"
  15396. },
  15397. "cursellqty": {
  15398. "description": "期末销售总量",
  15399. "type": "number"
  15400. },
  15401. "curspotprice": {
  15402. "description": "参考市价",
  15403. "type": "number"
  15404. },
  15405. "deliverygoodscode": {
  15406. "description": "现货品种代码",
  15407. "type": "string"
  15408. },
  15409. "deliverygoodsid": {
  15410. "description": "现货品种id",
  15411. "type": "integer"
  15412. },
  15413. "deliverygoodsname": {
  15414. "description": "现货品种名称",
  15415. "type": "string"
  15416. },
  15417. "enumdicname": {
  15418. "description": "现货商品单位名称",
  15419. "type": "string"
  15420. },
  15421. "floatpl": {
  15422. "description": "浮动损益",
  15423. "type": "number"
  15424. },
  15425. "gbenumdicname": {
  15426. "description": "品类单位名称",
  15427. "type": "string"
  15428. },
  15429. "gbunitid": {
  15430. "description": "现货单位id",
  15431. "type": "integer"
  15432. },
  15433. "modelname": {
  15434. "description": "品类名称",
  15435. "type": "string"
  15436. },
  15437. "oriamount": {
  15438. "description": "期初额",
  15439. "type": "number"
  15440. },
  15441. "oriaverageprice": {
  15442. "description": "期初均价",
  15443. "type": "number"
  15444. },
  15445. "oribuyamount": {
  15446. "description": "期初采购总额",
  15447. "type": "number"
  15448. },
  15449. "oribuyqty": {
  15450. "description": "期初采购总量",
  15451. "type": "number"
  15452. },
  15453. "oriqty": {
  15454. "description": "期初量",
  15455. "type": "number"
  15456. },
  15457. "orisellamount": {
  15458. "description": "期初销售总额",
  15459. "type": "number"
  15460. },
  15461. "orisellqty": {
  15462. "description": "期初销售总量",
  15463. "type": "number"
  15464. },
  15465. "spotgoodsbrandid": {
  15466. "description": "现货品牌ID",
  15467. "type": "integer"
  15468. },
  15469. "todaybuyamount": {
  15470. "description": "今日采购额",
  15471. "type": "number"
  15472. },
  15473. "todaybuyaverageprice": {
  15474. "description": "今日采购均价(采购均价)",
  15475. "type": "number"
  15476. },
  15477. "todaybuyqty": {
  15478. "description": "今日采购量(采购增量)",
  15479. "type": "number"
  15480. },
  15481. "todaysellamount": {
  15482. "description": "今日销售额",
  15483. "type": "number"
  15484. },
  15485. "todaysellaverageprice": {
  15486. "description": "今日销售均价(销售均价)",
  15487. "type": "number"
  15488. },
  15489. "todaysellqty": {
  15490. "description": "今日销售量(销售增量)",
  15491. "type": "number"
  15492. },
  15493. "unitid": {
  15494. "description": "品类单位id",
  15495. "type": "integer"
  15496. },
  15497. "updatetime": {
  15498. "description": "更新时间",
  15499. "type": "string"
  15500. },
  15501. "wrstandardcode": {
  15502. "description": "品类代码",
  15503. "type": "string"
  15504. },
  15505. "wrstandardid": {
  15506. "description": "品类ID",
  15507. "type": "integer"
  15508. },
  15509. "wrstandardname": {
  15510. "description": "品类名称",
  15511. "type": "string"
  15512. }
  15513. }
  15514. },
  15515. "models.Ermcp3ReportDaySpot": {
  15516. "type": "object",
  15517. "properties": {
  15518. "areauserid": {
  15519. "description": "所属机构T",
  15520. "type": "integer"
  15521. },
  15522. "buyinqty": {
  15523. "description": "采购入库量",
  15524. "type": "number"
  15525. },
  15526. "deliverygoodscode": {
  15527. "description": "现货品种代码",
  15528. "type": "string"
  15529. },
  15530. "deliverygoodsid": {
  15531. "description": "现货品种id",
  15532. "type": "integer"
  15533. },
  15534. "deliverygoodsname": {
  15535. "description": "现货品种名称",
  15536. "type": "string"
  15537. },
  15538. "enumdicname": {
  15539. "description": "现货商品单位名称",
  15540. "type": "string"
  15541. },
  15542. "reckondate": {
  15543. "description": "日照时期(yyyyMMdd)",
  15544. "type": "string"
  15545. },
  15546. "selloutqty": {
  15547. "description": "销售出库量",
  15548. "type": "number"
  15549. },
  15550. "todaybuyreckonqty": {
  15551. "description": "采购确定量",
  15552. "type": "number"
  15553. },
  15554. "todaysellreckonqty": {
  15555. "description": "销售确定量",
  15556. "type": "number"
  15557. },
  15558. "totalbuypricedqty": {
  15559. "description": "采购定价量 = 期末 - 期初",
  15560. "type": "number"
  15561. },
  15562. "totalsellpricedqty": {
  15563. "description": "销售定价量 = 期末 - 期初",
  15564. "type": "number"
  15565. }
  15566. }
  15567. },
  15568. "models.Ermcp3ReportMonSpot": {
  15569. "type": "object",
  15570. "properties": {
  15571. "areauserid": {
  15572. "description": "所属机构id",
  15573. "type": "integer"
  15574. },
  15575. "buyinqty": {
  15576. "description": "采购入库量",
  15577. "type": "number"
  15578. },
  15579. "cycletime": {
  15580. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15581. "type": "string"
  15582. },
  15583. "cycletype": {
  15584. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15585. "type": "integer"
  15586. },
  15587. "deliverygoodscode": {
  15588. "description": "现货品种代码",
  15589. "type": "string"
  15590. },
  15591. "deliverygoodsid": {
  15592. "description": "现货品种id",
  15593. "type": "integer"
  15594. },
  15595. "deliverygoodsname": {
  15596. "description": "现货品种名称",
  15597. "type": "string"
  15598. },
  15599. "enumdicname": {
  15600. "description": "现货商品单位名称",
  15601. "type": "string"
  15602. },
  15603. "selloutqty": {
  15604. "description": "销售出库量",
  15605. "type": "number"
  15606. },
  15607. "todaybuyreckonqty": {
  15608. "description": "采购确定量",
  15609. "type": "number"
  15610. },
  15611. "todaysellreckonqty": {
  15612. "description": "销售确定量",
  15613. "type": "number"
  15614. },
  15615. "totalbuypricedqty": {
  15616. "description": "采购定价量 = 期末 - 期初",
  15617. "type": "number"
  15618. },
  15619. "totalsellpricedqty": {
  15620. "description": "销售定价量 = 期末 - 期初",
  15621. "type": "number"
  15622. }
  15623. }
  15624. },
  15625. "models.Ermcp3ReportOPLog": {
  15626. "type": "object",
  15627. "properties": {
  15628. "applyid": {
  15629. "description": "操作人",
  15630. "type": "integer"
  15631. },
  15632. "applyname": {
  15633. "description": "操作人名称",
  15634. "type": "string"
  15635. },
  15636. "biztype": {
  15637. "description": "业务类型 - 1:套保计划 2:现货合同",
  15638. "type": "integer"
  15639. },
  15640. "brandname": {
  15641. "description": "品牌名称",
  15642. "type": "string"
  15643. },
  15644. "contracttype": {
  15645. "description": "现货合同类型 - 1:采购 -1:销售",
  15646. "type": "integer"
  15647. },
  15648. "deliverygoodscode": {
  15649. "description": "现货品种代码",
  15650. "type": "string"
  15651. },
  15652. "deliverygoodsid": {
  15653. "description": "现货品种id",
  15654. "type": "integer"
  15655. },
  15656. "deliverygoodsname": {
  15657. "description": "现货品种名称",
  15658. "type": "string"
  15659. },
  15660. "enumdicName": {
  15661. "description": "单位名称",
  15662. "type": "string"
  15663. },
  15664. "logdatetime": {
  15665. "description": "流水日期(时间)",
  15666. "type": "string"
  15667. },
  15668. "logid": {
  15669. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  15670. "type": "string"
  15671. },
  15672. "logtypename": {
  15673. "description": "合同类型(名称)",
  15674. "type": "string"
  15675. },
  15676. "logvalue": {
  15677. "description": "数值",
  15678. "type": "string"
  15679. },
  15680. "operatelogtype": {
  15681. "description": "操作流水类型 -",
  15682. "type": "integer"
  15683. },
  15684. "optypename": {
  15685. "description": "流水类型名称",
  15686. "type": "string"
  15687. },
  15688. "relatedid": {
  15689. "description": "现货合同ID\\套保计划",
  15690. "type": "string"
  15691. },
  15692. "relatedno": {
  15693. "description": "合同编号",
  15694. "type": "string"
  15695. },
  15696. "tradedate": {
  15697. "description": "交易日(yyyyMMdd)",
  15698. "type": "string"
  15699. },
  15700. "userid": {
  15701. "description": "机构ID",
  15702. "type": "integer"
  15703. }
  15704. }
  15705. },
  15706. "models.Ermcp3SellBuyContract": {
  15707. "type": "object",
  15708. "properties": {
  15709. "accountname": {
  15710. "description": "账户名称",
  15711. "type": "string"
  15712. },
  15713. "attachment": {
  15714. "description": "附件",
  15715. "type": "string"
  15716. },
  15717. "audittime": {
  15718. "description": "审核时间",
  15719. "type": "string"
  15720. },
  15721. "brandname": {
  15722. "description": "品牌名称",
  15723. "type": "string"
  15724. },
  15725. "contracctstatus": {
  15726. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15727. "type": "integer"
  15728. },
  15729. "contractmargin": {
  15730. "description": "合同保证金",
  15731. "type": "number"
  15732. },
  15733. "contractno": {
  15734. "description": "合同编号",
  15735. "type": "string"
  15736. },
  15737. "contracttype": {
  15738. "description": "合同类型 1-采购, -1-销售",
  15739. "type": "integer"
  15740. },
  15741. "convertfactor": {
  15742. "description": "标仓系数(品类)",
  15743. "type": "number"
  15744. },
  15745. "createtime": {
  15746. "description": "创建时间",
  15747. "type": "string"
  15748. },
  15749. "daikaiamount": {
  15750. "description": "应收(开)票额",
  15751. "type": "number"
  15752. },
  15753. "deliveryenddate": {
  15754. "description": "交割结束日",
  15755. "type": "string"
  15756. },
  15757. "deliverygoodscode": {
  15758. "description": "现货品种代码",
  15759. "type": "string"
  15760. },
  15761. "deliverygoodsid": {
  15762. "description": "现货商品ID",
  15763. "type": "integer"
  15764. },
  15765. "deliverygoodsname": {
  15766. "description": "现货品种名称",
  15767. "type": "string"
  15768. },
  15769. "deliverystartdate": {
  15770. "description": "交割开始日",
  15771. "type": "string"
  15772. },
  15773. "enddate": {
  15774. "description": "点价结束日",
  15775. "type": "string"
  15776. },
  15777. "enumdicname": {
  15778. "description": "单位名称",
  15779. "type": "string"
  15780. },
  15781. "goodscode": {
  15782. "description": "点价商品代码",
  15783. "type": "string"
  15784. },
  15785. "goodsid": {
  15786. "description": "点价商品ID",
  15787. "type": "integer"
  15788. },
  15789. "goodsname": {
  15790. "description": "点价商品名称",
  15791. "type": "string"
  15792. },
  15793. "invoiceamount": {
  15794. "description": "已开票额",
  15795. "type": "number"
  15796. },
  15797. "loanamount": {
  15798. "description": "贷款总额=已定价额+调整金额",
  15799. "type": "number"
  15800. },
  15801. "margin": {
  15802. "description": "保证金",
  15803. "type": "number"
  15804. },
  15805. "payamount": {
  15806. "description": "已收付额(收款或付款)",
  15807. "type": "number"
  15808. },
  15809. "preinvoiceamount": {
  15810. "description": "预收(开)票额",
  15811. "type": "number"
  15812. },
  15813. "prepayamount": {
  15814. "description": "预收付额",
  15815. "type": "number"
  15816. },
  15817. "price": {
  15818. "description": "价格",
  15819. "type": "number"
  15820. },
  15821. "pricedamount": {
  15822. "description": "已定价额",
  15823. "type": "number"
  15824. },
  15825. "pricedavg": {
  15826. "description": "已点均价",
  15827. "type": "number"
  15828. },
  15829. "pricedqty": {
  15830. "description": "已定价量",
  15831. "type": "number"
  15832. },
  15833. "pricemove": {
  15834. "description": "升贴水",
  15835. "type": "number"
  15836. },
  15837. "pricetype": {
  15838. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15839. "type": "integer"
  15840. },
  15841. "producttype": {
  15842. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15843. "type": "integer"
  15844. },
  15845. "qty": {
  15846. "description": "合同量",
  15847. "type": "number"
  15848. },
  15849. "reckonadjustamount": {
  15850. "description": "调整金额",
  15851. "type": "number"
  15852. },
  15853. "reckonedamount": {
  15854. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15855. "type": "number"
  15856. },
  15857. "reckonotheramount": {
  15858. "description": "其它费用",
  15859. "type": "number"
  15860. },
  15861. "reckonrealqty": {
  15862. "description": "已确定量",
  15863. "type": "number"
  15864. },
  15865. "remark": {
  15866. "description": "备注",
  15867. "type": "string"
  15868. },
  15869. "spotcontractid": {
  15870. "description": "合同ID",
  15871. "type": "string"
  15872. },
  15873. "spotgoodsbrandid": {
  15874. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15875. "type": "integer"
  15876. },
  15877. "spotgoodsdesc": {
  15878. "description": "商品型号(商品规格)",
  15879. "type": "string"
  15880. },
  15881. "startdate": {
  15882. "description": "点价开始日",
  15883. "type": "string"
  15884. },
  15885. "totalamount": {
  15886. "description": "合计总额",
  15887. "type": "number"
  15888. },
  15889. "unpayamount": {
  15890. "description": "应收付款额(应支付或应收款)",
  15891. "type": "number"
  15892. },
  15893. "unpricedqty": {
  15894. "description": "未定价量",
  15895. "type": "number"
  15896. },
  15897. "unsureqty": {
  15898. "description": "未确定量",
  15899. "type": "number"
  15900. },
  15901. "userid": {
  15902. "description": "机构ID",
  15903. "type": "integer"
  15904. },
  15905. "wrstandardcode": {
  15906. "description": "品类代码",
  15907. "type": "string"
  15908. },
  15909. "wrstandardid": {
  15910. "description": "品类ID",
  15911. "type": "integer"
  15912. },
  15913. "wrstandardname": {
  15914. "description": "品类名称",
  15915. "type": "string"
  15916. }
  15917. }
  15918. },
  15919. "models.Ermcp3Wrstandard": {
  15920. "type": "object",
  15921. "properties": {
  15922. "areauserid": {
  15923. "description": "所属机构",
  15924. "type": "integer"
  15925. },
  15926. "createtime": {
  15927. "description": "创建时间",
  15928. "type": "string"
  15929. },
  15930. "creatorid": {
  15931. "description": "创建人",
  15932. "type": "integer"
  15933. },
  15934. "deliverygoodsid": {
  15935. "description": "现货品种ID",
  15936. "type": "integer"
  15937. },
  15938. "enumdicname": {
  15939. "description": "品类单位名称",
  15940. "type": "string"
  15941. },
  15942. "isvalid": {
  15943. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15944. "type": "integer"
  15945. },
  15946. "minivalue": {
  15947. "description": "最小变动值",
  15948. "type": "integer"
  15949. },
  15950. "minivaluedp": {
  15951. "description": "最小变动值小数位",
  15952. "type": "integer"
  15953. },
  15954. "realminivalue": {
  15955. "description": "实际最小变动值",
  15956. "type": "integer"
  15957. },
  15958. "realminivaluedp": {
  15959. "description": "实际最小变动值小数位",
  15960. "type": "integer"
  15961. },
  15962. "remark": {
  15963. "description": "备注",
  15964. "type": "string"
  15965. },
  15966. "unitid": {
  15967. "description": "品类单位ID",
  15968. "type": "integer"
  15969. },
  15970. "updatetime": {
  15971. "description": "更新时间",
  15972. "type": "string"
  15973. },
  15974. "wrstandardcode": {
  15975. "description": "品类代码",
  15976. "type": "string"
  15977. },
  15978. "wrstandardid": {
  15979. "description": "品类ID(SEQ_WRSTANDARD)",
  15980. "type": "integer"
  15981. },
  15982. "wrstandardname": {
  15983. "description": "品类名称",
  15984. "type": "string"
  15985. }
  15986. }
  15987. },
  15988. "models.ErmcpAreaStock": {
  15989. "type": "object",
  15990. "properties": {
  15991. "brandname": {
  15992. "description": "品牌名称",
  15993. "type": "string"
  15994. },
  15995. "curstock": {
  15996. "description": "期末库存量(今日量)",
  15997. "type": "number"
  15998. },
  15999. "deliverygoodsid": {
  16000. "description": "现货品种ID",
  16001. "type": "integer"
  16002. },
  16003. "enumdicname": {
  16004. "description": "单位名称",
  16005. "type": "string"
  16006. },
  16007. "modelname": {
  16008. "description": "型号名称",
  16009. "type": "string"
  16010. },
  16011. "oristock": {
  16012. "description": "期初库存量(昨日量)",
  16013. "type": "number"
  16014. },
  16015. "spotgoodsbrandid": {
  16016. "description": "现货品牌ID",
  16017. "type": "integer"
  16018. },
  16019. "spotgoodsmodelid": {
  16020. "description": "现货型号ID",
  16021. "type": "integer"
  16022. },
  16023. "todaybuyinqty": {
  16024. "description": "今日采购入库量",
  16025. "type": "number"
  16026. },
  16027. "todayproduceinqty": {
  16028. "description": "今日生产入库量",
  16029. "type": "number"
  16030. },
  16031. "todayproduceoutqty": {
  16032. "description": "今日生产出库量",
  16033. "type": "number"
  16034. },
  16035. "todayselloutqty": {
  16036. "description": "今日销售出库量",
  16037. "type": "number"
  16038. },
  16039. "unitid": {
  16040. "description": "单位id",
  16041. "type": "integer"
  16042. },
  16043. "updatetime": {
  16044. "description": "更新时间",
  16045. "type": "string"
  16046. },
  16047. "userid": {
  16048. "description": "机构ID",
  16049. "type": "integer"
  16050. },
  16051. "username": {
  16052. "description": "机构名称",
  16053. "type": "string"
  16054. },
  16055. "warehousecode": {
  16056. "description": "仓库代码",
  16057. "type": "string"
  16058. },
  16059. "warehouseinfoid": {
  16060. "description": "仓库ID",
  16061. "type": "string"
  16062. },
  16063. "warehousename": {
  16064. "description": "仓库名称",
  16065. "type": "string"
  16066. },
  16067. "warehousetype": {
  16068. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16069. "type": "integer"
  16070. },
  16071. "wrstandardcode": {
  16072. "description": "现货商品代码",
  16073. "type": "string"
  16074. },
  16075. "wrstandardid": {
  16076. "description": "现货商品ID",
  16077. "type": "string"
  16078. },
  16079. "wrstandardname": {
  16080. "description": "现货商品名称",
  16081. "type": "string"
  16082. }
  16083. }
  16084. },
  16085. "models.ErmcpAreaStockApply": {
  16086. "type": "object",
  16087. "properties": {
  16088. "applyid": {
  16089. "description": "申请人",
  16090. "type": "integer"
  16091. },
  16092. "applyname": {
  16093. "description": "申请人名称",
  16094. "type": "string"
  16095. },
  16096. "applyremark": {
  16097. "description": "申请备注",
  16098. "type": "string"
  16099. },
  16100. "applysrc": {
  16101. "description": "申请来源 - 1:管理端 2:终端",
  16102. "type": "integer"
  16103. },
  16104. "applystatus": {
  16105. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16106. "type": "integer"
  16107. },
  16108. "applytime": {
  16109. "description": "申请时间",
  16110. "type": "string"
  16111. },
  16112. "auditid": {
  16113. "description": "审核人",
  16114. "type": "integer"
  16115. },
  16116. "auditname": {
  16117. "description": "审核人名称",
  16118. "type": "string"
  16119. },
  16120. "auditremark": {
  16121. "description": "审核备注",
  16122. "type": "string"
  16123. },
  16124. "auditsrc": {
  16125. "description": "审核来源 - 1:管理端 2:终端",
  16126. "type": "integer"
  16127. },
  16128. "audittime": {
  16129. "description": "审核时间",
  16130. "type": "string"
  16131. },
  16132. "audittradedate": {
  16133. "description": "审核交易日(yyyyMMdd)",
  16134. "type": "string"
  16135. },
  16136. "brandname": {
  16137. "description": "品牌名称",
  16138. "type": "string"
  16139. },
  16140. "buyuserid": {
  16141. "description": "采购方userid",
  16142. "type": "integer"
  16143. },
  16144. "buyusername": {
  16145. "description": "采购方名称",
  16146. "type": "string"
  16147. },
  16148. "contractno": {
  16149. "description": "合同编号",
  16150. "type": "string"
  16151. },
  16152. "contractqty": {
  16153. "description": "合同量",
  16154. "type": "number"
  16155. },
  16156. "contracttype": {
  16157. "description": "现货合同类型 - 1:采购 -1:销售",
  16158. "type": "integer"
  16159. },
  16160. "deliverygoodsid": {
  16161. "description": "现货品种ID",
  16162. "type": "integer"
  16163. },
  16164. "enumdicname": {
  16165. "description": "现货商品单位名称",
  16166. "type": "string"
  16167. },
  16168. "inoutapplyid": {
  16169. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16170. "type": "string"
  16171. },
  16172. "inouttype": {
  16173. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  16174. "type": "integer"
  16175. },
  16176. "modelname": {
  16177. "description": "型号名称",
  16178. "type": "string"
  16179. },
  16180. "pricetype": {
  16181. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16182. "type": "integer"
  16183. },
  16184. "qty": {
  16185. "description": "数量",
  16186. "type": "number"
  16187. },
  16188. "selluserid": {
  16189. "description": "销售方userid",
  16190. "type": "integer"
  16191. },
  16192. "sellusername": {
  16193. "description": "销售方名称",
  16194. "type": "string"
  16195. },
  16196. "spotcontractid": {
  16197. "description": "关联现货合同ID",
  16198. "type": "string"
  16199. },
  16200. "spotgoodsbrandid": {
  16201. "description": "现货品牌ID",
  16202. "type": "integer"
  16203. },
  16204. "spotgoodsmodelid": {
  16205. "description": "现货型号ID",
  16206. "type": "integer"
  16207. },
  16208. "unitid": {
  16209. "description": "单位id",
  16210. "type": "integer"
  16211. },
  16212. "userid": {
  16213. "description": "机构ID",
  16214. "type": "integer"
  16215. },
  16216. "warehousecode": {
  16217. "description": "仓库代码",
  16218. "type": "string"
  16219. },
  16220. "warehouseinfoid": {
  16221. "description": "现货仓库ID",
  16222. "type": "string"
  16223. },
  16224. "warehousename": {
  16225. "description": "仓库名称",
  16226. "type": "string"
  16227. },
  16228. "warehousetype": {
  16229. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16230. "type": "integer"
  16231. },
  16232. "wrstandardcode": {
  16233. "description": "现货商品代码",
  16234. "type": "string"
  16235. },
  16236. "wrstandardid": {
  16237. "description": "现货商品ID",
  16238. "type": "string"
  16239. },
  16240. "wrstandardname": {
  16241. "description": "现货商品名称",
  16242. "type": "string"
  16243. }
  16244. }
  16245. },
  16246. "models.ErmcpAreaStockReport": {
  16247. "type": "object",
  16248. "properties": {
  16249. "brandname": {
  16250. "description": "品牌名称",
  16251. "type": "string"
  16252. },
  16253. "curstock": {
  16254. "description": "期末库存量",
  16255. "type": "number"
  16256. },
  16257. "deliverygoodsid": {
  16258. "description": "现货品种ID",
  16259. "type": "integer"
  16260. },
  16261. "enumdicname": {
  16262. "description": "单位名称",
  16263. "type": "string"
  16264. },
  16265. "modelname": {
  16266. "description": "型号名称",
  16267. "type": "string"
  16268. },
  16269. "oristock": {
  16270. "description": "期初库存量",
  16271. "type": "number"
  16272. },
  16273. "spotgoodsbrandid": {
  16274. "description": "现货品牌ID",
  16275. "type": "integer"
  16276. },
  16277. "spotgoodsmodelid": {
  16278. "description": "现货型号ID",
  16279. "type": "integer"
  16280. },
  16281. "todaybuyinqty": {
  16282. "description": "今日采购入库量",
  16283. "type": "number"
  16284. },
  16285. "todayproduceinqty": {
  16286. "description": "今日生产入库量",
  16287. "type": "number"
  16288. },
  16289. "todayproduceoutqty": {
  16290. "description": "今日生产出库量",
  16291. "type": "number"
  16292. },
  16293. "todayselloutqty": {
  16294. "description": "今日销售出库量",
  16295. "type": "number"
  16296. },
  16297. "unitid": {
  16298. "description": "单位id",
  16299. "type": "integer"
  16300. },
  16301. "updatetime": {
  16302. "description": "更新时间",
  16303. "type": "string"
  16304. },
  16305. "userid": {
  16306. "description": "机构ID",
  16307. "type": "integer"
  16308. },
  16309. "username": {
  16310. "description": "机构名称",
  16311. "type": "string"
  16312. },
  16313. "warehousecode": {
  16314. "description": "仓库代码",
  16315. "type": "string"
  16316. },
  16317. "warehouseinfoid": {
  16318. "description": "仓库ID",
  16319. "type": "string"
  16320. },
  16321. "warehousename": {
  16322. "description": "仓库名称",
  16323. "type": "string"
  16324. },
  16325. "warehousetype": {
  16326. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16327. "type": "integer"
  16328. },
  16329. "wrstandardcode": {
  16330. "description": "现货商品代码",
  16331. "type": "string"
  16332. },
  16333. "wrstandardid": {
  16334. "description": "现货商品ID",
  16335. "type": "string"
  16336. },
  16337. "wrstandardname": {
  16338. "description": "现货商品名称",
  16339. "type": "string"
  16340. }
  16341. }
  16342. },
  16343. "models.ErmcpBizGroupEx": {
  16344. "type": "object",
  16345. "properties": {
  16346. "acclist": {
  16347. "description": "账号列表",
  16348. "type": "array",
  16349. "items": {
  16350. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16351. }
  16352. },
  16353. "bizgroupid": {
  16354. "description": "业务分组id",
  16355. "type": "integer"
  16356. },
  16357. "biztype": {
  16358. "description": "业务类型 1-套保 2-套利",
  16359. "type": "integer"
  16360. },
  16361. "wrlist": {
  16362. "description": "现货商品表",
  16363. "type": "array",
  16364. "items": {
  16365. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16366. }
  16367. }
  16368. }
  16369. },
  16370. "models.ErmcpBizGroupSpotGoods": {
  16371. "type": "object",
  16372. "properties": {
  16373. "areauserid": {
  16374. "description": "所属机构id",
  16375. "type": "integer"
  16376. },
  16377. "bizgroupid": {
  16378. "description": "分组id",
  16379. "type": "integer"
  16380. },
  16381. "biztype": {
  16382. "description": "业务类型 1-套保 2-套利",
  16383. "type": "integer"
  16384. },
  16385. "deliverygoodscode": {
  16386. "description": "现货商品代码",
  16387. "type": "string"
  16388. },
  16389. "deliverygoodsid": {
  16390. "description": "现货商品id",
  16391. "type": "integer"
  16392. },
  16393. "deliverygoodsname": {
  16394. "description": "现货商品名称",
  16395. "type": "string"
  16396. },
  16397. "unitid": {
  16398. "description": "现货商品单位id",
  16399. "type": "integer"
  16400. }
  16401. }
  16402. },
  16403. "models.ErmcpBizGroupTaAccount": {
  16404. "type": "object",
  16405. "properties": {
  16406. "accountid": {
  16407. "description": "账号id",
  16408. "type": "string"
  16409. },
  16410. "accountname": {
  16411. "description": "账号名称",
  16412. "type": "string"
  16413. },
  16414. "areauserid": {
  16415. "description": "所属机构id",
  16416. "type": "integer"
  16417. },
  16418. "bizgroupid": {
  16419. "description": "业务分组id",
  16420. "type": "integer"
  16421. },
  16422. "ismain": {
  16423. "description": "是否主账号 1-是 0-否",
  16424. "type": "integer"
  16425. }
  16426. }
  16427. },
  16428. "models.ErmcpDGFactoryItem": {
  16429. "type": "object",
  16430. "properties": {
  16431. "areauserid": {
  16432. "description": "用户id",
  16433. "type": "integer"
  16434. },
  16435. "deliverygoodsid": {
  16436. "description": "现货品种ID",
  16437. "type": "integer"
  16438. },
  16439. "dgfactoryitemid": {
  16440. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16441. "type": "integer"
  16442. },
  16443. "dgfactoryitemtypeid": {
  16444. "description": "要素项类型",
  16445. "type": "integer"
  16446. },
  16447. "dgfactoryitemvalue": {
  16448. "description": "要素项值(类型为仓库时填写仓库名称)",
  16449. "type": "string"
  16450. },
  16451. "isvalid": {
  16452. "description": "是否有效 - 0:无效 1:有效",
  16453. "type": "integer"
  16454. },
  16455. "orderindex": {
  16456. "description": "顺序",
  16457. "type": "integer"
  16458. },
  16459. "warehouseid": {
  16460. "description": "仓库ID(类型为仓库时填写)",
  16461. "type": "integer"
  16462. }
  16463. }
  16464. },
  16465. "models.ErmcpDeliveryGoods": {
  16466. "type": "object",
  16467. "properties": {
  16468. "agreeunit": {
  16469. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16470. "type": "integer"
  16471. },
  16472. "areauserid": {
  16473. "description": "所属机构",
  16474. "type": "integer"
  16475. },
  16476. "auditflag": {
  16477. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16478. "type": "integer"
  16479. },
  16480. "categoryid": {
  16481. "description": "类别ID(SEQ_WRCATEGORY)",
  16482. "type": "integer"
  16483. },
  16484. "deliverygoodscode": {
  16485. "description": "现货品种代码",
  16486. "type": "string"
  16487. },
  16488. "deliverygoodsid": {
  16489. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16490. "type": "integer"
  16491. },
  16492. "deliverygoodsname": {
  16493. "description": "现货品种名称",
  16494. "type": "string"
  16495. },
  16496. "deliverygoodstype": {
  16497. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16498. "type": "integer"
  16499. },
  16500. "dgstatus": {
  16501. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16502. "type": "integer"
  16503. },
  16504. "enumdicname": {
  16505. "description": "现货品种单位名称",
  16506. "type": "string"
  16507. },
  16508. "goodsunitid": {
  16509. "description": "现货品种单位ID",
  16510. "type": "integer"
  16511. },
  16512. "isvalid": {
  16513. "description": "是否有效 - 0:无效 1:有效",
  16514. "type": "integer"
  16515. },
  16516. "qtydecimalplace": {
  16517. "description": "成交量小数位",
  16518. "type": "integer"
  16519. },
  16520. "standardqty": {
  16521. "description": "标准数量(库位数量) [标准品特有]",
  16522. "type": "integer"
  16523. },
  16524. "standardqtyrange": {
  16525. "description": "标准数量偏差范围 [标准品特有]",
  16526. "type": "integer"
  16527. }
  16528. }
  16529. },
  16530. "models.ErmcpDeliveryGoodsDetail": {
  16531. "type": "object",
  16532. "properties": {
  16533. "data": {
  16534. "description": "现货商品基本信息(交割品种)",
  16535. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16536. },
  16537. "gblist": {
  16538. "description": "品牌列表",
  16539. "type": "array",
  16540. "items": {
  16541. "$ref": "#/definitions/models.Ermcp3Brand"
  16542. }
  16543. },
  16544. "gmlist": {
  16545. "description": "品类列表(仓单标准)",
  16546. "type": "array",
  16547. "items": {
  16548. "$ref": "#/definitions/models.ErmcpWrstandard"
  16549. }
  16550. },
  16551. "goodslist": {
  16552. "description": "关联交易商品列表",
  16553. "type": "array",
  16554. "items": {
  16555. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  16556. }
  16557. },
  16558. "wrslist": {
  16559. "description": "套保信息列表",
  16560. "type": "array",
  16561. "items": {
  16562. "$ref": "#/definitions/models.WRSConverTDetail"
  16563. }
  16564. }
  16565. }
  16566. },
  16567. "models.ErmcpFuturesCompany": {
  16568. "type": "object",
  16569. "properties": {
  16570. "brokerid": {
  16571. "description": "经纪公司代码",
  16572. "type": "string"
  16573. },
  16574. "channeladdress": {
  16575. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16576. "type": "string"
  16577. },
  16578. "channelid": {
  16579. "description": "对冲渠道ID",
  16580. "type": "string"
  16581. },
  16582. "createtime": {
  16583. "description": "创建时间",
  16584. "type": "string"
  16585. },
  16586. "creatorid": {
  16587. "description": "创建人",
  16588. "type": "string"
  16589. },
  16590. "fcid": {
  16591. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16592. "type": "integer"
  16593. },
  16594. "fcname": {
  16595. "description": "期货公司名称",
  16596. "type": "string"
  16597. },
  16598. "isvalid": {
  16599. "description": "是否有效 - 0:无效 1:有效",
  16600. "type": "integer"
  16601. },
  16602. "mhpaddress": {
  16603. "description": "MHP服务地址(IP:Port)",
  16604. "type": "string"
  16605. },
  16606. "riskrulegroupid": {
  16607. "description": "风控规则组ID",
  16608. "type": "string"
  16609. },
  16610. "tradefeetmpid": {
  16611. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16612. "type": "string"
  16613. },
  16614. "trademargintmpid": {
  16615. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16616. "type": "string"
  16617. },
  16618. "traderatetmpid": {
  16619. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16620. "type": "string"
  16621. },
  16622. "updatetime": {
  16623. "description": "更新时间",
  16624. "type": "string"
  16625. },
  16626. "updatorid": {
  16627. "description": "更新人",
  16628. "type": "string"
  16629. }
  16630. }
  16631. },
  16632. "models.ErmcpGGConvertCfg": {
  16633. "type": "object",
  16634. "properties": {
  16635. "convertratio": {
  16636. "description": "折算系数",
  16637. "type": "number"
  16638. },
  16639. "destgoodsgroupid": {
  16640. "description": "目标品种ID",
  16641. "type": "integer"
  16642. },
  16643. "dstcode": {
  16644. "description": "目录品种代码",
  16645. "type": "string"
  16646. },
  16647. "dstexchangecode": {
  16648. "description": "目标期货交易所",
  16649. "type": "string"
  16650. },
  16651. "dstname": {
  16652. "description": "目标品种名称",
  16653. "type": "string"
  16654. },
  16655. "dstunitid": {
  16656. "description": "目标品种单位ID",
  16657. "type": "integer"
  16658. },
  16659. "dstunitidname": {
  16660. "description": "目标品种单位名称",
  16661. "type": "string"
  16662. },
  16663. "modifytime": {
  16664. "description": "修改时间",
  16665. "type": "string"
  16666. },
  16667. "srccode": {
  16668. "description": "源品种代码",
  16669. "type": "string"
  16670. },
  16671. "srcexchangecode": {
  16672. "description": "源期货交易所",
  16673. "type": "string"
  16674. },
  16675. "srcgoodsgroupid": {
  16676. "description": "源品种ID",
  16677. "type": "integer"
  16678. },
  16679. "srcname": {
  16680. "description": "源品种名称",
  16681. "type": "string"
  16682. },
  16683. "srcunitid": {
  16684. "description": "源品种单位ID",
  16685. "type": "integer"
  16686. },
  16687. "srcunitidname": {
  16688. "description": "源品种单位名称",
  16689. "type": "string"
  16690. }
  16691. }
  16692. },
  16693. "models.ErmcpGoodsBrand": {
  16694. "type": "object",
  16695. "properties": {
  16696. "areauserid": {
  16697. "description": "所属机构",
  16698. "type": "integer"
  16699. },
  16700. "brandid": {
  16701. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16702. "type": "integer"
  16703. },
  16704. "brandname": {
  16705. "description": "品牌名称",
  16706. "type": "string"
  16707. },
  16708. "createtime": {
  16709. "description": "创建时间",
  16710. "type": "string"
  16711. },
  16712. "creatorid": {
  16713. "description": "创建人",
  16714. "type": "integer"
  16715. },
  16716. "creatorsrc": {
  16717. "description": "创建人来源 - 1:管理端 2:终端",
  16718. "type": "integer"
  16719. },
  16720. "deliverygoodsid": {
  16721. "description": "现货品种ID",
  16722. "type": "integer"
  16723. },
  16724. "isvalid": {
  16725. "description": "是否有效 - 0:无效 1:有效",
  16726. "type": "integer"
  16727. },
  16728. "updatetime": {
  16729. "description": "更新时间",
  16730. "type": "string"
  16731. },
  16732. "updatorid": {
  16733. "description": "更新人",
  16734. "type": "integer"
  16735. },
  16736. "updatorsrc": {
  16737. "description": "更新人来源 - 1:管理端 2:终端",
  16738. "type": "integer"
  16739. },
  16740. "wrstandardid": {
  16741. "description": "现货商品ID",
  16742. "type": "integer"
  16743. }
  16744. }
  16745. },
  16746. "models.ErmcpGoodsModel": {
  16747. "type": "object",
  16748. "properties": {
  16749. "areauserid": {
  16750. "description": "所属机构",
  16751. "type": "integer"
  16752. },
  16753. "convertfactor": {
  16754. "description": "标仓系数",
  16755. "type": "number"
  16756. },
  16757. "createtime": {
  16758. "description": "创建时间",
  16759. "type": "string"
  16760. },
  16761. "creatorid": {
  16762. "description": "创建人",
  16763. "type": "integer"
  16764. },
  16765. "creatorsrc": {
  16766. "description": "创建人来源 - 1:管理端 2:终端",
  16767. "type": "integer"
  16768. },
  16769. "deliverygoodsid": {
  16770. "description": "现货品种ID",
  16771. "type": "integer"
  16772. },
  16773. "isvalid": {
  16774. "description": "是否有效 - 0:无效 1:有效",
  16775. "type": "integer"
  16776. },
  16777. "modelid": {
  16778. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16779. "type": "integer"
  16780. },
  16781. "modelname": {
  16782. "description": "型号名称",
  16783. "type": "string"
  16784. },
  16785. "updatetime": {
  16786. "description": "更新时间",
  16787. "type": "string"
  16788. },
  16789. "updatorid": {
  16790. "description": "更新人",
  16791. "type": "integer"
  16792. },
  16793. "updatorsrc": {
  16794. "description": "更新人来源 - 1:管理端 2:终端",
  16795. "type": "integer"
  16796. },
  16797. "wrstandardid": {
  16798. "description": "现货商品ID",
  16799. "type": "integer"
  16800. }
  16801. }
  16802. },
  16803. "models.ErmcpHisExposure": {
  16804. "type": "object",
  16805. "properties": {
  16806. "needhedgeexposoure": {
  16807. "description": "应套保敞口",
  16808. "type": "number"
  16809. },
  16810. "reckondate": {
  16811. "description": "日照时期(yyyyMMdd)",
  16812. "type": "string"
  16813. },
  16814. "totalexposure": {
  16815. "description": "总敞口",
  16816. "type": "number"
  16817. }
  16818. }
  16819. },
  16820. "models.ErmcpLoginUser": {
  16821. "type": "object",
  16822. "properties": {
  16823. "accountname": {
  16824. "description": "用户名称",
  16825. "type": "string"
  16826. },
  16827. "clientroleid": {
  16828. "description": "角色id(usertype=2)",
  16829. "type": "integer"
  16830. },
  16831. "createtime": {
  16832. "description": "创建时间",
  16833. "type": "string"
  16834. },
  16835. "logincode": {
  16836. "description": "登录代码",
  16837. "type": "string"
  16838. },
  16839. "loginid": {
  16840. "description": "登录id(LOGINID)",
  16841. "type": "integer"
  16842. },
  16843. "loginstatus": {
  16844. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16845. "type": "integer"
  16846. },
  16847. "memberuserid": {
  16848. "description": "所属会员id",
  16849. "type": "integer"
  16850. },
  16851. "modifytime": {
  16852. "description": "修改时间",
  16853. "type": "string"
  16854. },
  16855. "rolename": {
  16856. "description": "角色名称",
  16857. "type": "string"
  16858. },
  16859. "rolestatus": {
  16860. "description": "角色状态 1-启用 2-停用",
  16861. "type": "integer"
  16862. },
  16863. "roletype": {
  16864. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16865. "type": "string"
  16866. },
  16867. "userid": {
  16868. "description": "用户id",
  16869. "type": "integer"
  16870. },
  16871. "usertype": {
  16872. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16873. "type": "integer"
  16874. }
  16875. }
  16876. },
  16877. "models.ErmcpLoginUserEx": {
  16878. "type": "object",
  16879. "properties": {
  16880. "roleid": {
  16881. "description": "角色id",
  16882. "type": "integer"
  16883. },
  16884. "rolename": {
  16885. "description": "角色名称",
  16886. "type": "string"
  16887. },
  16888. "userlist": {
  16889. "description": "用户列表",
  16890. "type": "array",
  16891. "items": {
  16892. "$ref": "#/definitions/models.ErmcpLoginUser"
  16893. }
  16894. },
  16895. "usertype": {
  16896. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16897. "type": "integer"
  16898. }
  16899. }
  16900. },
  16901. "models.ErmcpMiddleGoodsModel": {
  16902. "type": "object",
  16903. "properties": {
  16904. "areauserid": {
  16905. "description": "机构用户ID",
  16906. "type": "integer"
  16907. },
  16908. "createtime": {
  16909. "description": "修改时间",
  16910. "type": "string"
  16911. },
  16912. "enumdicname": {
  16913. "description": "单位名称",
  16914. "type": "string"
  16915. },
  16916. "evaluateratio": {
  16917. "description": "估价系数",
  16918. "type": "number"
  16919. },
  16920. "goodsgroupid": {
  16921. "description": "关联期货品种ID",
  16922. "type": "integer"
  16923. },
  16924. "isvalid": {
  16925. "description": "状态 0-无效(停用) 1-有效(正常)",
  16926. "type": "integer"
  16927. },
  16928. "middlegoodscode": {
  16929. "description": "套保品种代码",
  16930. "type": "string"
  16931. },
  16932. "middlegoodsid": {
  16933. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16934. "type": "integer"
  16935. },
  16936. "middlegoodsname": {
  16937. "description": "套保品种名称",
  16938. "type": "string"
  16939. },
  16940. "modifytime": {
  16941. "description": "修改时间",
  16942. "type": "string"
  16943. },
  16944. "needhedgeratio": {
  16945. "description": "套保比率",
  16946. "type": "number"
  16947. },
  16948. "qtydecimalplace": {
  16949. "description": "数量小数位",
  16950. "type": "integer"
  16951. },
  16952. "relatedgoodsid": {
  16953. "description": "关联交易商品ID",
  16954. "type": "integer"
  16955. },
  16956. "relatedgoodstype": {
  16957. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16958. "type": "integer"
  16959. },
  16960. "remark": {
  16961. "description": "备注",
  16962. "type": "string"
  16963. }
  16964. }
  16965. },
  16966. "models.ErmcpRelatedGoods": {
  16967. "type": "object",
  16968. "properties": {
  16969. "deliverygoodsid": {
  16970. "description": "品种ID",
  16971. "type": "integer"
  16972. },
  16973. "goodscode": {
  16974. "description": "商品代码",
  16975. "type": "string"
  16976. },
  16977. "goodsid": {
  16978. "description": "商品id",
  16979. "type": "integer"
  16980. },
  16981. "goodsname": {
  16982. "description": "商品名称",
  16983. "type": "string"
  16984. }
  16985. }
  16986. },
  16987. "models.ErmcpReportAreaSpotPL": {
  16988. "type": "object",
  16989. "properties": {
  16990. "actualpl": {
  16991. "description": "实际损益",
  16992. "type": "number"
  16993. },
  16994. "areauserid": {
  16995. "description": "所属机构",
  16996. "type": "integer"
  16997. },
  16998. "brandname": {
  16999. "description": "品牌名称",
  17000. "type": "string"
  17001. },
  17002. "curamount": {
  17003. "description": "期末额",
  17004. "type": "number"
  17005. },
  17006. "curaverageprice": {
  17007. "description": "期末均价",
  17008. "type": "number"
  17009. },
  17010. "curbuyamount": {
  17011. "description": "期末采购总额(采购额)",
  17012. "type": "number"
  17013. },
  17014. "curbuyqty": {
  17015. "description": "期末采购总量",
  17016. "type": "number"
  17017. },
  17018. "curmarketvalue": {
  17019. "description": "参考市值",
  17020. "type": "number"
  17021. },
  17022. "curqty": {
  17023. "description": "期末量",
  17024. "type": "number"
  17025. },
  17026. "cursellamount": {
  17027. "description": "期末销售总额(销售额)",
  17028. "type": "number"
  17029. },
  17030. "cursellqty": {
  17031. "description": "期末销售总量",
  17032. "type": "number"
  17033. },
  17034. "curspotprice": {
  17035. "description": "参考市价",
  17036. "type": "number"
  17037. },
  17038. "enumdicname": {
  17039. "description": "现货商品单位名称",
  17040. "type": "string"
  17041. },
  17042. "floatpl": {
  17043. "description": "浮动损益",
  17044. "type": "number"
  17045. },
  17046. "gbenumdicname": {
  17047. "description": "品类单位名称",
  17048. "type": "string"
  17049. },
  17050. "gbunitid": {
  17051. "description": "品类单位id",
  17052. "type": "integer"
  17053. },
  17054. "modelname": {
  17055. "description": "品类名称",
  17056. "type": "string"
  17057. },
  17058. "oriamount": {
  17059. "description": "期初额",
  17060. "type": "number"
  17061. },
  17062. "oriaverageprice": {
  17063. "description": "期初均价",
  17064. "type": "number"
  17065. },
  17066. "oribuyamount": {
  17067. "description": "期初采购总额",
  17068. "type": "number"
  17069. },
  17070. "oribuyqty": {
  17071. "description": "期初采购总量",
  17072. "type": "number"
  17073. },
  17074. "oriqty": {
  17075. "description": "期初量",
  17076. "type": "number"
  17077. },
  17078. "orisellamount": {
  17079. "description": "期初销售总额",
  17080. "type": "number"
  17081. },
  17082. "orisellqty": {
  17083. "description": "期初销售总量",
  17084. "type": "number"
  17085. },
  17086. "spotgoodsbrandid": {
  17087. "description": "现货品牌ID",
  17088. "type": "integer"
  17089. },
  17090. "spotgoodsmodelid": {
  17091. "description": "现货品类ID",
  17092. "type": "integer"
  17093. },
  17094. "todaybuyamount": {
  17095. "description": "今日采购额",
  17096. "type": "number"
  17097. },
  17098. "todaybuyaverageprice": {
  17099. "description": "今日采购均价(采购均价)",
  17100. "type": "number"
  17101. },
  17102. "todaybuyqty": {
  17103. "description": "今日采购量(采购增量)",
  17104. "type": "number"
  17105. },
  17106. "todaysellamount": {
  17107. "description": "今日销售额",
  17108. "type": "number"
  17109. },
  17110. "todaysellaverageprice": {
  17111. "description": "今日销售均价(销售均价)",
  17112. "type": "number"
  17113. },
  17114. "todaysellqty": {
  17115. "description": "今日销售量(销售增量)",
  17116. "type": "number"
  17117. },
  17118. "unitid": {
  17119. "description": "现货商品单位id",
  17120. "type": "integer"
  17121. },
  17122. "updatetime": {
  17123. "description": "更新时间",
  17124. "type": "string"
  17125. },
  17126. "wrstandardcode": {
  17127. "description": "现货商品代码",
  17128. "type": "string"
  17129. },
  17130. "wrstandardid": {
  17131. "description": "现货商品ID",
  17132. "type": "integer"
  17133. },
  17134. "wrstandardname": {
  17135. "description": "现货商品名称",
  17136. "type": "string"
  17137. }
  17138. }
  17139. },
  17140. "models.ErmcpReportDayFR": {
  17141. "type": "object",
  17142. "properties": {
  17143. "areauserid": {
  17144. "description": "所属机构",
  17145. "type": "integer"
  17146. },
  17147. "collectinvoiceamount": {
  17148. "description": "今日开票金额",
  17149. "type": "number"
  17150. },
  17151. "collectinvoicecount": {
  17152. "description": "今日开票笔数",
  17153. "type": "integer"
  17154. },
  17155. "collectmoneyamount": {
  17156. "description": "今日收款金额",
  17157. "type": "number"
  17158. },
  17159. "collectmoneycount": {
  17160. "description": "今日收款笔数",
  17161. "type": "integer"
  17162. },
  17163. "payinvoiceamount": {
  17164. "description": "今日收票金额",
  17165. "type": "number"
  17166. },
  17167. "payinvoicecount": {
  17168. "description": "今日收票笔数",
  17169. "type": "integer"
  17170. },
  17171. "paymoneyamount": {
  17172. "description": "今日付款金额",
  17173. "type": "number"
  17174. },
  17175. "paymoneycount": {
  17176. "description": "今日付款笔数",
  17177. "type": "integer"
  17178. },
  17179. "reckondate": {
  17180. "description": "日照时期(yyyyMMdd)",
  17181. "type": "string"
  17182. },
  17183. "updatetime": {
  17184. "description": "更新时间",
  17185. "type": "string"
  17186. }
  17187. }
  17188. },
  17189. "models.ErmcpRole": {
  17190. "type": "object",
  17191. "properties": {
  17192. "areauserid": {
  17193. "description": "所属机构",
  17194. "type": "integer"
  17195. },
  17196. "autoid": {
  17197. "description": "角色ID(自增ID)",
  17198. "type": "integer"
  17199. },
  17200. "modifierid": {
  17201. "description": "修改人(创建人)",
  17202. "type": "integer"
  17203. },
  17204. "modifiername": {
  17205. "description": "修改人名称",
  17206. "type": "string"
  17207. },
  17208. "modifytime": {
  17209. "description": "修改时间(创建时间)",
  17210. "type": "string"
  17211. },
  17212. "rolename": {
  17213. "description": "角色名称",
  17214. "type": "string"
  17215. },
  17216. "rolestatus": {
  17217. "description": "角色状态 - 1:启用 2:停用",
  17218. "type": "integer"
  17219. },
  17220. "roletype": {
  17221. "description": "角色类型 - 1- 管理端 2- 交易端",
  17222. "type": "integer"
  17223. }
  17224. }
  17225. },
  17226. "models.ErmcpRoleMenu": {
  17227. "type": "object",
  17228. "properties": {
  17229. "iconame": {
  17230. "description": "菜单图标",
  17231. "type": "string"
  17232. },
  17233. "menutype": {
  17234. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17235. "type": "integer"
  17236. },
  17237. "parentcode": {
  17238. "description": "上级资源代码",
  17239. "type": "string"
  17240. },
  17241. "remark": {
  17242. "description": "菜单备注",
  17243. "type": "string"
  17244. },
  17245. "resourcecode": {
  17246. "description": "菜单代码",
  17247. "type": "string"
  17248. },
  17249. "resourcelevel": {
  17250. "description": "级别",
  17251. "type": "integer"
  17252. },
  17253. "resourcename": {
  17254. "description": "菜单名称",
  17255. "type": "string"
  17256. },
  17257. "roleid": {
  17258. "description": "角色id",
  17259. "type": "integer"
  17260. },
  17261. "sort": {
  17262. "description": "排序",
  17263. "type": "integer"
  17264. },
  17265. "url": {
  17266. "description": "URL",
  17267. "type": "string"
  17268. },
  17269. "userid": {
  17270. "description": "用户id",
  17271. "type": "integer"
  17272. }
  17273. }
  17274. },
  17275. "models.ErmcpRoleMenuEx": {
  17276. "type": "object",
  17277. "properties": {
  17278. "menu": {
  17279. "description": "父级菜单",
  17280. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17281. },
  17282. "subMenu": {
  17283. "description": "子级菜单",
  17284. "type": "array",
  17285. "items": {
  17286. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17287. }
  17288. }
  17289. }
  17290. },
  17291. "models.ErmcpSpotGoodsPrice": {
  17292. "type": "object",
  17293. "properties": {
  17294. "areauserid": {
  17295. "description": "所属机构id",
  17296. "type": "integer"
  17297. },
  17298. "brandname": {
  17299. "description": "品牌名称",
  17300. "type": "string"
  17301. },
  17302. "currencyid": {
  17303. "description": "报价货币ID",
  17304. "type": "integer"
  17305. },
  17306. "enumdicname": {
  17307. "description": "现货商品单位名称",
  17308. "type": "string"
  17309. },
  17310. "gbenumdicname": {
  17311. "description": "品类单位名称",
  17312. "type": "string"
  17313. },
  17314. "gmunitid": {
  17315. "description": "品类单位id",
  17316. "type": "integer"
  17317. },
  17318. "isvalid": {
  17319. "description": "是否有效 - 0:无效 1:有效",
  17320. "type": "integer"
  17321. },
  17322. "modelname": {
  17323. "description": "品类名称",
  17324. "type": "string"
  17325. },
  17326. "operateid": {
  17327. "description": "最后操作人",
  17328. "type": "integer"
  17329. },
  17330. "operatesrc": {
  17331. "description": "最后操作来源 - 1:管理端 2:终端",
  17332. "type": "integer"
  17333. },
  17334. "operatetime": {
  17335. "description": "最后操作时间",
  17336. "type": "string"
  17337. },
  17338. "operatorname": {
  17339. "description": "操作人名称",
  17340. "type": "string"
  17341. },
  17342. "spotgoodsbrandid": {
  17343. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17344. "type": "integer"
  17345. },
  17346. "spotgoodsmodelid": {
  17347. "description": "现货品类ID(通用则为0)",
  17348. "type": "integer"
  17349. },
  17350. "spotgoodsprice": {
  17351. "description": "现货价格",
  17352. "type": "number"
  17353. },
  17354. "tradedate": {
  17355. "description": "交易日(yyyyMMdd)",
  17356. "type": "string"
  17357. },
  17358. "unitid": {
  17359. "description": "现货商品单位id",
  17360. "type": "integer"
  17361. },
  17362. "wrstandardcode": {
  17363. "description": "现货商品代码",
  17364. "type": "string"
  17365. },
  17366. "wrstandardid": {
  17367. "description": "现货商品ID",
  17368. "type": "integer"
  17369. },
  17370. "wrstandardname": {
  17371. "description": "现货商品名称",
  17372. "type": "string"
  17373. }
  17374. }
  17375. },
  17376. "models.ErmcpSpotGoodsPriceLog": {
  17377. "type": "object",
  17378. "properties": {
  17379. "areauserid": {
  17380. "description": "所属机构id",
  17381. "type": "integer"
  17382. },
  17383. "brandname": {
  17384. "description": "品牌名称",
  17385. "type": "string"
  17386. },
  17387. "currencyid": {
  17388. "description": "报价货币ID",
  17389. "type": "integer"
  17390. },
  17391. "enumdicname": {
  17392. "description": "现货商品单位名称",
  17393. "type": "string"
  17394. },
  17395. "gbenumdicname": {
  17396. "description": "品类单位名称",
  17397. "type": "string"
  17398. },
  17399. "gmunitid": {
  17400. "description": "品类单位id",
  17401. "type": "integer"
  17402. },
  17403. "logid": {
  17404. "description": "日志id",
  17405. "type": "integer"
  17406. },
  17407. "modelname": {
  17408. "description": "品类名称",
  17409. "type": "string"
  17410. },
  17411. "operateid": {
  17412. "description": "最后操作人",
  17413. "type": "integer"
  17414. },
  17415. "operatesrc": {
  17416. "description": "最后操作来源 - 1:管理端 2:终端",
  17417. "type": "integer"
  17418. },
  17419. "operatetime": {
  17420. "description": "最后操作时间",
  17421. "type": "string"
  17422. },
  17423. "operatorname": {
  17424. "description": "操作人名称",
  17425. "type": "string"
  17426. },
  17427. "spotgoodsbrandid": {
  17428. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17429. "type": "integer"
  17430. },
  17431. "spotgoodsmodelid": {
  17432. "description": "现货品类ID(通用则为0)",
  17433. "type": "integer"
  17434. },
  17435. "spotgoodsprice": {
  17436. "description": "现货价格",
  17437. "type": "number"
  17438. },
  17439. "tradedate": {
  17440. "description": "交易日(yyyyMMdd)",
  17441. "type": "string"
  17442. },
  17443. "unitid": {
  17444. "description": "现货商品单位id",
  17445. "type": "integer"
  17446. },
  17447. "wrstandardcode": {
  17448. "description": "现货商品代码",
  17449. "type": "string"
  17450. },
  17451. "wrstandardid": {
  17452. "description": "现货商品ID",
  17453. "type": "integer"
  17454. },
  17455. "wrstandardname": {
  17456. "description": "现货商品名称",
  17457. "type": "string"
  17458. }
  17459. }
  17460. },
  17461. "models.ErmcpTaAccount": {
  17462. "type": "object",
  17463. "properties": {
  17464. "accountid": {
  17465. "description": "账户id",
  17466. "type": "integer"
  17467. },
  17468. "accountname": {
  17469. "description": "账户名称",
  17470. "type": "string"
  17471. },
  17472. "currencyid": {
  17473. "description": "币种id",
  17474. "type": "integer"
  17475. },
  17476. "ismain": {
  17477. "description": "是否主账户 0-否 1-是",
  17478. "type": "integer"
  17479. },
  17480. "parentaccountid": {
  17481. "description": "父账户id",
  17482. "type": "integer"
  17483. },
  17484. "relateduserid": {
  17485. "description": "关联userid",
  17486. "type": "integer"
  17487. },
  17488. "tradestatus": {
  17489. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17490. "type": "integer"
  17491. }
  17492. }
  17493. },
  17494. "models.ErmcpTaAccountEx": {
  17495. "type": "object",
  17496. "properties": {
  17497. "mainAcc": {
  17498. "description": "主账号",
  17499. "$ref": "#/definitions/models.ErmcpTaAccount"
  17500. },
  17501. "subacclist": {
  17502. "description": "子账号列表",
  17503. "type": "array",
  17504. "items": {
  17505. "$ref": "#/definitions/models.ErmcpTaAccount"
  17506. }
  17507. }
  17508. }
  17509. },
  17510. "models.ErmcpTaAccountInfo": {
  17511. "type": "object",
  17512. "properties": {
  17513. "accountid": {
  17514. "description": "资金账户ID",
  17515. "type": "integer"
  17516. },
  17517. "accountname": {
  17518. "description": "账户名称",
  17519. "type": "string"
  17520. },
  17521. "balance": {
  17522. "description": "期初余额",
  17523. "type": "number"
  17524. },
  17525. "capitalbalance": {
  17526. "description": "本金余额[外部子账户实际出入金余额]",
  17527. "type": "number"
  17528. },
  17529. "closepl": {
  17530. "description": "今日平仓盈亏",
  17531. "type": "number"
  17532. },
  17533. "creditdecrease": {
  17534. "description": "今日授信减少",
  17535. "type": "number"
  17536. },
  17537. "creditincrease": {
  17538. "description": "今日授信增加",
  17539. "type": "number"
  17540. },
  17541. "curdebt": {
  17542. "description": "期末欠款",
  17543. "type": "number"
  17544. },
  17545. "currencyid": {
  17546. "description": "货币ID",
  17547. "type": "integer"
  17548. },
  17549. "currentbalance": {
  17550. "description": "期末余额",
  17551. "type": "number"
  17552. },
  17553. "freezecharge": {
  17554. "description": "手续费冻结",
  17555. "type": "number"
  17556. },
  17557. "freezemargin": {
  17558. "description": "冻结保证金",
  17559. "type": "number"
  17560. },
  17561. "fromaccountid": {
  17562. "description": "所属上级账户",
  17563. "type": "integer"
  17564. },
  17565. "inamount": {
  17566. "description": "今日入金金额(包括三方入金)",
  17567. "type": "number"
  17568. },
  17569. "ismain": {
  17570. "description": "是否母账号 0:不是母账户 1:是母账户",
  17571. "type": "integer"
  17572. },
  17573. "mortgagecredit": {
  17574. "description": "授信金额",
  17575. "type": "number"
  17576. },
  17577. "oridebt": {
  17578. "description": "期初欠款",
  17579. "type": "number"
  17580. },
  17581. "orifreezecharge": {
  17582. "description": "期初手续费冻结",
  17583. "type": "number"
  17584. },
  17585. "orifreezemargin": {
  17586. "description": "期初冻结保证金",
  17587. "type": "number"
  17588. },
  17589. "orimortgagecredit": {
  17590. "description": "期初授信金额",
  17591. "type": "number"
  17592. },
  17593. "oriothercredit": {
  17594. "description": "期初其它授信金额",
  17595. "type": "number"
  17596. },
  17597. "oriotherfreezemargin": {
  17598. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17599. "type": "number"
  17600. },
  17601. "orioutamountfreeze": {
  17602. "description": "期初出金冻结",
  17603. "type": "number"
  17604. },
  17605. "oriusedmargin": {
  17606. "description": "期初占用保证金",
  17607. "type": "number"
  17608. },
  17609. "othercredit": {
  17610. "description": "其它授信金额",
  17611. "type": "number"
  17612. },
  17613. "othercreditdecrease": {
  17614. "description": "今日其它授信减少",
  17615. "type": "number"
  17616. },
  17617. "othercreditincrease": {
  17618. "description": "今日其它授信增加",
  17619. "type": "number"
  17620. },
  17621. "otherfreezemargin": {
  17622. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17623. "type": "number"
  17624. },
  17625. "outamount": {
  17626. "description": "今日出金金额(包括三方出金)",
  17627. "type": "number"
  17628. },
  17629. "outamountfreeze": {
  17630. "description": "出金冻结",
  17631. "type": "number"
  17632. },
  17633. "outthreshold": {
  17634. "description": "出金阈值",
  17635. "type": "number"
  17636. },
  17637. "parentaccountid": {
  17638. "description": "所属根账号",
  17639. "type": "integer"
  17640. },
  17641. "paycharge": {
  17642. "description": "今日手续费支出",
  17643. "type": "number"
  17644. },
  17645. "relateduserid": {
  17646. "description": "关联用户",
  17647. "type": "integer"
  17648. },
  17649. "signstatus": {
  17650. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17651. "type": "integer"
  17652. },
  17653. "sublevelpath": {
  17654. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17655. "type": "string"
  17656. },
  17657. "taaccounttype": {
  17658. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17659. "type": "integer"
  17660. },
  17661. "thirdinamount": {
  17662. "description": "今日三方入金",
  17663. "type": "number"
  17664. },
  17665. "thirdoutamount": {
  17666. "description": "今日三方出金",
  17667. "type": "number"
  17668. },
  17669. "tradestatus": {
  17670. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17671. "type": "integer"
  17672. },
  17673. "transferamount": {
  17674. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17675. "type": "number"
  17676. },
  17677. "usedmargin": {
  17678. "description": "占用保证金",
  17679. "type": "number"
  17680. },
  17681. "userid": {
  17682. "description": "用户ID",
  17683. "type": "integer"
  17684. }
  17685. }
  17686. },
  17687. "models.ErmcpTradeConfigTMP": {
  17688. "type": "object",
  17689. "properties": {
  17690. "areauserid": {
  17691. "description": "所属机构",
  17692. "type": "integer"
  17693. },
  17694. "basiccurrencyid": {
  17695. "description": "基本币种ID[汇率] - 目标币种",
  17696. "type": "integer"
  17697. },
  17698. "mainaccountid": {
  17699. "description": "主账户ID",
  17700. "type": "integer"
  17701. },
  17702. "modifierid": {
  17703. "description": "修改人",
  17704. "type": "integer"
  17705. },
  17706. "remark": {
  17707. "description": "备注",
  17708. "type": "string"
  17709. },
  17710. "tradeconfigtmpid": {
  17711. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17712. "type": "integer"
  17713. },
  17714. "tradeconfigtmpname": {
  17715. "description": "交易配置模板名称",
  17716. "type": "string"
  17717. },
  17718. "tradeconfigtmptype": {
  17719. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17720. "type": "integer"
  17721. },
  17722. "updatetime": {
  17723. "description": "更新时间",
  17724. "type": "string"
  17725. }
  17726. }
  17727. },
  17728. "models.ErmcpWrstandard": {
  17729. "type": "object",
  17730. "properties": {
  17731. "areauserid": {
  17732. "description": "所属机构",
  17733. "type": "integer"
  17734. },
  17735. "createtime": {
  17736. "description": "创建时间",
  17737. "type": "string"
  17738. },
  17739. "creatorid": {
  17740. "description": "创建人",
  17741. "type": "integer"
  17742. },
  17743. "deliverygoodsid": {
  17744. "description": "品种ID",
  17745. "type": "integer"
  17746. },
  17747. "enumdicname": {
  17748. "description": "单位名称",
  17749. "type": "string"
  17750. },
  17751. "isvalid": {
  17752. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17753. "type": "integer"
  17754. },
  17755. "minivalue": {
  17756. "description": "最小变动值",
  17757. "type": "integer"
  17758. },
  17759. "minivaluedp": {
  17760. "description": "最小变动值小数位",
  17761. "type": "integer"
  17762. },
  17763. "realminivalue": {
  17764. "description": "实际最小变动值",
  17765. "type": "integer"
  17766. },
  17767. "realminivaluedp": {
  17768. "description": "实际最小变动值小数位",
  17769. "type": "integer"
  17770. },
  17771. "remark": {
  17772. "description": "备注",
  17773. "type": "string"
  17774. },
  17775. "unitid": {
  17776. "description": "单位ID",
  17777. "type": "integer"
  17778. },
  17779. "updatetime": {
  17780. "description": "更新时间",
  17781. "type": "string"
  17782. },
  17783. "wrstandardcode": {
  17784. "description": "现货商品代码",
  17785. "type": "string"
  17786. },
  17787. "wrstandardid": {
  17788. "description": "现货商品ID(SEQ_WRSTANDARD)",
  17789. "type": "integer"
  17790. },
  17791. "wrstandardname": {
  17792. "description": "现货商品名称",
  17793. "type": "string"
  17794. }
  17795. }
  17796. },
  17797. "models.Externalexchange": {
  17798. "type": "object",
  17799. "required": [
  17800. "autoid"
  17801. ],
  17802. "properties": {
  17803. "autoid": {
  17804. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17805. "type": "integer"
  17806. },
  17807. "exchangefullname": {
  17808. "description": "外部交易所全称",
  17809. "type": "string"
  17810. },
  17811. "exexchangecode": {
  17812. "description": "外部交易所代码",
  17813. "type": "string"
  17814. },
  17815. "exexchangename": {
  17816. "description": "外部交易所名称(简称)",
  17817. "type": "string"
  17818. },
  17819. "ismarketprice": {
  17820. "description": "是否支持市价 - 0:不支持 1:支持",
  17821. "type": "integer"
  17822. },
  17823. "quotegear": {
  17824. "description": "行情档位(1-10)",
  17825. "type": "integer"
  17826. },
  17827. "showbrokerflag": {
  17828. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17829. "type": "integer"
  17830. },
  17831. "updatetime": {
  17832. "description": "更新时间",
  17833. "type": "string"
  17834. }
  17835. }
  17836. },
  17837. "models.Funcmenulist": {
  17838. "type": "object",
  17839. "required": [
  17840. "resourcecode"
  17841. ],
  17842. "properties": {
  17843. "iconame": {
  17844. "description": "菜单图标",
  17845. "type": "string"
  17846. },
  17847. "menutype": {
  17848. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17849. "type": "integer"
  17850. },
  17851. "parentcode": {
  17852. "description": "上级资源代码",
  17853. "type": "string"
  17854. },
  17855. "remark": {
  17856. "description": "备注",
  17857. "type": "string"
  17858. },
  17859. "resourcecode": {
  17860. "description": "资源代码",
  17861. "type": "string"
  17862. },
  17863. "resourcelevel": {
  17864. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17865. "type": "integer"
  17866. },
  17867. "resourcename": {
  17868. "description": "资源名",
  17869. "type": "string"
  17870. },
  17871. "sort": {
  17872. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17873. "type": "integer"
  17874. },
  17875. "url": {
  17876. "description": "URL",
  17877. "type": "string"
  17878. }
  17879. }
  17880. },
  17881. "models.Goods": {
  17882. "type": "object",
  17883. "required": [
  17884. "goodscode",
  17885. "goodsid",
  17886. "goodsname",
  17887. "marketid"
  17888. ],
  17889. "properties": {
  17890. "agreeunit": {
  17891. "description": "合约单位",
  17892. "type": "number"
  17893. },
  17894. "auditaccountid": {
  17895. "description": "审核操作员账号",
  17896. "type": "integer"
  17897. },
  17898. "audittime": {
  17899. "description": "审核时间",
  17900. "type": "string"
  17901. },
  17902. "cancelaccountid": {
  17903. "description": "注销操作员账号",
  17904. "type": "integer"
  17905. },
  17906. "canceltime": {
  17907. "description": "注销时间",
  17908. "type": "string"
  17909. },
  17910. "closepricemode": {
  17911. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17912. "type": "integer"
  17913. },
  17914. "closepriceparam": {
  17915. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17916. "type": "number"
  17917. },
  17918. "createtime": {
  17919. "description": "创建时间",
  17920. "type": "string"
  17921. },
  17922. "creatorid": {
  17923. "description": "创建人",
  17924. "type": "integer"
  17925. },
  17926. "currencyid": {
  17927. "description": "报价货币ID",
  17928. "type": "integer"
  17929. },
  17930. "cutmode": {
  17931. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17932. "type": "integer"
  17933. },
  17934. "decimalplace": {
  17935. "description": "报价小数位",
  17936. "type": "integer"
  17937. },
  17938. "delistingdate": {
  17939. "description": "商品退市时间(状态:退市) -- 已作废",
  17940. "type": "string"
  17941. },
  17942. "delistingmode": {
  17943. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17944. "type": "integer"
  17945. },
  17946. "deliveryflag": {
  17947. "description": "交割标志 - 0:不可交割 1:可交割",
  17948. "type": "integer"
  17949. },
  17950. "forceclosemode": {
  17951. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17952. "type": "integer"
  17953. },
  17954. "forceclosevalue": {
  17955. "description": "定期强平参数 [收益权]",
  17956. "type": "integer"
  17957. },
  17958. "goodscode": {
  17959. "description": "商品代码(内部)",
  17960. "type": "string"
  17961. },
  17962. "goodscurrencyid": {
  17963. "description": "合约货币ID",
  17964. "type": "integer"
  17965. },
  17966. "goodsgroupid": {
  17967. "description": "所属商品组ID",
  17968. "type": "integer"
  17969. },
  17970. "goodsid": {
  17971. "description": "商品ID(自增ID SEQ_GOODS)",
  17972. "type": "integer"
  17973. },
  17974. "goodsname": {
  17975. "description": "商品名称",
  17976. "type": "string"
  17977. },
  17978. "goodsquotetype": {
  17979. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17980. "type": "integer"
  17981. },
  17982. "goodsstatus": {
  17983. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17984. "type": "integer"
  17985. },
  17986. "goodstradetype": {
  17987. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17988. "type": "integer"
  17989. },
  17990. "goodunitid": {
  17991. "description": "报价单位ID",
  17992. "type": "integer"
  17993. },
  17994. "hasquoter": {
  17995. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17996. "type": "integer"
  17997. },
  17998. "hqprotecttime": {
  17999. "description": "行情保护时间(秒)",
  18000. "type": "integer"
  18001. },
  18002. "innerdealmode": {
  18003. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18004. "type": "integer"
  18005. },
  18006. "isbuylimited": {
  18007. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18008. "type": "integer"
  18009. },
  18010. "lasttradedate": {
  18011. "description": "最后交易日期(状态:待退市)",
  18012. "type": "string"
  18013. },
  18014. "listingdate": {
  18015. "description": "交易开始日期",
  18016. "type": "string"
  18017. },
  18018. "marketid": {
  18019. "description": "所属市场ID",
  18020. "type": "integer"
  18021. },
  18022. "modifierid": {
  18023. "description": "修改人",
  18024. "type": "integer"
  18025. },
  18026. "modifystatus": {
  18027. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18028. "type": "integer"
  18029. },
  18030. "modifytime": {
  18031. "description": "修改时间",
  18032. "type": "string"
  18033. },
  18034. "outerdealmode": {
  18035. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18036. "type": "integer"
  18037. },
  18038. "outgoodscode": {
  18039. "description": "商品代码(外部)",
  18040. "type": "string"
  18041. },
  18042. "qtydecimalplace": {
  18043. "description": "成交量小数位",
  18044. "type": "integer"
  18045. },
  18046. "quotegear": {
  18047. "description": "行情档位(1-10)",
  18048. "type": "integer"
  18049. },
  18050. "quoteminunit": {
  18051. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18052. "type": "integer"
  18053. },
  18054. "quoteshowtype": {
  18055. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18056. "type": "integer"
  18057. },
  18058. "quoteshowtypeinterval": {
  18059. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18060. "type": "integer"
  18061. },
  18062. "remark": {
  18063. "description": "备注",
  18064. "type": "string"
  18065. }
  18066. }
  18067. },
  18068. "models.GoodsBrand": {
  18069. "type": "object",
  18070. "properties": {
  18071. "brandid": {
  18072. "description": "品牌ID",
  18073. "type": "integer"
  18074. },
  18075. "brandname": {
  18076. "description": "品牌名称",
  18077. "type": "string"
  18078. },
  18079. "isvalid": {
  18080. "description": "是否有效 - 0:无效 1:有效",
  18081. "type": "integer"
  18082. }
  18083. }
  18084. },
  18085. "models.GoodsIDAndName": {
  18086. "type": "object",
  18087. "required": [
  18088. "goodscode",
  18089. "goodsid",
  18090. "goodsname",
  18091. "marketid"
  18092. ],
  18093. "properties": {
  18094. "goodscode": {
  18095. "description": "商品代码(内部)",
  18096. "type": "string"
  18097. },
  18098. "goodsid": {
  18099. "description": "商品ID(自增ID SEQ_GOODS)",
  18100. "type": "integer"
  18101. },
  18102. "goodsname": {
  18103. "description": "商品名称",
  18104. "type": "string"
  18105. },
  18106. "marketid": {
  18107. "description": "所属市场ID",
  18108. "type": "integer"
  18109. }
  18110. }
  18111. },
  18112. "models.GoodsTypeModel": {
  18113. "type": "object",
  18114. "properties": {
  18115. "convertfactor": {
  18116. "description": "标仓系数",
  18117. "type": "number"
  18118. },
  18119. "modelid": {
  18120. "description": "型号ID",
  18121. "type": "integer"
  18122. },
  18123. "modelname": {
  18124. "description": "型号名称",
  18125. "type": "string"
  18126. },
  18127. "updatetime": {
  18128. "description": "更新时间",
  18129. "type": "string"
  18130. }
  18131. }
  18132. },
  18133. "models.Goodsgroup": {
  18134. "type": "object",
  18135. "required": [
  18136. "goodsgroupid",
  18137. "goodsgroupname",
  18138. "goodsgroupstatus",
  18139. "marketid"
  18140. ],
  18141. "properties": {
  18142. "agreeunit": {
  18143. "description": "合约单位",
  18144. "type": "number"
  18145. },
  18146. "canshort": {
  18147. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18148. "type": "integer"
  18149. },
  18150. "closepricemode": {
  18151. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18152. "type": "integer"
  18153. },
  18154. "closepriceparam": {
  18155. "description": "强平最新价浮动比例 - 方式为2时使用",
  18156. "type": "number"
  18157. },
  18158. "createtime": {
  18159. "description": "创建时间",
  18160. "type": "string"
  18161. },
  18162. "creatorid": {
  18163. "description": "创建人",
  18164. "type": "integer"
  18165. },
  18166. "currencyid": {
  18167. "description": "报价货币ID",
  18168. "type": "integer"
  18169. },
  18170. "decimalplace": {
  18171. "description": "报价小数位",
  18172. "type": "integer"
  18173. },
  18174. "exercisetype": {
  18175. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18176. "type": "integer"
  18177. },
  18178. "exexchangeid": {
  18179. "description": "外部交易所ID[通道交易]",
  18180. "type": "integer"
  18181. },
  18182. "goodsgroupid": {
  18183. "description": "商品组ID(自增ID)",
  18184. "type": "integer"
  18185. },
  18186. "goodsgroupname": {
  18187. "description": "商品组名称",
  18188. "type": "string"
  18189. },
  18190. "goodsgroupstatus": {
  18191. "description": "商品组状态 - 1:正常 2:注销",
  18192. "type": "integer"
  18193. },
  18194. "goodunitid": {
  18195. "description": "报价单位ID",
  18196. "type": "integer"
  18197. },
  18198. "innerdealmode": {
  18199. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18200. "type": "integer"
  18201. },
  18202. "isbuylimited": {
  18203. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18204. "type": "integer"
  18205. },
  18206. "marketid": {
  18207. "description": "所属市场ID",
  18208. "type": "integer"
  18209. },
  18210. "modifierid": {
  18211. "description": "修改人",
  18212. "type": "integer"
  18213. },
  18214. "modifytime": {
  18215. "description": "修改时间",
  18216. "type": "string"
  18217. },
  18218. "outerdealmode": {
  18219. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18220. "type": "integer"
  18221. },
  18222. "outergroupcode": {
  18223. "description": "外部商品组代码[通道交易]",
  18224. "type": "string"
  18225. },
  18226. "premiumdecimalplace": {
  18227. "description": "权利金小数位[场外期权]",
  18228. "type": "integer"
  18229. },
  18230. "premiumspreadalgorithm": {
  18231. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18232. "type": "integer"
  18233. },
  18234. "premiumspreadvalue": {
  18235. "description": "权利金点差值[场外期权]",
  18236. "type": "number"
  18237. },
  18238. "qtydecimalplace": {
  18239. "description": "成交量小数位",
  18240. "type": "integer"
  18241. },
  18242. "quotegear": {
  18243. "description": "行情档位(1-10)",
  18244. "type": "integer"
  18245. },
  18246. "quoteminunit": {
  18247. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18248. "type": "integer"
  18249. },
  18250. "quoterid": {
  18251. "description": "报价商ID[场外期权]",
  18252. "type": "integer"
  18253. },
  18254. "quotesourcegroupid": {
  18255. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18256. "type": "integer"
  18257. },
  18258. "syncgoodsqty": {
  18259. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18260. "type": "integer"
  18261. }
  18262. }
  18263. },
  18264. "models.Goodssortbypreposition": {
  18265. "type": "object",
  18266. "required": [
  18267. "goodscode",
  18268. "tradedate"
  18269. ],
  18270. "properties": {
  18271. "goodscode": {
  18272. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18273. "type": "string"
  18274. },
  18275. "goodsgroupcode": {
  18276. "description": "品种代码",
  18277. "type": "string"
  18278. },
  18279. "prepositionqty": {
  18280. "description": "昨持仓量",
  18281. "type": "integer"
  18282. },
  18283. "sortindex": {
  18284. "description": "排序",
  18285. "type": "integer"
  18286. },
  18287. "tradedate": {
  18288. "description": "交易日",
  18289. "type": "string"
  18290. },
  18291. "updatetime": {
  18292. "description": "更新时间",
  18293. "type": "string"
  18294. }
  18295. }
  18296. },
  18297. "models.Hedgeinnerholderdetail": {
  18298. "type": "object",
  18299. "required": [
  18300. "buyorsell",
  18301. "tradeid"
  18302. ],
  18303. "properties": {
  18304. "accountid": {
  18305. "description": "账号ID",
  18306. "type": "integer"
  18307. },
  18308. "buyorsell": {
  18309. "description": "方向 - 0:买 1:卖",
  18310. "type": "integer"
  18311. },
  18312. "freezeqty": {
  18313. "description": "冻结数量 - 按单平使用",
  18314. "type": "integer"
  18315. },
  18316. "goodsid": {
  18317. "description": "商品ID",
  18318. "type": "integer"
  18319. },
  18320. "holderamount": {
  18321. "description": "持仓金额 [商品币种]",
  18322. "type": "number"
  18323. },
  18324. "holderdays": {
  18325. "description": "剩余冻结天数",
  18326. "type": "integer"
  18327. },
  18328. "holderprice": {
  18329. "description": "持仓价格",
  18330. "type": "number"
  18331. },
  18332. "holderqty": {
  18333. "description": "持仓数量",
  18334. "type": "integer"
  18335. },
  18336. "marketid": {
  18337. "description": "市场ID",
  18338. "type": "integer"
  18339. },
  18340. "openprice": {
  18341. "description": "建仓价格",
  18342. "type": "number"
  18343. },
  18344. "openqty": {
  18345. "description": "建仓数量",
  18346. "type": "integer"
  18347. },
  18348. "parentaccountid": {
  18349. "description": "所属母账户",
  18350. "type": "integer"
  18351. },
  18352. "releaseamount": {
  18353. "description": "释放持仓金额[商品币种]",
  18354. "type": "number"
  18355. },
  18356. "tradeamount": {
  18357. "description": "成交金额[账户]",
  18358. "type": "number"
  18359. },
  18360. "tradedate": {
  18361. "description": "交易日(yyyyMMdd)",
  18362. "type": "string"
  18363. },
  18364. "tradeid": {
  18365. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18366. "type": "string"
  18367. },
  18368. "tradetime": {
  18369. "description": "交易时间",
  18370. "type": "string"
  18371. }
  18372. }
  18373. },
  18374. "models.Hedgeoutmainconfig": {
  18375. "type": "object",
  18376. "required": [
  18377. "accountid"
  18378. ],
  18379. "properties": {
  18380. "accountcurrecnygroup": {
  18381. "description": "资金账户币种组 [易盛]",
  18382. "type": "string"
  18383. },
  18384. "accountcurrency": {
  18385. "description": "资金账户基币 [易盛]",
  18386. "type": "string"
  18387. },
  18388. "accountid": {
  18389. "description": "资金账号ID(母账号)",
  18390. "type": "integer"
  18391. },
  18392. "appid": {
  18393. "description": "AppID",
  18394. "type": "string"
  18395. },
  18396. "authcode": {
  18397. "description": "授权码[易盛]",
  18398. "type": "string"
  18399. },
  18400. "brokerid": {
  18401. "description": "经纪公司代码",
  18402. "type": "string"
  18403. },
  18404. "channeladdress": {
  18405. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18406. "type": "string"
  18407. },
  18408. "channelid": {
  18409. "description": "对冲渠道ID",
  18410. "type": "integer"
  18411. },
  18412. "connectflag": {
  18413. "description": "是否联接外部交易 - 0:不连接 1:连接",
  18414. "type": "integer"
  18415. },
  18416. "exchangeratecurrencygroup": {
  18417. "description": "汇率币种组 [易盛]",
  18418. "type": "string"
  18419. },
  18420. "fcid": {
  18421. "description": "期货公司ID",
  18422. "type": "integer"
  18423. },
  18424. "fcname": {
  18425. "description": "期货公司名称",
  18426. "type": "string"
  18427. },
  18428. "hedgeaccountcode": {
  18429. "description": "对冲账号ID",
  18430. "type": "string"
  18431. },
  18432. "hedgeaccountpwd": {
  18433. "description": "对冲账号密码",
  18434. "type": "string"
  18435. },
  18436. "hedgeaccounttype": {
  18437. "description": "母账号类型 - 1-交易下单 2-跟单",
  18438. "type": "integer"
  18439. },
  18440. "limitnumber": {
  18441. "description": "挂单笔数限额",
  18442. "type": "integer"
  18443. },
  18444. "marketid": {
  18445. "description": "内部市场ID(母账号的操作",
  18446. "type": "integer"
  18447. },
  18448. "status": {
  18449. "description": "渠道账号状态 1-可买入可卖出 2-可卖出不可买入",
  18450. "type": "integer"
  18451. },
  18452. "userproductinfo": {
  18453. "description": "客户端产品信息",
  18454. "type": "string"
  18455. }
  18456. }
  18457. },
  18458. "models.HsbyBuyMyPayOrder": {
  18459. "type": "object",
  18460. "required": [
  18461. "goodscode",
  18462. "goodsname",
  18463. "tradeid",
  18464. "trademode"
  18465. ],
  18466. "properties": {
  18467. "agreeunit": {
  18468. "description": "合约单位",
  18469. "type": "number"
  18470. },
  18471. "buyaccountid": {
  18472. "description": "买方账号ID[报价币种]",
  18473. "type": "integer"
  18474. },
  18475. "buyorderid": {
  18476. "description": "买方委托单号",
  18477. "type": "string"
  18478. },
  18479. "createtime": {
  18480. "description": "创建时间",
  18481. "type": "string"
  18482. },
  18483. "currencysign": {
  18484. "description": "货币符号",
  18485. "type": "string"
  18486. },
  18487. "decimalplace": {
  18488. "description": "报价小数位",
  18489. "type": "integer"
  18490. },
  18491. "goodscode": {
  18492. "description": "商品代码(内部)",
  18493. "type": "string"
  18494. },
  18495. "goodsid": {
  18496. "description": "商品ID",
  18497. "type": "integer"
  18498. },
  18499. "goodsname": {
  18500. "description": "商品名称",
  18501. "type": "string"
  18502. },
  18503. "marketid": {
  18504. "description": "市场ID",
  18505. "type": "integer"
  18506. },
  18507. "offamount": {
  18508. "description": "优惠金额",
  18509. "type": "number"
  18510. },
  18511. "originalamount": {
  18512. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18513. "type": "number"
  18514. },
  18515. "payamount": {
  18516. "description": "支付金额 = TradeAmount + TradeCharge",
  18517. "type": "number"
  18518. },
  18519. "payflag": {
  18520. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18521. "type": "integer"
  18522. },
  18523. "paylimitedtime": {
  18524. "description": "支付期限",
  18525. "type": "string"
  18526. },
  18527. "paytime": {
  18528. "description": "付款时间",
  18529. "type": "string"
  18530. },
  18531. "picurls1": {
  18532. "description": "预售商品介绍图片[多张用逗号分隔]",
  18533. "type": "string"
  18534. },
  18535. "picurls2": {
  18536. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18537. "type": "string"
  18538. },
  18539. "sellaccountid": {
  18540. "description": "卖方账号ID[报价币种]",
  18541. "type": "integer"
  18542. },
  18543. "sellorderid": {
  18544. "description": "卖方委托单号",
  18545. "type": "string"
  18546. },
  18547. "tradeamount": {
  18548. "description": "成交金额",
  18549. "type": "number"
  18550. },
  18551. "tradecharge": {
  18552. "description": "成交手续费(买方)",
  18553. "type": "number"
  18554. },
  18555. "tradedate": {
  18556. "description": "交易日(yyyyMMdd)",
  18557. "type": "string"
  18558. },
  18559. "tradeid": {
  18560. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18561. "type": "string"
  18562. },
  18563. "trademode": {
  18564. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18565. "type": "integer"
  18566. },
  18567. "tradeprice": {
  18568. "description": "成交价格",
  18569. "type": "number"
  18570. },
  18571. "tradeqty": {
  18572. "description": "成交数量",
  18573. "type": "integer"
  18574. },
  18575. "vendorname1": {
  18576. "description": "预售商品供应商名称",
  18577. "type": "string"
  18578. },
  18579. "vendorname2": {
  18580. "description": "挂牌商品供应商名称",
  18581. "type": "string"
  18582. }
  18583. }
  18584. },
  18585. "models.HsbyBuyMyTradeDetail": {
  18586. "type": "object",
  18587. "required": [
  18588. "accountid",
  18589. "buyorsell",
  18590. "goodscode",
  18591. "goodsid",
  18592. "goodsname",
  18593. "marketid",
  18594. "orderid",
  18595. "qty",
  18596. "time",
  18597. "trademode"
  18598. ],
  18599. "properties": {
  18600. "accountid": {
  18601. "description": "账户ID[报价币种]",
  18602. "type": "integer"
  18603. },
  18604. "agreeunit": {
  18605. "description": "合约单位",
  18606. "type": "number"
  18607. },
  18608. "amount": {
  18609. "description": "金额 = 价格 * 数量 * 合约单位",
  18610. "type": "number"
  18611. },
  18612. "buyorsell": {
  18613. "description": "买卖 - 0:买 1:卖",
  18614. "type": "integer"
  18615. },
  18616. "currencysign": {
  18617. "description": "货币符号",
  18618. "type": "string"
  18619. },
  18620. "decimalplace": {
  18621. "description": "报价小数位",
  18622. "type": "integer"
  18623. },
  18624. "goodscode": {
  18625. "description": "商品代码(内部)",
  18626. "type": "string"
  18627. },
  18628. "goodsid": {
  18629. "description": "商品ID",
  18630. "type": "integer"
  18631. },
  18632. "goodsname": {
  18633. "description": "商品名称",
  18634. "type": "string"
  18635. },
  18636. "marketid": {
  18637. "description": "市场ID",
  18638. "type": "integer"
  18639. },
  18640. "orderamount": {
  18641. "description": "委托金额",
  18642. "type": "number"
  18643. },
  18644. "orderid": {
  18645. "description": "单号(成交单号)",
  18646. "type": "string"
  18647. },
  18648. "picurls1": {
  18649. "description": "预售商品介绍图片[多张用逗号分隔]",
  18650. "type": "string"
  18651. },
  18652. "picurls2": {
  18653. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18654. "type": "string"
  18655. },
  18656. "price": {
  18657. "description": "价格",
  18658. "type": "number"
  18659. },
  18660. "qty": {
  18661. "description": "数量",
  18662. "type": "integer"
  18663. },
  18664. "time": {
  18665. "description": "时间",
  18666. "type": "string"
  18667. },
  18668. "trademode": {
  18669. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18670. "type": "integer"
  18671. },
  18672. "vendorname1": {
  18673. "description": "预售商品供应商名称",
  18674. "type": "string"
  18675. },
  18676. "vendorname2": {
  18677. "description": "挂牌商品供应商名称",
  18678. "type": "string"
  18679. }
  18680. }
  18681. },
  18682. "models.HsbyGoodsOrderDetail": {
  18683. "type": "object",
  18684. "required": [
  18685. "buyorsell",
  18686. "orderid",
  18687. "ordertime"
  18688. ],
  18689. "properties": {
  18690. "buyorsell": {
  18691. "description": "买卖 - 0:买 1:卖",
  18692. "type": "integer"
  18693. },
  18694. "currencysign": {
  18695. "description": "货币符号",
  18696. "type": "string"
  18697. },
  18698. "customername": {
  18699. "description": "客户名称(企业名称),已脱敏",
  18700. "type": "string"
  18701. },
  18702. "enableqty": {
  18703. "description": "可用数量",
  18704. "type": "integer"
  18705. },
  18706. "goodunit": {
  18707. "description": "报价单位",
  18708. "type": "string"
  18709. },
  18710. "orderid": {
  18711. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18712. "type": "string"
  18713. },
  18714. "orderprice": {
  18715. "description": "委托价格",
  18716. "type": "number"
  18717. },
  18718. "ordertime": {
  18719. "description": "委托时间",
  18720. "type": "string"
  18721. }
  18722. }
  18723. },
  18724. "models.HsbyListingGoodsDetail": {
  18725. "type": "object",
  18726. "required": [
  18727. "goodscode",
  18728. "goodsid",
  18729. "goodsname",
  18730. "marketid",
  18731. "trademode"
  18732. ],
  18733. "properties": {
  18734. "agreeunit": {
  18735. "description": "合约单位",
  18736. "type": "number"
  18737. },
  18738. "buymaxqty": {
  18739. "description": "购买上限 [71] - 0为不限",
  18740. "type": "integer"
  18741. },
  18742. "currency": {
  18743. "description": "货币",
  18744. "type": "string"
  18745. },
  18746. "currencysign": {
  18747. "description": "货币符号",
  18748. "type": "string"
  18749. },
  18750. "decimalplace": {
  18751. "description": "报价小数位",
  18752. "type": "integer"
  18753. },
  18754. "desccityid": {
  18755. "description": "目的地(市)ID",
  18756. "type": "integer"
  18757. },
  18758. "descprovinceid": {
  18759. "description": "目的地(省)ID",
  18760. "type": "integer"
  18761. },
  18762. "goodscode": {
  18763. "description": "商品代码(内部)",
  18764. "type": "string"
  18765. },
  18766. "goodsdesc": {
  18767. "description": "商品详情",
  18768. "type": "string"
  18769. },
  18770. "goodsid": {
  18771. "description": "商品ID(自增ID SEQ_GOODS)",
  18772. "type": "integer"
  18773. },
  18774. "goodsname": {
  18775. "description": "商品名称",
  18776. "type": "string"
  18777. },
  18778. "goodsprice": {
  18779. "description": "商品价格",
  18780. "type": "number"
  18781. },
  18782. "hotindex": {
  18783. "description": "景点热度",
  18784. "type": "integer"
  18785. },
  18786. "last": {
  18787. "description": "现价",
  18788. "type": "number"
  18789. },
  18790. "limitdown": {
  18791. "description": "跌停价",
  18792. "type": "number"
  18793. },
  18794. "limitup": {
  18795. "description": "涨停价",
  18796. "type": "number"
  18797. },
  18798. "lotsize": {
  18799. "description": "手数最小变动单位",
  18800. "type": "integer"
  18801. },
  18802. "marketid": {
  18803. "description": "所属市场ID",
  18804. "type": "integer"
  18805. },
  18806. "picurls": {
  18807. "description": "介绍图片[多张用逗号分隔]",
  18808. "type": "string"
  18809. },
  18810. "quoteminunit": {
  18811. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18812. "type": "integer"
  18813. },
  18814. "stepvalue": {
  18815. "description": "价格最小变动单位",
  18816. "type": "number"
  18817. },
  18818. "trademode": {
  18819. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18820. "type": "integer"
  18821. },
  18822. "vendorattr": {
  18823. "description": "供应商附件(多张,逗号分隔)",
  18824. "type": "string"
  18825. },
  18826. "vendorname": {
  18827. "description": "供应商名称",
  18828. "type": "string"
  18829. },
  18830. "vendorphone": {
  18831. "description": "供应商客服电话",
  18832. "type": "string"
  18833. },
  18834. "videourls": {
  18835. "description": "介绍视频[多张用逗号分隔]",
  18836. "type": "string"
  18837. }
  18838. }
  18839. },
  18840. "models.HsbyMarketGoods": {
  18841. "type": "object",
  18842. "required": [
  18843. "accountid",
  18844. "buyorsell",
  18845. "goodscode",
  18846. "goodsid",
  18847. "goodsname",
  18848. "marketid",
  18849. "orderid",
  18850. "trademode"
  18851. ],
  18852. "properties": {
  18853. "accountid": {
  18854. "description": "账户ID[报价币种]",
  18855. "type": "integer"
  18856. },
  18857. "agreeunit": {
  18858. "description": "合约单位",
  18859. "type": "number"
  18860. },
  18861. "buyorsell": {
  18862. "description": "买卖 - 0:买 1:卖",
  18863. "type": "integer"
  18864. },
  18865. "categoryid": {
  18866. "description": "类别ID(WRCATEGORY)",
  18867. "type": "integer"
  18868. },
  18869. "currency": {
  18870. "description": "货币",
  18871. "type": "string"
  18872. },
  18873. "currencysign": {
  18874. "description": "货币符号",
  18875. "type": "string"
  18876. },
  18877. "customername": {
  18878. "description": "卖家名称",
  18879. "type": "string"
  18880. },
  18881. "decimalplace": {
  18882. "description": "报价小数位",
  18883. "type": "integer"
  18884. },
  18885. "goodscode": {
  18886. "description": "商品代码(内部)",
  18887. "type": "string"
  18888. },
  18889. "goodsid": {
  18890. "description": "商品ID",
  18891. "type": "integer"
  18892. },
  18893. "goodsname": {
  18894. "description": "商品名称",
  18895. "type": "string"
  18896. },
  18897. "goodsprice": {
  18898. "description": "商品价格",
  18899. "type": "number"
  18900. },
  18901. "hascoupon": {
  18902. "description": "是否可用优惠卷",
  18903. "type": "boolean"
  18904. },
  18905. "hotindex": {
  18906. "description": "景点热度",
  18907. "type": "integer"
  18908. },
  18909. "marketid": {
  18910. "description": "市场ID",
  18911. "type": "integer"
  18912. },
  18913. "orderid": {
  18914. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18915. "type": "string"
  18916. },
  18917. "orderprice": {
  18918. "description": "委托价格",
  18919. "type": "number"
  18920. },
  18921. "orderstatus": {
  18922. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18923. "type": "integer"
  18924. },
  18925. "picurls": {
  18926. "description": "介绍图片[多张用逗号分隔]",
  18927. "type": "string"
  18928. },
  18929. "quoteminunit": {
  18930. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18931. "type": "integer"
  18932. },
  18933. "sellUserID": {
  18934. "description": "卖方UserID",
  18935. "type": "integer"
  18936. },
  18937. "trademode": {
  18938. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18939. "type": "integer"
  18940. },
  18941. "videourls": {
  18942. "description": "介绍视频[多张用逗号分隔]",
  18943. "type": "string"
  18944. }
  18945. }
  18946. },
  18947. "models.HsbyMarketGoodsDetail": {
  18948. "type": "object",
  18949. "required": [
  18950. "accountid",
  18951. "buyorsell",
  18952. "goodscode",
  18953. "goodsid",
  18954. "goodsname",
  18955. "marketid",
  18956. "orderid",
  18957. "orderqty",
  18958. "trademode"
  18959. ],
  18960. "properties": {
  18961. "accountid": {
  18962. "description": "账户ID[报价币种]",
  18963. "type": "integer"
  18964. },
  18965. "agreeunit": {
  18966. "description": "合约单位",
  18967. "type": "number"
  18968. },
  18969. "buymaxqty": {
  18970. "description": "购买上限 [71] - 0为不限",
  18971. "type": "integer"
  18972. },
  18973. "buyorsell": {
  18974. "description": "买卖 - 0:买 1:卖",
  18975. "type": "integer"
  18976. },
  18977. "cancelqty": {
  18978. "description": "撤单数量",
  18979. "type": "integer"
  18980. },
  18981. "categoryid": {
  18982. "description": "类别ID(WRCATEGORY)",
  18983. "type": "integer"
  18984. },
  18985. "currency": {
  18986. "description": "货币",
  18987. "type": "string"
  18988. },
  18989. "currencysign": {
  18990. "description": "货币符号",
  18991. "type": "string"
  18992. },
  18993. "customername": {
  18994. "description": "卖家名称",
  18995. "type": "string"
  18996. },
  18997. "decimalplace": {
  18998. "description": "报价小数位",
  18999. "type": "integer"
  19000. },
  19001. "goodscode": {
  19002. "description": "商品代码(内部)",
  19003. "type": "string"
  19004. },
  19005. "goodsdesc": {
  19006. "description": "商品详情",
  19007. "type": "string"
  19008. },
  19009. "goodsid": {
  19010. "description": "商品ID",
  19011. "type": "integer"
  19012. },
  19013. "goodsname": {
  19014. "description": "商品名称",
  19015. "type": "string"
  19016. },
  19017. "goodsprice": {
  19018. "description": "商品价格",
  19019. "type": "number"
  19020. },
  19021. "hotindex": {
  19022. "description": "景点热度",
  19023. "type": "integer"
  19024. },
  19025. "lotsize": {
  19026. "description": "手数最小变动单位",
  19027. "type": "integer"
  19028. },
  19029. "marketid": {
  19030. "description": "市场ID",
  19031. "type": "integer"
  19032. },
  19033. "orderid": {
  19034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19035. "type": "string"
  19036. },
  19037. "orderprice": {
  19038. "description": "委托价格",
  19039. "type": "number"
  19040. },
  19041. "orderqty": {
  19042. "description": "委托数量",
  19043. "type": "integer"
  19044. },
  19045. "orderstatus": {
  19046. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19047. "type": "integer"
  19048. },
  19049. "picurls": {
  19050. "description": "介绍图片[多张用逗号分隔]",
  19051. "type": "string"
  19052. },
  19053. "quoteminunit": {
  19054. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19055. "type": "integer"
  19056. },
  19057. "sellUserID": {
  19058. "description": "卖方UserID",
  19059. "type": "integer"
  19060. },
  19061. "trademode": {
  19062. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19063. "type": "integer"
  19064. },
  19065. "tradeqty": {
  19066. "description": "成交数量",
  19067. "type": "integer"
  19068. },
  19069. "vendorattr": {
  19070. "description": "供应商附件(多张,逗号分隔)",
  19071. "type": "string"
  19072. },
  19073. "vendorname": {
  19074. "description": "供应商名称",
  19075. "type": "string"
  19076. },
  19077. "vendorphone": {
  19078. "description": "供应商客服电话",
  19079. "type": "string"
  19080. },
  19081. "videourls": {
  19082. "description": "介绍视频[多张用逗号分隔]",
  19083. "type": "string"
  19084. }
  19085. }
  19086. },
  19087. "models.HsbyMarketInfo": {
  19088. "type": "object",
  19089. "required": [
  19090. "marketid",
  19091. "marketstatus",
  19092. "trademode"
  19093. ],
  19094. "properties": {
  19095. "marketid": {
  19096. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19097. "type": "integer"
  19098. },
  19099. "marketname": {
  19100. "description": "市场名称",
  19101. "type": "string"
  19102. },
  19103. "marketstatus": {
  19104. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19105. "type": "integer"
  19106. },
  19107. "trademode": {
  19108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19109. "type": "integer"
  19110. }
  19111. }
  19112. },
  19113. "models.HsbyMyGoods": {
  19114. "type": "object",
  19115. "required": [
  19116. "accountid",
  19117. "goodscode",
  19118. "goodsid",
  19119. "goodsname",
  19120. "marketid",
  19121. "trademode"
  19122. ],
  19123. "properties": {
  19124. "accountid": {
  19125. "description": "账号Id",
  19126. "type": "integer"
  19127. },
  19128. "agreeunit": {
  19129. "description": "合约单位",
  19130. "type": "number"
  19131. },
  19132. "buyaverageprice": {
  19133. "description": "持仓均价",
  19134. "type": "number"
  19135. },
  19136. "buycurholderamount": {
  19137. "description": "买当前持仓总金额[商品币种]",
  19138. "type": "number"
  19139. },
  19140. "buycurpositionqty": {
  19141. "description": "买当前持仓总数量",
  19142. "type": "integer"
  19143. },
  19144. "buymaxqty": {
  19145. "description": "购买上限 [71] - 0为不限",
  19146. "type": "integer"
  19147. },
  19148. "currencysign": {
  19149. "description": "货币符号",
  19150. "type": "string"
  19151. },
  19152. "decimalplace": {
  19153. "description": "报价小数位",
  19154. "type": "integer"
  19155. },
  19156. "enableqty": {
  19157. "description": "可用数量",
  19158. "type": "integer"
  19159. },
  19160. "goodscode": {
  19161. "description": "商品代码(内部)",
  19162. "type": "string"
  19163. },
  19164. "goodsid": {
  19165. "description": "商品Id",
  19166. "type": "integer"
  19167. },
  19168. "goodsname": {
  19169. "description": "商品名称",
  19170. "type": "string"
  19171. },
  19172. "goodsprice": {
  19173. "description": "商品价格",
  19174. "type": "number"
  19175. },
  19176. "goodsstatus": {
  19177. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19178. "type": "integer"
  19179. },
  19180. "last": {
  19181. "description": "现价(仅使用于挂牌点选)",
  19182. "type": "number"
  19183. },
  19184. "limitdown": {
  19185. "description": "跌停价(仅使用于挂牌点选)",
  19186. "type": "number"
  19187. },
  19188. "limitup": {
  19189. "description": "涨停价(仅使用于挂牌点选)",
  19190. "type": "number"
  19191. },
  19192. "lotsize": {
  19193. "description": "手数最小变动单位",
  19194. "type": "integer"
  19195. },
  19196. "marketid": {
  19197. "description": "所属市场ID",
  19198. "type": "integer"
  19199. },
  19200. "picurls": {
  19201. "description": "介绍图片[多张用逗号分隔]",
  19202. "type": "string"
  19203. },
  19204. "quoteminunit": {
  19205. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19206. "type": "integer"
  19207. },
  19208. "stepvalue": {
  19209. "description": "价格最小变动单位",
  19210. "type": "number"
  19211. },
  19212. "trademode": {
  19213. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19214. "type": "integer"
  19215. }
  19216. }
  19217. },
  19218. "models.HsbyMyPackage": {
  19219. "type": "object",
  19220. "required": [
  19221. "goodscode",
  19222. "goodsname",
  19223. "takeorderid",
  19224. "trademode"
  19225. ],
  19226. "properties": {
  19227. "accountid": {
  19228. "description": "账户ID",
  19229. "type": "integer"
  19230. },
  19231. "address": {
  19232. "description": "提货人详细地址",
  19233. "type": "string"
  19234. },
  19235. "agreeunit": {
  19236. "description": "合约单位",
  19237. "type": "number"
  19238. },
  19239. "amount": {
  19240. "description": "提货金额",
  19241. "type": "number"
  19242. },
  19243. "auditer": {
  19244. "description": "审核人",
  19245. "type": "integer"
  19246. },
  19247. "audittime": {
  19248. "description": "审核时间",
  19249. "type": "string"
  19250. },
  19251. "averageprice": {
  19252. "description": "均价",
  19253. "type": "number"
  19254. },
  19255. "cardnum": {
  19256. "description": "提货人证件号码",
  19257. "type": "string"
  19258. },
  19259. "cardtypeid": {
  19260. "description": "提货人证件类型",
  19261. "type": "integer"
  19262. },
  19263. "checkremark": {
  19264. "description": "审核备注",
  19265. "type": "string"
  19266. },
  19267. "currencysign": {
  19268. "description": "货币符号",
  19269. "type": "string"
  19270. },
  19271. "decimalplace": {
  19272. "description": "报价小数位",
  19273. "type": "integer"
  19274. },
  19275. "goodscode": {
  19276. "description": "商品代码(内部)",
  19277. "type": "string"
  19278. },
  19279. "goodsid": {
  19280. "description": "商品ID",
  19281. "type": "integer"
  19282. },
  19283. "goodsname": {
  19284. "description": "商品名称",
  19285. "type": "string"
  19286. },
  19287. "handlestatus": {
  19288. "description": "处理状态",
  19289. "type": "integer"
  19290. },
  19291. "marketid": {
  19292. "description": "市场ID",
  19293. "type": "integer"
  19294. },
  19295. "phonenum": {
  19296. "description": "提货人联系方式",
  19297. "type": "string"
  19298. },
  19299. "picurls": {
  19300. "description": "介绍图片[多张用逗号分隔]",
  19301. "type": "string"
  19302. },
  19303. "qty": {
  19304. "description": "提货数量",
  19305. "type": "number"
  19306. },
  19307. "recivername": {
  19308. "description": "提货人姓名",
  19309. "type": "string"
  19310. },
  19311. "reqtime": {
  19312. "description": "更新时间",
  19313. "type": "string"
  19314. },
  19315. "takemode": {
  19316. "description": "提货方式 - 2:自提 3:配送",
  19317. "type": "integer"
  19318. },
  19319. "takeorderid": {
  19320. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19321. "type": "string"
  19322. },
  19323. "takeorderstatus": {
  19324. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19325. "type": "integer"
  19326. },
  19327. "takeremark": {
  19328. "description": "提货备注",
  19329. "type": "string"
  19330. },
  19331. "tradedate": {
  19332. "description": "交易日(yyyyMMdd)",
  19333. "type": "string"
  19334. },
  19335. "trademode": {
  19336. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19337. "type": "integer"
  19338. },
  19339. "userid": {
  19340. "description": "用户ID",
  19341. "type": "integer"
  19342. },
  19343. "vendorname": {
  19344. "description": "供应商名称",
  19345. "type": "string"
  19346. }
  19347. }
  19348. },
  19349. "models.HsbyPreGoods": {
  19350. "type": "object",
  19351. "required": [
  19352. "goodscode",
  19353. "goodsid",
  19354. "goodsname",
  19355. "marketid",
  19356. "trademode"
  19357. ],
  19358. "properties": {
  19359. "agreeunit": {
  19360. "description": "合约单位",
  19361. "type": "number"
  19362. },
  19363. "currency": {
  19364. "description": "货币",
  19365. "type": "string"
  19366. },
  19367. "currencysign": {
  19368. "description": "货币符号",
  19369. "type": "string"
  19370. },
  19371. "decimalplace": {
  19372. "description": "报价小数位",
  19373. "type": "integer"
  19374. },
  19375. "desccityid": {
  19376. "description": "目的地(市)",
  19377. "type": "integer"
  19378. },
  19379. "descprovinceid": {
  19380. "description": "目的地(省)",
  19381. "type": "integer"
  19382. },
  19383. "enableqty": {
  19384. "description": "剩余数量",
  19385. "type": "integer"
  19386. },
  19387. "goodscode": {
  19388. "description": "商品代码(内部)",
  19389. "type": "string"
  19390. },
  19391. "goodsid": {
  19392. "description": "商品ID(自增ID SEQ_GOODS)",
  19393. "type": "integer"
  19394. },
  19395. "goodsname": {
  19396. "description": "商品名称",
  19397. "type": "string"
  19398. },
  19399. "goodsstatus": {
  19400. "description": "商品状态- 2:未上市 3:上市",
  19401. "type": "integer"
  19402. },
  19403. "lasttradedate": {
  19404. "description": "最后交易日期(状态:待退市)",
  19405. "type": "string"
  19406. },
  19407. "listingdate": {
  19408. "description": "交易开始日期",
  19409. "type": "string"
  19410. },
  19411. "marketid": {
  19412. "description": "所属市场ID",
  19413. "type": "integer"
  19414. },
  19415. "picurls": {
  19416. "description": "介绍图片[多张用逗号分隔]",
  19417. "type": "string"
  19418. },
  19419. "presaledqty": {
  19420. "description": "已预售量(预售结束时更新)",
  19421. "type": "integer"
  19422. },
  19423. "presaleqty": {
  19424. "description": "预售数量",
  19425. "type": "integer"
  19426. },
  19427. "quoteminunit": {
  19428. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19429. "type": "integer"
  19430. },
  19431. "refprice": {
  19432. "description": "参考价格[一口价]",
  19433. "type": "number"
  19434. },
  19435. "relatedgoodsid": {
  19436. "description": "关联交易合约ID",
  19437. "type": "integer"
  19438. },
  19439. "trademode": {
  19440. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19441. "type": "integer"
  19442. },
  19443. "videourls": {
  19444. "description": "介绍视频[多张用逗号分隔]",
  19445. "type": "string"
  19446. }
  19447. }
  19448. },
  19449. "models.HsbyPreGoodsDetail": {
  19450. "type": "object",
  19451. "required": [
  19452. "goodscode",
  19453. "goodsid",
  19454. "goodsname",
  19455. "marketid",
  19456. "trademode"
  19457. ],
  19458. "properties": {
  19459. "agreeunit": {
  19460. "description": "合约单位",
  19461. "type": "number"
  19462. },
  19463. "buymaxqty": {
  19464. "description": "购买上限 [71] - 0为不限",
  19465. "type": "integer"
  19466. },
  19467. "currency": {
  19468. "description": "货币",
  19469. "type": "string"
  19470. },
  19471. "currencysign": {
  19472. "description": "货币符号",
  19473. "type": "string"
  19474. },
  19475. "customername": {
  19476. "description": "发行单位",
  19477. "type": "string"
  19478. },
  19479. "decimalplace": {
  19480. "description": "报价小数位",
  19481. "type": "integer"
  19482. },
  19483. "desccityid": {
  19484. "description": "目的地(市)ID",
  19485. "type": "integer"
  19486. },
  19487. "descprovinceid": {
  19488. "description": "目的地(省)ID",
  19489. "type": "integer"
  19490. },
  19491. "enableqty": {
  19492. "description": "剩余数量",
  19493. "type": "integer"
  19494. },
  19495. "goodscode": {
  19496. "description": "商品代码(内部)",
  19497. "type": "string"
  19498. },
  19499. "goodsdesc": {
  19500. "description": "商品详情",
  19501. "type": "string"
  19502. },
  19503. "goodsid": {
  19504. "description": "商品ID(自增ID SEQ_GOODS)",
  19505. "type": "integer"
  19506. },
  19507. "goodsname": {
  19508. "description": "商品名称",
  19509. "type": "string"
  19510. },
  19511. "goodsstatus": {
  19512. "description": "商品状态- 2:未上市 3:上市",
  19513. "type": "integer"
  19514. },
  19515. "goodunit": {
  19516. "description": "报价单位",
  19517. "type": "string"
  19518. },
  19519. "lasttradedate": {
  19520. "description": "最后交易日期(状态:待退市)",
  19521. "type": "string"
  19522. },
  19523. "listingdate": {
  19524. "description": "交易开始日期",
  19525. "type": "string"
  19526. },
  19527. "lotsize": {
  19528. "description": "手数最小变动单位",
  19529. "type": "integer"
  19530. },
  19531. "marketid": {
  19532. "description": "所属市场ID",
  19533. "type": "integer"
  19534. },
  19535. "picurls": {
  19536. "description": "介绍图片[多张用逗号分隔]",
  19537. "type": "string"
  19538. },
  19539. "presaledqty": {
  19540. "description": "已预售量(预售结束时更新)",
  19541. "type": "integer"
  19542. },
  19543. "presaleqty": {
  19544. "description": "预售数量",
  19545. "type": "integer"
  19546. },
  19547. "quoteminunit": {
  19548. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19549. "type": "integer"
  19550. },
  19551. "refprice": {
  19552. "description": "参考价格[一口价]",
  19553. "type": "number"
  19554. },
  19555. "relatedgoodsid": {
  19556. "description": "关联交易合约ID",
  19557. "type": "integer"
  19558. },
  19559. "stepvalue": {
  19560. "description": "价格最小变动单位",
  19561. "type": "number"
  19562. },
  19563. "trademode": {
  19564. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19565. "type": "integer"
  19566. },
  19567. "vendorattr": {
  19568. "description": "供应商附件(多张,逗号分隔)",
  19569. "type": "string"
  19570. },
  19571. "vendorname": {
  19572. "description": "供应商名称",
  19573. "type": "string"
  19574. },
  19575. "vendorphone": {
  19576. "description": "供应商客服电话",
  19577. "type": "string"
  19578. },
  19579. "videourls": {
  19580. "description": "介绍视频[多张用逗号分隔]",
  19581. "type": "string"
  19582. }
  19583. }
  19584. },
  19585. "models.HsbySellCollectionOrder": {
  19586. "type": "object",
  19587. "required": [
  19588. "goodscode",
  19589. "goodsname",
  19590. "tradeid",
  19591. "trademode"
  19592. ],
  19593. "properties": {
  19594. "agreeunit": {
  19595. "description": "合约单位",
  19596. "type": "number"
  19597. },
  19598. "buyaccountid": {
  19599. "description": "买方账号ID[报价币种]",
  19600. "type": "integer"
  19601. },
  19602. "buyorderid": {
  19603. "description": "买方委托单号",
  19604. "type": "string"
  19605. },
  19606. "createtime": {
  19607. "description": "创建时间",
  19608. "type": "string"
  19609. },
  19610. "currencysign": {
  19611. "description": "货币符号",
  19612. "type": "string"
  19613. },
  19614. "decimalplace": {
  19615. "description": "报价小数位",
  19616. "type": "integer"
  19617. },
  19618. "goodscode": {
  19619. "description": "商品代码(内部)",
  19620. "type": "string"
  19621. },
  19622. "goodsid": {
  19623. "description": "商品ID",
  19624. "type": "integer"
  19625. },
  19626. "goodsname": {
  19627. "description": "商品名称",
  19628. "type": "string"
  19629. },
  19630. "marketid": {
  19631. "description": "市场ID",
  19632. "type": "integer"
  19633. },
  19634. "offamount": {
  19635. "description": "优惠金额",
  19636. "type": "number"
  19637. },
  19638. "payamount": {
  19639. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19640. "type": "number"
  19641. },
  19642. "payflag": {
  19643. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19644. "type": "integer"
  19645. },
  19646. "paylimitedtime": {
  19647. "description": "支付期限",
  19648. "type": "string"
  19649. },
  19650. "paytime": {
  19651. "description": "付款时间",
  19652. "type": "string"
  19653. },
  19654. "picurls": {
  19655. "description": "商品介绍图片[多张用逗号分隔]",
  19656. "type": "string"
  19657. },
  19658. "sellaccountid": {
  19659. "description": "卖方账号ID[报价币种]",
  19660. "type": "integer"
  19661. },
  19662. "sellorderid": {
  19663. "description": "卖方委托单号",
  19664. "type": "string"
  19665. },
  19666. "tradeamount": {
  19667. "description": "成交金额",
  19668. "type": "number"
  19669. },
  19670. "tradecharge": {
  19671. "description": "成交手续费(买方)",
  19672. "type": "number"
  19673. },
  19674. "tradedate": {
  19675. "description": "交易日(yyyyMMdd)",
  19676. "type": "string"
  19677. },
  19678. "tradeid": {
  19679. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19680. "type": "string"
  19681. },
  19682. "trademode": {
  19683. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19684. "type": "integer"
  19685. },
  19686. "tradeprice": {
  19687. "description": "成交价格",
  19688. "type": "number"
  19689. },
  19690. "tradeqty": {
  19691. "description": "成交数量",
  19692. "type": "integer"
  19693. }
  19694. }
  19695. },
  19696. "models.HsbySellMyDetail": {
  19697. "type": "object",
  19698. "required": [
  19699. "accountid",
  19700. "buyorsell",
  19701. "goodscode",
  19702. "goodsid",
  19703. "goodsname",
  19704. "marketid",
  19705. "orderid",
  19706. "time",
  19707. "trademode"
  19708. ],
  19709. "properties": {
  19710. "accountid": {
  19711. "description": "账户ID[报价币种]",
  19712. "type": "integer"
  19713. },
  19714. "agreeunit": {
  19715. "description": "合约单位",
  19716. "type": "number"
  19717. },
  19718. "buyorsell": {
  19719. "description": "买卖 - 0:买 1:卖",
  19720. "type": "integer"
  19721. },
  19722. "currencysign": {
  19723. "description": "货币符号",
  19724. "type": "string"
  19725. },
  19726. "decimalplace": {
  19727. "description": "报价小数位",
  19728. "type": "integer"
  19729. },
  19730. "goodscode": {
  19731. "description": "商品代码(内部)",
  19732. "type": "string"
  19733. },
  19734. "goodsid": {
  19735. "description": "商品ID",
  19736. "type": "integer"
  19737. },
  19738. "goodsname": {
  19739. "description": "商品名称",
  19740. "type": "string"
  19741. },
  19742. "marketid": {
  19743. "description": "市场ID",
  19744. "type": "integer"
  19745. },
  19746. "orderid": {
  19747. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19748. "type": "string"
  19749. },
  19750. "ordertype": {
  19751. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19752. "type": "integer"
  19753. },
  19754. "picurls": {
  19755. "description": "介绍图片[多张用逗号分隔]",
  19756. "type": "string"
  19757. },
  19758. "price": {
  19759. "description": "价格",
  19760. "type": "number"
  19761. },
  19762. "qty": {
  19763. "description": "数量",
  19764. "type": "integer"
  19765. },
  19766. "time": {
  19767. "description": "时间",
  19768. "type": "string"
  19769. },
  19770. "trademode": {
  19771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19772. "type": "integer"
  19773. },
  19774. "vendorname": {
  19775. "description": "供应商名称",
  19776. "type": "string"
  19777. }
  19778. }
  19779. },
  19780. "models.HsbyTopGoods": {
  19781. "type": "object",
  19782. "required": [
  19783. "goodscode",
  19784. "goodsid",
  19785. "goodsname",
  19786. "marketid",
  19787. "trademode"
  19788. ],
  19789. "properties": {
  19790. "agreeunit": {
  19791. "description": "合约单位",
  19792. "type": "number"
  19793. },
  19794. "currency": {
  19795. "description": "货币",
  19796. "type": "string"
  19797. },
  19798. "currencysign": {
  19799. "description": "货币符号",
  19800. "type": "string"
  19801. },
  19802. "decimalplace": {
  19803. "description": "报价小数位",
  19804. "type": "integer"
  19805. },
  19806. "desccityid": {
  19807. "description": "目的地(市)",
  19808. "type": "integer"
  19809. },
  19810. "descprovinceid": {
  19811. "description": "目的地(省)",
  19812. "type": "integer"
  19813. },
  19814. "goodscode": {
  19815. "description": "商品代码(内部)",
  19816. "type": "string"
  19817. },
  19818. "goodsid": {
  19819. "description": "商品ID(自增ID SEQ_GOODS)",
  19820. "type": "integer"
  19821. },
  19822. "goodsname": {
  19823. "description": "商品名称",
  19824. "type": "string"
  19825. },
  19826. "hotindex": {
  19827. "description": "景点热度",
  19828. "type": "integer"
  19829. },
  19830. "last": {
  19831. "description": "现价",
  19832. "type": "number"
  19833. },
  19834. "marketid": {
  19835. "description": "所属市场ID",
  19836. "type": "integer"
  19837. },
  19838. "picurls": {
  19839. "description": "介绍图片[多张用逗号分隔]",
  19840. "type": "string"
  19841. },
  19842. "quoteminunit": {
  19843. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19844. "type": "integer"
  19845. },
  19846. "trademode": {
  19847. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19848. "type": "integer"
  19849. },
  19850. "videourls": {
  19851. "description": "介绍视频[多张用逗号分隔]",
  19852. "type": "string"
  19853. }
  19854. }
  19855. },
  19856. "models.HybsMyBuyOrderDetail": {
  19857. "type": "object",
  19858. "required": [
  19859. "accountid",
  19860. "buyorsell",
  19861. "goodscode",
  19862. "goodsid",
  19863. "goodsname",
  19864. "marketid",
  19865. "orderid",
  19866. "orderqty",
  19867. "ordertime",
  19868. "trademode"
  19869. ],
  19870. "properties": {
  19871. "accountid": {
  19872. "description": "账户ID[报价币种]",
  19873. "type": "integer"
  19874. },
  19875. "agreeunit": {
  19876. "description": "合约单位",
  19877. "type": "number"
  19878. },
  19879. "buyorsell": {
  19880. "description": "买卖 - 0:买 1:卖",
  19881. "type": "integer"
  19882. },
  19883. "cancelqty": {
  19884. "description": "撤单数量",
  19885. "type": "integer"
  19886. },
  19887. "currencysign": {
  19888. "description": "货币符号",
  19889. "type": "string"
  19890. },
  19891. "decimalplace": {
  19892. "description": "报价小数位",
  19893. "type": "integer"
  19894. },
  19895. "goodscode": {
  19896. "description": "商品代码(内部)",
  19897. "type": "string"
  19898. },
  19899. "goodsid": {
  19900. "description": "商品ID",
  19901. "type": "integer"
  19902. },
  19903. "goodsname": {
  19904. "description": "商品名称",
  19905. "type": "string"
  19906. },
  19907. "listingselecttype": {
  19908. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19909. "type": "integer"
  19910. },
  19911. "marketid": {
  19912. "description": "市场ID",
  19913. "type": "integer"
  19914. },
  19915. "mybuystatus": {
  19916. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19917. "type": "integer"
  19918. },
  19919. "orderamount": {
  19920. "description": "委托金额",
  19921. "type": "number"
  19922. },
  19923. "orderid": {
  19924. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19925. "type": "string"
  19926. },
  19927. "orderprice": {
  19928. "description": "委托价格",
  19929. "type": "number"
  19930. },
  19931. "orderqty": {
  19932. "description": "委托数量",
  19933. "type": "integer"
  19934. },
  19935. "orderstatus": {
  19936. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19937. "type": "integer"
  19938. },
  19939. "ordertime": {
  19940. "description": "委托时间",
  19941. "type": "string"
  19942. },
  19943. "picurls1": {
  19944. "description": "预售商品介绍图片[多张用逗号分隔]",
  19945. "type": "string"
  19946. },
  19947. "picurls2": {
  19948. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19949. "type": "string"
  19950. },
  19951. "trademode": {
  19952. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19953. "type": "integer"
  19954. },
  19955. "tradeqty": {
  19956. "description": "成交数量",
  19957. "type": "integer"
  19958. },
  19959. "vendorname1": {
  19960. "description": "预售商品供应商名称",
  19961. "type": "string"
  19962. },
  19963. "vendorname2": {
  19964. "description": "挂牌商品供应商名称",
  19965. "type": "string"
  19966. }
  19967. }
  19968. },
  19969. "models.Loginaccount": {
  19970. "type": "object",
  19971. "required": [
  19972. "loginid"
  19973. ],
  19974. "properties": {
  19975. "canoutin": {
  19976. "description": "是否可出入金 - 0:不可 1:可",
  19977. "type": "integer"
  19978. },
  19979. "clientroleid": {
  19980. "description": "终端角色ID",
  19981. "type": "integer"
  19982. },
  19983. "haslogined": {
  19984. "description": "是否已登录 - 0:未登录 1:已登录",
  19985. "type": "integer"
  19986. },
  19987. "hasupdatedpwd": {
  19988. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19989. "type": "integer"
  19990. },
  19991. "lastloginip": {
  19992. "description": "最新登录地址",
  19993. "type": "string"
  19994. },
  19995. "lastloginmode": {
  19996. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19997. "type": "integer"
  19998. },
  19999. "lastloginremark": {
  20000. "description": "最新登录描述",
  20001. "type": "string"
  20002. },
  20003. "lastlogintime": {
  20004. "description": "最新登录时间",
  20005. "type": "string"
  20006. },
  20007. "logincode": {
  20008. "description": "登录代码",
  20009. "type": "string"
  20010. },
  20011. "loginfailnum": {
  20012. "description": "连续登录失败次数(登录成功时清零)",
  20013. "type": "integer"
  20014. },
  20015. "loginid": {
  20016. "description": "登陆账号",
  20017. "type": "integer"
  20018. },
  20019. "loginport": {
  20020. "description": "最新登录端口",
  20021. "type": "integer"
  20022. },
  20023. "loginstatus": {
  20024. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20025. "type": "integer"
  20026. },
  20027. "loginusertype": {
  20028. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20029. "type": "integer"
  20030. },
  20031. "modifierid": {
  20032. "description": "修改人",
  20033. "type": "integer"
  20034. },
  20035. "modifytime": {
  20036. "description": "修改时间",
  20037. "type": "string"
  20038. },
  20039. "pwdwrongcount": {
  20040. "description": "密码错误次数",
  20041. "type": "integer"
  20042. },
  20043. "taaccountrighttype": {
  20044. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20045. "type": "integer"
  20046. },
  20047. "unfreezetime": {
  20048. "description": "账户解冻时间",
  20049. "type": "string"
  20050. },
  20051. "userid": {
  20052. "description": "用户ID",
  20053. "type": "integer"
  20054. }
  20055. }
  20056. },
  20057. "models.MainAccountInfo": {
  20058. "type": "object",
  20059. "properties": {
  20060. "accountid": {
  20061. "description": "账号id",
  20062. "type": "string"
  20063. },
  20064. "appid": {
  20065. "description": "AppID",
  20066. "type": "string"
  20067. },
  20068. "authcode": {
  20069. "description": "授权码",
  20070. "type": "string"
  20071. },
  20072. "brokerid": {
  20073. "description": "经纪商id",
  20074. "type": "string"
  20075. },
  20076. "fcid": {
  20077. "description": "期货公司id",
  20078. "type": "integer"
  20079. },
  20080. "fcname": {
  20081. "description": "期货公司代码",
  20082. "type": "string"
  20083. },
  20084. "hedgeaccountcode": {
  20085. "description": "外部账号代码",
  20086. "type": "string"
  20087. },
  20088. "hedgeaccountpwd": {
  20089. "description": "密码",
  20090. "type": "string"
  20091. },
  20092. "ismain": {
  20093. "description": "是否主账号",
  20094. "type": "integer"
  20095. },
  20096. "relateduserid": {
  20097. "description": "关联用户id",
  20098. "type": "integer"
  20099. }
  20100. }
  20101. },
  20102. "models.Market": {
  20103. "type": "object",
  20104. "required": [
  20105. "marketid",
  20106. "marketstatus",
  20107. "openmethod",
  20108. "reckonpricealgorithm",
  20109. "trademode",
  20110. "tradeproperty"
  20111. ],
  20112. "properties": {
  20113. "auctionwrtype": {
  20114. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20115. "type": "integer"
  20116. },
  20117. "canacceptquote": {
  20118. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20119. "type": "integer"
  20120. },
  20121. "cangoodsexercise": {
  20122. "description": "[期权]是否可现货行权- 0:否 1:是",
  20123. "type": "integer"
  20124. },
  20125. "cangoodsexercisetype": {
  20126. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20127. "type": "integer"
  20128. },
  20129. "canmanualquotestrike": {
  20130. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20131. "type": "integer"
  20132. },
  20133. "canmutistage": {
  20134. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20135. "type": "integer"
  20136. },
  20137. "canpreexercise": {
  20138. "description": "[期权]是否可预申报- 0:否 1:是",
  20139. "type": "integer"
  20140. },
  20141. "clearinterval": {
  20142. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20143. "type": "integer"
  20144. },
  20145. "contracttmp": {
  20146. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20147. "type": "string"
  20148. },
  20149. "exchareaid": {
  20150. "description": "所属交易所,可以没有",
  20151. "type": "integer"
  20152. },
  20153. "goodstype": {
  20154. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20155. "type": "integer"
  20156. },
  20157. "hasrebate": {
  20158. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20159. "type": "integer"
  20160. },
  20161. "hastradecredit": {
  20162. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20163. "type": "integer"
  20164. },
  20165. "haswr": {
  20166. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20167. "type": "integer"
  20168. },
  20169. "isdeductmargin": {
  20170. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20171. "type": "integer"
  20172. },
  20173. "isrecordsource": {
  20174. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20175. "type": "integer"
  20176. },
  20177. "isreleasemargin": {
  20178. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20179. "type": "integer"
  20180. },
  20181. "marginformula": {
  20182. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20183. "type": "integer"
  20184. },
  20185. "marginformula2": {
  20186. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20187. "type": "integer"
  20188. },
  20189. "marketid": {
  20190. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20191. "type": "integer"
  20192. },
  20193. "marketname": {
  20194. "description": "市场名称",
  20195. "type": "string"
  20196. },
  20197. "marketserviceid": {
  20198. "description": "市场服务ID",
  20199. "type": "integer"
  20200. },
  20201. "marketstatus": {
  20202. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20203. "type": "integer"
  20204. },
  20205. "markettype": {
  20206. "description": "市场类型- 1:非交易服务 2:交易服务",
  20207. "type": "integer"
  20208. },
  20209. "matchermode": {
  20210. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20211. "type": "integer"
  20212. },
  20213. "openmethod": {
  20214. "description": "开盘模式 - 0 自动 1手动",
  20215. "type": "integer"
  20216. },
  20217. "otcuserid": {
  20218. "description": "场外期权做市商[场外期权]",
  20219. "type": "integer"
  20220. },
  20221. "outersynctime": {
  20222. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20223. "type": "string"
  20224. },
  20225. "pendingflag": {
  20226. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20227. "type": "integer"
  20228. },
  20229. "pendingtime": {
  20230. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20231. "type": "string"
  20232. },
  20233. "performancetempid": {
  20234. "description": "履约计划模板ID - 作废",
  20235. "type": "integer"
  20236. },
  20237. "premiumquotemode": {
  20238. "description": "权利金报价方式 - 1:自动 2:手动",
  20239. "type": "integer"
  20240. },
  20241. "rebateratio": {
  20242. "description": "返利比率[竞价式]",
  20243. "type": "number"
  20244. },
  20245. "reckonorder": {
  20246. "description": "结算顺序",
  20247. "type": "integer"
  20248. },
  20249. "reckonpricealgorithm": {
  20250. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20251. "type": "integer"
  20252. },
  20253. "reckonpriceparam": {
  20254. "description": "结算价参数",
  20255. "type": "integer"
  20256. },
  20257. "reckontime": {
  20258. "description": "结算时间[通道交易-对冲](HH:mm)",
  20259. "type": "string"
  20260. },
  20261. "roleprioritytype": {
  20262. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20263. "type": "integer"
  20264. },
  20265. "selllistingauditflag": {
  20266. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20267. "type": "integer"
  20268. },
  20269. "trademarkettype": {
  20270. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20271. "type": "integer"
  20272. },
  20273. "trademode": {
  20274. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20275. "type": "integer"
  20276. },
  20277. "tradeproperty": {
  20278. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20279. "type": "integer"
  20280. },
  20281. "tradetype": {
  20282. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20283. "type": "integer"
  20284. }
  20285. }
  20286. },
  20287. "models.Marketrun": {
  20288. "type": "object",
  20289. "required": [
  20290. "marketid",
  20291. "nexttradedate",
  20292. "reckonflag",
  20293. "runstatus",
  20294. "tradedate",
  20295. "tradedate2"
  20296. ],
  20297. "properties": {
  20298. "afternexttradedate": {
  20299. "description": "下下交易日",
  20300. "type": "string"
  20301. },
  20302. "clearquoteflag": {
  20303. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20304. "type": "integer"
  20305. },
  20306. "lastreckondate": {
  20307. "description": "最新交易日(结算成功)",
  20308. "type": "string"
  20309. },
  20310. "machinedate": {
  20311. "description": "机器时间",
  20312. "type": "string"
  20313. },
  20314. "manualflag": {
  20315. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20316. "type": "integer"
  20317. },
  20318. "marketid": {
  20319. "description": "市场ID",
  20320. "type": "integer"
  20321. },
  20322. "nexttradedate": {
  20323. "description": "下一交易日",
  20324. "type": "string"
  20325. },
  20326. "pretradedate": {
  20327. "description": "上一交易日",
  20328. "type": "string"
  20329. },
  20330. "reckonflag": {
  20331. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20332. "type": "integer"
  20333. },
  20334. "runstatus": {
  20335. "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.今日免清算",
  20336. "type": "integer"
  20337. },
  20338. "sectionid": {
  20339. "description": "时间段号[多时段时用]",
  20340. "type": "integer"
  20341. },
  20342. "tradedate": {
  20343. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20344. "type": "string"
  20345. },
  20346. "tradedate2": {
  20347. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20348. "type": "string"
  20349. },
  20350. "updatetime": {
  20351. "description": "更新时间",
  20352. "type": "string"
  20353. }
  20354. }
  20355. },
  20356. "models.Messageboard": {
  20357. "type": "object",
  20358. "required": [
  20359. "messageboardid"
  20360. ],
  20361. "properties": {
  20362. "contactnum": {
  20363. "description": "联系电话",
  20364. "type": "string"
  20365. },
  20366. "createtime": {
  20367. "description": "创建时间",
  20368. "type": "string"
  20369. },
  20370. "message": {
  20371. "description": "留言信息",
  20372. "type": "string"
  20373. },
  20374. "messageboardid": {
  20375. "description": "留言簿ID(SEQ_MessageBoard)",
  20376. "type": "integer"
  20377. },
  20378. "userid": {
  20379. "description": "用户ID",
  20380. "type": "integer"
  20381. }
  20382. }
  20383. },
  20384. "models.MyCoupon": {
  20385. "type": "object",
  20386. "required": [
  20387. "accountid",
  20388. "coupontypeid"
  20389. ],
  20390. "properties": {
  20391. "accountid": {
  20392. "description": "资金账户ID",
  20393. "type": "integer"
  20394. },
  20395. "areauserid": {
  20396. "description": "所属机构",
  20397. "type": "integer"
  20398. },
  20399. "conditionvalue": {
  20400. "description": "条件阈值(可为0)",
  20401. "type": "number"
  20402. },
  20403. "couponcategroy": {
  20404. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20405. "type": "integer"
  20406. },
  20407. "couponname": {
  20408. "description": "优惠券名称",
  20409. "type": "string"
  20410. },
  20411. "coupontypeid": {
  20412. "description": "优惠券类型ID",
  20413. "type": "string"
  20414. },
  20415. "couponvalue": {
  20416. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20417. "type": "number"
  20418. },
  20419. "curfreezeqty": {
  20420. "description": "期末冻结数量",
  20421. "type": "integer"
  20422. },
  20423. "curqty": {
  20424. "description": "期末数量",
  20425. "type": "integer"
  20426. },
  20427. "isgeneral": {
  20428. "description": "是否通用券 - 0:否 1:是",
  20429. "type": "integer"
  20430. },
  20431. "isunusable": {
  20432. "description": "是否不可用",
  20433. "type": "boolean"
  20434. },
  20435. "limitedflag": {
  20436. "description": "是否指定商品 - 0:不限 1:限制",
  20437. "type": "integer"
  20438. },
  20439. "limitedgoodsids": {
  20440. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20441. "type": "string"
  20442. },
  20443. "orifreezeqty": {
  20444. "description": "期初冻结数量",
  20445. "type": "integer"
  20446. },
  20447. "oriqty": {
  20448. "description": "期初数量",
  20449. "type": "integer"
  20450. },
  20451. "reasontype": {
  20452. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20453. "type": "integer"
  20454. },
  20455. "todaydecrease": {
  20456. "description": "今日减少",
  20457. "type": "integer"
  20458. },
  20459. "todayincrease": {
  20460. "description": "今日增加",
  20461. "type": "integer"
  20462. },
  20463. "userid": {
  20464. "description": "用户ID",
  20465. "type": "integer"
  20466. },
  20467. "userscope": {
  20468. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20469. "type": "string"
  20470. }
  20471. }
  20472. },
  20473. "models.MyCouponHold": {
  20474. "type": "object",
  20475. "required": [
  20476. "couponholdid"
  20477. ],
  20478. "properties": {
  20479. "accountid": {
  20480. "description": "资金账户ID",
  20481. "type": "integer"
  20482. },
  20483. "conditionvalue": {
  20484. "description": "条件阈值(可为0)",
  20485. "type": "number"
  20486. },
  20487. "couponcategroy": {
  20488. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20489. "type": "integer"
  20490. },
  20491. "couponholdid": {
  20492. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20493. "type": "string"
  20494. },
  20495. "couponname": {
  20496. "description": "优惠券名称",
  20497. "type": "string"
  20498. },
  20499. "coupontypeid": {
  20500. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20501. "type": "string"
  20502. },
  20503. "couponvalue": {
  20504. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20505. "type": "number"
  20506. },
  20507. "createtime": {
  20508. "description": "创建时间",
  20509. "type": "string"
  20510. },
  20511. "enddate": {
  20512. "description": "结束日期",
  20513. "type": "string"
  20514. },
  20515. "giveapplyid": {
  20516. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20517. "type": "integer"
  20518. },
  20519. "holdstatus": {
  20520. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20521. "type": "integer"
  20522. },
  20523. "isgeneral": {
  20524. "description": "是否通用券 - 0:否 1:是",
  20525. "type": "integer"
  20526. },
  20527. "limitedflag": {
  20528. "description": "是否指定商品 - 0:不限 1:限制",
  20529. "type": "integer"
  20530. },
  20531. "limitedgoodsids": {
  20532. "description": "指定商品IDs[逗号分隔]",
  20533. "type": "string"
  20534. },
  20535. "qty": {
  20536. "description": "数量(按1平铺)",
  20537. "type": "integer"
  20538. },
  20539. "startdate": {
  20540. "description": "开始日期",
  20541. "type": "string"
  20542. },
  20543. "userid": {
  20544. "description": "用户ID",
  20545. "type": "integer"
  20546. },
  20547. "userscope": {
  20548. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20549. "type": "string"
  20550. }
  20551. }
  20552. },
  20553. "models.MyUsedCoupon": {
  20554. "type": "object",
  20555. "required": [
  20556. "coupontypeid",
  20557. "orderid"
  20558. ],
  20559. "properties": {
  20560. "accountid": {
  20561. "description": "资金账户ID(买方)",
  20562. "type": "integer"
  20563. },
  20564. "conditionvalue": {
  20565. "description": "条件阈值(可为0)",
  20566. "type": "number"
  20567. },
  20568. "couponcategroy": {
  20569. "description": "种类 - 1:现金券 2:折扣券",
  20570. "type": "integer"
  20571. },
  20572. "couponname": {
  20573. "description": "优惠券名称",
  20574. "type": "string"
  20575. },
  20576. "coupontypeid": {
  20577. "description": "优惠券类型ID(买方)",
  20578. "type": "string"
  20579. },
  20580. "couponvalue": {
  20581. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20582. "type": "number"
  20583. },
  20584. "createtime": {
  20585. "description": "创建时间",
  20586. "type": "string"
  20587. },
  20588. "goodsid": {
  20589. "description": "商品ID",
  20590. "type": "integer"
  20591. },
  20592. "handlestatus": {
  20593. "description": "处理状态",
  20594. "type": "integer"
  20595. },
  20596. "marketid": {
  20597. "description": "市场ID",
  20598. "type": "integer"
  20599. },
  20600. "offamount": {
  20601. "description": "优惠金额",
  20602. "type": "number"
  20603. },
  20604. "orderid": {
  20605. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20606. "type": "string"
  20607. },
  20608. "sellaccountid": {
  20609. "description": "资金账户ID(卖方)",
  20610. "type": "integer"
  20611. },
  20612. "tradeamount": {
  20613. "description": "成交金额",
  20614. "type": "number"
  20615. },
  20616. "tradeid": {
  20617. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20618. "type": "string"
  20619. },
  20620. "usedqty": {
  20621. "description": "使用数量",
  20622. "type": "integer"
  20623. }
  20624. }
  20625. },
  20626. "models.OperationPrimaryMenu": {
  20627. "type": "object",
  20628. "properties": {
  20629. "Children": {
  20630. "description": "二级功能菜单",
  20631. "type": "array",
  20632. "items": {
  20633. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20634. }
  20635. },
  20636. "Key": {
  20637. "description": "菜单KEY",
  20638. "type": "string"
  20639. },
  20640. "Label": {
  20641. "description": "菜单标题",
  20642. "type": "string"
  20643. }
  20644. }
  20645. },
  20646. "models.OperationSecondaryMenu": {
  20647. "type": "object",
  20648. "properties": {
  20649. "Key": {
  20650. "description": "菜单KEY",
  20651. "type": "string"
  20652. },
  20653. "Label": {
  20654. "description": "菜单标题",
  20655. "type": "string"
  20656. },
  20657. "TabList": {
  20658. "description": "三级功能菜单",
  20659. "type": "array",
  20660. "items": {
  20661. "$ref": "#/definitions/models.OperationTabMenu"
  20662. }
  20663. }
  20664. }
  20665. },
  20666. "models.OperationTabMenu": {
  20667. "type": "object",
  20668. "properties": {
  20669. "Key": {
  20670. "description": "菜单KEY",
  20671. "type": "string"
  20672. },
  20673. "Label": {
  20674. "description": "菜单标题",
  20675. "type": "string"
  20676. }
  20677. }
  20678. },
  20679. "models.QueryErrorInfosRsp": {
  20680. "type": "object",
  20681. "required": [
  20682. "errorid"
  20683. ],
  20684. "properties": {
  20685. "description": {
  20686. "description": "异常描述",
  20687. "type": "string"
  20688. },
  20689. "errorcode": {
  20690. "description": "异常代码",
  20691. "type": "string"
  20692. },
  20693. "errorid": {
  20694. "description": "异常ID",
  20695. "type": "integer"
  20696. },
  20697. "modulecode": {
  20698. "description": "所属模块",
  20699. "type": "string"
  20700. },
  20701. "operatecode": {
  20702. "description": "所属操作",
  20703. "type": "string"
  20704. },
  20705. "rownumber": {
  20706. "description": "行号",
  20707. "type": "string"
  20708. }
  20709. }
  20710. },
  20711. "models.QueryHedgeOrderDetailRsp": {
  20712. "type": "object",
  20713. "properties": {
  20714. "accountid": {
  20715. "description": "账户ID",
  20716. "type": "integer"
  20717. },
  20718. "buyorsell": {
  20719. "description": "买卖 - 0:买 1:卖",
  20720. "type": "integer"
  20721. },
  20722. "cancellogincode": {
  20723. "description": "撤单人",
  20724. "type": "string"
  20725. },
  20726. "channelbuildtype": {
  20727. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20728. "type": "integer"
  20729. },
  20730. "channelinnerorderstatus": {
  20731. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20732. "type": "integer"
  20733. },
  20734. "channeloperatetype": {
  20735. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20736. "type": "integer"
  20737. },
  20738. "closetype": {
  20739. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20740. "type": "integer"
  20741. },
  20742. "curexchangerate": {
  20743. "description": "当前汇率",
  20744. "type": "number"
  20745. },
  20746. "exchangefullname": {
  20747. "description": "外部交易所全称",
  20748. "type": "string"
  20749. },
  20750. "goodscode": {
  20751. "description": "商品代码(内部)",
  20752. "type": "string"
  20753. },
  20754. "goodsid": {
  20755. "description": "商品ID",
  20756. "type": "integer"
  20757. },
  20758. "goodsname": {
  20759. "description": "商品名称",
  20760. "type": "string"
  20761. },
  20762. "marketid": {
  20763. "description": "市场ID",
  20764. "type": "integer"
  20765. },
  20766. "openfreezemargin": {
  20767. "description": "冻结保证金(冻结交易金额)",
  20768. "type": "number"
  20769. },
  20770. "orderid": {
  20771. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20772. "type": "string"
  20773. },
  20774. "orderlogincode": {
  20775. "description": "委托人",
  20776. "type": "string"
  20777. },
  20778. "orderprice": {
  20779. "description": "委托价格(账户)",
  20780. "type": "number"
  20781. },
  20782. "orderqty": {
  20783. "description": "委托数量",
  20784. "type": "integer"
  20785. },
  20786. "ordertime": {
  20787. "description": "委托时间",
  20788. "type": "string"
  20789. },
  20790. "pricemode": {
  20791. "description": "取价方式 - 1:市价 2: 限价",
  20792. "type": "integer"
  20793. },
  20794. "tradedate": {
  20795. "description": "交易日(yyyyMMdd)",
  20796. "type": "string"
  20797. },
  20798. "tradeqty": {
  20799. "description": "成交数量",
  20800. "type": "integer"
  20801. }
  20802. }
  20803. },
  20804. "models.QueryHedgeTradeDetailRsp": {
  20805. "type": "object",
  20806. "properties": {
  20807. "accountid": {
  20808. "description": "账号ID",
  20809. "type": "integer"
  20810. },
  20811. "buyorsell": {
  20812. "description": "方向 - 0:买 1:卖",
  20813. "type": "integer"
  20814. },
  20815. "channelbuildtype": {
  20816. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20817. "type": "integer"
  20818. },
  20819. "closecharge": {
  20820. "description": "平仓手续费(账户)",
  20821. "type": "number"
  20822. },
  20823. "closecharge2": {
  20824. "description": "平仓手续费(商品)",
  20825. "type": "number"
  20826. },
  20827. "closepl": {
  20828. "description": "平仓盈亏(账户)",
  20829. "type": "number"
  20830. },
  20831. "closepl2": {
  20832. "description": "平仓盈亏(商品)",
  20833. "type": "number"
  20834. },
  20835. "closepl3": {
  20836. "description": "平仓盈亏(账户)(逐笔)",
  20837. "type": "number"
  20838. },
  20839. "closepl4": {
  20840. "description": "平仓盈亏(商品)(逐笔)",
  20841. "type": "number"
  20842. },
  20843. "closetype": {
  20844. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20845. "type": "integer"
  20846. },
  20847. "curexchangerate": {
  20848. "description": "当前汇率",
  20849. "type": "number"
  20850. },
  20851. "exchangefullname": {
  20852. "description": "外部交易所全称",
  20853. "type": "string"
  20854. },
  20855. "goodscode": {
  20856. "description": "商品代码(内部)",
  20857. "type": "string"
  20858. },
  20859. "goodsid": {
  20860. "description": "商品ID",
  20861. "type": "integer"
  20862. },
  20863. "goodsname": {
  20864. "description": "商品名称",
  20865. "type": "string"
  20866. },
  20867. "marketid": {
  20868. "description": "市场ID",
  20869. "type": "integer"
  20870. },
  20871. "opencharge": {
  20872. "description": "建仓手续费(账户)",
  20873. "type": "number"
  20874. },
  20875. "opencharge2": {
  20876. "description": "建仓手续费(商品)",
  20877. "type": "number"
  20878. },
  20879. "orderid": {
  20880. "description": "委托单号",
  20881. "type": "string"
  20882. },
  20883. "orderlogincode": {
  20884. "description": "委托人",
  20885. "type": "string"
  20886. },
  20887. "tradeamount": {
  20888. "description": "成交金额(账户)",
  20889. "type": "number"
  20890. },
  20891. "tradedate": {
  20892. "description": "交易日(yyyyMMdd)",
  20893. "type": "string"
  20894. },
  20895. "tradeid": {
  20896. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20897. "type": "string"
  20898. },
  20899. "tradeprice": {
  20900. "description": "成交价格",
  20901. "type": "number"
  20902. },
  20903. "tradeqty": {
  20904. "description": "成交数量",
  20905. "type": "integer"
  20906. },
  20907. "tradetime": {
  20908. "description": "成交时间",
  20909. "type": "string"
  20910. },
  20911. "tradetype": {
  20912. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20913. "type": "integer"
  20914. }
  20915. }
  20916. },
  20917. "models.QuotePrimaryMenu": {
  20918. "type": "object",
  20919. "properties": {
  20920. "Index": {
  20921. "description": "序号",
  20922. "type": "integer"
  20923. },
  20924. "Key": {
  20925. "description": "键名",
  20926. "type": "string"
  20927. },
  20928. "Name": {
  20929. "description": "菜单名称",
  20930. "type": "string"
  20931. },
  20932. "SubMenus": {
  20933. "description": "子菜单",
  20934. "type": "array",
  20935. "items": {
  20936. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20937. }
  20938. },
  20939. "SubTitleType": {
  20940. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20941. "type": "integer"
  20942. },
  20943. "TradeModes": {
  20944. "description": "包含市场交易类型",
  20945. "type": "string"
  20946. }
  20947. }
  20948. },
  20949. "models.QuoteSecondaryMenu": {
  20950. "type": "object",
  20951. "properties": {
  20952. "ExExchangeCode": {
  20953. "description": "外部交易所代码",
  20954. "type": "string"
  20955. },
  20956. "ExExchangeID": {
  20957. "description": "外部交易所ID",
  20958. "type": "integer"
  20959. },
  20960. "GoodsGroupIDs": {
  20961. "description": "商品组ID列表",
  20962. "type": "array",
  20963. "items": {
  20964. "type": "integer"
  20965. }
  20966. },
  20967. "Index": {
  20968. "description": "序号",
  20969. "type": "integer"
  20970. },
  20971. "MarketID": {
  20972. "description": "市场ID",
  20973. "type": "integer"
  20974. },
  20975. "MenuTitle": {
  20976. "description": "菜单标题(市场名称或外部交易所名称)",
  20977. "type": "string"
  20978. },
  20979. "TradeMode": {
  20980. "description": "交易模式",
  20981. "type": "integer"
  20982. }
  20983. }
  20984. },
  20985. "models.RelatedGoodsEx": {
  20986. "type": "object",
  20987. "properties": {
  20988. "goodscode": {
  20989. "description": "商品代码",
  20990. "type": "string"
  20991. },
  20992. "goodsid": {
  20993. "description": "商品id",
  20994. "type": "integer"
  20995. },
  20996. "goodsname": {
  20997. "description": "商品名称",
  20998. "type": "string"
  20999. }
  21000. }
  21001. },
  21002. "models.SearchGoods": {
  21003. "type": "object",
  21004. "required": [
  21005. "goodscode",
  21006. "goodsid",
  21007. "goodsname",
  21008. "marketid",
  21009. "trademode"
  21010. ],
  21011. "properties": {
  21012. "goodscode": {
  21013. "description": "商品代码(内部)",
  21014. "type": "string"
  21015. },
  21016. "goodsid": {
  21017. "description": "商品ID(自增ID SEQ_GOODS)",
  21018. "type": "integer"
  21019. },
  21020. "goodsname": {
  21021. "description": "商品名称",
  21022. "type": "string"
  21023. },
  21024. "marketid": {
  21025. "description": "所属市场ID",
  21026. "type": "integer"
  21027. },
  21028. "marketname": {
  21029. "description": "市场名称",
  21030. "type": "string"
  21031. },
  21032. "trademode": {
  21033. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21034. "type": "integer"
  21035. }
  21036. }
  21037. },
  21038. "models.Systemparam": {
  21039. "type": "object",
  21040. "required": [
  21041. "paramcode"
  21042. ],
  21043. "properties": {
  21044. "loginid": {
  21045. "description": "更新用户账号,登录账号",
  21046. "type": "string"
  21047. },
  21048. "modifyflag": {
  21049. "description": "修改标志0 不允许修改 1 允许修改",
  21050. "type": "integer"
  21051. },
  21052. "paramcode": {
  21053. "description": "参数代码",
  21054. "type": "string"
  21055. },
  21056. "paramname": {
  21057. "description": "参数名",
  21058. "type": "string"
  21059. },
  21060. "paramtype": {
  21061. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21062. "type": "integer"
  21063. },
  21064. "paramvalue": {
  21065. "description": "参数值",
  21066. "type": "string"
  21067. },
  21068. "paramvalue2": {
  21069. "description": "参数值(CLOB)",
  21070. "type": "string"
  21071. },
  21072. "regexpress": {
  21073. "description": "正则表达式",
  21074. "type": "string"
  21075. },
  21076. "remark": {
  21077. "description": "备注",
  21078. "type": "string"
  21079. },
  21080. "serverip": {
  21081. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21082. "type": "string"
  21083. },
  21084. "showflag": {
  21085. "description": "是否显示0 不显示 1 显示",
  21086. "type": "integer"
  21087. },
  21088. "updatetime": {
  21089. "description": "更新时间",
  21090. "type": "string"
  21091. },
  21092. "userid": {
  21093. "description": "更新用户ID",
  21094. "type": "integer"
  21095. }
  21096. }
  21097. },
  21098. "models.Szdz3convertconfig": {
  21099. "type": "object",
  21100. "required": [
  21101. "converttype",
  21102. "innergoodsid",
  21103. "outergoodscode"
  21104. ],
  21105. "properties": {
  21106. "canin": {
  21107. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21108. "type": "integer"
  21109. },
  21110. "canout": {
  21111. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21112. "type": "integer"
  21113. },
  21114. "converttype": {
  21115. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21116. "type": "integer"
  21117. },
  21118. "createtime": {
  21119. "description": "创建时间",
  21120. "type": "string"
  21121. },
  21122. "creatorid": {
  21123. "description": "创建人",
  21124. "type": "integer"
  21125. },
  21126. "daymaxvalue": {
  21127. "description": "当日最大转入限制",
  21128. "type": "number"
  21129. },
  21130. "freezedays": {
  21131. "description": "冻结天数 [5:花生米转交易]",
  21132. "type": "integer"
  21133. },
  21134. "innergoodsid": {
  21135. "description": "内部商品ID[交易]",
  21136. "type": "integer"
  21137. },
  21138. "inratio": {
  21139. "description": "目标值",
  21140. "type": "integer"
  21141. },
  21142. "modifierid": {
  21143. "description": "修改人",
  21144. "type": "integer"
  21145. },
  21146. "modifytime": {
  21147. "description": "修改时间",
  21148. "type": "string"
  21149. },
  21150. "outergoodscode": {
  21151. "description": "外部商品代码[JD\\PD]",
  21152. "type": "string"
  21153. },
  21154. "outratio": {
  21155. "description": "源值",
  21156. "type": "integer"
  21157. },
  21158. "pddecimalplace": {
  21159. "description": "PD小数位",
  21160. "type": "integer"
  21161. },
  21162. "timemaxvalue": {
  21163. "description": "单次最大转入限制",
  21164. "type": "number"
  21165. },
  21166. "timeminvalue": {
  21167. "description": "单次最小转入限制",
  21168. "type": "number"
  21169. }
  21170. }
  21171. },
  21172. "models.Szdz3searchwhitelist": {
  21173. "type": "object",
  21174. "required": [
  21175. "userid"
  21176. ],
  21177. "properties": {
  21178. "createtime": {
  21179. "description": "创建时间",
  21180. "type": "string"
  21181. },
  21182. "creatorid": {
  21183. "description": "创建人",
  21184. "type": "integer"
  21185. },
  21186. "modifierid": {
  21187. "description": "修改人",
  21188. "type": "integer"
  21189. },
  21190. "modifytime": {
  21191. "description": "修改时间",
  21192. "type": "string"
  21193. },
  21194. "userid": {
  21195. "description": "用户ID",
  21196. "type": "integer"
  21197. }
  21198. }
  21199. },
  21200. "models.Taaccount": {
  21201. "type": "object",
  21202. "required": [
  21203. "accountid",
  21204. "userid"
  21205. ],
  21206. "properties": {
  21207. "accountflag": {
  21208. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21209. "type": "integer"
  21210. },
  21211. "accountid": {
  21212. "description": "资金账户ID",
  21213. "type": "integer"
  21214. },
  21215. "accountname": {
  21216. "description": "账户名称",
  21217. "type": "string"
  21218. },
  21219. "balance": {
  21220. "description": "期初余额",
  21221. "type": "number"
  21222. },
  21223. "capitalbalance": {
  21224. "description": "本金余额[外部子账户实际出入金余额]",
  21225. "type": "number"
  21226. },
  21227. "changeflag": {
  21228. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21229. "type": "integer"
  21230. },
  21231. "changetime": {
  21232. "description": "账户状态变更时间",
  21233. "type": "string"
  21234. },
  21235. "closepl": {
  21236. "description": "今日平仓盈亏",
  21237. "type": "number"
  21238. },
  21239. "creditdecrease": {
  21240. "description": "今日授信减少",
  21241. "type": "number"
  21242. },
  21243. "creditincrease": {
  21244. "description": "今日授信增加",
  21245. "type": "number"
  21246. },
  21247. "currencyid": {
  21248. "description": "货币ID",
  21249. "type": "integer"
  21250. },
  21251. "currentbalance": {
  21252. "description": "期末余额",
  21253. "type": "number"
  21254. },
  21255. "freezecharge": {
  21256. "description": "手续费冻结",
  21257. "type": "number"
  21258. },
  21259. "freezemargin": {
  21260. "description": "冻结保证金",
  21261. "type": "number"
  21262. },
  21263. "fromaccountid": {
  21264. "description": "所属上级账户",
  21265. "type": "integer"
  21266. },
  21267. "inamount": {
  21268. "description": "今日入金金额(包括三方入金)",
  21269. "type": "number"
  21270. },
  21271. "ismain": {
  21272. "description": "是否母账号 0:不是母账户 1:是母账户",
  21273. "type": "integer"
  21274. },
  21275. "ismarketaccount": {
  21276. "description": "是否机构接单账号 0:不是 1:是",
  21277. "type": "integer"
  21278. },
  21279. "isreckonaccount": {
  21280. "description": "是否机构分润账号 0:不是 1:是",
  21281. "type": "integer"
  21282. },
  21283. "mortgagecredit": {
  21284. "description": "授信金额",
  21285. "type": "number"
  21286. },
  21287. "orifreezecharge": {
  21288. "description": "期初手续费冻结",
  21289. "type": "number"
  21290. },
  21291. "orifreezemargin": {
  21292. "description": "期初冻结保证金",
  21293. "type": "number"
  21294. },
  21295. "orimortgagecredit": {
  21296. "description": "期初授信金额",
  21297. "type": "number"
  21298. },
  21299. "oriothercredit": {
  21300. "description": "期初其它授信金额",
  21301. "type": "number"
  21302. },
  21303. "oriotherfreezemargin": {
  21304. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21305. "type": "number"
  21306. },
  21307. "orioutamountfreeze": {
  21308. "description": "期初出金冻结",
  21309. "type": "number"
  21310. },
  21311. "oriusedmargin": {
  21312. "description": "期初占用保证金",
  21313. "type": "number"
  21314. },
  21315. "othercredit": {
  21316. "description": "其它授信金额",
  21317. "type": "number"
  21318. },
  21319. "othercreditdecrease": {
  21320. "description": "今日其它授信减少",
  21321. "type": "number"
  21322. },
  21323. "othercreditincrease": {
  21324. "description": "今日其它授信增加",
  21325. "type": "number"
  21326. },
  21327. "otherfreezemargin": {
  21328. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21329. "type": "number"
  21330. },
  21331. "otherincome": {
  21332. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21333. "type": "number"
  21334. },
  21335. "otherpay": {
  21336. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21337. "type": "number"
  21338. },
  21339. "outamount": {
  21340. "description": "今日出金金额(包括三方出金)",
  21341. "type": "number"
  21342. },
  21343. "outamountfreeze": {
  21344. "description": "出金冻结",
  21345. "type": "number"
  21346. },
  21347. "outthreshold": {
  21348. "description": "出金阈值",
  21349. "type": "number"
  21350. },
  21351. "parentaccountid": {
  21352. "description": "所属根账号",
  21353. "type": "integer"
  21354. },
  21355. "paycharge": {
  21356. "description": "今日手续费支出",
  21357. "type": "number"
  21358. },
  21359. "relatedaccountstatus": {
  21360. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21361. "type": "integer"
  21362. },
  21363. "relateduserid": {
  21364. "description": "关联用户",
  21365. "type": "integer"
  21366. },
  21367. "serivcegroup": {
  21368. "description": "服务分组",
  21369. "type": "integer"
  21370. },
  21371. "signstatus": {
  21372. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21373. "type": "integer"
  21374. },
  21375. "sublevelpath": {
  21376. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21377. "type": "string"
  21378. },
  21379. "taaccounttype": {
  21380. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21381. "type": "integer"
  21382. },
  21383. "thirdinamount": {
  21384. "description": "今日三方入金",
  21385. "type": "number"
  21386. },
  21387. "thirdoutamount": {
  21388. "description": "今日三方出金",
  21389. "type": "number"
  21390. },
  21391. "tradestatus": {
  21392. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21393. "type": "integer"
  21394. },
  21395. "tradestatuschangetime": {
  21396. "description": "激活时间",
  21397. "type": "string"
  21398. },
  21399. "transferamount": {
  21400. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21401. "type": "number"
  21402. },
  21403. "usedmargin": {
  21404. "description": "占用保证金",
  21405. "type": "number"
  21406. },
  21407. "userid": {
  21408. "description": "用户ID",
  21409. "type": "integer"
  21410. }
  21411. }
  21412. },
  21413. "models.Tablecolumnconfig": {
  21414. "type": "object",
  21415. "required": [
  21416. "autoid"
  21417. ],
  21418. "properties": {
  21419. "aligntype": {
  21420. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21421. "type": "integer"
  21422. },
  21423. "autoid": {
  21424. "description": "AutoID",
  21425. "type": "integer"
  21426. },
  21427. "columnfield": {
  21428. "description": "列字段",
  21429. "type": "string"
  21430. },
  21431. "columntitle": {
  21432. "description": "列Title",
  21433. "type": "string"
  21434. },
  21435. "columnwidth": {
  21436. "description": "列宽",
  21437. "type": "string"
  21438. },
  21439. "formatterstring": {
  21440. "description": "格式化字符",
  21441. "type": "string"
  21442. },
  21443. "formattertype": {
  21444. "description": "格式化类型",
  21445. "type": "string"
  21446. },
  21447. "groupname": {
  21448. "description": "表头分组名称",
  21449. "type": "string"
  21450. },
  21451. "isshow": {
  21452. "description": "是否显示 - 0:不显示 1:显示",
  21453. "type": "integer"
  21454. },
  21455. "needsummary": {
  21456. "description": "是否需要汇总 - 0:不需要 1:需要",
  21457. "type": "integer"
  21458. },
  21459. "orderindex": {
  21460. "description": "顺序",
  21461. "type": "integer"
  21462. },
  21463. "remark": {
  21464. "description": "备注",
  21465. "type": "string"
  21466. },
  21467. "summarytype": {
  21468. "description": "汇总类型 - 1:加总 2:最后一个",
  21469. "type": "integer"
  21470. },
  21471. "tablekey": {
  21472. "description": "列表Key",
  21473. "type": "string"
  21474. }
  21475. }
  21476. },
  21477. "models.Useraccount": {
  21478. "type": "object",
  21479. "required": [
  21480. "userid"
  21481. ],
  21482. "properties": {
  21483. "accountname": {
  21484. "description": "账户名称(机构名称)",
  21485. "type": "string"
  21486. },
  21487. "accountstatus": {
  21488. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21489. "type": "integer"
  21490. },
  21491. "auditremark": {
  21492. "description": "审核备注",
  21493. "type": "string"
  21494. },
  21495. "audittime": {
  21496. "description": "审核时间",
  21497. "type": "string"
  21498. },
  21499. "audituserid": {
  21500. "description": "审核人",
  21501. "type": "integer"
  21502. },
  21503. "broker": {
  21504. "description": "所属经纪人ID",
  21505. "type": "integer"
  21506. },
  21507. "canceltime": {
  21508. "description": "销户时间",
  21509. "type": "string"
  21510. },
  21511. "canceluserid": {
  21512. "description": "销户人",
  21513. "type": "integer"
  21514. },
  21515. "createtime": {
  21516. "description": "创建时间",
  21517. "type": "string"
  21518. },
  21519. "creatorid": {
  21520. "description": "创建人",
  21521. "type": "integer"
  21522. },
  21523. "hasauth": {
  21524. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21525. "type": "integer"
  21526. },
  21527. "isanonymous": {
  21528. "description": "是否匿名下单 - 0:否 1:是",
  21529. "type": "integer"
  21530. },
  21531. "maxinvestornum": {
  21532. "description": "最大用户数(经纪会员下投资者个数)",
  21533. "type": "integer"
  21534. },
  21535. "memberuserid": {
  21536. "description": "所属会员ID",
  21537. "type": "integer"
  21538. },
  21539. "modifierid": {
  21540. "description": "修改人",
  21541. "type": "integer"
  21542. },
  21543. "modifyremark": {
  21544. "description": "变更备注",
  21545. "type": "string"
  21546. },
  21547. "modifystatus": {
  21548. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21549. "type": "integer"
  21550. },
  21551. "modifytime": {
  21552. "description": "修改时间",
  21553. "type": "string"
  21554. },
  21555. "parentuserid": {
  21556. "description": "所属机构ID",
  21557. "type": "integer"
  21558. },
  21559. "reckonaccountid": {
  21560. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21561. "type": "integer"
  21562. },
  21563. "refercount": {
  21564. "description": "推荐总人数",
  21565. "type": "integer"
  21566. },
  21567. "refereeuserid": {
  21568. "description": "推荐人ID",
  21569. "type": "integer"
  21570. },
  21571. "refernum": {
  21572. "description": "推荐码",
  21573. "type": "string"
  21574. },
  21575. "subarealevelpath": {
  21576. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21577. "type": "string"
  21578. },
  21579. "userid": {
  21580. "description": "用户ID",
  21581. "type": "integer"
  21582. },
  21583. "usertype": {
  21584. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21585. "type": "integer"
  21586. }
  21587. }
  21588. },
  21589. "models.Userfavoritegoods": {
  21590. "type": "object",
  21591. "required": [
  21592. "goodsid"
  21593. ],
  21594. "properties": {
  21595. "goodsid": {
  21596. "description": "商品ID",
  21597. "type": "integer"
  21598. }
  21599. }
  21600. },
  21601. "models.Userinfo": {
  21602. "type": "object",
  21603. "required": [
  21604. "userid"
  21605. ],
  21606. "properties": {
  21607. "address": {
  21608. "description": "地址",
  21609. "type": "string"
  21610. },
  21611. "attachment1": {
  21612. "description": "附件1",
  21613. "type": "string"
  21614. },
  21615. "attachment2": {
  21616. "description": "附件2",
  21617. "type": "string"
  21618. },
  21619. "bankaccount": {
  21620. "description": "银行帐号 (加密存储)",
  21621. "type": "string"
  21622. },
  21623. "bankaccountname": {
  21624. "description": "收款人名称",
  21625. "type": "string"
  21626. },
  21627. "bankcardfrontphotourl": {
  21628. "description": "银行卡正面照地址",
  21629. "type": "string"
  21630. },
  21631. "bankid": {
  21632. "description": "银行编码",
  21633. "type": "string"
  21634. },
  21635. "bankname": {
  21636. "description": "银行名称",
  21637. "type": "string"
  21638. },
  21639. "biznature": {
  21640. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21641. "type": "integer"
  21642. },
  21643. "bizscope": {
  21644. "description": "企业经营范围(企业)",
  21645. "type": "string"
  21646. },
  21647. "cardbackphotourl": {
  21648. "description": "证件背面图片地址",
  21649. "type": "string"
  21650. },
  21651. "cardfrontphotourl": {
  21652. "description": "证件正面图片地址",
  21653. "type": "string"
  21654. },
  21655. "cardnum": {
  21656. "description": "证件号码(加密存储)",
  21657. "type": "string"
  21658. },
  21659. "cardtypeid": {
  21660. "description": "证件类型ID",
  21661. "type": "integer"
  21662. },
  21663. "cityid": {
  21664. "description": "市",
  21665. "type": "integer"
  21666. },
  21667. "company": {
  21668. "description": "公司(个人)",
  21669. "type": "string"
  21670. },
  21671. "contactname": {
  21672. "description": "联系人",
  21673. "type": "string"
  21674. },
  21675. "countryid": {
  21676. "description": "国家",
  21677. "type": "integer"
  21678. },
  21679. "createtime": {
  21680. "description": "创建时间",
  21681. "type": "string"
  21682. },
  21683. "creatorid": {
  21684. "description": "创建人",
  21685. "type": "integer"
  21686. },
  21687. "customername": {
  21688. "description": "客户名称(企业名称)",
  21689. "type": "string"
  21690. },
  21691. "districtid": {
  21692. "description": "地区",
  21693. "type": "integer"
  21694. },
  21695. "email": {
  21696. "description": "邮件(加密存储)",
  21697. "type": "string"
  21698. },
  21699. "fax": {
  21700. "description": "传真(加密存储)",
  21701. "type": "string"
  21702. },
  21703. "halfbodyphotourl": {
  21704. "description": "半身照地址",
  21705. "type": "string"
  21706. },
  21707. "hasencrypt": {
  21708. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21709. "type": "integer"
  21710. },
  21711. "headurl": {
  21712. "description": "头像地址",
  21713. "type": "string"
  21714. },
  21715. "legalcardbackphotourl": {
  21716. "description": "法人身份证背面照地址",
  21717. "type": "string"
  21718. },
  21719. "legalcardfrontphotourl": {
  21720. "description": "法人身份证正面照地址",
  21721. "type": "string"
  21722. },
  21723. "legalpersonname": {
  21724. "description": "法人姓名(企业)",
  21725. "type": "string"
  21726. },
  21727. "mobile": {
  21728. "description": "手机号码(加密存储)",
  21729. "type": "string"
  21730. },
  21731. "mobile2": {
  21732. "description": "手机号码[明文-尚志]",
  21733. "type": "string"
  21734. },
  21735. "modifierid": {
  21736. "description": "修改人",
  21737. "type": "integer"
  21738. },
  21739. "modifiertime": {
  21740. "description": "修改时间",
  21741. "type": "string"
  21742. },
  21743. "needinvoice": {
  21744. "description": "是否需要发票 - 0:不需要 1:需要",
  21745. "type": "integer"
  21746. },
  21747. "nickname": {
  21748. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21749. "type": "string"
  21750. },
  21751. "openmode": {
  21752. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21753. "type": "integer"
  21754. },
  21755. "otherurl": {
  21756. "description": "其它图片地址[使用分号分隔]",
  21757. "type": "string"
  21758. },
  21759. "postalcode": {
  21760. "description": "邮政编码",
  21761. "type": "string"
  21762. },
  21763. "provinceid": {
  21764. "description": "省",
  21765. "type": "integer"
  21766. },
  21767. "qq": {
  21768. "description": "QQ(加密存储",
  21769. "type": "string"
  21770. },
  21771. "remark": {
  21772. "description": "备注",
  21773. "type": "string"
  21774. },
  21775. "sex": {
  21776. "description": "用户性别 0: 女 1: 男",
  21777. "type": "integer"
  21778. },
  21779. "signpdfurl": {
  21780. "description": "签约pdf文件",
  21781. "type": "string"
  21782. },
  21783. "telphone": {
  21784. "description": "联系电话(加密存储)",
  21785. "type": "string"
  21786. },
  21787. "userid": {
  21788. "description": "用户ID",
  21789. "type": "integer"
  21790. },
  21791. "userinfotype": {
  21792. "description": "用户信息类型 - 1:个人 2:企业",
  21793. "type": "integer"
  21794. },
  21795. "userstatus": {
  21796. "description": "用户状态 - 1:正常 2:注销",
  21797. "type": "integer"
  21798. },
  21799. "usertype": {
  21800. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21801. "type": "integer"
  21802. },
  21803. "wechat": {
  21804. "description": "微信(加密存储)",
  21805. "type": "string"
  21806. },
  21807. "wskhinfo": {
  21808. "description": "开户申请信息(JSON)",
  21809. "type": "string"
  21810. }
  21811. }
  21812. },
  21813. "models.WRSConverTDetail": {
  21814. "type": "object",
  21815. "properties": {
  21816. "convertratio": {
  21817. "description": "套保系数",
  21818. "type": "number"
  21819. },
  21820. "deliverygoodscode": {
  21821. "description": "现货商品代码",
  21822. "type": "string"
  21823. },
  21824. "deliverygoodsid": {
  21825. "description": "现货品种ID",
  21826. "type": "integer"
  21827. },
  21828. "deliverygoodsname": {
  21829. "description": "现货商品名称",
  21830. "type": "string"
  21831. },
  21832. "enumdicname": {
  21833. "description": "单位名称",
  21834. "type": "string"
  21835. },
  21836. "goodsunitid": {
  21837. "description": "套保品种单位id",
  21838. "type": "integer"
  21839. },
  21840. "middlegoodscode": {
  21841. "description": "套保品种代码",
  21842. "type": "string"
  21843. },
  21844. "middlegoodsid": {
  21845. "description": "套保品种ID",
  21846. "type": "integer"
  21847. },
  21848. "middlegoodsname": {
  21849. "description": "套保品种名称",
  21850. "type": "string"
  21851. },
  21852. "modifytime": {
  21853. "description": "修改时间",
  21854. "type": "string"
  21855. },
  21856. "wrstandardid": {
  21857. "description": "品类ID",
  21858. "type": "integer"
  21859. }
  21860. }
  21861. },
  21862. "models.WRStandardInfo": {
  21863. "type": "object",
  21864. "required": [
  21865. "wrstandardid"
  21866. ],
  21867. "properties": {
  21868. "areauserid": {
  21869. "description": "所属机构",
  21870. "type": "integer"
  21871. },
  21872. "convertfactor": {
  21873. "description": "标仓系数",
  21874. "type": "number"
  21875. },
  21876. "createtime": {
  21877. "description": "创建时间",
  21878. "type": "string"
  21879. },
  21880. "creatorid": {
  21881. "description": "创建人",
  21882. "type": "integer"
  21883. },
  21884. "deliverygoodsid": {
  21885. "description": "品种ID",
  21886. "type": "integer"
  21887. },
  21888. "deliverygoodsname": {
  21889. "description": "交割商品名称",
  21890. "type": "string"
  21891. },
  21892. "factoryitemjson": {
  21893. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  21894. "type": "string"
  21895. },
  21896. "isvalid": {
  21897. "description": "是否有效 - 0:无效 1:有效",
  21898. "type": "integer"
  21899. },
  21900. "minivalue": {
  21901. "description": "最小变动值",
  21902. "type": "integer"
  21903. },
  21904. "minivaluedp": {
  21905. "description": "最小变动值小数位",
  21906. "type": "integer"
  21907. },
  21908. "realminivalue": {
  21909. "description": "实际最小变动值",
  21910. "type": "integer"
  21911. },
  21912. "realminivaluedp": {
  21913. "description": "实际最小变动值小数位",
  21914. "type": "integer"
  21915. },
  21916. "remark": {
  21917. "description": "备注",
  21918. "type": "string"
  21919. },
  21920. "unitid": {
  21921. "description": "单位ID",
  21922. "type": "integer"
  21923. },
  21924. "unitname": {
  21925. "description": "单位",
  21926. "type": "string"
  21927. },
  21928. "updatetime": {
  21929. "description": "更新时间",
  21930. "type": "string"
  21931. },
  21932. "updatorid": {
  21933. "description": "更新人",
  21934. "type": "integer"
  21935. },
  21936. "wrsstatus": {
  21937. "description": "状态 - 作废 - 0:未激活 1:正常",
  21938. "type": "integer"
  21939. },
  21940. "wrstandardcode": {
  21941. "description": "现货品类代码",
  21942. "type": "string"
  21943. },
  21944. "wrstandardid": {
  21945. "description": "现货品类ID(SEQ_WRSTANDARD)",
  21946. "type": "integer"
  21947. },
  21948. "wrstandardname": {
  21949. "description": "现货品类名称",
  21950. "type": "string"
  21951. }
  21952. }
  21953. },
  21954. "models.Warehouseinfo": {
  21955. "type": "object",
  21956. "required": [
  21957. "autoid",
  21958. "warehousecode"
  21959. ],
  21960. "properties": {
  21961. "address": {
  21962. "description": "详细地址",
  21963. "type": "string"
  21964. },
  21965. "areauserid": {
  21966. "description": "所属机构",
  21967. "type": "integer"
  21968. },
  21969. "autoid": {
  21970. "description": "自增ID",
  21971. "type": "integer"
  21972. },
  21973. "cityid": {
  21974. "description": "市",
  21975. "type": "integer"
  21976. },
  21977. "contactname": {
  21978. "description": "联系人",
  21979. "type": "string"
  21980. },
  21981. "contactnum": {
  21982. "description": "联系电话",
  21983. "type": "string"
  21984. },
  21985. "countryid": {
  21986. "description": "国家",
  21987. "type": "integer"
  21988. },
  21989. "createtime": {
  21990. "description": "创建时间",
  21991. "type": "string"
  21992. },
  21993. "districtid": {
  21994. "description": "区",
  21995. "type": "integer"
  21996. },
  21997. "hasvideo": {
  21998. "description": "是否有视频 - 0:无 1:有",
  21999. "type": "integer"
  22000. },
  22001. "provinceid": {
  22002. "description": "省",
  22003. "type": "integer"
  22004. },
  22005. "remark": {
  22006. "description": "审核备注",
  22007. "type": "string"
  22008. },
  22009. "videourl": {
  22010. "description": "视频地址",
  22011. "type": "string"
  22012. },
  22013. "warehousecode": {
  22014. "description": "仓库代码",
  22015. "type": "string"
  22016. },
  22017. "warehousename": {
  22018. "description": "仓库名称",
  22019. "type": "string"
  22020. },
  22021. "warehousestatus": {
  22022. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22023. "type": "integer"
  22024. },
  22025. "warehousetype": {
  22026. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22027. "type": "integer"
  22028. }
  22029. }
  22030. },
  22031. "order.QueryHisTradeDetailRsp": {
  22032. "type": "object",
  22033. "required": [
  22034. "accountid",
  22035. "buyorsell",
  22036. "goodsid",
  22037. "histradedate",
  22038. "marketid",
  22039. "memberuserid",
  22040. "orderid",
  22041. "tradeamount",
  22042. "tradedate",
  22043. "tradeid",
  22044. "tradeprice",
  22045. "tradeqty",
  22046. "tradetime"
  22047. ],
  22048. "properties": {
  22049. "accountid": {
  22050. "description": "账户ID[报价币种]",
  22051. "type": "integer"
  22052. },
  22053. "buildtype": {
  22054. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22055. "type": "integer"
  22056. },
  22057. "buyorsell": {
  22058. "description": "方向 - 0:买 1:卖",
  22059. "type": "integer"
  22060. },
  22061. "charge": {
  22062. "description": "手续费",
  22063. "type": "number"
  22064. },
  22065. "closecharge": {
  22066. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22067. "type": "number"
  22068. },
  22069. "closeexchagechargevalue": {
  22070. "description": "平仓交易所手续费设置值",
  22071. "type": "number"
  22072. },
  22073. "closefeealgorithm": {
  22074. "description": "平仓手续费收取方式 1:比率 2:固定",
  22075. "type": "integer"
  22076. },
  22077. "closememberchargevalue": {
  22078. "description": "平仓会员手续费设置值",
  22079. "type": "number"
  22080. },
  22081. "closepl": {
  22082. "description": "平仓盈亏",
  22083. "type": "number"
  22084. },
  22085. "closepl2": {
  22086. "description": "平仓盈亏[逐笔]",
  22087. "type": "number"
  22088. },
  22089. "closeqty": {
  22090. "description": "平仓数量(先建后平操作 需要记录)",
  22091. "type": "integer"
  22092. },
  22093. "creditamount": {
  22094. "description": "授信金额",
  22095. "type": "number"
  22096. },
  22097. "gcaccountid": {
  22098. "description": "账户ID[合约币种]",
  22099. "type": "integer"
  22100. },
  22101. "goodscode": {
  22102. "description": "商品代码",
  22103. "type": "string"
  22104. },
  22105. "goodsid": {
  22106. "description": "商品ID",
  22107. "type": "integer"
  22108. },
  22109. "goodsname": {
  22110. "description": "商品名称",
  22111. "type": "string"
  22112. },
  22113. "histradedate": {
  22114. "description": "历史交易日",
  22115. "type": "string"
  22116. },
  22117. "intclosepl": {
  22118. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22119. "type": "integer"
  22120. },
  22121. "isconfirmexercise": {
  22122. "description": "是否确认行权- 0:否 1:是",
  22123. "type": "integer"
  22124. },
  22125. "ismain": {
  22126. "description": "是否主单 - 0:不是 1:是",
  22127. "type": "integer"
  22128. },
  22129. "ispreexercise": {
  22130. "description": "是否预申报- 0:否 1:是",
  22131. "type": "integer"
  22132. },
  22133. "isreckoned": {
  22134. "description": "是否结算 - 0:未结算 1:已结算",
  22135. "type": "integer"
  22136. },
  22137. "isvaliddata": {
  22138. "description": "是否有效 - 0:无效 1:有效",
  22139. "type": "integer"
  22140. },
  22141. "listingselecttype": {
  22142. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22143. "type": "integer"
  22144. },
  22145. "marketid": {
  22146. "description": "市场ID",
  22147. "type": "integer"
  22148. },
  22149. "marketname": {
  22150. "description": "市场名称",
  22151. "type": "string"
  22152. },
  22153. "matchaccountid": {
  22154. "description": "对手账号id",
  22155. "type": "integer"
  22156. },
  22157. "memberuserid": {
  22158. "description": "会员id 个人投资者 需要填写",
  22159. "type": "integer"
  22160. },
  22161. "opencharge": {
  22162. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22163. "type": "number"
  22164. },
  22165. "openexchagechargevalue": {
  22166. "description": "建仓交易所手续费设置值",
  22167. "type": "number"
  22168. },
  22169. "openfeealgorithm": {
  22170. "description": "建仓手续费收取方式 1:比率 2:固定",
  22171. "type": "integer"
  22172. },
  22173. "openmemberchargevalue": {
  22174. "description": "建仓会员手续费设置值",
  22175. "type": "number"
  22176. },
  22177. "openqty": {
  22178. "description": "开仓数量(先建后平操作 需要记录)",
  22179. "type": "integer"
  22180. },
  22181. "optiontype": {
  22182. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22183. "type": "integer"
  22184. },
  22185. "orderid": {
  22186. "description": "委托单号",
  22187. "type": "string"
  22188. },
  22189. "performanceplanid": {
  22190. "description": "履约计划ID[期权]",
  22191. "type": "integer"
  22192. },
  22193. "performancestatus": {
  22194. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22195. "type": "integer"
  22196. },
  22197. "preexerciseprice": {
  22198. "description": "预申报价格",
  22199. "type": "number"
  22200. },
  22201. "premium": {
  22202. "description": "权利金 - [持仓单的权利金]",
  22203. "type": "number"
  22204. },
  22205. "relatedouttradeid": {
  22206. "description": "关联外部成交单ID",
  22207. "type": "integer"
  22208. },
  22209. "status": {
  22210. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22211. "type": "integer"
  22212. },
  22213. "tradeamount": {
  22214. "description": "成交金额[账户币种,用于所有权]",
  22215. "type": "number"
  22216. },
  22217. "tradedate": {
  22218. "description": "交易日(yyyyMMdd)",
  22219. "type": "string"
  22220. },
  22221. "tradeid": {
  22222. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22223. "type": "string"
  22224. },
  22225. "trademode": {
  22226. "description": "交易模式",
  22227. "type": "integer"
  22228. },
  22229. "tradeprice": {
  22230. "description": "成交价格",
  22231. "type": "number"
  22232. },
  22233. "tradeproperty": {
  22234. "description": "交易属性",
  22235. "type": "integer"
  22236. },
  22237. "tradeqty": {
  22238. "description": "成交数量",
  22239. "type": "integer"
  22240. },
  22241. "tradetime": {
  22242. "description": "成交时间",
  22243. "type": "string"
  22244. },
  22245. "tradetype": {
  22246. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22247. "type": "integer"
  22248. }
  22249. }
  22250. },
  22251. "order.QueryHisTradeOrderDetailRsp": {
  22252. "type": "object",
  22253. "required": [
  22254. "accountid",
  22255. "buildtype",
  22256. "buyorsell",
  22257. "goodsid",
  22258. "histradedate",
  22259. "marketid",
  22260. "memberuserid",
  22261. "operatetype",
  22262. "orderid",
  22263. "orderqty",
  22264. "ordertime",
  22265. "pricemode",
  22266. "tradedate",
  22267. "validtype"
  22268. ],
  22269. "properties": {
  22270. "accountid": {
  22271. "description": "账户ID[报价币种]",
  22272. "type": "integer"
  22273. },
  22274. "buildtype": {
  22275. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22276. "type": "integer"
  22277. },
  22278. "buyorsell": {
  22279. "description": "买卖 - 0:买 1:卖",
  22280. "type": "integer"
  22281. },
  22282. "cancelorderid": {
  22283. "description": "撤单单号(撤单时填写)",
  22284. "type": "string"
  22285. },
  22286. "cancelqty": {
  22287. "description": "撤单数量",
  22288. "type": "integer"
  22289. },
  22290. "clientordertime": {
  22291. "description": "客户端委托时间",
  22292. "type": "string"
  22293. },
  22294. "clientticket": {
  22295. "description": "客户端流水号",
  22296. "type": "string"
  22297. },
  22298. "clienttype": {
  22299. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22300. "type": "integer"
  22301. },
  22302. "closeexchagechargevalue": {
  22303. "description": "平仓交易所手续费设置值",
  22304. "type": "number"
  22305. },
  22306. "closefeealgorithm": {
  22307. "description": "平仓手续费收取方式 1:比率 2:固定",
  22308. "type": "integer"
  22309. },
  22310. "closefreezecharge": {
  22311. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22312. "type": "number"
  22313. },
  22314. "closememberchargevalue": {
  22315. "description": "平仓会员手续费设置值",
  22316. "type": "number"
  22317. },
  22318. "closeqty": {
  22319. "description": "平仓数量(先建后平操作 需要记录)",
  22320. "type": "integer"
  22321. },
  22322. "closetradeqty": {
  22323. "description": "平仓成交数量(先建后平操作,需要记录)",
  22324. "type": "integer"
  22325. },
  22326. "closeunfreezecharge": {
  22327. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22328. "type": "number"
  22329. },
  22330. "delistingtype": {
  22331. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22332. "type": "integer"
  22333. },
  22334. "freezecharge": {
  22335. "description": "冻结手续费",
  22336. "type": "number"
  22337. },
  22338. "freezemargin": {
  22339. "description": "冻结保证金(冻结交易金额)",
  22340. "type": "number"
  22341. },
  22342. "gcaccountid": {
  22343. "description": "账户ID[合约币种]",
  22344. "type": "integer"
  22345. },
  22346. "goodscode": {
  22347. "description": "商品代码",
  22348. "type": "string"
  22349. },
  22350. "goodsid": {
  22351. "description": "商品ID",
  22352. "type": "integer"
  22353. },
  22354. "goodsname": {
  22355. "description": "商品名称",
  22356. "type": "string"
  22357. },
  22358. "histradedate": {
  22359. "description": "历史交易日",
  22360. "type": "string"
  22361. },
  22362. "isconfirmexercise": {
  22363. "description": "是否确认行权- 0:否 1:是",
  22364. "type": "integer"
  22365. },
  22366. "ispreexercise": {
  22367. "description": "是否预申报- 0:否 1:是",
  22368. "type": "integer"
  22369. },
  22370. "isvaliddata": {
  22371. "description": "是否有效 - 0:无效 1:有效",
  22372. "type": "integer"
  22373. },
  22374. "listingselecttype": {
  22375. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22376. "type": "integer"
  22377. },
  22378. "marginalgorithm": {
  22379. "description": "保证金收取方式 1:比率 2:固定",
  22380. "type": "integer"
  22381. },
  22382. "marginvalue": {
  22383. "description": "即市保证金设置值",
  22384. "type": "number"
  22385. },
  22386. "marketid": {
  22387. "description": "市场ID",
  22388. "type": "integer"
  22389. },
  22390. "marketmaxsub": {
  22391. "description": "市价最大偏移范围",
  22392. "type": "number"
  22393. },
  22394. "marketname": {
  22395. "description": "市场名称",
  22396. "type": "string"
  22397. },
  22398. "memberuserid": {
  22399. "description": "所属会员UserID",
  22400. "type": "integer"
  22401. },
  22402. "openexchagechargevalue": {
  22403. "description": "建仓交易所手续费设置值",
  22404. "type": "number"
  22405. },
  22406. "openfeealgorithm": {
  22407. "description": "建仓手续费收取方式 1:比率 2:固定",
  22408. "type": "integer"
  22409. },
  22410. "openfreezecharge": {
  22411. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22412. "type": "number"
  22413. },
  22414. "openmemberchargevalue": {
  22415. "description": "建仓会员手续费设置值",
  22416. "type": "number"
  22417. },
  22418. "openqty": {
  22419. "description": "开仓数量(先建后平操作,需要记录)",
  22420. "type": "integer"
  22421. },
  22422. "opentradeqty": {
  22423. "description": "开仓成交数量(先建后平操作,需要记录)",
  22424. "type": "integer"
  22425. },
  22426. "openunfreezecharge": {
  22427. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22428. "type": "number"
  22429. },
  22430. "operatetype": {
  22431. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22432. "type": "integer"
  22433. },
  22434. "operatorid": {
  22435. "description": "登录账号(LoginID)",
  22436. "type": "integer"
  22437. },
  22438. "optiontype": {
  22439. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22440. "type": "integer"
  22441. },
  22442. "orderid": {
  22443. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22444. "type": "string"
  22445. },
  22446. "orderprice": {
  22447. "description": "委托价格",
  22448. "type": "number"
  22449. },
  22450. "orderqty": {
  22451. "description": "委托数量",
  22452. "type": "integer"
  22453. },
  22454. "ordersrc": {
  22455. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22456. "type": "integer"
  22457. },
  22458. "orderstatus": {
  22459. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22460. "type": "integer"
  22461. },
  22462. "ordertime": {
  22463. "description": "委托时间",
  22464. "type": "string"
  22465. },
  22466. "preexerciseprice": {
  22467. "description": "预申报价格",
  22468. "type": "number"
  22469. },
  22470. "premium": {
  22471. "description": "权利金",
  22472. "type": "number"
  22473. },
  22474. "preorderid": {
  22475. "description": "关联预埋单号(止盈止损单时填写)",
  22476. "type": "string"
  22477. },
  22478. "pricemode": {
  22479. "description": "取价方式 - 1:市价 2: 限价",
  22480. "type": "integer"
  22481. },
  22482. "quoteid": {
  22483. "description": "报价单ID",
  22484. "type": "integer"
  22485. },
  22486. "relatedid": {
  22487. "description": "关联单号(交割单)",
  22488. "type": "string"
  22489. },
  22490. "retcode": {
  22491. "description": "错误代码",
  22492. "type": "integer"
  22493. },
  22494. "sessionid": {
  22495. "description": "会话ID",
  22496. "type": "integer"
  22497. },
  22498. "tradedate": {
  22499. "description": "交易日(yyyyMMdd)",
  22500. "type": "string"
  22501. },
  22502. "trademode": {
  22503. "description": "交易模式",
  22504. "type": "integer"
  22505. },
  22506. "tradeproperty": {
  22507. "description": "交易属性",
  22508. "type": "integer"
  22509. },
  22510. "tradeqty": {
  22511. "description": "成交数量",
  22512. "type": "integer"
  22513. },
  22514. "unfreezecharge": {
  22515. "description": "解冻手续费",
  22516. "type": "number"
  22517. },
  22518. "unfreezemargin": {
  22519. "description": "解冻保证金",
  22520. "type": "number"
  22521. },
  22522. "updatetime": {
  22523. "description": "更新时间",
  22524. "type": "string"
  22525. },
  22526. "uuid": {
  22527. "description": "发起端唯一id",
  22528. "type": "string"
  22529. },
  22530. "validtime": {
  22531. "description": "有效期限",
  22532. "type": "string"
  22533. },
  22534. "validtype": {
  22535. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22536. "type": "integer"
  22537. },
  22538. "volumetype": {
  22539. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22540. "type": "integer"
  22541. }
  22542. }
  22543. },
  22544. "order.QueryTradeDetailRsp": {
  22545. "type": "object",
  22546. "required": [
  22547. "accountid",
  22548. "buyorsell",
  22549. "goodsid",
  22550. "marketid",
  22551. "memberuserid",
  22552. "orderid",
  22553. "tradeamount",
  22554. "tradedate",
  22555. "tradeid",
  22556. "tradeprice",
  22557. "tradeqty",
  22558. "tradetime"
  22559. ],
  22560. "properties": {
  22561. "accountid": {
  22562. "description": "账户ID[报价币种]",
  22563. "type": "integer"
  22564. },
  22565. "buildtype": {
  22566. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22567. "type": "integer"
  22568. },
  22569. "buyorsell": {
  22570. "description": "方向 - 0:买 1:卖",
  22571. "type": "integer"
  22572. },
  22573. "charge": {
  22574. "description": "手续费",
  22575. "type": "number"
  22576. },
  22577. "closecharge": {
  22578. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22579. "type": "number"
  22580. },
  22581. "closeexchagechargevalue": {
  22582. "description": "平仓交易所手续费设置值",
  22583. "type": "number"
  22584. },
  22585. "closefeealgorithm": {
  22586. "description": "平仓手续费收取方式 1:比率 2:固定",
  22587. "type": "integer"
  22588. },
  22589. "closememberchargevalue": {
  22590. "description": "平仓会员手续费设置值",
  22591. "type": "number"
  22592. },
  22593. "closepl": {
  22594. "description": "平仓盈亏",
  22595. "type": "number"
  22596. },
  22597. "closepl2": {
  22598. "description": "平仓盈亏[逐笔]",
  22599. "type": "number"
  22600. },
  22601. "closeqty": {
  22602. "description": "平仓数量(先建后平操作 需要记录)",
  22603. "type": "integer"
  22604. },
  22605. "creditamount": {
  22606. "description": "授信金额",
  22607. "type": "number"
  22608. },
  22609. "gcaccountid": {
  22610. "description": "账户ID[合约币种]",
  22611. "type": "integer"
  22612. },
  22613. "goodscode": {
  22614. "description": "商品代码",
  22615. "type": "string"
  22616. },
  22617. "goodsid": {
  22618. "description": "商品ID",
  22619. "type": "integer"
  22620. },
  22621. "goodsname": {
  22622. "description": "商品名称",
  22623. "type": "string"
  22624. },
  22625. "intclosepl": {
  22626. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22627. "type": "integer"
  22628. },
  22629. "isconfirmexercise": {
  22630. "description": "是否确认行权- 0:否 1:是",
  22631. "type": "integer"
  22632. },
  22633. "ismain": {
  22634. "description": "是否主单 - 0:不是 1:是",
  22635. "type": "integer"
  22636. },
  22637. "ispreexercise": {
  22638. "description": "是否预申报- 0:否 1:是",
  22639. "type": "integer"
  22640. },
  22641. "isreckoned": {
  22642. "description": "是否结算 - 0:未结算 1:已结算",
  22643. "type": "integer"
  22644. },
  22645. "listingselecttype": {
  22646. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22647. "type": "integer"
  22648. },
  22649. "marketid": {
  22650. "description": "市场ID",
  22651. "type": "integer"
  22652. },
  22653. "marketname": {
  22654. "description": "市场名称",
  22655. "type": "string"
  22656. },
  22657. "matchaccountid": {
  22658. "description": "对手账号id",
  22659. "type": "integer"
  22660. },
  22661. "memberuserid": {
  22662. "description": "会员id 个人投资者 需要填写",
  22663. "type": "integer"
  22664. },
  22665. "opencharge": {
  22666. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22667. "type": "number"
  22668. },
  22669. "openexchagechargevalue": {
  22670. "description": "建仓交易所手续费设置值",
  22671. "type": "number"
  22672. },
  22673. "openfeealgorithm": {
  22674. "description": "建仓手续费收取方式 1:比率 2:固定",
  22675. "type": "integer"
  22676. },
  22677. "openmemberchargevalue": {
  22678. "description": "建仓会员手续费设置值",
  22679. "type": "number"
  22680. },
  22681. "openqty": {
  22682. "description": "开仓数量(先建后平操作 需要记录)",
  22683. "type": "integer"
  22684. },
  22685. "optiontype": {
  22686. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22687. "type": "integer"
  22688. },
  22689. "orderid": {
  22690. "description": "委托单号",
  22691. "type": "string"
  22692. },
  22693. "performanceplanid": {
  22694. "description": "履约计划ID[期权]",
  22695. "type": "integer"
  22696. },
  22697. "performancestatus": {
  22698. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22699. "type": "integer"
  22700. },
  22701. "preexerciseprice": {
  22702. "description": "预申报价格",
  22703. "type": "number"
  22704. },
  22705. "premium": {
  22706. "description": "权利金 - [持仓单的权利金]",
  22707. "type": "number"
  22708. },
  22709. "relatedouttradeid": {
  22710. "description": "关联外部成交单ID",
  22711. "type": "integer"
  22712. },
  22713. "status": {
  22714. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22715. "type": "integer"
  22716. },
  22717. "tradeamount": {
  22718. "description": "成交金额[账户币种,用于所有权]",
  22719. "type": "number"
  22720. },
  22721. "tradedate": {
  22722. "description": "交易日(yyyyMMdd)",
  22723. "type": "string"
  22724. },
  22725. "tradeid": {
  22726. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22727. "type": "string"
  22728. },
  22729. "trademode": {
  22730. "description": "交易模式",
  22731. "type": "integer"
  22732. },
  22733. "tradeprice": {
  22734. "description": "成交价格",
  22735. "type": "number"
  22736. },
  22737. "tradeproperty": {
  22738. "description": "交易属性",
  22739. "type": "integer"
  22740. },
  22741. "tradeqty": {
  22742. "description": "成交数量",
  22743. "type": "integer"
  22744. },
  22745. "tradetime": {
  22746. "description": "成交时间",
  22747. "type": "string"
  22748. },
  22749. "tradetype": {
  22750. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22751. "type": "integer"
  22752. }
  22753. }
  22754. },
  22755. "order.QueryTradeOrderDetailRsp": {
  22756. "type": "object",
  22757. "required": [
  22758. "accountid",
  22759. "buildtype",
  22760. "buyorsell",
  22761. "goodsid",
  22762. "marketid",
  22763. "operatetype",
  22764. "orderqty",
  22765. "ordertime",
  22766. "pricemode",
  22767. "tradedate",
  22768. "validtype"
  22769. ],
  22770. "properties": {
  22771. "accountid": {
  22772. "description": "账户ID[报价币种]",
  22773. "type": "integer"
  22774. },
  22775. "buildtype": {
  22776. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22777. "type": "integer"
  22778. },
  22779. "buyorsell": {
  22780. "description": "买卖 - 0:买 1:卖",
  22781. "type": "integer"
  22782. },
  22783. "cancelorderid": {
  22784. "description": "撤单单号(撤单时填写)",
  22785. "type": "string"
  22786. },
  22787. "cancelqty": {
  22788. "description": "撤单数量",
  22789. "type": "integer"
  22790. },
  22791. "clienttype": {
  22792. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22793. "type": "integer"
  22794. },
  22795. "closefreezecharge": {
  22796. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22797. "type": "number"
  22798. },
  22799. "closeqty": {
  22800. "description": "平仓数量(先建后平操作 需要记录)",
  22801. "type": "integer"
  22802. },
  22803. "closetradeqty": {
  22804. "description": "平仓成交数量(先建后平操作,需要记录)",
  22805. "type": "integer"
  22806. },
  22807. "closeunfreezecharge": {
  22808. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22809. "type": "number"
  22810. },
  22811. "delistingtype": {
  22812. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22813. "type": "integer"
  22814. },
  22815. "enableqty": {
  22816. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22817. "type": "integer"
  22818. },
  22819. "freezecharge": {
  22820. "description": "冻结手续费",
  22821. "type": "number"
  22822. },
  22823. "freezemargin": {
  22824. "description": "冻结保证金(冻结交易金额)",
  22825. "type": "number"
  22826. },
  22827. "goodscode": {
  22828. "description": "商品代码",
  22829. "type": "string"
  22830. },
  22831. "goodsid": {
  22832. "description": "商品ID",
  22833. "type": "integer"
  22834. },
  22835. "goodsname": {
  22836. "description": "商品名称",
  22837. "type": "string"
  22838. },
  22839. "listingselecttype": {
  22840. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22841. "type": "integer"
  22842. },
  22843. "marketid": {
  22844. "description": "市场ID",
  22845. "type": "integer"
  22846. },
  22847. "marketname": {
  22848. "description": "市场名称",
  22849. "type": "string"
  22850. },
  22851. "openfreezecharge": {
  22852. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22853. "type": "number"
  22854. },
  22855. "openqty": {
  22856. "description": "开仓数量(先建后平操作,需要记录)",
  22857. "type": "integer"
  22858. },
  22859. "opentradeqty": {
  22860. "description": "开仓成交数量(先建后平操作,需要记录)",
  22861. "type": "integer"
  22862. },
  22863. "openunfreezecharge": {
  22864. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22865. "type": "number"
  22866. },
  22867. "operatetype": {
  22868. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22869. "type": "integer"
  22870. },
  22871. "operatorid": {
  22872. "description": "登录账号(LoginID)",
  22873. "type": "integer"
  22874. },
  22875. "orderid": {
  22876. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22877. "type": "string"
  22878. },
  22879. "orderprice": {
  22880. "description": "委托价格",
  22881. "type": "number"
  22882. },
  22883. "orderqty": {
  22884. "description": "委托数量",
  22885. "type": "integer"
  22886. },
  22887. "ordersrc": {
  22888. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22889. "type": "integer"
  22890. },
  22891. "orderstatus": {
  22892. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22893. "type": "integer"
  22894. },
  22895. "ordertime": {
  22896. "description": "委托时间",
  22897. "type": "string"
  22898. },
  22899. "preorderid": {
  22900. "description": "关联预埋单号(止盈止损单时填写)",
  22901. "type": "string"
  22902. },
  22903. "pricemode": {
  22904. "description": "取价方式 - 1:市价 2: 限价",
  22905. "type": "integer"
  22906. },
  22907. "relatedid": {
  22908. "description": "关联单号(交割单)",
  22909. "type": "string"
  22910. },
  22911. "tradedate": {
  22912. "description": "交易日(yyyyMMdd)",
  22913. "type": "string"
  22914. },
  22915. "trademode": {
  22916. "description": "交易模式",
  22917. "type": "integer"
  22918. },
  22919. "tradeqty": {
  22920. "description": "成交数量",
  22921. "type": "integer"
  22922. },
  22923. "unfreezecharge": {
  22924. "description": "解冻手续费",
  22925. "type": "number"
  22926. },
  22927. "unfreezemargin": {
  22928. "description": "解冻保证金",
  22929. "type": "number"
  22930. },
  22931. "validtime": {
  22932. "description": "有效期限",
  22933. "type": "string"
  22934. },
  22935. "validtype": {
  22936. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22937. "type": "integer"
  22938. },
  22939. "volumetype": {
  22940. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22941. "type": "integer"
  22942. }
  22943. }
  22944. },
  22945. "order.QueryTradePositionRsp": {
  22946. "type": "object",
  22947. "required": [
  22948. "goodsid"
  22949. ],
  22950. "properties": {
  22951. "accountid": {
  22952. "description": "资金账户",
  22953. "type": "integer"
  22954. },
  22955. "agreeunit": {
  22956. "description": "合约单位",
  22957. "type": "number"
  22958. },
  22959. "averageprice": {
  22960. "description": "持仓均价",
  22961. "type": "number"
  22962. },
  22963. "buyorsell": {
  22964. "description": "方向 - 0:买 1:卖",
  22965. "type": "integer"
  22966. },
  22967. "closetotalqty": {
  22968. "description": "平仓总数量",
  22969. "type": "integer"
  22970. },
  22971. "curholderamount": {
  22972. "description": "当前持仓总金额[商品币种]",
  22973. "type": "number"
  22974. },
  22975. "curpositionqty": {
  22976. "description": "当前持仓总数量",
  22977. "type": "integer"
  22978. },
  22979. "currencyid": {
  22980. "description": "报价货币ID",
  22981. "type": "integer"
  22982. },
  22983. "curtdposition": {
  22984. "description": "期末今日头寸",
  22985. "type": "integer"
  22986. },
  22987. "decimalplace": {
  22988. "description": "报价小数位",
  22989. "type": "integer"
  22990. },
  22991. "enableqty": {
  22992. "description": "可用量",
  22993. "type": "integer"
  22994. },
  22995. "fretdposition": {
  22996. "description": "冻结今日头寸",
  22997. "type": "integer"
  22998. },
  22999. "frozenqty": {
  23000. "description": "持仓冻结数量",
  23001. "type": "integer"
  23002. },
  23003. "goodscode": {
  23004. "description": "商品代码",
  23005. "type": "string"
  23006. },
  23007. "goodsid": {
  23008. "description": "商品Id",
  23009. "type": "integer"
  23010. },
  23011. "goodsname": {
  23012. "description": "商品名称",
  23013. "type": "string"
  23014. },
  23015. "goodunit": {
  23016. "description": "报价单位",
  23017. "type": "string"
  23018. },
  23019. "goodunitid": {
  23020. "description": "报价单位ID",
  23021. "type": "integer"
  23022. },
  23023. "holderamount": {
  23024. "description": "期初持仓总金额[商品币种]",
  23025. "type": "number"
  23026. },
  23027. "marketid": {
  23028. "description": "所属市场ID",
  23029. "type": "integer"
  23030. },
  23031. "openreqqty": {
  23032. "description": "开仓申请数量(用于比较最大持仓数量)",
  23033. "type": "integer"
  23034. },
  23035. "opentotalqty": {
  23036. "description": "开仓总数量",
  23037. "type": "integer"
  23038. },
  23039. "otherfrozenqty": {
  23040. "description": "持仓其他冻结数量(交割冻结)",
  23041. "type": "integer"
  23042. },
  23043. "positionqty": {
  23044. "description": "期初持仓数量",
  23045. "type": "integer"
  23046. },
  23047. "tnqty": {
  23048. "description": "T+N冻结总量",
  23049. "type": "integer"
  23050. },
  23051. "tnusedqty": {
  23052. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23053. "type": "integer"
  23054. },
  23055. "trademode": {
  23056. "description": "交易模式",
  23057. "type": "integer"
  23058. },
  23059. "usedmargin": {
  23060. "description": "占用保证金[商品币种]",
  23061. "type": "number"
  23062. }
  23063. }
  23064. },
  23065. "quote.HistoryData": {
  23066. "type": "object",
  23067. "properties": {
  23068. "c": {
  23069. "description": "收盘价",
  23070. "type": "number"
  23071. },
  23072. "f": {
  23073. "description": "是否补充数据",
  23074. "type": "boolean"
  23075. },
  23076. "h": {
  23077. "description": "最高价",
  23078. "type": "number"
  23079. },
  23080. "hv": {
  23081. "description": "持仓量",
  23082. "type": "integer"
  23083. },
  23084. "l": {
  23085. "description": "最低价",
  23086. "type": "number"
  23087. },
  23088. "o": {
  23089. "description": "开盘价",
  23090. "type": "number"
  23091. },
  23092. "s": {
  23093. "description": "结算价,日线周期(包括)以上才有",
  23094. "type": "number"
  23095. },
  23096. "ts": {
  23097. "description": "时间",
  23098. "type": "string"
  23099. },
  23100. "tt": {
  23101. "description": "总金额",
  23102. "type": "number"
  23103. },
  23104. "tv": {
  23105. "description": "总量",
  23106. "type": "integer"
  23107. }
  23108. }
  23109. },
  23110. "quote.HistoryTikData": {
  23111. "type": "object",
  23112. "properties": {
  23113. "AV": {
  23114. "description": "卖量",
  23115. "type": "integer"
  23116. },
  23117. "Ask": {
  23118. "description": "卖价",
  23119. "type": "number"
  23120. },
  23121. "BV": {
  23122. "description": "买量",
  23123. "type": "integer"
  23124. },
  23125. "Bid": {
  23126. "description": "买价",
  23127. "type": "number"
  23128. },
  23129. "HI": {
  23130. "description": "单笔持仓",
  23131. "type": "integer"
  23132. },
  23133. "HV": {
  23134. "description": "持仓量",
  23135. "type": "integer"
  23136. },
  23137. "PE": {
  23138. "description": "现价",
  23139. "type": "number"
  23140. },
  23141. "TDR": {
  23142. "description": "交易方向,0:买 1:卖",
  23143. "type": "integer"
  23144. },
  23145. "TK": {
  23146. "description": "交易类型",
  23147. "type": "integer"
  23148. },
  23149. "TS": {
  23150. "description": "行情时间文本",
  23151. "type": "string"
  23152. },
  23153. "TT": {
  23154. "description": "现金额",
  23155. "type": "number"
  23156. },
  23157. "Vol": {
  23158. "description": "现量",
  23159. "type": "integer"
  23160. }
  23161. }
  23162. },
  23163. "quote.QueryQuoteDayRsp": {
  23164. "type": "object",
  23165. "properties": {
  23166. "ask": {
  23167. "description": "卖1",
  23168. "type": "number"
  23169. },
  23170. "ask10": {
  23171. "description": "卖10",
  23172. "type": "number"
  23173. },
  23174. "ask2": {
  23175. "description": "卖2",
  23176. "type": "number"
  23177. },
  23178. "ask3": {
  23179. "description": "卖3",
  23180. "type": "number"
  23181. },
  23182. "ask4": {
  23183. "description": "卖4",
  23184. "type": "number"
  23185. },
  23186. "ask5": {
  23187. "description": "卖5",
  23188. "type": "number"
  23189. },
  23190. "ask6": {
  23191. "description": "卖6",
  23192. "type": "number"
  23193. },
  23194. "ask7": {
  23195. "description": "卖7",
  23196. "type": "number"
  23197. },
  23198. "ask8": {
  23199. "description": "卖8",
  23200. "type": "number"
  23201. },
  23202. "ask9": {
  23203. "description": "卖9",
  23204. "type": "number"
  23205. },
  23206. "askorderid": {
  23207. "description": "卖单号1",
  23208. "type": "integer"
  23209. },
  23210. "askorderid2": {
  23211. "description": "卖单号2",
  23212. "type": "integer"
  23213. },
  23214. "askorderid3": {
  23215. "description": "卖单号3",
  23216. "type": "integer"
  23217. },
  23218. "askorderid4": {
  23219. "description": "卖单号4",
  23220. "type": "integer"
  23221. },
  23222. "askorderid5": {
  23223. "description": "卖单号5",
  23224. "type": "integer"
  23225. },
  23226. "askordervolume": {
  23227. "description": "卖单量1",
  23228. "type": "integer"
  23229. },
  23230. "askordervolume10": {
  23231. "description": "卖单量10",
  23232. "type": "integer"
  23233. },
  23234. "askordervolume2": {
  23235. "description": "卖单量2",
  23236. "type": "integer"
  23237. },
  23238. "askordervolume3": {
  23239. "description": "卖单量3",
  23240. "type": "integer"
  23241. },
  23242. "askordervolume4": {
  23243. "description": "卖单量4",
  23244. "type": "integer"
  23245. },
  23246. "askordervolume5": {
  23247. "description": "卖单量5",
  23248. "type": "integer"
  23249. },
  23250. "askordervolume6": {
  23251. "description": "卖单量6",
  23252. "type": "integer"
  23253. },
  23254. "askordervolume7": {
  23255. "description": "卖单量7",
  23256. "type": "integer"
  23257. },
  23258. "askordervolume8": {
  23259. "description": "卖单量8",
  23260. "type": "integer"
  23261. },
  23262. "askordervolume9": {
  23263. "description": "卖单量9",
  23264. "type": "integer"
  23265. },
  23266. "askqueueinfo": {
  23267. "description": "大利市卖港股用",
  23268. "type": "string"
  23269. },
  23270. "askvolume": {
  23271. "description": "卖量1",
  23272. "type": "integer"
  23273. },
  23274. "askvolume10": {
  23275. "description": "卖量10",
  23276. "type": "integer"
  23277. },
  23278. "askvolume2": {
  23279. "description": "卖量2",
  23280. "type": "integer"
  23281. },
  23282. "askvolume3": {
  23283. "description": "卖量3",
  23284. "type": "integer"
  23285. },
  23286. "askvolume4": {
  23287. "description": "卖量4",
  23288. "type": "integer"
  23289. },
  23290. "askvolume5": {
  23291. "description": "卖量5",
  23292. "type": "integer"
  23293. },
  23294. "askvolume6": {
  23295. "description": "卖量6",
  23296. "type": "integer"
  23297. },
  23298. "askvolume7": {
  23299. "description": "卖量7",
  23300. "type": "integer"
  23301. },
  23302. "askvolume8": {
  23303. "description": "卖量8",
  23304. "type": "integer"
  23305. },
  23306. "askvolume9": {
  23307. "description": "卖量9",
  23308. "type": "integer"
  23309. },
  23310. "averageprice": {
  23311. "description": "均价",
  23312. "type": "number"
  23313. },
  23314. "bid": {
  23315. "description": "买1",
  23316. "type": "number"
  23317. },
  23318. "bid10": {
  23319. "description": "买10",
  23320. "type": "number"
  23321. },
  23322. "bid2": {
  23323. "description": "买2",
  23324. "type": "number"
  23325. },
  23326. "bid3": {
  23327. "description": "买3",
  23328. "type": "number"
  23329. },
  23330. "bid4": {
  23331. "description": "买4",
  23332. "type": "number"
  23333. },
  23334. "bid5": {
  23335. "description": "买5",
  23336. "type": "number"
  23337. },
  23338. "bid6": {
  23339. "description": "买6",
  23340. "type": "number"
  23341. },
  23342. "bid7": {
  23343. "description": "买7",
  23344. "type": "number"
  23345. },
  23346. "bid8": {
  23347. "description": "买8",
  23348. "type": "number"
  23349. },
  23350. "bid9": {
  23351. "description": "买9",
  23352. "type": "number"
  23353. },
  23354. "bidorderid": {
  23355. "description": "买单号1",
  23356. "type": "integer"
  23357. },
  23358. "bidorderid2": {
  23359. "description": "买单号2",
  23360. "type": "integer"
  23361. },
  23362. "bidorderid3": {
  23363. "description": "买单号3",
  23364. "type": "integer"
  23365. },
  23366. "bidorderid4": {
  23367. "description": "买单号4",
  23368. "type": "integer"
  23369. },
  23370. "bidorderid5": {
  23371. "description": "买单号5",
  23372. "type": "integer"
  23373. },
  23374. "bidordervolume": {
  23375. "description": "买单量1",
  23376. "type": "integer"
  23377. },
  23378. "bidordervolume10": {
  23379. "description": "买单量10",
  23380. "type": "integer"
  23381. },
  23382. "bidordervolume2": {
  23383. "description": "买单量2",
  23384. "type": "integer"
  23385. },
  23386. "bidordervolume3": {
  23387. "description": "买单量3",
  23388. "type": "integer"
  23389. },
  23390. "bidordervolume4": {
  23391. "description": "买单量4",
  23392. "type": "integer"
  23393. },
  23394. "bidordervolume5": {
  23395. "description": "买单量5",
  23396. "type": "integer"
  23397. },
  23398. "bidordervolume6": {
  23399. "description": "买单量6",
  23400. "type": "integer"
  23401. },
  23402. "bidordervolume7": {
  23403. "description": "买单量7",
  23404. "type": "integer"
  23405. },
  23406. "bidordervolume8": {
  23407. "description": "买单量8",
  23408. "type": "integer"
  23409. },
  23410. "bidordervolume9": {
  23411. "description": "买单量9",
  23412. "type": "integer"
  23413. },
  23414. "bidqueueinfo": {
  23415. "description": "大利市买港股用",
  23416. "type": "string"
  23417. },
  23418. "bidvolume": {
  23419. "description": "买量1",
  23420. "type": "integer"
  23421. },
  23422. "bidvolume10": {
  23423. "description": "买量10",
  23424. "type": "integer"
  23425. },
  23426. "bidvolume2": {
  23427. "description": "买量2",
  23428. "type": "integer"
  23429. },
  23430. "bidvolume3": {
  23431. "description": "买量3",
  23432. "type": "integer"
  23433. },
  23434. "bidvolume4": {
  23435. "description": "买量4",
  23436. "type": "integer"
  23437. },
  23438. "bidvolume5": {
  23439. "description": "买量5",
  23440. "type": "integer"
  23441. },
  23442. "bidvolume6": {
  23443. "description": "买量6",
  23444. "type": "integer"
  23445. },
  23446. "bidvolume7": {
  23447. "description": "买量7",
  23448. "type": "integer"
  23449. },
  23450. "bidvolume8": {
  23451. "description": "买量8",
  23452. "type": "integer"
  23453. },
  23454. "bidvolume9": {
  23455. "description": "买量9",
  23456. "type": "integer"
  23457. },
  23458. "calloptionpremiums": {
  23459. "description": "认购期权1",
  23460. "type": "integer"
  23461. },
  23462. "calloptionpremiums2": {
  23463. "description": "认购期权2",
  23464. "type": "integer"
  23465. },
  23466. "calloptionpremiums3": {
  23467. "description": "认购期权3",
  23468. "type": "integer"
  23469. },
  23470. "calloptionpremiums4": {
  23471. "description": "认购期权4",
  23472. "type": "integer"
  23473. },
  23474. "calloptionpremiums5": {
  23475. "description": "认购期权5",
  23476. "type": "integer"
  23477. },
  23478. "cleartime": {
  23479. "description": "清盘时间",
  23480. "type": "integer"
  23481. },
  23482. "exchangecode": {
  23483. "description": "交易所代码",
  23484. "type": "integer"
  23485. },
  23486. "exchangedate": {
  23487. "description": "交易日",
  23488. "type": "integer"
  23489. },
  23490. "goodscode": {
  23491. "description": "商品代码",
  23492. "type": "string"
  23493. },
  23494. "grepmarketprice": {
  23495. "description": "暗盘价 港股专用",
  23496. "type": "number"
  23497. },
  23498. "highest": {
  23499. "description": "最高价",
  23500. "type": "number"
  23501. },
  23502. "holdincrement": {
  23503. "description": "单笔持仓",
  23504. "type": "integer"
  23505. },
  23506. "holdvolume": {
  23507. "description": "持仓",
  23508. "type": "integer"
  23509. },
  23510. "iep": {
  23511. "description": "平衡价 港股专用",
  23512. "type": "number"
  23513. },
  23514. "iev": {
  23515. "description": "平衡量 港股专用",
  23516. "type": "number"
  23517. },
  23518. "inventory": {
  23519. "description": "库存",
  23520. "type": "integer"
  23521. },
  23522. "iscleared": {
  23523. "description": "是否清盘标志",
  23524. "type": "integer"
  23525. },
  23526. "issettled": {
  23527. "description": "是否结算标志",
  23528. "type": "integer"
  23529. },
  23530. "last": {
  23531. "description": "最新价",
  23532. "type": "number"
  23533. },
  23534. "lastlot": {
  23535. "description": "最新成交手数",
  23536. "type": "integer"
  23537. },
  23538. "lasttime": {
  23539. "description": "行情时间(只有现价变化行情时间才变化)",
  23540. "type": "string"
  23541. },
  23542. "lastturnover": {
  23543. "description": "最新成交金额",
  23544. "type": "number"
  23545. },
  23546. "lastvolume": {
  23547. "description": "最新成交量",
  23548. "type": "integer"
  23549. },
  23550. "limitdown": {
  23551. "description": "跌停价",
  23552. "type": "number"
  23553. },
  23554. "limitup": {
  23555. "description": "涨停价",
  23556. "type": "number"
  23557. },
  23558. "lowest": {
  23559. "description": "最低价",
  23560. "type": "number"
  23561. },
  23562. "nontotalholdervolume": {
  23563. "description": "非交易持仓量",
  23564. "type": "integer"
  23565. },
  23566. "nontotallot": {
  23567. "description": "非交易总手数",
  23568. "type": "integer"
  23569. },
  23570. "nontotalturnover": {
  23571. "description": "非交易总金额",
  23572. "type": "integer"
  23573. },
  23574. "nontotalvolume": {
  23575. "description": "非交易总量",
  23576. "type": "integer"
  23577. },
  23578. "opened": {
  23579. "description": "开盘价",
  23580. "type": "number"
  23581. },
  23582. "opentime": {
  23583. "description": "开盘时间",
  23584. "type": "string"
  23585. },
  23586. "orderid": {
  23587. "description": "序号",
  23588. "type": "integer"
  23589. },
  23590. "preclose": {
  23591. "description": "昨收",
  23592. "type": "number"
  23593. },
  23594. "preholdvolume": {
  23595. "description": "昨持仓",
  23596. "type": "integer"
  23597. },
  23598. "presettle": {
  23599. "description": "昨结价",
  23600. "type": "number"
  23601. },
  23602. "publictradetype": {
  23603. "description": "公共交易标志类型 港股专用",
  23604. "type": "string"
  23605. },
  23606. "putoptionpremiums": {
  23607. "description": "认沽期权1",
  23608. "type": "integer"
  23609. },
  23610. "putoptionpremiums2": {
  23611. "description": "认沽期权2",
  23612. "type": "integer"
  23613. },
  23614. "putoptionpremiums3": {
  23615. "description": "认沽期权3",
  23616. "type": "integer"
  23617. },
  23618. "putoptionpremiums4": {
  23619. "description": "认沽期权4",
  23620. "type": "integer"
  23621. },
  23622. "putoptionpremiums5": {
  23623. "description": "认沽期权5",
  23624. "type": "integer"
  23625. },
  23626. "settle": {
  23627. "description": "结算价",
  23628. "type": "number"
  23629. },
  23630. "strikeprice": {
  23631. "description": "发行价",
  23632. "type": "number"
  23633. },
  23634. "totalaskvolume": {
  23635. "description": "内盘",
  23636. "type": "integer"
  23637. },
  23638. "totalbidvolume": {
  23639. "description": "外盘",
  23640. "type": "integer"
  23641. },
  23642. "totallot": {
  23643. "description": "总手数",
  23644. "type": "integer"
  23645. },
  23646. "totalturnover": {
  23647. "description": "总金额",
  23648. "type": "number"
  23649. },
  23650. "totalvolume": {
  23651. "description": "总量",
  23652. "type": "integer"
  23653. },
  23654. "utclasttime": {
  23655. "description": "utc的行情时间",
  23656. "type": "string"
  23657. }
  23658. }
  23659. },
  23660. "quote.QueryTSDataRsp": {
  23661. "type": "object",
  23662. "properties": {
  23663. "Count": {
  23664. "description": "交易日应有数据个数",
  23665. "type": "integer"
  23666. },
  23667. "decimalPlace": {
  23668. "description": "小数位",
  23669. "type": "integer"
  23670. },
  23671. "endTime": {
  23672. "description": "结束时间",
  23673. "type": "string"
  23674. },
  23675. "goodsCode": {
  23676. "description": "商品代码",
  23677. "type": "string"
  23678. },
  23679. "historyDatas": {
  23680. "description": "历史数据",
  23681. "type": "array",
  23682. "items": {
  23683. "$ref": "#/definitions/quote.HistoryData"
  23684. }
  23685. },
  23686. "outGoodsCode": {
  23687. "description": "外部商品代码",
  23688. "type": "string"
  23689. },
  23690. "preSettle": {
  23691. "description": "昨结价",
  23692. "type": "number"
  23693. },
  23694. "runSteps": {
  23695. "description": "交易日开休市计划",
  23696. "type": "array",
  23697. "items": {
  23698. "$ref": "#/definitions/quote.TSDataRunStep"
  23699. }
  23700. },
  23701. "startTime": {
  23702. "description": "开始时间",
  23703. "type": "string"
  23704. },
  23705. "tradeDate": {
  23706. "description": "交易日",
  23707. "type": "string"
  23708. }
  23709. }
  23710. },
  23711. "quote.TSDataRunStep": {
  23712. "type": "object",
  23713. "properties": {
  23714. "end": {
  23715. "description": "真实结束时间",
  23716. "type": "string"
  23717. },
  23718. "endflag": {
  23719. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23720. "type": "integer"
  23721. },
  23722. "endtime": {
  23723. "description": "结束时间(HH:mm)",
  23724. "type": "string"
  23725. },
  23726. "endweekday": {
  23727. "description": "结束周几",
  23728. "type": "integer"
  23729. },
  23730. "groupid": {
  23731. "description": "分组ID",
  23732. "type": "integer"
  23733. },
  23734. "runstep": {
  23735. "description": "运行阶段 - 2:连续交易",
  23736. "type": "integer"
  23737. },
  23738. "sectionid": {
  23739. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23740. "type": "integer"
  23741. },
  23742. "start": {
  23743. "description": "真实开始时间",
  23744. "type": "string"
  23745. },
  23746. "startflag": {
  23747. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23748. "type": "integer"
  23749. },
  23750. "starttime": {
  23751. "description": "起始时间(HH:mm)",
  23752. "type": "string"
  23753. },
  23754. "startweekday": {
  23755. "description": "起始周几",
  23756. "type": "integer"
  23757. },
  23758. "tradeweekday": {
  23759. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23760. "type": "integer"
  23761. }
  23762. }
  23763. },
  23764. "szdz.QueryConvertLogRsp": {
  23765. "type": "object",
  23766. "required": [
  23767. "logid"
  23768. ],
  23769. "properties": {
  23770. "accountid": {
  23771. "description": "资金账户ID",
  23772. "type": "integer"
  23773. },
  23774. "clientticket": {
  23775. "description": "客户端流水号",
  23776. "type": "string"
  23777. },
  23778. "converttype": {
  23779. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23780. "type": "integer"
  23781. },
  23782. "createtime": {
  23783. "description": "记账时间",
  23784. "type": "string"
  23785. },
  23786. "daymaxvalue": {
  23787. "description": "配置当日最大转入限制",
  23788. "type": "number"
  23789. },
  23790. "daymaxvalue2": {
  23791. "description": "配置当日最大转入限制(转入)",
  23792. "type": "number"
  23793. },
  23794. "goodscode": {
  23795. "description": "商品代码",
  23796. "type": "string"
  23797. },
  23798. "goodsname": {
  23799. "description": "商品名称",
  23800. "type": "string"
  23801. },
  23802. "handlestatus": {
  23803. "description": "处理状态",
  23804. "type": "integer"
  23805. },
  23806. "innergoodsid": {
  23807. "description": "内部商品ID",
  23808. "type": "integer"
  23809. },
  23810. "inratio": {
  23811. "description": "配置转入比值",
  23812. "type": "integer"
  23813. },
  23814. "invalue": {
  23815. "description": "目标值",
  23816. "type": "number"
  23817. },
  23818. "logid": {
  23819. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23820. "type": "integer"
  23821. },
  23822. "mobile": {
  23823. "description": "手机号码(加密存储)",
  23824. "type": "string"
  23825. },
  23826. "outergoodscode": {
  23827. "description": "外部商品代码[JD\\PD]",
  23828. "type": "string"
  23829. },
  23830. "outratio": {
  23831. "description": "配置转出比值",
  23832. "type": "integer"
  23833. },
  23834. "outvalue": {
  23835. "description": "源值",
  23836. "type": "number"
  23837. },
  23838. "pddecimalplace": {
  23839. "description": "PD小数位",
  23840. "type": "integer"
  23841. },
  23842. "qty": {
  23843. "description": "数量",
  23844. "type": "string"
  23845. },
  23846. "remark": {
  23847. "description": "备注",
  23848. "type": "string"
  23849. },
  23850. "sessionid": {
  23851. "description": "会话ID",
  23852. "type": "integer"
  23853. },
  23854. "timemaxvalue": {
  23855. "description": "配置单次最大转入限制",
  23856. "type": "number"
  23857. },
  23858. "timemaxvalue2": {
  23859. "description": "配置单次最大转入限制(转入)",
  23860. "type": "number"
  23861. },
  23862. "timeminvalue": {
  23863. "description": "配置单次最小数量限制",
  23864. "type": "number"
  23865. },
  23866. "timeminvalue2": {
  23867. "description": "配置单次最小数量限制(转入)",
  23868. "type": "number"
  23869. },
  23870. "tradedate": {
  23871. "description": "交易日(yyyyMMdd)",
  23872. "type": "string"
  23873. },
  23874. "userid": {
  23875. "description": "用户ID",
  23876. "type": "integer"
  23877. }
  23878. }
  23879. },
  23880. "szdz.QueryGoodsPickupRsp": {
  23881. "type": "object",
  23882. "required": [
  23883. "takeorderid"
  23884. ],
  23885. "properties": {
  23886. "accountid": {
  23887. "description": "账户ID",
  23888. "type": "integer"
  23889. },
  23890. "address": {
  23891. "description": "提货人详细地址",
  23892. "type": "string"
  23893. },
  23894. "auditer": {
  23895. "description": "审核人",
  23896. "type": "integer"
  23897. },
  23898. "audittime": {
  23899. "description": "审核时间",
  23900. "type": "string"
  23901. },
  23902. "cardnum": {
  23903. "description": "提货人证件号码",
  23904. "type": "string"
  23905. },
  23906. "cardtypeid": {
  23907. "description": "提货人证件类型",
  23908. "type": "integer"
  23909. },
  23910. "checkremark": {
  23911. "description": "审核备注",
  23912. "type": "string"
  23913. },
  23914. "goodscode": {
  23915. "description": "商品代码",
  23916. "type": "string"
  23917. },
  23918. "goodsid": {
  23919. "description": "商品ID",
  23920. "type": "integer"
  23921. },
  23922. "goodsname": {
  23923. "description": "商品名称",
  23924. "type": "string"
  23925. },
  23926. "handlestatus": {
  23927. "description": "处理状态",
  23928. "type": "integer"
  23929. },
  23930. "marketid": {
  23931. "description": "市场ID",
  23932. "type": "integer"
  23933. },
  23934. "phonenum": {
  23935. "description": "提货人联系方式",
  23936. "type": "string"
  23937. },
  23938. "qty": {
  23939. "description": "提货数量",
  23940. "type": "number"
  23941. },
  23942. "recivername": {
  23943. "description": "提货人姓名",
  23944. "type": "string"
  23945. },
  23946. "reqtime": {
  23947. "description": "更新时间",
  23948. "type": "string"
  23949. },
  23950. "takemode": {
  23951. "description": "提货方式 - 2:自提 3:配送",
  23952. "type": "integer"
  23953. },
  23954. "takeorderid": {
  23955. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23956. "type": "string"
  23957. },
  23958. "takeorderstatus": {
  23959. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23960. "type": "integer"
  23961. },
  23962. "takeremark": {
  23963. "description": "提货备注",
  23964. "type": "string"
  23965. },
  23966. "tradedate": {
  23967. "description": "交易日(yyyyMMdd)",
  23968. "type": "string"
  23969. },
  23970. "userid": {
  23971. "description": "用户ID",
  23972. "type": "integer"
  23973. }
  23974. }
  23975. },
  23976. "szdz.QueryRecieptOrderRsp": {
  23977. "type": "object",
  23978. "required": [
  23979. "ordertime"
  23980. ],
  23981. "properties": {
  23982. "accountName": {
  23983. "description": "所属账号名称(已脱敏)",
  23984. "type": "string"
  23985. },
  23986. "accountid": {
  23987. "description": "资金账号",
  23988. "type": "integer"
  23989. },
  23990. "buyorsell": {
  23991. "description": "方向 - 0:买 1:卖",
  23992. "type": "integer"
  23993. },
  23994. "enableqty": {
  23995. "description": "可摘数量",
  23996. "type": "integer"
  23997. },
  23998. "goodscode": {
  23999. "description": "商品代码",
  24000. "type": "string"
  24001. },
  24002. "goodsid": {
  24003. "description": "商品ID",
  24004. "type": "integer"
  24005. },
  24006. "goodsname": {
  24007. "description": "商品名称",
  24008. "type": "string"
  24009. },
  24010. "orderid": {
  24011. "description": "委托单号",
  24012. "type": "string"
  24013. },
  24014. "orderprice": {
  24015. "description": "委托价格",
  24016. "type": "number"
  24017. },
  24018. "ordertime": {
  24019. "description": "委托时间",
  24020. "type": "string"
  24021. },
  24022. "tradedate": {
  24023. "description": "交易日(yyyyMMdd)",
  24024. "type": "string"
  24025. }
  24026. }
  24027. },
  24028. "szdz.QuerySZDZTradePositionRsp": {
  24029. "type": "object",
  24030. "properties": {
  24031. "accountid": {
  24032. "description": "账号Id",
  24033. "type": "integer"
  24034. },
  24035. "agreeunit": {
  24036. "description": "合约单位",
  24037. "type": "number"
  24038. },
  24039. "averageprice": {
  24040. "description": "持仓均价",
  24041. "type": "number"
  24042. },
  24043. "buyorsell": {
  24044. "description": "方向 - 0:买 1:卖",
  24045. "type": "integer"
  24046. },
  24047. "closetotalqty": {
  24048. "description": "平仓总数量",
  24049. "type": "integer"
  24050. },
  24051. "curholderamount": {
  24052. "description": "当前持仓总金额",
  24053. "type": "number"
  24054. },
  24055. "curpositionqty": {
  24056. "description": "当前持仓总数量",
  24057. "type": "integer"
  24058. },
  24059. "currencyid": {
  24060. "description": "报价货币ID",
  24061. "type": "integer"
  24062. },
  24063. "curtdposition": {
  24064. "description": "期末今日头寸",
  24065. "type": "integer"
  24066. },
  24067. "decimalplace": {
  24068. "description": "报价小数位",
  24069. "type": "integer"
  24070. },
  24071. "enableqty": {
  24072. "description": "可用量",
  24073. "type": "integer"
  24074. },
  24075. "fretdposition": {
  24076. "description": "冻结今日头寸",
  24077. "type": "integer"
  24078. },
  24079. "frozenqty": {
  24080. "description": "持仓冻结数量",
  24081. "type": "integer"
  24082. },
  24083. "goodscode": {
  24084. "description": "商品代码(内部)",
  24085. "type": "string"
  24086. },
  24087. "goodsid": {
  24088. "description": "商品Id",
  24089. "type": "integer"
  24090. },
  24091. "goodsname": {
  24092. "description": "商品名称",
  24093. "type": "string"
  24094. },
  24095. "goodunit": {
  24096. "description": "报价单位",
  24097. "type": "string"
  24098. },
  24099. "goodunitid": {
  24100. "description": "报价单位ID",
  24101. "type": "integer"
  24102. },
  24103. "holderamount": {
  24104. "description": "期初持仓总金额",
  24105. "type": "number"
  24106. },
  24107. "marketid": {
  24108. "description": "市场ID",
  24109. "type": "integer"
  24110. },
  24111. "openreqqty": {
  24112. "description": "开仓申请数量",
  24113. "type": "integer"
  24114. },
  24115. "opentotalqty": {
  24116. "description": "开仓总数量",
  24117. "type": "integer"
  24118. },
  24119. "otherfrozenqty": {
  24120. "description": "持仓其他冻结数量(交割冻结)",
  24121. "type": "integer"
  24122. },
  24123. "positionqty": {
  24124. "description": "期初持仓数量",
  24125. "type": "integer"
  24126. },
  24127. "szdz3freezqty": {
  24128. "description": "尚志大宗转换冻结总数量",
  24129. "type": "integer"
  24130. },
  24131. "tnqty": {
  24132. "description": "T+N冻结总量",
  24133. "type": "integer"
  24134. },
  24135. "tnusedqty": {
  24136. "description": "T+N使用量",
  24137. "type": "integer"
  24138. },
  24139. "trademode": {
  24140. "description": "交易模式",
  24141. "type": "integer"
  24142. },
  24143. "usedmargin": {
  24144. "description": "占用保证金",
  24145. "type": "number"
  24146. }
  24147. }
  24148. },
  24149. "taaccount.QueryAmountLogRsp": {
  24150. "type": "object",
  24151. "required": [
  24152. "accountid",
  24153. "amount",
  24154. "amountadjusttype",
  24155. "autoid",
  24156. "balance",
  24157. "createtime",
  24158. "currentbalance",
  24159. "operatetype"
  24160. ],
  24161. "properties": {
  24162. "OPERATETYPENAME": {
  24163. "description": "资金操作类型名称",
  24164. "type": "string"
  24165. },
  24166. "accountid": {
  24167. "description": "资金账户ID",
  24168. "type": "integer"
  24169. },
  24170. "agoodscode": {
  24171. "description": "竞拍商品代码",
  24172. "type": "string"
  24173. },
  24174. "agoodsname": {
  24175. "description": "竞拍商品名称",
  24176. "type": "string"
  24177. },
  24178. "amount": {
  24179. "description": "资金金额",
  24180. "type": "number"
  24181. },
  24182. "amountadjusttype": {
  24183. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24184. "type": "integer"
  24185. },
  24186. "autoid": {
  24187. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24188. "type": "integer"
  24189. },
  24190. "balance": {
  24191. "description": "期初余额",
  24192. "type": "number"
  24193. },
  24194. "businesscode": {
  24195. "description": "业务编号",
  24196. "type": "integer"
  24197. },
  24198. "createtime": {
  24199. "description": "发生时间",
  24200. "type": "string"
  24201. },
  24202. "currencyid": {
  24203. "description": "币种ID",
  24204. "type": "integer"
  24205. },
  24206. "currentbalance": {
  24207. "description": "期末余额(变动后金额)",
  24208. "type": "number"
  24209. },
  24210. "dgoodscode": {
  24211. "description": "交割商品代码",
  24212. "type": "string"
  24213. },
  24214. "dgoodsname": {
  24215. "description": "交割商品名称",
  24216. "type": "string"
  24217. },
  24218. "goodscode": {
  24219. "description": "商品代码",
  24220. "type": "string"
  24221. },
  24222. "goodsid": {
  24223. "description": "商品ID",
  24224. "type": "integer"
  24225. },
  24226. "goodsname": {
  24227. "description": "商品名称",
  24228. "type": "string"
  24229. },
  24230. "marketid": {
  24231. "description": "市场ID",
  24232. "type": "integer"
  24233. },
  24234. "marketname": {
  24235. "description": "市场名称",
  24236. "type": "string"
  24237. },
  24238. "moneyticket": {
  24239. "description": "资金流水号:银行端流水号",
  24240. "type": "integer"
  24241. },
  24242. "operatetype": {
  24243. "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:营销收款",
  24244. "type": "integer"
  24245. },
  24246. "relationorderid": {
  24247. "description": "关联单号",
  24248. "type": "string"
  24249. },
  24250. "remark": {
  24251. "description": "备注",
  24252. "type": "string"
  24253. },
  24254. "trademode": {
  24255. "description": "交易模式",
  24256. "type": "integer"
  24257. }
  24258. }
  24259. },
  24260. "taaccount.QueryHisAmountLogRsp": {
  24261. "type": "object",
  24262. "required": [
  24263. "accountid",
  24264. "amount",
  24265. "amountadjusttype",
  24266. "autoid",
  24267. "balance",
  24268. "createtime",
  24269. "currentbalance",
  24270. "histradedate",
  24271. "operatetype"
  24272. ],
  24273. "properties": {
  24274. "OPERATETYPENAME": {
  24275. "description": "资金操作类型名称",
  24276. "type": "string"
  24277. },
  24278. "accountid": {
  24279. "description": "资金账户ID",
  24280. "type": "integer"
  24281. },
  24282. "agoodscode": {
  24283. "description": "竞拍商品代码",
  24284. "type": "string"
  24285. },
  24286. "agoodsname": {
  24287. "description": "竞拍商品名称",
  24288. "type": "string"
  24289. },
  24290. "amount": {
  24291. "description": "资金金额",
  24292. "type": "number"
  24293. },
  24294. "amountadjusttype": {
  24295. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24296. "type": "integer"
  24297. },
  24298. "autoid": {
  24299. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24300. "type": "integer"
  24301. },
  24302. "balance": {
  24303. "description": "期初余额",
  24304. "type": "number"
  24305. },
  24306. "businesscode": {
  24307. "description": "业务编号",
  24308. "type": "integer"
  24309. },
  24310. "createtime": {
  24311. "description": "发生时间",
  24312. "type": "string"
  24313. },
  24314. "currencyid": {
  24315. "description": "币种ID",
  24316. "type": "integer"
  24317. },
  24318. "currentbalance": {
  24319. "description": "期末余额(变动后金额)",
  24320. "type": "number"
  24321. },
  24322. "dgoodscode": {
  24323. "description": "交割商品代码",
  24324. "type": "string"
  24325. },
  24326. "dgoodsname": {
  24327. "description": "交割商品名称",
  24328. "type": "string"
  24329. },
  24330. "goodscode": {
  24331. "description": "商品代码",
  24332. "type": "string"
  24333. },
  24334. "goodsid": {
  24335. "description": "商品ID",
  24336. "type": "integer"
  24337. },
  24338. "goodsname": {
  24339. "description": "商品名称",
  24340. "type": "string"
  24341. },
  24342. "histradedate": {
  24343. "description": "历史交易日",
  24344. "type": "string"
  24345. },
  24346. "isvaliddata": {
  24347. "description": "是否有效 - 0:无效 1:有效",
  24348. "type": "integer"
  24349. },
  24350. "marketid": {
  24351. "description": "市场ID",
  24352. "type": "integer"
  24353. },
  24354. "marketname": {
  24355. "description": "市场名称",
  24356. "type": "string"
  24357. },
  24358. "moneyticket": {
  24359. "description": "资金流水号:银行端流水号",
  24360. "type": "integer"
  24361. },
  24362. "operatetype": {
  24363. "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:营销收款",
  24364. "type": "integer"
  24365. },
  24366. "relationorderid": {
  24367. "description": "关联单号",
  24368. "type": "string"
  24369. },
  24370. "remark": {
  24371. "description": "备注",
  24372. "type": "string"
  24373. },
  24374. "trademode": {
  24375. "description": "交易模式",
  24376. "type": "integer"
  24377. }
  24378. }
  24379. },
  24380. "trade.QueryRecieptOrderRsp": {
  24381. "type": "object",
  24382. "required": [
  24383. "ordertime"
  24384. ],
  24385. "properties": {
  24386. "accountName": {
  24387. "description": "所属账号名称(已脱敏)",
  24388. "type": "string"
  24389. },
  24390. "accountid": {
  24391. "description": "资金账号",
  24392. "type": "integer"
  24393. },
  24394. "buyorsell": {
  24395. "description": "方向 - 0:买 1:卖",
  24396. "type": "integer"
  24397. },
  24398. "enableqty": {
  24399. "description": "可摘数量",
  24400. "type": "integer"
  24401. },
  24402. "goodscode": {
  24403. "description": "商品代码",
  24404. "type": "string"
  24405. },
  24406. "goodsid": {
  24407. "description": "商品ID",
  24408. "type": "integer"
  24409. },
  24410. "goodsname": {
  24411. "description": "商品名称",
  24412. "type": "string"
  24413. },
  24414. "orderid": {
  24415. "description": "委托单号",
  24416. "type": "string"
  24417. },
  24418. "orderprice": {
  24419. "description": "委托价格",
  24420. "type": "number"
  24421. },
  24422. "ordertime": {
  24423. "description": "委托时间",
  24424. "type": "string"
  24425. },
  24426. "tradedate": {
  24427. "description": "交易日(yyyyMMdd)",
  24428. "type": "string"
  24429. }
  24430. }
  24431. },
  24432. "user.LoginQueryRsp": {
  24433. "type": "object",
  24434. "properties": {
  24435. "externalExchanges": {
  24436. "description": "外部交易所",
  24437. "type": "array",
  24438. "items": {
  24439. "$ref": "#/definitions/models.Externalexchange"
  24440. }
  24441. },
  24442. "goodsgroups": {
  24443. "description": "商品组",
  24444. "type": "array",
  24445. "items": {
  24446. "$ref": "#/definitions/models.Goodsgroup"
  24447. }
  24448. },
  24449. "loginAccount": {
  24450. "description": "登录账号",
  24451. "$ref": "#/definitions/models.Loginaccount"
  24452. },
  24453. "markets": {
  24454. "description": "市场",
  24455. "type": "array",
  24456. "items": {
  24457. "$ref": "#/definitions/models.Market"
  24458. }
  24459. },
  24460. "systemParams": {
  24461. "description": "系统参数",
  24462. "type": "array",
  24463. "items": {
  24464. "$ref": "#/definitions/models.Systemparam"
  24465. }
  24466. },
  24467. "userAccount": {
  24468. "description": "用户账号",
  24469. "$ref": "#/definitions/models.Useraccount"
  24470. },
  24471. "userInfo": {
  24472. "description": "用户信息",
  24473. "$ref": "#/definitions/models.Userinfo"
  24474. },
  24475. "username": {
  24476. "description": "用户姓名",
  24477. "type": "string"
  24478. }
  24479. }
  24480. }
  24481. },
  24482. "securityDefinitions": {
  24483. "ApiKeyAuth": {
  24484. "type": "apiKey",
  24485. "name": "Authorization",
  24486. "in": "header"
  24487. }
  24488. }
  24489. }`
  24490. type swaggerInfo struct {
  24491. Version string
  24492. Host string
  24493. BasePath string
  24494. Schemes []string
  24495. Title string
  24496. Description string
  24497. }
  24498. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24499. var SwaggerInfo = swaggerInfo{
  24500. Version: "1.0",
  24501. Host: "",
  24502. BasePath: "/api",
  24503. Schemes: []string{},
  24504. Title: "MTP2.0 查询服务 API",
  24505. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24506. }
  24507. type s struct{}
  24508. func (s *s) ReadDoc() string {
  24509. sInfo := SwaggerInfo
  24510. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24511. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24512. "marshal": func(v interface{}) string {
  24513. a, _ := json.Marshal(v)
  24514. return string(a)
  24515. },
  24516. }).Parse(doc)
  24517. if err != nil {
  24518. return doc
  24519. }
  24520. var tpl bytes.Buffer
  24521. if err := t.Execute(&tpl, sInfo); err != nil {
  24522. return doc
  24523. }
  24524. return tpl.String()
  24525. }
  24526. func init() {
  24527. swag.Register(swag.Name, &s{})
  24528. }