docs.go 879 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536
  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. "hedgeaccountcode": {
  18425. "description": "对冲账号ID",
  18426. "type": "string"
  18427. },
  18428. "hedgeaccountpwd": {
  18429. "description": "对冲账号密码",
  18430. "type": "string"
  18431. },
  18432. "hedgeaccounttype": {
  18433. "description": "母账号类型 - 1-交易下单 2-跟单",
  18434. "type": "integer"
  18435. },
  18436. "limitnumber": {
  18437. "description": "挂单笔数限额",
  18438. "type": "integer"
  18439. },
  18440. "marketid": {
  18441. "description": "内部市场ID(母账号的操作",
  18442. "type": "integer"
  18443. },
  18444. "status": {
  18445. "description": "渠道账号状态 1-可买入可卖出 2-可卖出不可买入",
  18446. "type": "integer"
  18447. },
  18448. "userproductinfo": {
  18449. "description": "客户端产品信息",
  18450. "type": "string"
  18451. }
  18452. }
  18453. },
  18454. "models.HsbyBuyMyPayOrder": {
  18455. "type": "object",
  18456. "required": [
  18457. "goodscode",
  18458. "goodsname",
  18459. "tradeid",
  18460. "trademode"
  18461. ],
  18462. "properties": {
  18463. "agreeunit": {
  18464. "description": "合约单位",
  18465. "type": "number"
  18466. },
  18467. "buyaccountid": {
  18468. "description": "买方账号ID[报价币种]",
  18469. "type": "integer"
  18470. },
  18471. "buyorderid": {
  18472. "description": "买方委托单号",
  18473. "type": "string"
  18474. },
  18475. "createtime": {
  18476. "description": "创建时间",
  18477. "type": "string"
  18478. },
  18479. "currencysign": {
  18480. "description": "货币符号",
  18481. "type": "string"
  18482. },
  18483. "decimalplace": {
  18484. "description": "报价小数位",
  18485. "type": "integer"
  18486. },
  18487. "goodscode": {
  18488. "description": "商品代码(内部)",
  18489. "type": "string"
  18490. },
  18491. "goodsid": {
  18492. "description": "商品ID",
  18493. "type": "integer"
  18494. },
  18495. "goodsname": {
  18496. "description": "商品名称",
  18497. "type": "string"
  18498. },
  18499. "marketid": {
  18500. "description": "市场ID",
  18501. "type": "integer"
  18502. },
  18503. "offamount": {
  18504. "description": "优惠金额",
  18505. "type": "number"
  18506. },
  18507. "originalamount": {
  18508. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18509. "type": "number"
  18510. },
  18511. "payamount": {
  18512. "description": "支付金额 = TradeAmount + TradeCharge",
  18513. "type": "number"
  18514. },
  18515. "payflag": {
  18516. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18517. "type": "integer"
  18518. },
  18519. "paylimitedtime": {
  18520. "description": "支付期限",
  18521. "type": "string"
  18522. },
  18523. "paytime": {
  18524. "description": "付款时间",
  18525. "type": "string"
  18526. },
  18527. "picurls1": {
  18528. "description": "预售商品介绍图片[多张用逗号分隔]",
  18529. "type": "string"
  18530. },
  18531. "picurls2": {
  18532. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18533. "type": "string"
  18534. },
  18535. "sellaccountid": {
  18536. "description": "卖方账号ID[报价币种]",
  18537. "type": "integer"
  18538. },
  18539. "sellorderid": {
  18540. "description": "卖方委托单号",
  18541. "type": "string"
  18542. },
  18543. "tradeamount": {
  18544. "description": "成交金额",
  18545. "type": "number"
  18546. },
  18547. "tradecharge": {
  18548. "description": "成交手续费(买方)",
  18549. "type": "number"
  18550. },
  18551. "tradedate": {
  18552. "description": "交易日(yyyyMMdd)",
  18553. "type": "string"
  18554. },
  18555. "tradeid": {
  18556. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18557. "type": "string"
  18558. },
  18559. "trademode": {
  18560. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18561. "type": "integer"
  18562. },
  18563. "tradeprice": {
  18564. "description": "成交价格",
  18565. "type": "number"
  18566. },
  18567. "tradeqty": {
  18568. "description": "成交数量",
  18569. "type": "integer"
  18570. },
  18571. "vendorname1": {
  18572. "description": "预售商品供应商名称",
  18573. "type": "string"
  18574. },
  18575. "vendorname2": {
  18576. "description": "挂牌商品供应商名称",
  18577. "type": "string"
  18578. }
  18579. }
  18580. },
  18581. "models.HsbyBuyMyTradeDetail": {
  18582. "type": "object",
  18583. "required": [
  18584. "accountid",
  18585. "buyorsell",
  18586. "goodscode",
  18587. "goodsid",
  18588. "goodsname",
  18589. "marketid",
  18590. "orderid",
  18591. "qty",
  18592. "time",
  18593. "trademode"
  18594. ],
  18595. "properties": {
  18596. "accountid": {
  18597. "description": "账户ID[报价币种]",
  18598. "type": "integer"
  18599. },
  18600. "agreeunit": {
  18601. "description": "合约单位",
  18602. "type": "number"
  18603. },
  18604. "amount": {
  18605. "description": "金额 = 价格 * 数量 * 合约单位",
  18606. "type": "number"
  18607. },
  18608. "buyorsell": {
  18609. "description": "买卖 - 0:买 1:卖",
  18610. "type": "integer"
  18611. },
  18612. "currencysign": {
  18613. "description": "货币符号",
  18614. "type": "string"
  18615. },
  18616. "decimalplace": {
  18617. "description": "报价小数位",
  18618. "type": "integer"
  18619. },
  18620. "goodscode": {
  18621. "description": "商品代码(内部)",
  18622. "type": "string"
  18623. },
  18624. "goodsid": {
  18625. "description": "商品ID",
  18626. "type": "integer"
  18627. },
  18628. "goodsname": {
  18629. "description": "商品名称",
  18630. "type": "string"
  18631. },
  18632. "marketid": {
  18633. "description": "市场ID",
  18634. "type": "integer"
  18635. },
  18636. "orderamount": {
  18637. "description": "委托金额",
  18638. "type": "number"
  18639. },
  18640. "orderid": {
  18641. "description": "单号(成交单号)",
  18642. "type": "string"
  18643. },
  18644. "picurls1": {
  18645. "description": "预售商品介绍图片[多张用逗号分隔]",
  18646. "type": "string"
  18647. },
  18648. "picurls2": {
  18649. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18650. "type": "string"
  18651. },
  18652. "price": {
  18653. "description": "价格",
  18654. "type": "number"
  18655. },
  18656. "qty": {
  18657. "description": "数量",
  18658. "type": "integer"
  18659. },
  18660. "time": {
  18661. "description": "时间",
  18662. "type": "string"
  18663. },
  18664. "trademode": {
  18665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18666. "type": "integer"
  18667. },
  18668. "vendorname1": {
  18669. "description": "预售商品供应商名称",
  18670. "type": "string"
  18671. },
  18672. "vendorname2": {
  18673. "description": "挂牌商品供应商名称",
  18674. "type": "string"
  18675. }
  18676. }
  18677. },
  18678. "models.HsbyGoodsOrderDetail": {
  18679. "type": "object",
  18680. "required": [
  18681. "buyorsell",
  18682. "orderid",
  18683. "ordertime"
  18684. ],
  18685. "properties": {
  18686. "buyorsell": {
  18687. "description": "买卖 - 0:买 1:卖",
  18688. "type": "integer"
  18689. },
  18690. "currencysign": {
  18691. "description": "货币符号",
  18692. "type": "string"
  18693. },
  18694. "customername": {
  18695. "description": "客户名称(企业名称),已脱敏",
  18696. "type": "string"
  18697. },
  18698. "enableqty": {
  18699. "description": "可用数量",
  18700. "type": "integer"
  18701. },
  18702. "goodunit": {
  18703. "description": "报价单位",
  18704. "type": "string"
  18705. },
  18706. "orderid": {
  18707. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18708. "type": "string"
  18709. },
  18710. "orderprice": {
  18711. "description": "委托价格",
  18712. "type": "number"
  18713. },
  18714. "ordertime": {
  18715. "description": "委托时间",
  18716. "type": "string"
  18717. }
  18718. }
  18719. },
  18720. "models.HsbyListingGoodsDetail": {
  18721. "type": "object",
  18722. "required": [
  18723. "goodscode",
  18724. "goodsid",
  18725. "goodsname",
  18726. "marketid",
  18727. "trademode"
  18728. ],
  18729. "properties": {
  18730. "agreeunit": {
  18731. "description": "合约单位",
  18732. "type": "number"
  18733. },
  18734. "buymaxqty": {
  18735. "description": "购买上限 [71] - 0为不限",
  18736. "type": "integer"
  18737. },
  18738. "currency": {
  18739. "description": "货币",
  18740. "type": "string"
  18741. },
  18742. "currencysign": {
  18743. "description": "货币符号",
  18744. "type": "string"
  18745. },
  18746. "decimalplace": {
  18747. "description": "报价小数位",
  18748. "type": "integer"
  18749. },
  18750. "desccityid": {
  18751. "description": "目的地(市)ID",
  18752. "type": "integer"
  18753. },
  18754. "descprovinceid": {
  18755. "description": "目的地(省)ID",
  18756. "type": "integer"
  18757. },
  18758. "goodscode": {
  18759. "description": "商品代码(内部)",
  18760. "type": "string"
  18761. },
  18762. "goodsdesc": {
  18763. "description": "商品详情",
  18764. "type": "string"
  18765. },
  18766. "goodsid": {
  18767. "description": "商品ID(自增ID SEQ_GOODS)",
  18768. "type": "integer"
  18769. },
  18770. "goodsname": {
  18771. "description": "商品名称",
  18772. "type": "string"
  18773. },
  18774. "goodsprice": {
  18775. "description": "商品价格",
  18776. "type": "number"
  18777. },
  18778. "hotindex": {
  18779. "description": "景点热度",
  18780. "type": "integer"
  18781. },
  18782. "last": {
  18783. "description": "现价",
  18784. "type": "number"
  18785. },
  18786. "limitdown": {
  18787. "description": "跌停价",
  18788. "type": "number"
  18789. },
  18790. "limitup": {
  18791. "description": "涨停价",
  18792. "type": "number"
  18793. },
  18794. "lotsize": {
  18795. "description": "手数最小变动单位",
  18796. "type": "integer"
  18797. },
  18798. "marketid": {
  18799. "description": "所属市场ID",
  18800. "type": "integer"
  18801. },
  18802. "picurls": {
  18803. "description": "介绍图片[多张用逗号分隔]",
  18804. "type": "string"
  18805. },
  18806. "quoteminunit": {
  18807. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18808. "type": "integer"
  18809. },
  18810. "stepvalue": {
  18811. "description": "价格最小变动单位",
  18812. "type": "number"
  18813. },
  18814. "trademode": {
  18815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18816. "type": "integer"
  18817. },
  18818. "vendorattr": {
  18819. "description": "供应商附件(多张,逗号分隔)",
  18820. "type": "string"
  18821. },
  18822. "vendorname": {
  18823. "description": "供应商名称",
  18824. "type": "string"
  18825. },
  18826. "vendorphone": {
  18827. "description": "供应商客服电话",
  18828. "type": "string"
  18829. },
  18830. "videourls": {
  18831. "description": "介绍视频[多张用逗号分隔]",
  18832. "type": "string"
  18833. }
  18834. }
  18835. },
  18836. "models.HsbyMarketGoods": {
  18837. "type": "object",
  18838. "required": [
  18839. "accountid",
  18840. "buyorsell",
  18841. "goodscode",
  18842. "goodsid",
  18843. "goodsname",
  18844. "marketid",
  18845. "orderid",
  18846. "trademode"
  18847. ],
  18848. "properties": {
  18849. "accountid": {
  18850. "description": "账户ID[报价币种]",
  18851. "type": "integer"
  18852. },
  18853. "agreeunit": {
  18854. "description": "合约单位",
  18855. "type": "number"
  18856. },
  18857. "buyorsell": {
  18858. "description": "买卖 - 0:买 1:卖",
  18859. "type": "integer"
  18860. },
  18861. "categoryid": {
  18862. "description": "类别ID(WRCATEGORY)",
  18863. "type": "integer"
  18864. },
  18865. "currency": {
  18866. "description": "货币",
  18867. "type": "string"
  18868. },
  18869. "currencysign": {
  18870. "description": "货币符号",
  18871. "type": "string"
  18872. },
  18873. "customername": {
  18874. "description": "卖家名称",
  18875. "type": "string"
  18876. },
  18877. "decimalplace": {
  18878. "description": "报价小数位",
  18879. "type": "integer"
  18880. },
  18881. "goodscode": {
  18882. "description": "商品代码(内部)",
  18883. "type": "string"
  18884. },
  18885. "goodsid": {
  18886. "description": "商品ID",
  18887. "type": "integer"
  18888. },
  18889. "goodsname": {
  18890. "description": "商品名称",
  18891. "type": "string"
  18892. },
  18893. "goodsprice": {
  18894. "description": "商品价格",
  18895. "type": "number"
  18896. },
  18897. "hascoupon": {
  18898. "description": "是否可用优惠卷",
  18899. "type": "boolean"
  18900. },
  18901. "hotindex": {
  18902. "description": "景点热度",
  18903. "type": "integer"
  18904. },
  18905. "marketid": {
  18906. "description": "市场ID",
  18907. "type": "integer"
  18908. },
  18909. "orderid": {
  18910. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18911. "type": "string"
  18912. },
  18913. "orderprice": {
  18914. "description": "委托价格",
  18915. "type": "number"
  18916. },
  18917. "orderstatus": {
  18918. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18919. "type": "integer"
  18920. },
  18921. "picurls": {
  18922. "description": "介绍图片[多张用逗号分隔]",
  18923. "type": "string"
  18924. },
  18925. "quoteminunit": {
  18926. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18927. "type": "integer"
  18928. },
  18929. "sellUserID": {
  18930. "description": "卖方UserID",
  18931. "type": "integer"
  18932. },
  18933. "trademode": {
  18934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18935. "type": "integer"
  18936. },
  18937. "videourls": {
  18938. "description": "介绍视频[多张用逗号分隔]",
  18939. "type": "string"
  18940. }
  18941. }
  18942. },
  18943. "models.HsbyMarketGoodsDetail": {
  18944. "type": "object",
  18945. "required": [
  18946. "accountid",
  18947. "buyorsell",
  18948. "goodscode",
  18949. "goodsid",
  18950. "goodsname",
  18951. "marketid",
  18952. "orderid",
  18953. "orderqty",
  18954. "trademode"
  18955. ],
  18956. "properties": {
  18957. "accountid": {
  18958. "description": "账户ID[报价币种]",
  18959. "type": "integer"
  18960. },
  18961. "agreeunit": {
  18962. "description": "合约单位",
  18963. "type": "number"
  18964. },
  18965. "buymaxqty": {
  18966. "description": "购买上限 [71] - 0为不限",
  18967. "type": "integer"
  18968. },
  18969. "buyorsell": {
  18970. "description": "买卖 - 0:买 1:卖",
  18971. "type": "integer"
  18972. },
  18973. "cancelqty": {
  18974. "description": "撤单数量",
  18975. "type": "integer"
  18976. },
  18977. "categoryid": {
  18978. "description": "类别ID(WRCATEGORY)",
  18979. "type": "integer"
  18980. },
  18981. "currency": {
  18982. "description": "货币",
  18983. "type": "string"
  18984. },
  18985. "currencysign": {
  18986. "description": "货币符号",
  18987. "type": "string"
  18988. },
  18989. "customername": {
  18990. "description": "卖家名称",
  18991. "type": "string"
  18992. },
  18993. "decimalplace": {
  18994. "description": "报价小数位",
  18995. "type": "integer"
  18996. },
  18997. "goodscode": {
  18998. "description": "商品代码(内部)",
  18999. "type": "string"
  19000. },
  19001. "goodsdesc": {
  19002. "description": "商品详情",
  19003. "type": "string"
  19004. },
  19005. "goodsid": {
  19006. "description": "商品ID",
  19007. "type": "integer"
  19008. },
  19009. "goodsname": {
  19010. "description": "商品名称",
  19011. "type": "string"
  19012. },
  19013. "goodsprice": {
  19014. "description": "商品价格",
  19015. "type": "number"
  19016. },
  19017. "hotindex": {
  19018. "description": "景点热度",
  19019. "type": "integer"
  19020. },
  19021. "lotsize": {
  19022. "description": "手数最小变动单位",
  19023. "type": "integer"
  19024. },
  19025. "marketid": {
  19026. "description": "市场ID",
  19027. "type": "integer"
  19028. },
  19029. "orderid": {
  19030. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19031. "type": "string"
  19032. },
  19033. "orderprice": {
  19034. "description": "委托价格",
  19035. "type": "number"
  19036. },
  19037. "orderqty": {
  19038. "description": "委托数量",
  19039. "type": "integer"
  19040. },
  19041. "orderstatus": {
  19042. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19043. "type": "integer"
  19044. },
  19045. "picurls": {
  19046. "description": "介绍图片[多张用逗号分隔]",
  19047. "type": "string"
  19048. },
  19049. "quoteminunit": {
  19050. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19051. "type": "integer"
  19052. },
  19053. "sellUserID": {
  19054. "description": "卖方UserID",
  19055. "type": "integer"
  19056. },
  19057. "trademode": {
  19058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19059. "type": "integer"
  19060. },
  19061. "tradeqty": {
  19062. "description": "成交数量",
  19063. "type": "integer"
  19064. },
  19065. "vendorattr": {
  19066. "description": "供应商附件(多张,逗号分隔)",
  19067. "type": "string"
  19068. },
  19069. "vendorname": {
  19070. "description": "供应商名称",
  19071. "type": "string"
  19072. },
  19073. "vendorphone": {
  19074. "description": "供应商客服电话",
  19075. "type": "string"
  19076. },
  19077. "videourls": {
  19078. "description": "介绍视频[多张用逗号分隔]",
  19079. "type": "string"
  19080. }
  19081. }
  19082. },
  19083. "models.HsbyMarketInfo": {
  19084. "type": "object",
  19085. "required": [
  19086. "marketid",
  19087. "marketstatus",
  19088. "trademode"
  19089. ],
  19090. "properties": {
  19091. "marketid": {
  19092. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19093. "type": "integer"
  19094. },
  19095. "marketname": {
  19096. "description": "市场名称",
  19097. "type": "string"
  19098. },
  19099. "marketstatus": {
  19100. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19101. "type": "integer"
  19102. },
  19103. "trademode": {
  19104. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19105. "type": "integer"
  19106. }
  19107. }
  19108. },
  19109. "models.HsbyMyGoods": {
  19110. "type": "object",
  19111. "required": [
  19112. "accountid",
  19113. "goodscode",
  19114. "goodsid",
  19115. "goodsname",
  19116. "marketid",
  19117. "trademode"
  19118. ],
  19119. "properties": {
  19120. "accountid": {
  19121. "description": "账号Id",
  19122. "type": "integer"
  19123. },
  19124. "agreeunit": {
  19125. "description": "合约单位",
  19126. "type": "number"
  19127. },
  19128. "buyaverageprice": {
  19129. "description": "持仓均价",
  19130. "type": "number"
  19131. },
  19132. "buycurholderamount": {
  19133. "description": "买当前持仓总金额[商品币种]",
  19134. "type": "number"
  19135. },
  19136. "buycurpositionqty": {
  19137. "description": "买当前持仓总数量",
  19138. "type": "integer"
  19139. },
  19140. "buymaxqty": {
  19141. "description": "购买上限 [71] - 0为不限",
  19142. "type": "integer"
  19143. },
  19144. "currencysign": {
  19145. "description": "货币符号",
  19146. "type": "string"
  19147. },
  19148. "decimalplace": {
  19149. "description": "报价小数位",
  19150. "type": "integer"
  19151. },
  19152. "enableqty": {
  19153. "description": "可用数量",
  19154. "type": "integer"
  19155. },
  19156. "goodscode": {
  19157. "description": "商品代码(内部)",
  19158. "type": "string"
  19159. },
  19160. "goodsid": {
  19161. "description": "商品Id",
  19162. "type": "integer"
  19163. },
  19164. "goodsname": {
  19165. "description": "商品名称",
  19166. "type": "string"
  19167. },
  19168. "goodsprice": {
  19169. "description": "商品价格",
  19170. "type": "number"
  19171. },
  19172. "goodsstatus": {
  19173. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19174. "type": "integer"
  19175. },
  19176. "last": {
  19177. "description": "现价(仅使用于挂牌点选)",
  19178. "type": "number"
  19179. },
  19180. "limitdown": {
  19181. "description": "跌停价(仅使用于挂牌点选)",
  19182. "type": "number"
  19183. },
  19184. "limitup": {
  19185. "description": "涨停价(仅使用于挂牌点选)",
  19186. "type": "number"
  19187. },
  19188. "lotsize": {
  19189. "description": "手数最小变动单位",
  19190. "type": "integer"
  19191. },
  19192. "marketid": {
  19193. "description": "所属市场ID",
  19194. "type": "integer"
  19195. },
  19196. "picurls": {
  19197. "description": "介绍图片[多张用逗号分隔]",
  19198. "type": "string"
  19199. },
  19200. "quoteminunit": {
  19201. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19202. "type": "integer"
  19203. },
  19204. "stepvalue": {
  19205. "description": "价格最小变动单位",
  19206. "type": "number"
  19207. },
  19208. "trademode": {
  19209. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19210. "type": "integer"
  19211. }
  19212. }
  19213. },
  19214. "models.HsbyMyPackage": {
  19215. "type": "object",
  19216. "required": [
  19217. "goodscode",
  19218. "goodsname",
  19219. "takeorderid",
  19220. "trademode"
  19221. ],
  19222. "properties": {
  19223. "accountid": {
  19224. "description": "账户ID",
  19225. "type": "integer"
  19226. },
  19227. "address": {
  19228. "description": "提货人详细地址",
  19229. "type": "string"
  19230. },
  19231. "agreeunit": {
  19232. "description": "合约单位",
  19233. "type": "number"
  19234. },
  19235. "amount": {
  19236. "description": "提货金额",
  19237. "type": "number"
  19238. },
  19239. "auditer": {
  19240. "description": "审核人",
  19241. "type": "integer"
  19242. },
  19243. "audittime": {
  19244. "description": "审核时间",
  19245. "type": "string"
  19246. },
  19247. "averageprice": {
  19248. "description": "均价",
  19249. "type": "number"
  19250. },
  19251. "cardnum": {
  19252. "description": "提货人证件号码",
  19253. "type": "string"
  19254. },
  19255. "cardtypeid": {
  19256. "description": "提货人证件类型",
  19257. "type": "integer"
  19258. },
  19259. "checkremark": {
  19260. "description": "审核备注",
  19261. "type": "string"
  19262. },
  19263. "currencysign": {
  19264. "description": "货币符号",
  19265. "type": "string"
  19266. },
  19267. "decimalplace": {
  19268. "description": "报价小数位",
  19269. "type": "integer"
  19270. },
  19271. "goodscode": {
  19272. "description": "商品代码(内部)",
  19273. "type": "string"
  19274. },
  19275. "goodsid": {
  19276. "description": "商品ID",
  19277. "type": "integer"
  19278. },
  19279. "goodsname": {
  19280. "description": "商品名称",
  19281. "type": "string"
  19282. },
  19283. "handlestatus": {
  19284. "description": "处理状态",
  19285. "type": "integer"
  19286. },
  19287. "marketid": {
  19288. "description": "市场ID",
  19289. "type": "integer"
  19290. },
  19291. "phonenum": {
  19292. "description": "提货人联系方式",
  19293. "type": "string"
  19294. },
  19295. "picurls": {
  19296. "description": "介绍图片[多张用逗号分隔]",
  19297. "type": "string"
  19298. },
  19299. "qty": {
  19300. "description": "提货数量",
  19301. "type": "number"
  19302. },
  19303. "recivername": {
  19304. "description": "提货人姓名",
  19305. "type": "string"
  19306. },
  19307. "reqtime": {
  19308. "description": "更新时间",
  19309. "type": "string"
  19310. },
  19311. "takemode": {
  19312. "description": "提货方式 - 2:自提 3:配送",
  19313. "type": "integer"
  19314. },
  19315. "takeorderid": {
  19316. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19317. "type": "string"
  19318. },
  19319. "takeorderstatus": {
  19320. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19321. "type": "integer"
  19322. },
  19323. "takeremark": {
  19324. "description": "提货备注",
  19325. "type": "string"
  19326. },
  19327. "tradedate": {
  19328. "description": "交易日(yyyyMMdd)",
  19329. "type": "string"
  19330. },
  19331. "trademode": {
  19332. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19333. "type": "integer"
  19334. },
  19335. "userid": {
  19336. "description": "用户ID",
  19337. "type": "integer"
  19338. },
  19339. "vendorname": {
  19340. "description": "供应商名称",
  19341. "type": "string"
  19342. }
  19343. }
  19344. },
  19345. "models.HsbyPreGoods": {
  19346. "type": "object",
  19347. "required": [
  19348. "goodscode",
  19349. "goodsid",
  19350. "goodsname",
  19351. "marketid",
  19352. "trademode"
  19353. ],
  19354. "properties": {
  19355. "agreeunit": {
  19356. "description": "合约单位",
  19357. "type": "number"
  19358. },
  19359. "currency": {
  19360. "description": "货币",
  19361. "type": "string"
  19362. },
  19363. "currencysign": {
  19364. "description": "货币符号",
  19365. "type": "string"
  19366. },
  19367. "decimalplace": {
  19368. "description": "报价小数位",
  19369. "type": "integer"
  19370. },
  19371. "desccityid": {
  19372. "description": "目的地(市)",
  19373. "type": "integer"
  19374. },
  19375. "descprovinceid": {
  19376. "description": "目的地(省)",
  19377. "type": "integer"
  19378. },
  19379. "enableqty": {
  19380. "description": "剩余数量",
  19381. "type": "integer"
  19382. },
  19383. "goodscode": {
  19384. "description": "商品代码(内部)",
  19385. "type": "string"
  19386. },
  19387. "goodsid": {
  19388. "description": "商品ID(自增ID SEQ_GOODS)",
  19389. "type": "integer"
  19390. },
  19391. "goodsname": {
  19392. "description": "商品名称",
  19393. "type": "string"
  19394. },
  19395. "goodsstatus": {
  19396. "description": "商品状态- 2:未上市 3:上市",
  19397. "type": "integer"
  19398. },
  19399. "lasttradedate": {
  19400. "description": "最后交易日期(状态:待退市)",
  19401. "type": "string"
  19402. },
  19403. "listingdate": {
  19404. "description": "交易开始日期",
  19405. "type": "string"
  19406. },
  19407. "marketid": {
  19408. "description": "所属市场ID",
  19409. "type": "integer"
  19410. },
  19411. "picurls": {
  19412. "description": "介绍图片[多张用逗号分隔]",
  19413. "type": "string"
  19414. },
  19415. "presaledqty": {
  19416. "description": "已预售量(预售结束时更新)",
  19417. "type": "integer"
  19418. },
  19419. "presaleqty": {
  19420. "description": "预售数量",
  19421. "type": "integer"
  19422. },
  19423. "quoteminunit": {
  19424. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19425. "type": "integer"
  19426. },
  19427. "refprice": {
  19428. "description": "参考价格[一口价]",
  19429. "type": "number"
  19430. },
  19431. "relatedgoodsid": {
  19432. "description": "关联交易合约ID",
  19433. "type": "integer"
  19434. },
  19435. "trademode": {
  19436. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19437. "type": "integer"
  19438. },
  19439. "videourls": {
  19440. "description": "介绍视频[多张用逗号分隔]",
  19441. "type": "string"
  19442. }
  19443. }
  19444. },
  19445. "models.HsbyPreGoodsDetail": {
  19446. "type": "object",
  19447. "required": [
  19448. "goodscode",
  19449. "goodsid",
  19450. "goodsname",
  19451. "marketid",
  19452. "trademode"
  19453. ],
  19454. "properties": {
  19455. "agreeunit": {
  19456. "description": "合约单位",
  19457. "type": "number"
  19458. },
  19459. "buymaxqty": {
  19460. "description": "购买上限 [71] - 0为不限",
  19461. "type": "integer"
  19462. },
  19463. "currency": {
  19464. "description": "货币",
  19465. "type": "string"
  19466. },
  19467. "currencysign": {
  19468. "description": "货币符号",
  19469. "type": "string"
  19470. },
  19471. "customername": {
  19472. "description": "发行单位",
  19473. "type": "string"
  19474. },
  19475. "decimalplace": {
  19476. "description": "报价小数位",
  19477. "type": "integer"
  19478. },
  19479. "desccityid": {
  19480. "description": "目的地(市)ID",
  19481. "type": "integer"
  19482. },
  19483. "descprovinceid": {
  19484. "description": "目的地(省)ID",
  19485. "type": "integer"
  19486. },
  19487. "enableqty": {
  19488. "description": "剩余数量",
  19489. "type": "integer"
  19490. },
  19491. "goodscode": {
  19492. "description": "商品代码(内部)",
  19493. "type": "string"
  19494. },
  19495. "goodsdesc": {
  19496. "description": "商品详情",
  19497. "type": "string"
  19498. },
  19499. "goodsid": {
  19500. "description": "商品ID(自增ID SEQ_GOODS)",
  19501. "type": "integer"
  19502. },
  19503. "goodsname": {
  19504. "description": "商品名称",
  19505. "type": "string"
  19506. },
  19507. "goodsstatus": {
  19508. "description": "商品状态- 2:未上市 3:上市",
  19509. "type": "integer"
  19510. },
  19511. "goodunit": {
  19512. "description": "报价单位",
  19513. "type": "string"
  19514. },
  19515. "lasttradedate": {
  19516. "description": "最后交易日期(状态:待退市)",
  19517. "type": "string"
  19518. },
  19519. "listingdate": {
  19520. "description": "交易开始日期",
  19521. "type": "string"
  19522. },
  19523. "lotsize": {
  19524. "description": "手数最小变动单位",
  19525. "type": "integer"
  19526. },
  19527. "marketid": {
  19528. "description": "所属市场ID",
  19529. "type": "integer"
  19530. },
  19531. "picurls": {
  19532. "description": "介绍图片[多张用逗号分隔]",
  19533. "type": "string"
  19534. },
  19535. "presaledqty": {
  19536. "description": "已预售量(预售结束时更新)",
  19537. "type": "integer"
  19538. },
  19539. "presaleqty": {
  19540. "description": "预售数量",
  19541. "type": "integer"
  19542. },
  19543. "quoteminunit": {
  19544. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19545. "type": "integer"
  19546. },
  19547. "refprice": {
  19548. "description": "参考价格[一口价]",
  19549. "type": "number"
  19550. },
  19551. "relatedgoodsid": {
  19552. "description": "关联交易合约ID",
  19553. "type": "integer"
  19554. },
  19555. "stepvalue": {
  19556. "description": "价格最小变动单位",
  19557. "type": "number"
  19558. },
  19559. "trademode": {
  19560. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19561. "type": "integer"
  19562. },
  19563. "vendorattr": {
  19564. "description": "供应商附件(多张,逗号分隔)",
  19565. "type": "string"
  19566. },
  19567. "vendorname": {
  19568. "description": "供应商名称",
  19569. "type": "string"
  19570. },
  19571. "vendorphone": {
  19572. "description": "供应商客服电话",
  19573. "type": "string"
  19574. },
  19575. "videourls": {
  19576. "description": "介绍视频[多张用逗号分隔]",
  19577. "type": "string"
  19578. }
  19579. }
  19580. },
  19581. "models.HsbySellCollectionOrder": {
  19582. "type": "object",
  19583. "required": [
  19584. "goodscode",
  19585. "goodsname",
  19586. "tradeid",
  19587. "trademode"
  19588. ],
  19589. "properties": {
  19590. "agreeunit": {
  19591. "description": "合约单位",
  19592. "type": "number"
  19593. },
  19594. "buyaccountid": {
  19595. "description": "买方账号ID[报价币种]",
  19596. "type": "integer"
  19597. },
  19598. "buyorderid": {
  19599. "description": "买方委托单号",
  19600. "type": "string"
  19601. },
  19602. "createtime": {
  19603. "description": "创建时间",
  19604. "type": "string"
  19605. },
  19606. "currencysign": {
  19607. "description": "货币符号",
  19608. "type": "string"
  19609. },
  19610. "decimalplace": {
  19611. "description": "报价小数位",
  19612. "type": "integer"
  19613. },
  19614. "goodscode": {
  19615. "description": "商品代码(内部)",
  19616. "type": "string"
  19617. },
  19618. "goodsid": {
  19619. "description": "商品ID",
  19620. "type": "integer"
  19621. },
  19622. "goodsname": {
  19623. "description": "商品名称",
  19624. "type": "string"
  19625. },
  19626. "marketid": {
  19627. "description": "市场ID",
  19628. "type": "integer"
  19629. },
  19630. "offamount": {
  19631. "description": "优惠金额",
  19632. "type": "number"
  19633. },
  19634. "payamount": {
  19635. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19636. "type": "number"
  19637. },
  19638. "payflag": {
  19639. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19640. "type": "integer"
  19641. },
  19642. "paylimitedtime": {
  19643. "description": "支付期限",
  19644. "type": "string"
  19645. },
  19646. "paytime": {
  19647. "description": "付款时间",
  19648. "type": "string"
  19649. },
  19650. "picurls": {
  19651. "description": "商品介绍图片[多张用逗号分隔]",
  19652. "type": "string"
  19653. },
  19654. "sellaccountid": {
  19655. "description": "卖方账号ID[报价币种]",
  19656. "type": "integer"
  19657. },
  19658. "sellorderid": {
  19659. "description": "卖方委托单号",
  19660. "type": "string"
  19661. },
  19662. "tradeamount": {
  19663. "description": "成交金额",
  19664. "type": "number"
  19665. },
  19666. "tradecharge": {
  19667. "description": "成交手续费(买方)",
  19668. "type": "number"
  19669. },
  19670. "tradedate": {
  19671. "description": "交易日(yyyyMMdd)",
  19672. "type": "string"
  19673. },
  19674. "tradeid": {
  19675. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19676. "type": "string"
  19677. },
  19678. "trademode": {
  19679. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19680. "type": "integer"
  19681. },
  19682. "tradeprice": {
  19683. "description": "成交价格",
  19684. "type": "number"
  19685. },
  19686. "tradeqty": {
  19687. "description": "成交数量",
  19688. "type": "integer"
  19689. }
  19690. }
  19691. },
  19692. "models.HsbySellMyDetail": {
  19693. "type": "object",
  19694. "required": [
  19695. "accountid",
  19696. "buyorsell",
  19697. "goodscode",
  19698. "goodsid",
  19699. "goodsname",
  19700. "marketid",
  19701. "orderid",
  19702. "time",
  19703. "trademode"
  19704. ],
  19705. "properties": {
  19706. "accountid": {
  19707. "description": "账户ID[报价币种]",
  19708. "type": "integer"
  19709. },
  19710. "agreeunit": {
  19711. "description": "合约单位",
  19712. "type": "number"
  19713. },
  19714. "buyorsell": {
  19715. "description": "买卖 - 0:买 1:卖",
  19716. "type": "integer"
  19717. },
  19718. "currencysign": {
  19719. "description": "货币符号",
  19720. "type": "string"
  19721. },
  19722. "decimalplace": {
  19723. "description": "报价小数位",
  19724. "type": "integer"
  19725. },
  19726. "goodscode": {
  19727. "description": "商品代码(内部)",
  19728. "type": "string"
  19729. },
  19730. "goodsid": {
  19731. "description": "商品ID",
  19732. "type": "integer"
  19733. },
  19734. "goodsname": {
  19735. "description": "商品名称",
  19736. "type": "string"
  19737. },
  19738. "marketid": {
  19739. "description": "市场ID",
  19740. "type": "integer"
  19741. },
  19742. "orderid": {
  19743. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19744. "type": "string"
  19745. },
  19746. "ordertype": {
  19747. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19748. "type": "integer"
  19749. },
  19750. "picurls": {
  19751. "description": "介绍图片[多张用逗号分隔]",
  19752. "type": "string"
  19753. },
  19754. "price": {
  19755. "description": "价格",
  19756. "type": "number"
  19757. },
  19758. "qty": {
  19759. "description": "数量",
  19760. "type": "integer"
  19761. },
  19762. "time": {
  19763. "description": "时间",
  19764. "type": "string"
  19765. },
  19766. "trademode": {
  19767. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19768. "type": "integer"
  19769. },
  19770. "vendorname": {
  19771. "description": "供应商名称",
  19772. "type": "string"
  19773. }
  19774. }
  19775. },
  19776. "models.HsbyTopGoods": {
  19777. "type": "object",
  19778. "required": [
  19779. "goodscode",
  19780. "goodsid",
  19781. "goodsname",
  19782. "marketid",
  19783. "trademode"
  19784. ],
  19785. "properties": {
  19786. "agreeunit": {
  19787. "description": "合约单位",
  19788. "type": "number"
  19789. },
  19790. "currency": {
  19791. "description": "货币",
  19792. "type": "string"
  19793. },
  19794. "currencysign": {
  19795. "description": "货币符号",
  19796. "type": "string"
  19797. },
  19798. "decimalplace": {
  19799. "description": "报价小数位",
  19800. "type": "integer"
  19801. },
  19802. "desccityid": {
  19803. "description": "目的地(市)",
  19804. "type": "integer"
  19805. },
  19806. "descprovinceid": {
  19807. "description": "目的地(省)",
  19808. "type": "integer"
  19809. },
  19810. "goodscode": {
  19811. "description": "商品代码(内部)",
  19812. "type": "string"
  19813. },
  19814. "goodsid": {
  19815. "description": "商品ID(自增ID SEQ_GOODS)",
  19816. "type": "integer"
  19817. },
  19818. "goodsname": {
  19819. "description": "商品名称",
  19820. "type": "string"
  19821. },
  19822. "hotindex": {
  19823. "description": "景点热度",
  19824. "type": "integer"
  19825. },
  19826. "last": {
  19827. "description": "现价",
  19828. "type": "number"
  19829. },
  19830. "marketid": {
  19831. "description": "所属市场ID",
  19832. "type": "integer"
  19833. },
  19834. "picurls": {
  19835. "description": "介绍图片[多张用逗号分隔]",
  19836. "type": "string"
  19837. },
  19838. "quoteminunit": {
  19839. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19840. "type": "integer"
  19841. },
  19842. "trademode": {
  19843. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19844. "type": "integer"
  19845. },
  19846. "videourls": {
  19847. "description": "介绍视频[多张用逗号分隔]",
  19848. "type": "string"
  19849. }
  19850. }
  19851. },
  19852. "models.HybsMyBuyOrderDetail": {
  19853. "type": "object",
  19854. "required": [
  19855. "accountid",
  19856. "buyorsell",
  19857. "goodscode",
  19858. "goodsid",
  19859. "goodsname",
  19860. "marketid",
  19861. "orderid",
  19862. "orderqty",
  19863. "ordertime",
  19864. "trademode"
  19865. ],
  19866. "properties": {
  19867. "accountid": {
  19868. "description": "账户ID[报价币种]",
  19869. "type": "integer"
  19870. },
  19871. "agreeunit": {
  19872. "description": "合约单位",
  19873. "type": "number"
  19874. },
  19875. "buyorsell": {
  19876. "description": "买卖 - 0:买 1:卖",
  19877. "type": "integer"
  19878. },
  19879. "cancelqty": {
  19880. "description": "撤单数量",
  19881. "type": "integer"
  19882. },
  19883. "currencysign": {
  19884. "description": "货币符号",
  19885. "type": "string"
  19886. },
  19887. "decimalplace": {
  19888. "description": "报价小数位",
  19889. "type": "integer"
  19890. },
  19891. "goodscode": {
  19892. "description": "商品代码(内部)",
  19893. "type": "string"
  19894. },
  19895. "goodsid": {
  19896. "description": "商品ID",
  19897. "type": "integer"
  19898. },
  19899. "goodsname": {
  19900. "description": "商品名称",
  19901. "type": "string"
  19902. },
  19903. "listingselecttype": {
  19904. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19905. "type": "integer"
  19906. },
  19907. "marketid": {
  19908. "description": "市场ID",
  19909. "type": "integer"
  19910. },
  19911. "mybuystatus": {
  19912. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19913. "type": "integer"
  19914. },
  19915. "orderamount": {
  19916. "description": "委托金额",
  19917. "type": "number"
  19918. },
  19919. "orderid": {
  19920. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19921. "type": "string"
  19922. },
  19923. "orderprice": {
  19924. "description": "委托价格",
  19925. "type": "number"
  19926. },
  19927. "orderqty": {
  19928. "description": "委托数量",
  19929. "type": "integer"
  19930. },
  19931. "orderstatus": {
  19932. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19933. "type": "integer"
  19934. },
  19935. "ordertime": {
  19936. "description": "委托时间",
  19937. "type": "string"
  19938. },
  19939. "picurls1": {
  19940. "description": "预售商品介绍图片[多张用逗号分隔]",
  19941. "type": "string"
  19942. },
  19943. "picurls2": {
  19944. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19945. "type": "string"
  19946. },
  19947. "trademode": {
  19948. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19949. "type": "integer"
  19950. },
  19951. "tradeqty": {
  19952. "description": "成交数量",
  19953. "type": "integer"
  19954. },
  19955. "vendorname1": {
  19956. "description": "预售商品供应商名称",
  19957. "type": "string"
  19958. },
  19959. "vendorname2": {
  19960. "description": "挂牌商品供应商名称",
  19961. "type": "string"
  19962. }
  19963. }
  19964. },
  19965. "models.Loginaccount": {
  19966. "type": "object",
  19967. "required": [
  19968. "loginid"
  19969. ],
  19970. "properties": {
  19971. "canoutin": {
  19972. "description": "是否可出入金 - 0:不可 1:可",
  19973. "type": "integer"
  19974. },
  19975. "clientroleid": {
  19976. "description": "终端角色ID",
  19977. "type": "integer"
  19978. },
  19979. "haslogined": {
  19980. "description": "是否已登录 - 0:未登录 1:已登录",
  19981. "type": "integer"
  19982. },
  19983. "hasupdatedpwd": {
  19984. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19985. "type": "integer"
  19986. },
  19987. "lastloginip": {
  19988. "description": "最新登录地址",
  19989. "type": "string"
  19990. },
  19991. "lastloginmode": {
  19992. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19993. "type": "integer"
  19994. },
  19995. "lastloginremark": {
  19996. "description": "最新登录描述",
  19997. "type": "string"
  19998. },
  19999. "lastlogintime": {
  20000. "description": "最新登录时间",
  20001. "type": "string"
  20002. },
  20003. "logincode": {
  20004. "description": "登录代码",
  20005. "type": "string"
  20006. },
  20007. "loginfailnum": {
  20008. "description": "连续登录失败次数(登录成功时清零)",
  20009. "type": "integer"
  20010. },
  20011. "loginid": {
  20012. "description": "登陆账号",
  20013. "type": "integer"
  20014. },
  20015. "loginport": {
  20016. "description": "最新登录端口",
  20017. "type": "integer"
  20018. },
  20019. "loginstatus": {
  20020. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20021. "type": "integer"
  20022. },
  20023. "loginusertype": {
  20024. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20025. "type": "integer"
  20026. },
  20027. "modifierid": {
  20028. "description": "修改人",
  20029. "type": "integer"
  20030. },
  20031. "modifytime": {
  20032. "description": "修改时间",
  20033. "type": "string"
  20034. },
  20035. "pwdwrongcount": {
  20036. "description": "密码错误次数",
  20037. "type": "integer"
  20038. },
  20039. "taaccountrighttype": {
  20040. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20041. "type": "integer"
  20042. },
  20043. "unfreezetime": {
  20044. "description": "账户解冻时间",
  20045. "type": "string"
  20046. },
  20047. "userid": {
  20048. "description": "用户ID",
  20049. "type": "integer"
  20050. }
  20051. }
  20052. },
  20053. "models.MainAccountInfo": {
  20054. "type": "object",
  20055. "properties": {
  20056. "accountid": {
  20057. "description": "账号id",
  20058. "type": "string"
  20059. },
  20060. "appid": {
  20061. "description": "AppID",
  20062. "type": "string"
  20063. },
  20064. "authcode": {
  20065. "description": "授权码",
  20066. "type": "string"
  20067. },
  20068. "brokerid": {
  20069. "description": "经纪商id",
  20070. "type": "string"
  20071. },
  20072. "fcid": {
  20073. "description": "期货公司id",
  20074. "type": "integer"
  20075. },
  20076. "fcname": {
  20077. "description": "期货公司代码",
  20078. "type": "string"
  20079. },
  20080. "hedgeaccountcode": {
  20081. "description": "外部账号代码",
  20082. "type": "string"
  20083. },
  20084. "hedgeaccountpwd": {
  20085. "description": "密码",
  20086. "type": "string"
  20087. },
  20088. "ismain": {
  20089. "description": "是否主账号",
  20090. "type": "integer"
  20091. },
  20092. "relateduserid": {
  20093. "description": "关联用户id",
  20094. "type": "integer"
  20095. }
  20096. }
  20097. },
  20098. "models.Market": {
  20099. "type": "object",
  20100. "required": [
  20101. "marketid",
  20102. "marketstatus",
  20103. "openmethod",
  20104. "reckonpricealgorithm",
  20105. "trademode",
  20106. "tradeproperty"
  20107. ],
  20108. "properties": {
  20109. "auctionwrtype": {
  20110. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20111. "type": "integer"
  20112. },
  20113. "canacceptquote": {
  20114. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20115. "type": "integer"
  20116. },
  20117. "cangoodsexercise": {
  20118. "description": "[期权]是否可现货行权- 0:否 1:是",
  20119. "type": "integer"
  20120. },
  20121. "cangoodsexercisetype": {
  20122. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20123. "type": "integer"
  20124. },
  20125. "canmanualquotestrike": {
  20126. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20127. "type": "integer"
  20128. },
  20129. "canmutistage": {
  20130. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20131. "type": "integer"
  20132. },
  20133. "canpreexercise": {
  20134. "description": "[期权]是否可预申报- 0:否 1:是",
  20135. "type": "integer"
  20136. },
  20137. "clearinterval": {
  20138. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20139. "type": "integer"
  20140. },
  20141. "contracttmp": {
  20142. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20143. "type": "string"
  20144. },
  20145. "exchareaid": {
  20146. "description": "所属交易所,可以没有",
  20147. "type": "integer"
  20148. },
  20149. "goodstype": {
  20150. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20151. "type": "integer"
  20152. },
  20153. "hasrebate": {
  20154. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20155. "type": "integer"
  20156. },
  20157. "hastradecredit": {
  20158. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20159. "type": "integer"
  20160. },
  20161. "haswr": {
  20162. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20163. "type": "integer"
  20164. },
  20165. "isdeductmargin": {
  20166. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20167. "type": "integer"
  20168. },
  20169. "isrecordsource": {
  20170. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20171. "type": "integer"
  20172. },
  20173. "isreleasemargin": {
  20174. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20175. "type": "integer"
  20176. },
  20177. "marginformula": {
  20178. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20179. "type": "integer"
  20180. },
  20181. "marginformula2": {
  20182. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20183. "type": "integer"
  20184. },
  20185. "marketid": {
  20186. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20187. "type": "integer"
  20188. },
  20189. "marketname": {
  20190. "description": "市场名称",
  20191. "type": "string"
  20192. },
  20193. "marketserviceid": {
  20194. "description": "市场服务ID",
  20195. "type": "integer"
  20196. },
  20197. "marketstatus": {
  20198. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20199. "type": "integer"
  20200. },
  20201. "markettype": {
  20202. "description": "市场类型- 1:非交易服务 2:交易服务",
  20203. "type": "integer"
  20204. },
  20205. "matchermode": {
  20206. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20207. "type": "integer"
  20208. },
  20209. "openmethod": {
  20210. "description": "开盘模式 - 0 自动 1手动",
  20211. "type": "integer"
  20212. },
  20213. "otcuserid": {
  20214. "description": "场外期权做市商[场外期权]",
  20215. "type": "integer"
  20216. },
  20217. "outersynctime": {
  20218. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20219. "type": "string"
  20220. },
  20221. "pendingflag": {
  20222. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20223. "type": "integer"
  20224. },
  20225. "pendingtime": {
  20226. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20227. "type": "string"
  20228. },
  20229. "performancetempid": {
  20230. "description": "履约计划模板ID - 作废",
  20231. "type": "integer"
  20232. },
  20233. "premiumquotemode": {
  20234. "description": "权利金报价方式 - 1:自动 2:手动",
  20235. "type": "integer"
  20236. },
  20237. "rebateratio": {
  20238. "description": "返利比率[竞价式]",
  20239. "type": "number"
  20240. },
  20241. "reckonorder": {
  20242. "description": "结算顺序",
  20243. "type": "integer"
  20244. },
  20245. "reckonpricealgorithm": {
  20246. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20247. "type": "integer"
  20248. },
  20249. "reckonpriceparam": {
  20250. "description": "结算价参数",
  20251. "type": "integer"
  20252. },
  20253. "reckontime": {
  20254. "description": "结算时间[通道交易-对冲](HH:mm)",
  20255. "type": "string"
  20256. },
  20257. "roleprioritytype": {
  20258. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20259. "type": "integer"
  20260. },
  20261. "selllistingauditflag": {
  20262. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20263. "type": "integer"
  20264. },
  20265. "trademarkettype": {
  20266. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20267. "type": "integer"
  20268. },
  20269. "trademode": {
  20270. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20271. "type": "integer"
  20272. },
  20273. "tradeproperty": {
  20274. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20275. "type": "integer"
  20276. },
  20277. "tradetype": {
  20278. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20279. "type": "integer"
  20280. }
  20281. }
  20282. },
  20283. "models.Marketrun": {
  20284. "type": "object",
  20285. "required": [
  20286. "marketid",
  20287. "nexttradedate",
  20288. "reckonflag",
  20289. "runstatus",
  20290. "tradedate",
  20291. "tradedate2"
  20292. ],
  20293. "properties": {
  20294. "afternexttradedate": {
  20295. "description": "下下交易日",
  20296. "type": "string"
  20297. },
  20298. "clearquoteflag": {
  20299. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20300. "type": "integer"
  20301. },
  20302. "lastreckondate": {
  20303. "description": "最新交易日(结算成功)",
  20304. "type": "string"
  20305. },
  20306. "machinedate": {
  20307. "description": "机器时间",
  20308. "type": "string"
  20309. },
  20310. "manualflag": {
  20311. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20312. "type": "integer"
  20313. },
  20314. "marketid": {
  20315. "description": "市场ID",
  20316. "type": "integer"
  20317. },
  20318. "nexttradedate": {
  20319. "description": "下一交易日",
  20320. "type": "string"
  20321. },
  20322. "pretradedate": {
  20323. "description": "上一交易日",
  20324. "type": "string"
  20325. },
  20326. "reckonflag": {
  20327. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20328. "type": "integer"
  20329. },
  20330. "runstatus": {
  20331. "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.今日免清算",
  20332. "type": "integer"
  20333. },
  20334. "sectionid": {
  20335. "description": "时间段号[多时段时用]",
  20336. "type": "integer"
  20337. },
  20338. "tradedate": {
  20339. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20340. "type": "string"
  20341. },
  20342. "tradedate2": {
  20343. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20344. "type": "string"
  20345. },
  20346. "updatetime": {
  20347. "description": "更新时间",
  20348. "type": "string"
  20349. }
  20350. }
  20351. },
  20352. "models.Messageboard": {
  20353. "type": "object",
  20354. "required": [
  20355. "messageboardid"
  20356. ],
  20357. "properties": {
  20358. "contactnum": {
  20359. "description": "联系电话",
  20360. "type": "string"
  20361. },
  20362. "createtime": {
  20363. "description": "创建时间",
  20364. "type": "string"
  20365. },
  20366. "message": {
  20367. "description": "留言信息",
  20368. "type": "string"
  20369. },
  20370. "messageboardid": {
  20371. "description": "留言簿ID(SEQ_MessageBoard)",
  20372. "type": "integer"
  20373. },
  20374. "userid": {
  20375. "description": "用户ID",
  20376. "type": "integer"
  20377. }
  20378. }
  20379. },
  20380. "models.MyCoupon": {
  20381. "type": "object",
  20382. "required": [
  20383. "accountid",
  20384. "coupontypeid"
  20385. ],
  20386. "properties": {
  20387. "accountid": {
  20388. "description": "资金账户ID",
  20389. "type": "integer"
  20390. },
  20391. "areauserid": {
  20392. "description": "所属机构",
  20393. "type": "integer"
  20394. },
  20395. "conditionvalue": {
  20396. "description": "条件阈值(可为0)",
  20397. "type": "number"
  20398. },
  20399. "couponcategroy": {
  20400. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20401. "type": "integer"
  20402. },
  20403. "couponname": {
  20404. "description": "优惠券名称",
  20405. "type": "string"
  20406. },
  20407. "coupontypeid": {
  20408. "description": "优惠券类型ID",
  20409. "type": "string"
  20410. },
  20411. "couponvalue": {
  20412. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20413. "type": "number"
  20414. },
  20415. "curfreezeqty": {
  20416. "description": "期末冻结数量",
  20417. "type": "integer"
  20418. },
  20419. "curqty": {
  20420. "description": "期末数量",
  20421. "type": "integer"
  20422. },
  20423. "isgeneral": {
  20424. "description": "是否通用券 - 0:否 1:是",
  20425. "type": "integer"
  20426. },
  20427. "isunusable": {
  20428. "description": "是否不可用",
  20429. "type": "boolean"
  20430. },
  20431. "limitedflag": {
  20432. "description": "是否指定商品 - 0:不限 1:限制",
  20433. "type": "integer"
  20434. },
  20435. "limitedgoodsids": {
  20436. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20437. "type": "string"
  20438. },
  20439. "orifreezeqty": {
  20440. "description": "期初冻结数量",
  20441. "type": "integer"
  20442. },
  20443. "oriqty": {
  20444. "description": "期初数量",
  20445. "type": "integer"
  20446. },
  20447. "reasontype": {
  20448. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20449. "type": "integer"
  20450. },
  20451. "todaydecrease": {
  20452. "description": "今日减少",
  20453. "type": "integer"
  20454. },
  20455. "todayincrease": {
  20456. "description": "今日增加",
  20457. "type": "integer"
  20458. },
  20459. "userid": {
  20460. "description": "用户ID",
  20461. "type": "integer"
  20462. },
  20463. "userscope": {
  20464. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20465. "type": "string"
  20466. }
  20467. }
  20468. },
  20469. "models.MyCouponHold": {
  20470. "type": "object",
  20471. "required": [
  20472. "couponholdid"
  20473. ],
  20474. "properties": {
  20475. "accountid": {
  20476. "description": "资金账户ID",
  20477. "type": "integer"
  20478. },
  20479. "conditionvalue": {
  20480. "description": "条件阈值(可为0)",
  20481. "type": "number"
  20482. },
  20483. "couponcategroy": {
  20484. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20485. "type": "integer"
  20486. },
  20487. "couponholdid": {
  20488. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20489. "type": "string"
  20490. },
  20491. "couponname": {
  20492. "description": "优惠券名称",
  20493. "type": "string"
  20494. },
  20495. "coupontypeid": {
  20496. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20497. "type": "string"
  20498. },
  20499. "couponvalue": {
  20500. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20501. "type": "number"
  20502. },
  20503. "createtime": {
  20504. "description": "创建时间",
  20505. "type": "string"
  20506. },
  20507. "enddate": {
  20508. "description": "结束日期",
  20509. "type": "string"
  20510. },
  20511. "giveapplyid": {
  20512. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20513. "type": "integer"
  20514. },
  20515. "holdstatus": {
  20516. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20517. "type": "integer"
  20518. },
  20519. "isgeneral": {
  20520. "description": "是否通用券 - 0:否 1:是",
  20521. "type": "integer"
  20522. },
  20523. "limitedflag": {
  20524. "description": "是否指定商品 - 0:不限 1:限制",
  20525. "type": "integer"
  20526. },
  20527. "limitedgoodsids": {
  20528. "description": "指定商品IDs[逗号分隔]",
  20529. "type": "string"
  20530. },
  20531. "qty": {
  20532. "description": "数量(按1平铺)",
  20533. "type": "integer"
  20534. },
  20535. "startdate": {
  20536. "description": "开始日期",
  20537. "type": "string"
  20538. },
  20539. "userid": {
  20540. "description": "用户ID",
  20541. "type": "integer"
  20542. },
  20543. "userscope": {
  20544. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20545. "type": "string"
  20546. }
  20547. }
  20548. },
  20549. "models.MyUsedCoupon": {
  20550. "type": "object",
  20551. "required": [
  20552. "coupontypeid",
  20553. "orderid"
  20554. ],
  20555. "properties": {
  20556. "accountid": {
  20557. "description": "资金账户ID(买方)",
  20558. "type": "integer"
  20559. },
  20560. "conditionvalue": {
  20561. "description": "条件阈值(可为0)",
  20562. "type": "number"
  20563. },
  20564. "couponcategroy": {
  20565. "description": "种类 - 1:现金券 2:折扣券",
  20566. "type": "integer"
  20567. },
  20568. "couponname": {
  20569. "description": "优惠券名称",
  20570. "type": "string"
  20571. },
  20572. "coupontypeid": {
  20573. "description": "优惠券类型ID(买方)",
  20574. "type": "string"
  20575. },
  20576. "couponvalue": {
  20577. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20578. "type": "number"
  20579. },
  20580. "createtime": {
  20581. "description": "创建时间",
  20582. "type": "string"
  20583. },
  20584. "goodsid": {
  20585. "description": "商品ID",
  20586. "type": "integer"
  20587. },
  20588. "handlestatus": {
  20589. "description": "处理状态",
  20590. "type": "integer"
  20591. },
  20592. "marketid": {
  20593. "description": "市场ID",
  20594. "type": "integer"
  20595. },
  20596. "offamount": {
  20597. "description": "优惠金额",
  20598. "type": "number"
  20599. },
  20600. "orderid": {
  20601. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20602. "type": "string"
  20603. },
  20604. "sellaccountid": {
  20605. "description": "资金账户ID(卖方)",
  20606. "type": "integer"
  20607. },
  20608. "tradeamount": {
  20609. "description": "成交金额",
  20610. "type": "number"
  20611. },
  20612. "tradeid": {
  20613. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20614. "type": "string"
  20615. },
  20616. "usedqty": {
  20617. "description": "使用数量",
  20618. "type": "integer"
  20619. }
  20620. }
  20621. },
  20622. "models.OperationPrimaryMenu": {
  20623. "type": "object",
  20624. "properties": {
  20625. "Children": {
  20626. "description": "二级功能菜单",
  20627. "type": "array",
  20628. "items": {
  20629. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20630. }
  20631. },
  20632. "Key": {
  20633. "description": "菜单KEY",
  20634. "type": "string"
  20635. },
  20636. "Label": {
  20637. "description": "菜单标题",
  20638. "type": "string"
  20639. }
  20640. }
  20641. },
  20642. "models.OperationSecondaryMenu": {
  20643. "type": "object",
  20644. "properties": {
  20645. "Key": {
  20646. "description": "菜单KEY",
  20647. "type": "string"
  20648. },
  20649. "Label": {
  20650. "description": "菜单标题",
  20651. "type": "string"
  20652. },
  20653. "TabList": {
  20654. "description": "三级功能菜单",
  20655. "type": "array",
  20656. "items": {
  20657. "$ref": "#/definitions/models.OperationTabMenu"
  20658. }
  20659. }
  20660. }
  20661. },
  20662. "models.OperationTabMenu": {
  20663. "type": "object",
  20664. "properties": {
  20665. "Key": {
  20666. "description": "菜单KEY",
  20667. "type": "string"
  20668. },
  20669. "Label": {
  20670. "description": "菜单标题",
  20671. "type": "string"
  20672. }
  20673. }
  20674. },
  20675. "models.QueryErrorInfosRsp": {
  20676. "type": "object",
  20677. "required": [
  20678. "errorid"
  20679. ],
  20680. "properties": {
  20681. "description": {
  20682. "description": "异常描述",
  20683. "type": "string"
  20684. },
  20685. "errorcode": {
  20686. "description": "异常代码",
  20687. "type": "string"
  20688. },
  20689. "errorid": {
  20690. "description": "异常ID",
  20691. "type": "integer"
  20692. },
  20693. "modulecode": {
  20694. "description": "所属模块",
  20695. "type": "string"
  20696. },
  20697. "operatecode": {
  20698. "description": "所属操作",
  20699. "type": "string"
  20700. },
  20701. "rownumber": {
  20702. "description": "行号",
  20703. "type": "string"
  20704. }
  20705. }
  20706. },
  20707. "models.QueryHedgeOrderDetailRsp": {
  20708. "type": "object",
  20709. "properties": {
  20710. "accountid": {
  20711. "description": "账户ID",
  20712. "type": "integer"
  20713. },
  20714. "buyorsell": {
  20715. "description": "买卖 - 0:买 1:卖",
  20716. "type": "integer"
  20717. },
  20718. "cancellogincode": {
  20719. "description": "撤单人",
  20720. "type": "string"
  20721. },
  20722. "channelbuildtype": {
  20723. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20724. "type": "integer"
  20725. },
  20726. "channelinnerorderstatus": {
  20727. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20728. "type": "integer"
  20729. },
  20730. "channeloperatetype": {
  20731. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20732. "type": "integer"
  20733. },
  20734. "closetype": {
  20735. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20736. "type": "integer"
  20737. },
  20738. "curexchangerate": {
  20739. "description": "当前汇率",
  20740. "type": "number"
  20741. },
  20742. "exchangefullname": {
  20743. "description": "外部交易所全称",
  20744. "type": "string"
  20745. },
  20746. "goodscode": {
  20747. "description": "商品代码(内部)",
  20748. "type": "string"
  20749. },
  20750. "goodsid": {
  20751. "description": "商品ID",
  20752. "type": "integer"
  20753. },
  20754. "goodsname": {
  20755. "description": "商品名称",
  20756. "type": "string"
  20757. },
  20758. "marketid": {
  20759. "description": "市场ID",
  20760. "type": "integer"
  20761. },
  20762. "openfreezemargin": {
  20763. "description": "冻结保证金(冻结交易金额)",
  20764. "type": "number"
  20765. },
  20766. "orderid": {
  20767. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20768. "type": "string"
  20769. },
  20770. "orderlogincode": {
  20771. "description": "委托人",
  20772. "type": "string"
  20773. },
  20774. "orderprice": {
  20775. "description": "委托价格(账户)",
  20776. "type": "number"
  20777. },
  20778. "orderqty": {
  20779. "description": "委托数量",
  20780. "type": "integer"
  20781. },
  20782. "ordertime": {
  20783. "description": "委托时间",
  20784. "type": "string"
  20785. },
  20786. "pricemode": {
  20787. "description": "取价方式 - 1:市价 2: 限价",
  20788. "type": "integer"
  20789. },
  20790. "tradedate": {
  20791. "description": "交易日(yyyyMMdd)",
  20792. "type": "string"
  20793. },
  20794. "tradeqty": {
  20795. "description": "成交数量",
  20796. "type": "integer"
  20797. }
  20798. }
  20799. },
  20800. "models.QueryHedgeTradeDetailRsp": {
  20801. "type": "object",
  20802. "properties": {
  20803. "accountid": {
  20804. "description": "账号ID",
  20805. "type": "integer"
  20806. },
  20807. "buyorsell": {
  20808. "description": "方向 - 0:买 1:卖",
  20809. "type": "integer"
  20810. },
  20811. "channelbuildtype": {
  20812. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20813. "type": "integer"
  20814. },
  20815. "closecharge": {
  20816. "description": "平仓手续费(账户)",
  20817. "type": "number"
  20818. },
  20819. "closecharge2": {
  20820. "description": "平仓手续费(商品)",
  20821. "type": "number"
  20822. },
  20823. "closepl": {
  20824. "description": "平仓盈亏(账户)",
  20825. "type": "number"
  20826. },
  20827. "closepl2": {
  20828. "description": "平仓盈亏(商品)",
  20829. "type": "number"
  20830. },
  20831. "closepl3": {
  20832. "description": "平仓盈亏(账户)(逐笔)",
  20833. "type": "number"
  20834. },
  20835. "closepl4": {
  20836. "description": "平仓盈亏(商品)(逐笔)",
  20837. "type": "number"
  20838. },
  20839. "closetype": {
  20840. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20841. "type": "integer"
  20842. },
  20843. "curexchangerate": {
  20844. "description": "当前汇率",
  20845. "type": "number"
  20846. },
  20847. "exchangefullname": {
  20848. "description": "外部交易所全称",
  20849. "type": "string"
  20850. },
  20851. "goodscode": {
  20852. "description": "商品代码(内部)",
  20853. "type": "string"
  20854. },
  20855. "goodsid": {
  20856. "description": "商品ID",
  20857. "type": "integer"
  20858. },
  20859. "goodsname": {
  20860. "description": "商品名称",
  20861. "type": "string"
  20862. },
  20863. "marketid": {
  20864. "description": "市场ID",
  20865. "type": "integer"
  20866. },
  20867. "opencharge": {
  20868. "description": "建仓手续费(账户)",
  20869. "type": "number"
  20870. },
  20871. "opencharge2": {
  20872. "description": "建仓手续费(商品)",
  20873. "type": "number"
  20874. },
  20875. "orderid": {
  20876. "description": "委托单号",
  20877. "type": "string"
  20878. },
  20879. "orderlogincode": {
  20880. "description": "委托人",
  20881. "type": "string"
  20882. },
  20883. "tradeamount": {
  20884. "description": "成交金额(账户)",
  20885. "type": "number"
  20886. },
  20887. "tradedate": {
  20888. "description": "交易日(yyyyMMdd)",
  20889. "type": "string"
  20890. },
  20891. "tradeid": {
  20892. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20893. "type": "string"
  20894. },
  20895. "tradeprice": {
  20896. "description": "成交价格",
  20897. "type": "number"
  20898. },
  20899. "tradeqty": {
  20900. "description": "成交数量",
  20901. "type": "integer"
  20902. },
  20903. "tradetime": {
  20904. "description": "成交时间",
  20905. "type": "string"
  20906. },
  20907. "tradetype": {
  20908. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20909. "type": "integer"
  20910. }
  20911. }
  20912. },
  20913. "models.QuotePrimaryMenu": {
  20914. "type": "object",
  20915. "properties": {
  20916. "Index": {
  20917. "description": "序号",
  20918. "type": "integer"
  20919. },
  20920. "Key": {
  20921. "description": "键名",
  20922. "type": "string"
  20923. },
  20924. "Name": {
  20925. "description": "菜单名称",
  20926. "type": "string"
  20927. },
  20928. "SubMenus": {
  20929. "description": "子菜单",
  20930. "type": "array",
  20931. "items": {
  20932. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20933. }
  20934. },
  20935. "SubTitleType": {
  20936. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20937. "type": "integer"
  20938. },
  20939. "TradeModes": {
  20940. "description": "包含市场交易类型",
  20941. "type": "string"
  20942. }
  20943. }
  20944. },
  20945. "models.QuoteSecondaryMenu": {
  20946. "type": "object",
  20947. "properties": {
  20948. "ExExchangeCode": {
  20949. "description": "外部交易所代码",
  20950. "type": "string"
  20951. },
  20952. "ExExchangeID": {
  20953. "description": "外部交易所ID",
  20954. "type": "integer"
  20955. },
  20956. "GoodsGroupIDs": {
  20957. "description": "商品组ID列表",
  20958. "type": "array",
  20959. "items": {
  20960. "type": "integer"
  20961. }
  20962. },
  20963. "Index": {
  20964. "description": "序号",
  20965. "type": "integer"
  20966. },
  20967. "MarketID": {
  20968. "description": "市场ID",
  20969. "type": "integer"
  20970. },
  20971. "MenuTitle": {
  20972. "description": "菜单标题(市场名称或外部交易所名称)",
  20973. "type": "string"
  20974. },
  20975. "TradeMode": {
  20976. "description": "交易模式",
  20977. "type": "integer"
  20978. }
  20979. }
  20980. },
  20981. "models.RelatedGoodsEx": {
  20982. "type": "object",
  20983. "properties": {
  20984. "goodscode": {
  20985. "description": "商品代码",
  20986. "type": "string"
  20987. },
  20988. "goodsid": {
  20989. "description": "商品id",
  20990. "type": "integer"
  20991. },
  20992. "goodsname": {
  20993. "description": "商品名称",
  20994. "type": "string"
  20995. }
  20996. }
  20997. },
  20998. "models.SearchGoods": {
  20999. "type": "object",
  21000. "required": [
  21001. "goodscode",
  21002. "goodsid",
  21003. "goodsname",
  21004. "marketid",
  21005. "trademode"
  21006. ],
  21007. "properties": {
  21008. "goodscode": {
  21009. "description": "商品代码(内部)",
  21010. "type": "string"
  21011. },
  21012. "goodsid": {
  21013. "description": "商品ID(自增ID SEQ_GOODS)",
  21014. "type": "integer"
  21015. },
  21016. "goodsname": {
  21017. "description": "商品名称",
  21018. "type": "string"
  21019. },
  21020. "marketid": {
  21021. "description": "所属市场ID",
  21022. "type": "integer"
  21023. },
  21024. "marketname": {
  21025. "description": "市场名称",
  21026. "type": "string"
  21027. },
  21028. "trademode": {
  21029. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21030. "type": "integer"
  21031. }
  21032. }
  21033. },
  21034. "models.Systemparam": {
  21035. "type": "object",
  21036. "required": [
  21037. "paramcode"
  21038. ],
  21039. "properties": {
  21040. "loginid": {
  21041. "description": "更新用户账号,登录账号",
  21042. "type": "string"
  21043. },
  21044. "modifyflag": {
  21045. "description": "修改标志0 不允许修改 1 允许修改",
  21046. "type": "integer"
  21047. },
  21048. "paramcode": {
  21049. "description": "参数代码",
  21050. "type": "string"
  21051. },
  21052. "paramname": {
  21053. "description": "参数名",
  21054. "type": "string"
  21055. },
  21056. "paramtype": {
  21057. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21058. "type": "integer"
  21059. },
  21060. "paramvalue": {
  21061. "description": "参数值",
  21062. "type": "string"
  21063. },
  21064. "paramvalue2": {
  21065. "description": "参数值(CLOB)",
  21066. "type": "string"
  21067. },
  21068. "regexpress": {
  21069. "description": "正则表达式",
  21070. "type": "string"
  21071. },
  21072. "remark": {
  21073. "description": "备注",
  21074. "type": "string"
  21075. },
  21076. "serverip": {
  21077. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21078. "type": "string"
  21079. },
  21080. "showflag": {
  21081. "description": "是否显示0 不显示 1 显示",
  21082. "type": "integer"
  21083. },
  21084. "updatetime": {
  21085. "description": "更新时间",
  21086. "type": "string"
  21087. },
  21088. "userid": {
  21089. "description": "更新用户ID",
  21090. "type": "integer"
  21091. }
  21092. }
  21093. },
  21094. "models.Szdz3convertconfig": {
  21095. "type": "object",
  21096. "required": [
  21097. "converttype",
  21098. "innergoodsid",
  21099. "outergoodscode"
  21100. ],
  21101. "properties": {
  21102. "canin": {
  21103. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21104. "type": "integer"
  21105. },
  21106. "canout": {
  21107. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21108. "type": "integer"
  21109. },
  21110. "converttype": {
  21111. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21112. "type": "integer"
  21113. },
  21114. "createtime": {
  21115. "description": "创建时间",
  21116. "type": "string"
  21117. },
  21118. "creatorid": {
  21119. "description": "创建人",
  21120. "type": "integer"
  21121. },
  21122. "daymaxvalue": {
  21123. "description": "当日最大转入限制",
  21124. "type": "number"
  21125. },
  21126. "freezedays": {
  21127. "description": "冻结天数 [5:花生米转交易]",
  21128. "type": "integer"
  21129. },
  21130. "innergoodsid": {
  21131. "description": "内部商品ID[交易]",
  21132. "type": "integer"
  21133. },
  21134. "inratio": {
  21135. "description": "目标值",
  21136. "type": "integer"
  21137. },
  21138. "modifierid": {
  21139. "description": "修改人",
  21140. "type": "integer"
  21141. },
  21142. "modifytime": {
  21143. "description": "修改时间",
  21144. "type": "string"
  21145. },
  21146. "outergoodscode": {
  21147. "description": "外部商品代码[JD\\PD]",
  21148. "type": "string"
  21149. },
  21150. "outratio": {
  21151. "description": "源值",
  21152. "type": "integer"
  21153. },
  21154. "pddecimalplace": {
  21155. "description": "PD小数位",
  21156. "type": "integer"
  21157. },
  21158. "timemaxvalue": {
  21159. "description": "单次最大转入限制",
  21160. "type": "number"
  21161. },
  21162. "timeminvalue": {
  21163. "description": "单次最小转入限制",
  21164. "type": "number"
  21165. }
  21166. }
  21167. },
  21168. "models.Szdz3searchwhitelist": {
  21169. "type": "object",
  21170. "required": [
  21171. "userid"
  21172. ],
  21173. "properties": {
  21174. "createtime": {
  21175. "description": "创建时间",
  21176. "type": "string"
  21177. },
  21178. "creatorid": {
  21179. "description": "创建人",
  21180. "type": "integer"
  21181. },
  21182. "modifierid": {
  21183. "description": "修改人",
  21184. "type": "integer"
  21185. },
  21186. "modifytime": {
  21187. "description": "修改时间",
  21188. "type": "string"
  21189. },
  21190. "userid": {
  21191. "description": "用户ID",
  21192. "type": "integer"
  21193. }
  21194. }
  21195. },
  21196. "models.Taaccount": {
  21197. "type": "object",
  21198. "required": [
  21199. "accountid",
  21200. "userid"
  21201. ],
  21202. "properties": {
  21203. "accountflag": {
  21204. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21205. "type": "integer"
  21206. },
  21207. "accountid": {
  21208. "description": "资金账户ID",
  21209. "type": "integer"
  21210. },
  21211. "accountname": {
  21212. "description": "账户名称",
  21213. "type": "string"
  21214. },
  21215. "balance": {
  21216. "description": "期初余额",
  21217. "type": "number"
  21218. },
  21219. "capitalbalance": {
  21220. "description": "本金余额[外部子账户实际出入金余额]",
  21221. "type": "number"
  21222. },
  21223. "changeflag": {
  21224. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21225. "type": "integer"
  21226. },
  21227. "changetime": {
  21228. "description": "账户状态变更时间",
  21229. "type": "string"
  21230. },
  21231. "closepl": {
  21232. "description": "今日平仓盈亏",
  21233. "type": "number"
  21234. },
  21235. "creditdecrease": {
  21236. "description": "今日授信减少",
  21237. "type": "number"
  21238. },
  21239. "creditincrease": {
  21240. "description": "今日授信增加",
  21241. "type": "number"
  21242. },
  21243. "currencyid": {
  21244. "description": "货币ID",
  21245. "type": "integer"
  21246. },
  21247. "currentbalance": {
  21248. "description": "期末余额",
  21249. "type": "number"
  21250. },
  21251. "freezecharge": {
  21252. "description": "手续费冻结",
  21253. "type": "number"
  21254. },
  21255. "freezemargin": {
  21256. "description": "冻结保证金",
  21257. "type": "number"
  21258. },
  21259. "fromaccountid": {
  21260. "description": "所属上级账户",
  21261. "type": "integer"
  21262. },
  21263. "inamount": {
  21264. "description": "今日入金金额(包括三方入金)",
  21265. "type": "number"
  21266. },
  21267. "ismain": {
  21268. "description": "是否母账号 0:不是母账户 1:是母账户",
  21269. "type": "integer"
  21270. },
  21271. "ismarketaccount": {
  21272. "description": "是否机构接单账号 0:不是 1:是",
  21273. "type": "integer"
  21274. },
  21275. "isreckonaccount": {
  21276. "description": "是否机构分润账号 0:不是 1:是",
  21277. "type": "integer"
  21278. },
  21279. "mortgagecredit": {
  21280. "description": "授信金额",
  21281. "type": "number"
  21282. },
  21283. "orifreezecharge": {
  21284. "description": "期初手续费冻结",
  21285. "type": "number"
  21286. },
  21287. "orifreezemargin": {
  21288. "description": "期初冻结保证金",
  21289. "type": "number"
  21290. },
  21291. "orimortgagecredit": {
  21292. "description": "期初授信金额",
  21293. "type": "number"
  21294. },
  21295. "oriothercredit": {
  21296. "description": "期初其它授信金额",
  21297. "type": "number"
  21298. },
  21299. "oriotherfreezemargin": {
  21300. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21301. "type": "number"
  21302. },
  21303. "orioutamountfreeze": {
  21304. "description": "期初出金冻结",
  21305. "type": "number"
  21306. },
  21307. "oriusedmargin": {
  21308. "description": "期初占用保证金",
  21309. "type": "number"
  21310. },
  21311. "othercredit": {
  21312. "description": "其它授信金额",
  21313. "type": "number"
  21314. },
  21315. "othercreditdecrease": {
  21316. "description": "今日其它授信减少",
  21317. "type": "number"
  21318. },
  21319. "othercreditincrease": {
  21320. "description": "今日其它授信增加",
  21321. "type": "number"
  21322. },
  21323. "otherfreezemargin": {
  21324. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21325. "type": "number"
  21326. },
  21327. "otherincome": {
  21328. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21329. "type": "number"
  21330. },
  21331. "otherpay": {
  21332. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21333. "type": "number"
  21334. },
  21335. "outamount": {
  21336. "description": "今日出金金额(包括三方出金)",
  21337. "type": "number"
  21338. },
  21339. "outamountfreeze": {
  21340. "description": "出金冻结",
  21341. "type": "number"
  21342. },
  21343. "outthreshold": {
  21344. "description": "出金阈值",
  21345. "type": "number"
  21346. },
  21347. "parentaccountid": {
  21348. "description": "所属根账号",
  21349. "type": "integer"
  21350. },
  21351. "paycharge": {
  21352. "description": "今日手续费支出",
  21353. "type": "number"
  21354. },
  21355. "relatedaccountstatus": {
  21356. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21357. "type": "integer"
  21358. },
  21359. "relateduserid": {
  21360. "description": "关联用户",
  21361. "type": "integer"
  21362. },
  21363. "serivcegroup": {
  21364. "description": "服务分组",
  21365. "type": "integer"
  21366. },
  21367. "signstatus": {
  21368. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21369. "type": "integer"
  21370. },
  21371. "sublevelpath": {
  21372. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21373. "type": "string"
  21374. },
  21375. "taaccounttype": {
  21376. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21377. "type": "integer"
  21378. },
  21379. "thirdinamount": {
  21380. "description": "今日三方入金",
  21381. "type": "number"
  21382. },
  21383. "thirdoutamount": {
  21384. "description": "今日三方出金",
  21385. "type": "number"
  21386. },
  21387. "tradestatus": {
  21388. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21389. "type": "integer"
  21390. },
  21391. "tradestatuschangetime": {
  21392. "description": "激活时间",
  21393. "type": "string"
  21394. },
  21395. "transferamount": {
  21396. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21397. "type": "number"
  21398. },
  21399. "usedmargin": {
  21400. "description": "占用保证金",
  21401. "type": "number"
  21402. },
  21403. "userid": {
  21404. "description": "用户ID",
  21405. "type": "integer"
  21406. }
  21407. }
  21408. },
  21409. "models.Tablecolumnconfig": {
  21410. "type": "object",
  21411. "required": [
  21412. "autoid"
  21413. ],
  21414. "properties": {
  21415. "aligntype": {
  21416. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21417. "type": "integer"
  21418. },
  21419. "autoid": {
  21420. "description": "AutoID",
  21421. "type": "integer"
  21422. },
  21423. "columnfield": {
  21424. "description": "列字段",
  21425. "type": "string"
  21426. },
  21427. "columntitle": {
  21428. "description": "列Title",
  21429. "type": "string"
  21430. },
  21431. "columnwidth": {
  21432. "description": "列宽",
  21433. "type": "string"
  21434. },
  21435. "formatterstring": {
  21436. "description": "格式化字符",
  21437. "type": "string"
  21438. },
  21439. "formattertype": {
  21440. "description": "格式化类型",
  21441. "type": "string"
  21442. },
  21443. "groupname": {
  21444. "description": "表头分组名称",
  21445. "type": "string"
  21446. },
  21447. "isshow": {
  21448. "description": "是否显示 - 0:不显示 1:显示",
  21449. "type": "integer"
  21450. },
  21451. "needsummary": {
  21452. "description": "是否需要汇总 - 0:不需要 1:需要",
  21453. "type": "integer"
  21454. },
  21455. "orderindex": {
  21456. "description": "顺序",
  21457. "type": "integer"
  21458. },
  21459. "remark": {
  21460. "description": "备注",
  21461. "type": "string"
  21462. },
  21463. "summarytype": {
  21464. "description": "汇总类型 - 1:加总 2:最后一个",
  21465. "type": "integer"
  21466. },
  21467. "tablekey": {
  21468. "description": "列表Key",
  21469. "type": "string"
  21470. }
  21471. }
  21472. },
  21473. "models.Useraccount": {
  21474. "type": "object",
  21475. "required": [
  21476. "userid"
  21477. ],
  21478. "properties": {
  21479. "accountname": {
  21480. "description": "账户名称(机构名称)",
  21481. "type": "string"
  21482. },
  21483. "accountstatus": {
  21484. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21485. "type": "integer"
  21486. },
  21487. "auditremark": {
  21488. "description": "审核备注",
  21489. "type": "string"
  21490. },
  21491. "audittime": {
  21492. "description": "审核时间",
  21493. "type": "string"
  21494. },
  21495. "audituserid": {
  21496. "description": "审核人",
  21497. "type": "integer"
  21498. },
  21499. "broker": {
  21500. "description": "所属经纪人ID",
  21501. "type": "integer"
  21502. },
  21503. "canceltime": {
  21504. "description": "销户时间",
  21505. "type": "string"
  21506. },
  21507. "canceluserid": {
  21508. "description": "销户人",
  21509. "type": "integer"
  21510. },
  21511. "createtime": {
  21512. "description": "创建时间",
  21513. "type": "string"
  21514. },
  21515. "creatorid": {
  21516. "description": "创建人",
  21517. "type": "integer"
  21518. },
  21519. "hasauth": {
  21520. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21521. "type": "integer"
  21522. },
  21523. "isanonymous": {
  21524. "description": "是否匿名下单 - 0:否 1:是",
  21525. "type": "integer"
  21526. },
  21527. "maxinvestornum": {
  21528. "description": "最大用户数(经纪会员下投资者个数)",
  21529. "type": "integer"
  21530. },
  21531. "memberuserid": {
  21532. "description": "所属会员ID",
  21533. "type": "integer"
  21534. },
  21535. "modifierid": {
  21536. "description": "修改人",
  21537. "type": "integer"
  21538. },
  21539. "modifyremark": {
  21540. "description": "变更备注",
  21541. "type": "string"
  21542. },
  21543. "modifystatus": {
  21544. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21545. "type": "integer"
  21546. },
  21547. "modifytime": {
  21548. "description": "修改时间",
  21549. "type": "string"
  21550. },
  21551. "parentuserid": {
  21552. "description": "所属机构ID",
  21553. "type": "integer"
  21554. },
  21555. "reckonaccountid": {
  21556. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21557. "type": "integer"
  21558. },
  21559. "refercount": {
  21560. "description": "推荐总人数",
  21561. "type": "integer"
  21562. },
  21563. "refereeuserid": {
  21564. "description": "推荐人ID",
  21565. "type": "integer"
  21566. },
  21567. "refernum": {
  21568. "description": "推荐码",
  21569. "type": "string"
  21570. },
  21571. "subarealevelpath": {
  21572. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21573. "type": "string"
  21574. },
  21575. "userid": {
  21576. "description": "用户ID",
  21577. "type": "integer"
  21578. },
  21579. "usertype": {
  21580. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21581. "type": "integer"
  21582. }
  21583. }
  21584. },
  21585. "models.Userfavoritegoods": {
  21586. "type": "object",
  21587. "required": [
  21588. "goodsid"
  21589. ],
  21590. "properties": {
  21591. "goodsid": {
  21592. "description": "商品ID",
  21593. "type": "integer"
  21594. }
  21595. }
  21596. },
  21597. "models.Userinfo": {
  21598. "type": "object",
  21599. "required": [
  21600. "userid"
  21601. ],
  21602. "properties": {
  21603. "address": {
  21604. "description": "地址",
  21605. "type": "string"
  21606. },
  21607. "attachment1": {
  21608. "description": "附件1",
  21609. "type": "string"
  21610. },
  21611. "attachment2": {
  21612. "description": "附件2",
  21613. "type": "string"
  21614. },
  21615. "bankaccount": {
  21616. "description": "银行帐号 (加密存储)",
  21617. "type": "string"
  21618. },
  21619. "bankaccountname": {
  21620. "description": "收款人名称",
  21621. "type": "string"
  21622. },
  21623. "bankcardfrontphotourl": {
  21624. "description": "银行卡正面照地址",
  21625. "type": "string"
  21626. },
  21627. "bankid": {
  21628. "description": "银行编码",
  21629. "type": "string"
  21630. },
  21631. "bankname": {
  21632. "description": "银行名称",
  21633. "type": "string"
  21634. },
  21635. "biznature": {
  21636. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21637. "type": "integer"
  21638. },
  21639. "bizscope": {
  21640. "description": "企业经营范围(企业)",
  21641. "type": "string"
  21642. },
  21643. "cardbackphotourl": {
  21644. "description": "证件背面图片地址",
  21645. "type": "string"
  21646. },
  21647. "cardfrontphotourl": {
  21648. "description": "证件正面图片地址",
  21649. "type": "string"
  21650. },
  21651. "cardnum": {
  21652. "description": "证件号码(加密存储)",
  21653. "type": "string"
  21654. },
  21655. "cardtypeid": {
  21656. "description": "证件类型ID",
  21657. "type": "integer"
  21658. },
  21659. "cityid": {
  21660. "description": "市",
  21661. "type": "integer"
  21662. },
  21663. "company": {
  21664. "description": "公司(个人)",
  21665. "type": "string"
  21666. },
  21667. "contactname": {
  21668. "description": "联系人",
  21669. "type": "string"
  21670. },
  21671. "countryid": {
  21672. "description": "国家",
  21673. "type": "integer"
  21674. },
  21675. "createtime": {
  21676. "description": "创建时间",
  21677. "type": "string"
  21678. },
  21679. "creatorid": {
  21680. "description": "创建人",
  21681. "type": "integer"
  21682. },
  21683. "customername": {
  21684. "description": "客户名称(企业名称)",
  21685. "type": "string"
  21686. },
  21687. "districtid": {
  21688. "description": "地区",
  21689. "type": "integer"
  21690. },
  21691. "email": {
  21692. "description": "邮件(加密存储)",
  21693. "type": "string"
  21694. },
  21695. "fax": {
  21696. "description": "传真(加密存储)",
  21697. "type": "string"
  21698. },
  21699. "halfbodyphotourl": {
  21700. "description": "半身照地址",
  21701. "type": "string"
  21702. },
  21703. "hasencrypt": {
  21704. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21705. "type": "integer"
  21706. },
  21707. "headurl": {
  21708. "description": "头像地址",
  21709. "type": "string"
  21710. },
  21711. "legalcardbackphotourl": {
  21712. "description": "法人身份证背面照地址",
  21713. "type": "string"
  21714. },
  21715. "legalcardfrontphotourl": {
  21716. "description": "法人身份证正面照地址",
  21717. "type": "string"
  21718. },
  21719. "legalpersonname": {
  21720. "description": "法人姓名(企业)",
  21721. "type": "string"
  21722. },
  21723. "mobile": {
  21724. "description": "手机号码(加密存储)",
  21725. "type": "string"
  21726. },
  21727. "mobile2": {
  21728. "description": "手机号码[明文-尚志]",
  21729. "type": "string"
  21730. },
  21731. "modifierid": {
  21732. "description": "修改人",
  21733. "type": "integer"
  21734. },
  21735. "modifiertime": {
  21736. "description": "修改时间",
  21737. "type": "string"
  21738. },
  21739. "needinvoice": {
  21740. "description": "是否需要发票 - 0:不需要 1:需要",
  21741. "type": "integer"
  21742. },
  21743. "nickname": {
  21744. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21745. "type": "string"
  21746. },
  21747. "openmode": {
  21748. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21749. "type": "integer"
  21750. },
  21751. "otherurl": {
  21752. "description": "其它图片地址[使用分号分隔]",
  21753. "type": "string"
  21754. },
  21755. "postalcode": {
  21756. "description": "邮政编码",
  21757. "type": "string"
  21758. },
  21759. "provinceid": {
  21760. "description": "省",
  21761. "type": "integer"
  21762. },
  21763. "qq": {
  21764. "description": "QQ(加密存储",
  21765. "type": "string"
  21766. },
  21767. "remark": {
  21768. "description": "备注",
  21769. "type": "string"
  21770. },
  21771. "sex": {
  21772. "description": "用户性别 0: 女 1: 男",
  21773. "type": "integer"
  21774. },
  21775. "signpdfurl": {
  21776. "description": "签约pdf文件",
  21777. "type": "string"
  21778. },
  21779. "telphone": {
  21780. "description": "联系电话(加密存储)",
  21781. "type": "string"
  21782. },
  21783. "userid": {
  21784. "description": "用户ID",
  21785. "type": "integer"
  21786. },
  21787. "userinfotype": {
  21788. "description": "用户信息类型 - 1:个人 2:企业",
  21789. "type": "integer"
  21790. },
  21791. "userstatus": {
  21792. "description": "用户状态 - 1:正常 2:注销",
  21793. "type": "integer"
  21794. },
  21795. "usertype": {
  21796. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21797. "type": "integer"
  21798. },
  21799. "wechat": {
  21800. "description": "微信(加密存储)",
  21801. "type": "string"
  21802. },
  21803. "wskhinfo": {
  21804. "description": "开户申请信息(JSON)",
  21805. "type": "string"
  21806. }
  21807. }
  21808. },
  21809. "models.WRSConverTDetail": {
  21810. "type": "object",
  21811. "properties": {
  21812. "convertratio": {
  21813. "description": "套保系数",
  21814. "type": "number"
  21815. },
  21816. "deliverygoodscode": {
  21817. "description": "现货商品代码",
  21818. "type": "string"
  21819. },
  21820. "deliverygoodsid": {
  21821. "description": "现货品种ID",
  21822. "type": "integer"
  21823. },
  21824. "deliverygoodsname": {
  21825. "description": "现货商品名称",
  21826. "type": "string"
  21827. },
  21828. "enumdicname": {
  21829. "description": "单位名称",
  21830. "type": "string"
  21831. },
  21832. "goodsunitid": {
  21833. "description": "套保品种单位id",
  21834. "type": "integer"
  21835. },
  21836. "middlegoodscode": {
  21837. "description": "套保品种代码",
  21838. "type": "string"
  21839. },
  21840. "middlegoodsid": {
  21841. "description": "套保品种ID",
  21842. "type": "integer"
  21843. },
  21844. "middlegoodsname": {
  21845. "description": "套保品种名称",
  21846. "type": "string"
  21847. },
  21848. "modifytime": {
  21849. "description": "修改时间",
  21850. "type": "string"
  21851. },
  21852. "wrstandardid": {
  21853. "description": "品类ID",
  21854. "type": "integer"
  21855. }
  21856. }
  21857. },
  21858. "models.WRStandardInfo": {
  21859. "type": "object",
  21860. "required": [
  21861. "wrstandardid"
  21862. ],
  21863. "properties": {
  21864. "areauserid": {
  21865. "description": "所属机构",
  21866. "type": "integer"
  21867. },
  21868. "convertfactor": {
  21869. "description": "标仓系数",
  21870. "type": "number"
  21871. },
  21872. "createtime": {
  21873. "description": "创建时间",
  21874. "type": "string"
  21875. },
  21876. "creatorid": {
  21877. "description": "创建人",
  21878. "type": "integer"
  21879. },
  21880. "deliverygoodsid": {
  21881. "description": "品种ID",
  21882. "type": "integer"
  21883. },
  21884. "deliverygoodsname": {
  21885. "description": "交割商品名称",
  21886. "type": "string"
  21887. },
  21888. "factoryitemjson": {
  21889. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  21890. "type": "string"
  21891. },
  21892. "isvalid": {
  21893. "description": "是否有效 - 0:无效 1:有效",
  21894. "type": "integer"
  21895. },
  21896. "minivalue": {
  21897. "description": "最小变动值",
  21898. "type": "integer"
  21899. },
  21900. "minivaluedp": {
  21901. "description": "最小变动值小数位",
  21902. "type": "integer"
  21903. },
  21904. "realminivalue": {
  21905. "description": "实际最小变动值",
  21906. "type": "integer"
  21907. },
  21908. "realminivaluedp": {
  21909. "description": "实际最小变动值小数位",
  21910. "type": "integer"
  21911. },
  21912. "remark": {
  21913. "description": "备注",
  21914. "type": "string"
  21915. },
  21916. "unitid": {
  21917. "description": "单位ID",
  21918. "type": "integer"
  21919. },
  21920. "unitname": {
  21921. "description": "单位",
  21922. "type": "string"
  21923. },
  21924. "updatetime": {
  21925. "description": "更新时间",
  21926. "type": "string"
  21927. },
  21928. "updatorid": {
  21929. "description": "更新人",
  21930. "type": "integer"
  21931. },
  21932. "wrsstatus": {
  21933. "description": "状态 - 作废 - 0:未激活 1:正常",
  21934. "type": "integer"
  21935. },
  21936. "wrstandardcode": {
  21937. "description": "现货品类代码",
  21938. "type": "string"
  21939. },
  21940. "wrstandardid": {
  21941. "description": "现货品类ID(SEQ_WRSTANDARD)",
  21942. "type": "integer"
  21943. },
  21944. "wrstandardname": {
  21945. "description": "现货品类名称",
  21946. "type": "string"
  21947. }
  21948. }
  21949. },
  21950. "models.Warehouseinfo": {
  21951. "type": "object",
  21952. "required": [
  21953. "autoid",
  21954. "warehousecode"
  21955. ],
  21956. "properties": {
  21957. "address": {
  21958. "description": "详细地址",
  21959. "type": "string"
  21960. },
  21961. "areauserid": {
  21962. "description": "所属机构",
  21963. "type": "integer"
  21964. },
  21965. "autoid": {
  21966. "description": "自增ID",
  21967. "type": "integer"
  21968. },
  21969. "cityid": {
  21970. "description": "市",
  21971. "type": "integer"
  21972. },
  21973. "contactname": {
  21974. "description": "联系人",
  21975. "type": "string"
  21976. },
  21977. "contactnum": {
  21978. "description": "联系电话",
  21979. "type": "string"
  21980. },
  21981. "countryid": {
  21982. "description": "国家",
  21983. "type": "integer"
  21984. },
  21985. "createtime": {
  21986. "description": "创建时间",
  21987. "type": "string"
  21988. },
  21989. "districtid": {
  21990. "description": "区",
  21991. "type": "integer"
  21992. },
  21993. "hasvideo": {
  21994. "description": "是否有视频 - 0:无 1:有",
  21995. "type": "integer"
  21996. },
  21997. "provinceid": {
  21998. "description": "省",
  21999. "type": "integer"
  22000. },
  22001. "remark": {
  22002. "description": "审核备注",
  22003. "type": "string"
  22004. },
  22005. "videourl": {
  22006. "description": "视频地址",
  22007. "type": "string"
  22008. },
  22009. "warehousecode": {
  22010. "description": "仓库代码",
  22011. "type": "string"
  22012. },
  22013. "warehousename": {
  22014. "description": "仓库名称",
  22015. "type": "string"
  22016. },
  22017. "warehousestatus": {
  22018. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22019. "type": "integer"
  22020. },
  22021. "warehousetype": {
  22022. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22023. "type": "integer"
  22024. }
  22025. }
  22026. },
  22027. "order.QueryHisTradeDetailRsp": {
  22028. "type": "object",
  22029. "required": [
  22030. "accountid",
  22031. "buyorsell",
  22032. "goodsid",
  22033. "histradedate",
  22034. "marketid",
  22035. "memberuserid",
  22036. "orderid",
  22037. "tradeamount",
  22038. "tradedate",
  22039. "tradeid",
  22040. "tradeprice",
  22041. "tradeqty",
  22042. "tradetime"
  22043. ],
  22044. "properties": {
  22045. "accountid": {
  22046. "description": "账户ID[报价币种]",
  22047. "type": "integer"
  22048. },
  22049. "buildtype": {
  22050. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22051. "type": "integer"
  22052. },
  22053. "buyorsell": {
  22054. "description": "方向 - 0:买 1:卖",
  22055. "type": "integer"
  22056. },
  22057. "charge": {
  22058. "description": "手续费",
  22059. "type": "number"
  22060. },
  22061. "closecharge": {
  22062. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22063. "type": "number"
  22064. },
  22065. "closeexchagechargevalue": {
  22066. "description": "平仓交易所手续费设置值",
  22067. "type": "number"
  22068. },
  22069. "closefeealgorithm": {
  22070. "description": "平仓手续费收取方式 1:比率 2:固定",
  22071. "type": "integer"
  22072. },
  22073. "closememberchargevalue": {
  22074. "description": "平仓会员手续费设置值",
  22075. "type": "number"
  22076. },
  22077. "closepl": {
  22078. "description": "平仓盈亏",
  22079. "type": "number"
  22080. },
  22081. "closepl2": {
  22082. "description": "平仓盈亏[逐笔]",
  22083. "type": "number"
  22084. },
  22085. "closeqty": {
  22086. "description": "平仓数量(先建后平操作 需要记录)",
  22087. "type": "integer"
  22088. },
  22089. "creditamount": {
  22090. "description": "授信金额",
  22091. "type": "number"
  22092. },
  22093. "gcaccountid": {
  22094. "description": "账户ID[合约币种]",
  22095. "type": "integer"
  22096. },
  22097. "goodscode": {
  22098. "description": "商品代码",
  22099. "type": "string"
  22100. },
  22101. "goodsid": {
  22102. "description": "商品ID",
  22103. "type": "integer"
  22104. },
  22105. "goodsname": {
  22106. "description": "商品名称",
  22107. "type": "string"
  22108. },
  22109. "histradedate": {
  22110. "description": "历史交易日",
  22111. "type": "string"
  22112. },
  22113. "intclosepl": {
  22114. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22115. "type": "integer"
  22116. },
  22117. "isconfirmexercise": {
  22118. "description": "是否确认行权- 0:否 1:是",
  22119. "type": "integer"
  22120. },
  22121. "ismain": {
  22122. "description": "是否主单 - 0:不是 1:是",
  22123. "type": "integer"
  22124. },
  22125. "ispreexercise": {
  22126. "description": "是否预申报- 0:否 1:是",
  22127. "type": "integer"
  22128. },
  22129. "isreckoned": {
  22130. "description": "是否结算 - 0:未结算 1:已结算",
  22131. "type": "integer"
  22132. },
  22133. "isvaliddata": {
  22134. "description": "是否有效 - 0:无效 1:有效",
  22135. "type": "integer"
  22136. },
  22137. "listingselecttype": {
  22138. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22139. "type": "integer"
  22140. },
  22141. "marketid": {
  22142. "description": "市场ID",
  22143. "type": "integer"
  22144. },
  22145. "marketname": {
  22146. "description": "市场名称",
  22147. "type": "string"
  22148. },
  22149. "matchaccountid": {
  22150. "description": "对手账号id",
  22151. "type": "integer"
  22152. },
  22153. "memberuserid": {
  22154. "description": "会员id 个人投资者 需要填写",
  22155. "type": "integer"
  22156. },
  22157. "opencharge": {
  22158. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22159. "type": "number"
  22160. },
  22161. "openexchagechargevalue": {
  22162. "description": "建仓交易所手续费设置值",
  22163. "type": "number"
  22164. },
  22165. "openfeealgorithm": {
  22166. "description": "建仓手续费收取方式 1:比率 2:固定",
  22167. "type": "integer"
  22168. },
  22169. "openmemberchargevalue": {
  22170. "description": "建仓会员手续费设置值",
  22171. "type": "number"
  22172. },
  22173. "openqty": {
  22174. "description": "开仓数量(先建后平操作 需要记录)",
  22175. "type": "integer"
  22176. },
  22177. "optiontype": {
  22178. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22179. "type": "integer"
  22180. },
  22181. "orderid": {
  22182. "description": "委托单号",
  22183. "type": "string"
  22184. },
  22185. "performanceplanid": {
  22186. "description": "履约计划ID[期权]",
  22187. "type": "integer"
  22188. },
  22189. "performancestatus": {
  22190. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22191. "type": "integer"
  22192. },
  22193. "preexerciseprice": {
  22194. "description": "预申报价格",
  22195. "type": "number"
  22196. },
  22197. "premium": {
  22198. "description": "权利金 - [持仓单的权利金]",
  22199. "type": "number"
  22200. },
  22201. "relatedouttradeid": {
  22202. "description": "关联外部成交单ID",
  22203. "type": "integer"
  22204. },
  22205. "status": {
  22206. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22207. "type": "integer"
  22208. },
  22209. "tradeamount": {
  22210. "description": "成交金额[账户币种,用于所有权]",
  22211. "type": "number"
  22212. },
  22213. "tradedate": {
  22214. "description": "交易日(yyyyMMdd)",
  22215. "type": "string"
  22216. },
  22217. "tradeid": {
  22218. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22219. "type": "string"
  22220. },
  22221. "trademode": {
  22222. "description": "交易模式",
  22223. "type": "integer"
  22224. },
  22225. "tradeprice": {
  22226. "description": "成交价格",
  22227. "type": "number"
  22228. },
  22229. "tradeproperty": {
  22230. "description": "交易属性",
  22231. "type": "integer"
  22232. },
  22233. "tradeqty": {
  22234. "description": "成交数量",
  22235. "type": "integer"
  22236. },
  22237. "tradetime": {
  22238. "description": "成交时间",
  22239. "type": "string"
  22240. },
  22241. "tradetype": {
  22242. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22243. "type": "integer"
  22244. }
  22245. }
  22246. },
  22247. "order.QueryHisTradeOrderDetailRsp": {
  22248. "type": "object",
  22249. "required": [
  22250. "accountid",
  22251. "buildtype",
  22252. "buyorsell",
  22253. "goodsid",
  22254. "histradedate",
  22255. "marketid",
  22256. "memberuserid",
  22257. "operatetype",
  22258. "orderid",
  22259. "orderqty",
  22260. "ordertime",
  22261. "pricemode",
  22262. "tradedate",
  22263. "validtype"
  22264. ],
  22265. "properties": {
  22266. "accountid": {
  22267. "description": "账户ID[报价币种]",
  22268. "type": "integer"
  22269. },
  22270. "buildtype": {
  22271. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22272. "type": "integer"
  22273. },
  22274. "buyorsell": {
  22275. "description": "买卖 - 0:买 1:卖",
  22276. "type": "integer"
  22277. },
  22278. "cancelorderid": {
  22279. "description": "撤单单号(撤单时填写)",
  22280. "type": "string"
  22281. },
  22282. "cancelqty": {
  22283. "description": "撤单数量",
  22284. "type": "integer"
  22285. },
  22286. "clientordertime": {
  22287. "description": "客户端委托时间",
  22288. "type": "string"
  22289. },
  22290. "clientticket": {
  22291. "description": "客户端流水号",
  22292. "type": "string"
  22293. },
  22294. "clienttype": {
  22295. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22296. "type": "integer"
  22297. },
  22298. "closeexchagechargevalue": {
  22299. "description": "平仓交易所手续费设置值",
  22300. "type": "number"
  22301. },
  22302. "closefeealgorithm": {
  22303. "description": "平仓手续费收取方式 1:比率 2:固定",
  22304. "type": "integer"
  22305. },
  22306. "closefreezecharge": {
  22307. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22308. "type": "number"
  22309. },
  22310. "closememberchargevalue": {
  22311. "description": "平仓会员手续费设置值",
  22312. "type": "number"
  22313. },
  22314. "closeqty": {
  22315. "description": "平仓数量(先建后平操作 需要记录)",
  22316. "type": "integer"
  22317. },
  22318. "closetradeqty": {
  22319. "description": "平仓成交数量(先建后平操作,需要记录)",
  22320. "type": "integer"
  22321. },
  22322. "closeunfreezecharge": {
  22323. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22324. "type": "number"
  22325. },
  22326. "delistingtype": {
  22327. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22328. "type": "integer"
  22329. },
  22330. "freezecharge": {
  22331. "description": "冻结手续费",
  22332. "type": "number"
  22333. },
  22334. "freezemargin": {
  22335. "description": "冻结保证金(冻结交易金额)",
  22336. "type": "number"
  22337. },
  22338. "gcaccountid": {
  22339. "description": "账户ID[合约币种]",
  22340. "type": "integer"
  22341. },
  22342. "goodscode": {
  22343. "description": "商品代码",
  22344. "type": "string"
  22345. },
  22346. "goodsid": {
  22347. "description": "商品ID",
  22348. "type": "integer"
  22349. },
  22350. "goodsname": {
  22351. "description": "商品名称",
  22352. "type": "string"
  22353. },
  22354. "histradedate": {
  22355. "description": "历史交易日",
  22356. "type": "string"
  22357. },
  22358. "isconfirmexercise": {
  22359. "description": "是否确认行权- 0:否 1:是",
  22360. "type": "integer"
  22361. },
  22362. "ispreexercise": {
  22363. "description": "是否预申报- 0:否 1:是",
  22364. "type": "integer"
  22365. },
  22366. "isvaliddata": {
  22367. "description": "是否有效 - 0:无效 1:有效",
  22368. "type": "integer"
  22369. },
  22370. "listingselecttype": {
  22371. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22372. "type": "integer"
  22373. },
  22374. "marginalgorithm": {
  22375. "description": "保证金收取方式 1:比率 2:固定",
  22376. "type": "integer"
  22377. },
  22378. "marginvalue": {
  22379. "description": "即市保证金设置值",
  22380. "type": "number"
  22381. },
  22382. "marketid": {
  22383. "description": "市场ID",
  22384. "type": "integer"
  22385. },
  22386. "marketmaxsub": {
  22387. "description": "市价最大偏移范围",
  22388. "type": "number"
  22389. },
  22390. "marketname": {
  22391. "description": "市场名称",
  22392. "type": "string"
  22393. },
  22394. "memberuserid": {
  22395. "description": "所属会员UserID",
  22396. "type": "integer"
  22397. },
  22398. "openexchagechargevalue": {
  22399. "description": "建仓交易所手续费设置值",
  22400. "type": "number"
  22401. },
  22402. "openfeealgorithm": {
  22403. "description": "建仓手续费收取方式 1:比率 2:固定",
  22404. "type": "integer"
  22405. },
  22406. "openfreezecharge": {
  22407. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22408. "type": "number"
  22409. },
  22410. "openmemberchargevalue": {
  22411. "description": "建仓会员手续费设置值",
  22412. "type": "number"
  22413. },
  22414. "openqty": {
  22415. "description": "开仓数量(先建后平操作,需要记录)",
  22416. "type": "integer"
  22417. },
  22418. "opentradeqty": {
  22419. "description": "开仓成交数量(先建后平操作,需要记录)",
  22420. "type": "integer"
  22421. },
  22422. "openunfreezecharge": {
  22423. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22424. "type": "number"
  22425. },
  22426. "operatetype": {
  22427. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22428. "type": "integer"
  22429. },
  22430. "operatorid": {
  22431. "description": "登录账号(LoginID)",
  22432. "type": "integer"
  22433. },
  22434. "optiontype": {
  22435. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22436. "type": "integer"
  22437. },
  22438. "orderid": {
  22439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22440. "type": "string"
  22441. },
  22442. "orderprice": {
  22443. "description": "委托价格",
  22444. "type": "number"
  22445. },
  22446. "orderqty": {
  22447. "description": "委托数量",
  22448. "type": "integer"
  22449. },
  22450. "ordersrc": {
  22451. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22452. "type": "integer"
  22453. },
  22454. "orderstatus": {
  22455. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22456. "type": "integer"
  22457. },
  22458. "ordertime": {
  22459. "description": "委托时间",
  22460. "type": "string"
  22461. },
  22462. "preexerciseprice": {
  22463. "description": "预申报价格",
  22464. "type": "number"
  22465. },
  22466. "premium": {
  22467. "description": "权利金",
  22468. "type": "number"
  22469. },
  22470. "preorderid": {
  22471. "description": "关联预埋单号(止盈止损单时填写)",
  22472. "type": "string"
  22473. },
  22474. "pricemode": {
  22475. "description": "取价方式 - 1:市价 2: 限价",
  22476. "type": "integer"
  22477. },
  22478. "quoteid": {
  22479. "description": "报价单ID",
  22480. "type": "integer"
  22481. },
  22482. "relatedid": {
  22483. "description": "关联单号(交割单)",
  22484. "type": "string"
  22485. },
  22486. "retcode": {
  22487. "description": "错误代码",
  22488. "type": "integer"
  22489. },
  22490. "sessionid": {
  22491. "description": "会话ID",
  22492. "type": "integer"
  22493. },
  22494. "tradedate": {
  22495. "description": "交易日(yyyyMMdd)",
  22496. "type": "string"
  22497. },
  22498. "trademode": {
  22499. "description": "交易模式",
  22500. "type": "integer"
  22501. },
  22502. "tradeproperty": {
  22503. "description": "交易属性",
  22504. "type": "integer"
  22505. },
  22506. "tradeqty": {
  22507. "description": "成交数量",
  22508. "type": "integer"
  22509. },
  22510. "unfreezecharge": {
  22511. "description": "解冻手续费",
  22512. "type": "number"
  22513. },
  22514. "unfreezemargin": {
  22515. "description": "解冻保证金",
  22516. "type": "number"
  22517. },
  22518. "updatetime": {
  22519. "description": "更新时间",
  22520. "type": "string"
  22521. },
  22522. "uuid": {
  22523. "description": "发起端唯一id",
  22524. "type": "string"
  22525. },
  22526. "validtime": {
  22527. "description": "有效期限",
  22528. "type": "string"
  22529. },
  22530. "validtype": {
  22531. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22532. "type": "integer"
  22533. },
  22534. "volumetype": {
  22535. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22536. "type": "integer"
  22537. }
  22538. }
  22539. },
  22540. "order.QueryTradeDetailRsp": {
  22541. "type": "object",
  22542. "required": [
  22543. "accountid",
  22544. "buyorsell",
  22545. "goodsid",
  22546. "marketid",
  22547. "memberuserid",
  22548. "orderid",
  22549. "tradeamount",
  22550. "tradedate",
  22551. "tradeid",
  22552. "tradeprice",
  22553. "tradeqty",
  22554. "tradetime"
  22555. ],
  22556. "properties": {
  22557. "accountid": {
  22558. "description": "账户ID[报价币种]",
  22559. "type": "integer"
  22560. },
  22561. "buildtype": {
  22562. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22563. "type": "integer"
  22564. },
  22565. "buyorsell": {
  22566. "description": "方向 - 0:买 1:卖",
  22567. "type": "integer"
  22568. },
  22569. "charge": {
  22570. "description": "手续费",
  22571. "type": "number"
  22572. },
  22573. "closecharge": {
  22574. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22575. "type": "number"
  22576. },
  22577. "closeexchagechargevalue": {
  22578. "description": "平仓交易所手续费设置值",
  22579. "type": "number"
  22580. },
  22581. "closefeealgorithm": {
  22582. "description": "平仓手续费收取方式 1:比率 2:固定",
  22583. "type": "integer"
  22584. },
  22585. "closememberchargevalue": {
  22586. "description": "平仓会员手续费设置值",
  22587. "type": "number"
  22588. },
  22589. "closepl": {
  22590. "description": "平仓盈亏",
  22591. "type": "number"
  22592. },
  22593. "closepl2": {
  22594. "description": "平仓盈亏[逐笔]",
  22595. "type": "number"
  22596. },
  22597. "closeqty": {
  22598. "description": "平仓数量(先建后平操作 需要记录)",
  22599. "type": "integer"
  22600. },
  22601. "creditamount": {
  22602. "description": "授信金额",
  22603. "type": "number"
  22604. },
  22605. "gcaccountid": {
  22606. "description": "账户ID[合约币种]",
  22607. "type": "integer"
  22608. },
  22609. "goodscode": {
  22610. "description": "商品代码",
  22611. "type": "string"
  22612. },
  22613. "goodsid": {
  22614. "description": "商品ID",
  22615. "type": "integer"
  22616. },
  22617. "goodsname": {
  22618. "description": "商品名称",
  22619. "type": "string"
  22620. },
  22621. "intclosepl": {
  22622. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22623. "type": "integer"
  22624. },
  22625. "isconfirmexercise": {
  22626. "description": "是否确认行权- 0:否 1:是",
  22627. "type": "integer"
  22628. },
  22629. "ismain": {
  22630. "description": "是否主单 - 0:不是 1:是",
  22631. "type": "integer"
  22632. },
  22633. "ispreexercise": {
  22634. "description": "是否预申报- 0:否 1:是",
  22635. "type": "integer"
  22636. },
  22637. "isreckoned": {
  22638. "description": "是否结算 - 0:未结算 1:已结算",
  22639. "type": "integer"
  22640. },
  22641. "listingselecttype": {
  22642. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22643. "type": "integer"
  22644. },
  22645. "marketid": {
  22646. "description": "市场ID",
  22647. "type": "integer"
  22648. },
  22649. "marketname": {
  22650. "description": "市场名称",
  22651. "type": "string"
  22652. },
  22653. "matchaccountid": {
  22654. "description": "对手账号id",
  22655. "type": "integer"
  22656. },
  22657. "memberuserid": {
  22658. "description": "会员id 个人投资者 需要填写",
  22659. "type": "integer"
  22660. },
  22661. "opencharge": {
  22662. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22663. "type": "number"
  22664. },
  22665. "openexchagechargevalue": {
  22666. "description": "建仓交易所手续费设置值",
  22667. "type": "number"
  22668. },
  22669. "openfeealgorithm": {
  22670. "description": "建仓手续费收取方式 1:比率 2:固定",
  22671. "type": "integer"
  22672. },
  22673. "openmemberchargevalue": {
  22674. "description": "建仓会员手续费设置值",
  22675. "type": "number"
  22676. },
  22677. "openqty": {
  22678. "description": "开仓数量(先建后平操作 需要记录)",
  22679. "type": "integer"
  22680. },
  22681. "optiontype": {
  22682. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22683. "type": "integer"
  22684. },
  22685. "orderid": {
  22686. "description": "委托单号",
  22687. "type": "string"
  22688. },
  22689. "performanceplanid": {
  22690. "description": "履约计划ID[期权]",
  22691. "type": "integer"
  22692. },
  22693. "performancestatus": {
  22694. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22695. "type": "integer"
  22696. },
  22697. "preexerciseprice": {
  22698. "description": "预申报价格",
  22699. "type": "number"
  22700. },
  22701. "premium": {
  22702. "description": "权利金 - [持仓单的权利金]",
  22703. "type": "number"
  22704. },
  22705. "relatedouttradeid": {
  22706. "description": "关联外部成交单ID",
  22707. "type": "integer"
  22708. },
  22709. "status": {
  22710. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22711. "type": "integer"
  22712. },
  22713. "tradeamount": {
  22714. "description": "成交金额[账户币种,用于所有权]",
  22715. "type": "number"
  22716. },
  22717. "tradedate": {
  22718. "description": "交易日(yyyyMMdd)",
  22719. "type": "string"
  22720. },
  22721. "tradeid": {
  22722. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22723. "type": "string"
  22724. },
  22725. "trademode": {
  22726. "description": "交易模式",
  22727. "type": "integer"
  22728. },
  22729. "tradeprice": {
  22730. "description": "成交价格",
  22731. "type": "number"
  22732. },
  22733. "tradeproperty": {
  22734. "description": "交易属性",
  22735. "type": "integer"
  22736. },
  22737. "tradeqty": {
  22738. "description": "成交数量",
  22739. "type": "integer"
  22740. },
  22741. "tradetime": {
  22742. "description": "成交时间",
  22743. "type": "string"
  22744. },
  22745. "tradetype": {
  22746. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22747. "type": "integer"
  22748. }
  22749. }
  22750. },
  22751. "order.QueryTradeOrderDetailRsp": {
  22752. "type": "object",
  22753. "required": [
  22754. "accountid",
  22755. "buildtype",
  22756. "buyorsell",
  22757. "goodsid",
  22758. "marketid",
  22759. "operatetype",
  22760. "orderqty",
  22761. "ordertime",
  22762. "pricemode",
  22763. "tradedate",
  22764. "validtype"
  22765. ],
  22766. "properties": {
  22767. "accountid": {
  22768. "description": "账户ID[报价币种]",
  22769. "type": "integer"
  22770. },
  22771. "buildtype": {
  22772. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22773. "type": "integer"
  22774. },
  22775. "buyorsell": {
  22776. "description": "买卖 - 0:买 1:卖",
  22777. "type": "integer"
  22778. },
  22779. "cancelorderid": {
  22780. "description": "撤单单号(撤单时填写)",
  22781. "type": "string"
  22782. },
  22783. "cancelqty": {
  22784. "description": "撤单数量",
  22785. "type": "integer"
  22786. },
  22787. "clienttype": {
  22788. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22789. "type": "integer"
  22790. },
  22791. "closefreezecharge": {
  22792. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22793. "type": "number"
  22794. },
  22795. "closeqty": {
  22796. "description": "平仓数量(先建后平操作 需要记录)",
  22797. "type": "integer"
  22798. },
  22799. "closetradeqty": {
  22800. "description": "平仓成交数量(先建后平操作,需要记录)",
  22801. "type": "integer"
  22802. },
  22803. "closeunfreezecharge": {
  22804. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22805. "type": "number"
  22806. },
  22807. "delistingtype": {
  22808. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22809. "type": "integer"
  22810. },
  22811. "enableqty": {
  22812. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22813. "type": "integer"
  22814. },
  22815. "freezecharge": {
  22816. "description": "冻结手续费",
  22817. "type": "number"
  22818. },
  22819. "freezemargin": {
  22820. "description": "冻结保证金(冻结交易金额)",
  22821. "type": "number"
  22822. },
  22823. "goodscode": {
  22824. "description": "商品代码",
  22825. "type": "string"
  22826. },
  22827. "goodsid": {
  22828. "description": "商品ID",
  22829. "type": "integer"
  22830. },
  22831. "goodsname": {
  22832. "description": "商品名称",
  22833. "type": "string"
  22834. },
  22835. "listingselecttype": {
  22836. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22837. "type": "integer"
  22838. },
  22839. "marketid": {
  22840. "description": "市场ID",
  22841. "type": "integer"
  22842. },
  22843. "marketname": {
  22844. "description": "市场名称",
  22845. "type": "string"
  22846. },
  22847. "openfreezecharge": {
  22848. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22849. "type": "number"
  22850. },
  22851. "openqty": {
  22852. "description": "开仓数量(先建后平操作,需要记录)",
  22853. "type": "integer"
  22854. },
  22855. "opentradeqty": {
  22856. "description": "开仓成交数量(先建后平操作,需要记录)",
  22857. "type": "integer"
  22858. },
  22859. "openunfreezecharge": {
  22860. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22861. "type": "number"
  22862. },
  22863. "operatetype": {
  22864. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22865. "type": "integer"
  22866. },
  22867. "operatorid": {
  22868. "description": "登录账号(LoginID)",
  22869. "type": "integer"
  22870. },
  22871. "orderid": {
  22872. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22873. "type": "string"
  22874. },
  22875. "orderprice": {
  22876. "description": "委托价格",
  22877. "type": "number"
  22878. },
  22879. "orderqty": {
  22880. "description": "委托数量",
  22881. "type": "integer"
  22882. },
  22883. "ordersrc": {
  22884. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22885. "type": "integer"
  22886. },
  22887. "orderstatus": {
  22888. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22889. "type": "integer"
  22890. },
  22891. "ordertime": {
  22892. "description": "委托时间",
  22893. "type": "string"
  22894. },
  22895. "preorderid": {
  22896. "description": "关联预埋单号(止盈止损单时填写)",
  22897. "type": "string"
  22898. },
  22899. "pricemode": {
  22900. "description": "取价方式 - 1:市价 2: 限价",
  22901. "type": "integer"
  22902. },
  22903. "relatedid": {
  22904. "description": "关联单号(交割单)",
  22905. "type": "string"
  22906. },
  22907. "tradedate": {
  22908. "description": "交易日(yyyyMMdd)",
  22909. "type": "string"
  22910. },
  22911. "trademode": {
  22912. "description": "交易模式",
  22913. "type": "integer"
  22914. },
  22915. "tradeqty": {
  22916. "description": "成交数量",
  22917. "type": "integer"
  22918. },
  22919. "unfreezecharge": {
  22920. "description": "解冻手续费",
  22921. "type": "number"
  22922. },
  22923. "unfreezemargin": {
  22924. "description": "解冻保证金",
  22925. "type": "number"
  22926. },
  22927. "validtime": {
  22928. "description": "有效期限",
  22929. "type": "string"
  22930. },
  22931. "validtype": {
  22932. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22933. "type": "integer"
  22934. },
  22935. "volumetype": {
  22936. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22937. "type": "integer"
  22938. }
  22939. }
  22940. },
  22941. "order.QueryTradePositionRsp": {
  22942. "type": "object",
  22943. "required": [
  22944. "goodsid"
  22945. ],
  22946. "properties": {
  22947. "accountid": {
  22948. "description": "资金账户",
  22949. "type": "integer"
  22950. },
  22951. "agreeunit": {
  22952. "description": "合约单位",
  22953. "type": "number"
  22954. },
  22955. "averageprice": {
  22956. "description": "持仓均价",
  22957. "type": "number"
  22958. },
  22959. "buyorsell": {
  22960. "description": "方向 - 0:买 1:卖",
  22961. "type": "integer"
  22962. },
  22963. "closetotalqty": {
  22964. "description": "平仓总数量",
  22965. "type": "integer"
  22966. },
  22967. "curholderamount": {
  22968. "description": "当前持仓总金额[商品币种]",
  22969. "type": "number"
  22970. },
  22971. "curpositionqty": {
  22972. "description": "当前持仓总数量",
  22973. "type": "integer"
  22974. },
  22975. "currencyid": {
  22976. "description": "报价货币ID",
  22977. "type": "integer"
  22978. },
  22979. "curtdposition": {
  22980. "description": "期末今日头寸",
  22981. "type": "integer"
  22982. },
  22983. "decimalplace": {
  22984. "description": "报价小数位",
  22985. "type": "integer"
  22986. },
  22987. "enableqty": {
  22988. "description": "可用量",
  22989. "type": "integer"
  22990. },
  22991. "fretdposition": {
  22992. "description": "冻结今日头寸",
  22993. "type": "integer"
  22994. },
  22995. "frozenqty": {
  22996. "description": "持仓冻结数量",
  22997. "type": "integer"
  22998. },
  22999. "goodscode": {
  23000. "description": "商品代码",
  23001. "type": "string"
  23002. },
  23003. "goodsid": {
  23004. "description": "商品Id",
  23005. "type": "integer"
  23006. },
  23007. "goodsname": {
  23008. "description": "商品名称",
  23009. "type": "string"
  23010. },
  23011. "goodunit": {
  23012. "description": "报价单位",
  23013. "type": "string"
  23014. },
  23015. "goodunitid": {
  23016. "description": "报价单位ID",
  23017. "type": "integer"
  23018. },
  23019. "holderamount": {
  23020. "description": "期初持仓总金额[商品币种]",
  23021. "type": "number"
  23022. },
  23023. "marketid": {
  23024. "description": "所属市场ID",
  23025. "type": "integer"
  23026. },
  23027. "openreqqty": {
  23028. "description": "开仓申请数量(用于比较最大持仓数量)",
  23029. "type": "integer"
  23030. },
  23031. "opentotalqty": {
  23032. "description": "开仓总数量",
  23033. "type": "integer"
  23034. },
  23035. "otherfrozenqty": {
  23036. "description": "持仓其他冻结数量(交割冻结)",
  23037. "type": "integer"
  23038. },
  23039. "positionqty": {
  23040. "description": "期初持仓数量",
  23041. "type": "integer"
  23042. },
  23043. "tnqty": {
  23044. "description": "T+N冻结总量",
  23045. "type": "integer"
  23046. },
  23047. "tnusedqty": {
  23048. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23049. "type": "integer"
  23050. },
  23051. "trademode": {
  23052. "description": "交易模式",
  23053. "type": "integer"
  23054. },
  23055. "usedmargin": {
  23056. "description": "占用保证金[商品币种]",
  23057. "type": "number"
  23058. }
  23059. }
  23060. },
  23061. "quote.HistoryData": {
  23062. "type": "object",
  23063. "properties": {
  23064. "c": {
  23065. "description": "收盘价",
  23066. "type": "number"
  23067. },
  23068. "f": {
  23069. "description": "是否补充数据",
  23070. "type": "boolean"
  23071. },
  23072. "h": {
  23073. "description": "最高价",
  23074. "type": "number"
  23075. },
  23076. "hv": {
  23077. "description": "持仓量",
  23078. "type": "integer"
  23079. },
  23080. "l": {
  23081. "description": "最低价",
  23082. "type": "number"
  23083. },
  23084. "o": {
  23085. "description": "开盘价",
  23086. "type": "number"
  23087. },
  23088. "s": {
  23089. "description": "结算价,日线周期(包括)以上才有",
  23090. "type": "number"
  23091. },
  23092. "ts": {
  23093. "description": "时间",
  23094. "type": "string"
  23095. },
  23096. "tt": {
  23097. "description": "总金额",
  23098. "type": "number"
  23099. },
  23100. "tv": {
  23101. "description": "总量",
  23102. "type": "integer"
  23103. }
  23104. }
  23105. },
  23106. "quote.HistoryTikData": {
  23107. "type": "object",
  23108. "properties": {
  23109. "AV": {
  23110. "description": "卖量",
  23111. "type": "integer"
  23112. },
  23113. "Ask": {
  23114. "description": "卖价",
  23115. "type": "number"
  23116. },
  23117. "BV": {
  23118. "description": "买量",
  23119. "type": "integer"
  23120. },
  23121. "Bid": {
  23122. "description": "买价",
  23123. "type": "number"
  23124. },
  23125. "HI": {
  23126. "description": "单笔持仓",
  23127. "type": "integer"
  23128. },
  23129. "HV": {
  23130. "description": "持仓量",
  23131. "type": "integer"
  23132. },
  23133. "PE": {
  23134. "description": "现价",
  23135. "type": "number"
  23136. },
  23137. "TDR": {
  23138. "description": "交易方向,0:买 1:卖",
  23139. "type": "integer"
  23140. },
  23141. "TK": {
  23142. "description": "交易类型",
  23143. "type": "integer"
  23144. },
  23145. "TS": {
  23146. "description": "行情时间文本",
  23147. "type": "string"
  23148. },
  23149. "TT": {
  23150. "description": "现金额",
  23151. "type": "number"
  23152. },
  23153. "Vol": {
  23154. "description": "现量",
  23155. "type": "integer"
  23156. }
  23157. }
  23158. },
  23159. "quote.QueryQuoteDayRsp": {
  23160. "type": "object",
  23161. "properties": {
  23162. "ask": {
  23163. "description": "卖1",
  23164. "type": "number"
  23165. },
  23166. "ask10": {
  23167. "description": "卖10",
  23168. "type": "number"
  23169. },
  23170. "ask2": {
  23171. "description": "卖2",
  23172. "type": "number"
  23173. },
  23174. "ask3": {
  23175. "description": "卖3",
  23176. "type": "number"
  23177. },
  23178. "ask4": {
  23179. "description": "卖4",
  23180. "type": "number"
  23181. },
  23182. "ask5": {
  23183. "description": "卖5",
  23184. "type": "number"
  23185. },
  23186. "ask6": {
  23187. "description": "卖6",
  23188. "type": "number"
  23189. },
  23190. "ask7": {
  23191. "description": "卖7",
  23192. "type": "number"
  23193. },
  23194. "ask8": {
  23195. "description": "卖8",
  23196. "type": "number"
  23197. },
  23198. "ask9": {
  23199. "description": "卖9",
  23200. "type": "number"
  23201. },
  23202. "askorderid": {
  23203. "description": "卖单号1",
  23204. "type": "integer"
  23205. },
  23206. "askorderid2": {
  23207. "description": "卖单号2",
  23208. "type": "integer"
  23209. },
  23210. "askorderid3": {
  23211. "description": "卖单号3",
  23212. "type": "integer"
  23213. },
  23214. "askorderid4": {
  23215. "description": "卖单号4",
  23216. "type": "integer"
  23217. },
  23218. "askorderid5": {
  23219. "description": "卖单号5",
  23220. "type": "integer"
  23221. },
  23222. "askordervolume": {
  23223. "description": "卖单量1",
  23224. "type": "integer"
  23225. },
  23226. "askordervolume10": {
  23227. "description": "卖单量10",
  23228. "type": "integer"
  23229. },
  23230. "askordervolume2": {
  23231. "description": "卖单量2",
  23232. "type": "integer"
  23233. },
  23234. "askordervolume3": {
  23235. "description": "卖单量3",
  23236. "type": "integer"
  23237. },
  23238. "askordervolume4": {
  23239. "description": "卖单量4",
  23240. "type": "integer"
  23241. },
  23242. "askordervolume5": {
  23243. "description": "卖单量5",
  23244. "type": "integer"
  23245. },
  23246. "askordervolume6": {
  23247. "description": "卖单量6",
  23248. "type": "integer"
  23249. },
  23250. "askordervolume7": {
  23251. "description": "卖单量7",
  23252. "type": "integer"
  23253. },
  23254. "askordervolume8": {
  23255. "description": "卖单量8",
  23256. "type": "integer"
  23257. },
  23258. "askordervolume9": {
  23259. "description": "卖单量9",
  23260. "type": "integer"
  23261. },
  23262. "askqueueinfo": {
  23263. "description": "大利市卖港股用",
  23264. "type": "string"
  23265. },
  23266. "askvolume": {
  23267. "description": "卖量1",
  23268. "type": "integer"
  23269. },
  23270. "askvolume10": {
  23271. "description": "卖量10",
  23272. "type": "integer"
  23273. },
  23274. "askvolume2": {
  23275. "description": "卖量2",
  23276. "type": "integer"
  23277. },
  23278. "askvolume3": {
  23279. "description": "卖量3",
  23280. "type": "integer"
  23281. },
  23282. "askvolume4": {
  23283. "description": "卖量4",
  23284. "type": "integer"
  23285. },
  23286. "askvolume5": {
  23287. "description": "卖量5",
  23288. "type": "integer"
  23289. },
  23290. "askvolume6": {
  23291. "description": "卖量6",
  23292. "type": "integer"
  23293. },
  23294. "askvolume7": {
  23295. "description": "卖量7",
  23296. "type": "integer"
  23297. },
  23298. "askvolume8": {
  23299. "description": "卖量8",
  23300. "type": "integer"
  23301. },
  23302. "askvolume9": {
  23303. "description": "卖量9",
  23304. "type": "integer"
  23305. },
  23306. "averageprice": {
  23307. "description": "均价",
  23308. "type": "number"
  23309. },
  23310. "bid": {
  23311. "description": "买1",
  23312. "type": "number"
  23313. },
  23314. "bid10": {
  23315. "description": "买10",
  23316. "type": "number"
  23317. },
  23318. "bid2": {
  23319. "description": "买2",
  23320. "type": "number"
  23321. },
  23322. "bid3": {
  23323. "description": "买3",
  23324. "type": "number"
  23325. },
  23326. "bid4": {
  23327. "description": "买4",
  23328. "type": "number"
  23329. },
  23330. "bid5": {
  23331. "description": "买5",
  23332. "type": "number"
  23333. },
  23334. "bid6": {
  23335. "description": "买6",
  23336. "type": "number"
  23337. },
  23338. "bid7": {
  23339. "description": "买7",
  23340. "type": "number"
  23341. },
  23342. "bid8": {
  23343. "description": "买8",
  23344. "type": "number"
  23345. },
  23346. "bid9": {
  23347. "description": "买9",
  23348. "type": "number"
  23349. },
  23350. "bidorderid": {
  23351. "description": "买单号1",
  23352. "type": "integer"
  23353. },
  23354. "bidorderid2": {
  23355. "description": "买单号2",
  23356. "type": "integer"
  23357. },
  23358. "bidorderid3": {
  23359. "description": "买单号3",
  23360. "type": "integer"
  23361. },
  23362. "bidorderid4": {
  23363. "description": "买单号4",
  23364. "type": "integer"
  23365. },
  23366. "bidorderid5": {
  23367. "description": "买单号5",
  23368. "type": "integer"
  23369. },
  23370. "bidordervolume": {
  23371. "description": "买单量1",
  23372. "type": "integer"
  23373. },
  23374. "bidordervolume10": {
  23375. "description": "买单量10",
  23376. "type": "integer"
  23377. },
  23378. "bidordervolume2": {
  23379. "description": "买单量2",
  23380. "type": "integer"
  23381. },
  23382. "bidordervolume3": {
  23383. "description": "买单量3",
  23384. "type": "integer"
  23385. },
  23386. "bidordervolume4": {
  23387. "description": "买单量4",
  23388. "type": "integer"
  23389. },
  23390. "bidordervolume5": {
  23391. "description": "买单量5",
  23392. "type": "integer"
  23393. },
  23394. "bidordervolume6": {
  23395. "description": "买单量6",
  23396. "type": "integer"
  23397. },
  23398. "bidordervolume7": {
  23399. "description": "买单量7",
  23400. "type": "integer"
  23401. },
  23402. "bidordervolume8": {
  23403. "description": "买单量8",
  23404. "type": "integer"
  23405. },
  23406. "bidordervolume9": {
  23407. "description": "买单量9",
  23408. "type": "integer"
  23409. },
  23410. "bidqueueinfo": {
  23411. "description": "大利市买港股用",
  23412. "type": "string"
  23413. },
  23414. "bidvolume": {
  23415. "description": "买量1",
  23416. "type": "integer"
  23417. },
  23418. "bidvolume10": {
  23419. "description": "买量10",
  23420. "type": "integer"
  23421. },
  23422. "bidvolume2": {
  23423. "description": "买量2",
  23424. "type": "integer"
  23425. },
  23426. "bidvolume3": {
  23427. "description": "买量3",
  23428. "type": "integer"
  23429. },
  23430. "bidvolume4": {
  23431. "description": "买量4",
  23432. "type": "integer"
  23433. },
  23434. "bidvolume5": {
  23435. "description": "买量5",
  23436. "type": "integer"
  23437. },
  23438. "bidvolume6": {
  23439. "description": "买量6",
  23440. "type": "integer"
  23441. },
  23442. "bidvolume7": {
  23443. "description": "买量7",
  23444. "type": "integer"
  23445. },
  23446. "bidvolume8": {
  23447. "description": "买量8",
  23448. "type": "integer"
  23449. },
  23450. "bidvolume9": {
  23451. "description": "买量9",
  23452. "type": "integer"
  23453. },
  23454. "calloptionpremiums": {
  23455. "description": "认购期权1",
  23456. "type": "integer"
  23457. },
  23458. "calloptionpremiums2": {
  23459. "description": "认购期权2",
  23460. "type": "integer"
  23461. },
  23462. "calloptionpremiums3": {
  23463. "description": "认购期权3",
  23464. "type": "integer"
  23465. },
  23466. "calloptionpremiums4": {
  23467. "description": "认购期权4",
  23468. "type": "integer"
  23469. },
  23470. "calloptionpremiums5": {
  23471. "description": "认购期权5",
  23472. "type": "integer"
  23473. },
  23474. "cleartime": {
  23475. "description": "清盘时间",
  23476. "type": "integer"
  23477. },
  23478. "exchangecode": {
  23479. "description": "交易所代码",
  23480. "type": "integer"
  23481. },
  23482. "exchangedate": {
  23483. "description": "交易日",
  23484. "type": "integer"
  23485. },
  23486. "goodscode": {
  23487. "description": "商品代码",
  23488. "type": "string"
  23489. },
  23490. "grepmarketprice": {
  23491. "description": "暗盘价 港股专用",
  23492. "type": "number"
  23493. },
  23494. "highest": {
  23495. "description": "最高价",
  23496. "type": "number"
  23497. },
  23498. "holdincrement": {
  23499. "description": "单笔持仓",
  23500. "type": "integer"
  23501. },
  23502. "holdvolume": {
  23503. "description": "持仓",
  23504. "type": "integer"
  23505. },
  23506. "iep": {
  23507. "description": "平衡价 港股专用",
  23508. "type": "number"
  23509. },
  23510. "iev": {
  23511. "description": "平衡量 港股专用",
  23512. "type": "number"
  23513. },
  23514. "inventory": {
  23515. "description": "库存",
  23516. "type": "integer"
  23517. },
  23518. "iscleared": {
  23519. "description": "是否清盘标志",
  23520. "type": "integer"
  23521. },
  23522. "issettled": {
  23523. "description": "是否结算标志",
  23524. "type": "integer"
  23525. },
  23526. "last": {
  23527. "description": "最新价",
  23528. "type": "number"
  23529. },
  23530. "lastlot": {
  23531. "description": "最新成交手数",
  23532. "type": "integer"
  23533. },
  23534. "lasttime": {
  23535. "description": "行情时间(只有现价变化行情时间才变化)",
  23536. "type": "string"
  23537. },
  23538. "lastturnover": {
  23539. "description": "最新成交金额",
  23540. "type": "number"
  23541. },
  23542. "lastvolume": {
  23543. "description": "最新成交量",
  23544. "type": "integer"
  23545. },
  23546. "limitdown": {
  23547. "description": "跌停价",
  23548. "type": "number"
  23549. },
  23550. "limitup": {
  23551. "description": "涨停价",
  23552. "type": "number"
  23553. },
  23554. "lowest": {
  23555. "description": "最低价",
  23556. "type": "number"
  23557. },
  23558. "nontotalholdervolume": {
  23559. "description": "非交易持仓量",
  23560. "type": "integer"
  23561. },
  23562. "nontotallot": {
  23563. "description": "非交易总手数",
  23564. "type": "integer"
  23565. },
  23566. "nontotalturnover": {
  23567. "description": "非交易总金额",
  23568. "type": "integer"
  23569. },
  23570. "nontotalvolume": {
  23571. "description": "非交易总量",
  23572. "type": "integer"
  23573. },
  23574. "opened": {
  23575. "description": "开盘价",
  23576. "type": "number"
  23577. },
  23578. "opentime": {
  23579. "description": "开盘时间",
  23580. "type": "string"
  23581. },
  23582. "orderid": {
  23583. "description": "序号",
  23584. "type": "integer"
  23585. },
  23586. "preclose": {
  23587. "description": "昨收",
  23588. "type": "number"
  23589. },
  23590. "preholdvolume": {
  23591. "description": "昨持仓",
  23592. "type": "integer"
  23593. },
  23594. "presettle": {
  23595. "description": "昨结价",
  23596. "type": "number"
  23597. },
  23598. "publictradetype": {
  23599. "description": "公共交易标志类型 港股专用",
  23600. "type": "string"
  23601. },
  23602. "putoptionpremiums": {
  23603. "description": "认沽期权1",
  23604. "type": "integer"
  23605. },
  23606. "putoptionpremiums2": {
  23607. "description": "认沽期权2",
  23608. "type": "integer"
  23609. },
  23610. "putoptionpremiums3": {
  23611. "description": "认沽期权3",
  23612. "type": "integer"
  23613. },
  23614. "putoptionpremiums4": {
  23615. "description": "认沽期权4",
  23616. "type": "integer"
  23617. },
  23618. "putoptionpremiums5": {
  23619. "description": "认沽期权5",
  23620. "type": "integer"
  23621. },
  23622. "settle": {
  23623. "description": "结算价",
  23624. "type": "number"
  23625. },
  23626. "strikeprice": {
  23627. "description": "发行价",
  23628. "type": "number"
  23629. },
  23630. "totalaskvolume": {
  23631. "description": "内盘",
  23632. "type": "integer"
  23633. },
  23634. "totalbidvolume": {
  23635. "description": "外盘",
  23636. "type": "integer"
  23637. },
  23638. "totallot": {
  23639. "description": "总手数",
  23640. "type": "integer"
  23641. },
  23642. "totalturnover": {
  23643. "description": "总金额",
  23644. "type": "number"
  23645. },
  23646. "totalvolume": {
  23647. "description": "总量",
  23648. "type": "integer"
  23649. },
  23650. "utclasttime": {
  23651. "description": "utc的行情时间",
  23652. "type": "string"
  23653. }
  23654. }
  23655. },
  23656. "quote.QueryTSDataRsp": {
  23657. "type": "object",
  23658. "properties": {
  23659. "Count": {
  23660. "description": "交易日应有数据个数",
  23661. "type": "integer"
  23662. },
  23663. "decimalPlace": {
  23664. "description": "小数位",
  23665. "type": "integer"
  23666. },
  23667. "endTime": {
  23668. "description": "结束时间",
  23669. "type": "string"
  23670. },
  23671. "goodsCode": {
  23672. "description": "商品代码",
  23673. "type": "string"
  23674. },
  23675. "historyDatas": {
  23676. "description": "历史数据",
  23677. "type": "array",
  23678. "items": {
  23679. "$ref": "#/definitions/quote.HistoryData"
  23680. }
  23681. },
  23682. "outGoodsCode": {
  23683. "description": "外部商品代码",
  23684. "type": "string"
  23685. },
  23686. "preSettle": {
  23687. "description": "昨结价",
  23688. "type": "number"
  23689. },
  23690. "runSteps": {
  23691. "description": "交易日开休市计划",
  23692. "type": "array",
  23693. "items": {
  23694. "$ref": "#/definitions/quote.TSDataRunStep"
  23695. }
  23696. },
  23697. "startTime": {
  23698. "description": "开始时间",
  23699. "type": "string"
  23700. },
  23701. "tradeDate": {
  23702. "description": "交易日",
  23703. "type": "string"
  23704. }
  23705. }
  23706. },
  23707. "quote.TSDataRunStep": {
  23708. "type": "object",
  23709. "properties": {
  23710. "end": {
  23711. "description": "真实结束时间",
  23712. "type": "string"
  23713. },
  23714. "endflag": {
  23715. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23716. "type": "integer"
  23717. },
  23718. "endtime": {
  23719. "description": "结束时间(HH:mm)",
  23720. "type": "string"
  23721. },
  23722. "endweekday": {
  23723. "description": "结束周几",
  23724. "type": "integer"
  23725. },
  23726. "groupid": {
  23727. "description": "分组ID",
  23728. "type": "integer"
  23729. },
  23730. "runstep": {
  23731. "description": "运行阶段 - 2:连续交易",
  23732. "type": "integer"
  23733. },
  23734. "sectionid": {
  23735. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23736. "type": "integer"
  23737. },
  23738. "start": {
  23739. "description": "真实开始时间",
  23740. "type": "string"
  23741. },
  23742. "startflag": {
  23743. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23744. "type": "integer"
  23745. },
  23746. "starttime": {
  23747. "description": "起始时间(HH:mm)",
  23748. "type": "string"
  23749. },
  23750. "startweekday": {
  23751. "description": "起始周几",
  23752. "type": "integer"
  23753. },
  23754. "tradeweekday": {
  23755. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23756. "type": "integer"
  23757. }
  23758. }
  23759. },
  23760. "szdz.QueryConvertLogRsp": {
  23761. "type": "object",
  23762. "required": [
  23763. "logid"
  23764. ],
  23765. "properties": {
  23766. "accountid": {
  23767. "description": "资金账户ID",
  23768. "type": "integer"
  23769. },
  23770. "clientticket": {
  23771. "description": "客户端流水号",
  23772. "type": "string"
  23773. },
  23774. "converttype": {
  23775. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23776. "type": "integer"
  23777. },
  23778. "createtime": {
  23779. "description": "记账时间",
  23780. "type": "string"
  23781. },
  23782. "daymaxvalue": {
  23783. "description": "配置当日最大转入限制",
  23784. "type": "number"
  23785. },
  23786. "daymaxvalue2": {
  23787. "description": "配置当日最大转入限制(转入)",
  23788. "type": "number"
  23789. },
  23790. "goodscode": {
  23791. "description": "商品代码",
  23792. "type": "string"
  23793. },
  23794. "goodsname": {
  23795. "description": "商品名称",
  23796. "type": "string"
  23797. },
  23798. "handlestatus": {
  23799. "description": "处理状态",
  23800. "type": "integer"
  23801. },
  23802. "innergoodsid": {
  23803. "description": "内部商品ID",
  23804. "type": "integer"
  23805. },
  23806. "inratio": {
  23807. "description": "配置转入比值",
  23808. "type": "integer"
  23809. },
  23810. "invalue": {
  23811. "description": "目标值",
  23812. "type": "number"
  23813. },
  23814. "logid": {
  23815. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23816. "type": "integer"
  23817. },
  23818. "mobile": {
  23819. "description": "手机号码(加密存储)",
  23820. "type": "string"
  23821. },
  23822. "outergoodscode": {
  23823. "description": "外部商品代码[JD\\PD]",
  23824. "type": "string"
  23825. },
  23826. "outratio": {
  23827. "description": "配置转出比值",
  23828. "type": "integer"
  23829. },
  23830. "outvalue": {
  23831. "description": "源值",
  23832. "type": "number"
  23833. },
  23834. "pddecimalplace": {
  23835. "description": "PD小数位",
  23836. "type": "integer"
  23837. },
  23838. "qty": {
  23839. "description": "数量",
  23840. "type": "string"
  23841. },
  23842. "remark": {
  23843. "description": "备注",
  23844. "type": "string"
  23845. },
  23846. "sessionid": {
  23847. "description": "会话ID",
  23848. "type": "integer"
  23849. },
  23850. "timemaxvalue": {
  23851. "description": "配置单次最大转入限制",
  23852. "type": "number"
  23853. },
  23854. "timemaxvalue2": {
  23855. "description": "配置单次最大转入限制(转入)",
  23856. "type": "number"
  23857. },
  23858. "timeminvalue": {
  23859. "description": "配置单次最小数量限制",
  23860. "type": "number"
  23861. },
  23862. "timeminvalue2": {
  23863. "description": "配置单次最小数量限制(转入)",
  23864. "type": "number"
  23865. },
  23866. "tradedate": {
  23867. "description": "交易日(yyyyMMdd)",
  23868. "type": "string"
  23869. },
  23870. "userid": {
  23871. "description": "用户ID",
  23872. "type": "integer"
  23873. }
  23874. }
  23875. },
  23876. "szdz.QueryGoodsPickupRsp": {
  23877. "type": "object",
  23878. "required": [
  23879. "takeorderid"
  23880. ],
  23881. "properties": {
  23882. "accountid": {
  23883. "description": "账户ID",
  23884. "type": "integer"
  23885. },
  23886. "address": {
  23887. "description": "提货人详细地址",
  23888. "type": "string"
  23889. },
  23890. "auditer": {
  23891. "description": "审核人",
  23892. "type": "integer"
  23893. },
  23894. "audittime": {
  23895. "description": "审核时间",
  23896. "type": "string"
  23897. },
  23898. "cardnum": {
  23899. "description": "提货人证件号码",
  23900. "type": "string"
  23901. },
  23902. "cardtypeid": {
  23903. "description": "提货人证件类型",
  23904. "type": "integer"
  23905. },
  23906. "checkremark": {
  23907. "description": "审核备注",
  23908. "type": "string"
  23909. },
  23910. "goodscode": {
  23911. "description": "商品代码",
  23912. "type": "string"
  23913. },
  23914. "goodsid": {
  23915. "description": "商品ID",
  23916. "type": "integer"
  23917. },
  23918. "goodsname": {
  23919. "description": "商品名称",
  23920. "type": "string"
  23921. },
  23922. "handlestatus": {
  23923. "description": "处理状态",
  23924. "type": "integer"
  23925. },
  23926. "marketid": {
  23927. "description": "市场ID",
  23928. "type": "integer"
  23929. },
  23930. "phonenum": {
  23931. "description": "提货人联系方式",
  23932. "type": "string"
  23933. },
  23934. "qty": {
  23935. "description": "提货数量",
  23936. "type": "number"
  23937. },
  23938. "recivername": {
  23939. "description": "提货人姓名",
  23940. "type": "string"
  23941. },
  23942. "reqtime": {
  23943. "description": "更新时间",
  23944. "type": "string"
  23945. },
  23946. "takemode": {
  23947. "description": "提货方式 - 2:自提 3:配送",
  23948. "type": "integer"
  23949. },
  23950. "takeorderid": {
  23951. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23952. "type": "string"
  23953. },
  23954. "takeorderstatus": {
  23955. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23956. "type": "integer"
  23957. },
  23958. "takeremark": {
  23959. "description": "提货备注",
  23960. "type": "string"
  23961. },
  23962. "tradedate": {
  23963. "description": "交易日(yyyyMMdd)",
  23964. "type": "string"
  23965. },
  23966. "userid": {
  23967. "description": "用户ID",
  23968. "type": "integer"
  23969. }
  23970. }
  23971. },
  23972. "szdz.QueryRecieptOrderRsp": {
  23973. "type": "object",
  23974. "required": [
  23975. "ordertime"
  23976. ],
  23977. "properties": {
  23978. "accountName": {
  23979. "description": "所属账号名称(已脱敏)",
  23980. "type": "string"
  23981. },
  23982. "accountid": {
  23983. "description": "资金账号",
  23984. "type": "integer"
  23985. },
  23986. "buyorsell": {
  23987. "description": "方向 - 0:买 1:卖",
  23988. "type": "integer"
  23989. },
  23990. "enableqty": {
  23991. "description": "可摘数量",
  23992. "type": "integer"
  23993. },
  23994. "goodscode": {
  23995. "description": "商品代码",
  23996. "type": "string"
  23997. },
  23998. "goodsid": {
  23999. "description": "商品ID",
  24000. "type": "integer"
  24001. },
  24002. "goodsname": {
  24003. "description": "商品名称",
  24004. "type": "string"
  24005. },
  24006. "orderid": {
  24007. "description": "委托单号",
  24008. "type": "string"
  24009. },
  24010. "orderprice": {
  24011. "description": "委托价格",
  24012. "type": "number"
  24013. },
  24014. "ordertime": {
  24015. "description": "委托时间",
  24016. "type": "string"
  24017. },
  24018. "tradedate": {
  24019. "description": "交易日(yyyyMMdd)",
  24020. "type": "string"
  24021. }
  24022. }
  24023. },
  24024. "szdz.QuerySZDZTradePositionRsp": {
  24025. "type": "object",
  24026. "properties": {
  24027. "accountid": {
  24028. "description": "账号Id",
  24029. "type": "integer"
  24030. },
  24031. "agreeunit": {
  24032. "description": "合约单位",
  24033. "type": "number"
  24034. },
  24035. "averageprice": {
  24036. "description": "持仓均价",
  24037. "type": "number"
  24038. },
  24039. "buyorsell": {
  24040. "description": "方向 - 0:买 1:卖",
  24041. "type": "integer"
  24042. },
  24043. "closetotalqty": {
  24044. "description": "平仓总数量",
  24045. "type": "integer"
  24046. },
  24047. "curholderamount": {
  24048. "description": "当前持仓总金额",
  24049. "type": "number"
  24050. },
  24051. "curpositionqty": {
  24052. "description": "当前持仓总数量",
  24053. "type": "integer"
  24054. },
  24055. "currencyid": {
  24056. "description": "报价货币ID",
  24057. "type": "integer"
  24058. },
  24059. "curtdposition": {
  24060. "description": "期末今日头寸",
  24061. "type": "integer"
  24062. },
  24063. "decimalplace": {
  24064. "description": "报价小数位",
  24065. "type": "integer"
  24066. },
  24067. "enableqty": {
  24068. "description": "可用量",
  24069. "type": "integer"
  24070. },
  24071. "fretdposition": {
  24072. "description": "冻结今日头寸",
  24073. "type": "integer"
  24074. },
  24075. "frozenqty": {
  24076. "description": "持仓冻结数量",
  24077. "type": "integer"
  24078. },
  24079. "goodscode": {
  24080. "description": "商品代码(内部)",
  24081. "type": "string"
  24082. },
  24083. "goodsid": {
  24084. "description": "商品Id",
  24085. "type": "integer"
  24086. },
  24087. "goodsname": {
  24088. "description": "商品名称",
  24089. "type": "string"
  24090. },
  24091. "goodunit": {
  24092. "description": "报价单位",
  24093. "type": "string"
  24094. },
  24095. "goodunitid": {
  24096. "description": "报价单位ID",
  24097. "type": "integer"
  24098. },
  24099. "holderamount": {
  24100. "description": "期初持仓总金额",
  24101. "type": "number"
  24102. },
  24103. "marketid": {
  24104. "description": "市场ID",
  24105. "type": "integer"
  24106. },
  24107. "openreqqty": {
  24108. "description": "开仓申请数量",
  24109. "type": "integer"
  24110. },
  24111. "opentotalqty": {
  24112. "description": "开仓总数量",
  24113. "type": "integer"
  24114. },
  24115. "otherfrozenqty": {
  24116. "description": "持仓其他冻结数量(交割冻结)",
  24117. "type": "integer"
  24118. },
  24119. "positionqty": {
  24120. "description": "期初持仓数量",
  24121. "type": "integer"
  24122. },
  24123. "szdz3freezqty": {
  24124. "description": "尚志大宗转换冻结总数量",
  24125. "type": "integer"
  24126. },
  24127. "tnqty": {
  24128. "description": "T+N冻结总量",
  24129. "type": "integer"
  24130. },
  24131. "tnusedqty": {
  24132. "description": "T+N使用量",
  24133. "type": "integer"
  24134. },
  24135. "trademode": {
  24136. "description": "交易模式",
  24137. "type": "integer"
  24138. },
  24139. "usedmargin": {
  24140. "description": "占用保证金",
  24141. "type": "number"
  24142. }
  24143. }
  24144. },
  24145. "taaccount.QueryAmountLogRsp": {
  24146. "type": "object",
  24147. "required": [
  24148. "accountid",
  24149. "amount",
  24150. "amountadjusttype",
  24151. "autoid",
  24152. "balance",
  24153. "createtime",
  24154. "currentbalance",
  24155. "operatetype"
  24156. ],
  24157. "properties": {
  24158. "OPERATETYPENAME": {
  24159. "description": "资金操作类型名称",
  24160. "type": "string"
  24161. },
  24162. "accountid": {
  24163. "description": "资金账户ID",
  24164. "type": "integer"
  24165. },
  24166. "agoodscode": {
  24167. "description": "竞拍商品代码",
  24168. "type": "string"
  24169. },
  24170. "agoodsname": {
  24171. "description": "竞拍商品名称",
  24172. "type": "string"
  24173. },
  24174. "amount": {
  24175. "description": "资金金额",
  24176. "type": "number"
  24177. },
  24178. "amountadjusttype": {
  24179. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24180. "type": "integer"
  24181. },
  24182. "autoid": {
  24183. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24184. "type": "integer"
  24185. },
  24186. "balance": {
  24187. "description": "期初余额",
  24188. "type": "number"
  24189. },
  24190. "businesscode": {
  24191. "description": "业务编号",
  24192. "type": "integer"
  24193. },
  24194. "createtime": {
  24195. "description": "发生时间",
  24196. "type": "string"
  24197. },
  24198. "currencyid": {
  24199. "description": "币种ID",
  24200. "type": "integer"
  24201. },
  24202. "currentbalance": {
  24203. "description": "期末余额(变动后金额)",
  24204. "type": "number"
  24205. },
  24206. "dgoodscode": {
  24207. "description": "交割商品代码",
  24208. "type": "string"
  24209. },
  24210. "dgoodsname": {
  24211. "description": "交割商品名称",
  24212. "type": "string"
  24213. },
  24214. "goodscode": {
  24215. "description": "商品代码",
  24216. "type": "string"
  24217. },
  24218. "goodsid": {
  24219. "description": "商品ID",
  24220. "type": "integer"
  24221. },
  24222. "goodsname": {
  24223. "description": "商品名称",
  24224. "type": "string"
  24225. },
  24226. "marketid": {
  24227. "description": "市场ID",
  24228. "type": "integer"
  24229. },
  24230. "marketname": {
  24231. "description": "市场名称",
  24232. "type": "string"
  24233. },
  24234. "moneyticket": {
  24235. "description": "资金流水号:银行端流水号",
  24236. "type": "integer"
  24237. },
  24238. "operatetype": {
  24239. "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:营销收款",
  24240. "type": "integer"
  24241. },
  24242. "relationorderid": {
  24243. "description": "关联单号",
  24244. "type": "string"
  24245. },
  24246. "remark": {
  24247. "description": "备注",
  24248. "type": "string"
  24249. },
  24250. "trademode": {
  24251. "description": "交易模式",
  24252. "type": "integer"
  24253. }
  24254. }
  24255. },
  24256. "taaccount.QueryHisAmountLogRsp": {
  24257. "type": "object",
  24258. "required": [
  24259. "accountid",
  24260. "amount",
  24261. "amountadjusttype",
  24262. "autoid",
  24263. "balance",
  24264. "createtime",
  24265. "currentbalance",
  24266. "histradedate",
  24267. "operatetype"
  24268. ],
  24269. "properties": {
  24270. "OPERATETYPENAME": {
  24271. "description": "资金操作类型名称",
  24272. "type": "string"
  24273. },
  24274. "accountid": {
  24275. "description": "资金账户ID",
  24276. "type": "integer"
  24277. },
  24278. "agoodscode": {
  24279. "description": "竞拍商品代码",
  24280. "type": "string"
  24281. },
  24282. "agoodsname": {
  24283. "description": "竞拍商品名称",
  24284. "type": "string"
  24285. },
  24286. "amount": {
  24287. "description": "资金金额",
  24288. "type": "number"
  24289. },
  24290. "amountadjusttype": {
  24291. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24292. "type": "integer"
  24293. },
  24294. "autoid": {
  24295. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24296. "type": "integer"
  24297. },
  24298. "balance": {
  24299. "description": "期初余额",
  24300. "type": "number"
  24301. },
  24302. "businesscode": {
  24303. "description": "业务编号",
  24304. "type": "integer"
  24305. },
  24306. "createtime": {
  24307. "description": "发生时间",
  24308. "type": "string"
  24309. },
  24310. "currencyid": {
  24311. "description": "币种ID",
  24312. "type": "integer"
  24313. },
  24314. "currentbalance": {
  24315. "description": "期末余额(变动后金额)",
  24316. "type": "number"
  24317. },
  24318. "dgoodscode": {
  24319. "description": "交割商品代码",
  24320. "type": "string"
  24321. },
  24322. "dgoodsname": {
  24323. "description": "交割商品名称",
  24324. "type": "string"
  24325. },
  24326. "goodscode": {
  24327. "description": "商品代码",
  24328. "type": "string"
  24329. },
  24330. "goodsid": {
  24331. "description": "商品ID",
  24332. "type": "integer"
  24333. },
  24334. "goodsname": {
  24335. "description": "商品名称",
  24336. "type": "string"
  24337. },
  24338. "histradedate": {
  24339. "description": "历史交易日",
  24340. "type": "string"
  24341. },
  24342. "isvaliddata": {
  24343. "description": "是否有效 - 0:无效 1:有效",
  24344. "type": "integer"
  24345. },
  24346. "marketid": {
  24347. "description": "市场ID",
  24348. "type": "integer"
  24349. },
  24350. "marketname": {
  24351. "description": "市场名称",
  24352. "type": "string"
  24353. },
  24354. "moneyticket": {
  24355. "description": "资金流水号:银行端流水号",
  24356. "type": "integer"
  24357. },
  24358. "operatetype": {
  24359. "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:营销收款",
  24360. "type": "integer"
  24361. },
  24362. "relationorderid": {
  24363. "description": "关联单号",
  24364. "type": "string"
  24365. },
  24366. "remark": {
  24367. "description": "备注",
  24368. "type": "string"
  24369. },
  24370. "trademode": {
  24371. "description": "交易模式",
  24372. "type": "integer"
  24373. }
  24374. }
  24375. },
  24376. "trade.QueryRecieptOrderRsp": {
  24377. "type": "object",
  24378. "required": [
  24379. "ordertime"
  24380. ],
  24381. "properties": {
  24382. "accountName": {
  24383. "description": "所属账号名称(已脱敏)",
  24384. "type": "string"
  24385. },
  24386. "accountid": {
  24387. "description": "资金账号",
  24388. "type": "integer"
  24389. },
  24390. "buyorsell": {
  24391. "description": "方向 - 0:买 1:卖",
  24392. "type": "integer"
  24393. },
  24394. "enableqty": {
  24395. "description": "可摘数量",
  24396. "type": "integer"
  24397. },
  24398. "goodscode": {
  24399. "description": "商品代码",
  24400. "type": "string"
  24401. },
  24402. "goodsid": {
  24403. "description": "商品ID",
  24404. "type": "integer"
  24405. },
  24406. "goodsname": {
  24407. "description": "商品名称",
  24408. "type": "string"
  24409. },
  24410. "orderid": {
  24411. "description": "委托单号",
  24412. "type": "string"
  24413. },
  24414. "orderprice": {
  24415. "description": "委托价格",
  24416. "type": "number"
  24417. },
  24418. "ordertime": {
  24419. "description": "委托时间",
  24420. "type": "string"
  24421. },
  24422. "tradedate": {
  24423. "description": "交易日(yyyyMMdd)",
  24424. "type": "string"
  24425. }
  24426. }
  24427. },
  24428. "user.LoginQueryRsp": {
  24429. "type": "object",
  24430. "properties": {
  24431. "externalExchanges": {
  24432. "description": "外部交易所",
  24433. "type": "array",
  24434. "items": {
  24435. "$ref": "#/definitions/models.Externalexchange"
  24436. }
  24437. },
  24438. "goodsgroups": {
  24439. "description": "商品组",
  24440. "type": "array",
  24441. "items": {
  24442. "$ref": "#/definitions/models.Goodsgroup"
  24443. }
  24444. },
  24445. "loginAccount": {
  24446. "description": "登录账号",
  24447. "$ref": "#/definitions/models.Loginaccount"
  24448. },
  24449. "markets": {
  24450. "description": "市场",
  24451. "type": "array",
  24452. "items": {
  24453. "$ref": "#/definitions/models.Market"
  24454. }
  24455. },
  24456. "systemParams": {
  24457. "description": "系统参数",
  24458. "type": "array",
  24459. "items": {
  24460. "$ref": "#/definitions/models.Systemparam"
  24461. }
  24462. },
  24463. "userAccount": {
  24464. "description": "用户账号",
  24465. "$ref": "#/definitions/models.Useraccount"
  24466. },
  24467. "userInfo": {
  24468. "description": "用户信息",
  24469. "$ref": "#/definitions/models.Userinfo"
  24470. },
  24471. "username": {
  24472. "description": "用户姓名",
  24473. "type": "string"
  24474. }
  24475. }
  24476. }
  24477. },
  24478. "securityDefinitions": {
  24479. "ApiKeyAuth": {
  24480. "type": "apiKey",
  24481. "name": "Authorization",
  24482. "in": "header"
  24483. }
  24484. }
  24485. }`
  24486. type swaggerInfo struct {
  24487. Version string
  24488. Host string
  24489. BasePath string
  24490. Schemes []string
  24491. Title string
  24492. Description string
  24493. }
  24494. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24495. var SwaggerInfo = swaggerInfo{
  24496. Version: "1.0",
  24497. Host: "",
  24498. BasePath: "/api",
  24499. Schemes: []string{},
  24500. Title: "MTP2.0 查询服务 API",
  24501. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24502. }
  24503. type s struct{}
  24504. func (s *s) ReadDoc() string {
  24505. sInfo := SwaggerInfo
  24506. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24507. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24508. "marshal": func(v interface{}) string {
  24509. a, _ := json.Marshal(v)
  24510. return string(a)
  24511. },
  24512. }).Parse(doc)
  24513. if err != nil {
  24514. return doc
  24515. }
  24516. var tpl bytes.Buffer
  24517. if err := t.Execute(&tpl, sInfo); err != nil {
  24518. return doc
  24519. }
  24520. return tpl.String()
  24521. }
  24522. func init() {
  24523. swag.Register(swag.Name, &s{})
  24524. }