docs.go 886 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635
  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://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  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": "areaUserId",
  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.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  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": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  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/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "品类id(明细必填)",
  3127. "name": "wrstandardid",
  3128. "in": "query"
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "币种id(明细必填)",
  3133. "name": "currencyid",
  3134. "in": "query"
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "type": "array",
  3142. "items": {
  3143. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3144. }
  3145. }
  3146. },
  3147. "500": {
  3148. "description": "Internal Server Error",
  3149. "schema": {
  3150. "$ref": "#/definitions/app.Response"
  3151. }
  3152. }
  3153. }
  3154. }
  3155. },
  3156. "/Ermcp3/QryAreaStockReport": {
  3157. "get": {
  3158. "security": [
  3159. {
  3160. "ApiKeyAuth": []
  3161. }
  3162. ],
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "企业风险管理v3(app)"
  3168. ],
  3169. "summary": "查询库存报表",
  3170. "parameters": [
  3171. {
  3172. "type": "integer",
  3173. "description": "用户ID",
  3174. "name": "userid",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "查询类型 1-报表 2-报表明细",
  3181. "name": "querytype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3188. "name": "cycletype",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3195. "name": "cycletime",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "string",
  3201. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3202. "name": "sumfields",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品种ID",
  3208. "name": "deliverygoodsid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品类ID",
  3214. "name": "wrstandardid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "品牌ID",
  3220. "name": "spotgoodsbrandid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "仓库ID",
  3226. "name": "warehouseinfoid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSumPL": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询汇总损益表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "币种id(明细必填)",
  3295. "name": "currencyid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "type": "array",
  3304. "items": {
  3305. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryFinanceReport": {
  3319. "get": {
  3320. "security": [
  3321. {
  3322. "ApiKeyAuth": []
  3323. }
  3324. ],
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "企业风险管理v3(app)"
  3330. ],
  3331. "summary": "查询财务报表",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "用户ID",
  3336. "name": "userid",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "查询类型 1-报表 2-报表明细",
  3343. "name": "querytype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3350. "name": "cycletype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3357. "name": "cycletime",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "币种id(日报表明细)",
  3364. "name": "currencyid",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3375. }
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/Ermcp3/QueryAreaStock": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "企业风险管理v3(app)"
  3399. ],
  3400. "summary": "查询机构库存(库存管理/当前库存)",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "用户ID",
  3405. "name": "userid",
  3406. "in": "query",
  3407. "required": true
  3408. }
  3409. ],
  3410. "responses": {
  3411. "200": {
  3412. "description": "OK",
  3413. "schema": {
  3414. "type": "array",
  3415. "items": {
  3416. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3417. }
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/Ermcp3/QueryAreaStockApply": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "produces": [
  3437. "application/json"
  3438. ],
  3439. "tags": [
  3440. "企业风险管理v3(app)"
  3441. ],
  3442. "summary": "查询库存申请(出入库记录|库存审核)",
  3443. "parameters": [
  3444. {
  3445. "type": "integer",
  3446. "description": "用户ID",
  3447. "name": "userid",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "用户类型 2-机构 7-企业成员",
  3454. "name": "usertype",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "现货商品ID",
  3460. "name": "deliverygoodsid",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "string",
  3465. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3466. "name": "inouttype",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "合同ID",
  3472. "name": "spotcontractid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "品类ID",
  3478. "name": "wrstandardid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品牌ID",
  3484. "name": "spotgoodsbrandid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "仓库ID",
  3490. "name": "warehouseinfoid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "string",
  3495. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3496. "name": "applystatus",
  3497. "in": "query"
  3498. }
  3499. ],
  3500. "responses": {
  3501. "200": {
  3502. "description": "OK",
  3503. "schema": {
  3504. "type": "array",
  3505. "items": {
  3506. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3507. }
  3508. }
  3509. },
  3510. "500": {
  3511. "description": "Internal Server Error",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. }
  3516. }
  3517. }
  3518. },
  3519. "/Ermcp3/QueryAreaStockApplySum": {
  3520. "get": {
  3521. "security": [
  3522. {
  3523. "ApiKeyAuth": []
  3524. }
  3525. ],
  3526. "produces": [
  3527. "application/json"
  3528. ],
  3529. "tags": [
  3530. "企业风险管理v3(app)"
  3531. ],
  3532. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3533. "parameters": [
  3534. {
  3535. "type": "integer",
  3536. "description": "合同ID",
  3537. "name": "spotcontractid",
  3538. "in": "query"
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "type": "array",
  3546. "items": {
  3547. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3548. }
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/Ermcp3/QueryDGFactoryItem": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "企业风险管理v3(app)"
  3572. ],
  3573. "summary": "查询品种要素定义项",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户id",
  3578. "name": "userid",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "用户类型 2-机构 7-企业成员",
  3584. "name": "usertype",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3590. "name": "dgfactoryitemid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "现货品种ID",
  3596. "name": "deliverygoodsid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "要素项类型",
  3602. "name": "dgfactoryitemtypeid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "顺序",
  3608. "name": "orderindex",
  3609. "in": "query"
  3610. }
  3611. ],
  3612. "responses": {
  3613. "200": {
  3614. "description": "OK",
  3615. "schema": {
  3616. "type": "array",
  3617. "items": {
  3618. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3619. }
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Ermcp3/QueryDeliveryGoods": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "企业风险管理v3(app)"
  3643. ],
  3644. "summary": "查询现货商品",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "用户id",
  3649. "name": "userid",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "用户类型 2-机构 7-企业成员",
  3656. "name": "usertype",
  3657. "in": "query"
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3662. "name": "excludecfg",
  3663. "in": "query"
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "type": "array",
  3671. "items": {
  3672. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3673. }
  3674. }
  3675. },
  3676. "500": {
  3677. "description": "Internal Server Error",
  3678. "schema": {
  3679. "$ref": "#/definitions/app.Response"
  3680. }
  3681. }
  3682. }
  3683. }
  3684. },
  3685. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3686. "get": {
  3687. "security": [
  3688. {
  3689. "ApiKeyAuth": []
  3690. }
  3691. ],
  3692. "produces": [
  3693. "application/json"
  3694. ],
  3695. "tags": [
  3696. "企业风险管理v3(app)"
  3697. ],
  3698. "summary": "查询现货商品详情",
  3699. "parameters": [
  3700. {
  3701. "type": "integer",
  3702. "description": "用户id",
  3703. "name": "userid",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "用户类型 2-机构 7-企业成员",
  3710. "name": "usertype",
  3711. "in": "query"
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "现货商品id",
  3716. "name": "deliverygoodsid",
  3717. "in": "query"
  3718. }
  3719. ],
  3720. "responses": {
  3721. "200": {
  3722. "description": "OK",
  3723. "schema": {
  3724. "type": "array",
  3725. "items": {
  3726. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3727. }
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/Ermcp3/QueryExposureDetail": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "企业风险管理v3(app)"
  3751. ],
  3752. "summary": "查询敞口现货明细",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户id",
  3757. "name": "userid",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "用户类型 2-机构 7-企业成员",
  3764. "name": "usertype",
  3765. "in": "query"
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "套保商品",
  3770. "name": "middlegoodsid",
  3771. "in": "query",
  3772. "required": true
  3773. }
  3774. ],
  3775. "responses": {
  3776. "200": {
  3777. "description": "OK",
  3778. "schema": {
  3779. "type": "array",
  3780. "items": {
  3781. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3782. }
  3783. }
  3784. },
  3785. "500": {
  3786. "description": "Internal Server Error",
  3787. "schema": {
  3788. "$ref": "#/definitions/app.Response"
  3789. }
  3790. }
  3791. }
  3792. }
  3793. },
  3794. "/Ermcp3/QueryExposureSpot": {
  3795. "get": {
  3796. "security": [
  3797. {
  3798. "ApiKeyAuth": []
  3799. }
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "企业风险管理v3(app)"
  3806. ],
  3807. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "用户id",
  3812. "name": "userid",
  3813. "in": "query",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "用户类型 2-机构 7-企业成员",
  3819. "name": "usertype",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QueryExposureSpotDetail": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户id",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "用户类型 2-机构 7-企业成员",
  3867. "name": "usertype",
  3868. "in": "query"
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "现货品种ID",
  3873. "name": "deliverygoodsid",
  3874. "in": "query",
  3875. "required": true
  3876. }
  3877. ],
  3878. "responses": {
  3879. "200": {
  3880. "description": "OK",
  3881. "schema": {
  3882. "type": "array",
  3883. "items": {
  3884. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3885. }
  3886. }
  3887. },
  3888. "500": {
  3889. "description": "Internal Server Error",
  3890. "schema": {
  3891. "$ref": "#/definitions/app.Response"
  3892. }
  3893. }
  3894. }
  3895. }
  3896. },
  3897. "/Ermcp3/QueryGoodsGroup": {
  3898. "get": {
  3899. "security": [
  3900. {
  3901. "ApiKeyAuth": []
  3902. }
  3903. ],
  3904. "produces": [
  3905. "application/json"
  3906. ],
  3907. "tags": [
  3908. "企业风险管理v3(app)"
  3909. ],
  3910. "summary": "查询期货商品组",
  3911. "parameters": [
  3912. {
  3913. "type": "integer",
  3914. "description": "用户id",
  3915. "name": "userid",
  3916. "in": "query",
  3917. "required": true
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "用户类型 2-机构 7-企业成员",
  3922. "name": "usertype",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "排除套保品中已关联的商品组 1-排除",
  3928. "name": "excludecfg",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp3/QueryGoodsWrstandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理v3(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": "用户类型 2-机构 7-企业成员",
  3976. "name": "usertype",
  3977. "in": "query"
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "现货商品id",
  3982. "name": "deliverygoodsid",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "type": "array",
  3991. "items": {
  3992. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3993. }
  3994. }
  3995. },
  3996. "500": {
  3997. "description": "Internal Server Error",
  3998. "schema": {
  3999. "$ref": "#/definitions/app.Response"
  4000. }
  4001. }
  4002. }
  4003. }
  4004. },
  4005. "/Ermcp3/QueryGoodsbrand": {
  4006. "get": {
  4007. "security": [
  4008. {
  4009. "ApiKeyAuth": []
  4010. }
  4011. ],
  4012. "produces": [
  4013. "application/json"
  4014. ],
  4015. "tags": [
  4016. "企业风险管理v3(app)"
  4017. ],
  4018. "summary": "查询商品品牌",
  4019. "parameters": [
  4020. {
  4021. "type": "integer",
  4022. "description": "用户id",
  4023. "name": "userid",
  4024. "in": "query",
  4025. "required": true
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "用户类型 2-机构 7-企业成员",
  4030. "name": "usertype",
  4031. "in": "query"
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "type": "array",
  4039. "items": {
  4040. "$ref": "#/definitions/models.Ermcp3Brand"
  4041. }
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "Internal Server Error",
  4046. "schema": {
  4047. "$ref": "#/definitions/app.Response"
  4048. }
  4049. }
  4050. }
  4051. }
  4052. },
  4053. "/Ermcp3/QueryHedgePlan": {
  4054. "get": {
  4055. "security": [
  4056. {
  4057. "ApiKeyAuth": []
  4058. }
  4059. ],
  4060. "produces": [
  4061. "application/json"
  4062. ],
  4063. "tags": [
  4064. "企业风险管理v3(app)"
  4065. ],
  4066. "summary": "查询套保计划",
  4067. "parameters": [
  4068. {
  4069. "type": "integer",
  4070. "description": "用户ID",
  4071. "name": "userid",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "用户类型 2-机构 7-企业成员",
  4078. "name": "usertype",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "string",
  4083. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4084. "name": "hedgeplanstatus",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "type": "array",
  4094. "items": {
  4095. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4096. }
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Ermcp3/QueryMiddleGoodsDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "企业风险管理v3(app)"
  4120. ],
  4121. "summary": "查询套保品种详情(套保品种/商品详情)",
  4122. "parameters": [
  4123. {
  4124. "type": "integer",
  4125. "description": "用户id",
  4126. "name": "userid",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": "用户类型 2-机构 7-企业成员",
  4133. "name": "usertype",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "套保品种id",
  4139. "name": "middlegoodsid",
  4140. "in": "query"
  4141. }
  4142. ],
  4143. "responses": {
  4144. "200": {
  4145. "description": "OK",
  4146. "schema": {
  4147. "type": "array",
  4148. "items": {
  4149. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4150. }
  4151. }
  4152. },
  4153. "500": {
  4154. "description": "Internal Server Error",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "/Ermcp3/QuerySpotContract": {
  4163. "get": {
  4164. "security": [
  4165. {
  4166. "ApiKeyAuth": []
  4167. }
  4168. ],
  4169. "produces": [
  4170. "application/json"
  4171. ],
  4172. "tags": [
  4173. "企业风险管理v3(app)"
  4174. ],
  4175. "summary": "查询现货合同",
  4176. "parameters": [
  4177. {
  4178. "type": "integer",
  4179. "description": "用户id",
  4180. "name": "userid",
  4181. "in": "query",
  4182. "required": true
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "用户类型 2-机构 7-企业成员",
  4187. "name": "usertype",
  4188. "in": "query"
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4193. "name": "querytype",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "合同ID(SpotContractId)",
  4200. "name": "contractid",
  4201. "in": "query"
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "type": "array",
  4209. "items": {
  4210. "$ref": "#/definitions/models.Ermcp3Contract"
  4211. }
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/Ermcp3/QuerySpotContractBS": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "企业风险管理v3(app)"
  4235. ],
  4236. "summary": "查询合同(采购/销售)",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户id",
  4241. "name": "userid",
  4242. "in": "query",
  4243. "required": true
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "用户类型 2-机构 7-企业成员",
  4248. "name": "usertype",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "合同类型 1-采购, -1-销售",
  4254. "name": "contracttype",
  4255. "in": "query",
  4256. "required": true
  4257. },
  4258. {
  4259. "type": "integer",
  4260. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4261. "name": "querytype",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "合同ID(SpotContractId)",
  4268. "name": "contractid",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QuerySpotGoodsPrice": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询现货市价(现货市价)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户ID",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询现货市价详情(现货市价/详情)",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户ID",
  4351. "name": "userid",
  4352. "in": "query",
  4353. "required": true
  4354. },
  4355. {
  4356. "type": "integer",
  4357. "description": "现货商品ID",
  4358. "name": "deliverygoodsid",
  4359. "in": "query",
  4360. "required": true
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "品牌ID",
  4365. "name": "brandid",
  4366. "in": "query"
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品类ID",
  4371. "name": "wrstandardid",
  4372. "in": "query"
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "type": "array",
  4380. "items": {
  4381. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4382. }
  4383. }
  4384. },
  4385. "500": {
  4386. "description": "Internal Server Error",
  4387. "schema": {
  4388. "$ref": "#/definitions/app.Response"
  4389. }
  4390. }
  4391. }
  4392. }
  4393. },
  4394. "/Erms2/QueryArbitrageStrategy": {
  4395. "get": {
  4396. "security": [
  4397. {
  4398. "ApiKeyAuth": []
  4399. }
  4400. ],
  4401. "produces": [
  4402. "application/json"
  4403. ],
  4404. "tags": [
  4405. "风险管理"
  4406. ],
  4407. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4408. "parameters": [
  4409. {
  4410. "type": "integer",
  4411. "description": "账户ID",
  4412. "name": "userid",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "string",
  4418. "description": "商品组ID(品种ID)",
  4419. "name": "goodsgroupid",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/Erms2/QueryInnerTradeDetail": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "produces": [
  4447. "application/json"
  4448. ],
  4449. "tags": [
  4450. "风险管理"
  4451. ],
  4452. "summary": "查询内部成交单信息",
  4453. "parameters": [
  4454. {
  4455. "type": "integer",
  4456. "description": "资金账户",
  4457. "name": "accountid",
  4458. "in": "query",
  4459. "required": true
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Erms2/QuerySpotContract": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "风险管理"
  4490. ],
  4491. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "策略申请ID",
  4496. "name": "asapplyid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货合同ID",
  4503. "name": "spotcontractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/Erms3/AddErms2ASApply": {
  4524. "post": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. }
  4529. ],
  4530. "produces": [
  4531. "application/json"
  4532. ],
  4533. "tags": [
  4534. "风险管理v3"
  4535. ],
  4536. "summary": "新增期现套利业务申请",
  4537. "parameters": [
  4538. {
  4539. "description": "申请参数",
  4540. "name": "jsonBody",
  4541. "in": "body",
  4542. "required": true,
  4543. "schema": {
  4544. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4545. }
  4546. }
  4547. ],
  4548. "responses": {
  4549. "200": {
  4550. "description": "OK",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. },
  4555. "500": {
  4556. "description": "Internal Server Error",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/Erms3/AddErms2SpotTradeApply": {
  4565. "post": {
  4566. "security": [
  4567. {
  4568. "ApiKeyAuth": []
  4569. }
  4570. ],
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "风险管理v3"
  4576. ],
  4577. "summary": "新增现货贸易业务申请",
  4578. "parameters": [
  4579. {
  4580. "description": "申请参数",
  4581. "name": "jsonBody",
  4582. "in": "body",
  4583. "required": true,
  4584. "schema": {
  4585. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4586. }
  4587. }
  4588. ],
  4589. "responses": {
  4590. "200": {
  4591. "description": "OK",
  4592. "schema": {
  4593. "$ref": "#/definitions/app.Response"
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Erms3/AddSpotContractApply": {
  4606. "post": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "风险管理v3"
  4617. ],
  4618. "summary": "新增现货合同申请",
  4619. "parameters": [
  4620. {
  4621. "description": "申请参数",
  4622. "name": "jsonBody",
  4623. "in": "body",
  4624. "required": true,
  4625. "schema": {
  4626. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4627. }
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/Erms3/AddUserInfoApply": {
  4647. "post": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "produces": [
  4654. "application/json"
  4655. ],
  4656. "tags": [
  4657. "风险管理v3"
  4658. ],
  4659. "summary": "新增客户申请",
  4660. "parameters": [
  4661. {
  4662. "description": "用户信息",
  4663. "name": "jsonBody",
  4664. "in": "body",
  4665. "required": true,
  4666. "schema": {
  4667. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4668. }
  4669. }
  4670. ],
  4671. "responses": {
  4672. "200": {
  4673. "description": "OK",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. },
  4678. "500": {
  4679. "description": "Internal Server Error",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. }
  4684. }
  4685. }
  4686. },
  4687. "/Erms3/DeleteUserInfoApply": {
  4688. "get": {
  4689. "security": [
  4690. {
  4691. "ApiKeyAuth": []
  4692. }
  4693. ],
  4694. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4695. "produces": [
  4696. "application/json"
  4697. ],
  4698. "tags": [
  4699. "风险管理v3"
  4700. ],
  4701. "summary": "删除客户申请",
  4702. "parameters": [
  4703. {
  4704. "type": "integer",
  4705. "description": "用户ID",
  4706. "name": "userID",
  4707. "in": "query",
  4708. "required": true
  4709. }
  4710. ],
  4711. "responses": {
  4712. "200": {
  4713. "description": "OK",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Erms3/ModifyUserInfoApply": {
  4728. "post": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "风险管理v3"
  4740. ],
  4741. "summary": "修改客户申请",
  4742. "parameters": [
  4743. {
  4744. "description": "用户信息",
  4745. "name": "jsonBody",
  4746. "in": "body",
  4747. "required": true,
  4748. "schema": {
  4749. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4750. }
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Erms3/QueryBusinessInfo": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "风险管理v3"
  4781. ],
  4782. "summary": "查询业务表单数据",
  4783. "parameters": [
  4784. {
  4785. "type": "string",
  4786. "description": "资金账号ID列表,用逗号分隔",
  4787. "name": "accountids",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "状态,0为未结束 1为已结束",
  4794. "name": "status",
  4795. "in": "query",
  4796. "required": true
  4797. }
  4798. ],
  4799. "responses": {
  4800. "200": {
  4801. "description": "OK",
  4802. "schema": {
  4803. "type": "array",
  4804. "items": {
  4805. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4806. }
  4807. }
  4808. },
  4809. "500": {
  4810. "description": "Internal Server Error",
  4811. "schema": {
  4812. "$ref": "#/definitions/app.Response"
  4813. }
  4814. }
  4815. }
  4816. }
  4817. },
  4818. "/Erms3/QueryPendingAuditContract": {
  4819. "get": {
  4820. "security": [
  4821. {
  4822. "ApiKeyAuth": []
  4823. }
  4824. ],
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "风险管理v3"
  4830. ],
  4831. "summary": "查询待审核合同",
  4832. "parameters": [
  4833. {
  4834. "type": "string",
  4835. "description": "资金账号ID列表,逗号隔开",
  4836. "name": "accountids",
  4837. "in": "query",
  4838. "required": true
  4839. },
  4840. {
  4841. "type": "integer",
  4842. "description": "合同类型 1-采购 -1-销售",
  4843. "name": "contracttype",
  4844. "in": "query",
  4845. "required": true
  4846. },
  4847. {
  4848. "type": "integer",
  4849. "description": "合同模式 1-普通 2-回购",
  4850. "name": "contractmode",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Erms3/QueryPendingBusiness": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "风险管理v3"
  4886. ],
  4887. "summary": "查询待审核基差贸易业务",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "资金账号ID列表,逗号隔开",
  4892. "name": "accountids",
  4893. "in": "query",
  4894. "required": true
  4895. }
  4896. ],
  4897. "responses": {
  4898. "200": {
  4899. "description": "OK",
  4900. "schema": {
  4901. "type": "array",
  4902. "items": {
  4903. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4904. }
  4905. }
  4906. },
  4907. "500": {
  4908. "description": "Internal Server Error",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "/Erms3/QuerySpotContractAppleForm": {
  4917. "get": {
  4918. "security": [
  4919. {
  4920. "ApiKeyAuth": []
  4921. }
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "风险管理v3"
  4928. ],
  4929. "summary": "查询合同申请表单数据",
  4930. "parameters": [
  4931. {
  4932. "type": "integer",
  4933. "description": "登录账号",
  4934. "name": "loginID",
  4935. "in": "query",
  4936. "required": true
  4937. }
  4938. ],
  4939. "responses": {
  4940. "200": {
  4941. "description": "OK",
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4944. }
  4945. },
  4946. "500": {
  4947. "description": "Internal Server Error",
  4948. "schema": {
  4949. "$ref": "#/definitions/app.Response"
  4950. }
  4951. }
  4952. }
  4953. }
  4954. },
  4955. "/Erms3/QuerySpotContractDetail": {
  4956. "get": {
  4957. "security": [
  4958. {
  4959. "ApiKeyAuth": []
  4960. }
  4961. ],
  4962. "produces": [
  4963. "application/json"
  4964. ],
  4965. "tags": [
  4966. "风险管理v3"
  4967. ],
  4968. "summary": "查询合同详细信息",
  4969. "parameters": [
  4970. {
  4971. "type": "string",
  4972. "description": "资金账号ID列表,用逗号分隔",
  4973. "name": "accountids",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "合同类型,1为采购合同 -1为销售合同",
  4980. "name": "contracttype",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "合同模式,1为普通合同 2为回购销售合同",
  4987. "name": "contractmode",
  4988. "in": "query",
  4989. "required": true
  4990. },
  4991. {
  4992. "type": "integer",
  4993. "description": "状态,0为履约中 1为已完成",
  4994. "name": "status",
  4995. "in": "query",
  4996. "required": true
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/QueryUserInfoApplies": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "客户申请信息查询",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "页码",
  5036. "name": "page",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "每页条数",
  5042. "name": "pagesize",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "客户名称,支持模糊查询",
  5048. "name": "userName",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/Erms3/QueryUserInfos": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "风险管理v3"
  5080. ],
  5081. "summary": "客户信息查询",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "页码",
  5086. "name": "page",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "每页条数",
  5092. "name": "pagesize",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "string",
  5097. "description": "客户名称,支持模糊查询",
  5098. "name": "userName",
  5099. "in": "query"
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/HSBY/GetHsbyMyCount": {
  5119. "get": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "description": "说明: 不包括已完成的数量。",
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "定制【海商报业】"
  5131. ],
  5132. "summary": "获取我的订单与包裹数量",
  5133. "parameters": [
  5134. {
  5135. "type": "string",
  5136. "description": "资金账户列表,格式:1,2,3",
  5137. "name": "accountIDs",
  5138. "in": "query",
  5139. "required": true
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/HSBY/QueryClientFixedADConfigs": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "produces": [
  5166. "application/json"
  5167. ],
  5168. "tags": [
  5169. "定制【海商报业】"
  5170. ],
  5171. "summary": "获取终端固定广告配置",
  5172. "responses": {
  5173. "200": {
  5174. "description": "OK",
  5175. "schema": {
  5176. "$ref": "#/definitions/models.Clientfixedadconfig"
  5177. }
  5178. },
  5179. "500": {
  5180. "description": "Internal Server Error",
  5181. "schema": {
  5182. "$ref": "#/definitions/app.Response"
  5183. }
  5184. }
  5185. }
  5186. }
  5187. },
  5188. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5189. "get": {
  5190. "security": [
  5191. {
  5192. "ApiKeyAuth": []
  5193. }
  5194. ],
  5195. "produces": [
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "定制【海商报业】"
  5200. ],
  5201. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5202. "parameters": [
  5203. {
  5204. "type": "integer",
  5205. "description": "页码",
  5206. "name": "page",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "每页条数",
  5212. "name": "pagesize",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "资金账户列表,格式:1,2,3",
  5218. "name": "accountIDs",
  5219. "in": "query",
  5220. "required": true
  5221. }
  5222. ],
  5223. "responses": {
  5224. "200": {
  5225. "description": "OK",
  5226. "schema": {
  5227. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5228. }
  5229. },
  5230. "500": {
  5231. "description": "Internal Server Error",
  5232. "schema": {
  5233. "$ref": "#/definitions/app.Response"
  5234. }
  5235. }
  5236. }
  5237. }
  5238. },
  5239. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5240. "get": {
  5241. "security": [
  5242. {
  5243. "ApiKeyAuth": []
  5244. }
  5245. ],
  5246. "description": "说明:查询结果已按委托价格和委托时间排序",
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "定制【海商报业】"
  5252. ],
  5253. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "商品ID",
  5258. "name": "goodsID",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "string",
  5264. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5265. "name": "accountIDs",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5271. "name": "buyOrSell",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "number",
  5276. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5277. "name": "price",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "档位,不传则默认为3档",
  5283. "name": "speed",
  5284. "in": "query"
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5292. }
  5293. },
  5294. "500": {
  5295. "description": "Internal Server Error",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "/HSBY/QueryHsbyListingGoodsDetail": {
  5304. "get": {
  5305. "security": [
  5306. {
  5307. "ApiKeyAuth": []
  5308. }
  5309. ],
  5310. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "定制【海商报业】"
  5316. ],
  5317. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "商品ID",
  5322. "name": "goodsID",
  5323. "in": "query",
  5324. "required": true
  5325. },
  5326. {
  5327. "type": "integer",
  5328. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5329. "name": "accountID",
  5330. "in": "query"
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5338. }
  5339. },
  5340. "500": {
  5341. "description": "Internal Server Error",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. }
  5346. }
  5347. }
  5348. },
  5349. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5350. "get": {
  5351. "security": [
  5352. {
  5353. "ApiKeyAuth": []
  5354. }
  5355. ],
  5356. "produces": [
  5357. "application/json"
  5358. ],
  5359. "tags": [
  5360. "定制【海商报业】"
  5361. ],
  5362. "summary": "查询三级市场(商城)商品信息详情",
  5363. "parameters": [
  5364. {
  5365. "type": "integer",
  5366. "description": "委托单号",
  5367. "name": "orderID",
  5368. "in": "query",
  5369. "required": true
  5370. },
  5371. {
  5372. "type": "integer",
  5373. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5374. "name": "accountID",
  5375. "in": "query"
  5376. }
  5377. ],
  5378. "responses": {
  5379. "200": {
  5380. "description": "OK",
  5381. "schema": {
  5382. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5383. }
  5384. },
  5385. "500": {
  5386. "description": "Internal Server Error",
  5387. "schema": {
  5388. "$ref": "#/definitions/app.Response"
  5389. }
  5390. }
  5391. }
  5392. }
  5393. },
  5394. "/HSBY/QueryHsbyMarketGoodses": {
  5395. "get": {
  5396. "security": [
  5397. {
  5398. "ApiKeyAuth": []
  5399. }
  5400. ],
  5401. "produces": [
  5402. "application/json"
  5403. ],
  5404. "tags": [
  5405. "定制【海商报业】"
  5406. ],
  5407. "summary": "查询特卖商品列表(三级商城)",
  5408. "parameters": [
  5409. {
  5410. "type": "integer",
  5411. "description": "页码",
  5412. "name": "page",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "每页条数",
  5418. "name": "pagesize",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "市场ID列表,格式:1,2,3",
  5424. "name": "marketIDs",
  5425. "in": "query",
  5426. "required": true
  5427. },
  5428. {
  5429. "type": "integer",
  5430. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5431. "name": "accountID",
  5432. "in": "query",
  5433. "required": true
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "类别ID",
  5438. "name": "categoryID",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5444. "name": "goodsIDs",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5450. "name": "couponTypeID",
  5451. "in": "query"
  5452. }
  5453. ],
  5454. "responses": {
  5455. "200": {
  5456. "description": "OK",
  5457. "schema": {
  5458. "$ref": "#/definitions/models.HsbyMarketGoods"
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/HSBY/QueryHsbyMarkets": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "produces": [
  5478. "application/json"
  5479. ],
  5480. "tags": [
  5481. "定制【海商报业】"
  5482. ],
  5483. "summary": "查询海商报业相关市场信息",
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/models.HsbyMarketInfo"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5508. "produces": [
  5509. "application/json"
  5510. ],
  5511. "tags": [
  5512. "定制【海商报业】"
  5513. ],
  5514. "summary": "查询“我的订单”信息",
  5515. "parameters": [
  5516. {
  5517. "type": "string",
  5518. "description": "资金账户列表,格式:1,2,3",
  5519. "name": "accountIDs",
  5520. "in": "query",
  5521. "required": true
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyMyGoods": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "定制【海商报业】"
  5553. ],
  5554. "summary": "查询“我的商品”信息",
  5555. "parameters": [
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户列表,格式:1,2,3",
  5559. "name": "accountIDs",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/models.HsbyMyGoods"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyMyPackages": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "定制【海商报业】"
  5592. ],
  5593. "summary": "查询我的包裹信息",
  5594. "parameters": [
  5595. {
  5596. "type": "string",
  5597. "description": "资金账户列表,格式:1,2,3",
  5598. "name": "accountIDs",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5605. "name": "takeOrderStatus",
  5606. "in": "query"
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/models.HsbyMyPackage"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/HSBY/QueryHsbyPreGoodsDetail": {
  5626. "get": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "定制【海商报业】"
  5637. ],
  5638. "summary": "查询一级市场(预售)商品信息详情",
  5639. "parameters": [
  5640. {
  5641. "type": "integer",
  5642. "description": "商品ID",
  5643. "name": "goodsID",
  5644. "in": "query",
  5645. "required": true
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "资金账户,主要用于获取预售商品购买上限",
  5650. "name": "accountID",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5659. }
  5660. },
  5661. "500": {
  5662. "description": "Internal Server Error",
  5663. "schema": {
  5664. "$ref": "#/definitions/app.Response"
  5665. }
  5666. }
  5667. }
  5668. }
  5669. },
  5670. "/HSBY/QueryHsbyPreGoodses": {
  5671. "get": {
  5672. "security": [
  5673. {
  5674. "ApiKeyAuth": []
  5675. }
  5676. ],
  5677. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5678. "produces": [
  5679. "application/json"
  5680. ],
  5681. "tags": [
  5682. "定制【海商报业】"
  5683. ],
  5684. "summary": "查询新品上市商品列表(一级市场预售)",
  5685. "parameters": [
  5686. {
  5687. "type": "integer",
  5688. "description": "页码",
  5689. "name": "page",
  5690. "in": "query"
  5691. },
  5692. {
  5693. "type": "integer",
  5694. "description": "每页条数",
  5695. "name": "pagesize",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "市场ID列表,格式:1,2,3",
  5701. "name": "marketIDs",
  5702. "in": "query",
  5703. "required": true
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "目的地(省)ID",
  5708. "name": "descProvinceID",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(市)ID",
  5714. "name": "descCityID",
  5715. "in": "query"
  5716. }
  5717. ],
  5718. "responses": {
  5719. "200": {
  5720. "description": "OK",
  5721. "schema": {
  5722. "$ref": "#/definitions/models.HsbyPreGoods"
  5723. }
  5724. },
  5725. "500": {
  5726. "description": "Internal Server Error",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. }
  5731. }
  5732. }
  5733. },
  5734. "/HSBY/QueryHsbySellMyDetails": {
  5735. "get": {
  5736. "security": [
  5737. {
  5738. "ApiKeyAuth": []
  5739. }
  5740. ],
  5741. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5742. "produces": [
  5743. "application/json"
  5744. ],
  5745. "tags": [
  5746. "定制【海商报业】"
  5747. ],
  5748. "summary": "查询\"我的闲置\"单据信息",
  5749. "parameters": [
  5750. {
  5751. "type": "integer",
  5752. "description": "页码",
  5753. "name": "page",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "integer",
  5758. "description": "每页条数",
  5759. "name": "pagesize",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "string",
  5764. "description": "资金账户列表,格式:1,2,3",
  5765. "name": "accountIDs",
  5766. "in": "query",
  5767. "required": true
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5772. "name": "orderType",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.HsbySellMyDetail"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryHsbyTopGoodses": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5800. "produces": [
  5801. "application/json"
  5802. ],
  5803. "tags": [
  5804. "定制【海商报业】"
  5805. ],
  5806. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5807. "parameters": [
  5808. {
  5809. "type": "integer",
  5810. "description": "页码",
  5811. "name": "page",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "integer",
  5816. "description": "每页条数",
  5817. "name": "pagesize",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "string",
  5822. "description": "市场ID列表,格式:1,2,3",
  5823. "name": "marketIDs",
  5824. "in": "query",
  5825. "required": true
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "目的地(省)ID",
  5830. "name": "descProvinceID",
  5831. "in": "query"
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(市)ID",
  5836. "name": "descCityID",
  5837. "in": "query"
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.HsbyTopGoods"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5864. "produces": [
  5865. "application/json"
  5866. ],
  5867. "tags": [
  5868. "定制【海商报业】"
  5869. ],
  5870. "summary": "查询游客三级市场(商城)商品信息详情",
  5871. "parameters": [
  5872. {
  5873. "type": "integer",
  5874. "description": "商品ID",
  5875. "name": "goodsID",
  5876. "in": "query",
  5877. "required": true
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "OK",
  5883. "schema": {
  5884. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5885. }
  5886. },
  5887. "500": {
  5888. "description": "Internal Server Error",
  5889. "schema": {
  5890. "$ref": "#/definitions/app.Response"
  5891. }
  5892. }
  5893. }
  5894. }
  5895. },
  5896. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5897. "get": {
  5898. "security": [
  5899. {
  5900. "ApiKeyAuth": []
  5901. }
  5902. ],
  5903. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "定制【海商报业】"
  5909. ],
  5910. "summary": "查询游客特卖商品列表(三级商城)",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "页码",
  5915. "name": "page",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "每页条数",
  5921. "name": "pagesize",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "string",
  5926. "description": "市场ID列表,格式:1,2,3",
  5927. "name": "marketIDs",
  5928. "in": "query",
  5929. "required": true
  5930. },
  5931. {
  5932. "type": "integer",
  5933. "description": "类别ID",
  5934. "name": "categoryID",
  5935. "in": "query"
  5936. },
  5937. {
  5938. "type": "string",
  5939. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5940. "name": "goodsIDs",
  5941. "in": "query"
  5942. }
  5943. ],
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.HsbyMarketGoods"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/HSBY/QueryMyCollectionOrders": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "定制【海商报业】"
  5972. ],
  5973. "summary": "我的闲置中收款信息查询",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "页码",
  5978. "name": "page",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "每页条数",
  5984. "name": "pagesize",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户,格式:1,2,3",
  5990. "name": "accountIDs",
  5991. "in": "query",
  5992. "required": true
  5993. }
  5994. ],
  5995. "responses": {
  5996. "200": {
  5997. "description": "OK",
  5998. "schema": {
  5999. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6000. }
  6001. },
  6002. "500": {
  6003. "description": "Internal Server Error",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. }
  6008. }
  6009. }
  6010. },
  6011. "/HSBY/QueryMyCouponHolds": {
  6012. "get": {
  6013. "security": [
  6014. {
  6015. "ApiKeyAuth": []
  6016. }
  6017. ],
  6018. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6019. "produces": [
  6020. "application/json"
  6021. ],
  6022. "tags": [
  6023. "定制【海商报业】"
  6024. ],
  6025. "summary": "我的优惠卷持仓查询",
  6026. "parameters": [
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户列表,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. },
  6034. {
  6035. "type": "string",
  6036. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6037. "name": "holdStatus",
  6038. "in": "query"
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/models.MyCouponHold"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/HSBY/QueryMyCoupons": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【海商报业】"
  6069. ],
  6070. "summary": "我的优惠卷查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "资金账户列表,格式:1,2,3",
  6075. "name": "accountIDs",
  6076. "in": "query",
  6077. "required": true
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "商品ID, 一般与sellUserID配套传入",
  6082. "name": "goodsID",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "卖方UserID",
  6088. "name": "sellUserID",
  6089. "in": "query"
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/models.MyCoupon"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/HSBY/QueryMyPayOrders": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "定制【海商报业】"
  6120. ],
  6121. "summary": "获取我的订单中待付款信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "页码",
  6126. "name": "page",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "integer",
  6131. "description": "每页条数",
  6132. "name": "pagesize",
  6133. "in": "query"
  6134. },
  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": "买方委托单号",
  6145. "name": "buyOrderID",
  6146. "in": "query"
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "卖方委托单号",
  6151. "name": "sellOrderID",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/HSBY/QueryMyUsedCoupon": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "定制【海商报业】"
  6183. ],
  6184. "summary": "已使用优惠卷查询",
  6185. "parameters": [
  6186. {
  6187. "type": "string",
  6188. "description": "资金账户列表,格式:1,2,3",
  6189. "name": "accountIDs",
  6190. "in": "query",
  6191. "required": true
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.MyUsedCoupon"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryProvincesAndCities": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "查询省市信息(不包括区)",
  6225. "parameters": [
  6226. {
  6227. "type": "integer",
  6228. "description": "省ID",
  6229. "name": "provinceID",
  6230. "in": "query"
  6231. }
  6232. ],
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/SetHsbyMyPackagesStatus": {
  6250. "post": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "设置我的包裹已收货状态",
  6263. "parameters": [
  6264. {
  6265. "type": "string",
  6266. "description": "提货单号",
  6267. "name": "takeOrderID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "资金账号",
  6274. "name": "accountID",
  6275. "in": "query",
  6276. "required": true
  6277. }
  6278. ],
  6279. "responses": {
  6280. "200": {
  6281. "description": "OK",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. },
  6286. "500": {
  6287. "description": "Internal Server Error",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. }
  6292. }
  6293. }
  6294. },
  6295. "/Market/QueryGoodsesByLoginID": {
  6296. "get": {
  6297. "security": [
  6298. {
  6299. "ApiKeyAuth": []
  6300. }
  6301. ],
  6302. "produces": [
  6303. "application/json"
  6304. ],
  6305. "tags": [
  6306. "通用市场"
  6307. ],
  6308. "summary": "获取登录账号有权限的商品信息",
  6309. "parameters": [
  6310. {
  6311. "type": "integer",
  6312. "description": "登录账号",
  6313. "name": "loginID",
  6314. "in": "query",
  6315. "required": true
  6316. },
  6317. {
  6318. "type": "string",
  6319. "description": "市场ID列表,格式:1,2,3",
  6320. "name": "marketIDs",
  6321. "in": "query"
  6322. }
  6323. ],
  6324. "responses": {
  6325. "200": {
  6326. "description": "OK",
  6327. "schema": {
  6328. "$ref": "#/definitions/models.Goods"
  6329. }
  6330. },
  6331. "500": {
  6332. "description": "Internal Server Error",
  6333. "schema": {
  6334. "$ref": "#/definitions/app.Response"
  6335. }
  6336. }
  6337. }
  6338. }
  6339. },
  6340. "/Market/QueryMarketRun": {
  6341. "get": {
  6342. "security": [
  6343. {
  6344. "ApiKeyAuth": []
  6345. }
  6346. ],
  6347. "produces": [
  6348. "application/json"
  6349. ],
  6350. "tags": [
  6351. "通用市场"
  6352. ],
  6353. "summary": "查询市场运行信息",
  6354. "parameters": [
  6355. {
  6356. "type": "integer",
  6357. "description": "市场ID,不传返回所有",
  6358. "name": "marketID",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Marketrun"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/Market/QueryMarketsByLoginID": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "通用市场"
  6390. ],
  6391. "summary": "获取登录账号有权限的市场信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "登录账号",
  6396. "name": "loginID",
  6397. "in": "query",
  6398. "required": true
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/models.Market"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/Order/QueryHisTradeDetail": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "通用单据"
  6429. ],
  6430. "summary": "历史成交单查询(合约市场)",
  6431. "parameters": [
  6432. {
  6433. "type": "string",
  6434. "description": "资金账户 - 格式:1,2,3",
  6435. "name": "accountID",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "成交单号",
  6442. "name": "tradeID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "委托单号",
  6448. "name": "orderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "交易模式 - 格式:1,2,3",
  6454. "name": "tradeMode",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "委托单据类型",
  6460. "name": "buildType",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "成交类别 - 格式:1,2,3",
  6466. "name": "tradeType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6472. "name": "startDate",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "endDate",
  6479. "in": "query"
  6480. }
  6481. ],
  6482. "responses": {
  6483. "200": {
  6484. "description": "OK",
  6485. "schema": {
  6486. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6487. }
  6488. },
  6489. "500": {
  6490. "description": "Internal Server Error",
  6491. "schema": {
  6492. "$ref": "#/definitions/app.Response"
  6493. }
  6494. }
  6495. }
  6496. }
  6497. },
  6498. "/Order/QueryHisTradeOrderDetail": {
  6499. "get": {
  6500. "security": [
  6501. {
  6502. "ApiKeyAuth": []
  6503. }
  6504. ],
  6505. "produces": [
  6506. "application/json"
  6507. ],
  6508. "tags": [
  6509. "通用单据"
  6510. ],
  6511. "summary": "历史委托单查询请求(合约市场)",
  6512. "parameters": [
  6513. {
  6514. "type": "string",
  6515. "description": "资金账户 - 格式:1,2,3",
  6516. "name": "accountID",
  6517. "in": "query",
  6518. "required": true
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "交易模式 - 格式:1,2,3",
  6523. "name": "tradeMode",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "委托状态 - 格式:1,2,3",
  6529. "name": "orderStatus",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "integer",
  6534. "description": "委托单号",
  6535. "name": "orderID",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "startDate",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "endDate",
  6548. "in": "query"
  6549. }
  6550. ],
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/Order/QueryTradeDetail": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "produces": [
  6575. "application/json"
  6576. ],
  6577. "tags": [
  6578. "通用单据"
  6579. ],
  6580. "summary": "成交单查询(合约市场)",
  6581. "parameters": [
  6582. {
  6583. "type": "string",
  6584. "description": "资金账户 - 格式:1,2,3",
  6585. "name": "accountID",
  6586. "in": "query",
  6587. "required": true
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "成交单号",
  6592. "name": "tradeID",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单号",
  6598. "name": "orderID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "交易模式 - 格式:1,2,3",
  6604. "name": "tradeMode",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "委托单据类型",
  6610. "name": "buildType",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "string",
  6615. "description": "成交类别 - 格式:1,2,3",
  6616. "name": "tradeType",
  6617. "in": "query"
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Order/QueryTradeOrderDetail": {
  6637. "get": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "通用单据"
  6648. ],
  6649. "summary": "委托单查询请求(合约市场)",
  6650. "parameters": [
  6651. {
  6652. "type": "string",
  6653. "description": "资金账户 - 格式:1,2,3",
  6654. "name": "accountID",
  6655. "in": "query",
  6656. "required": true
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "交易模式 - 格式:1,2,3",
  6661. "name": "tradeMode",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "委托状态 - 格式:1,2,3",
  6667. "name": "orderStatus",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "委托单号",
  6673. "name": "orderID",
  6674. "in": "query"
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "OK",
  6680. "schema": {
  6681. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/Order/QueryTradePosition": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "通用单据"
  6705. ],
  6706. "summary": "持仓汇总查询(合约市场)",
  6707. "parameters": [
  6708. {
  6709. "type": "string",
  6710. "description": "资金账户 - 格式:1,2,3",
  6711. "name": "accountID",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "string",
  6717. "description": "交易模式 - 格式:1,2,3",
  6718. "name": "tradeMode",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/Qhj/QueryContract": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "大连千海金"
  6750. ],
  6751. "summary": "查询融资明细(合同)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "用户ID",
  6756. "name": "userid",
  6757. "in": "query",
  6758. "required": true
  6759. },
  6760. {
  6761. "type": "integer",
  6762. "description": "scf合同id",
  6763. "name": "scfcontractid",
  6764. "in": "query"
  6765. }
  6766. ],
  6767. "responses": {
  6768. "200": {
  6769. "description": "OK",
  6770. "schema": {
  6771. "type": "array",
  6772. "items": {
  6773. "$ref": "#/definitions/models.QhjContract"
  6774. }
  6775. }
  6776. },
  6777. "500": {
  6778. "description": "Internal Server Error",
  6779. "schema": {
  6780. "$ref": "#/definitions/app.Response"
  6781. }
  6782. }
  6783. }
  6784. }
  6785. },
  6786. "/Qhj/QueryContractLog": {
  6787. "get": {
  6788. "security": [
  6789. {
  6790. "ApiKeyAuth": []
  6791. }
  6792. ],
  6793. "produces": [
  6794. "application/json"
  6795. ],
  6796. "tags": [
  6797. "大连千海金"
  6798. ],
  6799. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6800. "parameters": [
  6801. {
  6802. "type": "integer",
  6803. "description": "scf合同id",
  6804. "name": "scfcontractid",
  6805. "in": "query",
  6806. "required": true
  6807. },
  6808. {
  6809. "type": "string",
  6810. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6811. "name": "amounttype",
  6812. "in": "query"
  6813. }
  6814. ],
  6815. "responses": {
  6816. "200": {
  6817. "description": "OK",
  6818. "schema": {
  6819. "type": "array",
  6820. "items": {
  6821. "$ref": "#/definitions/models.QhjContractLog"
  6822. }
  6823. }
  6824. },
  6825. "500": {
  6826. "description": "Internal Server Error",
  6827. "schema": {
  6828. "$ref": "#/definitions/app.Response"
  6829. }
  6830. }
  6831. }
  6832. }
  6833. },
  6834. "/Qhj/QueryPickGoods": {
  6835. "get": {
  6836. "security": [
  6837. {
  6838. "ApiKeyAuth": []
  6839. }
  6840. ],
  6841. "produces": [
  6842. "application/json"
  6843. ],
  6844. "tags": [
  6845. "大连千海金"
  6846. ],
  6847. "summary": "查询提货商品",
  6848. "parameters": [
  6849. {
  6850. "type": "string",
  6851. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6852. "name": "status",
  6853. "in": "query"
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "type": "array",
  6861. "items": {
  6862. "$ref": "#/definitions/models.QhjPickGoods"
  6863. }
  6864. }
  6865. },
  6866. "500": {
  6867. "description": "Internal Server Error",
  6868. "schema": {
  6869. "$ref": "#/definitions/app.Response"
  6870. }
  6871. }
  6872. }
  6873. }
  6874. },
  6875. "/Qhj/QueryRSTriggerLog": {
  6876. "get": {
  6877. "security": [
  6878. {
  6879. "ApiKeyAuth": []
  6880. }
  6881. ],
  6882. "produces": [
  6883. "application/json"
  6884. ],
  6885. "tags": [
  6886. "大连千海金"
  6887. ],
  6888. "summary": "查询定投记录(定投管理/详情/定投记录)",
  6889. "parameters": [
  6890. {
  6891. "type": "integer",
  6892. "description": "用户ID",
  6893. "name": "userid",
  6894. "in": "query",
  6895. "required": true
  6896. },
  6897. {
  6898. "type": "integer",
  6899. "description": "定投策略id",
  6900. "name": "regularlystrategyid",
  6901. "in": "query"
  6902. }
  6903. ],
  6904. "responses": {
  6905. "200": {
  6906. "description": "OK",
  6907. "schema": {
  6908. "type": "array",
  6909. "items": {
  6910. "$ref": "#/definitions/models.QhjRSTriggerLog"
  6911. }
  6912. }
  6913. },
  6914. "500": {
  6915. "description": "Internal Server Error",
  6916. "schema": {
  6917. "$ref": "#/definitions/app.Response"
  6918. }
  6919. }
  6920. }
  6921. }
  6922. },
  6923. "/Qhj/QueryRStrategy": {
  6924. "get": {
  6925. "security": [
  6926. {
  6927. "ApiKeyAuth": []
  6928. }
  6929. ],
  6930. "produces": [
  6931. "application/json"
  6932. ],
  6933. "tags": [
  6934. "大连千海金"
  6935. ],
  6936. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  6937. "parameters": [
  6938. {
  6939. "type": "integer",
  6940. "description": "用户ID",
  6941. "name": "userid",
  6942. "in": "query",
  6943. "required": true
  6944. },
  6945. {
  6946. "type": "string",
  6947. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  6948. "name": "status",
  6949. "in": "query"
  6950. }
  6951. ],
  6952. "responses": {
  6953. "200": {
  6954. "description": "OK",
  6955. "schema": {
  6956. "type": "array",
  6957. "items": {
  6958. "$ref": "#/definitions/models.QhjRStrategy"
  6959. }
  6960. }
  6961. },
  6962. "500": {
  6963. "description": "Internal Server Error",
  6964. "schema": {
  6965. "$ref": "#/definitions/app.Response"
  6966. }
  6967. }
  6968. }
  6969. }
  6970. },
  6971. "/Qhj/QueryTradeGoodsPickup": {
  6972. "get": {
  6973. "security": [
  6974. {
  6975. "ApiKeyAuth": []
  6976. }
  6977. ],
  6978. "produces": [
  6979. "application/json"
  6980. ],
  6981. "tags": [
  6982. "大连千海金"
  6983. ],
  6984. "summary": "查询提货",
  6985. "parameters": [
  6986. {
  6987. "type": "integer",
  6988. "description": "用户ID",
  6989. "name": "userid",
  6990. "in": "query",
  6991. "required": true
  6992. }
  6993. ],
  6994. "responses": {
  6995. "200": {
  6996. "description": "OK",
  6997. "schema": {
  6998. "type": "array",
  6999. "items": {
  7000. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7001. }
  7002. }
  7003. },
  7004. "500": {
  7005. "description": "Internal Server Error",
  7006. "schema": {
  7007. "$ref": "#/definitions/app.Response"
  7008. }
  7009. }
  7010. }
  7011. }
  7012. },
  7013. "/Qhj/QueryUserCollectConfig": {
  7014. "get": {
  7015. "security": [
  7016. {
  7017. "ApiKeyAuth": []
  7018. }
  7019. ],
  7020. "produces": [
  7021. "application/json"
  7022. ],
  7023. "tags": [
  7024. "大连千海金"
  7025. ],
  7026. "summary": "查询提现账户设置",
  7027. "parameters": [
  7028. {
  7029. "type": "integer",
  7030. "description": "用户ID",
  7031. "name": "userid",
  7032. "in": "query",
  7033. "required": true
  7034. }
  7035. ],
  7036. "responses": {
  7037. "200": {
  7038. "description": "OK",
  7039. "schema": {
  7040. "type": "array",
  7041. "items": {
  7042. "$ref": "#/definitions/models.UserCollectConfig"
  7043. }
  7044. }
  7045. },
  7046. "500": {
  7047. "description": "Internal Server Error",
  7048. "schema": {
  7049. "$ref": "#/definitions/app.Response"
  7050. }
  7051. }
  7052. }
  7053. }
  7054. },
  7055. "/Qhj/QueryUserReceiveInfo": {
  7056. "get": {
  7057. "security": [
  7058. {
  7059. "ApiKeyAuth": []
  7060. }
  7061. ],
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "大连千海金"
  7067. ],
  7068. "summary": "查询收货地址信息",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "用户ID",
  7073. "name": "userid",
  7074. "in": "query",
  7075. "required": true
  7076. }
  7077. ],
  7078. "responses": {
  7079. "200": {
  7080. "description": "OK",
  7081. "schema": {
  7082. "type": "array",
  7083. "items": {
  7084. "$ref": "#/definitions/models.UserReceiveInfo"
  7085. }
  7086. }
  7087. },
  7088. "500": {
  7089. "description": "Internal Server Error",
  7090. "schema": {
  7091. "$ref": "#/definitions/app.Response"
  7092. }
  7093. }
  7094. }
  7095. }
  7096. },
  7097. "/Quote/QueryHistoryDatas": {
  7098. "get": {
  7099. "security": [
  7100. {
  7101. "ApiKeyAuth": []
  7102. }
  7103. ],
  7104. "produces": [
  7105. "application/json"
  7106. ],
  7107. "tags": [
  7108. "行情服务"
  7109. ],
  7110. "summary": "查询行情历史数据",
  7111. "parameters": [
  7112. {
  7113. "type": "integer",
  7114. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7115. "name": "cycleType",
  7116. "in": "query",
  7117. "required": true
  7118. },
  7119. {
  7120. "type": "string",
  7121. "description": "商品代码",
  7122. "name": "goodsCode",
  7123. "in": "query",
  7124. "required": true
  7125. },
  7126. {
  7127. "type": "string",
  7128. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7129. "name": "startTime",
  7130. "in": "query"
  7131. },
  7132. {
  7133. "type": "string",
  7134. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7135. "name": "endTime",
  7136. "in": "query"
  7137. },
  7138. {
  7139. "type": "integer",
  7140. "description": "条数",
  7141. "name": "count",
  7142. "in": "query"
  7143. },
  7144. {
  7145. "type": "boolean",
  7146. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7147. "name": "isAsc",
  7148. "in": "query"
  7149. }
  7150. ],
  7151. "responses": {
  7152. "200": {
  7153. "description": "OK",
  7154. "schema": {
  7155. "$ref": "#/definitions/quote.HistoryData"
  7156. }
  7157. },
  7158. "500": {
  7159. "description": "Internal Server Error",
  7160. "schema": {
  7161. "$ref": "#/definitions/app.Response"
  7162. }
  7163. }
  7164. }
  7165. }
  7166. },
  7167. "/Quote/QueryHistoryTikDatas": {
  7168. "get": {
  7169. "security": [
  7170. {
  7171. "ApiKeyAuth": []
  7172. }
  7173. ],
  7174. "produces": [
  7175. "application/json"
  7176. ],
  7177. "tags": [
  7178. "行情服务"
  7179. ],
  7180. "summary": "查询行情Tik数据",
  7181. "parameters": [
  7182. {
  7183. "type": "string",
  7184. "description": "商品代码",
  7185. "name": "goodsCode",
  7186. "in": "query",
  7187. "required": true
  7188. },
  7189. {
  7190. "type": "string",
  7191. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7192. "name": "startTime",
  7193. "in": "query"
  7194. },
  7195. {
  7196. "type": "string",
  7197. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7198. "name": "endTime",
  7199. "in": "query"
  7200. },
  7201. {
  7202. "type": "integer",
  7203. "description": "条数",
  7204. "name": "count",
  7205. "in": "query"
  7206. },
  7207. {
  7208. "type": "boolean",
  7209. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7210. "name": "isAsc",
  7211. "in": "query"
  7212. }
  7213. ],
  7214. "responses": {
  7215. "200": {
  7216. "description": "OK",
  7217. "schema": {
  7218. "$ref": "#/definitions/quote.HistoryTikData"
  7219. }
  7220. },
  7221. "500": {
  7222. "description": "Internal Server Error",
  7223. "schema": {
  7224. "$ref": "#/definitions/app.Response"
  7225. }
  7226. }
  7227. }
  7228. }
  7229. },
  7230. "/Quote/QueryQuoteDay": {
  7231. "get": {
  7232. "security": [
  7233. {
  7234. "ApiKeyAuth": []
  7235. }
  7236. ],
  7237. "produces": [
  7238. "application/json"
  7239. ],
  7240. "tags": [
  7241. "行情服务"
  7242. ],
  7243. "summary": "获取商品盘面信息",
  7244. "parameters": [
  7245. {
  7246. "type": "string",
  7247. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7248. "name": "goodsCodes",
  7249. "in": "query",
  7250. "required": true
  7251. }
  7252. ],
  7253. "responses": {
  7254. "200": {
  7255. "description": "OK",
  7256. "schema": {
  7257. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7258. }
  7259. },
  7260. "500": {
  7261. "description": "Internal Server Error",
  7262. "schema": {
  7263. "$ref": "#/definitions/app.Response"
  7264. }
  7265. }
  7266. }
  7267. }
  7268. },
  7269. "/Quote/QueryTSData": {
  7270. "get": {
  7271. "security": [
  7272. {
  7273. "ApiKeyAuth": []
  7274. }
  7275. ],
  7276. "produces": [
  7277. "application/json"
  7278. ],
  7279. "tags": [
  7280. "行情服务"
  7281. ],
  7282. "summary": "分时图数据查询",
  7283. "parameters": [
  7284. {
  7285. "type": "string",
  7286. "description": "商品代码",
  7287. "name": "goodsCode",
  7288. "in": "query",
  7289. "required": true
  7290. }
  7291. ],
  7292. "responses": {
  7293. "200": {
  7294. "description": "OK",
  7295. "schema": {
  7296. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7297. }
  7298. },
  7299. "500": {
  7300. "description": "Internal Server Error",
  7301. "schema": {
  7302. "$ref": "#/definitions/app.Response"
  7303. }
  7304. }
  7305. }
  7306. }
  7307. },
  7308. "/SZDZ/QueryConvertConfig": {
  7309. "get": {
  7310. "security": [
  7311. {
  7312. "ApiKeyAuth": []
  7313. }
  7314. ],
  7315. "produces": [
  7316. "application/json"
  7317. ],
  7318. "tags": [
  7319. "定制【尚志大宗】"
  7320. ],
  7321. "summary": "查询交易系统转换设置",
  7322. "parameters": [
  7323. {
  7324. "type": "integer",
  7325. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7326. "name": "convertType",
  7327. "in": "query"
  7328. },
  7329. {
  7330. "type": "string",
  7331. "description": "外部商品代码[JD\\PD]",
  7332. "name": "outerGoodsCode",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "内部商品ID列表[交易],格式:1,2,3",
  7338. "name": "innerGoodsIDs",
  7339. "in": "query"
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "$ref": "#/definitions/models.Szdz3convertconfig"
  7347. }
  7348. },
  7349. "500": {
  7350. "description": "Internal Server Error",
  7351. "schema": {
  7352. "$ref": "#/definitions/app.Response"
  7353. }
  7354. }
  7355. }
  7356. }
  7357. },
  7358. "/SZDZ/QueryConvertLog": {
  7359. "get": {
  7360. "security": [
  7361. {
  7362. "ApiKeyAuth": []
  7363. }
  7364. ],
  7365. "produces": [
  7366. "application/json"
  7367. ],
  7368. "tags": [
  7369. "定制【尚志大宗】"
  7370. ],
  7371. "summary": "交易系统转换流水查询",
  7372. "parameters": [
  7373. {
  7374. "type": "string",
  7375. "description": "资金账户 - 格式:1,2,3",
  7376. "name": "accountID",
  7377. "in": "query",
  7378. "required": true
  7379. },
  7380. {
  7381. "type": "string",
  7382. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7383. "name": "startDate",
  7384. "in": "query"
  7385. },
  7386. {
  7387. "type": "string",
  7388. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7389. "name": "endDate",
  7390. "in": "query"
  7391. }
  7392. ],
  7393. "responses": {
  7394. "200": {
  7395. "description": "OK",
  7396. "schema": {
  7397. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7398. }
  7399. },
  7400. "500": {
  7401. "description": "Internal Server Error",
  7402. "schema": {
  7403. "$ref": "#/definitions/app.Response"
  7404. }
  7405. }
  7406. }
  7407. }
  7408. },
  7409. "/SZDZ/QueryGoodsPickup": {
  7410. "get": {
  7411. "security": [
  7412. {
  7413. "ApiKeyAuth": []
  7414. }
  7415. ],
  7416. "produces": [
  7417. "application/json"
  7418. ],
  7419. "tags": [
  7420. "定制【尚志大宗】"
  7421. ],
  7422. "summary": "商品提货单查询",
  7423. "parameters": [
  7424. {
  7425. "type": "string",
  7426. "description": "资金账户 - 格式:1,2,3",
  7427. "name": "accountID",
  7428. "in": "query",
  7429. "required": true
  7430. },
  7431. {
  7432. "type": "integer",
  7433. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7434. "name": "takeOrderStatus",
  7435. "in": "query"
  7436. }
  7437. ],
  7438. "responses": {
  7439. "200": {
  7440. "description": "OK",
  7441. "schema": {
  7442. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7443. }
  7444. },
  7445. "500": {
  7446. "description": "Internal Server Error",
  7447. "schema": {
  7448. "$ref": "#/definitions/app.Response"
  7449. }
  7450. }
  7451. }
  7452. }
  7453. },
  7454. "/SZDZ/QueryRecieptOrder": {
  7455. "get": {
  7456. "security": [
  7457. {
  7458. "ApiKeyAuth": []
  7459. }
  7460. ],
  7461. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7462. "produces": [
  7463. "application/json"
  7464. ],
  7465. "tags": [
  7466. "定制【尚志大宗】"
  7467. ],
  7468. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7469. "parameters": [
  7470. {
  7471. "type": "integer",
  7472. "description": "页码",
  7473. "name": "page",
  7474. "in": "query"
  7475. },
  7476. {
  7477. "type": "integer",
  7478. "description": "每页条数",
  7479. "name": "pagesize",
  7480. "in": "query"
  7481. },
  7482. {
  7483. "type": "integer",
  7484. "description": "商品ID",
  7485. "name": "goodsID",
  7486. "in": "query",
  7487. "required": true
  7488. },
  7489. {
  7490. "type": "string",
  7491. "description": "所属账户名称",
  7492. "name": "accountName",
  7493. "in": "query"
  7494. },
  7495. {
  7496. "type": "integer",
  7497. "description": "市场ID",
  7498. "name": "marketID",
  7499. "in": "query"
  7500. },
  7501. {
  7502. "type": "integer",
  7503. "description": "方向 - 0:买 1:卖",
  7504. "name": "buyorsell",
  7505. "in": "query",
  7506. "required": true
  7507. }
  7508. ],
  7509. "responses": {
  7510. "200": {
  7511. "description": "OK",
  7512. "schema": {
  7513. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7514. }
  7515. },
  7516. "500": {
  7517. "description": "Internal Server Error",
  7518. "schema": {
  7519. "$ref": "#/definitions/app.Response"
  7520. }
  7521. }
  7522. }
  7523. }
  7524. },
  7525. "/SZDZ/QuerySZDZTradePosition": {
  7526. "get": {
  7527. "security": [
  7528. {
  7529. "ApiKeyAuth": []
  7530. }
  7531. ],
  7532. "produces": [
  7533. "application/json"
  7534. ],
  7535. "tags": [
  7536. "定制【尚志大宗】"
  7537. ],
  7538. "summary": "持仓汇总查询(尚志大宗)",
  7539. "parameters": [
  7540. {
  7541. "type": "integer",
  7542. "description": "资金账户",
  7543. "name": "accountID",
  7544. "in": "query",
  7545. "required": true
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7553. }
  7554. },
  7555. "500": {
  7556. "description": "Internal Server Error",
  7557. "schema": {
  7558. "$ref": "#/definitions/app.Response"
  7559. }
  7560. }
  7561. }
  7562. }
  7563. },
  7564. "/SZDZ/SearchWhite": {
  7565. "get": {
  7566. "security": [
  7567. {
  7568. "ApiKeyAuth": []
  7569. }
  7570. ],
  7571. "produces": [
  7572. "application/json"
  7573. ],
  7574. "tags": [
  7575. "定制【尚志大宗】"
  7576. ],
  7577. "summary": "搜索白名单",
  7578. "parameters": [
  7579. {
  7580. "type": "integer",
  7581. "description": "用户ID",
  7582. "name": "userID",
  7583. "in": "query",
  7584. "required": true
  7585. }
  7586. ],
  7587. "responses": {
  7588. "200": {
  7589. "description": "OK",
  7590. "schema": {
  7591. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7592. }
  7593. },
  7594. "500": {
  7595. "description": "Internal Server Error",
  7596. "schema": {
  7597. "$ref": "#/definitions/app.Response"
  7598. }
  7599. }
  7600. }
  7601. }
  7602. },
  7603. "/Search/SearchGoodses": {
  7604. "get": {
  7605. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7606. "produces": [
  7607. "application/json"
  7608. ],
  7609. "tags": [
  7610. "检索服务"
  7611. ],
  7612. "summary": "检索商品信息",
  7613. "parameters": [
  7614. {
  7615. "type": "string",
  7616. "description": "检索内容",
  7617. "name": "content",
  7618. "in": "query",
  7619. "required": true
  7620. },
  7621. {
  7622. "type": "string",
  7623. "description": "交易模式,格式:1,2,3",
  7624. "name": "tradeModes",
  7625. "in": "query"
  7626. }
  7627. ],
  7628. "responses": {
  7629. "200": {
  7630. "description": "OK",
  7631. "schema": {
  7632. "$ref": "#/definitions/models.SearchGoods"
  7633. }
  7634. },
  7635. "500": {
  7636. "description": "Internal Server Error",
  7637. "schema": {
  7638. "$ref": "#/definitions/app.Response"
  7639. }
  7640. }
  7641. }
  7642. }
  7643. },
  7644. "/TaAccount/GetTaAccounts": {
  7645. "get": {
  7646. "security": [
  7647. {
  7648. "ApiKeyAuth": []
  7649. }
  7650. ],
  7651. "produces": [
  7652. "application/json"
  7653. ],
  7654. "tags": [
  7655. "资金账户"
  7656. ],
  7657. "summary": "获取资金账户信息",
  7658. "parameters": [
  7659. {
  7660. "type": "integer",
  7661. "description": "登录账户",
  7662. "name": "loginID",
  7663. "in": "query",
  7664. "required": true
  7665. },
  7666. {
  7667. "type": "integer",
  7668. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7669. "name": "taAccountType",
  7670. "in": "query"
  7671. }
  7672. ],
  7673. "responses": {
  7674. "200": {
  7675. "description": "OK",
  7676. "schema": {
  7677. "$ref": "#/definitions/models.Taaccount"
  7678. }
  7679. },
  7680. "500": {
  7681. "description": "Internal Server Error",
  7682. "schema": {
  7683. "$ref": "#/definitions/app.Response"
  7684. }
  7685. }
  7686. }
  7687. }
  7688. },
  7689. "/TaAccount/QueryAmountLog": {
  7690. "get": {
  7691. "security": [
  7692. {
  7693. "ApiKeyAuth": []
  7694. }
  7695. ],
  7696. "produces": [
  7697. "application/json"
  7698. ],
  7699. "tags": [
  7700. "资金账户"
  7701. ],
  7702. "summary": "资金流水查询(当前)",
  7703. "parameters": [
  7704. {
  7705. "type": "integer",
  7706. "description": "页码",
  7707. "name": "page",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "integer",
  7712. "description": "每页条数",
  7713. "name": "pagesize",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "string",
  7718. "description": "资金账户 - 格式:1,2,3",
  7719. "name": "accountID",
  7720. "in": "query",
  7721. "required": true
  7722. },
  7723. {
  7724. "type": "string",
  7725. "description": "资金操作类型 - 格式:1,2,3",
  7726. "name": "OperateType",
  7727. "in": "query"
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/TaAccount/QueryHisAmountLog": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "资金账户"
  7758. ],
  7759. "summary": "资金流水查询(历史)",
  7760. "parameters": [
  7761. {
  7762. "type": "integer",
  7763. "description": "页码",
  7764. "name": "page",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "每页条数",
  7770. "name": "pagesize",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "string",
  7775. "description": "资金账户 - 格式:1,2,3",
  7776. "name": "accountID",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "资金操作类型 - 格式:1,2,3",
  7783. "name": "OperateType",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7789. "name": "startDate",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7795. "name": "endDate",
  7796. "in": "query"
  7797. }
  7798. ],
  7799. "responses": {
  7800. "200": {
  7801. "description": "OK",
  7802. "schema": {
  7803. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7804. }
  7805. },
  7806. "500": {
  7807. "description": "Internal Server Error",
  7808. "schema": {
  7809. "$ref": "#/definitions/app.Response"
  7810. }
  7811. }
  7812. }
  7813. }
  7814. },
  7815. "/Trade/QueryRecieptOrder": {
  7816. "get": {
  7817. "security": [
  7818. {
  7819. "ApiKeyAuth": []
  7820. }
  7821. ],
  7822. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7823. "produces": [
  7824. "application/json"
  7825. ],
  7826. "tags": [
  7827. "通用交易"
  7828. ],
  7829. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7830. "parameters": [
  7831. {
  7832. "type": "integer",
  7833. "description": "页码",
  7834. "name": "page",
  7835. "in": "query"
  7836. },
  7837. {
  7838. "type": "integer",
  7839. "description": "每页条数",
  7840. "name": "pagesize",
  7841. "in": "query"
  7842. },
  7843. {
  7844. "type": "integer",
  7845. "description": "商品ID",
  7846. "name": "goodsID",
  7847. "in": "query",
  7848. "required": true
  7849. },
  7850. {
  7851. "type": "string",
  7852. "description": "所属账户名称",
  7853. "name": "accountName",
  7854. "in": "query"
  7855. },
  7856. {
  7857. "type": "integer",
  7858. "description": "市场ID",
  7859. "name": "marketID",
  7860. "in": "query"
  7861. },
  7862. {
  7863. "type": "integer",
  7864. "description": "方向 - 0:买 1:卖",
  7865. "name": "buyorsell",
  7866. "in": "query",
  7867. "required": true
  7868. }
  7869. ],
  7870. "responses": {
  7871. "200": {
  7872. "description": "OK",
  7873. "schema": {
  7874. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7875. }
  7876. },
  7877. "500": {
  7878. "description": "Internal Server Error",
  7879. "schema": {
  7880. "$ref": "#/definitions/app.Response"
  7881. }
  7882. }
  7883. }
  7884. }
  7885. },
  7886. "/User/AddMessageBoard": {
  7887. "post": {
  7888. "security": [
  7889. {
  7890. "ApiKeyAuth": []
  7891. }
  7892. ],
  7893. "produces": [
  7894. "application/json"
  7895. ],
  7896. "tags": [
  7897. "用户信息"
  7898. ],
  7899. "summary": "添加用户留言板信息",
  7900. "parameters": [
  7901. {
  7902. "type": "integer",
  7903. "description": "用户ID",
  7904. "name": "userID",
  7905. "in": "query",
  7906. "required": true
  7907. },
  7908. {
  7909. "type": "string",
  7910. "description": "留言信息",
  7911. "name": "message",
  7912. "in": "query",
  7913. "required": true
  7914. },
  7915. {
  7916. "type": "string",
  7917. "description": "联系电话",
  7918. "name": "contactNum",
  7919. "in": "query",
  7920. "required": true
  7921. }
  7922. ],
  7923. "responses": {
  7924. "200": {
  7925. "description": "OK",
  7926. "schema": {
  7927. "$ref": "#/definitions/app.Response"
  7928. }
  7929. },
  7930. "500": {
  7931. "description": "Internal Server Error",
  7932. "schema": {
  7933. "$ref": "#/definitions/app.Response"
  7934. }
  7935. }
  7936. }
  7937. }
  7938. },
  7939. "/User/AddUserFavoriteGoods": {
  7940. "post": {
  7941. "security": [
  7942. {
  7943. "ApiKeyAuth": []
  7944. }
  7945. ],
  7946. "produces": [
  7947. "application/json"
  7948. ],
  7949. "tags": [
  7950. "用户信息"
  7951. ],
  7952. "summary": "添加用户商品收藏信息",
  7953. "parameters": [
  7954. {
  7955. "type": "integer",
  7956. "description": "用户ID",
  7957. "name": "userID",
  7958. "in": "query",
  7959. "required": true
  7960. },
  7961. {
  7962. "type": "integer",
  7963. "description": "商品ID",
  7964. "name": "goodsID",
  7965. "in": "query",
  7966. "required": true
  7967. }
  7968. ],
  7969. "responses": {
  7970. "200": {
  7971. "description": "OK",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. },
  7976. "500": {
  7977. "description": "Internal Server Error",
  7978. "schema": {
  7979. "$ref": "#/definitions/app.Response"
  7980. }
  7981. }
  7982. }
  7983. }
  7984. },
  7985. "/User/GetLoginID": {
  7986. "get": {
  7987. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7988. "produces": [
  7989. "application/json"
  7990. ],
  7991. "tags": [
  7992. "用户信息"
  7993. ],
  7994. "summary": "获取登录ID",
  7995. "parameters": [
  7996. {
  7997. "type": "string",
  7998. "description": "登录代码",
  7999. "name": "username",
  8000. "in": "query",
  8001. "required": true
  8002. }
  8003. ],
  8004. "responses": {
  8005. "200": {
  8006. "description": "OK",
  8007. "schema": {
  8008. "$ref": "#/definitions/app.Response"
  8009. }
  8010. },
  8011. "500": {
  8012. "description": "Internal Server Error",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. }
  8017. }
  8018. }
  8019. },
  8020. "/User/GetUserAccount": {
  8021. "get": {
  8022. "security": [
  8023. {
  8024. "ApiKeyAuth": []
  8025. }
  8026. ],
  8027. "produces": [
  8028. "application/json"
  8029. ],
  8030. "tags": [
  8031. "用户信息"
  8032. ],
  8033. "summary": "获取用户账号信息",
  8034. "parameters": [
  8035. {
  8036. "type": "integer",
  8037. "description": "用户ID",
  8038. "name": "userID",
  8039. "in": "query",
  8040. "required": true
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "$ref": "#/definitions/models.Useraccount"
  8048. }
  8049. },
  8050. "500": {
  8051. "description": "Internal Server Error",
  8052. "schema": {
  8053. "$ref": "#/definitions/app.Response"
  8054. }
  8055. }
  8056. }
  8057. }
  8058. },
  8059. "/User/GetUserAuthStatus": {
  8060. "get": {
  8061. "security": [
  8062. {
  8063. "ApiKeyAuth": []
  8064. }
  8065. ],
  8066. "produces": [
  8067. "application/json"
  8068. ],
  8069. "tags": [
  8070. "用户信息"
  8071. ],
  8072. "summary": "获取用户实名认证状态",
  8073. "parameters": [
  8074. {
  8075. "type": "integer",
  8076. "description": "用户ID",
  8077. "name": "userID",
  8078. "in": "query",
  8079. "required": true
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "$ref": "#/definitions/app.Response"
  8087. }
  8088. },
  8089. "500": {
  8090. "description": "Internal Server Error",
  8091. "schema": {
  8092. "$ref": "#/definitions/app.Response"
  8093. }
  8094. }
  8095. }
  8096. }
  8097. },
  8098. "/User/LoginQuery": {
  8099. "get": {
  8100. "security": [
  8101. {
  8102. "ApiKeyAuth": []
  8103. }
  8104. ],
  8105. "produces": [
  8106. "application/json"
  8107. ],
  8108. "tags": [
  8109. "用户信息"
  8110. ],
  8111. "summary": "账户登录后信息查询",
  8112. "parameters": [
  8113. {
  8114. "type": "integer",
  8115. "description": "登录账号",
  8116. "name": "loginID",
  8117. "in": "query",
  8118. "required": true
  8119. }
  8120. ],
  8121. "responses": {
  8122. "200": {
  8123. "description": "OK",
  8124. "schema": {
  8125. "$ref": "#/definitions/user.LoginQueryRsp"
  8126. }
  8127. },
  8128. "500": {
  8129. "description": "Internal Server Error",
  8130. "schema": {
  8131. "$ref": "#/definitions/app.Response"
  8132. }
  8133. }
  8134. }
  8135. }
  8136. },
  8137. "/User/QueryMessageBoard": {
  8138. "get": {
  8139. "security": [
  8140. {
  8141. "ApiKeyAuth": []
  8142. }
  8143. ],
  8144. "produces": [
  8145. "application/json"
  8146. ],
  8147. "tags": [
  8148. "用户信息"
  8149. ],
  8150. "summary": "获取用户留言板信息",
  8151. "parameters": [
  8152. {
  8153. "type": "integer",
  8154. "description": "用户ID",
  8155. "name": "userID",
  8156. "in": "query",
  8157. "required": true
  8158. }
  8159. ],
  8160. "responses": {
  8161. "200": {
  8162. "description": "OK",
  8163. "schema": {
  8164. "$ref": "#/definitions/models.Messageboard"
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/User/QueryUserFavoriteGoodses": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "用户信息"
  8188. ],
  8189. "summary": "获取用户商品收藏信息",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userID",
  8195. "in": "query",
  8196. "required": true
  8197. }
  8198. ],
  8199. "responses": {
  8200. "200": {
  8201. "description": "OK",
  8202. "schema": {
  8203. "$ref": "#/definitions/models.Userfavoritegoods"
  8204. }
  8205. },
  8206. "500": {
  8207. "description": "Internal Server Error",
  8208. "schema": {
  8209. "$ref": "#/definitions/app.Response"
  8210. }
  8211. }
  8212. }
  8213. }
  8214. },
  8215. "/User/QueryUserInfo": {
  8216. "get": {
  8217. "security": [
  8218. {
  8219. "ApiKeyAuth": []
  8220. }
  8221. ],
  8222. "produces": [
  8223. "application/json"
  8224. ],
  8225. "tags": [
  8226. "用户信息"
  8227. ],
  8228. "summary": "获取用户信息",
  8229. "parameters": [
  8230. {
  8231. "type": "integer",
  8232. "description": "用户ID",
  8233. "name": "userID",
  8234. "in": "query",
  8235. "required": true
  8236. },
  8237. {
  8238. "type": "boolean",
  8239. "description": "是否解密",
  8240. "name": "isDecrypt",
  8241. "in": "query"
  8242. }
  8243. ],
  8244. "responses": {
  8245. "200": {
  8246. "description": "OK",
  8247. "schema": {
  8248. "$ref": "#/definitions/models.Userinfo"
  8249. }
  8250. },
  8251. "500": {
  8252. "description": "Internal Server Error",
  8253. "schema": {
  8254. "$ref": "#/definitions/app.Response"
  8255. }
  8256. }
  8257. }
  8258. }
  8259. },
  8260. "/User/QueryUserReferNum": {
  8261. "get": {
  8262. "produces": [
  8263. "application/json"
  8264. ],
  8265. "tags": [
  8266. "用户信息"
  8267. ],
  8268. "summary": "获取用户邀请码",
  8269. "parameters": [
  8270. {
  8271. "type": "integer",
  8272. "description": "用户ID",
  8273. "name": "userID",
  8274. "in": "query",
  8275. "required": true
  8276. }
  8277. ],
  8278. "responses": {
  8279. "200": {
  8280. "description": "OK",
  8281. "schema": {
  8282. "$ref": "#/definitions/app.Response"
  8283. }
  8284. },
  8285. "500": {
  8286. "description": "Internal Server Error",
  8287. "schema": {
  8288. "$ref": "#/definitions/app.Response"
  8289. }
  8290. }
  8291. }
  8292. }
  8293. },
  8294. "/User/RemoveUserFavoriteGoods": {
  8295. "post": {
  8296. "security": [
  8297. {
  8298. "ApiKeyAuth": []
  8299. }
  8300. ],
  8301. "produces": [
  8302. "application/json"
  8303. ],
  8304. "tags": [
  8305. "用户信息"
  8306. ],
  8307. "summary": "移除用户商品收藏信息",
  8308. "parameters": [
  8309. {
  8310. "type": "integer",
  8311. "description": "用户ID",
  8312. "name": "userID",
  8313. "in": "query",
  8314. "required": true
  8315. },
  8316. {
  8317. "type": "integer",
  8318. "description": "商品ID",
  8319. "name": "goodsID",
  8320. "in": "query",
  8321. "required": true
  8322. }
  8323. ],
  8324. "responses": {
  8325. "200": {
  8326. "description": "OK",
  8327. "schema": {
  8328. "$ref": "#/definitions/app.Response"
  8329. }
  8330. },
  8331. "500": {
  8332. "description": "Internal Server Error",
  8333. "schema": {
  8334. "$ref": "#/definitions/app.Response"
  8335. }
  8336. }
  8337. }
  8338. }
  8339. },
  8340. "/User/UpdateUserAccountStatus": {
  8341. "post": {
  8342. "security": [
  8343. {
  8344. "ApiKeyAuth": []
  8345. }
  8346. ],
  8347. "produces": [
  8348. "application/json"
  8349. ],
  8350. "tags": [
  8351. "用户信息"
  8352. ],
  8353. "summary": "更新用户状态",
  8354. "parameters": [
  8355. {
  8356. "type": "integer",
  8357. "description": "用户ID",
  8358. "name": "userID",
  8359. "in": "query",
  8360. "required": true
  8361. },
  8362. {
  8363. "type": "integer",
  8364. "description": "账户状态 - 4:正常 6:注销(停用)",
  8365. "name": "accountStatus",
  8366. "in": "query",
  8367. "required": true
  8368. }
  8369. ],
  8370. "responses": {
  8371. "200": {
  8372. "description": "OK",
  8373. "schema": {
  8374. "$ref": "#/definitions/app.Response"
  8375. }
  8376. },
  8377. "500": {
  8378. "description": "Internal Server Error",
  8379. "schema": {
  8380. "$ref": "#/definitions/app.Response"
  8381. }
  8382. }
  8383. }
  8384. }
  8385. },
  8386. "/WRTrade/GetAllDeliveryGoods": {
  8387. "get": {
  8388. "security": [
  8389. {
  8390. "ApiKeyAuth": []
  8391. },
  8392. {
  8393. "ApiKeyAuth": []
  8394. }
  8395. ],
  8396. "produces": [
  8397. "application/json",
  8398. "application/json"
  8399. ],
  8400. "tags": [
  8401. "仓单贸易",
  8402. "仓单贸易"
  8403. ],
  8404. "summary": "获取带仓单分类的种类信息",
  8405. "responses": {
  8406. "200": {
  8407. "description": "OK",
  8408. "schema": {
  8409. "$ref": "#/definitions/app.Response"
  8410. }
  8411. },
  8412. "500": {
  8413. "description": "Internal Server Error",
  8414. "schema": {
  8415. "$ref": "#/definitions/app.Response"
  8416. }
  8417. }
  8418. }
  8419. }
  8420. }
  8421. },
  8422. "definitions": {
  8423. "app.Response": {
  8424. "type": "object",
  8425. "properties": {
  8426. "code": {
  8427. "type": "integer"
  8428. },
  8429. "data": {
  8430. "type": "object"
  8431. },
  8432. "msg": {
  8433. "type": "string"
  8434. },
  8435. "page": {
  8436. "description": "页码",
  8437. "type": "integer"
  8438. },
  8439. "pagesize": {
  8440. "description": "每页条数",
  8441. "type": "integer"
  8442. },
  8443. "total": {
  8444. "description": "总条数",
  8445. "type": "integer"
  8446. }
  8447. }
  8448. },
  8449. "common.ClientMenu": {
  8450. "type": "object",
  8451. "properties": {
  8452. "children": {
  8453. "description": "子菜单列表",
  8454. "type": "array",
  8455. "items": {
  8456. "$ref": "#/definitions/common.ClientMenu"
  8457. }
  8458. },
  8459. "code": {
  8460. "description": "ID",
  8461. "type": "string"
  8462. },
  8463. "isshow": {
  8464. "description": "是否显示",
  8465. "type": "boolean"
  8466. },
  8467. "rulekey": {
  8468. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8469. "type": "string"
  8470. },
  8471. "sort": {
  8472. "description": "排序",
  8473. "type": "integer"
  8474. },
  8475. "title": {
  8476. "description": "标题",
  8477. "type": "string"
  8478. },
  8479. "type": {
  8480. "description": "类型,1:菜单 2:按钮",
  8481. "type": "integer"
  8482. }
  8483. }
  8484. },
  8485. "common.QueryImageConfigsRsp": {
  8486. "type": "object",
  8487. "required": [
  8488. "configid"
  8489. ],
  8490. "properties": {
  8491. "areauserid": {
  8492. "description": "所属机构ID",
  8493. "type": "integer"
  8494. },
  8495. "configid": {
  8496. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8497. "type": "integer"
  8498. },
  8499. "createdate": {
  8500. "description": "创建时间",
  8501. "type": "string"
  8502. },
  8503. "creatorid": {
  8504. "description": "创建人",
  8505. "type": "integer"
  8506. },
  8507. "imagepath": {
  8508. "description": "图片",
  8509. "type": "string"
  8510. },
  8511. "imagetype": {
  8512. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8513. "type": "integer"
  8514. },
  8515. "isshow": {
  8516. "description": "是否展示 - 0:不展示 1:展示",
  8517. "type": "integer"
  8518. },
  8519. "marketid": {
  8520. "description": "市场ID",
  8521. "type": "integer"
  8522. },
  8523. "modifierid": {
  8524. "description": "操作人",
  8525. "type": "integer"
  8526. },
  8527. "sort": {
  8528. "description": "排序",
  8529. "type": "integer"
  8530. },
  8531. "title": {
  8532. "description": "标题",
  8533. "type": "string"
  8534. },
  8535. "trademode": {
  8536. "description": "交易模式",
  8537. "type": "integer"
  8538. },
  8539. "updatedate": {
  8540. "description": "修改时间",
  8541. "type": "string"
  8542. },
  8543. "url": {
  8544. "description": "链接(地址或商品ID)",
  8545. "type": "string"
  8546. },
  8547. "urltype": {
  8548. "description": "链接类型 - 1:直接地址 2:商品ID",
  8549. "type": "integer"
  8550. }
  8551. }
  8552. },
  8553. "common.QueryNoticeRsp": {
  8554. "type": "object",
  8555. "required": [
  8556. "autoid"
  8557. ],
  8558. "properties": {
  8559. "auditoruserid": {
  8560. "description": "审核人",
  8561. "type": "integer"
  8562. },
  8563. "auditremark": {
  8564. "description": "审核备注",
  8565. "type": "string"
  8566. },
  8567. "audittime": {
  8568. "description": "审核日期",
  8569. "type": "string"
  8570. },
  8571. "autoid": {
  8572. "description": "自增ID",
  8573. "type": "integer"
  8574. },
  8575. "content": {
  8576. "description": "内容",
  8577. "type": "string"
  8578. },
  8579. "createtime": {
  8580. "description": "创建时间",
  8581. "type": "string"
  8582. },
  8583. "creatorid": {
  8584. "description": "建仓人",
  8585. "type": "integer"
  8586. },
  8587. "endtime": {
  8588. "description": "结束时间",
  8589. "type": "string"
  8590. },
  8591. "istop": {
  8592. "description": "是否置顶 - 0:不置顶 1:置顶",
  8593. "type": "integer"
  8594. },
  8595. "msgiconurl": {
  8596. "description": "消息图标Url",
  8597. "type": "string"
  8598. },
  8599. "msgtype": {
  8600. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8601. "type": "integer"
  8602. },
  8603. "publisher": {
  8604. "description": "消息发布者",
  8605. "type": "string"
  8606. },
  8607. "readed": {
  8608. "description": "是否已读",
  8609. "type": "boolean"
  8610. },
  8611. "scheduletime": {
  8612. "description": "计划发送时间",
  8613. "type": "string"
  8614. },
  8615. "sendtype": {
  8616. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8617. "type": "integer"
  8618. },
  8619. "sentstatus": {
  8620. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8621. "type": "integer"
  8622. },
  8623. "title": {
  8624. "description": "标题",
  8625. "type": "string"
  8626. },
  8627. "userid": {
  8628. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8629. "type": "integer"
  8630. }
  8631. }
  8632. },
  8633. "common.QueryProvincesAndCitiesRsp": {
  8634. "type": "object",
  8635. "properties": {
  8636. "cities": {
  8637. "description": "市",
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.Division"
  8641. }
  8642. },
  8643. "province": {
  8644. "description": "省",
  8645. "type": "object",
  8646. "$ref": "#/definitions/models.Division"
  8647. }
  8648. }
  8649. },
  8650. "common.QueryTableDefineRsp": {
  8651. "type": "object",
  8652. "required": [
  8653. "tablekey"
  8654. ],
  8655. "properties": {
  8656. "columns": {
  8657. "description": "列头信息数组",
  8658. "type": "array",
  8659. "items": {
  8660. "$ref": "#/definitions/models.Tablecolumnconfig"
  8661. }
  8662. },
  8663. "remark": {
  8664. "description": "Remark",
  8665. "type": "string"
  8666. },
  8667. "tabelmenu": {
  8668. "description": "列表菜单",
  8669. "type": "string"
  8670. },
  8671. "tablekey": {
  8672. "description": "列表Key",
  8673. "type": "string"
  8674. },
  8675. "tablename": {
  8676. "description": "列表名称",
  8677. "type": "string"
  8678. },
  8679. "tabletype": {
  8680. "description": "列表类型 - 1:管理端 2:终端",
  8681. "type": "integer"
  8682. }
  8683. }
  8684. },
  8685. "common.QueryTraderMenuRsp": {
  8686. "type": "object",
  8687. "properties": {
  8688. "OperationMenu": {
  8689. "description": "功能菜单",
  8690. "type": "array",
  8691. "items": {
  8692. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8693. }
  8694. },
  8695. "QuoteMenu": {
  8696. "description": "报价牌分类菜单",
  8697. "type": "array",
  8698. "items": {
  8699. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8700. }
  8701. }
  8702. }
  8703. },
  8704. "cptrade.Cptradepositioncancel": {
  8705. "type": "object",
  8706. "required": [
  8707. "cancelid"
  8708. ],
  8709. "properties": {
  8710. "accountid": {
  8711. "description": "申请人账户ID",
  8712. "type": "integer"
  8713. },
  8714. "applystatus": {
  8715. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8716. "type": "integer"
  8717. },
  8718. "applytime": {
  8719. "description": "申请时间",
  8720. "type": "string"
  8721. },
  8722. "cancelid": {
  8723. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8724. "type": "integer"
  8725. },
  8726. "cancelqty": {
  8727. "description": "注销数量",
  8728. "type": "integer"
  8729. },
  8730. "createtime": {
  8731. "description": "创建时间",
  8732. "type": "string"
  8733. },
  8734. "creatorid": {
  8735. "description": "创建人ID",
  8736. "type": "integer"
  8737. },
  8738. "creatorname": {
  8739. "description": "创建人",
  8740. "type": "string"
  8741. },
  8742. "goodscode": {
  8743. "description": "订单商品代码",
  8744. "type": "string"
  8745. },
  8746. "goodsid": {
  8747. "description": "商品ID",
  8748. "type": "integer"
  8749. },
  8750. "goodsname": {
  8751. "description": "订单商品名称",
  8752. "type": "string"
  8753. },
  8754. "goodunit": {
  8755. "description": "报价单位",
  8756. "type": "string"
  8757. },
  8758. "handlestatus": {
  8759. "description": "处理状态",
  8760. "type": "integer"
  8761. },
  8762. "marketid": {
  8763. "description": "市场ID",
  8764. "type": "integer"
  8765. },
  8766. "marketname": {
  8767. "description": "市场名称",
  8768. "type": "string"
  8769. },
  8770. "tradedate": {
  8771. "description": "交易日(yyyyMMdd)",
  8772. "type": "string"
  8773. },
  8774. "userid": {
  8775. "description": "申请人ID",
  8776. "type": "integer"
  8777. }
  8778. }
  8779. },
  8780. "cptrade.Cptradepresaleapply": {
  8781. "type": "object",
  8782. "required": [
  8783. "applyid"
  8784. ],
  8785. "properties": {
  8786. "accountid": {
  8787. "description": "申请人账户ID",
  8788. "type": "integer"
  8789. },
  8790. "applyid": {
  8791. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8792. "type": "integer"
  8793. },
  8794. "applyremark": {
  8795. "description": "申请备注",
  8796. "type": "string"
  8797. },
  8798. "applystatus": {
  8799. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8800. "type": "integer"
  8801. },
  8802. "applytime": {
  8803. "description": "申请时间",
  8804. "type": "string"
  8805. },
  8806. "attachmenturl": {
  8807. "description": "附件地址",
  8808. "type": "string"
  8809. },
  8810. "endtime": {
  8811. "description": "预售结束时间",
  8812. "type": "string"
  8813. },
  8814. "goodscode": {
  8815. "description": "商品代码",
  8816. "type": "string"
  8817. },
  8818. "goodsid": {
  8819. "description": "商品ID",
  8820. "type": "integer"
  8821. },
  8822. "goodsname": {
  8823. "description": "商品名称",
  8824. "type": "string"
  8825. },
  8826. "goodunit": {
  8827. "description": "报价单位",
  8828. "type": "string"
  8829. },
  8830. "handlestatus": {
  8831. "description": "处理状态",
  8832. "type": "integer"
  8833. },
  8834. "marketid": {
  8835. "description": "预售市场ID",
  8836. "type": "integer"
  8837. },
  8838. "marketname": {
  8839. "description": "预售市场名称",
  8840. "type": "string"
  8841. },
  8842. "presaleqty": {
  8843. "description": "预售数量",
  8844. "type": "integer"
  8845. },
  8846. "relatedgoodscode": {
  8847. "description": "关联交易合约代码",
  8848. "type": "string"
  8849. },
  8850. "relatedgoodsid": {
  8851. "description": "关联交易合约ID",
  8852. "type": "integer"
  8853. },
  8854. "relatedgoodsname": {
  8855. "description": "关联交易合约名称",
  8856. "type": "string"
  8857. },
  8858. "starttime": {
  8859. "description": "预售开始时间",
  8860. "type": "string"
  8861. },
  8862. "tradedate": {
  8863. "description": "交易日(yyyyMMdd)",
  8864. "type": "string"
  8865. },
  8866. "trademode": {
  8867. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8868. "type": "integer"
  8869. },
  8870. "userid": {
  8871. "description": "申请人ID",
  8872. "type": "integer"
  8873. }
  8874. }
  8875. },
  8876. "cptrade.Cptradeusergoodsdata": {
  8877. "type": "object",
  8878. "required": [
  8879. "accountid",
  8880. "goodsid"
  8881. ],
  8882. "properties": {
  8883. "EnabledQty": {
  8884. "description": "可用量",
  8885. "type": "integer"
  8886. },
  8887. "GoodsCode": {
  8888. "description": "订单商品代码",
  8889. "type": "string"
  8890. },
  8891. "GoodsName": {
  8892. "description": "订单商品名称",
  8893. "type": "string"
  8894. },
  8895. "WRStandardCode": {
  8896. "description": "仓单标准代码",
  8897. "type": "string"
  8898. },
  8899. "WRStandardName": {
  8900. "description": "仓单标准名称",
  8901. "type": "string"
  8902. },
  8903. "accountid": {
  8904. "description": "账户ID",
  8905. "type": "integer"
  8906. },
  8907. "cancelqty": {
  8908. "description": "注销量",
  8909. "type": "integer"
  8910. },
  8911. "curpresaleqty": {
  8912. "description": "当前预售量",
  8913. "type": "integer"
  8914. },
  8915. "deliveryqty": {
  8916. "description": "交割量",
  8917. "type": "integer"
  8918. },
  8919. "freezeamount": {
  8920. "description": "冻结金额",
  8921. "type": "number"
  8922. },
  8923. "goodsid": {
  8924. "description": "商品ID",
  8925. "type": "integer"
  8926. },
  8927. "goodunit": {
  8928. "description": "报价单位",
  8929. "type": "string"
  8930. },
  8931. "hasspotfreeze": {
  8932. "description": "是否有现货冻结 - 0:否 1:有",
  8933. "type": "integer"
  8934. },
  8935. "inqty": {
  8936. "description": "转入量(总数量)",
  8937. "type": "integer"
  8938. },
  8939. "marketid": {
  8940. "description": "市场ID",
  8941. "type": "integer"
  8942. },
  8943. "presaledamount": {
  8944. "description": "已预售总金额",
  8945. "type": "integer"
  8946. },
  8947. "presaledqty": {
  8948. "description": "已预售量",
  8949. "type": "integer"
  8950. },
  8951. "userid": {
  8952. "description": "用户ID",
  8953. "type": "integer"
  8954. },
  8955. "wrstandardid": {
  8956. "description": "仓单标准ID",
  8957. "type": "integer"
  8958. }
  8959. }
  8960. },
  8961. "cptrade.QueryCPTradeMyBidRsp": {
  8962. "type": "object",
  8963. "required": [
  8964. "accountid",
  8965. "goodsid",
  8966. "marketid",
  8967. "orderid",
  8968. "orderqty",
  8969. "ordertime",
  8970. "tradeprice",
  8971. "tradeqty"
  8972. ],
  8973. "properties": {
  8974. "accountid": {
  8975. "description": "账户ID[报价币种]",
  8976. "type": "integer"
  8977. },
  8978. "goodsid": {
  8979. "description": "商品ID",
  8980. "type": "integer"
  8981. },
  8982. "goodunit": {
  8983. "description": "报价单位",
  8984. "type": "string"
  8985. },
  8986. "marketid": {
  8987. "description": "市场ID",
  8988. "type": "integer"
  8989. },
  8990. "orderid": {
  8991. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8992. "type": "integer"
  8993. },
  8994. "orderprice": {
  8995. "description": "委托价格",
  8996. "type": "number"
  8997. },
  8998. "orderqty": {
  8999. "description": "委托数量",
  9000. "type": "integer"
  9001. },
  9002. "ordertime": {
  9003. "description": "委托时间",
  9004. "type": "string"
  9005. },
  9006. "ordertotalprice": {
  9007. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9008. "type": "number"
  9009. },
  9010. "ordertotalweight": {
  9011. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9012. "type": "integer"
  9013. },
  9014. "totaltotalprice": {
  9015. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9016. "type": "number"
  9017. },
  9018. "tradeprice": {
  9019. "description": "成交价格",
  9020. "type": "number"
  9021. },
  9022. "tradeqty": {
  9023. "description": "成交数量",
  9024. "type": "integer"
  9025. }
  9026. }
  9027. },
  9028. "cptrade.QueryCPTradeOrderDetailRsq": {
  9029. "type": "object",
  9030. "required": [
  9031. "accountid",
  9032. "buildtype",
  9033. "buyorsell",
  9034. "goodsid",
  9035. "marketid",
  9036. "memberuserid",
  9037. "operatetype",
  9038. "orderqty",
  9039. "ordertime",
  9040. "pricemode",
  9041. "strorderid",
  9042. "tradedate",
  9043. "validtype"
  9044. ],
  9045. "properties": {
  9046. "accountid": {
  9047. "description": "账户ID[报价币种]",
  9048. "type": "integer"
  9049. },
  9050. "buildtype": {
  9051. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9052. "type": "integer"
  9053. },
  9054. "buyorsell": {
  9055. "description": "买卖 - 0:买 1:卖",
  9056. "type": "integer"
  9057. },
  9058. "cancelorderid": {
  9059. "description": "撤单单号(撤单时填写)",
  9060. "type": "integer"
  9061. },
  9062. "cancelqty": {
  9063. "description": "撤单数量",
  9064. "type": "integer"
  9065. },
  9066. "clientordertime": {
  9067. "description": "客户端委托时间",
  9068. "type": "string"
  9069. },
  9070. "clientticket": {
  9071. "description": "客户端流水号",
  9072. "type": "string"
  9073. },
  9074. "clienttype": {
  9075. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9076. "type": "integer"
  9077. },
  9078. "closeexchagechargevalue": {
  9079. "description": "平仓交易所手续费设置值",
  9080. "type": "number"
  9081. },
  9082. "closefeealgorithm": {
  9083. "description": "平仓手续费收取方式 1:比率 2:固定",
  9084. "type": "integer"
  9085. },
  9086. "closefreezecharge": {
  9087. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9088. "type": "number"
  9089. },
  9090. "closememberchargevalue": {
  9091. "description": "平仓会员手续费设置值",
  9092. "type": "number"
  9093. },
  9094. "closeqty": {
  9095. "description": "平仓数量(先建后平操作 需要记录)",
  9096. "type": "integer"
  9097. },
  9098. "closetradeqty": {
  9099. "description": "平仓成交数量(先建后平操作,需要记录)",
  9100. "type": "integer"
  9101. },
  9102. "closeunfreezecharge": {
  9103. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9104. "type": "number"
  9105. },
  9106. "delistingtype": {
  9107. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9108. "type": "integer"
  9109. },
  9110. "freezecharge": {
  9111. "description": "冻结手续费",
  9112. "type": "number"
  9113. },
  9114. "freezemargin": {
  9115. "description": "冻结保证金(冻结交易金额)",
  9116. "type": "number"
  9117. },
  9118. "gcaccountid": {
  9119. "description": "账户ID[合约币种]",
  9120. "type": "integer"
  9121. },
  9122. "goodsid": {
  9123. "description": "商品ID",
  9124. "type": "integer"
  9125. },
  9126. "isconfirmexercise": {
  9127. "description": "是否确认行权- 0:否 1:是",
  9128. "type": "integer"
  9129. },
  9130. "ispreexercise": {
  9131. "description": "是否预申报- 0:否 1:是",
  9132. "type": "integer"
  9133. },
  9134. "listingselecttype": {
  9135. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9136. "type": "integer"
  9137. },
  9138. "marginalgorithm": {
  9139. "description": "保证金收取方式 1:比率 2:固定",
  9140. "type": "integer"
  9141. },
  9142. "marginvalue": {
  9143. "description": "即市保证金设置值",
  9144. "type": "number"
  9145. },
  9146. "marketid": {
  9147. "description": "市场ID",
  9148. "type": "integer"
  9149. },
  9150. "marketmaxsub": {
  9151. "description": "市价最大偏移范围",
  9152. "type": "number"
  9153. },
  9154. "memberuserid": {
  9155. "description": "所属会员UserID",
  9156. "type": "integer"
  9157. },
  9158. "openexchagechargevalue": {
  9159. "description": "建仓交易所手续费设置值",
  9160. "type": "number"
  9161. },
  9162. "openfeealgorithm": {
  9163. "description": "建仓手续费收取方式 1:比率 2:固定",
  9164. "type": "integer"
  9165. },
  9166. "openfreezecharge": {
  9167. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9168. "type": "number"
  9169. },
  9170. "openmemberchargevalue": {
  9171. "description": "建仓会员手续费设置值",
  9172. "type": "number"
  9173. },
  9174. "openqty": {
  9175. "description": "开仓数量(先建后平操作,需要记录)",
  9176. "type": "integer"
  9177. },
  9178. "opentradeqty": {
  9179. "description": "开仓成交数量(先建后平操作,需要记录)",
  9180. "type": "integer"
  9181. },
  9182. "openunfreezecharge": {
  9183. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9184. "type": "number"
  9185. },
  9186. "operatetype": {
  9187. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9188. "type": "integer"
  9189. },
  9190. "operatorid": {
  9191. "description": "登录账号(LoginID)",
  9192. "type": "integer"
  9193. },
  9194. "optiontype": {
  9195. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9196. "type": "integer"
  9197. },
  9198. "orderprice": {
  9199. "description": "委托价格",
  9200. "type": "number"
  9201. },
  9202. "orderqty": {
  9203. "description": "委托数量",
  9204. "type": "integer"
  9205. },
  9206. "ordersrc": {
  9207. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9208. "type": "integer"
  9209. },
  9210. "orderstatus": {
  9211. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9212. "type": "integer"
  9213. },
  9214. "ordertime": {
  9215. "description": "委托时间",
  9216. "type": "string"
  9217. },
  9218. "preexerciseprice": {
  9219. "description": "预申报价格",
  9220. "type": "number"
  9221. },
  9222. "premium": {
  9223. "description": "权利金",
  9224. "type": "number"
  9225. },
  9226. "preorderid": {
  9227. "description": "关联预埋单号(止盈止损单时填写)",
  9228. "type": "integer"
  9229. },
  9230. "pricemode": {
  9231. "description": "取价方式 - 1:市价 2: 限价",
  9232. "type": "integer"
  9233. },
  9234. "quoteid": {
  9235. "description": "报价单ID",
  9236. "type": "integer"
  9237. },
  9238. "relatedid": {
  9239. "description": "关联单号(交割单)",
  9240. "type": "integer"
  9241. },
  9242. "retcode": {
  9243. "description": "错误代码",
  9244. "type": "integer"
  9245. },
  9246. "sessionid": {
  9247. "description": "会话ID",
  9248. "type": "integer"
  9249. },
  9250. "strorderid": {
  9251. "description": "委托单号",
  9252. "type": "string"
  9253. },
  9254. "tradedate": {
  9255. "description": "交易日(yyyyMMdd)",
  9256. "type": "string"
  9257. },
  9258. "tradeproperty": {
  9259. "description": "交易属性",
  9260. "type": "integer"
  9261. },
  9262. "tradeqty": {
  9263. "description": "成交数量",
  9264. "type": "integer"
  9265. },
  9266. "unfreezecharge": {
  9267. "description": "解冻手续费",
  9268. "type": "number"
  9269. },
  9270. "unfreezemargin": {
  9271. "description": "解冻保证金",
  9272. "type": "number"
  9273. },
  9274. "updatetime": {
  9275. "description": "更新时间",
  9276. "type": "string"
  9277. },
  9278. "uuid": {
  9279. "description": "发起端唯一id",
  9280. "type": "string"
  9281. },
  9282. "validtime": {
  9283. "description": "有效期限",
  9284. "type": "string"
  9285. },
  9286. "validtype": {
  9287. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9288. "type": "integer"
  9289. },
  9290. "volumetype": {
  9291. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9292. "type": "integer"
  9293. }
  9294. }
  9295. },
  9296. "cptrade.QueryMyCPTradeGoodsRsp": {
  9297. "type": "object",
  9298. "required": [
  9299. "goodscode",
  9300. "goodsid",
  9301. "goodsname",
  9302. "marketid",
  9303. "relatedgoodscode",
  9304. "relatedgoodsname"
  9305. ],
  9306. "properties": {
  9307. "accountid": {
  9308. "description": "卖方账户ID",
  9309. "type": "integer"
  9310. },
  9311. "agreeunit": {
  9312. "description": "合约单位",
  9313. "type": "number"
  9314. },
  9315. "applyid": {
  9316. "description": "关联申请ID",
  9317. "type": "integer"
  9318. },
  9319. "attachmenturl": {
  9320. "description": "附件地址",
  9321. "type": "string"
  9322. },
  9323. "createtime": {
  9324. "description": "创建时间",
  9325. "type": "string"
  9326. },
  9327. "currencyid": {
  9328. "description": "报价货币ID",
  9329. "type": "integer"
  9330. },
  9331. "decimalplace": {
  9332. "description": "报价小数位",
  9333. "type": "integer"
  9334. },
  9335. "endtime": {
  9336. "description": "预售结束时间",
  9337. "type": "string"
  9338. },
  9339. "floorprice": {
  9340. "description": "底价[大宗式竞拍]",
  9341. "type": "number"
  9342. },
  9343. "goodscode": {
  9344. "description": "商品代码(预售)",
  9345. "type": "string"
  9346. },
  9347. "goodsdetail": {
  9348. "description": "详情[大宗]",
  9349. "type": "string"
  9350. },
  9351. "goodsid": {
  9352. "description": "商品ID(自增ID SEQ_GOODS)",
  9353. "type": "integer"
  9354. },
  9355. "goodsname": {
  9356. "description": "商品名称(预售)",
  9357. "type": "string"
  9358. },
  9359. "goodunit": {
  9360. "description": "报价单位",
  9361. "type": "string"
  9362. },
  9363. "goodunitid": {
  9364. "description": "报价单位ID",
  9365. "type": "integer"
  9366. },
  9367. "marketid": {
  9368. "description": "所属市场ID",
  9369. "type": "integer"
  9370. },
  9371. "marketname": {
  9372. "description": "预售市场名称",
  9373. "type": "string"
  9374. },
  9375. "presaledamount": {
  9376. "description": "已预售总金额(预售结束时更新)",
  9377. "type": "number"
  9378. },
  9379. "presaledqty": {
  9380. "description": "已预售量(预售结束时更新)",
  9381. "type": "integer"
  9382. },
  9383. "presalemode": {
  9384. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9385. "type": "integer"
  9386. },
  9387. "presaleqty": {
  9388. "description": "预售数量",
  9389. "type": "integer"
  9390. },
  9391. "refprice": {
  9392. "description": "参考价格[一口价]",
  9393. "type": "number"
  9394. },
  9395. "relatedgoodscode": {
  9396. "description": "商品代码(订单)",
  9397. "type": "string"
  9398. },
  9399. "relatedgoodsid": {
  9400. "description": "关联交易合约ID",
  9401. "type": "integer"
  9402. },
  9403. "relatedgoodsname": {
  9404. "description": "商品名称(订单)",
  9405. "type": "string"
  9406. },
  9407. "relatedmarketid": {
  9408. "description": "关联交易合约市场ID",
  9409. "type": "integer"
  9410. },
  9411. "sellstatus": {
  9412. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9413. "type": "integer"
  9414. },
  9415. "startprice": {
  9416. "description": "起拍价[大宗式竞拍]",
  9417. "type": "number"
  9418. },
  9419. "starttime": {
  9420. "description": "预售开始时间",
  9421. "type": "string"
  9422. },
  9423. "tradedate": {
  9424. "description": "交易日(yyyyMMdd)",
  9425. "type": "string"
  9426. },
  9427. "tradeprice": {
  9428. "description": "成交价[大宗]",
  9429. "type": "number"
  9430. },
  9431. "userid": {
  9432. "description": "卖方用户ID",
  9433. "type": "integer"
  9434. }
  9435. }
  9436. },
  9437. "cptrade.QueryPresaleGoodsExRsp": {
  9438. "type": "object",
  9439. "required": [
  9440. "goodsid"
  9441. ],
  9442. "properties": {
  9443. "attachmenturl": {
  9444. "description": "附件地址",
  9445. "type": "string"
  9446. },
  9447. "createtime": {
  9448. "description": "创建时间",
  9449. "type": "string"
  9450. },
  9451. "endtime": {
  9452. "description": "预售结束时间",
  9453. "type": "string"
  9454. },
  9455. "floorprice": {
  9456. "description": "底价[大宗式竞拍]",
  9457. "type": "number"
  9458. },
  9459. "goodsdetail": {
  9460. "description": "详情[大宗]",
  9461. "type": "string"
  9462. },
  9463. "goodsid": {
  9464. "description": "商品ID(预售)",
  9465. "type": "integer"
  9466. },
  9467. "goodunit": {
  9468. "description": "报价单位",
  9469. "type": "string"
  9470. },
  9471. "marketid": {
  9472. "description": "预售市场ID - 根据预售模式选择市场",
  9473. "type": "integer"
  9474. },
  9475. "presaledamount": {
  9476. "description": "已预售总金额(预售结束时更新)",
  9477. "type": "number"
  9478. },
  9479. "presaledqty": {
  9480. "description": "已预售量(预售结束时更新)",
  9481. "type": "integer"
  9482. },
  9483. "presalemode": {
  9484. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9485. "type": "integer"
  9486. },
  9487. "presaleqty": {
  9488. "description": "预售数量",
  9489. "type": "integer"
  9490. },
  9491. "refprice": {
  9492. "description": "参考价格[一口价]",
  9493. "type": "number"
  9494. },
  9495. "relatedgoodsid": {
  9496. "description": "关联交易合约ID",
  9497. "type": "integer"
  9498. },
  9499. "relatedmarketid": {
  9500. "description": "关联交易合约市场ID",
  9501. "type": "integer"
  9502. },
  9503. "sellstatus": {
  9504. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9505. "type": "integer"
  9506. },
  9507. "startprice": {
  9508. "description": "起拍价[大宗式竞拍]",
  9509. "type": "number"
  9510. },
  9511. "starttime": {
  9512. "description": "预售开始时间",
  9513. "type": "string"
  9514. },
  9515. "tradedate": {
  9516. "description": "交易日(yyyyMMdd)",
  9517. "type": "string"
  9518. },
  9519. "tradeprice": {
  9520. "description": "成交价[大宗]",
  9521. "type": "number"
  9522. }
  9523. }
  9524. },
  9525. "delivery.QueryDeliveryRelationRsp": {
  9526. "type": "object",
  9527. "required": [
  9528. "begindate",
  9529. "enddate",
  9530. "goodsid",
  9531. "mindeliveryqty",
  9532. "xdeliveryratio"
  9533. ],
  9534. "properties": {
  9535. "begindate": {
  9536. "description": "起始日期(yyyyMMdd)",
  9537. "type": "string"
  9538. },
  9539. "buytemplateid": {
  9540. "description": "买履约计划模板ID",
  9541. "type": "integer"
  9542. },
  9543. "deliverygoodscode": {
  9544. "description": "品种代码",
  9545. "type": "string"
  9546. },
  9547. "deliverygoodsid": {
  9548. "description": "交割商品",
  9549. "type": "integer"
  9550. },
  9551. "deliverygoodsname": {
  9552. "description": "品种名称",
  9553. "type": "string"
  9554. },
  9555. "deliverymode": {
  9556. "description": "交割方式 - 1:点选式 2:申报式",
  9557. "type": "integer"
  9558. },
  9559. "deliverypricerule": {
  9560. "description": "交割价规则- 1:行情价 2:建仓价",
  9561. "type": "integer"
  9562. },
  9563. "deliverytype": {
  9564. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9565. "type": "integer"
  9566. },
  9567. "enddate": {
  9568. "description": "结束日期(yyyyMMdd)",
  9569. "type": "string"
  9570. },
  9571. "goodscode": {
  9572. "description": "商品代码",
  9573. "type": "string"
  9574. },
  9575. "goodsid": {
  9576. "description": "交易合约ID",
  9577. "type": "integer"
  9578. },
  9579. "goodsname": {
  9580. "description": "商品名称",
  9581. "type": "string"
  9582. },
  9583. "marketid": {
  9584. "description": "市场ID",
  9585. "type": "integer"
  9586. },
  9587. "mindeliveryqty": {
  9588. "description": "最小交割系数(K)",
  9589. "type": "integer"
  9590. },
  9591. "p2deliveryprice": {
  9592. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9593. "type": "number"
  9594. },
  9595. "p2deliveryratio": {
  9596. "description": "P2合约系数(p)",
  9597. "type": "integer"
  9598. },
  9599. "p2goodsid": {
  9600. "description": "P2合约ID",
  9601. "type": "integer"
  9602. },
  9603. "p2pricemode": {
  9604. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9605. "type": "integer"
  9606. },
  9607. "pdeliveryprice": {
  9608. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9609. "type": "number"
  9610. },
  9611. "pdeliveryratio": {
  9612. "description": "P合约系数(n)",
  9613. "type": "integer"
  9614. },
  9615. "pgoodsid": {
  9616. "description": "P合约ID",
  9617. "type": "integer"
  9618. },
  9619. "ppricemode": {
  9620. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9621. "type": "integer"
  9622. },
  9623. "rratio": {
  9624. "description": "兑换系数(R)",
  9625. "type": "integer"
  9626. },
  9627. "rratio1": {
  9628. "description": "兑换系数(交易合约)(R1)",
  9629. "type": "integer"
  9630. },
  9631. "rratio2": {
  9632. "description": "兑换系数(仓单标准)(R2)",
  9633. "type": "integer"
  9634. },
  9635. "selltemplateid": {
  9636. "description": "卖履约计划模板ID",
  9637. "type": "integer"
  9638. },
  9639. "wrstandardid": {
  9640. "description": "仓单标准ID",
  9641. "type": "integer"
  9642. },
  9643. "xdeliveryratio": {
  9644. "description": "交易合约系数(m)",
  9645. "type": "integer"
  9646. }
  9647. }
  9648. },
  9649. "ermcp.ExposureDetailRsp": {
  9650. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9651. },
  9652. "ermcp.ExposureHedgePosDetailRsp": {
  9653. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9654. },
  9655. "ermcp.ExposureHedgePositionRsp": {
  9656. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9657. },
  9658. "ermcp.ExposureSpotDetailRsp": {
  9659. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9660. },
  9661. "ermcp.ExposureSpotRsp": {
  9662. "$ref": "#/definitions/models.AreaSpotModel"
  9663. },
  9664. "ermcp.HisExposureRsp": {
  9665. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9666. },
  9667. "ermcp.PendingAuditCntRsp": {
  9668. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9669. },
  9670. "ermcp.QryAvalidGPRsp": {
  9671. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9672. },
  9673. "ermcp.QryBusinessDjRsp": {
  9674. "type": "object",
  9675. "properties": {
  9676. "amount": {
  9677. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9678. "type": "number"
  9679. },
  9680. "applyid": {
  9681. "description": "申请人",
  9682. "type": "string"
  9683. },
  9684. "applyname": {
  9685. "description": "申请人名称",
  9686. "type": "string"
  9687. },
  9688. "applystatus": {
  9689. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9690. "type": "integer"
  9691. },
  9692. "applytime": {
  9693. "description": "申请时间",
  9694. "type": "string"
  9695. },
  9696. "attachurl": {
  9697. "description": "附件",
  9698. "type": "string"
  9699. },
  9700. "auditid": {
  9701. "description": "审核人ID",
  9702. "type": "string"
  9703. },
  9704. "auditname": {
  9705. "description": "审核人名称",
  9706. "type": "string"
  9707. },
  9708. "audittime": {
  9709. "description": "审核时间",
  9710. "type": "string"
  9711. },
  9712. "buyusername": {
  9713. "description": "采购方名称",
  9714. "type": "string"
  9715. },
  9716. "contractno": {
  9717. "description": "合同编号",
  9718. "type": "string"
  9719. },
  9720. "contractstatus": {
  9721. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9722. "type": "integer"
  9723. },
  9724. "contracttype": {
  9725. "description": "现货合同类型 - 1:采购 -1:销售",
  9726. "type": "integer"
  9727. },
  9728. "deliverygoodscode": {
  9729. "description": "现货品种代码",
  9730. "type": "string"
  9731. },
  9732. "deliverygoodsid": {
  9733. "description": "现货商品ID",
  9734. "type": "integer"
  9735. },
  9736. "deliverygoodsname": {
  9737. "description": "现货品种名称",
  9738. "type": "string"
  9739. },
  9740. "enumdicname": {
  9741. "description": "单位名称",
  9742. "type": "string"
  9743. },
  9744. "goodscode": {
  9745. "description": "点价合约",
  9746. "type": "string"
  9747. },
  9748. "goodsname": {
  9749. "description": "商品名称",
  9750. "type": "string"
  9751. },
  9752. "operateapplyid": {
  9753. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9754. "type": "string"
  9755. },
  9756. "operateapplytype": {
  9757. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9758. "type": "integer"
  9759. },
  9760. "pricedPrice": {
  9761. "description": "点价价格(非必填)",
  9762. "type": "number"
  9763. },
  9764. "pricedQty": {
  9765. "description": "点价数量(非必填)",
  9766. "type": "number"
  9767. },
  9768. "pricemove": {
  9769. "description": "升贴水",
  9770. "type": "number"
  9771. },
  9772. "pricetype": {
  9773. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9774. "type": "integer"
  9775. },
  9776. "relatedid": {
  9777. "description": "现货合同ID",
  9778. "type": "string"
  9779. },
  9780. "sellusername": {
  9781. "description": "销售方名字",
  9782. "type": "string"
  9783. },
  9784. "userid": {
  9785. "description": "用户ID",
  9786. "type": "integer"
  9787. },
  9788. "wrstandardcode": {
  9789. "description": "品类代码",
  9790. "type": "string"
  9791. },
  9792. "wrstandardid": {
  9793. "description": "品类id",
  9794. "type": "integer"
  9795. },
  9796. "wrstandardname": {
  9797. "description": "品类名称",
  9798. "type": "string"
  9799. }
  9800. }
  9801. },
  9802. "ermcp.QryBussinessFpRsp": {
  9803. "type": "object",
  9804. "properties": {
  9805. "applyid": {
  9806. "description": "申请人",
  9807. "type": "string"
  9808. },
  9809. "applyname": {
  9810. "description": "申请人名称",
  9811. "type": "string"
  9812. },
  9813. "applystatus": {
  9814. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9815. "type": "integer"
  9816. },
  9817. "applytime": {
  9818. "description": "申请时间",
  9819. "type": "string"
  9820. },
  9821. "attachurl": {
  9822. "description": "附件",
  9823. "type": "string"
  9824. },
  9825. "auditid": {
  9826. "description": "审核人ID",
  9827. "type": "string"
  9828. },
  9829. "auditname": {
  9830. "description": "审核人名称",
  9831. "type": "string"
  9832. },
  9833. "audittime": {
  9834. "description": "审核时间",
  9835. "type": "string"
  9836. },
  9837. "buyusername": {
  9838. "description": "采购方名称",
  9839. "type": "string"
  9840. },
  9841. "contractno": {
  9842. "description": "合同编号",
  9843. "type": "string"
  9844. },
  9845. "contractstatus": {
  9846. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9847. "type": "integer"
  9848. },
  9849. "contracttype": {
  9850. "description": "现货合同类型 - 1:采购 -1:销售",
  9851. "type": "integer"
  9852. },
  9853. "deliverygoodscode": {
  9854. "description": "现货品种代码",
  9855. "type": "string"
  9856. },
  9857. "deliverygoodsid": {
  9858. "description": "现货商品ID",
  9859. "type": "integer"
  9860. },
  9861. "deliverygoodsname": {
  9862. "description": "现货品种名称",
  9863. "type": "string"
  9864. },
  9865. "enumdicname": {
  9866. "description": "单位名称",
  9867. "type": "string"
  9868. },
  9869. "goodscode": {
  9870. "description": "点价合约",
  9871. "type": "string"
  9872. },
  9873. "goodsname": {
  9874. "description": "商品名称",
  9875. "type": "string"
  9876. },
  9877. "invoiceAmount": {
  9878. "description": "已开收票金额(销售为开票,采购为收票)",
  9879. "type": "number"
  9880. },
  9881. "operateapplyid": {
  9882. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9883. "type": "string"
  9884. },
  9885. "operateapplytype": {
  9886. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9887. "type": "integer"
  9888. },
  9889. "pricemove": {
  9890. "description": "升贴水",
  9891. "type": "number"
  9892. },
  9893. "pricetype": {
  9894. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9895. "type": "integer"
  9896. },
  9897. "relatedid": {
  9898. "description": "现货合同ID",
  9899. "type": "string"
  9900. },
  9901. "sellusername": {
  9902. "description": "销售方名字",
  9903. "type": "string"
  9904. },
  9905. "userid": {
  9906. "description": "用户ID",
  9907. "type": "integer"
  9908. },
  9909. "wrstandardcode": {
  9910. "description": "品类代码",
  9911. "type": "string"
  9912. },
  9913. "wrstandardid": {
  9914. "description": "品类id",
  9915. "type": "integer"
  9916. },
  9917. "wrstandardname": {
  9918. "description": "品类名称",
  9919. "type": "string"
  9920. }
  9921. }
  9922. },
  9923. "ermcp.QryBussinessJsExRsp": {
  9924. "type": "object",
  9925. "properties": {
  9926. "applyid": {
  9927. "description": "申请人",
  9928. "type": "string"
  9929. },
  9930. "applyname": {
  9931. "description": "申请人名称",
  9932. "type": "string"
  9933. },
  9934. "applystatus": {
  9935. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9936. "type": "integer"
  9937. },
  9938. "applytime": {
  9939. "description": "申请时间",
  9940. "type": "string"
  9941. },
  9942. "attachurl": {
  9943. "description": "附件",
  9944. "type": "string"
  9945. },
  9946. "auditid": {
  9947. "description": "审核人ID",
  9948. "type": "string"
  9949. },
  9950. "auditname": {
  9951. "description": "审核人名称",
  9952. "type": "string"
  9953. },
  9954. "audittime": {
  9955. "description": "审核时间",
  9956. "type": "string"
  9957. },
  9958. "buyusername": {
  9959. "description": "采购方名称",
  9960. "type": "string"
  9961. },
  9962. "contractno": {
  9963. "description": "合同编号",
  9964. "type": "string"
  9965. },
  9966. "contractstatus": {
  9967. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9968. "type": "integer"
  9969. },
  9970. "contracttype": {
  9971. "description": "现货合同类型 - 1:采购 -1:销售",
  9972. "type": "integer"
  9973. },
  9974. "deliverygoodscode": {
  9975. "description": "现货品种代码",
  9976. "type": "string"
  9977. },
  9978. "deliverygoodsid": {
  9979. "description": "现货商品ID",
  9980. "type": "integer"
  9981. },
  9982. "deliverygoodsname": {
  9983. "description": "现货品种名称",
  9984. "type": "string"
  9985. },
  9986. "enumdicname": {
  9987. "description": "单位名称",
  9988. "type": "string"
  9989. },
  9990. "goodscode": {
  9991. "description": "点价合约",
  9992. "type": "string"
  9993. },
  9994. "goodsname": {
  9995. "description": "商品名称",
  9996. "type": "string"
  9997. },
  9998. "operateapplyid": {
  9999. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10000. "type": "string"
  10001. },
  10002. "operateapplytype": {
  10003. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10004. "type": "integer"
  10005. },
  10006. "pricemove": {
  10007. "description": "升贴水",
  10008. "type": "number"
  10009. },
  10010. "pricetype": {
  10011. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10012. "type": "integer"
  10013. },
  10014. "reckontype": {
  10015. "description": "结算类型",
  10016. "type": "string"
  10017. },
  10018. "reckonvalue": {
  10019. "description": "值",
  10020. "type": "number"
  10021. },
  10022. "relatedid": {
  10023. "description": "现货合同ID",
  10024. "type": "string"
  10025. },
  10026. "sellusername": {
  10027. "description": "销售方名字",
  10028. "type": "string"
  10029. },
  10030. "userid": {
  10031. "description": "用户ID",
  10032. "type": "integer"
  10033. },
  10034. "wrstandardcode": {
  10035. "description": "品类代码",
  10036. "type": "string"
  10037. },
  10038. "wrstandardid": {
  10039. "description": "品类id",
  10040. "type": "integer"
  10041. },
  10042. "wrstandardname": {
  10043. "description": "品类名称",
  10044. "type": "string"
  10045. }
  10046. }
  10047. },
  10048. "ermcp.QryBussinessJsRsp": {
  10049. "type": "object",
  10050. "properties": {
  10051. "addmargin": {
  10052. "description": "追加保证金(非必填)",
  10053. "type": "number"
  10054. },
  10055. "applyid": {
  10056. "description": "申请人",
  10057. "type": "string"
  10058. },
  10059. "applyname": {
  10060. "description": "申请人名称",
  10061. "type": "string"
  10062. },
  10063. "applystatus": {
  10064. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10065. "type": "integer"
  10066. },
  10067. "applytime": {
  10068. "description": "申请时间",
  10069. "type": "string"
  10070. },
  10071. "attachurl": {
  10072. "description": "附件",
  10073. "type": "string"
  10074. },
  10075. "auditid": {
  10076. "description": "审核人ID",
  10077. "type": "string"
  10078. },
  10079. "auditname": {
  10080. "description": "审核人名称",
  10081. "type": "string"
  10082. },
  10083. "audittime": {
  10084. "description": "审核时间",
  10085. "type": "string"
  10086. },
  10087. "buyusername": {
  10088. "description": "采购方名称",
  10089. "type": "string"
  10090. },
  10091. "contractno": {
  10092. "description": "合同编号",
  10093. "type": "string"
  10094. },
  10095. "contractstatus": {
  10096. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10097. "type": "integer"
  10098. },
  10099. "contracttype": {
  10100. "description": "现货合同类型 - 1:采购 -1:销售",
  10101. "type": "integer"
  10102. },
  10103. "decmargin": {
  10104. "description": "减少保证金(非必填)",
  10105. "type": "number"
  10106. },
  10107. "deliverygoodscode": {
  10108. "description": "现货品种代码",
  10109. "type": "string"
  10110. },
  10111. "deliverygoodsid": {
  10112. "description": "现货商品ID",
  10113. "type": "integer"
  10114. },
  10115. "deliverygoodsname": {
  10116. "description": "现货品种名称",
  10117. "type": "string"
  10118. },
  10119. "enumdicname": {
  10120. "description": "单位名称",
  10121. "type": "string"
  10122. },
  10123. "goodscode": {
  10124. "description": "点价合约",
  10125. "type": "string"
  10126. },
  10127. "goodsname": {
  10128. "description": "商品名称",
  10129. "type": "string"
  10130. },
  10131. "operateapplyid": {
  10132. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10133. "type": "string"
  10134. },
  10135. "operateapplytype": {
  10136. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10137. "type": "integer"
  10138. },
  10139. "pricemove": {
  10140. "description": "升贴水",
  10141. "type": "number"
  10142. },
  10143. "pricetype": {
  10144. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10145. "type": "integer"
  10146. },
  10147. "reckonadjustamount": {
  10148. "description": "结算调整金额(非必填)",
  10149. "type": "number"
  10150. },
  10151. "reckonosamount": {
  10152. "description": "结算溢短金额(非必填)",
  10153. "type": "number"
  10154. },
  10155. "reckonotheramount": {
  10156. "description": "结算其他费用(非必填)",
  10157. "type": "number"
  10158. },
  10159. "reckonrealqty": {
  10160. "description": "结算实际数量(非必填)",
  10161. "type": "number"
  10162. },
  10163. "relatedid": {
  10164. "description": "现货合同ID",
  10165. "type": "string"
  10166. },
  10167. "sellusername": {
  10168. "description": "销售方名字",
  10169. "type": "string"
  10170. },
  10171. "userid": {
  10172. "description": "用户ID",
  10173. "type": "integer"
  10174. },
  10175. "wrstandardcode": {
  10176. "description": "品类代码",
  10177. "type": "string"
  10178. },
  10179. "wrstandardid": {
  10180. "description": "品类id",
  10181. "type": "integer"
  10182. },
  10183. "wrstandardname": {
  10184. "description": "品类名称",
  10185. "type": "string"
  10186. }
  10187. }
  10188. },
  10189. "ermcp.QryBussinessKxRsp": {
  10190. "type": "object",
  10191. "properties": {
  10192. "applyid": {
  10193. "description": "申请人",
  10194. "type": "string"
  10195. },
  10196. "applyname": {
  10197. "description": "申请人名称",
  10198. "type": "string"
  10199. },
  10200. "applystatus": {
  10201. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10202. "type": "integer"
  10203. },
  10204. "applytime": {
  10205. "description": "申请时间",
  10206. "type": "string"
  10207. },
  10208. "attachurl": {
  10209. "description": "附件",
  10210. "type": "string"
  10211. },
  10212. "auditid": {
  10213. "description": "审核人ID",
  10214. "type": "string"
  10215. },
  10216. "auditname": {
  10217. "description": "审核人名称",
  10218. "type": "string"
  10219. },
  10220. "audittime": {
  10221. "description": "审核时间",
  10222. "type": "string"
  10223. },
  10224. "buyusername": {
  10225. "description": "采购方名称",
  10226. "type": "string"
  10227. },
  10228. "contractno": {
  10229. "description": "合同编号",
  10230. "type": "string"
  10231. },
  10232. "contractstatus": {
  10233. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10234. "type": "integer"
  10235. },
  10236. "contracttype": {
  10237. "description": "现货合同类型 - 1:采购 -1:销售",
  10238. "type": "integer"
  10239. },
  10240. "deductamount": {
  10241. "description": "退款(非必填)",
  10242. "type": "number"
  10243. },
  10244. "deliverygoodscode": {
  10245. "description": "现货品种代码",
  10246. "type": "string"
  10247. },
  10248. "deliverygoodsid": {
  10249. "description": "现货商品ID",
  10250. "type": "integer"
  10251. },
  10252. "deliverygoodsname": {
  10253. "description": "现货品种名称",
  10254. "type": "string"
  10255. },
  10256. "enumdicname": {
  10257. "description": "单位名称",
  10258. "type": "string"
  10259. },
  10260. "goodscode": {
  10261. "description": "点价合约",
  10262. "type": "string"
  10263. },
  10264. "goodsname": {
  10265. "description": "商品名称",
  10266. "type": "string"
  10267. },
  10268. "kxtype": {
  10269. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10270. "type": "integer"
  10271. },
  10272. "operateapplyid": {
  10273. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10274. "type": "string"
  10275. },
  10276. "operateapplytype": {
  10277. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10278. "type": "integer"
  10279. },
  10280. "payamount": {
  10281. "description": "收付款(非必填)",
  10282. "type": "number"
  10283. },
  10284. "pricemove": {
  10285. "description": "升贴水",
  10286. "type": "number"
  10287. },
  10288. "pricetype": {
  10289. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10290. "type": "integer"
  10291. },
  10292. "relatedid": {
  10293. "description": "现货合同ID",
  10294. "type": "string"
  10295. },
  10296. "sellusername": {
  10297. "description": "销售方名字",
  10298. "type": "string"
  10299. },
  10300. "userid": {
  10301. "description": "用户ID",
  10302. "type": "integer"
  10303. },
  10304. "wrstandardcode": {
  10305. "description": "品类代码",
  10306. "type": "string"
  10307. },
  10308. "wrstandardid": {
  10309. "description": "品类id",
  10310. "type": "integer"
  10311. },
  10312. "wrstandardname": {
  10313. "description": "品类名称",
  10314. "type": "string"
  10315. }
  10316. }
  10317. },
  10318. "ermcp.QryGGCovertCfgRsp": {
  10319. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10320. },
  10321. "ermcp.QryMGChangeLogRsp": {
  10322. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10323. },
  10324. "ermcp.QryMiddleGoodsDetailRsp": {
  10325. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10326. },
  10327. "ermcp.QryMiddleGoodsRsp": {
  10328. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10329. },
  10330. "ermcp.QryOPLogRsp": {
  10331. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10332. },
  10333. "ermcp.QryUserInfoRsp": {
  10334. "$ref": "#/definitions/models.ErmcpUserModel"
  10335. },
  10336. "ermcp.QryWarehouseRsp": {
  10337. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10338. },
  10339. "ermcp.QueryErmcpTradePositionRsp": {
  10340. "type": "object",
  10341. "properties": {
  10342. "agreeunit": {
  10343. "description": "合约单位",
  10344. "type": "number"
  10345. },
  10346. "buyorsell": {
  10347. "description": "方向 - 0:买 1:卖",
  10348. "type": "integer"
  10349. },
  10350. "curpositionqty": {
  10351. "description": "持仓(总仓数量, 期末头寸)",
  10352. "type": "integer"
  10353. },
  10354. "curtdposition": {
  10355. "description": "今仓数量(期末今日头寸)",
  10356. "type": "integer"
  10357. },
  10358. "curtdpositionenabled": {
  10359. "description": "今仓可用",
  10360. "type": "integer"
  10361. },
  10362. "decimalplace": {
  10363. "description": "报价小数位",
  10364. "type": "integer"
  10365. },
  10366. "enableqty": {
  10367. "description": "可用(总仓可用)",
  10368. "type": "integer"
  10369. },
  10370. "exexchangename": {
  10371. "description": "外部交易所名称",
  10372. "type": "string"
  10373. },
  10374. "goodscode": {
  10375. "description": "商品代码(内部)",
  10376. "type": "string"
  10377. },
  10378. "goodsid": {
  10379. "description": "商品ID(自增ID SEQ_GOODS)",
  10380. "type": "integer"
  10381. },
  10382. "goodsname": {
  10383. "description": "商品名称",
  10384. "type": "string"
  10385. },
  10386. "last": {
  10387. "description": "现价",
  10388. "type": "number"
  10389. },
  10390. "marketid": {
  10391. "description": "所属市场ID",
  10392. "type": "integer"
  10393. },
  10394. "openaverageprice": {
  10395. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10396. "type": "number"
  10397. },
  10398. "opencost": {
  10399. "description": "开仓成本",
  10400. "type": "number"
  10401. },
  10402. "openpl": {
  10403. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10404. "type": "number"
  10405. },
  10406. "outgoodscode": {
  10407. "description": "商品代码(外部)",
  10408. "type": "string"
  10409. },
  10410. "positionaverageprice": {
  10411. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10412. "type": "number"
  10413. },
  10414. "positioncost": {
  10415. "description": "持仓成本",
  10416. "type": "number"
  10417. },
  10418. "positionpl": {
  10419. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10420. "type": "number"
  10421. },
  10422. "positionplrate": {
  10423. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10424. "type": "number"
  10425. },
  10426. "usedmargin": {
  10427. "description": "占用保证金",
  10428. "type": "number"
  10429. }
  10430. }
  10431. },
  10432. "ermcp.RealtimeExposurePositionRsp": {
  10433. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10434. },
  10435. "ermcp.RealtimeExposureRsp": {
  10436. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10437. },
  10438. "erms2.QueryArbitrageStrategyRsp": {
  10439. "type": "object",
  10440. "required": [
  10441. "asapplyid"
  10442. ],
  10443. "properties": {
  10444. "applybasis": {
  10445. "description": "申请基差",
  10446. "type": "number"
  10447. },
  10448. "asapplyid": {
  10449. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10450. "type": "string"
  10451. },
  10452. "asname": {
  10453. "description": "策略名称",
  10454. "type": "string"
  10455. },
  10456. "asno": {
  10457. "description": "策略编号",
  10458. "type": "string"
  10459. },
  10460. "basischangepl": {
  10461. "description": "基差变动损益[结算更新]",
  10462. "type": "number"
  10463. },
  10464. "biztype": {
  10465. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10466. "type": "integer"
  10467. },
  10468. "closetradedate": {
  10469. "description": "完结交易日(yyyyMMdd)",
  10470. "type": "string"
  10471. },
  10472. "curbasis": {
  10473. "description": "当前基差[结算更新]",
  10474. "type": "number"
  10475. },
  10476. "deliverygoodsid": {
  10477. "description": "现货品种ID",
  10478. "type": "integer"
  10479. },
  10480. "futureavgprice": {
  10481. "description": "期货建仓均价",
  10482. "type": "number"
  10483. },
  10484. "futurecloseamount": {
  10485. "description": "期货平仓金额",
  10486. "type": "number"
  10487. },
  10488. "futurecloseqty": {
  10489. "description": "期货平仓数量",
  10490. "type": "number"
  10491. },
  10492. "futureopenamount": {
  10493. "description": "期货开仓金额",
  10494. "type": "number"
  10495. },
  10496. "futureopenqty": {
  10497. "description": "期货开仓数量",
  10498. "type": "number"
  10499. },
  10500. "futurepl": {
  10501. "description": "期货总盈亏[结算更新]",
  10502. "type": "number"
  10503. },
  10504. "futureqty": {
  10505. "description": "期货持仓数量",
  10506. "type": "number"
  10507. },
  10508. "futurequote": {
  10509. "description": "期货额度",
  10510. "type": "number"
  10511. },
  10512. "goodsgroupid": {
  10513. "description": "期货品种ID",
  10514. "type": "integer"
  10515. },
  10516. "marketid": {
  10517. "description": "市场ID",
  10518. "type": "integer"
  10519. },
  10520. "netexposure": {
  10521. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10522. "type": "number"
  10523. },
  10524. "netexposurepl": {
  10525. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10526. "type": "number"
  10527. },
  10528. "netexposurerate": {
  10529. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10530. "type": "number"
  10531. },
  10532. "openbasis": {
  10533. "description": "建仓基差",
  10534. "type": "number"
  10535. },
  10536. "pricedspotqty": {
  10537. "description": "已定价现货数量",
  10538. "type": "number"
  10539. },
  10540. "pricedspotqtynotax": {
  10541. "description": "已定价现货不含税数量",
  10542. "type": "number"
  10543. },
  10544. "remark": {
  10545. "description": "备注",
  10546. "type": "string"
  10547. },
  10548. "spotavgprice": {
  10549. "description": "现货均价",
  10550. "type": "number"
  10551. },
  10552. "spotbuyamount": {
  10553. "description": "现货采购金额",
  10554. "type": "number"
  10555. },
  10556. "spotbuyqty": {
  10557. "description": "现货采购数量",
  10558. "type": "number"
  10559. },
  10560. "spotpl": {
  10561. "description": "现货总盈亏[结算更新]",
  10562. "type": "number"
  10563. },
  10564. "spotquota": {
  10565. "description": "现货额度",
  10566. "type": "number"
  10567. },
  10568. "spotsellamount": {
  10569. "description": "现货销售金额",
  10570. "type": "number"
  10571. },
  10572. "spotsellqty": {
  10573. "description": "现货销售数量",
  10574. "type": "number"
  10575. },
  10576. "spotusedquota": {
  10577. "description": "现货占用资金",
  10578. "type": "number"
  10579. },
  10580. "strategystatus": {
  10581. "description": "策略状态 - 0:未结束 1:已结束",
  10582. "type": "integer"
  10583. },
  10584. "totalpl": {
  10585. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10586. "type": "number"
  10587. },
  10588. "tradedate": {
  10589. "description": "交易日(yyyyMMdd)",
  10590. "type": "string"
  10591. },
  10592. "updatetime": {
  10593. "description": "更新时间",
  10594. "type": "string"
  10595. },
  10596. "usedquota": {
  10597. "description": "已占用资金",
  10598. "type": "number"
  10599. },
  10600. "userid": {
  10601. "description": "所属机构",
  10602. "type": "integer"
  10603. }
  10604. }
  10605. },
  10606. "erms2.QueryInnerTradeDetailRsp": {
  10607. "type": "object",
  10608. "required": [
  10609. "asapplyid",
  10610. "buyorsell",
  10611. "goodscode",
  10612. "goodsgroupid",
  10613. "goodsgroupname",
  10614. "goodsname",
  10615. "tradeid"
  10616. ],
  10617. "properties": {
  10618. "accountid": {
  10619. "description": "账号ID",
  10620. "type": "integer"
  10621. },
  10622. "agreeunit": {
  10623. "description": "合约单位",
  10624. "type": "number"
  10625. },
  10626. "asapplyid": {
  10627. "description": "策略申请ID",
  10628. "type": "integer"
  10629. },
  10630. "asname": {
  10631. "description": "策略名称",
  10632. "type": "string"
  10633. },
  10634. "asno": {
  10635. "description": "策略编号",
  10636. "type": "string"
  10637. },
  10638. "buyorsell": {
  10639. "description": "方向 - 0:买 1:卖",
  10640. "type": "integer"
  10641. },
  10642. "channelbuildtype": {
  10643. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10644. "type": "integer"
  10645. },
  10646. "closetype": {
  10647. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10648. "type": "integer"
  10649. },
  10650. "decimalplace": {
  10651. "description": "报价小数位",
  10652. "type": "integer"
  10653. },
  10654. "detailtype": {
  10655. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10656. "type": "integer"
  10657. },
  10658. "exexchangecode": {
  10659. "description": "外部交易所代码",
  10660. "type": "string"
  10661. },
  10662. "exexchangename": {
  10663. "description": "外部交易所名称",
  10664. "type": "string"
  10665. },
  10666. "goodscode": {
  10667. "description": "商品代码(合约)",
  10668. "type": "string"
  10669. },
  10670. "goodsgroupid": {
  10671. "description": "商品组ID(品种ID)",
  10672. "type": "integer"
  10673. },
  10674. "goodsgroupname": {
  10675. "description": "商品组名称(品种)",
  10676. "type": "string"
  10677. },
  10678. "goodsid": {
  10679. "description": "商品ID",
  10680. "type": "integer"
  10681. },
  10682. "goodsname": {
  10683. "description": "商品名称(合约)",
  10684. "type": "string"
  10685. },
  10686. "goodunit": {
  10687. "description": "报价单位",
  10688. "type": "string"
  10689. },
  10690. "marketid": {
  10691. "description": "市场ID",
  10692. "type": "integer"
  10693. },
  10694. "orderid": {
  10695. "description": "委托单号",
  10696. "type": "string"
  10697. },
  10698. "outgoodscode": {
  10699. "description": "商品代码(外部)",
  10700. "type": "string"
  10701. },
  10702. "relatedouttradeid": {
  10703. "description": "关联外部成交单ID",
  10704. "type": "string"
  10705. },
  10706. "remark": {
  10707. "description": "备注",
  10708. "type": "string"
  10709. },
  10710. "spotcontractid": {
  10711. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10712. "type": "integer"
  10713. },
  10714. "spotcontractno": {
  10715. "description": "现货合同编号",
  10716. "type": "string"
  10717. },
  10718. "tradeid": {
  10719. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10720. "type": "string"
  10721. },
  10722. "tradeprice": {
  10723. "description": "成交价格",
  10724. "type": "number"
  10725. },
  10726. "tradeqty": {
  10727. "description": "成交数量",
  10728. "type": "integer"
  10729. },
  10730. "tradetime": {
  10731. "description": "成交时间",
  10732. "type": "string"
  10733. },
  10734. "updatetime": {
  10735. "description": "更新时间",
  10736. "type": "string"
  10737. }
  10738. }
  10739. },
  10740. "erms2.QuerySpotContractRsp": {
  10741. "type": "object",
  10742. "required": [
  10743. "spotcontractid"
  10744. ],
  10745. "properties": {
  10746. "accountid": {
  10747. "description": "资金账户ID",
  10748. "type": "integer"
  10749. },
  10750. "areauserid": {
  10751. "description": "所属机构",
  10752. "type": "integer"
  10753. },
  10754. "closedate": {
  10755. "description": "终止日期",
  10756. "type": "string"
  10757. },
  10758. "closeremark": {
  10759. "description": "结束备注",
  10760. "type": "string"
  10761. },
  10762. "closetradedate": {
  10763. "description": "完结交易日(yyyyMMdd)",
  10764. "type": "string"
  10765. },
  10766. "closetype": {
  10767. "description": "终止类型 - 1:违约 2:提前终止",
  10768. "type": "integer"
  10769. },
  10770. "contractamount": {
  10771. "description": "合同金额",
  10772. "type": "number"
  10773. },
  10774. "contractattachment": {
  10775. "description": "合同附件",
  10776. "type": "string"
  10777. },
  10778. "contractno": {
  10779. "description": "现货合同编号",
  10780. "type": "string"
  10781. },
  10782. "contractqty": {
  10783. "description": "合同数量(数值) (用于计算)",
  10784. "type": "number"
  10785. },
  10786. "contractqtychar": {
  10787. "description": "合同数量\\已订价数量 (用于显示)",
  10788. "type": "string"
  10789. },
  10790. "contractstatus": {
  10791. "description": "合同状态 - 0:未结束 1:已结束",
  10792. "type": "integer"
  10793. },
  10794. "contracttype": {
  10795. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10796. "type": "integer"
  10797. },
  10798. "customeraccountid": {
  10799. "description": "客户资金账户ID",
  10800. "type": "integer"
  10801. },
  10802. "customeruserid": {
  10803. "description": "客户ID",
  10804. "type": "integer"
  10805. },
  10806. "deliverygoodsdesc": {
  10807. "description": "品种说明",
  10808. "type": "string"
  10809. },
  10810. "deliverygoodsid": {
  10811. "description": "现货品种ID",
  10812. "type": "integer"
  10813. },
  10814. "handlestatus": {
  10815. "description": "处理状态",
  10816. "type": "integer"
  10817. },
  10818. "invoiceatt": {
  10819. "description": "发票附件",
  10820. "type": "string"
  10821. },
  10822. "invoicedatetime": {
  10823. "description": "开收票更新时间",
  10824. "type": "string"
  10825. },
  10826. "invoiceopentime": {
  10827. "description": "开票时间",
  10828. "type": "string"
  10829. },
  10830. "invoiceremark": {
  10831. "description": "发票备注",
  10832. "type": "string"
  10833. },
  10834. "invoicestatus": {
  10835. "description": "开收票状态 - 0:未开票 1:已开票",
  10836. "type": "integer"
  10837. },
  10838. "lastdate": {
  10839. "description": "交货时间",
  10840. "type": "string"
  10841. },
  10842. "marketid": {
  10843. "description": "市场ID",
  10844. "type": "integer"
  10845. },
  10846. "paydatetime": {
  10847. "description": "收付款更新时间",
  10848. "type": "string"
  10849. },
  10850. "payremark": {
  10851. "description": "收付款备注",
  10852. "type": "string"
  10853. },
  10854. "paystatus": {
  10855. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10856. "type": "integer"
  10857. },
  10858. "positionqty": {
  10859. "description": "头寸数量 - 合同数量去小数部分",
  10860. "type": "integer"
  10861. },
  10862. "producttype": {
  10863. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10864. "type": "integer"
  10865. },
  10866. "relatedqty": {
  10867. "description": "已关联数量",
  10868. "type": "number"
  10869. },
  10870. "relatedstatus": {
  10871. "description": "关联完结状态 - 0:未结束 1:已结束",
  10872. "type": "integer"
  10873. },
  10874. "remark": {
  10875. "description": "备注",
  10876. "type": "string"
  10877. },
  10878. "signdate": {
  10879. "description": "签订日期",
  10880. "type": "string"
  10881. },
  10882. "spotcontractid": {
  10883. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10884. "type": "string"
  10885. },
  10886. "spotdatetime": {
  10887. "description": "收发货更新时间",
  10888. "type": "string"
  10889. },
  10890. "spotprice": {
  10891. "description": "价格",
  10892. "type": "number"
  10893. },
  10894. "spotremark": {
  10895. "description": "收发货备注",
  10896. "type": "string"
  10897. },
  10898. "spotstatus": {
  10899. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10900. "type": "integer"
  10901. },
  10902. "tradedate": {
  10903. "description": "交易日(yyyyMMdd)",
  10904. "type": "string"
  10905. },
  10906. "userid": {
  10907. "description": "业务员用户ID",
  10908. "type": "integer"
  10909. },
  10910. "warehouseid": {
  10911. "description": "仓库ID",
  10912. "type": "integer"
  10913. },
  10914. "wrfactortypeid": {
  10915. "description": "仓单要素类型ID",
  10916. "type": "integer"
  10917. },
  10918. "wrstandardid": {
  10919. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10920. "type": "integer"
  10921. }
  10922. }
  10923. },
  10924. "erms3.AddErms2ASApplyReq": {
  10925. "type": "object",
  10926. "required": [
  10927. "asapplyid"
  10928. ],
  10929. "properties": {
  10930. "applybasis": {
  10931. "description": "申请基差",
  10932. "type": "number"
  10933. },
  10934. "applystatus": {
  10935. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10936. "type": "integer"
  10937. },
  10938. "asapplyid": {
  10939. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10940. "type": "integer"
  10941. },
  10942. "asname": {
  10943. "description": "策略名称",
  10944. "type": "string"
  10945. },
  10946. "asno": {
  10947. "description": "策略编号",
  10948. "type": "string"
  10949. },
  10950. "auditid": {
  10951. "description": "审核人",
  10952. "type": "integer"
  10953. },
  10954. "auditremark": {
  10955. "description": "审核备注",
  10956. "type": "string"
  10957. },
  10958. "audittime": {
  10959. "description": "审核时间",
  10960. "type": "string"
  10961. },
  10962. "biztype": {
  10963. "description": "业务类型 - 1:正向套利 2:反向套利",
  10964. "type": "integer"
  10965. },
  10966. "createtime": {
  10967. "description": "创建时间",
  10968. "type": "string"
  10969. },
  10970. "creatorid": {
  10971. "description": "创建人",
  10972. "type": "integer"
  10973. },
  10974. "deliverygoodsid": {
  10975. "description": "现货品种ID",
  10976. "type": "integer"
  10977. },
  10978. "futurequote": {
  10979. "description": "期货额度",
  10980. "type": "number"
  10981. },
  10982. "goodsgroupid": {
  10983. "description": "期货品种ID",
  10984. "type": "integer"
  10985. },
  10986. "marketid": {
  10987. "description": "市场ID",
  10988. "type": "integer"
  10989. },
  10990. "remark": {
  10991. "description": "备注",
  10992. "type": "string"
  10993. },
  10994. "spotquota": {
  10995. "description": "现货额度",
  10996. "type": "number"
  10997. },
  10998. "tradedate": {
  10999. "description": "交易日(yyyyMMdd)",
  11000. "type": "string"
  11001. },
  11002. "userid": {
  11003. "description": "所属机构",
  11004. "type": "integer"
  11005. }
  11006. }
  11007. },
  11008. "erms3.AddErms2SpotTradeApplyReq": {
  11009. "type": "object",
  11010. "required": [
  11011. "spottradeid"
  11012. ],
  11013. "properties": {
  11014. "applyjsondetail": {
  11015. "description": "申请明细(JSON)",
  11016. "type": "string"
  11017. },
  11018. "applystatus": {
  11019. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11020. "type": "integer"
  11021. },
  11022. "areauserid": {
  11023. "description": "所属机构",
  11024. "type": "integer"
  11025. },
  11026. "auditid": {
  11027. "description": "审核人",
  11028. "type": "integer"
  11029. },
  11030. "auditremark": {
  11031. "description": "审核备注",
  11032. "type": "string"
  11033. },
  11034. "audittime": {
  11035. "description": "审核时间",
  11036. "type": "string"
  11037. },
  11038. "createtime": {
  11039. "description": "创建时间",
  11040. "type": "string"
  11041. },
  11042. "creatorid": {
  11043. "description": "创建人",
  11044. "type": "integer"
  11045. },
  11046. "deliverygoodsid": {
  11047. "description": "现货品种ID",
  11048. "type": "integer"
  11049. },
  11050. "futureaccountid": {
  11051. "description": "期货资金账户",
  11052. "type": "integer"
  11053. },
  11054. "goodsgroupid": {
  11055. "description": "期货品种",
  11056. "type": "integer"
  11057. },
  11058. "marketid": {
  11059. "description": "市场ID",
  11060. "type": "integer"
  11061. },
  11062. "remark": {
  11063. "description": "备注",
  11064. "type": "string"
  11065. },
  11066. "spotaccountid": {
  11067. "description": "现货资金账户",
  11068. "type": "integer"
  11069. },
  11070. "spottradeid": {
  11071. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11072. "type": "integer"
  11073. },
  11074. "spottradename": {
  11075. "description": "业务名称",
  11076. "type": "string"
  11077. },
  11078. "spottradeno": {
  11079. "description": "业务编号",
  11080. "type": "string"
  11081. },
  11082. "tradedate": {
  11083. "description": "交易日(yyyyMMdd)",
  11084. "type": "string"
  11085. },
  11086. "wrstandardid": {
  11087. "description": "仓单标准ID",
  11088. "type": "integer"
  11089. }
  11090. }
  11091. },
  11092. "erms3.AddSpotContractApplyReq": {
  11093. "type": "object",
  11094. "required": [
  11095. "accountid",
  11096. "areauserid",
  11097. "contractno",
  11098. "contracttype",
  11099. "customeraccountid",
  11100. "customeruserid",
  11101. "details",
  11102. "orimargin",
  11103. "signdate"
  11104. ],
  11105. "properties": {
  11106. "accountid": {
  11107. "description": "资金账户ID",
  11108. "type": "integer"
  11109. },
  11110. "areauserid": {
  11111. "description": "所属机构",
  11112. "type": "integer"
  11113. },
  11114. "contractattachment": {
  11115. "description": "合同附件",
  11116. "type": "string"
  11117. },
  11118. "contractno": {
  11119. "description": "现货合同编号",
  11120. "type": "string"
  11121. },
  11122. "contracttype": {
  11123. "description": "现货合同类型 - 1:采购 -1:销售",
  11124. "type": "integer"
  11125. },
  11126. "creatorid": {
  11127. "description": "申请人",
  11128. "type": "integer"
  11129. },
  11130. "customeraccountid": {
  11131. "description": "客户资金账户ID",
  11132. "type": "integer"
  11133. },
  11134. "customeruserid": {
  11135. "description": "客户ID",
  11136. "type": "integer"
  11137. },
  11138. "details": {
  11139. "description": "明细",
  11140. "type": "array",
  11141. "items": {
  11142. "$ref": "#/definitions/erms3.SoptContractDetail"
  11143. }
  11144. },
  11145. "orimargin": {
  11146. "description": "初始保证金",
  11147. "type": "number"
  11148. },
  11149. "remark": {
  11150. "description": "备注",
  11151. "type": "string"
  11152. },
  11153. "signdate": {
  11154. "description": "签订日期",
  11155. "type": "string"
  11156. }
  11157. }
  11158. },
  11159. "erms3.AddSpotContractApplyRsp": {
  11160. "type": "object",
  11161. "required": [
  11162. "contractno"
  11163. ],
  11164. "properties": {
  11165. "contractno": {
  11166. "description": "现货合同编号",
  11167. "type": "string"
  11168. },
  11169. "spotcontractid": {
  11170. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11171. "type": "integer"
  11172. }
  11173. }
  11174. },
  11175. "erms3.AddUserInfoApplyReq": {
  11176. "type": "object",
  11177. "required": [
  11178. "userid"
  11179. ],
  11180. "properties": {
  11181. "accountid": {
  11182. "description": "交易系统帐号Id (加密存储)",
  11183. "type": "integer"
  11184. },
  11185. "areacode": {
  11186. "description": "机构代码",
  11187. "type": "string"
  11188. },
  11189. "areaid": {
  11190. "description": "机构Id",
  11191. "type": "integer"
  11192. },
  11193. "attachment1": {
  11194. "description": "附件1",
  11195. "type": "string"
  11196. },
  11197. "attachment2": {
  11198. "description": "附件2",
  11199. "type": "string"
  11200. },
  11201. "attachment3": {
  11202. "description": "附件3",
  11203. "type": "string"
  11204. },
  11205. "attachment4": {
  11206. "description": "附件4",
  11207. "type": "string"
  11208. },
  11209. "attachment5": {
  11210. "description": "附件5",
  11211. "type": "string"
  11212. },
  11213. "auditedby": {
  11214. "description": "审核人",
  11215. "type": "string"
  11216. },
  11217. "auditime": {
  11218. "description": "审核时间",
  11219. "type": "string"
  11220. },
  11221. "auditsrc": {
  11222. "description": "审核来源 - 1:管理端 2:终端",
  11223. "type": "integer"
  11224. },
  11225. "bankaccount": {
  11226. "description": "银行帐号 (加密存储)",
  11227. "type": "string"
  11228. },
  11229. "bankaccountname": {
  11230. "description": "收款人名称",
  11231. "type": "string"
  11232. },
  11233. "bankcardbackphotourl": {
  11234. "description": "银行卡背面照地址",
  11235. "type": "string"
  11236. },
  11237. "bankcardfrontphotourl": {
  11238. "description": "银行卡正面照地址",
  11239. "type": "string"
  11240. },
  11241. "bankid": {
  11242. "description": "银行编码",
  11243. "type": "string"
  11244. },
  11245. "bankname": {
  11246. "description": "银行名称",
  11247. "type": "string"
  11248. },
  11249. "bankpictureurl": {
  11250. "description": "银行卡正面地址",
  11251. "type": "string"
  11252. },
  11253. "biznature": {
  11254. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11255. "type": "integer"
  11256. },
  11257. "bizscope": {
  11258. "description": "企业经营范围(企业)",
  11259. "type": "string"
  11260. },
  11261. "biztype": {
  11262. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11263. "type": "integer"
  11264. },
  11265. "brokerid": {
  11266. "description": "经纪人ID(加密存储)",
  11267. "type": "string"
  11268. },
  11269. "cardaddress": {
  11270. "description": "证件地址 (加密存储)",
  11271. "type": "string"
  11272. },
  11273. "cardbackphotourl": {
  11274. "description": "背面证件照地址",
  11275. "type": "string"
  11276. },
  11277. "cardfrontphotourl": {
  11278. "description": "正面证件照地址",
  11279. "type": "string"
  11280. },
  11281. "cardnum": {
  11282. "description": "证件号码 (加密存储)",
  11283. "type": "string"
  11284. },
  11285. "cardtype": {
  11286. "description": "证件类型",
  11287. "type": "integer"
  11288. },
  11289. "cityid": {
  11290. "description": "市",
  11291. "type": "integer"
  11292. },
  11293. "company": {
  11294. "description": "公司(个人)",
  11295. "type": "string"
  11296. },
  11297. "contactcardbackphotourl": {
  11298. "description": "联系人证件背面图片地址",
  11299. "type": "string"
  11300. },
  11301. "contactcardfrontphotourl": {
  11302. "description": "联系人证件正面图片地址",
  11303. "type": "string"
  11304. },
  11305. "contactname": {
  11306. "description": "联系人",
  11307. "type": "string"
  11308. },
  11309. "countryid": {
  11310. "description": "国家",
  11311. "type": "integer"
  11312. },
  11313. "createtime": {
  11314. "description": "开户申请时间",
  11315. "type": "string"
  11316. },
  11317. "cusbankid": {
  11318. "description": "签约类型",
  11319. "type": "string"
  11320. },
  11321. "cusbankname": {
  11322. "description": "签约类型名称",
  11323. "type": "string"
  11324. },
  11325. "customername": {
  11326. "description": "客户名称(企业名称)",
  11327. "type": "string"
  11328. },
  11329. "districtid": {
  11330. "description": "地区",
  11331. "type": "integer"
  11332. },
  11333. "email": {
  11334. "description": "Email地址(加密存储)",
  11335. "type": "string"
  11336. },
  11337. "halfbodyphotourl": {
  11338. "description": "半身照地址",
  11339. "type": "string"
  11340. },
  11341. "headurl": {
  11342. "description": "头像地址",
  11343. "type": "string"
  11344. },
  11345. "ipaddress": {
  11346. "description": "IP地址",
  11347. "type": "string"
  11348. },
  11349. "isvalidate": {
  11350. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11351. "type": "string"
  11352. },
  11353. "legalcardbackphotourl": {
  11354. "description": "法人身份证背面照地址",
  11355. "type": "string"
  11356. },
  11357. "legalcardfrontphotourl": {
  11358. "description": "法人身份证正面照地址",
  11359. "type": "string"
  11360. },
  11361. "legalpersonname": {
  11362. "description": "法人姓名(企业)",
  11363. "type": "string"
  11364. },
  11365. "logincode": {
  11366. "description": "登录帐号 (加密存储)",
  11367. "type": "string"
  11368. },
  11369. "memberareaid": {
  11370. "description": "所属会员ID",
  11371. "type": "integer"
  11372. },
  11373. "mobile2": {
  11374. "description": "手机号码[明文-尚志]",
  11375. "type": "string"
  11376. },
  11377. "mobilephone": {
  11378. "description": "手机号码 (加密存储)",
  11379. "type": "string"
  11380. },
  11381. "modifiedby": {
  11382. "description": "修改人帐号",
  11383. "type": "integer"
  11384. },
  11385. "modifiedtime": {
  11386. "description": "修改时间",
  11387. "type": "string"
  11388. },
  11389. "nickname": {
  11390. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11391. "type": "string"
  11392. },
  11393. "openmode": {
  11394. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11395. "type": "integer"
  11396. },
  11397. "otherurl": {
  11398. "description": "其它图片地址[使用分号分隔]",
  11399. "type": "string"
  11400. },
  11401. "postalcode": {
  11402. "description": "邮政编码",
  11403. "type": "string"
  11404. },
  11405. "provinceid": {
  11406. "description": "省",
  11407. "type": "integer"
  11408. },
  11409. "proxystatementurl": {
  11410. "description": "授权委托书",
  11411. "type": "string"
  11412. },
  11413. "qq": {
  11414. "description": "QQ(加密存储",
  11415. "type": "string"
  11416. },
  11417. "referral": {
  11418. "description": "推荐人编码",
  11419. "type": "string"
  11420. },
  11421. "remark": {
  11422. "description": "备注",
  11423. "type": "string"
  11424. },
  11425. "removebeforestatus": {
  11426. "description": "REMOVEBEFORESTATUS",
  11427. "type": "integer"
  11428. },
  11429. "sex": {
  11430. "description": "性别 - 0:女 1:男",
  11431. "type": "integer"
  11432. },
  11433. "signedstatus": {
  11434. "description": "账户一号签签约状态",
  11435. "type": "integer"
  11436. },
  11437. "signpdfurl": {
  11438. "description": "签约pdf文件",
  11439. "type": "string"
  11440. },
  11441. "subbranch": {
  11442. "description": "开户支行",
  11443. "type": "string"
  11444. },
  11445. "taxpayernum": {
  11446. "description": "纳税人识别号",
  11447. "type": "string"
  11448. },
  11449. "telphone": {
  11450. "description": "联系电话(加密存储)",
  11451. "type": "string"
  11452. },
  11453. "userid": {
  11454. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11455. "type": "integer"
  11456. },
  11457. "userinfotype": {
  11458. "description": "用户信息类型 - 1:个人 2:企业",
  11459. "type": "integer"
  11460. },
  11461. "username": {
  11462. "description": "用户姓名",
  11463. "type": "string"
  11464. },
  11465. "userstate": {
  11466. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11467. "type": "integer"
  11468. },
  11469. "usertype": {
  11470. "description": "用户类型 - 1:投资者 2:机构",
  11471. "type": "integer"
  11472. },
  11473. "videourl": {
  11474. "description": "视频地址",
  11475. "type": "string"
  11476. },
  11477. "wechat": {
  11478. "description": "微信号 (加密存储)",
  11479. "type": "string"
  11480. }
  11481. }
  11482. },
  11483. "erms3.CustomerInfo": {
  11484. "type": "object",
  11485. "required": [
  11486. "userid"
  11487. ],
  11488. "properties": {
  11489. "accountids": {
  11490. "description": "资金账户ID列表",
  11491. "type": "array",
  11492. "items": {
  11493. "type": "integer"
  11494. }
  11495. },
  11496. "customername": {
  11497. "description": "名称(企业名称)",
  11498. "type": "string"
  11499. },
  11500. "mobile": {
  11501. "description": "手机号码",
  11502. "type": "string"
  11503. },
  11504. "userid": {
  11505. "description": "用户ID",
  11506. "type": "integer"
  11507. }
  11508. }
  11509. },
  11510. "erms3.ModifyUserInfoApplyReq": {
  11511. "type": "object",
  11512. "required": [
  11513. "userid"
  11514. ],
  11515. "properties": {
  11516. "accountid": {
  11517. "description": "交易系统帐号Id (加密存储)",
  11518. "type": "integer"
  11519. },
  11520. "areacode": {
  11521. "description": "机构代码",
  11522. "type": "string"
  11523. },
  11524. "areaid": {
  11525. "description": "机构Id",
  11526. "type": "integer"
  11527. },
  11528. "attachment1": {
  11529. "description": "附件1",
  11530. "type": "string"
  11531. },
  11532. "attachment2": {
  11533. "description": "附件2",
  11534. "type": "string"
  11535. },
  11536. "attachment3": {
  11537. "description": "附件3",
  11538. "type": "string"
  11539. },
  11540. "attachment4": {
  11541. "description": "附件4",
  11542. "type": "string"
  11543. },
  11544. "attachment5": {
  11545. "description": "附件5",
  11546. "type": "string"
  11547. },
  11548. "auditedby": {
  11549. "description": "审核人",
  11550. "type": "string"
  11551. },
  11552. "auditime": {
  11553. "description": "审核时间",
  11554. "type": "string"
  11555. },
  11556. "auditsrc": {
  11557. "description": "审核来源 - 1:管理端 2:终端",
  11558. "type": "integer"
  11559. },
  11560. "bankaccount": {
  11561. "description": "银行帐号 (加密存储)",
  11562. "type": "string"
  11563. },
  11564. "bankaccountname": {
  11565. "description": "收款人名称",
  11566. "type": "string"
  11567. },
  11568. "bankcardbackphotourl": {
  11569. "description": "银行卡背面照地址",
  11570. "type": "string"
  11571. },
  11572. "bankcardfrontphotourl": {
  11573. "description": "银行卡正面照地址",
  11574. "type": "string"
  11575. },
  11576. "bankid": {
  11577. "description": "银行编码",
  11578. "type": "string"
  11579. },
  11580. "bankname": {
  11581. "description": "银行名称",
  11582. "type": "string"
  11583. },
  11584. "bankpictureurl": {
  11585. "description": "银行卡正面地址",
  11586. "type": "string"
  11587. },
  11588. "biznature": {
  11589. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11590. "type": "integer"
  11591. },
  11592. "bizscope": {
  11593. "description": "企业经营范围(企业)",
  11594. "type": "string"
  11595. },
  11596. "biztype": {
  11597. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11598. "type": "integer"
  11599. },
  11600. "brokerid": {
  11601. "description": "经纪人ID(加密存储)",
  11602. "type": "string"
  11603. },
  11604. "cardaddress": {
  11605. "description": "证件地址 (加密存储)",
  11606. "type": "string"
  11607. },
  11608. "cardbackphotourl": {
  11609. "description": "背面证件照地址",
  11610. "type": "string"
  11611. },
  11612. "cardfrontphotourl": {
  11613. "description": "正面证件照地址",
  11614. "type": "string"
  11615. },
  11616. "cardnum": {
  11617. "description": "证件号码 (加密存储)",
  11618. "type": "string"
  11619. },
  11620. "cardtype": {
  11621. "description": "证件类型",
  11622. "type": "integer"
  11623. },
  11624. "cityid": {
  11625. "description": "市",
  11626. "type": "integer"
  11627. },
  11628. "company": {
  11629. "description": "公司(个人)",
  11630. "type": "string"
  11631. },
  11632. "contactcardbackphotourl": {
  11633. "description": "联系人证件背面图片地址",
  11634. "type": "string"
  11635. },
  11636. "contactcardfrontphotourl": {
  11637. "description": "联系人证件正面图片地址",
  11638. "type": "string"
  11639. },
  11640. "contactname": {
  11641. "description": "联系人",
  11642. "type": "string"
  11643. },
  11644. "countryid": {
  11645. "description": "国家",
  11646. "type": "integer"
  11647. },
  11648. "createtime": {
  11649. "description": "开户申请时间",
  11650. "type": "string"
  11651. },
  11652. "cusbankid": {
  11653. "description": "签约类型",
  11654. "type": "string"
  11655. },
  11656. "cusbankname": {
  11657. "description": "签约类型名称",
  11658. "type": "string"
  11659. },
  11660. "customername": {
  11661. "description": "客户名称(企业名称)",
  11662. "type": "string"
  11663. },
  11664. "districtid": {
  11665. "description": "地区",
  11666. "type": "integer"
  11667. },
  11668. "email": {
  11669. "description": "Email地址(加密存储)",
  11670. "type": "string"
  11671. },
  11672. "halfbodyphotourl": {
  11673. "description": "半身照地址",
  11674. "type": "string"
  11675. },
  11676. "headurl": {
  11677. "description": "头像地址",
  11678. "type": "string"
  11679. },
  11680. "ipaddress": {
  11681. "description": "IP地址",
  11682. "type": "string"
  11683. },
  11684. "isvalidate": {
  11685. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11686. "type": "string"
  11687. },
  11688. "legalcardbackphotourl": {
  11689. "description": "法人身份证背面照地址",
  11690. "type": "string"
  11691. },
  11692. "legalcardfrontphotourl": {
  11693. "description": "法人身份证正面照地址",
  11694. "type": "string"
  11695. },
  11696. "legalpersonname": {
  11697. "description": "法人姓名(企业)",
  11698. "type": "string"
  11699. },
  11700. "logincode": {
  11701. "description": "登录帐号 (加密存储)",
  11702. "type": "string"
  11703. },
  11704. "memberareaid": {
  11705. "description": "所属会员ID",
  11706. "type": "integer"
  11707. },
  11708. "mobile2": {
  11709. "description": "手机号码[明文-尚志]",
  11710. "type": "string"
  11711. },
  11712. "mobilephone": {
  11713. "description": "手机号码 (加密存储)",
  11714. "type": "string"
  11715. },
  11716. "modifiedby": {
  11717. "description": "修改人帐号",
  11718. "type": "integer"
  11719. },
  11720. "modifiedtime": {
  11721. "description": "修改时间",
  11722. "type": "string"
  11723. },
  11724. "nickname": {
  11725. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11726. "type": "string"
  11727. },
  11728. "openmode": {
  11729. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11730. "type": "integer"
  11731. },
  11732. "otherurl": {
  11733. "description": "其它图片地址[使用分号分隔]",
  11734. "type": "string"
  11735. },
  11736. "postalcode": {
  11737. "description": "邮政编码",
  11738. "type": "string"
  11739. },
  11740. "provinceid": {
  11741. "description": "省",
  11742. "type": "integer"
  11743. },
  11744. "proxystatementurl": {
  11745. "description": "授权委托书",
  11746. "type": "string"
  11747. },
  11748. "qq": {
  11749. "description": "QQ(加密存储",
  11750. "type": "string"
  11751. },
  11752. "referral": {
  11753. "description": "推荐人编码",
  11754. "type": "string"
  11755. },
  11756. "remark": {
  11757. "description": "备注",
  11758. "type": "string"
  11759. },
  11760. "removebeforestatus": {
  11761. "description": "REMOVEBEFORESTATUS",
  11762. "type": "integer"
  11763. },
  11764. "sex": {
  11765. "description": "性别 - 0:女 1:男",
  11766. "type": "integer"
  11767. },
  11768. "signedstatus": {
  11769. "description": "账户一号签签约状态",
  11770. "type": "integer"
  11771. },
  11772. "signpdfurl": {
  11773. "description": "签约pdf文件",
  11774. "type": "string"
  11775. },
  11776. "subbranch": {
  11777. "description": "开户支行",
  11778. "type": "string"
  11779. },
  11780. "taxpayernum": {
  11781. "description": "纳税人识别号",
  11782. "type": "string"
  11783. },
  11784. "telphone": {
  11785. "description": "联系电话(加密存储)",
  11786. "type": "string"
  11787. },
  11788. "userid": {
  11789. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11790. "type": "integer"
  11791. },
  11792. "userinfotype": {
  11793. "description": "用户信息类型 - 1:个人 2:企业",
  11794. "type": "integer"
  11795. },
  11796. "username": {
  11797. "description": "用户姓名",
  11798. "type": "string"
  11799. },
  11800. "userstate": {
  11801. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11802. "type": "integer"
  11803. },
  11804. "usertype": {
  11805. "description": "用户类型 - 1:投资者 2:机构",
  11806. "type": "integer"
  11807. },
  11808. "videourl": {
  11809. "description": "视频地址",
  11810. "type": "string"
  11811. },
  11812. "wechat": {
  11813. "description": "微信号 (加密存储)",
  11814. "type": "string"
  11815. }
  11816. }
  11817. },
  11818. "erms3.QryAuditContractRsp": {
  11819. "type": "object",
  11820. "required": [
  11821. "matchcustomername",
  11822. "spotcontractid"
  11823. ],
  11824. "properties": {
  11825. "accountid": {
  11826. "description": "交易员ID",
  11827. "type": "string"
  11828. },
  11829. "applystatus": {
  11830. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11831. "type": "integer"
  11832. },
  11833. "curdeliveryqty": {
  11834. "description": "未交收量",
  11835. "type": "integer"
  11836. },
  11837. "customername": {
  11838. "description": "采购方ID",
  11839. "type": "string"
  11840. },
  11841. "deliverygoodsid": {
  11842. "description": "品种ID",
  11843. "type": "string"
  11844. },
  11845. "deliveryqty": {
  11846. "description": "交收量",
  11847. "type": "integer"
  11848. },
  11849. "enumdicname": {
  11850. "description": "单位名称",
  11851. "type": "string"
  11852. },
  11853. "matchaccountid": {
  11854. "description": "业务员ID",
  11855. "type": "string"
  11856. },
  11857. "matchcustomername": {
  11858. "description": "销售方ID",
  11859. "type": "string"
  11860. },
  11861. "pricedqty": {
  11862. "description": "定价量",
  11863. "type": "number"
  11864. },
  11865. "signdate": {
  11866. "description": "签订日期",
  11867. "type": "string"
  11868. },
  11869. "spotcontractid": {
  11870. "description": "合同ID",
  11871. "type": "string"
  11872. },
  11873. "totaldqty": {
  11874. "description": "合同量",
  11875. "type": "number"
  11876. },
  11877. "unpricedqty": {
  11878. "description": "未定价量",
  11879. "type": "number"
  11880. },
  11881. "wrstandardname": {
  11882. "description": "商品名称",
  11883. "type": "string"
  11884. }
  11885. }
  11886. },
  11887. "erms3.QryPendingBizRsp": {
  11888. "$ref": "#/definitions/models.PendingAuditBizModel"
  11889. },
  11890. "erms3.QueryBusinessInfoRsp": {
  11891. "type": "object",
  11892. "properties": {
  11893. "businessid": {
  11894. "description": "业务ID.",
  11895. "type": "integer"
  11896. },
  11897. "buyamount": {
  11898. "description": "采购额.",
  11899. "type": "number"
  11900. },
  11901. "buyqty": {
  11902. "description": "采购量.",
  11903. "type": "string"
  11904. },
  11905. "futurepl": {
  11906. "description": "期货盈亏.",
  11907. "type": "number"
  11908. },
  11909. "futureqty": {
  11910. "description": "期货敞口.",
  11911. "type": "string"
  11912. },
  11913. "goodsid": {
  11914. "description": "商品名称/商品代码.",
  11915. "type": "string"
  11916. },
  11917. "hedgingqty": {
  11918. "description": "套保量.",
  11919. "type": "string"
  11920. },
  11921. "sellamount": {
  11922. "description": "销售额.",
  11923. "type": "number"
  11924. },
  11925. "sellqty": {
  11926. "description": "销售量.",
  11927. "type": "string"
  11928. },
  11929. "spotmarketvalue": {
  11930. "description": "现货市值.",
  11931. "type": "number"
  11932. },
  11933. "spotpl": {
  11934. "description": "浮动权益.",
  11935. "type": "number"
  11936. },
  11937. "spotqty": {
  11938. "description": "现货量.",
  11939. "type": "string"
  11940. },
  11941. "statu": {
  11942. "description": "状态,0-未结束 1-已结束.",
  11943. "type": "integer"
  11944. },
  11945. "totalpl": {
  11946. "description": "总盈亏.",
  11947. "type": "number"
  11948. },
  11949. "totalqty": {
  11950. "description": "总敞口.",
  11951. "type": "string"
  11952. },
  11953. "type": {
  11954. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11955. "type": "integer"
  11956. }
  11957. }
  11958. },
  11959. "erms3.QuerySpotContractAppleFormRsp": {
  11960. "type": "object",
  11961. "properties": {
  11962. "goodses": {
  11963. "description": "合约列表",
  11964. "type": "array",
  11965. "items": {
  11966. "$ref": "#/definitions/models.GoodsIDAndName"
  11967. }
  11968. },
  11969. "oppositeusers": {
  11970. "description": "对方账号列表",
  11971. "type": "array",
  11972. "items": {
  11973. "$ref": "#/definitions/erms3.CustomerInfo"
  11974. }
  11975. },
  11976. "ouruser": {
  11977. "description": "我方账号",
  11978. "type": "object",
  11979. "$ref": "#/definitions/erms3.CustomerInfo"
  11980. },
  11981. "warehouseinfos": {
  11982. "description": "仓库信息列表",
  11983. "type": "array",
  11984. "items": {
  11985. "$ref": "#/definitions/models.Warehouseinfo"
  11986. }
  11987. },
  11988. "wrstandards": {
  11989. "description": "仓单标准列表",
  11990. "type": "array",
  11991. "items": {
  11992. "$ref": "#/definitions/models.WRStandardInfo"
  11993. }
  11994. }
  11995. }
  11996. },
  11997. "erms3.QuerySpotContractInfoRsp": {
  11998. "type": "object",
  11999. "properties": {
  12000. "accountid": {
  12001. "description": "表示交易员ID.",
  12002. "type": "integer"
  12003. },
  12004. "curdeliveryqty": {
  12005. "description": "表示未交收量.",
  12006. "type": "number"
  12007. },
  12008. "customername": {
  12009. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12010. "type": "string"
  12011. },
  12012. "deliverygoodsid": {
  12013. "description": "表示品种ID.",
  12014. "type": "string"
  12015. },
  12016. "deliveryqty": {
  12017. "description": "表示交收量.",
  12018. "type": "number"
  12019. },
  12020. "matchaccountid": {
  12021. "description": "表示业务员ID.",
  12022. "type": "integer"
  12023. },
  12024. "matchcustomername": {
  12025. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12026. "type": "string"
  12027. },
  12028. "priceqty": {
  12029. "description": "表示定价量.",
  12030. "type": "number"
  12031. },
  12032. "relatedbizid": {
  12033. "description": "表示业务ID.",
  12034. "type": "string"
  12035. },
  12036. "signdate": {
  12037. "description": "表示签订日期.",
  12038. "type": "string"
  12039. },
  12040. "spotcontractid": {
  12041. "description": "合同ID",
  12042. "type": "string"
  12043. },
  12044. "status": {
  12045. "description": "表示状态,0-履约中 1-已完成.",
  12046. "type": "integer"
  12047. },
  12048. "totalqty": {
  12049. "description": "表示合同量.",
  12050. "type": "number"
  12051. },
  12052. "unpricedqty": {
  12053. "description": "表示未定价量.",
  12054. "type": "number"
  12055. },
  12056. "wrstandardname": {
  12057. "description": "表示商品ID.",
  12058. "type": "string"
  12059. }
  12060. }
  12061. },
  12062. "erms3.QueryUserInfoAppliesRsp": {
  12063. "type": "object",
  12064. "required": [
  12065. "userid"
  12066. ],
  12067. "properties": {
  12068. "biznature": {
  12069. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12070. "type": "integer"
  12071. },
  12072. "contactname": {
  12073. "description": "联系人",
  12074. "type": "string"
  12075. },
  12076. "createtime": {
  12077. "description": "开户申请时间",
  12078. "type": "string"
  12079. },
  12080. "userid": {
  12081. "description": "用户ID(自增ID)",
  12082. "type": "integer"
  12083. },
  12084. "userinfotype": {
  12085. "description": "用户信息类型 - 1:个人 2:企业",
  12086. "type": "integer"
  12087. },
  12088. "username": {
  12089. "description": "用户姓名",
  12090. "type": "string"
  12091. },
  12092. "userstate": {
  12093. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12094. "type": "integer"
  12095. }
  12096. }
  12097. },
  12098. "erms3.QueryUserInfosRsp": {
  12099. "type": "object",
  12100. "required": [
  12101. "userid"
  12102. ],
  12103. "properties": {
  12104. "biznature": {
  12105. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12106. "type": "integer"
  12107. },
  12108. "contactname": {
  12109. "description": "联系人",
  12110. "type": "string"
  12111. },
  12112. "customername": {
  12113. "description": "客户名称(企业名称)",
  12114. "type": "string"
  12115. },
  12116. "userid": {
  12117. "description": "用户ID",
  12118. "type": "integer"
  12119. },
  12120. "userinfotype": {
  12121. "description": "用户信息类型 - 1:个人 2:企业",
  12122. "type": "integer"
  12123. },
  12124. "userstatus": {
  12125. "description": "用户状态 - 1:正常 2:注销",
  12126. "type": "integer"
  12127. }
  12128. }
  12129. },
  12130. "erms3.SoptContractDetail": {
  12131. "type": "object",
  12132. "required": [
  12133. "deliverygoodsid",
  12134. "producttype",
  12135. "unitname",
  12136. "warehouseid",
  12137. "wrstandardid",
  12138. "wrstandardname"
  12139. ],
  12140. "properties": {
  12141. "deliverygoodsdesc": {
  12142. "description": "现货品种说明",
  12143. "type": "string"
  12144. },
  12145. "deliverygoodsid": {
  12146. "description": "现货品种ID",
  12147. "type": "integer"
  12148. },
  12149. "deliverygoodsname": {
  12150. "description": "现货品种名称",
  12151. "type": "string"
  12152. },
  12153. "pointdesc": {
  12154. "description": "点价描述",
  12155. "type": "string"
  12156. },
  12157. "producttype": {
  12158. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12159. "type": "integer"
  12160. },
  12161. "producttypename": {
  12162. "description": "产品类型名称",
  12163. "type": "string"
  12164. },
  12165. "spotPointOrderVoList": {
  12166. "description": "点价列表",
  12167. "type": "array",
  12168. "items": {
  12169. "$ref": "#/definitions/erms3.SpotPointOrder"
  12170. }
  12171. },
  12172. "spotPriceOrderList": {
  12173. "description": "定价列表",
  12174. "type": "array",
  12175. "items": {
  12176. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12177. }
  12178. },
  12179. "unitname": {
  12180. "description": "单位名称",
  12181. "type": "string"
  12182. },
  12183. "warehouseid": {
  12184. "description": "仓库ID",
  12185. "type": "integer"
  12186. },
  12187. "warehousename": {
  12188. "description": "仓库名称",
  12189. "type": "string"
  12190. },
  12191. "wrstandardid": {
  12192. "description": "交易标的ID",
  12193. "type": "integer"
  12194. },
  12195. "wrstandardname": {
  12196. "description": "交易标的名称",
  12197. "type": "string"
  12198. }
  12199. }
  12200. },
  12201. "erms3.SpotPointOrder": {
  12202. "type": "object",
  12203. "required": [
  12204. "basic",
  12205. "goodsid",
  12206. "qty"
  12207. ],
  12208. "properties": {
  12209. "basic": {
  12210. "description": "基差",
  12211. "type": "number"
  12212. },
  12213. "deliveryenddate": {
  12214. "description": "交收结束日期",
  12215. "type": "string"
  12216. },
  12217. "deliverystartdate": {
  12218. "description": "交收开始日期",
  12219. "type": "string"
  12220. },
  12221. "enddate": {
  12222. "description": "点价结束日期",
  12223. "type": "string"
  12224. },
  12225. "goodsid": {
  12226. "description": "商品ID",
  12227. "type": "integer"
  12228. },
  12229. "goodsname": {
  12230. "description": "商品名称",
  12231. "type": "string"
  12232. },
  12233. "qty": {
  12234. "description": "数量",
  12235. "type": "number"
  12236. },
  12237. "startdate": {
  12238. "description": "点价开始日期",
  12239. "type": "string"
  12240. }
  12241. }
  12242. },
  12243. "erms3.SpotPriceOrder": {
  12244. "type": "object",
  12245. "required": [
  12246. "amount",
  12247. "price",
  12248. "qty"
  12249. ],
  12250. "properties": {
  12251. "amount": {
  12252. "description": "金额",
  12253. "type": "number"
  12254. },
  12255. "deliveryenddate": {
  12256. "description": "交收结束日期",
  12257. "type": "string"
  12258. },
  12259. "deliverystartdate": {
  12260. "description": "交收开始日期",
  12261. "type": "string"
  12262. },
  12263. "price": {
  12264. "description": "价格",
  12265. "type": "number"
  12266. },
  12267. "qty": {
  12268. "description": "数量",
  12269. "type": "number"
  12270. }
  12271. }
  12272. },
  12273. "hsby.GetHsbyMyCountRsp": {
  12274. "type": "object",
  12275. "properties": {
  12276. "myCouponCount": {
  12277. "description": "我的优惠卷数量",
  12278. "type": "integer"
  12279. },
  12280. "myOrderDetailListingCount": {
  12281. "description": "我的订单求购中数量",
  12282. "type": "integer"
  12283. },
  12284. "myOrderDetailPreCount": {
  12285. "description": "我的订单抢购中数量",
  12286. "type": "integer"
  12287. },
  12288. "myPackageUnReceiveCount": {
  12289. "description": "我的包裹待收货数量",
  12290. "type": "integer"
  12291. },
  12292. "myPackageUnSendCount": {
  12293. "description": "我的包裹待发货数量",
  12294. "type": "integer"
  12295. },
  12296. "myPayOrderCount": {
  12297. "description": "我的订单待付款数量",
  12298. "type": "integer"
  12299. }
  12300. }
  12301. },
  12302. "hsby.QueryProvincesAndCitiesRsp": {
  12303. "type": "object",
  12304. "properties": {
  12305. "cities": {
  12306. "description": "市",
  12307. "type": "array",
  12308. "items": {
  12309. "$ref": "#/definitions/models.Division"
  12310. }
  12311. },
  12312. "province": {
  12313. "description": "省",
  12314. "type": "object",
  12315. "$ref": "#/definitions/models.Division"
  12316. }
  12317. }
  12318. },
  12319. "models.AreaSpotModel": {
  12320. "type": "object",
  12321. "properties": {
  12322. "areauserid": {
  12323. "description": "所属机构",
  12324. "type": "integer"
  12325. },
  12326. "decreaseqty": {
  12327. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12328. "type": "number"
  12329. },
  12330. "increaseqty": {
  12331. "description": "增加数量=销售计划数量+采购已定价数量",
  12332. "type": "number"
  12333. },
  12334. "oritoalspotqty": {
  12335. "description": "昨日数量",
  12336. "type": "number"
  12337. },
  12338. "totalspotqty": {
  12339. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12340. "type": "number"
  12341. },
  12342. "updatetime": {
  12343. "description": "更新时间",
  12344. "type": "string"
  12345. },
  12346. "wrstandardcode": {
  12347. "description": "现货品种代码",
  12348. "type": "string"
  12349. },
  12350. "wrstandardid": {
  12351. "description": "现货商品ID",
  12352. "type": "integer"
  12353. },
  12354. "wrstandardname": {
  12355. "description": "现货品种",
  12356. "type": "string"
  12357. }
  12358. }
  12359. },
  12360. "models.Arearole": {
  12361. "type": "object",
  12362. "required": [
  12363. "roletype",
  12364. "userid"
  12365. ],
  12366. "properties": {
  12367. "createtime": {
  12368. "description": "创建时间",
  12369. "type": "string"
  12370. },
  12371. "creatorid": {
  12372. "description": "创建人ID",
  12373. "type": "integer"
  12374. },
  12375. "isreturnscore": {
  12376. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12377. "type": "integer"
  12378. },
  12379. "modifierid": {
  12380. "description": "修改人ID",
  12381. "type": "integer"
  12382. },
  12383. "modifytime": {
  12384. "description": "修改时间",
  12385. "type": "string"
  12386. },
  12387. "orgtype": {
  12388. "description": "组织机构类型 1:机构 2:交易员",
  12389. "type": "integer"
  12390. },
  12391. "outuserid": {
  12392. "description": "外部账户[场外期权做市商]",
  12393. "type": "string"
  12394. },
  12395. "parentuserid": {
  12396. "description": "上级组织机构(组织机构)",
  12397. "type": "integer"
  12398. },
  12399. "roletype": {
  12400. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12401. "type": "integer"
  12402. },
  12403. "rootuserid": {
  12404. "description": "顶级组织机构用户ID(组织机构)",
  12405. "type": "integer"
  12406. },
  12407. "shoppassword": {
  12408. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12409. "type": "string"
  12410. },
  12411. "sublevelpath": {
  12412. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12413. "type": "string"
  12414. },
  12415. "tradeaccountid": {
  12416. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12417. "type": "integer"
  12418. },
  12419. "transurl": {
  12420. "description": "物流地址(物流机构)",
  12421. "type": "string"
  12422. },
  12423. "userid": {
  12424. "description": "机构用户ID其他做市关系,都设置为 1",
  12425. "type": "integer"
  12426. }
  12427. }
  12428. },
  12429. "models.Clientfixedadconfig": {
  12430. "type": "object",
  12431. "required": [
  12432. "adsort",
  12433. "adtype"
  12434. ],
  12435. "properties": {
  12436. "adsort": {
  12437. "description": "排序",
  12438. "type": "integer"
  12439. },
  12440. "adtype": {
  12441. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12442. "type": "integer"
  12443. },
  12444. "areauserid": {
  12445. "description": "所属机构ID",
  12446. "type": "integer"
  12447. },
  12448. "createdate": {
  12449. "description": "创建时间",
  12450. "type": "string"
  12451. },
  12452. "creatorid": {
  12453. "description": "创建人",
  12454. "type": "integer"
  12455. },
  12456. "imagepath": {
  12457. "description": "图片",
  12458. "type": "string"
  12459. },
  12460. "isshow": {
  12461. "description": "是否展示 - 0:不展示 1:展示",
  12462. "type": "integer"
  12463. },
  12464. "modifierid": {
  12465. "description": "操作人",
  12466. "type": "integer"
  12467. },
  12468. "recsize": {
  12469. "description": "推荐尺寸",
  12470. "type": "string"
  12471. },
  12472. "title": {
  12473. "description": "标题",
  12474. "type": "string"
  12475. },
  12476. "updatedate": {
  12477. "description": "更新时间",
  12478. "type": "string"
  12479. },
  12480. "urlcontent": {
  12481. "description": "链接(地址或商品ID)",
  12482. "type": "string"
  12483. },
  12484. "urltype": {
  12485. "description": "链接类型 - 1:直接地址 2:商品ID",
  12486. "type": "integer"
  12487. }
  12488. }
  12489. },
  12490. "models.Division": {
  12491. "type": "object",
  12492. "required": [
  12493. "autoid",
  12494. "divisioncode"
  12495. ],
  12496. "properties": {
  12497. "autoid": {
  12498. "description": "自增ID",
  12499. "type": "integer"
  12500. },
  12501. "divisioncode": {
  12502. "description": "行政代码",
  12503. "type": "string"
  12504. },
  12505. "divisionlevel": {
  12506. "description": "行政级别",
  12507. "type": "string"
  12508. },
  12509. "divisionname": {
  12510. "description": "行政名称",
  12511. "type": "string"
  12512. },
  12513. "modifierid": {
  12514. "description": "修改人",
  12515. "type": "integer"
  12516. },
  12517. "modifytime": {
  12518. "description": "修改时间",
  12519. "type": "string"
  12520. },
  12521. "parentcode": {
  12522. "description": "上级行政代码",
  12523. "type": "string"
  12524. },
  12525. "pathname": {
  12526. "description": "路径名称",
  12527. "type": "string"
  12528. },
  12529. "postcode": {
  12530. "description": "邮政编码",
  12531. "type": "string"
  12532. },
  12533. "separablename": {
  12534. "description": "可拆分的全称",
  12535. "type": "string"
  12536. },
  12537. "shortcode": {
  12538. "description": "地区简码",
  12539. "type": "string"
  12540. }
  12541. }
  12542. },
  12543. "models.Enumdicitem": {
  12544. "type": "object",
  12545. "required": [
  12546. "autoid",
  12547. "enumdiccode",
  12548. "enumdicid",
  12549. "enumitemname"
  12550. ],
  12551. "properties": {
  12552. "autoid": {
  12553. "description": "自增ID",
  12554. "type": "integer"
  12555. },
  12556. "bankmappedvalue": {
  12557. "description": "银行服务对应值",
  12558. "type": "string"
  12559. },
  12560. "enumdiccode": {
  12561. "description": "所属枚举代码",
  12562. "type": "string"
  12563. },
  12564. "enumdicid": {
  12565. "description": "所属枚举ID",
  12566. "type": "integer"
  12567. },
  12568. "enumdicname": {
  12569. "description": "枚举项名称",
  12570. "type": "string"
  12571. },
  12572. "enumitemname": {
  12573. "description": "枚举项值",
  12574. "type": "integer"
  12575. },
  12576. "enumitemstatus": {
  12577. "description": "枚举项状态 - 1.启用 2.不启用",
  12578. "type": "integer"
  12579. },
  12580. "enumitemvalue": {
  12581. "description": "通用值 - [币种通用简写]",
  12582. "type": "string"
  12583. },
  12584. "param1": {
  12585. "description": "参数1[币种:币种小数位]",
  12586. "type": "string"
  12587. },
  12588. "param2": {
  12589. "description": "参数1[币种:币种显示单位]",
  12590. "type": "string"
  12591. },
  12592. "remark": {
  12593. "description": "备注",
  12594. "type": "string"
  12595. }
  12596. }
  12597. },
  12598. "models.Ermcp3AreaSpot": {
  12599. "type": "object",
  12600. "properties": {
  12601. "areauserid": {
  12602. "description": "所属机构",
  12603. "type": "integer"
  12604. },
  12605. "decreaseqty": {
  12606. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12607. "type": "number"
  12608. },
  12609. "deliverygoodscode": {
  12610. "description": "现货品种代码",
  12611. "type": "string"
  12612. },
  12613. "deliverygoodsid": {
  12614. "description": "现货品种id",
  12615. "type": "integer"
  12616. },
  12617. "deliverygoodsname": {
  12618. "description": "现货品种名称",
  12619. "type": "string"
  12620. },
  12621. "enumdicname": {
  12622. "description": "单位名称",
  12623. "type": "string"
  12624. },
  12625. "goodsunitid": {
  12626. "description": "现货品种单位id",
  12627. "type": "integer"
  12628. },
  12629. "increaseqty": {
  12630. "description": "增加数量=销售计划数量+采购已定价数量",
  12631. "type": "number"
  12632. },
  12633. "oritoalspotqty": {
  12634. "description": "昨日数量",
  12635. "type": "number"
  12636. },
  12637. "totalspotqty": {
  12638. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12639. "type": "number"
  12640. },
  12641. "updatetime": {
  12642. "description": "更新时间",
  12643. "type": "string"
  12644. }
  12645. }
  12646. },
  12647. "models.Ermcp3AreaSpotDetail": {
  12648. "type": "object",
  12649. "properties": {
  12650. "contracttype": {
  12651. "description": "合同类型 1-采购 -1-销售",
  12652. "type": "integer"
  12653. },
  12654. "createtime": {
  12655. "description": "创建时间",
  12656. "type": "string"
  12657. },
  12658. "deliverygoodscode": {
  12659. "description": "现货品种代码",
  12660. "type": "string"
  12661. },
  12662. "deliverygoodsid": {
  12663. "description": "现货品种id",
  12664. "type": "integer"
  12665. },
  12666. "deliverygoodsname": {
  12667. "description": "现货品种名称",
  12668. "type": "string"
  12669. },
  12670. "enumdicname": {
  12671. "description": "现货商品单位名称",
  12672. "type": "string"
  12673. },
  12674. "logtype": {
  12675. "description": "记录类型 1-套保 2-现货合同",
  12676. "type": "integer"
  12677. },
  12678. "qty": {
  12679. "description": "数量",
  12680. "type": "number"
  12681. },
  12682. "recordname": {
  12683. "description": "类型名称",
  12684. "type": "string"
  12685. },
  12686. "relatedid": {
  12687. "description": "套保计划ID/现货合同ID",
  12688. "type": "string"
  12689. },
  12690. "relatedno": {
  12691. "description": "编号",
  12692. "type": "string"
  12693. },
  12694. "strtime": {
  12695. "description": "时间",
  12696. "type": "string"
  12697. }
  12698. }
  12699. },
  12700. "models.Ermcp3AreaSpotPLReport": {
  12701. "type": "object",
  12702. "properties": {
  12703. "accountid": {
  12704. "description": "期货账户ID (作废, 默认为0)",
  12705. "type": "integer"
  12706. },
  12707. "accountname": {
  12708. "description": "机构名称",
  12709. "type": "string"
  12710. },
  12711. "actualpl": {
  12712. "description": "现货损益",
  12713. "type": "number"
  12714. },
  12715. "areauserid": {
  12716. "description": "所属机构\\交易用户ID",
  12717. "type": "integer"
  12718. },
  12719. "begindate": {
  12720. "description": "开始交易日",
  12721. "type": "string"
  12722. },
  12723. "biztype": {
  12724. "description": "业务类型 - 1:套保 2:套利",
  12725. "type": "integer"
  12726. },
  12727. "brandname": {
  12728. "description": "品牌名称",
  12729. "type": "string"
  12730. },
  12731. "curamount": {
  12732. "description": "期末额",
  12733. "type": "number"
  12734. },
  12735. "curaverageprice": {
  12736. "description": "期末均价",
  12737. "type": "number"
  12738. },
  12739. "curbuyamount": {
  12740. "description": "期末采购总额",
  12741. "type": "number"
  12742. },
  12743. "curbuyqty": {
  12744. "description": "期末采购总量",
  12745. "type": "number"
  12746. },
  12747. "curmarketvalue": {
  12748. "description": "参考市值(期末市值)",
  12749. "type": "number"
  12750. },
  12751. "curqty": {
  12752. "description": "期末量",
  12753. "type": "number"
  12754. },
  12755. "currencyid": {
  12756. "description": "结算币种ID【原值】",
  12757. "type": "integer"
  12758. },
  12759. "currencyname": {
  12760. "description": "币种名称",
  12761. "type": "string"
  12762. },
  12763. "cursellamount": {
  12764. "description": "期末销售总额",
  12765. "type": "number"
  12766. },
  12767. "cursellqty": {
  12768. "description": "期末销售总量",
  12769. "type": "number"
  12770. },
  12771. "curspotprice": {
  12772. "description": "参考市价(最新价)",
  12773. "type": "number"
  12774. },
  12775. "cycletime": {
  12776. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12777. "type": "string"
  12778. },
  12779. "cycletype": {
  12780. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12781. "type": "integer"
  12782. },
  12783. "deliverygoodscode": {
  12784. "description": "现货商品代码",
  12785. "type": "string"
  12786. },
  12787. "deliverygoodsid": {
  12788. "description": "现货品种ID",
  12789. "type": "integer"
  12790. },
  12791. "deliverygoodsname": {
  12792. "description": "现货商品名称",
  12793. "type": "string"
  12794. },
  12795. "enddate": {
  12796. "description": "结束交易日",
  12797. "type": "string"
  12798. },
  12799. "enumdicname": {
  12800. "description": "现货商品单位名称",
  12801. "type": "string"
  12802. },
  12803. "floatpl": {
  12804. "description": "浮动损益",
  12805. "type": "number"
  12806. },
  12807. "goodsunitid": {
  12808. "description": "现货商品单位id",
  12809. "type": "integer"
  12810. },
  12811. "oriamount": {
  12812. "description": "期初额",
  12813. "type": "number"
  12814. },
  12815. "oriaverageprice": {
  12816. "description": "期初均价",
  12817. "type": "number"
  12818. },
  12819. "oribuyamount": {
  12820. "description": "期初采购总额",
  12821. "type": "number"
  12822. },
  12823. "oribuyqty": {
  12824. "description": "期初采购总量",
  12825. "type": "number"
  12826. },
  12827. "oriqty": {
  12828. "description": "期初量",
  12829. "type": "number"
  12830. },
  12831. "orisellamount": {
  12832. "description": "期初销售总额",
  12833. "type": "number"
  12834. },
  12835. "orisellqty": {
  12836. "description": "期初销售总量",
  12837. "type": "number"
  12838. },
  12839. "reckondate": {
  12840. "description": "日照时期(yyyyMMdd)",
  12841. "type": "string"
  12842. },
  12843. "spotgoodsbrandid": {
  12844. "description": "现货品牌ID",
  12845. "type": "integer"
  12846. },
  12847. "todaybuyamount": {
  12848. "description": "今日采购额(今采购额)",
  12849. "type": "number"
  12850. },
  12851. "todaybuyaverageprice": {
  12852. "description": "今日采购均价",
  12853. "type": "number"
  12854. },
  12855. "todaybuyqty": {
  12856. "description": "今日采购量(今采购量)",
  12857. "type": "number"
  12858. },
  12859. "todayinqty": {
  12860. "description": "今日入库量(今入库量)",
  12861. "type": "number"
  12862. },
  12863. "todayoutqty": {
  12864. "description": "今日出库量(今出库量)",
  12865. "type": "number"
  12866. },
  12867. "todaysellamount": {
  12868. "description": "今日销售额(今销售额)",
  12869. "type": "number"
  12870. },
  12871. "todaysellaverageprice": {
  12872. "description": "今日销售均价",
  12873. "type": "number"
  12874. },
  12875. "todaysellqty": {
  12876. "description": "今日销售量(今销售量)",
  12877. "type": "number"
  12878. },
  12879. "unitid": {
  12880. "description": "品类单位id",
  12881. "type": "integer"
  12882. },
  12883. "unitidname": {
  12884. "description": "品类单位名称",
  12885. "type": "string"
  12886. },
  12887. "updatetime": {
  12888. "description": "更新时间",
  12889. "type": "string"
  12890. },
  12891. "wrfactortypeid": {
  12892. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12893. "type": "integer"
  12894. },
  12895. "wrstandardcode": {
  12896. "description": "品类代码",
  12897. "type": "string"
  12898. },
  12899. "wrstandardid": {
  12900. "description": "现货品类ID",
  12901. "type": "integer"
  12902. },
  12903. "wrstandardname": {
  12904. "description": "品类名称",
  12905. "type": "string"
  12906. }
  12907. }
  12908. },
  12909. "models.Ermcp3AreaStock": {
  12910. "type": "object",
  12911. "required": [
  12912. "userid"
  12913. ],
  12914. "properties": {
  12915. "brandname": {
  12916. "description": "品牌名称",
  12917. "type": "string"
  12918. },
  12919. "curstock": {
  12920. "description": "期末库存量(今日量)",
  12921. "type": "number"
  12922. },
  12923. "deliverygoodscode": {
  12924. "description": "现货品种代码",
  12925. "type": "string"
  12926. },
  12927. "deliverygoodsid": {
  12928. "description": "现货品种id",
  12929. "type": "integer"
  12930. },
  12931. "deliverygoodsname": {
  12932. "description": "现货品种名称",
  12933. "type": "string"
  12934. },
  12935. "enumdicname": {
  12936. "description": "单位名称",
  12937. "type": "string"
  12938. },
  12939. "goodsunitid": {
  12940. "description": "现货商品单位id",
  12941. "type": "integer"
  12942. },
  12943. "oristock": {
  12944. "description": "期初库存量(昨日量)",
  12945. "type": "number"
  12946. },
  12947. "spotgoodsbrandid": {
  12948. "description": "现货品牌ID",
  12949. "type": "integer"
  12950. },
  12951. "todaybuyinqty": {
  12952. "description": "今日采购入库量",
  12953. "type": "number"
  12954. },
  12955. "todayproduceinqty": {
  12956. "description": "今日生产入库量",
  12957. "type": "number"
  12958. },
  12959. "todayproduceoutqty": {
  12960. "description": "今日生产出库量",
  12961. "type": "number"
  12962. },
  12963. "todayselloutqty": {
  12964. "description": "今日销售出库量",
  12965. "type": "number"
  12966. },
  12967. "unitid": {
  12968. "description": "单位id",
  12969. "type": "integer"
  12970. },
  12971. "updatetime": {
  12972. "description": "更新时间",
  12973. "type": "string"
  12974. },
  12975. "userid": {
  12976. "description": "机构ID",
  12977. "type": "integer"
  12978. },
  12979. "username": {
  12980. "description": "机构名称",
  12981. "type": "string"
  12982. },
  12983. "warehousecode": {
  12984. "description": "仓库代码",
  12985. "type": "string"
  12986. },
  12987. "warehouseinfoid": {
  12988. "description": "仓库ID",
  12989. "type": "string"
  12990. },
  12991. "warehousename": {
  12992. "description": "仓库名称",
  12993. "type": "string"
  12994. },
  12995. "warehousetype": {
  12996. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12997. "type": "integer"
  12998. },
  12999. "wrstandardcode": {
  13000. "description": "品类代码",
  13001. "type": "string"
  13002. },
  13003. "wrstandardid": {
  13004. "description": "品类ID",
  13005. "type": "string"
  13006. },
  13007. "wrstandardname": {
  13008. "description": "品类名称",
  13009. "type": "string"
  13010. }
  13011. }
  13012. },
  13013. "models.Ermcp3AreaStockApply": {
  13014. "type": "object",
  13015. "properties": {
  13016. "applyid": {
  13017. "description": "申请人",
  13018. "type": "integer"
  13019. },
  13020. "applyname": {
  13021. "description": "申请人名称",
  13022. "type": "string"
  13023. },
  13024. "applyremark": {
  13025. "description": "申请备注",
  13026. "type": "string"
  13027. },
  13028. "applysrc": {
  13029. "description": "申请来源 - 1:管理端 2:终端",
  13030. "type": "integer"
  13031. },
  13032. "applystatus": {
  13033. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13034. "type": "integer"
  13035. },
  13036. "applytime": {
  13037. "description": "申请时间",
  13038. "type": "string"
  13039. },
  13040. "auditid": {
  13041. "description": "审核人",
  13042. "type": "integer"
  13043. },
  13044. "auditname": {
  13045. "description": "审核人名称",
  13046. "type": "string"
  13047. },
  13048. "auditremark": {
  13049. "description": "审核备注",
  13050. "type": "string"
  13051. },
  13052. "auditsrc": {
  13053. "description": "审核来源 - 1:管理端 2:终端",
  13054. "type": "integer"
  13055. },
  13056. "audittime": {
  13057. "description": "审核时间",
  13058. "type": "string"
  13059. },
  13060. "audittradedate": {
  13061. "description": "审核交易日(yyyyMMdd)",
  13062. "type": "string"
  13063. },
  13064. "brandname": {
  13065. "description": "品牌名称",
  13066. "type": "string"
  13067. },
  13068. "buynickname": {
  13069. "description": "采购方昵称",
  13070. "type": "string"
  13071. },
  13072. "buyuserid": {
  13073. "description": "采购方userid",
  13074. "type": "integer"
  13075. },
  13076. "buyusername": {
  13077. "description": "采购方名称",
  13078. "type": "string"
  13079. },
  13080. "contractno": {
  13081. "description": "合同编号",
  13082. "type": "string"
  13083. },
  13084. "contractqty": {
  13085. "description": "合同量",
  13086. "type": "number"
  13087. },
  13088. "contracttype": {
  13089. "description": "现货合同类型 - 1:采购 -1:销售",
  13090. "type": "integer"
  13091. },
  13092. "deliverygoodscode": {
  13093. "description": "现货品种代码",
  13094. "type": "string"
  13095. },
  13096. "deliverygoodsid": {
  13097. "description": "现货品种id",
  13098. "type": "integer"
  13099. },
  13100. "deliverygoodsname": {
  13101. "description": "现货品种名称",
  13102. "type": "string"
  13103. },
  13104. "detailjson": {
  13105. "description": "明细数据",
  13106. "type": "string"
  13107. },
  13108. "enumdicname": {
  13109. "description": "现货商品单位名称",
  13110. "type": "string"
  13111. },
  13112. "inoutapplyid": {
  13113. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13114. "type": "string"
  13115. },
  13116. "inouttype": {
  13117. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13118. "type": "integer"
  13119. },
  13120. "pricetype": {
  13121. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13122. "type": "integer"
  13123. },
  13124. "qty": {
  13125. "description": "数量",
  13126. "type": "number"
  13127. },
  13128. "sellnickname": {
  13129. "description": "销售方昵称",
  13130. "type": "string"
  13131. },
  13132. "selluserid": {
  13133. "description": "销售方userid",
  13134. "type": "integer"
  13135. },
  13136. "sellusername": {
  13137. "description": "销售方名称",
  13138. "type": "string"
  13139. },
  13140. "spotcontractid": {
  13141. "description": "关联现货合同ID",
  13142. "type": "string"
  13143. },
  13144. "spotgoodsbrandid": {
  13145. "description": "现货品牌ID",
  13146. "type": "integer"
  13147. },
  13148. "unitid": {
  13149. "description": "单位id",
  13150. "type": "integer"
  13151. },
  13152. "userid": {
  13153. "description": "机构ID",
  13154. "type": "integer"
  13155. },
  13156. "warehousecode": {
  13157. "description": "仓库代码",
  13158. "type": "string"
  13159. },
  13160. "warehouseinfoid": {
  13161. "description": "现货仓库ID",
  13162. "type": "string"
  13163. },
  13164. "warehousename": {
  13165. "description": "仓库名称",
  13166. "type": "string"
  13167. },
  13168. "warehousetype": {
  13169. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13170. "type": "integer"
  13171. },
  13172. "wrstandardcode": {
  13173. "description": "品类代码",
  13174. "type": "string"
  13175. },
  13176. "wrstandardid": {
  13177. "description": "品类ID",
  13178. "type": "integer"
  13179. },
  13180. "wrstandardname": {
  13181. "description": "品类名称",
  13182. "type": "string"
  13183. }
  13184. }
  13185. },
  13186. "models.Ermcp3AreaStockApplySum": {
  13187. "type": "object",
  13188. "properties": {
  13189. "brandname": {
  13190. "description": "品牌名称",
  13191. "type": "string"
  13192. },
  13193. "inouttype": {
  13194. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13195. "type": "integer"
  13196. },
  13197. "spotcontractid": {
  13198. "description": "关联现货合同ID",
  13199. "type": "string"
  13200. },
  13201. "spotgoodsbrandid": {
  13202. "description": "品牌id",
  13203. "type": "integer"
  13204. },
  13205. "totalqty": {
  13206. "description": "总数量",
  13207. "type": "number"
  13208. },
  13209. "wrstandardid": {
  13210. "description": "品类id",
  13211. "type": "integer"
  13212. },
  13213. "wrstandardname": {
  13214. "description": "品类名称",
  13215. "type": "string"
  13216. }
  13217. }
  13218. },
  13219. "models.Ermcp3AreaStockReportEx": {
  13220. "type": "object",
  13221. "properties": {
  13222. "begindate": {
  13223. "description": "开始交易日",
  13224. "type": "string"
  13225. },
  13226. "brandname": {
  13227. "description": "品牌名称",
  13228. "type": "string"
  13229. },
  13230. "curstock": {
  13231. "description": "期末库存量",
  13232. "type": "number"
  13233. },
  13234. "cycletime": {
  13235. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13236. "type": "string"
  13237. },
  13238. "cycletype": {
  13239. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13240. "type": "integer"
  13241. },
  13242. "deliverygoodscode": {
  13243. "description": "现货品种代码",
  13244. "type": "string"
  13245. },
  13246. "deliverygoodsid": {
  13247. "description": "现货品种id",
  13248. "type": "integer"
  13249. },
  13250. "deliverygoodsname": {
  13251. "description": "现货品种名称",
  13252. "type": "string"
  13253. },
  13254. "diffqty": {
  13255. "description": "库存变化量 = 期末 - 期初",
  13256. "type": "number"
  13257. },
  13258. "enddate": {
  13259. "description": "结束交易日",
  13260. "type": "string"
  13261. },
  13262. "enumdicname": {
  13263. "description": "单位名称",
  13264. "type": "string"
  13265. },
  13266. "goodsunitid": {
  13267. "description": "现货单位id",
  13268. "type": "integer"
  13269. },
  13270. "oristock": {
  13271. "description": "期初库存量",
  13272. "type": "number"
  13273. },
  13274. "reckondate": {
  13275. "description": "日照时期(yyyyMMdd)",
  13276. "type": "string"
  13277. },
  13278. "spotgoodsbrandid": {
  13279. "description": "现货品牌ID",
  13280. "type": "integer"
  13281. },
  13282. "todaybuyinqty": {
  13283. "description": "今采购入库量",
  13284. "type": "number"
  13285. },
  13286. "todayproduceinqty": {
  13287. "description": "今内部入库量",
  13288. "type": "number"
  13289. },
  13290. "todayproduceoutqty": {
  13291. "description": "今内部出库量",
  13292. "type": "number"
  13293. },
  13294. "todayselloutqty": {
  13295. "description": "今销售出库量",
  13296. "type": "number"
  13297. },
  13298. "unbuyinqty": {
  13299. "description": "采购未入库量(数据库未找到相关字段?)",
  13300. "type": "number"
  13301. },
  13302. "unitid": {
  13303. "description": "品类单位id",
  13304. "type": "integer"
  13305. },
  13306. "unselloutqty": {
  13307. "description": "销售未出库量(数据库未找到相关字段?)",
  13308. "type": "number"
  13309. },
  13310. "updatetime": {
  13311. "description": "更新时间",
  13312. "type": "string"
  13313. },
  13314. "userid": {
  13315. "description": "机构ID",
  13316. "type": "integer"
  13317. },
  13318. "username": {
  13319. "description": "机构名称",
  13320. "type": "string"
  13321. },
  13322. "warehousecode": {
  13323. "description": "仓库代码",
  13324. "type": "string"
  13325. },
  13326. "warehouseinfoid": {
  13327. "description": "仓库ID",
  13328. "type": "string"
  13329. },
  13330. "warehousename": {
  13331. "description": "仓库名称",
  13332. "type": "string"
  13333. },
  13334. "warehousetype": {
  13335. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13336. "type": "integer"
  13337. },
  13338. "wrstandardcode": {
  13339. "description": "品类代码",
  13340. "type": "string"
  13341. },
  13342. "wrstandardid": {
  13343. "description": "品类ID",
  13344. "type": "integer"
  13345. },
  13346. "wrstandardname": {
  13347. "description": "品类名称",
  13348. "type": "string"
  13349. }
  13350. }
  13351. },
  13352. "models.Ermcp3ArealSumPL": {
  13353. "type": "object",
  13354. "properties": {
  13355. "accountname": {
  13356. "description": "机构名称",
  13357. "type": "string"
  13358. },
  13359. "areauserid": {
  13360. "description": "所属机构\\交易用户ID",
  13361. "type": "integer"
  13362. },
  13363. "begindate": {
  13364. "description": "开始交易日",
  13365. "type": "string"
  13366. },
  13367. "currencyid": {
  13368. "description": "结算币种ID",
  13369. "type": "integer"
  13370. },
  13371. "currencyname": {
  13372. "description": "币种名称",
  13373. "type": "string"
  13374. },
  13375. "cycletime": {
  13376. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13377. "type": "string"
  13378. },
  13379. "cycletype": {
  13380. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13381. "type": "integer"
  13382. },
  13383. "enddate": {
  13384. "description": "结束交易日",
  13385. "type": "string"
  13386. },
  13387. "enumdicname": {
  13388. "description": "单位名称(套保品种)",
  13389. "type": "string"
  13390. },
  13391. "futureactualpl": {
  13392. "description": "期货损益",
  13393. "type": "number"
  13394. },
  13395. "futurefloatpl": {
  13396. "description": "期货浮动损益",
  13397. "type": "number"
  13398. },
  13399. "goodsunitid": {
  13400. "description": "套保品种单位id",
  13401. "type": "integer"
  13402. },
  13403. "middlegoodscode": {
  13404. "description": "套保品种代码",
  13405. "type": "string"
  13406. },
  13407. "middlegoodsid": {
  13408. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13409. "type": "integer"
  13410. },
  13411. "middlegoodsname": {
  13412. "description": "套保品种名称",
  13413. "type": "string"
  13414. },
  13415. "reckondate": {
  13416. "description": "日照时期(yyyyMMdd)",
  13417. "type": "string"
  13418. },
  13419. "spotactualpl": {
  13420. "description": "现货损益",
  13421. "type": "number"
  13422. },
  13423. "spotfloatpl": {
  13424. "description": "现货浮动损益",
  13425. "type": "number"
  13426. },
  13427. "sumactualpl": {
  13428. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13429. "type": "number"
  13430. },
  13431. "sumpl": {
  13432. "description": "汇总损益",
  13433. "type": "number"
  13434. },
  13435. "updatetime": {
  13436. "description": "更新时间",
  13437. "type": "string"
  13438. }
  13439. }
  13440. },
  13441. "models.Ermcp3Brand": {
  13442. "type": "object",
  13443. "properties": {
  13444. "areauserid": {
  13445. "description": "用户id",
  13446. "type": "integer"
  13447. },
  13448. "brandid": {
  13449. "description": "品牌id",
  13450. "type": "integer"
  13451. },
  13452. "brandname": {
  13453. "description": "品牌名称",
  13454. "type": "string"
  13455. },
  13456. "deliverygoodsid": {
  13457. "description": "品种ID",
  13458. "type": "integer"
  13459. }
  13460. }
  13461. },
  13462. "models.Ermcp3Contract": {
  13463. "type": "object",
  13464. "properties": {
  13465. "accountid": {
  13466. "description": "期货账户id",
  13467. "type": "string"
  13468. },
  13469. "amount": {
  13470. "description": "金额 [1:一口价、3:暂定价]",
  13471. "type": "number"
  13472. },
  13473. "attachment": {
  13474. "description": "附件",
  13475. "type": "string"
  13476. },
  13477. "auditremark": {
  13478. "description": "审核意见",
  13479. "type": "string"
  13480. },
  13481. "audittime": {
  13482. "description": "审核时间",
  13483. "type": "string"
  13484. },
  13485. "biztype": {
  13486. "description": "业务类型 1-套保 2-套利",
  13487. "type": "integer"
  13488. },
  13489. "brandname": {
  13490. "description": "品牌名称",
  13491. "type": "string"
  13492. },
  13493. "buynickname": {
  13494. "description": "销售方昵称",
  13495. "type": "string"
  13496. },
  13497. "buyuserid": {
  13498. "description": "采购方ID",
  13499. "type": "integer"
  13500. },
  13501. "buyusername": {
  13502. "description": "采购方名称",
  13503. "type": "string"
  13504. },
  13505. "contracctstatus": {
  13506. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13507. "type": "integer"
  13508. },
  13509. "contractmargin": {
  13510. "description": "合同保证金",
  13511. "type": "number"
  13512. },
  13513. "contractno": {
  13514. "description": "现货合同编号",
  13515. "type": "string"
  13516. },
  13517. "contracttype": {
  13518. "description": "现货合同类型 - 1:采购 -1:销售",
  13519. "type": "integer"
  13520. },
  13521. "convertfactor": {
  13522. "description": "标仓系数(品类)",
  13523. "type": "number"
  13524. },
  13525. "createtime": {
  13526. "description": "创建时间",
  13527. "type": "string"
  13528. },
  13529. "currencyid": {
  13530. "description": "币种id",
  13531. "type": "integer"
  13532. },
  13533. "currencyname": {
  13534. "description": "币种名称",
  13535. "type": "string"
  13536. },
  13537. "deliveryenddate": {
  13538. "description": "交收期(结束)",
  13539. "type": "string"
  13540. },
  13541. "deliverygoodscode": {
  13542. "description": "现货品种代码",
  13543. "type": "string"
  13544. },
  13545. "deliverygoodsid": {
  13546. "description": "现货品种ID",
  13547. "type": "integer"
  13548. },
  13549. "deliverygoodsname": {
  13550. "description": "现货品种名称",
  13551. "type": "string"
  13552. },
  13553. "deliverystartdate": {
  13554. "description": "交收期(开始)",
  13555. "type": "string"
  13556. },
  13557. "enddate": {
  13558. "description": "点价结束日期 [2:点价 3:暂定价]",
  13559. "type": "string"
  13560. },
  13561. "enumdicname": {
  13562. "description": "单位名称",
  13563. "type": "string"
  13564. },
  13565. "goodscode": {
  13566. "description": "点价合约代码",
  13567. "type": "string"
  13568. },
  13569. "goodsid": {
  13570. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13571. "type": "integer"
  13572. },
  13573. "goodsname": {
  13574. "description": "点价商品名称",
  13575. "type": "string"
  13576. },
  13577. "margin": {
  13578. "description": "当前保证金",
  13579. "type": "number"
  13580. },
  13581. "meruserid": {
  13582. "description": "跟单员id",
  13583. "type": "integer"
  13584. },
  13585. "meruserlogincode": {
  13586. "description": "跟单员登录代码",
  13587. "type": "string"
  13588. },
  13589. "price": {
  13590. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13591. "type": "number"
  13592. },
  13593. "pricemove": {
  13594. "description": "升贴水 [2:点价 3:暂定价]",
  13595. "type": "number"
  13596. },
  13597. "pricetype": {
  13598. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13599. "type": "integer"
  13600. },
  13601. "producttype": {
  13602. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13603. "type": "integer"
  13604. },
  13605. "qty": {
  13606. "description": "数量",
  13607. "type": "number"
  13608. },
  13609. "remark": {
  13610. "description": "备注",
  13611. "type": "string"
  13612. },
  13613. "saleuserid": {
  13614. "description": "业务员id",
  13615. "type": "integer"
  13616. },
  13617. "saleuserlogincode": {
  13618. "description": "业务员登录代码",
  13619. "type": "string"
  13620. },
  13621. "sellnickname": {
  13622. "description": "采购方昵称",
  13623. "type": "string"
  13624. },
  13625. "selluserid": {
  13626. "description": "销售方ID",
  13627. "type": "integer"
  13628. },
  13629. "sellusername": {
  13630. "description": "销售方名称",
  13631. "type": "string"
  13632. },
  13633. "spotcontractid": {
  13634. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13635. "type": "string"
  13636. },
  13637. "spotgoodsbrandid": {
  13638. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13639. "type": "integer"
  13640. },
  13641. "spotgoodsdesc": {
  13642. "description": "商品型号",
  13643. "type": "string"
  13644. },
  13645. "startdate": {
  13646. "description": "点价开始日期 [2:点价 3:暂定价]",
  13647. "type": "string"
  13648. },
  13649. "tradeuserid": {
  13650. "description": "交易员id",
  13651. "type": "integer"
  13652. },
  13653. "tradeuserlogincode": {
  13654. "description": "交易员登录代码",
  13655. "type": "string"
  13656. },
  13657. "tradeusername": {
  13658. "description": "交易员名称",
  13659. "type": "string"
  13660. },
  13661. "unitid": {
  13662. "description": "单位id(取品类上的单位id)",
  13663. "type": "integer"
  13664. },
  13665. "updatetime": {
  13666. "description": "更新时间",
  13667. "type": "string"
  13668. },
  13669. "userid": {
  13670. "description": "所属机构ID",
  13671. "type": "integer"
  13672. },
  13673. "wrstandardcode": {
  13674. "description": "品类代码",
  13675. "type": "string"
  13676. },
  13677. "wrstandardid": {
  13678. "description": "品类ID",
  13679. "type": "integer"
  13680. },
  13681. "wrstandardname": {
  13682. "description": "品类名称",
  13683. "type": "string"
  13684. }
  13685. }
  13686. },
  13687. "models.Ermcp3ExposureContractDetail": {
  13688. "type": "object",
  13689. "properties": {
  13690. "biztype": {
  13691. "description": "业务类型 1-套保 2-套利",
  13692. "type": "integer"
  13693. },
  13694. "brandname": {
  13695. "description": "品牌名称",
  13696. "type": "string"
  13697. },
  13698. "buyuserid": {
  13699. "description": "采购方id",
  13700. "type": "integer"
  13701. },
  13702. "buyusername": {
  13703. "description": "采购方名称",
  13704. "type": "string"
  13705. },
  13706. "contractno": {
  13707. "description": "合同编号",
  13708. "type": "string"
  13709. },
  13710. "contracttype": {
  13711. "description": "现货合同类型 - 1:采购 -1:销售",
  13712. "type": "integer"
  13713. },
  13714. "convertratio": {
  13715. "description": "折算系数(套保品种)",
  13716. "type": "number"
  13717. },
  13718. "curqty": {
  13719. "description": "今定价量",
  13720. "type": "number"
  13721. },
  13722. "deliverygoodscode": {
  13723. "description": "现货商品代码",
  13724. "type": "string"
  13725. },
  13726. "deliverygoodsid": {
  13727. "description": "现货商品id",
  13728. "type": "integer"
  13729. },
  13730. "deliverygoodsname": {
  13731. "description": "现货商品名称",
  13732. "type": "string"
  13733. },
  13734. "diffqty": {
  13735. "description": "套保品种今变动量",
  13736. "type": "number"
  13737. },
  13738. "enumdicname": {
  13739. "description": "单位名称",
  13740. "type": "string"
  13741. },
  13742. "middlegoodscode": {
  13743. "description": "套保品种代码",
  13744. "type": "string"
  13745. },
  13746. "middlegoodsid": {
  13747. "description": "套保品种id",
  13748. "type": "integer"
  13749. },
  13750. "middlegoodsname": {
  13751. "description": "套保品种名称",
  13752. "type": "string"
  13753. },
  13754. "needarbitrageratio": {
  13755. "description": "应套利比例",
  13756. "type": "number"
  13757. },
  13758. "needhedgeratio": {
  13759. "description": "应套保比例",
  13760. "type": "number"
  13761. },
  13762. "pricedqty": {
  13763. "description": "已定价量",
  13764. "type": "number"
  13765. },
  13766. "qty": {
  13767. "description": "合同量",
  13768. "type": "number"
  13769. },
  13770. "selluserid": {
  13771. "description": "销售方id",
  13772. "type": "integer"
  13773. },
  13774. "sellusername": {
  13775. "description": "销售方名称",
  13776. "type": "string"
  13777. },
  13778. "spotcontractid": {
  13779. "description": "合同id",
  13780. "type": "string"
  13781. },
  13782. "tradedate": {
  13783. "description": "交易日",
  13784. "type": "string"
  13785. },
  13786. "unitid": {
  13787. "description": "品类单位id",
  13788. "type": "integer"
  13789. },
  13790. "userid": {
  13791. "description": "机构id",
  13792. "type": "integer"
  13793. },
  13794. "wrstandardcode": {
  13795. "description": "品类代码",
  13796. "type": "string"
  13797. },
  13798. "wrstandardid": {
  13799. "description": "品类id",
  13800. "type": "integer"
  13801. },
  13802. "wrstandardname": {
  13803. "description": "品类名称",
  13804. "type": "string"
  13805. }
  13806. }
  13807. },
  13808. "models.Ermcp3ExposureDetail": {
  13809. "type": "object",
  13810. "properties": {
  13811. "areauserid": {
  13812. "description": "机构ID",
  13813. "type": "integer"
  13814. },
  13815. "changeQty": {
  13816. "description": "套保变动量",
  13817. "type": "number"
  13818. },
  13819. "contracttype": {
  13820. "description": "现货合同类型 - 1:采购 -1:销售",
  13821. "type": "integer"
  13822. },
  13823. "convertfactor": {
  13824. "description": "标仓系数",
  13825. "type": "number"
  13826. },
  13827. "convertratio": {
  13828. "description": "套保系数",
  13829. "type": "number"
  13830. },
  13831. "createtime": {
  13832. "description": "时间",
  13833. "type": "string"
  13834. },
  13835. "deliverygoodscode": {
  13836. "description": "现货品种代码",
  13837. "type": "string"
  13838. },
  13839. "deliverygoodsid": {
  13840. "description": "现货品种id",
  13841. "type": "integer"
  13842. },
  13843. "deliverygoodsname": {
  13844. "description": "现货品种名称",
  13845. "type": "string"
  13846. },
  13847. "enumdicname": {
  13848. "description": "现货商品单位名称",
  13849. "type": "string"
  13850. },
  13851. "logtype": {
  13852. "description": "类型 - 1:套保计划 2:现货合同",
  13853. "type": "integer"
  13854. },
  13855. "mgunitid": {
  13856. "description": "套保品种单位id",
  13857. "type": "integer"
  13858. },
  13859. "mgunitidname": {
  13860. "description": "套保品种单位名称",
  13861. "type": "string"
  13862. },
  13863. "middlegoodsId": {
  13864. "description": "套保商品id",
  13865. "type": "integer"
  13866. },
  13867. "middlegoodscode": {
  13868. "description": "套保商品代码",
  13869. "type": "string"
  13870. },
  13871. "middlegoodsname": {
  13872. "description": "套保商品名称",
  13873. "type": "string"
  13874. },
  13875. "qty": {
  13876. "description": "数量",
  13877. "type": "number"
  13878. },
  13879. "relateNo": {
  13880. "description": "现货合同/套保计划编号",
  13881. "type": "string"
  13882. }
  13883. }
  13884. },
  13885. "models.Ermcp3ExposureHedgeplanDetail": {
  13886. "type": "object",
  13887. "properties": {
  13888. "biztype": {
  13889. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13890. "type": "integer"
  13891. },
  13892. "changqty": {
  13893. "description": "应套保总量变化量",
  13894. "type": "number"
  13895. },
  13896. "contracttype": {
  13897. "description": "计划类型 - 1:采购 -1:销售",
  13898. "type": "integer"
  13899. },
  13900. "convertratio": {
  13901. "description": "折算系数(套保品种)",
  13902. "type": "number"
  13903. },
  13904. "deliverygoodscode": {
  13905. "description": "现货商品代码",
  13906. "type": "string"
  13907. },
  13908. "deliverygoodsid": {
  13909. "description": "现货商品id",
  13910. "type": "integer"
  13911. },
  13912. "deliverygoodsname": {
  13913. "description": "现货商吕名称",
  13914. "type": "string"
  13915. },
  13916. "dgunitid": {
  13917. "description": "现货商品单位id",
  13918. "type": "integer"
  13919. },
  13920. "dgunitidname": {
  13921. "description": "单位名称(现货商品)",
  13922. "type": "string"
  13923. },
  13924. "diffqty": {
  13925. "description": "套保品种今变动量",
  13926. "type": "number"
  13927. },
  13928. "enumdicname": {
  13929. "description": "单位名称(品类)",
  13930. "type": "string"
  13931. },
  13932. "hedgeplanid": {
  13933. "description": "套保计划id",
  13934. "type": "string"
  13935. },
  13936. "hedgeplanno": {
  13937. "description": "套保计划编号",
  13938. "type": "string"
  13939. },
  13940. "hedgeplanstatus": {
  13941. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13942. "type": "integer"
  13943. },
  13944. "mgunitidname": {
  13945. "description": "单位名称(套保商品)",
  13946. "type": "string"
  13947. },
  13948. "middlegoodscode": {
  13949. "description": "套保品种代码",
  13950. "type": "string"
  13951. },
  13952. "middlegoodsid": {
  13953. "description": "套保品种id",
  13954. "type": "integer"
  13955. },
  13956. "middlegoodsname": {
  13957. "description": "套保品种名称",
  13958. "type": "string"
  13959. },
  13960. "needarbitrageratio": {
  13961. "description": "应套利比例",
  13962. "type": "number"
  13963. },
  13964. "needhedgeratio": {
  13965. "description": "应套保比例",
  13966. "type": "number"
  13967. },
  13968. "pricedqty": {
  13969. "description": "已定价量",
  13970. "type": "number"
  13971. },
  13972. "qty": {
  13973. "description": "合同量",
  13974. "type": "number"
  13975. },
  13976. "tradedate": {
  13977. "description": "交易日(登记日)",
  13978. "type": "string"
  13979. },
  13980. "unitid": {
  13981. "description": "品类单位id",
  13982. "type": "integer"
  13983. },
  13984. "userid": {
  13985. "description": "机构id",
  13986. "type": "integer"
  13987. },
  13988. "wrstandardcode": {
  13989. "description": "品类代码",
  13990. "type": "string"
  13991. },
  13992. "wrstandardid": {
  13993. "description": "品类id",
  13994. "type": "integer"
  13995. },
  13996. "wrstandardname": {
  13997. "description": "品类名称",
  13998. "type": "string"
  13999. }
  14000. }
  14001. },
  14002. "models.Ermcp3ExpourseReport": {
  14003. "type": "object",
  14004. "properties": {
  14005. "accountid": {
  14006. "description": "期货账户ID (作废, 默认为0)",
  14007. "type": "integer"
  14008. },
  14009. "accountname": {
  14010. "description": "机构名称",
  14011. "type": "string"
  14012. },
  14013. "arbitrageqty": {
  14014. "description": "套利量",
  14015. "type": "number"
  14016. },
  14017. "areauserid": {
  14018. "description": "所属机构\\交易用户ID",
  14019. "type": "integer"
  14020. },
  14021. "begindate": {
  14022. "description": "开始交易日",
  14023. "type": "string"
  14024. },
  14025. "buyfutureqty": {
  14026. "description": "买入期货数量",
  14027. "type": "number"
  14028. },
  14029. "buyplanqty": {
  14030. "description": "采购计划数量",
  14031. "type": "number"
  14032. },
  14033. "buypricedqty": {
  14034. "description": "采购合同已定价数量",
  14035. "type": "number"
  14036. },
  14037. "cycletime": {
  14038. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14039. "type": "string"
  14040. },
  14041. "cycletype": {
  14042. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14043. "type": "integer"
  14044. },
  14045. "diffexposure": {
  14046. "description": "变动量(套保敞口)",
  14047. "type": "number"
  14048. },
  14049. "difffutuqty": {
  14050. "description": "变动量(期货)",
  14051. "type": "number"
  14052. },
  14053. "diffhedgeqty": {
  14054. "description": "变动量(现货应套保总量)",
  14055. "type": "number"
  14056. },
  14057. "diffmgqtya": {
  14058. "description": "套保变动量",
  14059. "type": "number"
  14060. },
  14061. "diffmgqtyb": {
  14062. "description": "套利变动量",
  14063. "type": "number"
  14064. },
  14065. "diffqty": {
  14066. "description": "变动量(总敞口)",
  14067. "type": "number"
  14068. },
  14069. "diffspotqty": {
  14070. "description": "变动量(现货)",
  14071. "type": "number"
  14072. },
  14073. "enddate": {
  14074. "description": "结束交易日",
  14075. "type": "string"
  14076. },
  14077. "enumdicname": {
  14078. "description": "单位名称",
  14079. "type": "string"
  14080. },
  14081. "hedgeqty": {
  14082. "description": "套保量",
  14083. "type": "number"
  14084. },
  14085. "mgneedhedgeratio": {
  14086. "description": "套保比例(套保品的)",
  14087. "type": "number"
  14088. },
  14089. "middlegoodsid": {
  14090. "description": "套保品种ID",
  14091. "type": "integer"
  14092. },
  14093. "middlegoodsname": {
  14094. "description": "套保商品名称",
  14095. "type": "string"
  14096. },
  14097. "middlgoodscode": {
  14098. "description": "套保商品代码",
  14099. "type": "string"
  14100. },
  14101. "needarbitrageqty": {
  14102. "description": "应套利量",
  14103. "type": "number"
  14104. },
  14105. "needarbitrageratio": {
  14106. "description": "套利比例(套保品的)",
  14107. "type": "number"
  14108. },
  14109. "needhedgeexposoure": {
  14110. "description": "应套保敞口(套保敞口)",
  14111. "type": "number"
  14112. },
  14113. "needhedgeqty": {
  14114. "description": "应套保量",
  14115. "type": "number"
  14116. },
  14117. "needhedgeratio": {
  14118. "description": "应套保敞口比例",
  14119. "type": "number"
  14120. },
  14121. "oriarbitrageqty": {
  14122. "description": "期初套利量",
  14123. "type": "number"
  14124. },
  14125. "oribuyfutureqty": {
  14126. "description": "期初买入期货数量",
  14127. "type": "number"
  14128. },
  14129. "oribuyplanqty": {
  14130. "description": "期初采购计划数量",
  14131. "type": "number"
  14132. },
  14133. "oribuypricedqty": {
  14134. "description": "期初采购合同已定价数量",
  14135. "type": "number"
  14136. },
  14137. "orihedgeqty": {
  14138. "description": "期初套保量",
  14139. "type": "number"
  14140. },
  14141. "orineedarbitrageqty": {
  14142. "description": "期初应套利量",
  14143. "type": "number"
  14144. },
  14145. "orineedhedgeexposoure": {
  14146. "description": "期初应套保敞口",
  14147. "type": "number"
  14148. },
  14149. "orineedhedgeqty": {
  14150. "description": "期初应套保量",
  14151. "type": "number"
  14152. },
  14153. "orisellfutureqty": {
  14154. "description": "期初卖出期货数量",
  14155. "type": "number"
  14156. },
  14157. "orisellplanqty": {
  14158. "description": "期初销售计划数量",
  14159. "type": "number"
  14160. },
  14161. "orisellpricedqty": {
  14162. "description": "期初销售合同已定价数量",
  14163. "type": "number"
  14164. },
  14165. "oritotalexposure": {
  14166. "description": "期初实时总敞口",
  14167. "type": "number"
  14168. },
  14169. "oritotalfutureqty": {
  14170. "description": "期初期货头寸总量",
  14171. "type": "number"
  14172. },
  14173. "oritotalneedhedgeqty": {
  14174. "description": "期初应套保总量",
  14175. "type": "number"
  14176. },
  14177. "oritotalspotqty": {
  14178. "description": "期初现货头寸总量",
  14179. "type": "number"
  14180. },
  14181. "reckondate": {
  14182. "description": "日照时期(yyyyMMdd)",
  14183. "type": "string"
  14184. },
  14185. "sellfutureqty": {
  14186. "description": "卖出期货数量",
  14187. "type": "number"
  14188. },
  14189. "sellplanqty": {
  14190. "description": "销售计划数量",
  14191. "type": "number"
  14192. },
  14193. "sellpricedqty": {
  14194. "description": "销售合同已定价数量",
  14195. "type": "number"
  14196. },
  14197. "totalexposure": {
  14198. "description": "实时总敞口(总敞口)",
  14199. "type": "number"
  14200. },
  14201. "totalfutureqty": {
  14202. "description": "期货头寸总量(期货总量)",
  14203. "type": "number"
  14204. },
  14205. "totalhedgeratio": {
  14206. "description": "敞口比例",
  14207. "type": "number"
  14208. },
  14209. "totalneedhedgeqty": {
  14210. "description": "应套保总量(现货应套保总量)",
  14211. "type": "number"
  14212. },
  14213. "totalspotqty": {
  14214. "description": "现货头寸总量",
  14215. "type": "number"
  14216. },
  14217. "unitid": {
  14218. "description": "单位id",
  14219. "type": "integer"
  14220. },
  14221. "updatetime": {
  14222. "description": "更新时间",
  14223. "type": "string"
  14224. }
  14225. }
  14226. },
  14227. "models.Ermcp3FinanceReport": {
  14228. "type": "object",
  14229. "properties": {
  14230. "accountname": {
  14231. "description": "机构名称",
  14232. "type": "string"
  14233. },
  14234. "areauserid": {
  14235. "description": "所属机构\\交易用户ID",
  14236. "type": "integer"
  14237. },
  14238. "begindate": {
  14239. "description": "开始交易日",
  14240. "type": "string"
  14241. },
  14242. "biztype": {
  14243. "description": "业务类型 - 1:套保 2:套利",
  14244. "type": "integer"
  14245. },
  14246. "brandname": {
  14247. "description": "品牌名称",
  14248. "type": "string"
  14249. },
  14250. "buypreinvoicedamount": {
  14251. "description": "采购预收票额(预收票额)",
  14252. "type": "number"
  14253. },
  14254. "buyprepaidamount": {
  14255. "description": "采购预付款额(预付货款额)",
  14256. "type": "number"
  14257. },
  14258. "buytodayinvoiceamount": {
  14259. "description": "采购今收票额(今收票额)",
  14260. "type": "number"
  14261. },
  14262. "buytodayrefundamount": {
  14263. "description": "采购今收退款额(今收退款额)",
  14264. "type": "number"
  14265. },
  14266. "buytodaysettleamount": {
  14267. "description": "采购今付款额(今付货款额)",
  14268. "type": "number"
  14269. },
  14270. "buyuninvoicedamount": {
  14271. "description": "采购应收票额(应收票额)",
  14272. "type": "number"
  14273. },
  14274. "buyunpaidamount": {
  14275. "description": "采购应付款额(应付货款额)",
  14276. "type": "number"
  14277. },
  14278. "currencyid": {
  14279. "description": "结算币种ID",
  14280. "type": "integer"
  14281. },
  14282. "currencyname": {
  14283. "description": "币种名称",
  14284. "type": "string"
  14285. },
  14286. "cycletime": {
  14287. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14288. "type": "string"
  14289. },
  14290. "cycletype": {
  14291. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14292. "type": "integer"
  14293. },
  14294. "deliverygoodscode": {
  14295. "description": "现货品种代码",
  14296. "type": "string"
  14297. },
  14298. "deliverygoodsid": {
  14299. "description": "现货品种ID",
  14300. "type": "integer"
  14301. },
  14302. "deliverygoodsname": {
  14303. "description": "现货品种名称",
  14304. "type": "string"
  14305. },
  14306. "enddate": {
  14307. "description": "结束交易日",
  14308. "type": "string"
  14309. },
  14310. "reckondate": {
  14311. "description": "日照时期(yyyyMMdd)",
  14312. "type": "string"
  14313. },
  14314. "sellpreinvoicedamount": {
  14315. "description": "销售预开票额(预开票额)",
  14316. "type": "number"
  14317. },
  14318. "sellprepaidamount": {
  14319. "description": "销售预收款额(预收货款额)",
  14320. "type": "number"
  14321. },
  14322. "selltodayinvoiceamount": {
  14323. "description": "销售今开票额(今开票额)",
  14324. "type": "number"
  14325. },
  14326. "selltodayrefundamount": {
  14327. "description": "销售今付退款额(今付退款额)",
  14328. "type": "number"
  14329. },
  14330. "selltodaysettleamount": {
  14331. "description": "销售今收款额(今收货款额)",
  14332. "type": "number"
  14333. },
  14334. "selluninvoicedamount": {
  14335. "description": "销售应开票额(应开票额)",
  14336. "type": "number"
  14337. },
  14338. "sellunpaidamount": {
  14339. "description": "销售应收款额(应收货款额)",
  14340. "type": "number"
  14341. },
  14342. "spotgoodsbrandid": {
  14343. "description": "现货品牌ID",
  14344. "type": "integer"
  14345. },
  14346. "todaypaysum": {
  14347. "description": "今付款合计",
  14348. "type": "number"
  14349. },
  14350. "todayreceivesum": {
  14351. "description": "今收款合计",
  14352. "type": "number"
  14353. },
  14354. "updatetime": {
  14355. "description": "更新时间",
  14356. "type": "string"
  14357. },
  14358. "wrfactortypeid": {
  14359. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14360. "type": "integer"
  14361. },
  14362. "wrstandardcode": {
  14363. "description": "品类代码",
  14364. "type": "string"
  14365. },
  14366. "wrstandardid": {
  14367. "description": "现货商品ID",
  14368. "type": "integer"
  14369. },
  14370. "wrstandardname": {
  14371. "description": "品类名称",
  14372. "type": "string"
  14373. }
  14374. }
  14375. },
  14376. "models.Ermcp3Goods": {
  14377. "type": "object",
  14378. "properties": {
  14379. "agreeunit": {
  14380. "description": "合约单位(合约乘数)",
  14381. "type": "number"
  14382. },
  14383. "enumdicname": {
  14384. "description": "单位名称",
  14385. "type": "string"
  14386. },
  14387. "exexchangecode": {
  14388. "description": "交易所代码",
  14389. "type": "string"
  14390. },
  14391. "goodscode": {
  14392. "description": "期货商品代码",
  14393. "type": "string"
  14394. },
  14395. "goodsid": {
  14396. "description": "期货商品id",
  14397. "type": "integer"
  14398. },
  14399. "goodsname": {
  14400. "description": "期货商品名称",
  14401. "type": "string"
  14402. }
  14403. }
  14404. },
  14405. "models.Ermcp3GoodsGroup": {
  14406. "type": "object",
  14407. "required": [
  14408. "areauserid"
  14409. ],
  14410. "properties": {
  14411. "agreeunit": {
  14412. "description": "合约单位",
  14413. "type": "number"
  14414. },
  14415. "areauserid": {
  14416. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14417. "type": "integer"
  14418. },
  14419. "canshort": {
  14420. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14421. "type": "integer"
  14422. },
  14423. "closepricemode": {
  14424. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14425. "type": "integer"
  14426. },
  14427. "createtime": {
  14428. "description": "创建时间",
  14429. "type": "string"
  14430. },
  14431. "creatorid": {
  14432. "description": "创建人",
  14433. "type": "integer"
  14434. },
  14435. "currencyid": {
  14436. "description": "报价货币ID",
  14437. "type": "integer"
  14438. },
  14439. "decimalplace": {
  14440. "description": "报价小数位",
  14441. "type": "integer"
  14442. },
  14443. "enumdicname": {
  14444. "description": "单位名称",
  14445. "type": "string"
  14446. },
  14447. "excludecfg": {
  14448. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14449. "type": "integer"
  14450. },
  14451. "exexchangeid": {
  14452. "description": "外部交易所ID[通道交易]",
  14453. "type": "integer"
  14454. },
  14455. "goodsgroupid": {
  14456. "description": "商品组ID(自增ID)",
  14457. "type": "integer"
  14458. },
  14459. "goodsgroupname": {
  14460. "description": "商品组名称",
  14461. "type": "string"
  14462. },
  14463. "goodsgroupstatus": {
  14464. "description": "商品组状态 - 1:正常 2:注销",
  14465. "type": "integer"
  14466. },
  14467. "goodunitid": {
  14468. "description": "报价单位ID",
  14469. "type": "integer"
  14470. },
  14471. "groupcategroyid": {
  14472. "description": "品种分类ID",
  14473. "type": "integer"
  14474. },
  14475. "innerdealmode": {
  14476. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14477. "type": "integer"
  14478. },
  14479. "marketid": {
  14480. "description": "所属市场ID",
  14481. "type": "integer"
  14482. },
  14483. "modifierid": {
  14484. "description": "修改人",
  14485. "type": "integer"
  14486. },
  14487. "modifytime": {
  14488. "description": "修改时间",
  14489. "type": "string"
  14490. },
  14491. "outerdealmode": {
  14492. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14493. "type": "integer"
  14494. },
  14495. "outergroupcode": {
  14496. "description": "外部商品组代码[通道交易]",
  14497. "type": "string"
  14498. },
  14499. "quoteminunit": {
  14500. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14501. "type": "integer"
  14502. },
  14503. "quotesourcegroupid": {
  14504. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14505. "type": "integer"
  14506. },
  14507. "syncgoodsqty": {
  14508. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14509. "type": "integer"
  14510. }
  14511. }
  14512. },
  14513. "models.Ermcp3GoodsGroupEx": {
  14514. "type": "object",
  14515. "properties": {
  14516. "convertratio": {
  14517. "description": "折算系数(品种系数)",
  14518. "type": "number"
  14519. },
  14520. "enumdicname": {
  14521. "description": "单位名称",
  14522. "type": "string"
  14523. },
  14524. "exexchangecode": {
  14525. "description": "交易所代码",
  14526. "type": "string"
  14527. },
  14528. "glist": {
  14529. "description": "合约列表",
  14530. "type": "array",
  14531. "items": {
  14532. "$ref": "#/definitions/models.Ermcp3Goods"
  14533. }
  14534. },
  14535. "goodsgroupid": {
  14536. "description": "商品组id",
  14537. "type": "integer"
  14538. },
  14539. "goodsgroupname": {
  14540. "description": "商品组名称",
  14541. "type": "string"
  14542. },
  14543. "goodsunitid": {
  14544. "description": "单位id",
  14545. "type": "integer"
  14546. },
  14547. "middlegoodsid": {
  14548. "description": "套保商品id",
  14549. "type": "integer"
  14550. }
  14551. }
  14552. },
  14553. "models.Ermcp3HedgePlan": {
  14554. "type": "object",
  14555. "properties": {
  14556. "accountid": {
  14557. "description": "资金账号",
  14558. "type": "integer"
  14559. },
  14560. "areauserid": {
  14561. "description": "用户ID",
  14562. "type": "integer"
  14563. },
  14564. "audittime": {
  14565. "description": "审核时间",
  14566. "type": "string"
  14567. },
  14568. "contracttype": {
  14569. "description": "计划类型 - 1:采购 -1:销售",
  14570. "type": "integer"
  14571. },
  14572. "convertfactor": {
  14573. "description": "标仓系数",
  14574. "type": "number"
  14575. },
  14576. "createtime": {
  14577. "description": "创建时间",
  14578. "type": "string"
  14579. },
  14580. "currencyid": {
  14581. "description": "币种id",
  14582. "type": "integer"
  14583. },
  14584. "currencyname": {
  14585. "description": "币种名称",
  14586. "type": "string"
  14587. },
  14588. "deliverygoodscode": {
  14589. "description": "现货品种代码",
  14590. "type": "string"
  14591. },
  14592. "deliverygoodsid": {
  14593. "description": "现货品种ID",
  14594. "type": "integer"
  14595. },
  14596. "deliverygoodsname": {
  14597. "description": "现货品种名称",
  14598. "type": "string"
  14599. },
  14600. "enumdicname": {
  14601. "description": "单位名称(现货商品)",
  14602. "type": "string"
  14603. },
  14604. "hedgeplanid": {
  14605. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14606. "type": "string"
  14607. },
  14608. "hedgeplanno": {
  14609. "description": "套保计划编号(名称)",
  14610. "type": "string"
  14611. },
  14612. "hedgeplanstatus": {
  14613. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14614. "type": "integer"
  14615. },
  14616. "planqty": {
  14617. "description": "计划数量",
  14618. "type": "number"
  14619. },
  14620. "plantime": {
  14621. "description": "计划时间",
  14622. "type": "string"
  14623. },
  14624. "producttype": {
  14625. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14626. "type": "integer"
  14627. },
  14628. "remark": {
  14629. "description": "备注",
  14630. "type": "string"
  14631. },
  14632. "spotgoodsdesc": {
  14633. "description": "商品型号",
  14634. "type": "string"
  14635. },
  14636. "taaccountname": {
  14637. "description": "资金账号名称",
  14638. "type": "string"
  14639. },
  14640. "tradeuserid": {
  14641. "description": "交易用户id",
  14642. "type": "integer"
  14643. },
  14644. "tradeusername": {
  14645. "description": "交易用户名称",
  14646. "type": "string"
  14647. },
  14648. "unitid": {
  14649. "description": "单位id(现货商品)",
  14650. "type": "integer"
  14651. },
  14652. "updatetime": {
  14653. "description": "更新时间",
  14654. "type": "string"
  14655. },
  14656. "wrstandardcode": {
  14657. "description": "品类代码",
  14658. "type": "string"
  14659. },
  14660. "wrstandardid": {
  14661. "description": "品类id",
  14662. "type": "integer"
  14663. },
  14664. "wrstandardname": {
  14665. "description": "品类名称",
  14666. "type": "string"
  14667. },
  14668. "wrunitid": {
  14669. "description": "品类单位id",
  14670. "type": "integer"
  14671. },
  14672. "wrunitidame": {
  14673. "description": "品类单位名称",
  14674. "type": "string"
  14675. }
  14676. }
  14677. },
  14678. "models.Ermcp3MiddleGoodsDetail2": {
  14679. "type": "object",
  14680. "properties": {
  14681. "convertratio": {
  14682. "description": "套保系数(折算系数)",
  14683. "type": "number"
  14684. },
  14685. "gplist": {
  14686. "description": "关联商品组列表",
  14687. "type": "array",
  14688. "items": {
  14689. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14690. }
  14691. },
  14692. "mg": {
  14693. "description": "套保商品信息",
  14694. "type": "object",
  14695. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14696. }
  14697. }
  14698. },
  14699. "models.Ermcp3MiddleGoodsDetailEx": {
  14700. "type": "object",
  14701. "properties": {
  14702. "dglist": {
  14703. "description": "关联的现货品种列表",
  14704. "type": "array",
  14705. "items": {
  14706. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14707. }
  14708. },
  14709. "gplist": {
  14710. "description": "关联商品组列表",
  14711. "type": "array",
  14712. "items": {
  14713. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14714. }
  14715. },
  14716. "mg": {
  14717. "description": "套保商品信息",
  14718. "type": "object",
  14719. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14720. }
  14721. }
  14722. },
  14723. "models.Ermcp3SellBuyContract": {
  14724. "type": "object",
  14725. "properties": {
  14726. "accountid": {
  14727. "description": "期货账户id",
  14728. "type": "string"
  14729. },
  14730. "accountname": {
  14731. "description": "账户名称",
  14732. "type": "string"
  14733. },
  14734. "attachment": {
  14735. "description": "附件",
  14736. "type": "string"
  14737. },
  14738. "audittime": {
  14739. "description": "审核时间",
  14740. "type": "string"
  14741. },
  14742. "biztype": {
  14743. "description": "业务类型 1-套保 2-套利",
  14744. "type": "integer"
  14745. },
  14746. "brandname": {
  14747. "description": "品牌名称",
  14748. "type": "string"
  14749. },
  14750. "contracctstatus": {
  14751. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14752. "type": "integer"
  14753. },
  14754. "contractmargin": {
  14755. "description": "合同保证金",
  14756. "type": "number"
  14757. },
  14758. "contractno": {
  14759. "description": "合同编号",
  14760. "type": "string"
  14761. },
  14762. "contracttype": {
  14763. "description": "合同类型 1-采购, -1-销售",
  14764. "type": "integer"
  14765. },
  14766. "convertfactor": {
  14767. "description": "标仓系数(品类)",
  14768. "type": "number"
  14769. },
  14770. "createtime": {
  14771. "description": "创建时间",
  14772. "type": "string"
  14773. },
  14774. "currencyid": {
  14775. "description": "币种id",
  14776. "type": "integer"
  14777. },
  14778. "currencyname": {
  14779. "description": "币种名称",
  14780. "type": "string"
  14781. },
  14782. "daikaiamount": {
  14783. "description": "应收(开)票额",
  14784. "type": "number"
  14785. },
  14786. "deliveryenddate": {
  14787. "description": "交割结束日",
  14788. "type": "string"
  14789. },
  14790. "deliverygoodscode": {
  14791. "description": "现货品种代码",
  14792. "type": "string"
  14793. },
  14794. "deliverygoodsid": {
  14795. "description": "现货商品ID",
  14796. "type": "integer"
  14797. },
  14798. "deliverygoodsname": {
  14799. "description": "现货品种名称",
  14800. "type": "string"
  14801. },
  14802. "deliverystartdate": {
  14803. "description": "交割开始日",
  14804. "type": "string"
  14805. },
  14806. "enddate": {
  14807. "description": "点价结束日",
  14808. "type": "string"
  14809. },
  14810. "enumdicname": {
  14811. "description": "单位名称",
  14812. "type": "string"
  14813. },
  14814. "goodscode": {
  14815. "description": "点价商品代码",
  14816. "type": "string"
  14817. },
  14818. "goodsid": {
  14819. "description": "点价商品ID",
  14820. "type": "integer"
  14821. },
  14822. "goodsname": {
  14823. "description": "点价商品名称",
  14824. "type": "string"
  14825. },
  14826. "invoiceamount": {
  14827. "description": "已开票额",
  14828. "type": "number"
  14829. },
  14830. "loanamount": {
  14831. "description": "贷款总额=已定价额+调整金额",
  14832. "type": "number"
  14833. },
  14834. "margin": {
  14835. "description": "保证金",
  14836. "type": "number"
  14837. },
  14838. "meruserid": {
  14839. "description": "跟单员id",
  14840. "type": "integer"
  14841. },
  14842. "meruserlogincode": {
  14843. "description": "跟单员登录代码",
  14844. "type": "string"
  14845. },
  14846. "nickname": {
  14847. "description": "账户昵称",
  14848. "type": "string"
  14849. },
  14850. "payamount": {
  14851. "description": "已收付额(收款或付款)",
  14852. "type": "number"
  14853. },
  14854. "preinvoiceamount": {
  14855. "description": "预收(开)票额",
  14856. "type": "number"
  14857. },
  14858. "prepayamount": {
  14859. "description": "预收付额",
  14860. "type": "number"
  14861. },
  14862. "price": {
  14863. "description": "价格",
  14864. "type": "number"
  14865. },
  14866. "pricedamount": {
  14867. "description": "已定价额",
  14868. "type": "number"
  14869. },
  14870. "pricedavg": {
  14871. "description": "已点均价",
  14872. "type": "number"
  14873. },
  14874. "pricedqty": {
  14875. "description": "已定价量",
  14876. "type": "number"
  14877. },
  14878. "pricemove": {
  14879. "description": "升贴水",
  14880. "type": "number"
  14881. },
  14882. "pricetype": {
  14883. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14884. "type": "integer"
  14885. },
  14886. "producttype": {
  14887. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14888. "type": "integer"
  14889. },
  14890. "qty": {
  14891. "description": "合同量",
  14892. "type": "number"
  14893. },
  14894. "reckonadjustamount": {
  14895. "description": "调整金额",
  14896. "type": "number"
  14897. },
  14898. "reckonedamount": {
  14899. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14900. "type": "number"
  14901. },
  14902. "reckonotheramount": {
  14903. "description": "其它费用",
  14904. "type": "number"
  14905. },
  14906. "reckonrealqty": {
  14907. "description": "已确定量",
  14908. "type": "number"
  14909. },
  14910. "remark": {
  14911. "description": "备注",
  14912. "type": "string"
  14913. },
  14914. "saleuserid": {
  14915. "description": "业务员id",
  14916. "type": "integer"
  14917. },
  14918. "saleuserlogincode": {
  14919. "description": "业务员登录代码",
  14920. "type": "string"
  14921. },
  14922. "spotcontractid": {
  14923. "description": "合同ID",
  14924. "type": "string"
  14925. },
  14926. "spotgoodsbrandid": {
  14927. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14928. "type": "integer"
  14929. },
  14930. "spotgoodsdesc": {
  14931. "description": "商品型号(商品规格)",
  14932. "type": "string"
  14933. },
  14934. "startdate": {
  14935. "description": "点价开始日",
  14936. "type": "string"
  14937. },
  14938. "totalamount": {
  14939. "description": "合计总额",
  14940. "type": "number"
  14941. },
  14942. "tradeuserid": {
  14943. "description": "交易员id",
  14944. "type": "integer"
  14945. },
  14946. "tradeuserlogincode": {
  14947. "description": "交易员登录代码",
  14948. "type": "string"
  14949. },
  14950. "tradeusername": {
  14951. "description": "交易员名称",
  14952. "type": "string"
  14953. },
  14954. "unpayamount": {
  14955. "description": "应收付款额(应支付或应收款)",
  14956. "type": "number"
  14957. },
  14958. "unpricedqty": {
  14959. "description": "未定价量",
  14960. "type": "number"
  14961. },
  14962. "unsureqty": {
  14963. "description": "未确定量",
  14964. "type": "number"
  14965. },
  14966. "userid": {
  14967. "description": "机构ID",
  14968. "type": "integer"
  14969. },
  14970. "wrstandardcode": {
  14971. "description": "品类代码",
  14972. "type": "string"
  14973. },
  14974. "wrstandardid": {
  14975. "description": "品类ID",
  14976. "type": "integer"
  14977. },
  14978. "wrstandardname": {
  14979. "description": "品类名称",
  14980. "type": "string"
  14981. }
  14982. }
  14983. },
  14984. "models.Ermcp3SpotGoodsPrice": {
  14985. "type": "object",
  14986. "properties": {
  14987. "areauserid": {
  14988. "description": "所属机构id",
  14989. "type": "integer"
  14990. },
  14991. "brandname": {
  14992. "description": "品牌名称",
  14993. "type": "string"
  14994. },
  14995. "currencyid": {
  14996. "description": "报价货币ID",
  14997. "type": "integer"
  14998. },
  14999. "currencyname": {
  15000. "description": "币种名称",
  15001. "type": "string"
  15002. },
  15003. "deliverygoodscode": {
  15004. "description": "现货商品代码",
  15005. "type": "string"
  15006. },
  15007. "deliverygoodsid": {
  15008. "description": "现货商品id",
  15009. "type": "integer"
  15010. },
  15011. "deliverygoodsname": {
  15012. "description": "现货商品名称",
  15013. "type": "string"
  15014. },
  15015. "enumdicname": {
  15016. "description": "现货商品单位名称",
  15017. "type": "string"
  15018. },
  15019. "gbenumdicname": {
  15020. "description": "品类单位名称",
  15021. "type": "string"
  15022. },
  15023. "gmunitid": {
  15024. "description": "品类单位id",
  15025. "type": "integer"
  15026. },
  15027. "isvalid": {
  15028. "description": "是否有效 - 0:无效 1:有效",
  15029. "type": "integer"
  15030. },
  15031. "operateid": {
  15032. "description": "最后操作人",
  15033. "type": "integer"
  15034. },
  15035. "operatesrc": {
  15036. "description": "最后操作来源 - 1:管理端 2:终端",
  15037. "type": "integer"
  15038. },
  15039. "operatetime": {
  15040. "description": "最后操作时间",
  15041. "type": "string"
  15042. },
  15043. "operatorname": {
  15044. "description": "操作人名称",
  15045. "type": "string"
  15046. },
  15047. "spotgoodsbrandid": {
  15048. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15049. "type": "integer"
  15050. },
  15051. "spotgoodsprice": {
  15052. "description": "现货价格",
  15053. "type": "number"
  15054. },
  15055. "tradedate": {
  15056. "description": "交易日(yyyyMMdd)",
  15057. "type": "string"
  15058. },
  15059. "unitid": {
  15060. "description": "现货商品单位id",
  15061. "type": "integer"
  15062. },
  15063. "wrstandardcode": {
  15064. "description": "品类代码",
  15065. "type": "string"
  15066. },
  15067. "wrstandardid": {
  15068. "description": "现货品类ID(通用则为0)",
  15069. "type": "integer"
  15070. },
  15071. "wrstandardname": {
  15072. "description": "品类名称",
  15073. "type": "string"
  15074. }
  15075. }
  15076. },
  15077. "models.Ermcp3SpotGoodsPriceLog": {
  15078. "type": "object",
  15079. "properties": {
  15080. "areauserid": {
  15081. "description": "所属机构id",
  15082. "type": "integer"
  15083. },
  15084. "brandname": {
  15085. "description": "品牌名称",
  15086. "type": "string"
  15087. },
  15088. "currencyid": {
  15089. "description": "报价货币ID",
  15090. "type": "integer"
  15091. },
  15092. "deliverygoodscode": {
  15093. "description": "现货商品代码",
  15094. "type": "string"
  15095. },
  15096. "deliverygoodsid": {
  15097. "description": "现货商品id",
  15098. "type": "integer"
  15099. },
  15100. "deliverygoodsname": {
  15101. "description": "现货商品名称",
  15102. "type": "string"
  15103. },
  15104. "enumdicname": {
  15105. "description": "现货商品单位名称",
  15106. "type": "string"
  15107. },
  15108. "gbenumdicname": {
  15109. "description": "品类单位名称",
  15110. "type": "string"
  15111. },
  15112. "gmunitid": {
  15113. "description": "品类单位id",
  15114. "type": "integer"
  15115. },
  15116. "logid": {
  15117. "description": "日志id",
  15118. "type": "integer"
  15119. },
  15120. "operateid": {
  15121. "description": "最后操作人",
  15122. "type": "integer"
  15123. },
  15124. "operatesrc": {
  15125. "description": "最后操作来源 - 1:管理端 2:终端",
  15126. "type": "integer"
  15127. },
  15128. "operatetime": {
  15129. "description": "最后操作时间",
  15130. "type": "string"
  15131. },
  15132. "operatorname": {
  15133. "description": "操作人名称",
  15134. "type": "string"
  15135. },
  15136. "spotgoodsbrandid": {
  15137. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15138. "type": "integer"
  15139. },
  15140. "spotgoodsprice": {
  15141. "description": "现货价格",
  15142. "type": "number"
  15143. },
  15144. "tradedate": {
  15145. "description": "交易日(yyyyMMdd)",
  15146. "type": "string"
  15147. },
  15148. "unitid": {
  15149. "description": "现货商品单位id",
  15150. "type": "integer"
  15151. },
  15152. "wrstandardcode": {
  15153. "description": "品类代码",
  15154. "type": "string"
  15155. },
  15156. "wrstandardid": {
  15157. "description": "现货品类ID(通用则为0)",
  15158. "type": "integer"
  15159. },
  15160. "wrstandardname": {
  15161. "description": "品类名称",
  15162. "type": "string"
  15163. }
  15164. }
  15165. },
  15166. "models.Ermcp3Wrstandard": {
  15167. "type": "object",
  15168. "properties": {
  15169. "areauserid": {
  15170. "description": "所属机构",
  15171. "type": "integer"
  15172. },
  15173. "convertfactor": {
  15174. "description": "标仓系数",
  15175. "type": "number"
  15176. },
  15177. "createtime": {
  15178. "description": "创建时间",
  15179. "type": "string"
  15180. },
  15181. "creatorid": {
  15182. "description": "创建人",
  15183. "type": "integer"
  15184. },
  15185. "deliverygoodsid": {
  15186. "description": "现货品种ID",
  15187. "type": "integer"
  15188. },
  15189. "enumdicname": {
  15190. "description": "品类单位名称",
  15191. "type": "string"
  15192. },
  15193. "isvalid": {
  15194. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15195. "type": "integer"
  15196. },
  15197. "minivalue": {
  15198. "description": "最小变动值",
  15199. "type": "integer"
  15200. },
  15201. "minivaluedp": {
  15202. "description": "最小变动值小数位",
  15203. "type": "integer"
  15204. },
  15205. "realminivalue": {
  15206. "description": "实际最小变动值",
  15207. "type": "integer"
  15208. },
  15209. "realminivaluedp": {
  15210. "description": "实际最小变动值小数位",
  15211. "type": "integer"
  15212. },
  15213. "remark": {
  15214. "description": "备注",
  15215. "type": "string"
  15216. },
  15217. "unitid": {
  15218. "description": "品类单位ID",
  15219. "type": "integer"
  15220. },
  15221. "updatetime": {
  15222. "description": "更新时间",
  15223. "type": "string"
  15224. },
  15225. "wrstandardcode": {
  15226. "description": "品类代码",
  15227. "type": "string"
  15228. },
  15229. "wrstandardid": {
  15230. "description": "品类ID(SEQ_WRSTANDARD)",
  15231. "type": "integer"
  15232. },
  15233. "wrstandardname": {
  15234. "description": "品类名称",
  15235. "type": "string"
  15236. }
  15237. }
  15238. },
  15239. "models.ErmcpAreaSpotDetailModel": {
  15240. "type": "object",
  15241. "properties": {
  15242. "contracttype": {
  15243. "description": "合同类型 1-采购 -1-销售",
  15244. "type": "integer"
  15245. },
  15246. "createtime": {
  15247. "description": "创建时间",
  15248. "type": "string"
  15249. },
  15250. "enumdicname": {
  15251. "description": "现货商品单位名称",
  15252. "type": "string"
  15253. },
  15254. "logtype": {
  15255. "description": "记录类型 1-套保 2-现货合同",
  15256. "type": "integer"
  15257. },
  15258. "qty": {
  15259. "description": "数量",
  15260. "type": "number"
  15261. },
  15262. "recordname": {
  15263. "description": "类型名称",
  15264. "type": "string"
  15265. },
  15266. "relatedid": {
  15267. "description": "套保计划ID/现货合同ID",
  15268. "type": "string"
  15269. },
  15270. "relatedno": {
  15271. "description": "编号",
  15272. "type": "string"
  15273. },
  15274. "strtime": {
  15275. "description": "时间",
  15276. "type": "string"
  15277. },
  15278. "wrstandardcode": {
  15279. "description": "现货商品代码",
  15280. "type": "string"
  15281. },
  15282. "wrstandardname": {
  15283. "description": "现货商品名称",
  15284. "type": "string"
  15285. }
  15286. }
  15287. },
  15288. "models.ErmcpAvalidGoodsGroupModel": {
  15289. "type": "object",
  15290. "properties": {
  15291. "goodsgroupid": {
  15292. "description": "期货品种id",
  15293. "type": "integer"
  15294. },
  15295. "goodsgroupname": {
  15296. "description": "期货品种名称",
  15297. "type": "string"
  15298. },
  15299. "goodunitid": {
  15300. "description": "品种单位id",
  15301. "type": "integer"
  15302. },
  15303. "goodunitname": {
  15304. "description": "品种单位名称",
  15305. "type": "string"
  15306. },
  15307. "outergroupcode": {
  15308. "description": "期货品种代码",
  15309. "type": "string"
  15310. }
  15311. }
  15312. },
  15313. "models.ErmcpBizGroupEx": {
  15314. "type": "object",
  15315. "properties": {
  15316. "acclist": {
  15317. "description": "账号列表",
  15318. "type": "array",
  15319. "items": {
  15320. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15321. }
  15322. },
  15323. "bizgroupid": {
  15324. "description": "业务分组id",
  15325. "type": "integer"
  15326. },
  15327. "biztype": {
  15328. "description": "业务类型 1-套保 2-套利",
  15329. "type": "integer"
  15330. },
  15331. "wrlist": {
  15332. "description": "现货商品表",
  15333. "type": "array",
  15334. "items": {
  15335. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15336. }
  15337. }
  15338. }
  15339. },
  15340. "models.ErmcpBizGroupSpotGoods": {
  15341. "type": "object",
  15342. "properties": {
  15343. "areauserid": {
  15344. "description": "所属机构id",
  15345. "type": "integer"
  15346. },
  15347. "bizgroupid": {
  15348. "description": "分组id",
  15349. "type": "integer"
  15350. },
  15351. "biztype": {
  15352. "description": "业务类型 1-套保 2-套利",
  15353. "type": "integer"
  15354. },
  15355. "deliverygoodscode": {
  15356. "description": "现货商品代码",
  15357. "type": "string"
  15358. },
  15359. "deliverygoodsid": {
  15360. "description": "现货商品id",
  15361. "type": "integer"
  15362. },
  15363. "deliverygoodsname": {
  15364. "description": "现货商品名称",
  15365. "type": "string"
  15366. },
  15367. "unitid": {
  15368. "description": "现货商品单位id",
  15369. "type": "integer"
  15370. }
  15371. }
  15372. },
  15373. "models.ErmcpBizGroupTaAccount": {
  15374. "type": "object",
  15375. "properties": {
  15376. "accountid": {
  15377. "description": "账号id",
  15378. "type": "integer"
  15379. },
  15380. "accountname": {
  15381. "description": "账号名称",
  15382. "type": "string"
  15383. },
  15384. "areauserid": {
  15385. "description": "所属机构id",
  15386. "type": "integer"
  15387. },
  15388. "bizgroupid": {
  15389. "description": "业务分组id",
  15390. "type": "integer"
  15391. },
  15392. "ismain": {
  15393. "description": "是否主账号 1-是 0-否",
  15394. "type": "integer"
  15395. }
  15396. }
  15397. },
  15398. "models.ErmcpDGFactoryItem": {
  15399. "type": "object",
  15400. "properties": {
  15401. "areauserid": {
  15402. "description": "用户id",
  15403. "type": "integer"
  15404. },
  15405. "deliverygoodsid": {
  15406. "description": "现货品种ID",
  15407. "type": "integer"
  15408. },
  15409. "dgfactoryitemid": {
  15410. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15411. "type": "integer"
  15412. },
  15413. "dgfactoryitemtypeid": {
  15414. "description": "要素项类型",
  15415. "type": "integer"
  15416. },
  15417. "dgfactoryitemvalue": {
  15418. "description": "要素项值(类型为仓库时填写仓库名称)",
  15419. "type": "string"
  15420. },
  15421. "isvalid": {
  15422. "description": "是否有效 - 0:无效 1:有效",
  15423. "type": "integer"
  15424. },
  15425. "orderindex": {
  15426. "description": "顺序",
  15427. "type": "integer"
  15428. },
  15429. "warehouseid": {
  15430. "description": "仓库ID(类型为仓库时填写)",
  15431. "type": "integer"
  15432. }
  15433. }
  15434. },
  15435. "models.ErmcpDeliveryGoods": {
  15436. "type": "object",
  15437. "properties": {
  15438. "agreeunit": {
  15439. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15440. "type": "integer"
  15441. },
  15442. "areauserid": {
  15443. "description": "所属机构",
  15444. "type": "integer"
  15445. },
  15446. "auditflag": {
  15447. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15448. "type": "integer"
  15449. },
  15450. "categoryid": {
  15451. "description": "类别ID(SEQ_WRCATEGORY)",
  15452. "type": "integer"
  15453. },
  15454. "deliverygoodscode": {
  15455. "description": "现货品种代码",
  15456. "type": "string"
  15457. },
  15458. "deliverygoodsid": {
  15459. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15460. "type": "integer"
  15461. },
  15462. "deliverygoodsname": {
  15463. "description": "现货品种名称",
  15464. "type": "string"
  15465. },
  15466. "deliverygoodstype": {
  15467. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15468. "type": "integer"
  15469. },
  15470. "dgstatus": {
  15471. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15472. "type": "integer"
  15473. },
  15474. "enumdicname": {
  15475. "description": "现货品种单位名称",
  15476. "type": "string"
  15477. },
  15478. "goodsunitid": {
  15479. "description": "现货品种单位ID",
  15480. "type": "integer"
  15481. },
  15482. "isvalid": {
  15483. "description": "是否有效 - 0:无效 1:有效",
  15484. "type": "integer"
  15485. },
  15486. "qtydecimalplace": {
  15487. "description": "成交量小数位",
  15488. "type": "integer"
  15489. },
  15490. "remark": {
  15491. "description": "备注",
  15492. "type": "string"
  15493. },
  15494. "standardqty": {
  15495. "description": "标准数量(库位数量) [标准品特有]",
  15496. "type": "integer"
  15497. },
  15498. "standardqtyrange": {
  15499. "description": "标准数量偏差范围 [标准品特有]",
  15500. "type": "integer"
  15501. }
  15502. }
  15503. },
  15504. "models.ErmcpDeliveryGoodsDetail2": {
  15505. "type": "object",
  15506. "properties": {
  15507. "convertratio": {
  15508. "description": "套保系数(折算系数)",
  15509. "type": "number"
  15510. },
  15511. "data": {
  15512. "description": "现货商品基本信息(交割品种)",
  15513. "type": "object",
  15514. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15515. },
  15516. "gblist": {
  15517. "description": "品牌列表",
  15518. "type": "array",
  15519. "items": {
  15520. "$ref": "#/definitions/models.Ermcp3Brand"
  15521. }
  15522. },
  15523. "gmlist": {
  15524. "description": "品类列表(仓单标准)",
  15525. "type": "array",
  15526. "items": {
  15527. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15528. }
  15529. }
  15530. }
  15531. },
  15532. "models.ErmcpDeliveryGoodsDetailEx": {
  15533. "type": "object",
  15534. "properties": {
  15535. "data": {
  15536. "description": "现货商品基本信息(交割品种)",
  15537. "type": "object",
  15538. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15539. },
  15540. "gblist": {
  15541. "description": "品牌列表",
  15542. "type": "array",
  15543. "items": {
  15544. "$ref": "#/definitions/models.Ermcp3Brand"
  15545. }
  15546. },
  15547. "gmlist": {
  15548. "description": "品类列表(仓单标准)",
  15549. "type": "array",
  15550. "items": {
  15551. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15552. }
  15553. },
  15554. "mgList": {
  15555. "description": "套保列表",
  15556. "type": "array",
  15557. "items": {
  15558. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15559. }
  15560. }
  15561. }
  15562. },
  15563. "models.ErmcpExposureDetailModel": {
  15564. "type": "object",
  15565. "properties": {
  15566. "areauserid": {
  15567. "description": "机构ID",
  15568. "type": "integer"
  15569. },
  15570. "changeQty": {
  15571. "description": "套保变动量",
  15572. "type": "number"
  15573. },
  15574. "contracttype": {
  15575. "description": "现货合同类型 - 1:采购 -1:销售",
  15576. "type": "integer"
  15577. },
  15578. "convertfactor": {
  15579. "description": "标仓系数",
  15580. "type": "number"
  15581. },
  15582. "convertratio": {
  15583. "description": "套保系数",
  15584. "type": "number"
  15585. },
  15586. "createtime": {
  15587. "description": "时间",
  15588. "type": "string"
  15589. },
  15590. "enumdicname": {
  15591. "description": "现货商品单位名称",
  15592. "type": "string"
  15593. },
  15594. "logtype": {
  15595. "description": "类型 - 1:套保计划 2:现货合同",
  15596. "type": "integer"
  15597. },
  15598. "middlegoodsId": {
  15599. "description": "套保商品id",
  15600. "type": "integer"
  15601. },
  15602. "middlegoodscode": {
  15603. "description": "套保商品代码",
  15604. "type": "string"
  15605. },
  15606. "middlegoodsname": {
  15607. "description": "套保商品名称",
  15608. "type": "string"
  15609. },
  15610. "qty": {
  15611. "description": "数量",
  15612. "type": "number"
  15613. },
  15614. "relateNo": {
  15615. "description": "现货合同/套保计划编号",
  15616. "type": "string"
  15617. },
  15618. "wrstandardcode": {
  15619. "description": "现货商品代码",
  15620. "type": "string"
  15621. },
  15622. "wrstandardid": {
  15623. "description": "现货商品ID",
  15624. "type": "integer"
  15625. },
  15626. "wrstandardname": {
  15627. "description": "现货商品名称",
  15628. "type": "string"
  15629. }
  15630. }
  15631. },
  15632. "models.ErmcpExposurePostion": {
  15633. "type": "object",
  15634. "properties": {
  15635. "agreeunit": {
  15636. "description": "合约单位",
  15637. "type": "string"
  15638. },
  15639. "areauserid": {
  15640. "description": "所属机构id",
  15641. "type": "integer"
  15642. },
  15643. "convertratio": {
  15644. "description": "期货品种系数(折算系数)",
  15645. "type": "number"
  15646. },
  15647. "curqty": {
  15648. "description": "当前持仓",
  15649. "type": "integer"
  15650. },
  15651. "diffhedgeqty": {
  15652. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15653. "type": "number"
  15654. },
  15655. "diffqty": {
  15656. "description": "持仓变动量=当前持仓-昨日持仓",
  15657. "type": "integer"
  15658. },
  15659. "goodscode": {
  15660. "description": "商品代码",
  15661. "type": "string"
  15662. },
  15663. "goodsid": {
  15664. "description": "商品id",
  15665. "type": "integer"
  15666. },
  15667. "goodsname": {
  15668. "description": "商品名称",
  15669. "type": "string"
  15670. },
  15671. "middlegoodsid": {
  15672. "description": "套保商品id",
  15673. "type": "integer"
  15674. },
  15675. "ydqty": {
  15676. "description": "昨日持仓",
  15677. "type": "integer"
  15678. }
  15679. }
  15680. },
  15681. "models.ErmcpFuturesCompany": {
  15682. "type": "object",
  15683. "properties": {
  15684. "brokerid": {
  15685. "description": "经纪公司代码",
  15686. "type": "string"
  15687. },
  15688. "channeladdress": {
  15689. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15690. "type": "string"
  15691. },
  15692. "channelid": {
  15693. "description": "对冲渠道ID",
  15694. "type": "string"
  15695. },
  15696. "createtime": {
  15697. "description": "创建时间",
  15698. "type": "string"
  15699. },
  15700. "creatorid": {
  15701. "description": "创建人",
  15702. "type": "string"
  15703. },
  15704. "fcid": {
  15705. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15706. "type": "integer"
  15707. },
  15708. "fcname": {
  15709. "description": "期货公司名称",
  15710. "type": "string"
  15711. },
  15712. "isvalid": {
  15713. "description": "是否有效 - 0:无效 1:有效",
  15714. "type": "integer"
  15715. },
  15716. "mhpaddress": {
  15717. "description": "MHP服务地址(IP:Port)",
  15718. "type": "string"
  15719. },
  15720. "riskrulegroupid": {
  15721. "description": "风控规则组ID",
  15722. "type": "string"
  15723. },
  15724. "tradefeetmpid": {
  15725. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15726. "type": "string"
  15727. },
  15728. "trademargintmpid": {
  15729. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15730. "type": "string"
  15731. },
  15732. "traderatetmpid": {
  15733. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15734. "type": "string"
  15735. },
  15736. "updatetime": {
  15737. "description": "更新时间",
  15738. "type": "string"
  15739. },
  15740. "updatorid": {
  15741. "description": "更新人",
  15742. "type": "string"
  15743. }
  15744. }
  15745. },
  15746. "models.ErmcpGGConvertCfg": {
  15747. "type": "object",
  15748. "properties": {
  15749. "convertratio": {
  15750. "description": "折算系数",
  15751. "type": "number"
  15752. },
  15753. "destgoodsgroupid": {
  15754. "description": "目标品种ID",
  15755. "type": "integer"
  15756. },
  15757. "dstcode": {
  15758. "description": "目录品种代码",
  15759. "type": "string"
  15760. },
  15761. "dstexchangecode": {
  15762. "description": "目标期货交易所",
  15763. "type": "string"
  15764. },
  15765. "dstname": {
  15766. "description": "目标品种名称",
  15767. "type": "string"
  15768. },
  15769. "dstunitid": {
  15770. "description": "目标品种单位ID",
  15771. "type": "integer"
  15772. },
  15773. "dstunitidname": {
  15774. "description": "目标品种单位名称",
  15775. "type": "string"
  15776. },
  15777. "modifytime": {
  15778. "description": "修改时间",
  15779. "type": "string"
  15780. },
  15781. "srccode": {
  15782. "description": "源品种代码",
  15783. "type": "string"
  15784. },
  15785. "srcexchangecode": {
  15786. "description": "源期货交易所",
  15787. "type": "string"
  15788. },
  15789. "srcgoodsgroupid": {
  15790. "description": "源品种ID",
  15791. "type": "integer"
  15792. },
  15793. "srcname": {
  15794. "description": "源品种名称",
  15795. "type": "string"
  15796. },
  15797. "srcunitid": {
  15798. "description": "源品种单位ID",
  15799. "type": "integer"
  15800. },
  15801. "srcunitidname": {
  15802. "description": "源品种单位名称",
  15803. "type": "string"
  15804. }
  15805. }
  15806. },
  15807. "models.ErmcpGoodsBrand": {
  15808. "type": "object",
  15809. "properties": {
  15810. "areauserid": {
  15811. "description": "所属机构",
  15812. "type": "integer"
  15813. },
  15814. "brandid": {
  15815. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15816. "type": "integer"
  15817. },
  15818. "brandname": {
  15819. "description": "品牌名称",
  15820. "type": "string"
  15821. },
  15822. "createtime": {
  15823. "description": "创建时间",
  15824. "type": "string"
  15825. },
  15826. "creatorid": {
  15827. "description": "创建人",
  15828. "type": "integer"
  15829. },
  15830. "creatorsrc": {
  15831. "description": "创建人来源 - 1:管理端 2:终端",
  15832. "type": "integer"
  15833. },
  15834. "deliverygoodsid": {
  15835. "description": "现货品种ID",
  15836. "type": "integer"
  15837. },
  15838. "isvalid": {
  15839. "description": "是否有效 - 0:无效 1:有效",
  15840. "type": "integer"
  15841. },
  15842. "updatetime": {
  15843. "description": "更新时间",
  15844. "type": "string"
  15845. },
  15846. "updatorid": {
  15847. "description": "更新人",
  15848. "type": "integer"
  15849. },
  15850. "updatorsrc": {
  15851. "description": "更新人来源 - 1:管理端 2:终端",
  15852. "type": "integer"
  15853. },
  15854. "wrstandardid": {
  15855. "description": "现货商品ID",
  15856. "type": "integer"
  15857. }
  15858. }
  15859. },
  15860. "models.ErmcpGoodsModel": {
  15861. "type": "object",
  15862. "properties": {
  15863. "areauserid": {
  15864. "description": "所属机构",
  15865. "type": "integer"
  15866. },
  15867. "convertfactor": {
  15868. "description": "标仓系数",
  15869. "type": "number"
  15870. },
  15871. "createtime": {
  15872. "description": "创建时间",
  15873. "type": "string"
  15874. },
  15875. "creatorid": {
  15876. "description": "创建人",
  15877. "type": "integer"
  15878. },
  15879. "creatorsrc": {
  15880. "description": "创建人来源 - 1:管理端 2:终端",
  15881. "type": "integer"
  15882. },
  15883. "deliverygoodsid": {
  15884. "description": "现货品种ID",
  15885. "type": "integer"
  15886. },
  15887. "isvalid": {
  15888. "description": "是否有效 - 0:无效 1:有效",
  15889. "type": "integer"
  15890. },
  15891. "modelid": {
  15892. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15893. "type": "integer"
  15894. },
  15895. "modelname": {
  15896. "description": "型号名称",
  15897. "type": "string"
  15898. },
  15899. "updatetime": {
  15900. "description": "更新时间",
  15901. "type": "string"
  15902. },
  15903. "updatorid": {
  15904. "description": "更新人",
  15905. "type": "integer"
  15906. },
  15907. "updatorsrc": {
  15908. "description": "更新人来源 - 1:管理端 2:终端",
  15909. "type": "integer"
  15910. },
  15911. "wrstandardid": {
  15912. "description": "现货商品ID",
  15913. "type": "integer"
  15914. }
  15915. }
  15916. },
  15917. "models.ErmcpHedgePosition": {
  15918. "type": "object",
  15919. "properties": {
  15920. "accountid": {
  15921. "description": "资金账号[外部母账户]",
  15922. "type": "integer"
  15923. },
  15924. "curbuyposition": {
  15925. "description": "期末买头寸",
  15926. "type": "integer"
  15927. },
  15928. "cursellposition": {
  15929. "description": "期末卖头寸",
  15930. "type": "integer"
  15931. },
  15932. "curtdbuyposition": {
  15933. "description": "期末今日买头寸",
  15934. "type": "integer"
  15935. },
  15936. "curtdsellposition": {
  15937. "description": "期末今日卖头寸",
  15938. "type": "integer"
  15939. },
  15940. "curydbuyposition": {
  15941. "description": "期末上日买头寸",
  15942. "type": "integer"
  15943. },
  15944. "curydsellposition": {
  15945. "description": "期末上日卖头寸",
  15946. "type": "integer"
  15947. },
  15948. "decreaseqty": {
  15949. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15950. "type": "integer"
  15951. },
  15952. "fretdbuyposition": {
  15953. "description": "冻结今日买头寸",
  15954. "type": "integer"
  15955. },
  15956. "fretdsellposition": {
  15957. "description": "冻结今日卖头寸",
  15958. "type": "integer"
  15959. },
  15960. "freydbuyposition": {
  15961. "description": "冻结上日买头寸",
  15962. "type": "integer"
  15963. },
  15964. "freydsellposition": {
  15965. "description": "冻结上日卖头寸",
  15966. "type": "integer"
  15967. },
  15968. "goodscode": {
  15969. "description": "商品代码",
  15970. "type": "string"
  15971. },
  15972. "goodsid": {
  15973. "description": "商品id",
  15974. "type": "integer"
  15975. },
  15976. "goodsname": {
  15977. "description": "商品名称",
  15978. "type": "string"
  15979. },
  15980. "hedgeaccountcode": {
  15981. "description": "对冲账号",
  15982. "type": "string"
  15983. },
  15984. "hedgegoodsid": {
  15985. "description": "对冲合约ID",
  15986. "type": "integer"
  15987. },
  15988. "increaseqty": {
  15989. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15990. "type": "integer"
  15991. },
  15992. "marketid": {
  15993. "description": "市场ID",
  15994. "type": "integer"
  15995. },
  15996. "relateduserid": {
  15997. "description": "关联用户id",
  15998. "type": "integer"
  15999. },
  16000. "totalcurqty": {
  16001. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16002. "type": "integer"
  16003. },
  16004. "totalydqty": {
  16005. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16006. "type": "integer"
  16007. },
  16008. "tradedate": {
  16009. "description": "交易日(yyyyMMdd)",
  16010. "type": "string"
  16011. },
  16012. "ydbuyposition": {
  16013. "description": "期初买头寸",
  16014. "type": "integer"
  16015. },
  16016. "ydsellposition": {
  16017. "description": "期初卖头寸",
  16018. "type": "integer"
  16019. }
  16020. }
  16021. },
  16022. "models.ErmcpHedgePositionDetail": {
  16023. "type": "object",
  16024. "properties": {
  16025. "buyorsell": {
  16026. "description": "买卖方向 0-买 1-卖",
  16027. "type": "integer"
  16028. },
  16029. "channelbuildtype": {
  16030. "description": "开平方向 1-建仓 2-平仓",
  16031. "type": "integer"
  16032. },
  16033. "goodscode": {
  16034. "description": "商品代码",
  16035. "type": "string"
  16036. },
  16037. "goodsname": {
  16038. "description": "商品名称",
  16039. "type": "string"
  16040. },
  16041. "hedgegoodsid": {
  16042. "description": "商品id",
  16043. "type": "integer"
  16044. },
  16045. "tradeqty": {
  16046. "description": "数量(成交数量)",
  16047. "type": "integer"
  16048. },
  16049. "tradetime": {
  16050. "description": "时间(成交时间)",
  16051. "type": "string"
  16052. }
  16053. }
  16054. },
  16055. "models.ErmcpHisExposure": {
  16056. "type": "object",
  16057. "properties": {
  16058. "needhedgeexposoure": {
  16059. "description": "应套保敞口",
  16060. "type": "number"
  16061. },
  16062. "reckondate": {
  16063. "description": "日照时期(yyyyMMdd)",
  16064. "type": "string"
  16065. },
  16066. "totalexposure": {
  16067. "description": "总敞口",
  16068. "type": "number"
  16069. }
  16070. }
  16071. },
  16072. "models.ErmcpHisExposureS": {
  16073. "type": "object",
  16074. "properties": {
  16075. "data": {
  16076. "description": "历史敞口",
  16077. "type": "array",
  16078. "items": {
  16079. "$ref": "#/definitions/models.ErmcpHisExposure"
  16080. }
  16081. },
  16082. "enumdicname": {
  16083. "description": "单位名称",
  16084. "type": "string"
  16085. },
  16086. "middlegoodscode": {
  16087. "description": "套保品种代码",
  16088. "type": "string"
  16089. },
  16090. "middlegoodsid": {
  16091. "description": "套保品种ID",
  16092. "type": "integer"
  16093. },
  16094. "middlegoodsname": {
  16095. "description": "套保品种名称",
  16096. "type": "string"
  16097. }
  16098. }
  16099. },
  16100. "models.ErmcpLoginTaAccount": {
  16101. "type": "object",
  16102. "properties": {
  16103. "accountid": {
  16104. "description": "账号id",
  16105. "type": "integer"
  16106. },
  16107. "accountname": {
  16108. "description": "账号名称",
  16109. "type": "string"
  16110. }
  16111. }
  16112. },
  16113. "models.ErmcpLoginUser": {
  16114. "type": "object",
  16115. "properties": {
  16116. "acclist": {
  16117. "description": "关联资金账号",
  16118. "type": "array",
  16119. "items": {
  16120. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16121. }
  16122. },
  16123. "accountname": {
  16124. "description": "用户名称",
  16125. "type": "string"
  16126. },
  16127. "clientroleid": {
  16128. "description": "角色id(usertype=2)",
  16129. "type": "integer"
  16130. },
  16131. "createtime": {
  16132. "description": "创建时间",
  16133. "type": "string"
  16134. },
  16135. "logincode": {
  16136. "description": "登录代码",
  16137. "type": "string"
  16138. },
  16139. "loginid": {
  16140. "description": "登录id(LOGINID)",
  16141. "type": "integer"
  16142. },
  16143. "loginname": {
  16144. "description": "登录名称(loginaccount表中的accountname字段)",
  16145. "type": "string"
  16146. },
  16147. "loginstatus": {
  16148. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16149. "type": "integer"
  16150. },
  16151. "memberuserid": {
  16152. "description": "所属会员id",
  16153. "type": "integer"
  16154. },
  16155. "mobile": {
  16156. "description": "手机号",
  16157. "type": "string"
  16158. },
  16159. "modifytime": {
  16160. "description": "修改时间",
  16161. "type": "string"
  16162. },
  16163. "password": {
  16164. "description": "密码(不可解密)",
  16165. "type": "string"
  16166. },
  16167. "rolename": {
  16168. "description": "角色名称",
  16169. "type": "string"
  16170. },
  16171. "rolestatus": {
  16172. "description": "角色状态 1-启用 2-停用",
  16173. "type": "integer"
  16174. },
  16175. "roletype": {
  16176. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16177. "type": "string"
  16178. },
  16179. "userid": {
  16180. "description": "用户id",
  16181. "type": "integer"
  16182. },
  16183. "usertype": {
  16184. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16185. "type": "integer"
  16186. }
  16187. }
  16188. },
  16189. "models.ErmcpLoginUserEx": {
  16190. "type": "object",
  16191. "properties": {
  16192. "accountstatus": {
  16193. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16194. "type": "integer"
  16195. },
  16196. "mobile": {
  16197. "description": "手机号",
  16198. "type": "string"
  16199. },
  16200. "querytype": {
  16201. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16202. "type": "integer"
  16203. },
  16204. "roleid": {
  16205. "description": "角色id(交易账户-\u003e用户id)",
  16206. "type": "integer"
  16207. },
  16208. "rolename": {
  16209. "description": "角色名称(交易账户-\u003e用户名称)",
  16210. "type": "string"
  16211. },
  16212. "userlist": {
  16213. "description": "用户列表",
  16214. "type": "array",
  16215. "items": {
  16216. "$ref": "#/definitions/models.ErmcpLoginUser"
  16217. }
  16218. },
  16219. "usertype": {
  16220. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16221. "type": "integer"
  16222. }
  16223. }
  16224. },
  16225. "models.ErmcpMiddleGoodsChangeLog": {
  16226. "type": "object",
  16227. "properties": {
  16228. "aftervalue": {
  16229. "description": "变更后",
  16230. "type": "number"
  16231. },
  16232. "applyid": {
  16233. "description": "操作人",
  16234. "type": "integer"
  16235. },
  16236. "applyname": {
  16237. "description": "操作人名称",
  16238. "type": "string"
  16239. },
  16240. "applysrc": {
  16241. "description": "操作来源 - 1:管理端 2:终端",
  16242. "type": "integer"
  16243. },
  16244. "beforevalue": {
  16245. "description": "变更前",
  16246. "type": "number"
  16247. },
  16248. "changelogtype": {
  16249. "description": "变更流水类型 - 1:套保比率变更",
  16250. "type": "integer"
  16251. },
  16252. "handlestatus": {
  16253. "description": "处理状态",
  16254. "type": "integer"
  16255. },
  16256. "logdatetime": {
  16257. "description": "流水日期",
  16258. "type": "string"
  16259. },
  16260. "logid": {
  16261. "description": "流水ID",
  16262. "type": "integer"
  16263. },
  16264. "logremark": {
  16265. "description": "流水备注",
  16266. "type": "string"
  16267. },
  16268. "middlegoodsid": {
  16269. "description": "套保品种ID",
  16270. "type": "integer"
  16271. },
  16272. "tradedate": {
  16273. "description": "交易日(yyyyMMdd)",
  16274. "type": "string"
  16275. },
  16276. "updatetime": {
  16277. "description": "更新时间",
  16278. "type": "string"
  16279. }
  16280. }
  16281. },
  16282. "models.ErmcpMiddleGoodsDetail": {
  16283. "type": "object",
  16284. "properties": {
  16285. "cvList": {
  16286. "description": "期货品种折算列表",
  16287. "type": "array",
  16288. "items": {
  16289. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16290. }
  16291. },
  16292. "mg": {
  16293. "description": "套保品种基本信息",
  16294. "type": "object",
  16295. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16296. },
  16297. "wrcList": {
  16298. "description": "现货品种列表(现货商品折算配置)",
  16299. "type": "array",
  16300. "items": {
  16301. "$ref": "#/definitions/models.WRSConverTDetail"
  16302. }
  16303. }
  16304. }
  16305. },
  16306. "models.ErmcpMiddleGoodsModel": {
  16307. "type": "object",
  16308. "properties": {
  16309. "areauserid": {
  16310. "description": "机构用户ID",
  16311. "type": "integer"
  16312. },
  16313. "createtime": {
  16314. "description": "修改时间",
  16315. "type": "string"
  16316. },
  16317. "enumdicname": {
  16318. "description": "单位名称",
  16319. "type": "string"
  16320. },
  16321. "evaluateratio": {
  16322. "description": "估价系数",
  16323. "type": "number"
  16324. },
  16325. "goodsgroupid": {
  16326. "description": "关联期货品种ID",
  16327. "type": "integer"
  16328. },
  16329. "goodsunitid": {
  16330. "description": "单位ID",
  16331. "type": "integer"
  16332. },
  16333. "isvalid": {
  16334. "description": "状态 0-无效(停用) 1-有效(正常)",
  16335. "type": "integer"
  16336. },
  16337. "middlegoodscode": {
  16338. "description": "套保品种代码",
  16339. "type": "string"
  16340. },
  16341. "middlegoodsid": {
  16342. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16343. "type": "integer"
  16344. },
  16345. "middlegoodsname": {
  16346. "description": "套保品种名称",
  16347. "type": "string"
  16348. },
  16349. "modifytime": {
  16350. "description": "修改时间",
  16351. "type": "string"
  16352. },
  16353. "needarbitrageratio": {
  16354. "description": "套利比例",
  16355. "type": "number"
  16356. },
  16357. "needhedgeratio": {
  16358. "description": "套保比率",
  16359. "type": "number"
  16360. },
  16361. "qtydecimalplace": {
  16362. "description": "数量小数位",
  16363. "type": "integer"
  16364. },
  16365. "relatedgoodsid": {
  16366. "description": "关联交易商品ID",
  16367. "type": "integer"
  16368. },
  16369. "relatedgoodstype": {
  16370. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16371. "type": "integer"
  16372. },
  16373. "remark": {
  16374. "description": "备注",
  16375. "type": "string"
  16376. }
  16377. }
  16378. },
  16379. "models.ErmcpOPLogModel": {
  16380. "type": "object",
  16381. "properties": {
  16382. "aftervalue": {
  16383. "description": "变更后",
  16384. "type": "number"
  16385. },
  16386. "applyid": {
  16387. "description": "操作人ID",
  16388. "type": "string"
  16389. },
  16390. "applyname": {
  16391. "description": "操作人名称",
  16392. "type": "string"
  16393. },
  16394. "beforevalue": {
  16395. "description": "变更前",
  16396. "type": "number"
  16397. },
  16398. "biztype": {
  16399. "description": "业务类型 - 1:套保计划 2:现货合同",
  16400. "type": "integer"
  16401. },
  16402. "contracttype": {
  16403. "description": "现货合同类型 - 1:采购 -1:销售",
  16404. "type": "integer"
  16405. },
  16406. "logvalue": {
  16407. "description": "数值",
  16408. "type": "number"
  16409. },
  16410. "operatelogtype": {
  16411. "description": "操作流水类型",
  16412. "type": "integer"
  16413. },
  16414. "operatelogtypedesc": {
  16415. "description": "操作流水类型名称",
  16416. "type": "string"
  16417. },
  16418. "relatedid": {
  16419. "description": "现货合同ID\\套保计划",
  16420. "type": "string"
  16421. },
  16422. "updatetime": {
  16423. "description": "更新时间",
  16424. "type": "string"
  16425. }
  16426. }
  16427. },
  16428. "models.ErmcpPendingAudit": {
  16429. "type": "object",
  16430. "properties": {
  16431. "areastockqty": {
  16432. "description": "待审核数量: 库存申请",
  16433. "type": "integer"
  16434. },
  16435. "businessdjqty": {
  16436. "description": "待审核数量: 点价",
  16437. "type": "integer"
  16438. },
  16439. "businessfpqty": {
  16440. "description": "待审核数量: 发票",
  16441. "type": "integer"
  16442. },
  16443. "businessjsqty": {
  16444. "description": "待审核数量: 结算",
  16445. "type": "integer"
  16446. },
  16447. "businesskxqty": {
  16448. "description": "待审核数量: 款项",
  16449. "type": "integer"
  16450. },
  16451. "hedgeplanqty": {
  16452. "description": "待审核数量: 套保计划",
  16453. "type": "integer"
  16454. },
  16455. "spotcontractqty": {
  16456. "description": "待审核数量: 现货合同",
  16457. "type": "integer"
  16458. },
  16459. "userqty": {
  16460. "description": "待审核数量: 用户",
  16461. "type": "integer"
  16462. }
  16463. }
  16464. },
  16465. "models.ErmcpRealExposureModel": {
  16466. "type": "object",
  16467. "properties": {
  16468. "AreaUserID": {
  16469. "description": "所属机构",
  16470. "type": "integer"
  16471. },
  16472. "BuyFutureQty": {
  16473. "description": "买入期货数量",
  16474. "type": "number"
  16475. },
  16476. "BuyPlanQty": {
  16477. "description": "采购计划数量",
  16478. "type": "number"
  16479. },
  16480. "BuyPricedQty": {
  16481. "description": "采购合同已定价数量",
  16482. "type": "number"
  16483. },
  16484. "MiddleGoodsCode": {
  16485. "description": "套保品种代码",
  16486. "type": "string"
  16487. },
  16488. "MiddleGoodsHedgeRatio": {
  16489. "description": "套保比例",
  16490. "type": "number"
  16491. },
  16492. "MiddleGoodsID": {
  16493. "description": "套保品种",
  16494. "type": "integer"
  16495. },
  16496. "MiddleGoodsName": {
  16497. "description": "套保品种名称",
  16498. "type": "string"
  16499. },
  16500. "NeedHedgeExposoure": {
  16501. "description": "应套保敞口(套保敞口)",
  16502. "type": "number"
  16503. },
  16504. "NeedHedgeRatio": {
  16505. "description": "应套保敞口比例",
  16506. "type": "number"
  16507. },
  16508. "OriBuyFutureQty": {
  16509. "description": "期初买入期货数量",
  16510. "type": "number"
  16511. },
  16512. "OriBuyPlanQty": {
  16513. "description": "期初采购计划数量",
  16514. "type": "number"
  16515. },
  16516. "OriBuyPricedQty": {
  16517. "description": "期初采购合同已定价数量",
  16518. "type": "number"
  16519. },
  16520. "OriSellFutureQty": {
  16521. "description": "期初卖出期货数量",
  16522. "type": "number"
  16523. },
  16524. "OriSellPlanQty": {
  16525. "description": "期初销售计划数量",
  16526. "type": "number"
  16527. },
  16528. "OriSellPricedQty": {
  16529. "description": "期初销售合同已定价数量",
  16530. "type": "number"
  16531. },
  16532. "SellFutureQty": {
  16533. "description": "卖出期货数量",
  16534. "type": "number"
  16535. },
  16536. "SellPlanQty": {
  16537. "description": "销售计划数量",
  16538. "type": "number"
  16539. },
  16540. "SellPricedQty": {
  16541. "description": "销售合同已定价数量",
  16542. "type": "number"
  16543. },
  16544. "TotalExposure": {
  16545. "description": "总敞口",
  16546. "type": "number"
  16547. },
  16548. "TotalFutureQty": {
  16549. "description": "期货总量",
  16550. "type": "number"
  16551. },
  16552. "TotalHedgeRatio": {
  16553. "description": "敞口比例",
  16554. "type": "number"
  16555. },
  16556. "TotalNeedHedgeQty": {
  16557. "description": "应套保总量(现货应套保总量)",
  16558. "type": "number"
  16559. },
  16560. "TotalSpotQty": {
  16561. "description": "现货总量",
  16562. "type": "number"
  16563. },
  16564. "arbitrageqty": {
  16565. "description": "套利量",
  16566. "type": "number"
  16567. },
  16568. "diffArbitrageQty": {
  16569. "description": "套利变动量",
  16570. "type": "number"
  16571. },
  16572. "diffExposoureQty": {
  16573. "description": "变动量(套保敞口)",
  16574. "type": "number"
  16575. },
  16576. "diffFutuQty": {
  16577. "description": "变动量(期货总量)",
  16578. "type": "number"
  16579. },
  16580. "diffHedgeQty": {
  16581. "description": "套保变动量",
  16582. "type": "number"
  16583. },
  16584. "diffQty": {
  16585. "description": "变动量(总敞口)",
  16586. "type": "number"
  16587. },
  16588. "diffSpotHedgeQty": {
  16589. "description": "变动量(现货应套保总量)",
  16590. "type": "number"
  16591. },
  16592. "diffSpotQty": {
  16593. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16594. "type": "number"
  16595. },
  16596. "enumdicname": {
  16597. "description": "单位名称",
  16598. "type": "string"
  16599. },
  16600. "hedgeqty": {
  16601. "description": "套保量",
  16602. "type": "number"
  16603. },
  16604. "needarbitrageqty": {
  16605. "description": "应套利量",
  16606. "type": "number"
  16607. },
  16608. "needarbitrageratio": {
  16609. "description": "套利比例",
  16610. "type": "number"
  16611. },
  16612. "needhedgeqty": {
  16613. "description": "应套保量",
  16614. "type": "number"
  16615. },
  16616. "oriTotalFutuQty": {
  16617. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16618. "type": "number"
  16619. },
  16620. "oriTotalSpotQty": {
  16621. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16622. "type": "number"
  16623. },
  16624. "oriarbitrageqty": {
  16625. "description": "期初套利量",
  16626. "type": "number"
  16627. },
  16628. "orihedgeqty": {
  16629. "description": "期初套保量",
  16630. "type": "number"
  16631. },
  16632. "orineedhedgeexposoure": {
  16633. "description": "期初套保敞口",
  16634. "type": "number"
  16635. },
  16636. "oritotalexposure": {
  16637. "description": "期初总敞口",
  16638. "type": "number"
  16639. },
  16640. "oritotalfutureqty": {
  16641. "description": "期初期货总量",
  16642. "type": "number"
  16643. },
  16644. "oritotalneedhedgeqty": {
  16645. "description": "期初现货应套保量",
  16646. "type": "number"
  16647. }
  16648. }
  16649. },
  16650. "models.ErmcpRole": {
  16651. "type": "object",
  16652. "properties": {
  16653. "areauserid": {
  16654. "description": "所属机构",
  16655. "type": "integer"
  16656. },
  16657. "autoid": {
  16658. "description": "角色ID(自增ID)",
  16659. "type": "integer"
  16660. },
  16661. "modifierid": {
  16662. "description": "修改人(创建人)",
  16663. "type": "integer"
  16664. },
  16665. "modifiername": {
  16666. "description": "修改人名称",
  16667. "type": "string"
  16668. },
  16669. "modifytime": {
  16670. "description": "修改时间(创建时间)",
  16671. "type": "string"
  16672. },
  16673. "rolename": {
  16674. "description": "角色名称",
  16675. "type": "string"
  16676. },
  16677. "rolestatus": {
  16678. "description": "角色状态 - 1:启用 2:停用",
  16679. "type": "integer"
  16680. },
  16681. "roletype": {
  16682. "description": "角色类型 - 1- 管理端 2- 交易端",
  16683. "type": "integer"
  16684. }
  16685. }
  16686. },
  16687. "models.ErmcpRoleMenu": {
  16688. "type": "object",
  16689. "properties": {
  16690. "iconame": {
  16691. "description": "菜单图标",
  16692. "type": "string"
  16693. },
  16694. "ishadrole": {
  16695. "description": "是否有权限",
  16696. "type": "boolean"
  16697. },
  16698. "menutype": {
  16699. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16700. "type": "integer"
  16701. },
  16702. "parentcode": {
  16703. "description": "上级资源代码",
  16704. "type": "string"
  16705. },
  16706. "remark": {
  16707. "description": "菜单备注",
  16708. "type": "string"
  16709. },
  16710. "resourcecode": {
  16711. "description": "菜单代码",
  16712. "type": "string"
  16713. },
  16714. "resourcelevel": {
  16715. "description": "级别",
  16716. "type": "integer"
  16717. },
  16718. "resourcename": {
  16719. "description": "菜单名称",
  16720. "type": "string"
  16721. },
  16722. "roleid": {
  16723. "description": "角色id",
  16724. "type": "integer"
  16725. },
  16726. "sort": {
  16727. "description": "排序",
  16728. "type": "integer"
  16729. },
  16730. "url": {
  16731. "description": "URL",
  16732. "type": "string"
  16733. },
  16734. "userid": {
  16735. "description": "用户id",
  16736. "type": "integer"
  16737. }
  16738. }
  16739. },
  16740. "models.ErmcpRoleMenuEx": {
  16741. "type": "object",
  16742. "properties": {
  16743. "menu": {
  16744. "description": "父级菜单",
  16745. "type": "object",
  16746. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16747. },
  16748. "subMenu": {
  16749. "description": "子级菜单",
  16750. "type": "array",
  16751. "items": {
  16752. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16753. }
  16754. }
  16755. }
  16756. },
  16757. "models.ErmcpTaAccount": {
  16758. "type": "object",
  16759. "properties": {
  16760. "accountid": {
  16761. "description": "账户id",
  16762. "type": "integer"
  16763. },
  16764. "accountname": {
  16765. "description": "账户名称",
  16766. "type": "string"
  16767. },
  16768. "currencyid": {
  16769. "description": "币种id",
  16770. "type": "integer"
  16771. },
  16772. "hedgeaccountcode": {
  16773. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16774. "type": "string"
  16775. },
  16776. "ismain": {
  16777. "description": "是否主账户 0-否 1-是",
  16778. "type": "integer"
  16779. },
  16780. "parentaccountid": {
  16781. "description": "父账户id",
  16782. "type": "integer"
  16783. },
  16784. "relateduserid": {
  16785. "description": "关联userid",
  16786. "type": "integer"
  16787. },
  16788. "tradestatus": {
  16789. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16790. "type": "integer"
  16791. },
  16792. "userid": {
  16793. "description": "用户id",
  16794. "type": "integer"
  16795. }
  16796. }
  16797. },
  16798. "models.ErmcpTaAccountEx": {
  16799. "type": "object",
  16800. "properties": {
  16801. "mainAcc": {
  16802. "description": "主账号",
  16803. "type": "object",
  16804. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16805. },
  16806. "subacclist": {
  16807. "description": "子账号列表",
  16808. "type": "array",
  16809. "items": {
  16810. "$ref": "#/definitions/models.ErmcpTaAccount"
  16811. }
  16812. }
  16813. }
  16814. },
  16815. "models.ErmcpTaAccountInfo": {
  16816. "type": "object",
  16817. "properties": {
  16818. "accountid": {
  16819. "description": "资金账户ID",
  16820. "type": "integer"
  16821. },
  16822. "accountname": {
  16823. "description": "账户名称",
  16824. "type": "string"
  16825. },
  16826. "balance": {
  16827. "description": "期初余额",
  16828. "type": "number"
  16829. },
  16830. "capitalbalance": {
  16831. "description": "本金余额[外部子账户实际出入金余额]",
  16832. "type": "number"
  16833. },
  16834. "closepl": {
  16835. "description": "今日平仓盈亏",
  16836. "type": "number"
  16837. },
  16838. "creditdecrease": {
  16839. "description": "今日授信减少",
  16840. "type": "number"
  16841. },
  16842. "creditincrease": {
  16843. "description": "今日授信增加",
  16844. "type": "number"
  16845. },
  16846. "curdebt": {
  16847. "description": "期末欠款",
  16848. "type": "number"
  16849. },
  16850. "currencyid": {
  16851. "description": "货币ID",
  16852. "type": "integer"
  16853. },
  16854. "currentbalance": {
  16855. "description": "期末余额",
  16856. "type": "number"
  16857. },
  16858. "freezecharge": {
  16859. "description": "手续费冻结",
  16860. "type": "number"
  16861. },
  16862. "freezemargin": {
  16863. "description": "冻结保证金",
  16864. "type": "number"
  16865. },
  16866. "fromaccountid": {
  16867. "description": "所属上级账户",
  16868. "type": "integer"
  16869. },
  16870. "inamount": {
  16871. "description": "今日入金金额(包括三方入金)",
  16872. "type": "number"
  16873. },
  16874. "ismain": {
  16875. "description": "是否母账号 0:不是母账户 1:是母账户",
  16876. "type": "integer"
  16877. },
  16878. "mortgagecredit": {
  16879. "description": "授信金额",
  16880. "type": "number"
  16881. },
  16882. "oridebt": {
  16883. "description": "期初欠款",
  16884. "type": "number"
  16885. },
  16886. "orifreezecharge": {
  16887. "description": "期初手续费冻结",
  16888. "type": "number"
  16889. },
  16890. "orifreezemargin": {
  16891. "description": "期初冻结保证金",
  16892. "type": "number"
  16893. },
  16894. "orimortgagecredit": {
  16895. "description": "期初授信金额",
  16896. "type": "number"
  16897. },
  16898. "oriothercredit": {
  16899. "description": "期初其它授信金额",
  16900. "type": "number"
  16901. },
  16902. "oriotherfreezemargin": {
  16903. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16904. "type": "number"
  16905. },
  16906. "orioutamountfreeze": {
  16907. "description": "期初出金冻结",
  16908. "type": "number"
  16909. },
  16910. "oriusedmargin": {
  16911. "description": "期初占用保证金",
  16912. "type": "number"
  16913. },
  16914. "othercredit": {
  16915. "description": "其它授信金额",
  16916. "type": "number"
  16917. },
  16918. "othercreditdecrease": {
  16919. "description": "今日其它授信减少",
  16920. "type": "number"
  16921. },
  16922. "othercreditincrease": {
  16923. "description": "今日其它授信增加",
  16924. "type": "number"
  16925. },
  16926. "otherfreezemargin": {
  16927. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16928. "type": "number"
  16929. },
  16930. "outamount": {
  16931. "description": "今日出金金额(包括三方出金)",
  16932. "type": "number"
  16933. },
  16934. "outamountfreeze": {
  16935. "description": "出金冻结",
  16936. "type": "number"
  16937. },
  16938. "outthreshold": {
  16939. "description": "出金阈值",
  16940. "type": "number"
  16941. },
  16942. "parentaccountid": {
  16943. "description": "所属根账号",
  16944. "type": "integer"
  16945. },
  16946. "paycharge": {
  16947. "description": "今日手续费支出",
  16948. "type": "number"
  16949. },
  16950. "relateduserid": {
  16951. "description": "关联用户",
  16952. "type": "integer"
  16953. },
  16954. "signstatus": {
  16955. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16956. "type": "integer"
  16957. },
  16958. "sublevelpath": {
  16959. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16960. "type": "string"
  16961. },
  16962. "taaccounttype": {
  16963. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16964. "type": "integer"
  16965. },
  16966. "thirdinamount": {
  16967. "description": "今日三方入金",
  16968. "type": "number"
  16969. },
  16970. "thirdoutamount": {
  16971. "description": "今日三方出金",
  16972. "type": "number"
  16973. },
  16974. "tradestatus": {
  16975. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16976. "type": "integer"
  16977. },
  16978. "transferamount": {
  16979. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16980. "type": "number"
  16981. },
  16982. "usedmargin": {
  16983. "description": "占用保证金",
  16984. "type": "number"
  16985. },
  16986. "userid": {
  16987. "description": "用户ID",
  16988. "type": "integer"
  16989. }
  16990. }
  16991. },
  16992. "models.ErmcpTaAccountM": {
  16993. "type": "object",
  16994. "properties": {
  16995. "accountid": {
  16996. "description": "账户id",
  16997. "type": "integer"
  16998. },
  16999. "accountname": {
  17000. "description": "账户名称",
  17001. "type": "string"
  17002. },
  17003. "currencyid": {
  17004. "description": "币种id",
  17005. "type": "integer"
  17006. },
  17007. "fcid": {
  17008. "description": "期货公司id",
  17009. "type": "integer"
  17010. },
  17011. "fcname": {
  17012. "description": "期货公司代码",
  17013. "type": "string"
  17014. },
  17015. "hedgeaccountcode": {
  17016. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17017. "type": "string"
  17018. },
  17019. "ismain": {
  17020. "description": "是否主账户 0-否 1-是",
  17021. "type": "integer"
  17022. },
  17023. "parentaccountid": {
  17024. "description": "父账户id",
  17025. "type": "integer"
  17026. },
  17027. "relateduserid": {
  17028. "description": "关联userid",
  17029. "type": "integer"
  17030. },
  17031. "tradestatus": {
  17032. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17033. "type": "integer"
  17034. },
  17035. "userid": {
  17036. "description": "用户id",
  17037. "type": "integer"
  17038. }
  17039. }
  17040. },
  17041. "models.ErmcpTradeConfigTMP": {
  17042. "type": "object",
  17043. "properties": {
  17044. "areauserid": {
  17045. "description": "所属机构",
  17046. "type": "integer"
  17047. },
  17048. "basiccurrencyid": {
  17049. "description": "基本币种ID[汇率] - 目标币种",
  17050. "type": "integer"
  17051. },
  17052. "mainaccountid": {
  17053. "description": "主账户ID",
  17054. "type": "integer"
  17055. },
  17056. "modifierid": {
  17057. "description": "修改人",
  17058. "type": "integer"
  17059. },
  17060. "remark": {
  17061. "description": "备注",
  17062. "type": "string"
  17063. },
  17064. "tradeconfigtmpid": {
  17065. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17066. "type": "integer"
  17067. },
  17068. "tradeconfigtmpname": {
  17069. "description": "交易配置模板名称",
  17070. "type": "string"
  17071. },
  17072. "tradeconfigtmptype": {
  17073. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17074. "type": "integer"
  17075. },
  17076. "updatetime": {
  17077. "description": "更新时间",
  17078. "type": "string"
  17079. }
  17080. }
  17081. },
  17082. "models.ErmcpUserModel": {
  17083. "type": "object",
  17084. "properties": {
  17085. "address": {
  17086. "description": "通讯地址",
  17087. "type": "string"
  17088. },
  17089. "attachment1": {
  17090. "description": "附件1",
  17091. "type": "string"
  17092. },
  17093. "audittime": {
  17094. "description": "审核时间",
  17095. "type": "string"
  17096. },
  17097. "cardbackphotourl": {
  17098. "description": "证件反面图片地址",
  17099. "type": "string"
  17100. },
  17101. "cardfrontphotourl": {
  17102. "description": "证件正面图片地址",
  17103. "type": "string"
  17104. },
  17105. "cardnum": {
  17106. "description": "证件号码",
  17107. "type": "string"
  17108. },
  17109. "cardtype": {
  17110. "description": "证件类型",
  17111. "type": "integer"
  17112. },
  17113. "cardtypename": {
  17114. "description": "证件类型名称",
  17115. "type": "string"
  17116. },
  17117. "cityid": {
  17118. "description": "市",
  17119. "type": "integer"
  17120. },
  17121. "contactname": {
  17122. "description": "联系人",
  17123. "type": "string"
  17124. },
  17125. "countryid": {
  17126. "description": "国家",
  17127. "type": "integer"
  17128. },
  17129. "createtime": {
  17130. "description": "创建时间",
  17131. "type": "string"
  17132. },
  17133. "customername": {
  17134. "description": "企业名称",
  17135. "type": "string"
  17136. },
  17137. "districtid": {
  17138. "description": "区域",
  17139. "type": "integer"
  17140. },
  17141. "email": {
  17142. "description": "邮件",
  17143. "type": "string"
  17144. },
  17145. "legalpersonname": {
  17146. "description": "法人姓名(企业)",
  17147. "type": "string"
  17148. },
  17149. "memberuserid": {
  17150. "description": "所属机构ID",
  17151. "type": "integer"
  17152. },
  17153. "mobile": {
  17154. "description": "手机号码",
  17155. "type": "string"
  17156. },
  17157. "modifytime": {
  17158. "description": "修改时间",
  17159. "type": "string"
  17160. },
  17161. "nickname": {
  17162. "description": "昵称",
  17163. "type": "string"
  17164. },
  17165. "provinceid": {
  17166. "description": "省",
  17167. "type": "integer"
  17168. },
  17169. "remark": {
  17170. "description": "备注",
  17171. "type": "string"
  17172. },
  17173. "status": {
  17174. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17175. "type": "integer"
  17176. },
  17177. "statusdesc": {
  17178. "description": "账户状态中文描述",
  17179. "type": "string"
  17180. },
  17181. "taxpayernum": {
  17182. "description": "纳税人识别号",
  17183. "type": "string"
  17184. },
  17185. "telphone": {
  17186. "description": "联系电话",
  17187. "type": "string"
  17188. },
  17189. "userid": {
  17190. "description": "用户ID",
  17191. "type": "integer"
  17192. },
  17193. "userinfotype": {
  17194. "description": "客户类型",
  17195. "type": "string"
  17196. }
  17197. }
  17198. },
  17199. "models.ErmcpWareHouseInfo": {
  17200. "type": "object",
  17201. "properties": {
  17202. "address": {
  17203. "description": "详细地址",
  17204. "type": "string"
  17205. },
  17206. "areauserid": {
  17207. "description": "所属机构",
  17208. "type": "integer"
  17209. },
  17210. "autoid": {
  17211. "description": "自增ID(仓库ID)",
  17212. "type": "integer"
  17213. },
  17214. "cityid": {
  17215. "description": "市",
  17216. "type": "integer"
  17217. },
  17218. "contactname": {
  17219. "description": "联系人",
  17220. "type": "string"
  17221. },
  17222. "contactnum": {
  17223. "description": "联系电话",
  17224. "type": "string"
  17225. },
  17226. "countryid": {
  17227. "description": "国家",
  17228. "type": "integer"
  17229. },
  17230. "createtime": {
  17231. "description": "创建时间",
  17232. "type": "string"
  17233. },
  17234. "districtid": {
  17235. "description": "区",
  17236. "type": "integer"
  17237. },
  17238. "hasvideo": {
  17239. "description": "是否有视频 - 0:无 1:有",
  17240. "type": "integer"
  17241. },
  17242. "provinceid": {
  17243. "description": "省",
  17244. "type": "integer"
  17245. },
  17246. "remark": {
  17247. "description": "审核备注",
  17248. "type": "string"
  17249. },
  17250. "videourl": {
  17251. "description": "视频地址",
  17252. "type": "string"
  17253. },
  17254. "warehousecode": {
  17255. "description": "仓库代码",
  17256. "type": "string"
  17257. },
  17258. "warehousename": {
  17259. "description": "仓库名称",
  17260. "type": "string"
  17261. },
  17262. "warehousestatus": {
  17263. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17264. "type": "integer"
  17265. },
  17266. "warehousetype": {
  17267. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17268. "type": "integer"
  17269. }
  17270. }
  17271. },
  17272. "models.Externalexchange": {
  17273. "type": "object",
  17274. "required": [
  17275. "autoid"
  17276. ],
  17277. "properties": {
  17278. "autoid": {
  17279. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17280. "type": "integer"
  17281. },
  17282. "exchangefullname": {
  17283. "description": "外部交易所全称",
  17284. "type": "string"
  17285. },
  17286. "exexchangecode": {
  17287. "description": "外部交易所代码",
  17288. "type": "string"
  17289. },
  17290. "exexchangename": {
  17291. "description": "外部交易所名称(简称)",
  17292. "type": "string"
  17293. },
  17294. "ismarketprice": {
  17295. "description": "是否支持市价 - 0:不支持 1:支持",
  17296. "type": "integer"
  17297. },
  17298. "quotegear": {
  17299. "description": "行情档位(1-10)",
  17300. "type": "integer"
  17301. },
  17302. "showbrokerflag": {
  17303. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17304. "type": "integer"
  17305. },
  17306. "updatetime": {
  17307. "description": "更新时间",
  17308. "type": "string"
  17309. }
  17310. }
  17311. },
  17312. "models.Funcmenulist": {
  17313. "type": "object",
  17314. "required": [
  17315. "resourcecode"
  17316. ],
  17317. "properties": {
  17318. "iconame": {
  17319. "description": "菜单图标",
  17320. "type": "string"
  17321. },
  17322. "menutype": {
  17323. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17324. "type": "integer"
  17325. },
  17326. "parentcode": {
  17327. "description": "上级资源代码",
  17328. "type": "string"
  17329. },
  17330. "remark": {
  17331. "description": "备注",
  17332. "type": "string"
  17333. },
  17334. "resourcecode": {
  17335. "description": "资源代码",
  17336. "type": "string"
  17337. },
  17338. "resourcelevel": {
  17339. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17340. "type": "integer"
  17341. },
  17342. "resourcename": {
  17343. "description": "资源名",
  17344. "type": "string"
  17345. },
  17346. "sort": {
  17347. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17348. "type": "integer"
  17349. },
  17350. "url": {
  17351. "description": "URL",
  17352. "type": "string"
  17353. }
  17354. }
  17355. },
  17356. "models.Goods": {
  17357. "type": "object",
  17358. "required": [
  17359. "goodscode",
  17360. "goodsid",
  17361. "goodsname",
  17362. "marketid"
  17363. ],
  17364. "properties": {
  17365. "agreeunit": {
  17366. "description": "合约单位",
  17367. "type": "number"
  17368. },
  17369. "auditaccountid": {
  17370. "description": "审核操作员账号",
  17371. "type": "integer"
  17372. },
  17373. "audittime": {
  17374. "description": "审核时间",
  17375. "type": "string"
  17376. },
  17377. "cancelaccountid": {
  17378. "description": "注销操作员账号",
  17379. "type": "integer"
  17380. },
  17381. "canceltime": {
  17382. "description": "注销时间",
  17383. "type": "string"
  17384. },
  17385. "closepricemode": {
  17386. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17387. "type": "integer"
  17388. },
  17389. "closepriceparam": {
  17390. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17391. "type": "number"
  17392. },
  17393. "createtime": {
  17394. "description": "创建时间",
  17395. "type": "string"
  17396. },
  17397. "creatorid": {
  17398. "description": "创建人",
  17399. "type": "integer"
  17400. },
  17401. "currencyid": {
  17402. "description": "报价货币ID",
  17403. "type": "integer"
  17404. },
  17405. "cutmode": {
  17406. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17407. "type": "integer"
  17408. },
  17409. "decimalplace": {
  17410. "description": "报价小数位",
  17411. "type": "integer"
  17412. },
  17413. "delistingdate": {
  17414. "description": "商品退市时间(状态:退市) -- 已作废",
  17415. "type": "string"
  17416. },
  17417. "delistingmode": {
  17418. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17419. "type": "integer"
  17420. },
  17421. "deliveryflag": {
  17422. "description": "交割标志 - 0:不可交割 1:可交割",
  17423. "type": "integer"
  17424. },
  17425. "forceclosemode": {
  17426. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17427. "type": "integer"
  17428. },
  17429. "forceclosevalue": {
  17430. "description": "定期强平参数 [收益权]",
  17431. "type": "integer"
  17432. },
  17433. "goodscode": {
  17434. "description": "商品代码(内部)",
  17435. "type": "string"
  17436. },
  17437. "goodscurrencyid": {
  17438. "description": "合约货币ID",
  17439. "type": "integer"
  17440. },
  17441. "goodsgroupid": {
  17442. "description": "所属商品组ID",
  17443. "type": "integer"
  17444. },
  17445. "goodsid": {
  17446. "description": "商品ID(自增ID SEQ_GOODS)",
  17447. "type": "integer"
  17448. },
  17449. "goodsname": {
  17450. "description": "商品名称",
  17451. "type": "string"
  17452. },
  17453. "goodsquotetype": {
  17454. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17455. "type": "integer"
  17456. },
  17457. "goodsstatus": {
  17458. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17459. "type": "integer"
  17460. },
  17461. "goodstradetype": {
  17462. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17463. "type": "integer"
  17464. },
  17465. "goodunitid": {
  17466. "description": "报价单位ID",
  17467. "type": "integer"
  17468. },
  17469. "hasquoter": {
  17470. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17471. "type": "integer"
  17472. },
  17473. "hqprotecttime": {
  17474. "description": "行情保护时间(秒)",
  17475. "type": "integer"
  17476. },
  17477. "innerdealmode": {
  17478. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17479. "type": "integer"
  17480. },
  17481. "isbuylimited": {
  17482. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17483. "type": "integer"
  17484. },
  17485. "lasttradedate": {
  17486. "description": "最后交易日期(状态:待退市)",
  17487. "type": "string"
  17488. },
  17489. "listingdate": {
  17490. "description": "交易开始日期",
  17491. "type": "string"
  17492. },
  17493. "marketid": {
  17494. "description": "所属市场ID",
  17495. "type": "integer"
  17496. },
  17497. "modifierid": {
  17498. "description": "修改人",
  17499. "type": "integer"
  17500. },
  17501. "modifystatus": {
  17502. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17503. "type": "integer"
  17504. },
  17505. "modifytime": {
  17506. "description": "修改时间",
  17507. "type": "string"
  17508. },
  17509. "outerdealmode": {
  17510. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17511. "type": "integer"
  17512. },
  17513. "outgoodscode": {
  17514. "description": "商品代码(外部)",
  17515. "type": "string"
  17516. },
  17517. "qtydecimalplace": {
  17518. "description": "成交量小数位",
  17519. "type": "integer"
  17520. },
  17521. "quotegear": {
  17522. "description": "行情档位(1-10)",
  17523. "type": "integer"
  17524. },
  17525. "quoteminunit": {
  17526. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17527. "type": "integer"
  17528. },
  17529. "quoteshowtype": {
  17530. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17531. "type": "integer"
  17532. },
  17533. "quoteshowtypeinterval": {
  17534. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17535. "type": "integer"
  17536. },
  17537. "remark": {
  17538. "description": "备注",
  17539. "type": "string"
  17540. }
  17541. }
  17542. },
  17543. "models.GoodsIDAndName": {
  17544. "type": "object",
  17545. "required": [
  17546. "goodscode",
  17547. "goodsid",
  17548. "goodsname",
  17549. "marketid"
  17550. ],
  17551. "properties": {
  17552. "goodscode": {
  17553. "description": "商品代码(内部)",
  17554. "type": "string"
  17555. },
  17556. "goodsid": {
  17557. "description": "商品ID(自增ID SEQ_GOODS)",
  17558. "type": "integer"
  17559. },
  17560. "goodsname": {
  17561. "description": "商品名称",
  17562. "type": "string"
  17563. },
  17564. "marketid": {
  17565. "description": "所属市场ID",
  17566. "type": "integer"
  17567. }
  17568. }
  17569. },
  17570. "models.Goodsgroup": {
  17571. "type": "object",
  17572. "required": [
  17573. "goodsgroupid",
  17574. "goodsgroupname",
  17575. "goodsgroupstatus",
  17576. "marketid"
  17577. ],
  17578. "properties": {
  17579. "agreeunit": {
  17580. "description": "合约单位",
  17581. "type": "number"
  17582. },
  17583. "canshort": {
  17584. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17585. "type": "integer"
  17586. },
  17587. "closepricemode": {
  17588. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17589. "type": "integer"
  17590. },
  17591. "closepriceparam": {
  17592. "description": "强平最新价浮动比例 - 方式为2时使用",
  17593. "type": "number"
  17594. },
  17595. "createtime": {
  17596. "description": "创建时间",
  17597. "type": "string"
  17598. },
  17599. "creatorid": {
  17600. "description": "创建人",
  17601. "type": "integer"
  17602. },
  17603. "currencyid": {
  17604. "description": "报价货币ID",
  17605. "type": "integer"
  17606. },
  17607. "decimalplace": {
  17608. "description": "报价小数位",
  17609. "type": "integer"
  17610. },
  17611. "exercisetype": {
  17612. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17613. "type": "integer"
  17614. },
  17615. "exexchangeid": {
  17616. "description": "外部交易所ID[通道交易]",
  17617. "type": "integer"
  17618. },
  17619. "goodsgroupid": {
  17620. "description": "商品组ID(自增ID)",
  17621. "type": "integer"
  17622. },
  17623. "goodsgroupname": {
  17624. "description": "商品组名称",
  17625. "type": "string"
  17626. },
  17627. "goodsgroupstatus": {
  17628. "description": "商品组状态 - 1:正常 2:注销",
  17629. "type": "integer"
  17630. },
  17631. "goodunitid": {
  17632. "description": "报价单位ID",
  17633. "type": "integer"
  17634. },
  17635. "innerdealmode": {
  17636. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17637. "type": "integer"
  17638. },
  17639. "isbuylimited": {
  17640. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17641. "type": "integer"
  17642. },
  17643. "marketid": {
  17644. "description": "所属市场ID",
  17645. "type": "integer"
  17646. },
  17647. "modifierid": {
  17648. "description": "修改人",
  17649. "type": "integer"
  17650. },
  17651. "modifytime": {
  17652. "description": "修改时间",
  17653. "type": "string"
  17654. },
  17655. "outerdealmode": {
  17656. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17657. "type": "integer"
  17658. },
  17659. "outergroupcode": {
  17660. "description": "外部商品组代码[通道交易]",
  17661. "type": "string"
  17662. },
  17663. "premiumdecimalplace": {
  17664. "description": "权利金小数位[场外期权]",
  17665. "type": "integer"
  17666. },
  17667. "premiumspreadalgorithm": {
  17668. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17669. "type": "integer"
  17670. },
  17671. "premiumspreadvalue": {
  17672. "description": "权利金点差值[场外期权]",
  17673. "type": "number"
  17674. },
  17675. "qtydecimalplace": {
  17676. "description": "成交量小数位",
  17677. "type": "integer"
  17678. },
  17679. "quotegear": {
  17680. "description": "行情档位(1-10)",
  17681. "type": "integer"
  17682. },
  17683. "quoteminunit": {
  17684. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17685. "type": "integer"
  17686. },
  17687. "quoterid": {
  17688. "description": "报价商ID[场外期权]",
  17689. "type": "integer"
  17690. },
  17691. "quotesourcegroupid": {
  17692. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17693. "type": "integer"
  17694. },
  17695. "syncgoodsqty": {
  17696. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17697. "type": "integer"
  17698. }
  17699. }
  17700. },
  17701. "models.Goodssortbypreposition": {
  17702. "type": "object",
  17703. "required": [
  17704. "goodscode",
  17705. "tradedate"
  17706. ],
  17707. "properties": {
  17708. "goodscode": {
  17709. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17710. "type": "string"
  17711. },
  17712. "goodsgroupcode": {
  17713. "description": "品种代码",
  17714. "type": "string"
  17715. },
  17716. "prepositionqty": {
  17717. "description": "昨持仓量",
  17718. "type": "integer"
  17719. },
  17720. "sortindex": {
  17721. "description": "排序",
  17722. "type": "integer"
  17723. },
  17724. "tradedate": {
  17725. "description": "交易日",
  17726. "type": "string"
  17727. },
  17728. "updatetime": {
  17729. "description": "更新时间",
  17730. "type": "string"
  17731. }
  17732. }
  17733. },
  17734. "models.Hedgeinnerholderdetail": {
  17735. "type": "object",
  17736. "required": [
  17737. "buyorsell",
  17738. "tradeid"
  17739. ],
  17740. "properties": {
  17741. "accountid": {
  17742. "description": "账号ID",
  17743. "type": "integer"
  17744. },
  17745. "buyorsell": {
  17746. "description": "方向 - 0:买 1:卖",
  17747. "type": "integer"
  17748. },
  17749. "freezeqty": {
  17750. "description": "冻结数量 - 按单平使用",
  17751. "type": "integer"
  17752. },
  17753. "goodsid": {
  17754. "description": "商品ID",
  17755. "type": "integer"
  17756. },
  17757. "holderamount": {
  17758. "description": "持仓金额 [商品币种]",
  17759. "type": "number"
  17760. },
  17761. "holderdays": {
  17762. "description": "剩余冻结天数",
  17763. "type": "integer"
  17764. },
  17765. "holderprice": {
  17766. "description": "持仓价格",
  17767. "type": "number"
  17768. },
  17769. "holderqty": {
  17770. "description": "持仓数量",
  17771. "type": "integer"
  17772. },
  17773. "marketid": {
  17774. "description": "市场ID",
  17775. "type": "integer"
  17776. },
  17777. "openprice": {
  17778. "description": "建仓价格",
  17779. "type": "number"
  17780. },
  17781. "openqty": {
  17782. "description": "建仓数量",
  17783. "type": "integer"
  17784. },
  17785. "parentaccountid": {
  17786. "description": "所属母账户",
  17787. "type": "integer"
  17788. },
  17789. "releaseamount": {
  17790. "description": "释放持仓金额[商品币种]",
  17791. "type": "number"
  17792. },
  17793. "tradeamount": {
  17794. "description": "成交金额[账户]",
  17795. "type": "number"
  17796. },
  17797. "tradedate": {
  17798. "description": "交易日(yyyyMMdd)",
  17799. "type": "string"
  17800. },
  17801. "tradeid": {
  17802. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17803. "type": "string"
  17804. },
  17805. "tradetime": {
  17806. "description": "交易时间",
  17807. "type": "string"
  17808. }
  17809. }
  17810. },
  17811. "models.Hedgemarketopenlog": {
  17812. "type": "object",
  17813. "required": [
  17814. "accountid"
  17815. ],
  17816. "properties": {
  17817. "accountid": {
  17818. "description": "资金账号[外部母账户]",
  17819. "type": "integer"
  17820. },
  17821. "fcname": {
  17822. "description": "期货公司名称",
  17823. "type": "string"
  17824. },
  17825. "handlestatus": {
  17826. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17827. "type": "integer"
  17828. },
  17829. "marketid": {
  17830. "description": "市场ID",
  17831. "type": "integer"
  17832. },
  17833. "status": {
  17834. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17835. "type": "integer"
  17836. },
  17837. "tradedate": {
  17838. "description": "交易日(yyyyMMdd)",
  17839. "type": "string"
  17840. },
  17841. "updatetime": {
  17842. "description": "更新时间",
  17843. "type": "string"
  17844. }
  17845. }
  17846. },
  17847. "models.HsbyBuyMyPayOrder": {
  17848. "type": "object",
  17849. "required": [
  17850. "goodscode",
  17851. "goodsname",
  17852. "tradeid",
  17853. "trademode"
  17854. ],
  17855. "properties": {
  17856. "agreeunit": {
  17857. "description": "合约单位",
  17858. "type": "number"
  17859. },
  17860. "buyaccountid": {
  17861. "description": "买方账号ID[报价币种]",
  17862. "type": "integer"
  17863. },
  17864. "buyorderid": {
  17865. "description": "买方委托单号",
  17866. "type": "string"
  17867. },
  17868. "createtime": {
  17869. "description": "创建时间",
  17870. "type": "string"
  17871. },
  17872. "currencysign": {
  17873. "description": "货币符号",
  17874. "type": "string"
  17875. },
  17876. "decimalplace": {
  17877. "description": "报价小数位",
  17878. "type": "integer"
  17879. },
  17880. "goodscode": {
  17881. "description": "商品代码(内部)",
  17882. "type": "string"
  17883. },
  17884. "goodsid": {
  17885. "description": "商品ID",
  17886. "type": "integer"
  17887. },
  17888. "goodsname": {
  17889. "description": "商品名称",
  17890. "type": "string"
  17891. },
  17892. "marketid": {
  17893. "description": "市场ID",
  17894. "type": "integer"
  17895. },
  17896. "offamount": {
  17897. "description": "优惠金额",
  17898. "type": "number"
  17899. },
  17900. "originalamount": {
  17901. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17902. "type": "number"
  17903. },
  17904. "payamount": {
  17905. "description": "支付金额 = TradeAmount + TradeCharge",
  17906. "type": "number"
  17907. },
  17908. "payflag": {
  17909. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17910. "type": "integer"
  17911. },
  17912. "paylimitedtime": {
  17913. "description": "支付期限",
  17914. "type": "string"
  17915. },
  17916. "paytime": {
  17917. "description": "付款时间",
  17918. "type": "string"
  17919. },
  17920. "picurls1": {
  17921. "description": "预售商品介绍图片[多张用逗号分隔]",
  17922. "type": "string"
  17923. },
  17924. "picurls2": {
  17925. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17926. "type": "string"
  17927. },
  17928. "sellaccountid": {
  17929. "description": "卖方账号ID[报价币种]",
  17930. "type": "integer"
  17931. },
  17932. "sellorderid": {
  17933. "description": "卖方委托单号",
  17934. "type": "string"
  17935. },
  17936. "tradeamount": {
  17937. "description": "成交金额",
  17938. "type": "number"
  17939. },
  17940. "tradecharge": {
  17941. "description": "成交手续费(买方)",
  17942. "type": "number"
  17943. },
  17944. "tradedate": {
  17945. "description": "交易日(yyyyMMdd)",
  17946. "type": "string"
  17947. },
  17948. "tradeid": {
  17949. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17950. "type": "string"
  17951. },
  17952. "trademode": {
  17953. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17954. "type": "integer"
  17955. },
  17956. "tradeprice": {
  17957. "description": "成交价格",
  17958. "type": "number"
  17959. },
  17960. "tradeqty": {
  17961. "description": "成交数量",
  17962. "type": "integer"
  17963. },
  17964. "vendorname1": {
  17965. "description": "预售商品供应商名称",
  17966. "type": "string"
  17967. },
  17968. "vendorname2": {
  17969. "description": "挂牌商品供应商名称",
  17970. "type": "string"
  17971. }
  17972. }
  17973. },
  17974. "models.HsbyBuyMyTradeDetail": {
  17975. "type": "object",
  17976. "required": [
  17977. "accountid",
  17978. "buyorsell",
  17979. "goodscode",
  17980. "goodsid",
  17981. "goodsname",
  17982. "marketid",
  17983. "orderid",
  17984. "qty",
  17985. "time",
  17986. "trademode"
  17987. ],
  17988. "properties": {
  17989. "accountid": {
  17990. "description": "账户ID[报价币种]",
  17991. "type": "integer"
  17992. },
  17993. "agreeunit": {
  17994. "description": "合约单位",
  17995. "type": "number"
  17996. },
  17997. "amount": {
  17998. "description": "金额 = 价格 * 数量 * 合约单位",
  17999. "type": "number"
  18000. },
  18001. "buyorsell": {
  18002. "description": "买卖 - 0:买 1:卖",
  18003. "type": "integer"
  18004. },
  18005. "currencysign": {
  18006. "description": "货币符号",
  18007. "type": "string"
  18008. },
  18009. "decimalplace": {
  18010. "description": "报价小数位",
  18011. "type": "integer"
  18012. },
  18013. "goodscode": {
  18014. "description": "商品代码(内部)",
  18015. "type": "string"
  18016. },
  18017. "goodsid": {
  18018. "description": "商品ID",
  18019. "type": "integer"
  18020. },
  18021. "goodsname": {
  18022. "description": "商品名称",
  18023. "type": "string"
  18024. },
  18025. "marketid": {
  18026. "description": "市场ID",
  18027. "type": "integer"
  18028. },
  18029. "orderamount": {
  18030. "description": "委托金额",
  18031. "type": "number"
  18032. },
  18033. "orderid": {
  18034. "description": "单号(成交单号)",
  18035. "type": "string"
  18036. },
  18037. "picurls1": {
  18038. "description": "预售商品介绍图片[多张用逗号分隔]",
  18039. "type": "string"
  18040. },
  18041. "picurls2": {
  18042. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18043. "type": "string"
  18044. },
  18045. "price": {
  18046. "description": "价格",
  18047. "type": "number"
  18048. },
  18049. "qty": {
  18050. "description": "数量",
  18051. "type": "integer"
  18052. },
  18053. "time": {
  18054. "description": "时间",
  18055. "type": "string"
  18056. },
  18057. "trademode": {
  18058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18059. "type": "integer"
  18060. },
  18061. "vendorname1": {
  18062. "description": "预售商品供应商名称",
  18063. "type": "string"
  18064. },
  18065. "vendorname2": {
  18066. "description": "挂牌商品供应商名称",
  18067. "type": "string"
  18068. }
  18069. }
  18070. },
  18071. "models.HsbyGoodsOrderDetail": {
  18072. "type": "object",
  18073. "required": [
  18074. "buyorsell",
  18075. "orderid",
  18076. "ordertime"
  18077. ],
  18078. "properties": {
  18079. "buyorsell": {
  18080. "description": "买卖 - 0:买 1:卖",
  18081. "type": "integer"
  18082. },
  18083. "currencysign": {
  18084. "description": "货币符号",
  18085. "type": "string"
  18086. },
  18087. "customername": {
  18088. "description": "客户名称(企业名称),已脱敏",
  18089. "type": "string"
  18090. },
  18091. "enableqty": {
  18092. "description": "可用数量",
  18093. "type": "integer"
  18094. },
  18095. "goodunit": {
  18096. "description": "报价单位",
  18097. "type": "string"
  18098. },
  18099. "orderid": {
  18100. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18101. "type": "string"
  18102. },
  18103. "orderprice": {
  18104. "description": "委托价格",
  18105. "type": "number"
  18106. },
  18107. "ordertime": {
  18108. "description": "委托时间",
  18109. "type": "string"
  18110. }
  18111. }
  18112. },
  18113. "models.HsbyListingGoodsDetail": {
  18114. "type": "object",
  18115. "required": [
  18116. "goodscode",
  18117. "goodsid",
  18118. "goodsname",
  18119. "marketid",
  18120. "trademode"
  18121. ],
  18122. "properties": {
  18123. "agreeunit": {
  18124. "description": "合约单位",
  18125. "type": "number"
  18126. },
  18127. "buymaxqty": {
  18128. "description": "购买上限 [71] - 0为不限",
  18129. "type": "integer"
  18130. },
  18131. "currency": {
  18132. "description": "货币",
  18133. "type": "string"
  18134. },
  18135. "currencysign": {
  18136. "description": "货币符号",
  18137. "type": "string"
  18138. },
  18139. "decimalplace": {
  18140. "description": "报价小数位",
  18141. "type": "integer"
  18142. },
  18143. "desccityid": {
  18144. "description": "目的地(市)ID",
  18145. "type": "integer"
  18146. },
  18147. "descprovinceid": {
  18148. "description": "目的地(省)ID",
  18149. "type": "integer"
  18150. },
  18151. "goodscode": {
  18152. "description": "商品代码(内部)",
  18153. "type": "string"
  18154. },
  18155. "goodsdesc": {
  18156. "description": "商品详情",
  18157. "type": "string"
  18158. },
  18159. "goodsid": {
  18160. "description": "商品ID(自增ID SEQ_GOODS)",
  18161. "type": "integer"
  18162. },
  18163. "goodsname": {
  18164. "description": "商品名称",
  18165. "type": "string"
  18166. },
  18167. "goodsprice": {
  18168. "description": "商品价格",
  18169. "type": "number"
  18170. },
  18171. "hotindex": {
  18172. "description": "景点热度",
  18173. "type": "integer"
  18174. },
  18175. "last": {
  18176. "description": "现价",
  18177. "type": "number"
  18178. },
  18179. "limitdown": {
  18180. "description": "跌停价",
  18181. "type": "number"
  18182. },
  18183. "limitup": {
  18184. "description": "涨停价",
  18185. "type": "number"
  18186. },
  18187. "lotsize": {
  18188. "description": "手数最小变动单位",
  18189. "type": "integer"
  18190. },
  18191. "marketid": {
  18192. "description": "所属市场ID",
  18193. "type": "integer"
  18194. },
  18195. "picurls": {
  18196. "description": "介绍图片[多张用逗号分隔]",
  18197. "type": "string"
  18198. },
  18199. "quoteminunit": {
  18200. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18201. "type": "integer"
  18202. },
  18203. "stepvalue": {
  18204. "description": "价格最小变动单位",
  18205. "type": "number"
  18206. },
  18207. "trademode": {
  18208. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18209. "type": "integer"
  18210. },
  18211. "vendorattr": {
  18212. "description": "供应商附件(多张,逗号分隔)",
  18213. "type": "string"
  18214. },
  18215. "vendorname": {
  18216. "description": "供应商名称",
  18217. "type": "string"
  18218. },
  18219. "vendorphone": {
  18220. "description": "供应商客服电话",
  18221. "type": "string"
  18222. },
  18223. "videourls": {
  18224. "description": "介绍视频[多张用逗号分隔]",
  18225. "type": "string"
  18226. }
  18227. }
  18228. },
  18229. "models.HsbyMarketGoods": {
  18230. "type": "object",
  18231. "required": [
  18232. "accountid",
  18233. "buyorsell",
  18234. "goodscode",
  18235. "goodsid",
  18236. "goodsname",
  18237. "marketid",
  18238. "orderid",
  18239. "trademode"
  18240. ],
  18241. "properties": {
  18242. "accountid": {
  18243. "description": "账户ID[报价币种]",
  18244. "type": "integer"
  18245. },
  18246. "agreeunit": {
  18247. "description": "合约单位",
  18248. "type": "number"
  18249. },
  18250. "buyorsell": {
  18251. "description": "买卖 - 0:买 1:卖",
  18252. "type": "integer"
  18253. },
  18254. "categoryid": {
  18255. "description": "类别ID(WRCATEGORY)",
  18256. "type": "integer"
  18257. },
  18258. "currency": {
  18259. "description": "货币",
  18260. "type": "string"
  18261. },
  18262. "currencysign": {
  18263. "description": "货币符号",
  18264. "type": "string"
  18265. },
  18266. "customername": {
  18267. "description": "卖家名称",
  18268. "type": "string"
  18269. },
  18270. "decimalplace": {
  18271. "description": "报价小数位",
  18272. "type": "integer"
  18273. },
  18274. "goodscode": {
  18275. "description": "商品代码(内部)",
  18276. "type": "string"
  18277. },
  18278. "goodsid": {
  18279. "description": "商品ID",
  18280. "type": "integer"
  18281. },
  18282. "goodsname": {
  18283. "description": "商品名称",
  18284. "type": "string"
  18285. },
  18286. "goodsprice": {
  18287. "description": "商品价格",
  18288. "type": "number"
  18289. },
  18290. "hascoupon": {
  18291. "description": "是否可用优惠卷",
  18292. "type": "boolean"
  18293. },
  18294. "hotindex": {
  18295. "description": "景点热度",
  18296. "type": "integer"
  18297. },
  18298. "marketid": {
  18299. "description": "市场ID",
  18300. "type": "integer"
  18301. },
  18302. "orderid": {
  18303. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18304. "type": "string"
  18305. },
  18306. "orderprice": {
  18307. "description": "委托价格",
  18308. "type": "number"
  18309. },
  18310. "orderstatus": {
  18311. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18312. "type": "integer"
  18313. },
  18314. "picurls": {
  18315. "description": "介绍图片[多张用逗号分隔]",
  18316. "type": "string"
  18317. },
  18318. "quoteminunit": {
  18319. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18320. "type": "integer"
  18321. },
  18322. "sellUserID": {
  18323. "description": "卖方UserID",
  18324. "type": "integer"
  18325. },
  18326. "trademode": {
  18327. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18328. "type": "integer"
  18329. },
  18330. "videourls": {
  18331. "description": "介绍视频[多张用逗号分隔]",
  18332. "type": "string"
  18333. }
  18334. }
  18335. },
  18336. "models.HsbyMarketGoodsDetail": {
  18337. "type": "object",
  18338. "required": [
  18339. "accountid",
  18340. "buyorsell",
  18341. "goodscode",
  18342. "goodsid",
  18343. "goodsname",
  18344. "marketid",
  18345. "orderid",
  18346. "orderqty",
  18347. "trademode"
  18348. ],
  18349. "properties": {
  18350. "accountid": {
  18351. "description": "账户ID[报价币种]",
  18352. "type": "integer"
  18353. },
  18354. "agreeunit": {
  18355. "description": "合约单位",
  18356. "type": "number"
  18357. },
  18358. "buymaxqty": {
  18359. "description": "购买上限 [71] - 0为不限",
  18360. "type": "integer"
  18361. },
  18362. "buyorsell": {
  18363. "description": "买卖 - 0:买 1:卖",
  18364. "type": "integer"
  18365. },
  18366. "cancelqty": {
  18367. "description": "撤单数量",
  18368. "type": "integer"
  18369. },
  18370. "categoryid": {
  18371. "description": "类别ID(WRCATEGORY)",
  18372. "type": "integer"
  18373. },
  18374. "currency": {
  18375. "description": "货币",
  18376. "type": "string"
  18377. },
  18378. "currencysign": {
  18379. "description": "货币符号",
  18380. "type": "string"
  18381. },
  18382. "customername": {
  18383. "description": "卖家名称",
  18384. "type": "string"
  18385. },
  18386. "decimalplace": {
  18387. "description": "报价小数位",
  18388. "type": "integer"
  18389. },
  18390. "goodscode": {
  18391. "description": "商品代码(内部)",
  18392. "type": "string"
  18393. },
  18394. "goodsdesc": {
  18395. "description": "商品详情",
  18396. "type": "string"
  18397. },
  18398. "goodsid": {
  18399. "description": "商品ID",
  18400. "type": "integer"
  18401. },
  18402. "goodsname": {
  18403. "description": "商品名称",
  18404. "type": "string"
  18405. },
  18406. "goodsprice": {
  18407. "description": "商品价格",
  18408. "type": "number"
  18409. },
  18410. "hotindex": {
  18411. "description": "景点热度",
  18412. "type": "integer"
  18413. },
  18414. "lotsize": {
  18415. "description": "手数最小变动单位",
  18416. "type": "integer"
  18417. },
  18418. "marketid": {
  18419. "description": "市场ID",
  18420. "type": "integer"
  18421. },
  18422. "orderid": {
  18423. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18424. "type": "string"
  18425. },
  18426. "orderprice": {
  18427. "description": "委托价格",
  18428. "type": "number"
  18429. },
  18430. "orderqty": {
  18431. "description": "委托数量",
  18432. "type": "integer"
  18433. },
  18434. "orderstatus": {
  18435. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18436. "type": "integer"
  18437. },
  18438. "picurls": {
  18439. "description": "介绍图片[多张用逗号分隔]",
  18440. "type": "string"
  18441. },
  18442. "quoteminunit": {
  18443. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18444. "type": "integer"
  18445. },
  18446. "sellUserID": {
  18447. "description": "卖方UserID",
  18448. "type": "integer"
  18449. },
  18450. "trademode": {
  18451. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18452. "type": "integer"
  18453. },
  18454. "tradeqty": {
  18455. "description": "成交数量",
  18456. "type": "integer"
  18457. },
  18458. "vendorattr": {
  18459. "description": "供应商附件(多张,逗号分隔)",
  18460. "type": "string"
  18461. },
  18462. "vendorname": {
  18463. "description": "供应商名称",
  18464. "type": "string"
  18465. },
  18466. "vendorphone": {
  18467. "description": "供应商客服电话",
  18468. "type": "string"
  18469. },
  18470. "videourls": {
  18471. "description": "介绍视频[多张用逗号分隔]",
  18472. "type": "string"
  18473. }
  18474. }
  18475. },
  18476. "models.HsbyMarketInfo": {
  18477. "type": "object",
  18478. "required": [
  18479. "marketid",
  18480. "marketstatus",
  18481. "trademode"
  18482. ],
  18483. "properties": {
  18484. "marketid": {
  18485. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18486. "type": "integer"
  18487. },
  18488. "marketname": {
  18489. "description": "市场名称",
  18490. "type": "string"
  18491. },
  18492. "marketstatus": {
  18493. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18494. "type": "integer"
  18495. },
  18496. "trademode": {
  18497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18498. "type": "integer"
  18499. }
  18500. }
  18501. },
  18502. "models.HsbyMyGoods": {
  18503. "type": "object",
  18504. "required": [
  18505. "accountid",
  18506. "goodscode",
  18507. "goodsid",
  18508. "goodsname",
  18509. "marketid",
  18510. "trademode"
  18511. ],
  18512. "properties": {
  18513. "accountid": {
  18514. "description": "账号Id",
  18515. "type": "integer"
  18516. },
  18517. "agreeunit": {
  18518. "description": "合约单位",
  18519. "type": "number"
  18520. },
  18521. "buyaverageprice": {
  18522. "description": "持仓均价",
  18523. "type": "number"
  18524. },
  18525. "buycurholderamount": {
  18526. "description": "买当前持仓总金额[商品币种]",
  18527. "type": "number"
  18528. },
  18529. "buycurpositionqty": {
  18530. "description": "买当前持仓总数量",
  18531. "type": "integer"
  18532. },
  18533. "buymaxqty": {
  18534. "description": "购买上限 [71] - 0为不限",
  18535. "type": "integer"
  18536. },
  18537. "currencysign": {
  18538. "description": "货币符号",
  18539. "type": "string"
  18540. },
  18541. "decimalplace": {
  18542. "description": "报价小数位",
  18543. "type": "integer"
  18544. },
  18545. "enableqty": {
  18546. "description": "可用数量",
  18547. "type": "integer"
  18548. },
  18549. "goodscode": {
  18550. "description": "商品代码(内部)",
  18551. "type": "string"
  18552. },
  18553. "goodsid": {
  18554. "description": "商品Id",
  18555. "type": "integer"
  18556. },
  18557. "goodsname": {
  18558. "description": "商品名称",
  18559. "type": "string"
  18560. },
  18561. "goodsprice": {
  18562. "description": "商品价格",
  18563. "type": "number"
  18564. },
  18565. "goodsstatus": {
  18566. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18567. "type": "integer"
  18568. },
  18569. "last": {
  18570. "description": "现价(仅使用于挂牌点选)",
  18571. "type": "number"
  18572. },
  18573. "limitdown": {
  18574. "description": "跌停价(仅使用于挂牌点选)",
  18575. "type": "number"
  18576. },
  18577. "limitup": {
  18578. "description": "涨停价(仅使用于挂牌点选)",
  18579. "type": "number"
  18580. },
  18581. "lotsize": {
  18582. "description": "手数最小变动单位",
  18583. "type": "integer"
  18584. },
  18585. "marketid": {
  18586. "description": "所属市场ID",
  18587. "type": "integer"
  18588. },
  18589. "picurls": {
  18590. "description": "介绍图片[多张用逗号分隔]",
  18591. "type": "string"
  18592. },
  18593. "quoteminunit": {
  18594. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18595. "type": "integer"
  18596. },
  18597. "stepvalue": {
  18598. "description": "价格最小变动单位",
  18599. "type": "number"
  18600. },
  18601. "trademode": {
  18602. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18603. "type": "integer"
  18604. }
  18605. }
  18606. },
  18607. "models.HsbyMyPackage": {
  18608. "type": "object",
  18609. "required": [
  18610. "goodscode",
  18611. "goodsname",
  18612. "takeorderid",
  18613. "trademode"
  18614. ],
  18615. "properties": {
  18616. "accountid": {
  18617. "description": "账户ID",
  18618. "type": "integer"
  18619. },
  18620. "address": {
  18621. "description": "提货人详细地址",
  18622. "type": "string"
  18623. },
  18624. "agreeunit": {
  18625. "description": "合约单位",
  18626. "type": "number"
  18627. },
  18628. "amount": {
  18629. "description": "提货金额",
  18630. "type": "number"
  18631. },
  18632. "auditer": {
  18633. "description": "审核人",
  18634. "type": "integer"
  18635. },
  18636. "audittime": {
  18637. "description": "审核时间",
  18638. "type": "string"
  18639. },
  18640. "averageprice": {
  18641. "description": "均价",
  18642. "type": "number"
  18643. },
  18644. "cardnum": {
  18645. "description": "提货人证件号码",
  18646. "type": "string"
  18647. },
  18648. "cardtypeid": {
  18649. "description": "提货人证件类型",
  18650. "type": "integer"
  18651. },
  18652. "checkremark": {
  18653. "description": "审核备注",
  18654. "type": "string"
  18655. },
  18656. "currencysign": {
  18657. "description": "货币符号",
  18658. "type": "string"
  18659. },
  18660. "decimalplace": {
  18661. "description": "报价小数位",
  18662. "type": "integer"
  18663. },
  18664. "goodscode": {
  18665. "description": "商品代码(内部)",
  18666. "type": "string"
  18667. },
  18668. "goodsid": {
  18669. "description": "商品ID",
  18670. "type": "integer"
  18671. },
  18672. "goodsname": {
  18673. "description": "商品名称",
  18674. "type": "string"
  18675. },
  18676. "handlestatus": {
  18677. "description": "处理状态",
  18678. "type": "integer"
  18679. },
  18680. "marketid": {
  18681. "description": "市场ID",
  18682. "type": "integer"
  18683. },
  18684. "phonenum": {
  18685. "description": "提货人联系方式",
  18686. "type": "string"
  18687. },
  18688. "picurls": {
  18689. "description": "介绍图片[多张用逗号分隔]",
  18690. "type": "string"
  18691. },
  18692. "qty": {
  18693. "description": "提货数量",
  18694. "type": "number"
  18695. },
  18696. "recivername": {
  18697. "description": "提货人姓名",
  18698. "type": "string"
  18699. },
  18700. "reqtime": {
  18701. "description": "更新时间",
  18702. "type": "string"
  18703. },
  18704. "takemode": {
  18705. "description": "提货方式 - 2:自提 3:配送",
  18706. "type": "integer"
  18707. },
  18708. "takeorderid": {
  18709. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18710. "type": "string"
  18711. },
  18712. "takeorderstatus": {
  18713. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18714. "type": "integer"
  18715. },
  18716. "takeremark": {
  18717. "description": "提货备注",
  18718. "type": "string"
  18719. },
  18720. "tradedate": {
  18721. "description": "交易日(yyyyMMdd)",
  18722. "type": "string"
  18723. },
  18724. "trademode": {
  18725. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18726. "type": "integer"
  18727. },
  18728. "userid": {
  18729. "description": "用户ID",
  18730. "type": "integer"
  18731. },
  18732. "vendorname": {
  18733. "description": "供应商名称",
  18734. "type": "string"
  18735. }
  18736. }
  18737. },
  18738. "models.HsbyPreGoods": {
  18739. "type": "object",
  18740. "required": [
  18741. "goodscode",
  18742. "goodsid",
  18743. "goodsname",
  18744. "marketid",
  18745. "trademode"
  18746. ],
  18747. "properties": {
  18748. "agreeunit": {
  18749. "description": "合约单位",
  18750. "type": "number"
  18751. },
  18752. "currency": {
  18753. "description": "货币",
  18754. "type": "string"
  18755. },
  18756. "currencysign": {
  18757. "description": "货币符号",
  18758. "type": "string"
  18759. },
  18760. "decimalplace": {
  18761. "description": "报价小数位",
  18762. "type": "integer"
  18763. },
  18764. "desccityid": {
  18765. "description": "目的地(市)",
  18766. "type": "integer"
  18767. },
  18768. "descprovinceid": {
  18769. "description": "目的地(省)",
  18770. "type": "integer"
  18771. },
  18772. "enableqty": {
  18773. "description": "剩余数量",
  18774. "type": "integer"
  18775. },
  18776. "goodscode": {
  18777. "description": "商品代码(内部)",
  18778. "type": "string"
  18779. },
  18780. "goodsid": {
  18781. "description": "商品ID(自增ID SEQ_GOODS)",
  18782. "type": "integer"
  18783. },
  18784. "goodsname": {
  18785. "description": "商品名称",
  18786. "type": "string"
  18787. },
  18788. "goodsstatus": {
  18789. "description": "商品状态- 2:未上市 3:上市",
  18790. "type": "integer"
  18791. },
  18792. "lasttradedate": {
  18793. "description": "最后交易日期(状态:待退市)",
  18794. "type": "string"
  18795. },
  18796. "listingdate": {
  18797. "description": "交易开始日期",
  18798. "type": "string"
  18799. },
  18800. "marketid": {
  18801. "description": "所属市场ID",
  18802. "type": "integer"
  18803. },
  18804. "picurls": {
  18805. "description": "介绍图片[多张用逗号分隔]",
  18806. "type": "string"
  18807. },
  18808. "presaledqty": {
  18809. "description": "已预售量(预售结束时更新)",
  18810. "type": "integer"
  18811. },
  18812. "presaleqty": {
  18813. "description": "预售数量",
  18814. "type": "integer"
  18815. },
  18816. "quoteminunit": {
  18817. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18818. "type": "integer"
  18819. },
  18820. "refprice": {
  18821. "description": "参考价格[一口价]",
  18822. "type": "number"
  18823. },
  18824. "relatedgoodsid": {
  18825. "description": "关联交易合约ID",
  18826. "type": "integer"
  18827. },
  18828. "trademode": {
  18829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18830. "type": "integer"
  18831. },
  18832. "videourls": {
  18833. "description": "介绍视频[多张用逗号分隔]",
  18834. "type": "string"
  18835. }
  18836. }
  18837. },
  18838. "models.HsbyPreGoodsDetail": {
  18839. "type": "object",
  18840. "required": [
  18841. "goodscode",
  18842. "goodsid",
  18843. "goodsname",
  18844. "marketid",
  18845. "trademode"
  18846. ],
  18847. "properties": {
  18848. "agreeunit": {
  18849. "description": "合约单位",
  18850. "type": "number"
  18851. },
  18852. "buymaxqty": {
  18853. "description": "购买上限 [71] - 0为不限",
  18854. "type": "integer"
  18855. },
  18856. "currency": {
  18857. "description": "货币",
  18858. "type": "string"
  18859. },
  18860. "currencysign": {
  18861. "description": "货币符号",
  18862. "type": "string"
  18863. },
  18864. "customername": {
  18865. "description": "发行单位",
  18866. "type": "string"
  18867. },
  18868. "decimalplace": {
  18869. "description": "报价小数位",
  18870. "type": "integer"
  18871. },
  18872. "desccityid": {
  18873. "description": "目的地(市)ID",
  18874. "type": "integer"
  18875. },
  18876. "descprovinceid": {
  18877. "description": "目的地(省)ID",
  18878. "type": "integer"
  18879. },
  18880. "enableqty": {
  18881. "description": "剩余数量",
  18882. "type": "integer"
  18883. },
  18884. "goodscode": {
  18885. "description": "商品代码(内部)",
  18886. "type": "string"
  18887. },
  18888. "goodsdesc": {
  18889. "description": "商品详情",
  18890. "type": "string"
  18891. },
  18892. "goodsid": {
  18893. "description": "商品ID(自增ID SEQ_GOODS)",
  18894. "type": "integer"
  18895. },
  18896. "goodsname": {
  18897. "description": "商品名称",
  18898. "type": "string"
  18899. },
  18900. "goodsstatus": {
  18901. "description": "商品状态- 2:未上市 3:上市",
  18902. "type": "integer"
  18903. },
  18904. "goodunit": {
  18905. "description": "报价单位",
  18906. "type": "string"
  18907. },
  18908. "lasttradedate": {
  18909. "description": "最后交易日期(状态:待退市)",
  18910. "type": "string"
  18911. },
  18912. "listingdate": {
  18913. "description": "交易开始日期",
  18914. "type": "string"
  18915. },
  18916. "lotsize": {
  18917. "description": "手数最小变动单位",
  18918. "type": "integer"
  18919. },
  18920. "marketid": {
  18921. "description": "所属市场ID",
  18922. "type": "integer"
  18923. },
  18924. "picurls": {
  18925. "description": "介绍图片[多张用逗号分隔]",
  18926. "type": "string"
  18927. },
  18928. "presaledqty": {
  18929. "description": "已预售量(预售结束时更新)",
  18930. "type": "integer"
  18931. },
  18932. "presaleqty": {
  18933. "description": "预售数量",
  18934. "type": "integer"
  18935. },
  18936. "quoteminunit": {
  18937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18938. "type": "integer"
  18939. },
  18940. "refprice": {
  18941. "description": "参考价格[一口价]",
  18942. "type": "number"
  18943. },
  18944. "relatedgoodsid": {
  18945. "description": "关联交易合约ID",
  18946. "type": "integer"
  18947. },
  18948. "stepvalue": {
  18949. "description": "价格最小变动单位",
  18950. "type": "number"
  18951. },
  18952. "trademode": {
  18953. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18954. "type": "integer"
  18955. },
  18956. "vendorattr": {
  18957. "description": "供应商附件(多张,逗号分隔)",
  18958. "type": "string"
  18959. },
  18960. "vendorname": {
  18961. "description": "供应商名称",
  18962. "type": "string"
  18963. },
  18964. "vendorphone": {
  18965. "description": "供应商客服电话",
  18966. "type": "string"
  18967. },
  18968. "videourls": {
  18969. "description": "介绍视频[多张用逗号分隔]",
  18970. "type": "string"
  18971. }
  18972. }
  18973. },
  18974. "models.HsbySellCollectionOrder": {
  18975. "type": "object",
  18976. "required": [
  18977. "goodscode",
  18978. "goodsname",
  18979. "tradeid",
  18980. "trademode"
  18981. ],
  18982. "properties": {
  18983. "agreeunit": {
  18984. "description": "合约单位",
  18985. "type": "number"
  18986. },
  18987. "buyaccountid": {
  18988. "description": "买方账号ID[报价币种]",
  18989. "type": "integer"
  18990. },
  18991. "buyorderid": {
  18992. "description": "买方委托单号",
  18993. "type": "string"
  18994. },
  18995. "createtime": {
  18996. "description": "创建时间",
  18997. "type": "string"
  18998. },
  18999. "currencysign": {
  19000. "description": "货币符号",
  19001. "type": "string"
  19002. },
  19003. "decimalplace": {
  19004. "description": "报价小数位",
  19005. "type": "integer"
  19006. },
  19007. "goodscode": {
  19008. "description": "商品代码(内部)",
  19009. "type": "string"
  19010. },
  19011. "goodsid": {
  19012. "description": "商品ID",
  19013. "type": "integer"
  19014. },
  19015. "goodsname": {
  19016. "description": "商品名称",
  19017. "type": "string"
  19018. },
  19019. "marketid": {
  19020. "description": "市场ID",
  19021. "type": "integer"
  19022. },
  19023. "offamount": {
  19024. "description": "优惠金额",
  19025. "type": "number"
  19026. },
  19027. "payamount": {
  19028. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19029. "type": "number"
  19030. },
  19031. "payflag": {
  19032. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19033. "type": "integer"
  19034. },
  19035. "paylimitedtime": {
  19036. "description": "支付期限",
  19037. "type": "string"
  19038. },
  19039. "paytime": {
  19040. "description": "付款时间",
  19041. "type": "string"
  19042. },
  19043. "picurls": {
  19044. "description": "商品介绍图片[多张用逗号分隔]",
  19045. "type": "string"
  19046. },
  19047. "sellaccountid": {
  19048. "description": "卖方账号ID[报价币种]",
  19049. "type": "integer"
  19050. },
  19051. "sellorderid": {
  19052. "description": "卖方委托单号",
  19053. "type": "string"
  19054. },
  19055. "tradeamount": {
  19056. "description": "成交金额",
  19057. "type": "number"
  19058. },
  19059. "tradecharge": {
  19060. "description": "成交手续费(买方)",
  19061. "type": "number"
  19062. },
  19063. "tradedate": {
  19064. "description": "交易日(yyyyMMdd)",
  19065. "type": "string"
  19066. },
  19067. "tradeid": {
  19068. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19069. "type": "string"
  19070. },
  19071. "trademode": {
  19072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19073. "type": "integer"
  19074. },
  19075. "tradeprice": {
  19076. "description": "成交价格",
  19077. "type": "number"
  19078. },
  19079. "tradeqty": {
  19080. "description": "成交数量",
  19081. "type": "integer"
  19082. }
  19083. }
  19084. },
  19085. "models.HsbySellMyDetail": {
  19086. "type": "object",
  19087. "required": [
  19088. "accountid",
  19089. "buyorsell",
  19090. "goodscode",
  19091. "goodsid",
  19092. "goodsname",
  19093. "marketid",
  19094. "orderid",
  19095. "time",
  19096. "trademode"
  19097. ],
  19098. "properties": {
  19099. "accountid": {
  19100. "description": "账户ID[报价币种]",
  19101. "type": "integer"
  19102. },
  19103. "agreeunit": {
  19104. "description": "合约单位",
  19105. "type": "number"
  19106. },
  19107. "buyorsell": {
  19108. "description": "买卖 - 0:买 1:卖",
  19109. "type": "integer"
  19110. },
  19111. "currencysign": {
  19112. "description": "货币符号",
  19113. "type": "string"
  19114. },
  19115. "decimalplace": {
  19116. "description": "报价小数位",
  19117. "type": "integer"
  19118. },
  19119. "goodscode": {
  19120. "description": "商品代码(内部)",
  19121. "type": "string"
  19122. },
  19123. "goodsid": {
  19124. "description": "商品ID",
  19125. "type": "integer"
  19126. },
  19127. "goodsname": {
  19128. "description": "商品名称",
  19129. "type": "string"
  19130. },
  19131. "marketid": {
  19132. "description": "市场ID",
  19133. "type": "integer"
  19134. },
  19135. "orderid": {
  19136. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19137. "type": "string"
  19138. },
  19139. "ordertype": {
  19140. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19141. "type": "integer"
  19142. },
  19143. "picurls": {
  19144. "description": "介绍图片[多张用逗号分隔]",
  19145. "type": "string"
  19146. },
  19147. "price": {
  19148. "description": "价格",
  19149. "type": "number"
  19150. },
  19151. "qty": {
  19152. "description": "数量",
  19153. "type": "integer"
  19154. },
  19155. "time": {
  19156. "description": "时间",
  19157. "type": "string"
  19158. },
  19159. "trademode": {
  19160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19161. "type": "integer"
  19162. },
  19163. "vendorname": {
  19164. "description": "供应商名称",
  19165. "type": "string"
  19166. }
  19167. }
  19168. },
  19169. "models.HsbyTopGoods": {
  19170. "type": "object",
  19171. "required": [
  19172. "goodscode",
  19173. "goodsid",
  19174. "goodsname",
  19175. "marketid",
  19176. "trademode"
  19177. ],
  19178. "properties": {
  19179. "agreeunit": {
  19180. "description": "合约单位",
  19181. "type": "number"
  19182. },
  19183. "currency": {
  19184. "description": "货币",
  19185. "type": "string"
  19186. },
  19187. "currencysign": {
  19188. "description": "货币符号",
  19189. "type": "string"
  19190. },
  19191. "decimalplace": {
  19192. "description": "报价小数位",
  19193. "type": "integer"
  19194. },
  19195. "desccityid": {
  19196. "description": "目的地(市)",
  19197. "type": "integer"
  19198. },
  19199. "descprovinceid": {
  19200. "description": "目的地(省)",
  19201. "type": "integer"
  19202. },
  19203. "goodscode": {
  19204. "description": "商品代码(内部)",
  19205. "type": "string"
  19206. },
  19207. "goodsid": {
  19208. "description": "商品ID(自增ID SEQ_GOODS)",
  19209. "type": "integer"
  19210. },
  19211. "goodsname": {
  19212. "description": "商品名称",
  19213. "type": "string"
  19214. },
  19215. "hotindex": {
  19216. "description": "景点热度",
  19217. "type": "integer"
  19218. },
  19219. "last": {
  19220. "description": "现价",
  19221. "type": "number"
  19222. },
  19223. "marketid": {
  19224. "description": "所属市场ID",
  19225. "type": "integer"
  19226. },
  19227. "picurls": {
  19228. "description": "介绍图片[多张用逗号分隔]",
  19229. "type": "string"
  19230. },
  19231. "quoteminunit": {
  19232. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19233. "type": "integer"
  19234. },
  19235. "trademode": {
  19236. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19237. "type": "integer"
  19238. },
  19239. "videourls": {
  19240. "description": "介绍视频[多张用逗号分隔]",
  19241. "type": "string"
  19242. }
  19243. }
  19244. },
  19245. "models.HybsMyBuyOrderDetail": {
  19246. "type": "object",
  19247. "required": [
  19248. "accountid",
  19249. "buyorsell",
  19250. "goodscode",
  19251. "goodsid",
  19252. "goodsname",
  19253. "marketid",
  19254. "orderid",
  19255. "orderqty",
  19256. "ordertime",
  19257. "trademode"
  19258. ],
  19259. "properties": {
  19260. "accountid": {
  19261. "description": "账户ID[报价币种]",
  19262. "type": "integer"
  19263. },
  19264. "agreeunit": {
  19265. "description": "合约单位",
  19266. "type": "number"
  19267. },
  19268. "buyorsell": {
  19269. "description": "买卖 - 0:买 1:卖",
  19270. "type": "integer"
  19271. },
  19272. "cancelqty": {
  19273. "description": "撤单数量",
  19274. "type": "integer"
  19275. },
  19276. "currencysign": {
  19277. "description": "货币符号",
  19278. "type": "string"
  19279. },
  19280. "decimalplace": {
  19281. "description": "报价小数位",
  19282. "type": "integer"
  19283. },
  19284. "goodscode": {
  19285. "description": "商品代码(内部)",
  19286. "type": "string"
  19287. },
  19288. "goodsid": {
  19289. "description": "商品ID",
  19290. "type": "integer"
  19291. },
  19292. "goodsname": {
  19293. "description": "商品名称",
  19294. "type": "string"
  19295. },
  19296. "listingselecttype": {
  19297. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19298. "type": "integer"
  19299. },
  19300. "marketid": {
  19301. "description": "市场ID",
  19302. "type": "integer"
  19303. },
  19304. "mybuystatus": {
  19305. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19306. "type": "integer"
  19307. },
  19308. "orderamount": {
  19309. "description": "委托金额",
  19310. "type": "number"
  19311. },
  19312. "orderid": {
  19313. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19314. "type": "string"
  19315. },
  19316. "orderprice": {
  19317. "description": "委托价格",
  19318. "type": "number"
  19319. },
  19320. "orderqty": {
  19321. "description": "委托数量",
  19322. "type": "integer"
  19323. },
  19324. "orderstatus": {
  19325. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19326. "type": "integer"
  19327. },
  19328. "ordertime": {
  19329. "description": "委托时间",
  19330. "type": "string"
  19331. },
  19332. "picurls1": {
  19333. "description": "预售商品介绍图片[多张用逗号分隔]",
  19334. "type": "string"
  19335. },
  19336. "picurls2": {
  19337. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19338. "type": "string"
  19339. },
  19340. "trademode": {
  19341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19342. "type": "integer"
  19343. },
  19344. "tradeqty": {
  19345. "description": "成交数量",
  19346. "type": "integer"
  19347. },
  19348. "vendorname1": {
  19349. "description": "预售商品供应商名称",
  19350. "type": "string"
  19351. },
  19352. "vendorname2": {
  19353. "description": "挂牌商品供应商名称",
  19354. "type": "string"
  19355. }
  19356. }
  19357. },
  19358. "models.Loginaccount": {
  19359. "type": "object",
  19360. "required": [
  19361. "loginid"
  19362. ],
  19363. "properties": {
  19364. "canoutin": {
  19365. "description": "是否可出入金 - 0:不可 1:可",
  19366. "type": "integer"
  19367. },
  19368. "clientroleid": {
  19369. "description": "终端角色ID",
  19370. "type": "integer"
  19371. },
  19372. "haslogined": {
  19373. "description": "是否已登录 - 0:未登录 1:已登录",
  19374. "type": "integer"
  19375. },
  19376. "hasupdatedpwd": {
  19377. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19378. "type": "integer"
  19379. },
  19380. "lastloginip": {
  19381. "description": "最新登录地址",
  19382. "type": "string"
  19383. },
  19384. "lastloginmode": {
  19385. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19386. "type": "integer"
  19387. },
  19388. "lastloginremark": {
  19389. "description": "最新登录描述",
  19390. "type": "string"
  19391. },
  19392. "lastlogintime": {
  19393. "description": "最新登录时间",
  19394. "type": "string"
  19395. },
  19396. "logincode": {
  19397. "description": "登录代码",
  19398. "type": "string"
  19399. },
  19400. "loginfailnum": {
  19401. "description": "连续登录失败次数(登录成功时清零)",
  19402. "type": "integer"
  19403. },
  19404. "loginid": {
  19405. "description": "登陆账号",
  19406. "type": "integer"
  19407. },
  19408. "loginport": {
  19409. "description": "最新登录端口",
  19410. "type": "integer"
  19411. },
  19412. "loginstatus": {
  19413. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19414. "type": "integer"
  19415. },
  19416. "loginusertype": {
  19417. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19418. "type": "integer"
  19419. },
  19420. "modifierid": {
  19421. "description": "修改人",
  19422. "type": "integer"
  19423. },
  19424. "modifytime": {
  19425. "description": "修改时间",
  19426. "type": "string"
  19427. },
  19428. "pwdwrongcount": {
  19429. "description": "密码错误次数",
  19430. "type": "integer"
  19431. },
  19432. "taaccountrighttype": {
  19433. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19434. "type": "integer"
  19435. },
  19436. "unfreezetime": {
  19437. "description": "账户解冻时间",
  19438. "type": "string"
  19439. },
  19440. "userid": {
  19441. "description": "用户ID",
  19442. "type": "integer"
  19443. }
  19444. }
  19445. },
  19446. "models.MainAccountInfo": {
  19447. "type": "object",
  19448. "properties": {
  19449. "accountid": {
  19450. "description": "账号id",
  19451. "type": "integer"
  19452. },
  19453. "accountname": {
  19454. "description": "账号名称(taaccount表中的名称)",
  19455. "type": "string"
  19456. },
  19457. "appid": {
  19458. "description": "AppID",
  19459. "type": "string"
  19460. },
  19461. "authcode": {
  19462. "description": "授权码",
  19463. "type": "string"
  19464. },
  19465. "brokerid": {
  19466. "description": "经纪商id",
  19467. "type": "string"
  19468. },
  19469. "fcid": {
  19470. "description": "期货公司id",
  19471. "type": "integer"
  19472. },
  19473. "fcname": {
  19474. "description": "期货公司代码",
  19475. "type": "string"
  19476. },
  19477. "hedgeaccountcode": {
  19478. "description": "外部账号代码(主账号登录代码)",
  19479. "type": "string"
  19480. },
  19481. "hedgeaccountpwd": {
  19482. "description": "密码",
  19483. "type": "string"
  19484. },
  19485. "ismain": {
  19486. "description": "是否主账号",
  19487. "type": "integer"
  19488. },
  19489. "relateduserid": {
  19490. "description": "关联用户id",
  19491. "type": "integer"
  19492. },
  19493. "userid": {
  19494. "description": "关联用户id",
  19495. "type": "integer"
  19496. }
  19497. }
  19498. },
  19499. "models.Market": {
  19500. "type": "object",
  19501. "required": [
  19502. "marketid",
  19503. "marketstatus",
  19504. "openmethod",
  19505. "reckonpricealgorithm",
  19506. "trademode",
  19507. "tradeproperty"
  19508. ],
  19509. "properties": {
  19510. "auctionwrtype": {
  19511. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19512. "type": "integer"
  19513. },
  19514. "canacceptquote": {
  19515. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19516. "type": "integer"
  19517. },
  19518. "cangoodsexercise": {
  19519. "description": "[期权]是否可现货行权- 0:否 1:是",
  19520. "type": "integer"
  19521. },
  19522. "cangoodsexercisetype": {
  19523. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19524. "type": "integer"
  19525. },
  19526. "canmanualquotestrike": {
  19527. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19528. "type": "integer"
  19529. },
  19530. "canmutistage": {
  19531. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19532. "type": "integer"
  19533. },
  19534. "canpreexercise": {
  19535. "description": "[期权]是否可预申报- 0:否 1:是",
  19536. "type": "integer"
  19537. },
  19538. "clearinterval": {
  19539. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19540. "type": "integer"
  19541. },
  19542. "contracttmp": {
  19543. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19544. "type": "string"
  19545. },
  19546. "exchareaid": {
  19547. "description": "所属交易所,可以没有",
  19548. "type": "integer"
  19549. },
  19550. "goodstype": {
  19551. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19552. "type": "integer"
  19553. },
  19554. "hasrebate": {
  19555. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19556. "type": "integer"
  19557. },
  19558. "hastradecredit": {
  19559. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19560. "type": "integer"
  19561. },
  19562. "haswr": {
  19563. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19564. "type": "integer"
  19565. },
  19566. "isdeductmargin": {
  19567. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19568. "type": "integer"
  19569. },
  19570. "isrecordsource": {
  19571. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19572. "type": "integer"
  19573. },
  19574. "isreleasemargin": {
  19575. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19576. "type": "integer"
  19577. },
  19578. "marginformula": {
  19579. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19580. "type": "integer"
  19581. },
  19582. "marginformula2": {
  19583. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19584. "type": "integer"
  19585. },
  19586. "marketid": {
  19587. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19588. "type": "integer"
  19589. },
  19590. "marketname": {
  19591. "description": "市场名称",
  19592. "type": "string"
  19593. },
  19594. "marketserviceid": {
  19595. "description": "市场服务ID",
  19596. "type": "integer"
  19597. },
  19598. "marketstatus": {
  19599. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19600. "type": "integer"
  19601. },
  19602. "markettype": {
  19603. "description": "市场类型- 1:非交易服务 2:交易服务",
  19604. "type": "integer"
  19605. },
  19606. "matchermode": {
  19607. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19608. "type": "integer"
  19609. },
  19610. "openmethod": {
  19611. "description": "开盘模式 - 0 自动 1手动",
  19612. "type": "integer"
  19613. },
  19614. "otcuserid": {
  19615. "description": "场外期权做市商[场外期权]",
  19616. "type": "integer"
  19617. },
  19618. "outersynctime": {
  19619. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19620. "type": "string"
  19621. },
  19622. "pendingflag": {
  19623. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19624. "type": "integer"
  19625. },
  19626. "pendingtime": {
  19627. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19628. "type": "string"
  19629. },
  19630. "performancetempid": {
  19631. "description": "履约计划模板ID - 作废",
  19632. "type": "integer"
  19633. },
  19634. "premiumquotemode": {
  19635. "description": "权利金报价方式 - 1:自动 2:手动",
  19636. "type": "integer"
  19637. },
  19638. "rebateratio": {
  19639. "description": "返利比率[竞价式]",
  19640. "type": "number"
  19641. },
  19642. "reckonorder": {
  19643. "description": "结算顺序",
  19644. "type": "integer"
  19645. },
  19646. "reckonpricealgorithm": {
  19647. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19648. "type": "integer"
  19649. },
  19650. "reckonpriceparam": {
  19651. "description": "结算价参数",
  19652. "type": "integer"
  19653. },
  19654. "reckontime": {
  19655. "description": "结算时间[通道交易-对冲](HH:mm)",
  19656. "type": "string"
  19657. },
  19658. "roleprioritytype": {
  19659. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19660. "type": "integer"
  19661. },
  19662. "selllistingauditflag": {
  19663. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19664. "type": "integer"
  19665. },
  19666. "trademarkettype": {
  19667. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19668. "type": "integer"
  19669. },
  19670. "trademode": {
  19671. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19672. "type": "integer"
  19673. },
  19674. "tradeproperty": {
  19675. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19676. "type": "integer"
  19677. },
  19678. "tradetype": {
  19679. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19680. "type": "integer"
  19681. }
  19682. }
  19683. },
  19684. "models.Marketrun": {
  19685. "type": "object",
  19686. "required": [
  19687. "marketid",
  19688. "nexttradedate",
  19689. "reckonflag",
  19690. "runstatus",
  19691. "tradedate",
  19692. "tradedate2"
  19693. ],
  19694. "properties": {
  19695. "afternexttradedate": {
  19696. "description": "下下交易日",
  19697. "type": "string"
  19698. },
  19699. "clearquoteflag": {
  19700. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19701. "type": "integer"
  19702. },
  19703. "lastreckondate": {
  19704. "description": "最新交易日(结算成功)",
  19705. "type": "string"
  19706. },
  19707. "machinedate": {
  19708. "description": "机器时间",
  19709. "type": "string"
  19710. },
  19711. "manualflag": {
  19712. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19713. "type": "integer"
  19714. },
  19715. "marketid": {
  19716. "description": "市场ID",
  19717. "type": "integer"
  19718. },
  19719. "nexttradedate": {
  19720. "description": "下一交易日",
  19721. "type": "string"
  19722. },
  19723. "pretradedate": {
  19724. "description": "上一交易日",
  19725. "type": "string"
  19726. },
  19727. "reckonflag": {
  19728. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19729. "type": "integer"
  19730. },
  19731. "runstatus": {
  19732. "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.今日免清算",
  19733. "type": "integer"
  19734. },
  19735. "sectionid": {
  19736. "description": "时间段号[多时段时用]",
  19737. "type": "integer"
  19738. },
  19739. "tradedate": {
  19740. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19741. "type": "string"
  19742. },
  19743. "tradedate2": {
  19744. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19745. "type": "string"
  19746. },
  19747. "updatetime": {
  19748. "description": "更新时间",
  19749. "type": "string"
  19750. }
  19751. }
  19752. },
  19753. "models.Messageboard": {
  19754. "type": "object",
  19755. "required": [
  19756. "messageboardid"
  19757. ],
  19758. "properties": {
  19759. "contactnum": {
  19760. "description": "联系电话",
  19761. "type": "string"
  19762. },
  19763. "createtime": {
  19764. "description": "创建时间",
  19765. "type": "string"
  19766. },
  19767. "message": {
  19768. "description": "留言信息",
  19769. "type": "string"
  19770. },
  19771. "messageboardid": {
  19772. "description": "留言簿ID(SEQ_MessageBoard)",
  19773. "type": "integer"
  19774. },
  19775. "userid": {
  19776. "description": "用户ID",
  19777. "type": "integer"
  19778. }
  19779. }
  19780. },
  19781. "models.MyCoupon": {
  19782. "type": "object",
  19783. "required": [
  19784. "accountid",
  19785. "coupontypeid"
  19786. ],
  19787. "properties": {
  19788. "accountid": {
  19789. "description": "资金账户ID",
  19790. "type": "integer"
  19791. },
  19792. "areauserid": {
  19793. "description": "所属机构",
  19794. "type": "integer"
  19795. },
  19796. "conditionvalue": {
  19797. "description": "条件阈值(可为0)",
  19798. "type": "number"
  19799. },
  19800. "couponcategroy": {
  19801. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19802. "type": "integer"
  19803. },
  19804. "couponname": {
  19805. "description": "优惠券名称",
  19806. "type": "string"
  19807. },
  19808. "coupontypeid": {
  19809. "description": "优惠券类型ID",
  19810. "type": "string"
  19811. },
  19812. "couponvalue": {
  19813. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19814. "type": "number"
  19815. },
  19816. "curfreezeqty": {
  19817. "description": "期末冻结数量",
  19818. "type": "integer"
  19819. },
  19820. "curqty": {
  19821. "description": "期末数量",
  19822. "type": "integer"
  19823. },
  19824. "isgeneral": {
  19825. "description": "是否通用券 - 0:否 1:是",
  19826. "type": "integer"
  19827. },
  19828. "isunusable": {
  19829. "description": "是否不可用",
  19830. "type": "boolean"
  19831. },
  19832. "limitedflag": {
  19833. "description": "是否指定商品 - 0:不限 1:限制",
  19834. "type": "integer"
  19835. },
  19836. "limitedgoodsids": {
  19837. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19838. "type": "string"
  19839. },
  19840. "orifreezeqty": {
  19841. "description": "期初冻结数量",
  19842. "type": "integer"
  19843. },
  19844. "oriqty": {
  19845. "description": "期初数量",
  19846. "type": "integer"
  19847. },
  19848. "reasontype": {
  19849. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19850. "type": "integer"
  19851. },
  19852. "todaydecrease": {
  19853. "description": "今日减少",
  19854. "type": "integer"
  19855. },
  19856. "todayincrease": {
  19857. "description": "今日增加",
  19858. "type": "integer"
  19859. },
  19860. "userid": {
  19861. "description": "用户ID",
  19862. "type": "integer"
  19863. },
  19864. "userscope": {
  19865. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19866. "type": "string"
  19867. }
  19868. }
  19869. },
  19870. "models.MyCouponHold": {
  19871. "type": "object",
  19872. "required": [
  19873. "couponholdid"
  19874. ],
  19875. "properties": {
  19876. "accountid": {
  19877. "description": "资金账户ID",
  19878. "type": "integer"
  19879. },
  19880. "conditionvalue": {
  19881. "description": "条件阈值(可为0)",
  19882. "type": "number"
  19883. },
  19884. "couponcategroy": {
  19885. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19886. "type": "integer"
  19887. },
  19888. "couponholdid": {
  19889. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19890. "type": "string"
  19891. },
  19892. "couponname": {
  19893. "description": "优惠券名称",
  19894. "type": "string"
  19895. },
  19896. "coupontypeid": {
  19897. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19898. "type": "string"
  19899. },
  19900. "couponvalue": {
  19901. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19902. "type": "number"
  19903. },
  19904. "createtime": {
  19905. "description": "创建时间",
  19906. "type": "string"
  19907. },
  19908. "enddate": {
  19909. "description": "结束日期",
  19910. "type": "string"
  19911. },
  19912. "giveapplyid": {
  19913. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19914. "type": "integer"
  19915. },
  19916. "holdstatus": {
  19917. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19918. "type": "integer"
  19919. },
  19920. "isgeneral": {
  19921. "description": "是否通用券 - 0:否 1:是",
  19922. "type": "integer"
  19923. },
  19924. "limitedflag": {
  19925. "description": "是否指定商品 - 0:不限 1:限制",
  19926. "type": "integer"
  19927. },
  19928. "limitedgoodsids": {
  19929. "description": "指定商品IDs[逗号分隔]",
  19930. "type": "string"
  19931. },
  19932. "qty": {
  19933. "description": "数量(按1平铺)",
  19934. "type": "integer"
  19935. },
  19936. "startdate": {
  19937. "description": "开始日期",
  19938. "type": "string"
  19939. },
  19940. "userid": {
  19941. "description": "用户ID",
  19942. "type": "integer"
  19943. },
  19944. "userscope": {
  19945. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19946. "type": "string"
  19947. }
  19948. }
  19949. },
  19950. "models.MyUsedCoupon": {
  19951. "type": "object",
  19952. "required": [
  19953. "coupontypeid",
  19954. "orderid"
  19955. ],
  19956. "properties": {
  19957. "accountid": {
  19958. "description": "资金账户ID(买方)",
  19959. "type": "integer"
  19960. },
  19961. "conditionvalue": {
  19962. "description": "条件阈值(可为0)",
  19963. "type": "number"
  19964. },
  19965. "couponcategroy": {
  19966. "description": "种类 - 1:现金券 2:折扣券",
  19967. "type": "integer"
  19968. },
  19969. "couponname": {
  19970. "description": "优惠券名称",
  19971. "type": "string"
  19972. },
  19973. "coupontypeid": {
  19974. "description": "优惠券类型ID(买方)",
  19975. "type": "string"
  19976. },
  19977. "couponvalue": {
  19978. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19979. "type": "number"
  19980. },
  19981. "createtime": {
  19982. "description": "创建时间",
  19983. "type": "string"
  19984. },
  19985. "goodsid": {
  19986. "description": "商品ID",
  19987. "type": "integer"
  19988. },
  19989. "handlestatus": {
  19990. "description": "处理状态",
  19991. "type": "integer"
  19992. },
  19993. "marketid": {
  19994. "description": "市场ID",
  19995. "type": "integer"
  19996. },
  19997. "offamount": {
  19998. "description": "优惠金额",
  19999. "type": "number"
  20000. },
  20001. "orderid": {
  20002. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20003. "type": "string"
  20004. },
  20005. "sellaccountid": {
  20006. "description": "资金账户ID(卖方)",
  20007. "type": "integer"
  20008. },
  20009. "tradeamount": {
  20010. "description": "成交金额",
  20011. "type": "number"
  20012. },
  20013. "tradeid": {
  20014. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20015. "type": "string"
  20016. },
  20017. "usedqty": {
  20018. "description": "使用数量",
  20019. "type": "integer"
  20020. }
  20021. }
  20022. },
  20023. "models.OperationPrimaryMenu": {
  20024. "type": "object",
  20025. "properties": {
  20026. "Children": {
  20027. "description": "二级功能菜单",
  20028. "type": "array",
  20029. "items": {
  20030. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20031. }
  20032. },
  20033. "Key": {
  20034. "description": "菜单KEY",
  20035. "type": "string"
  20036. },
  20037. "Label": {
  20038. "description": "菜单标题",
  20039. "type": "string"
  20040. }
  20041. }
  20042. },
  20043. "models.OperationSecondaryMenu": {
  20044. "type": "object",
  20045. "properties": {
  20046. "Key": {
  20047. "description": "菜单KEY",
  20048. "type": "string"
  20049. },
  20050. "Label": {
  20051. "description": "菜单标题",
  20052. "type": "string"
  20053. },
  20054. "TabList": {
  20055. "description": "三级功能菜单",
  20056. "type": "array",
  20057. "items": {
  20058. "$ref": "#/definitions/models.OperationTabMenu"
  20059. }
  20060. }
  20061. }
  20062. },
  20063. "models.OperationTabMenu": {
  20064. "type": "object",
  20065. "properties": {
  20066. "Key": {
  20067. "description": "菜单KEY",
  20068. "type": "string"
  20069. },
  20070. "Label": {
  20071. "description": "菜单标题",
  20072. "type": "string"
  20073. }
  20074. }
  20075. },
  20076. "models.PendingAuditBizModel": {
  20077. "type": "object",
  20078. "properties": {
  20079. "accountid": {
  20080. "description": "现货账户",
  20081. "type": "string"
  20082. },
  20083. "areaname": {
  20084. "description": "所属部门",
  20085. "type": "string"
  20086. },
  20087. "bizid": {
  20088. "description": "业务ID",
  20089. "type": "string"
  20090. },
  20091. "bizname": {
  20092. "description": "业务名称",
  20093. "type": "string"
  20094. },
  20095. "status": {
  20096. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20097. "type": "integer"
  20098. },
  20099. "type": {
  20100. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20101. "type": "integer"
  20102. }
  20103. }
  20104. },
  20105. "models.QhjContract": {
  20106. "type": "object",
  20107. "properties": {
  20108. "contractconfirmtime": {
  20109. "description": "合同确认时间(时间)",
  20110. "type": "string"
  20111. },
  20112. "enumdicname": {
  20113. "description": "单位名称",
  20114. "type": "string"
  20115. },
  20116. "goodscode": {
  20117. "description": "商品代码",
  20118. "type": "string"
  20119. },
  20120. "goodsid": {
  20121. "description": "商品ID [5:融资单]",
  20122. "type": "integer"
  20123. },
  20124. "goodsname": {
  20125. "description": "商品名称",
  20126. "type": "string"
  20127. },
  20128. "goodunitid": {
  20129. "description": "商品单位id",
  20130. "type": "integer"
  20131. },
  20132. "initmargin": {
  20133. "description": "初始保证金(首付款)",
  20134. "type": "number"
  20135. },
  20136. "lenderamount": {
  20137. "description": "贷款金额(总额|订单总额)",
  20138. "type": "number"
  20139. },
  20140. "marginratio": {
  20141. "description": "保证金比率(首付比例)",
  20142. "type": "number"
  20143. },
  20144. "payamount": {
  20145. "description": "已付(已付货款)",
  20146. "type": "number"
  20147. },
  20148. "recoveredmargin": {
  20149. "description": "已追缴保证金",
  20150. "type": "number"
  20151. },
  20152. "remainamount": {
  20153. "description": "合同剩余金额(融资额)",
  20154. "type": "number"
  20155. },
  20156. "scfcontractid": {
  20157. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20158. "type": "integer"
  20159. },
  20160. "scfcontracttype": {
  20161. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20162. "type": "integer"
  20163. },
  20164. "totalinterest": {
  20165. "description": "已计总利息(利息)",
  20166. "type": "number"
  20167. },
  20168. "tradeprice": {
  20169. "description": "成交价格(成本价格)",
  20170. "type": "number"
  20171. },
  20172. "userid": {
  20173. "description": "用户ID",
  20174. "type": "integer"
  20175. },
  20176. "username": {
  20177. "description": "用户名称",
  20178. "type": "string"
  20179. },
  20180. "wrqty": {
  20181. "description": "仓单数量(数量)",
  20182. "type": "integer"
  20183. }
  20184. }
  20185. },
  20186. "models.QhjContractLog": {
  20187. "type": "object",
  20188. "properties": {
  20189. "amount": {
  20190. "description": "支付金额",
  20191. "type": "number"
  20192. },
  20193. "amounttype": {
  20194. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20195. "type": "integer"
  20196. },
  20197. "logid": {
  20198. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20199. "type": "string"
  20200. },
  20201. "remainamount": {
  20202. "description": "剩余货款",
  20203. "type": "number"
  20204. },
  20205. "scfcontractid": {
  20206. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20207. "type": "integer"
  20208. },
  20209. "updatetime": {
  20210. "description": "更新时间",
  20211. "type": "string"
  20212. }
  20213. }
  20214. },
  20215. "models.QhjPickGoods": {
  20216. "type": "object",
  20217. "properties": {
  20218. "imageaddress": {
  20219. "description": "图片",
  20220. "type": "string"
  20221. },
  20222. "modifierid": {
  20223. "description": "修改人",
  20224. "type": "integer"
  20225. },
  20226. "modifiername": {
  20227. "description": "修改人名称",
  20228. "type": "string"
  20229. },
  20230. "modifysrc": {
  20231. "description": "修改来源 - 1:管理端 2:终端",
  20232. "type": "integer"
  20233. },
  20234. "pickupgoodsagreeunit": {
  20235. "description": "合约乘数",
  20236. "type": "number"
  20237. },
  20238. "pickupgoodsdesc": {
  20239. "description": "描述",
  20240. "type": "string"
  20241. },
  20242. "pickupgoodsid": {
  20243. "description": "提货商品ID",
  20244. "type": "string"
  20245. },
  20246. "pickupgoodsname": {
  20247. "description": "提货商品名称",
  20248. "type": "string"
  20249. },
  20250. "pickupgoodsstatus": {
  20251. "description": "状态 - 1:正常 2:停用 3:注销",
  20252. "type": "integer"
  20253. },
  20254. "pickupgoodsunitid": {
  20255. "description": "单位ID",
  20256. "type": "integer"
  20257. },
  20258. "preparedays": {
  20259. "description": "备货期(天)",
  20260. "type": "integer"
  20261. },
  20262. "remark": {
  20263. "description": "备注",
  20264. "type": "string"
  20265. },
  20266. "updatetime": {
  20267. "description": "更新时间",
  20268. "type": "string"
  20269. }
  20270. }
  20271. },
  20272. "models.QhjRSTriggerLog": {
  20273. "type": "object",
  20274. "properties": {
  20275. "accountid": {
  20276. "description": "用户资金账户",
  20277. "type": "integer"
  20278. },
  20279. "accountname": {
  20280. "description": "账号名称(ACCOUNTID对应的名称)",
  20281. "type": "string"
  20282. },
  20283. "currencyid": {
  20284. "description": "币种id",
  20285. "type": "integer"
  20286. },
  20287. "currencyname": {
  20288. "description": "币种名称",
  20289. "type": "string"
  20290. },
  20291. "enumdicname": {
  20292. "description": "单位名称",
  20293. "type": "string"
  20294. },
  20295. "goodscode": {
  20296. "description": "定投商品代码",
  20297. "type": "string"
  20298. },
  20299. "goodsid": {
  20300. "description": "定投商品ID",
  20301. "type": "string"
  20302. },
  20303. "goodsname": {
  20304. "description": "定投商品名称",
  20305. "type": "string"
  20306. },
  20307. "goodunitid": {
  20308. "description": "定投商品单位id",
  20309. "type": "integer"
  20310. },
  20311. "logid": {
  20312. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20313. "type": "string"
  20314. },
  20315. "regularlycycle": {
  20316. "description": "定投频率 - 1:每周 2:每月",
  20317. "type": "integer"
  20318. },
  20319. "regularlycyclevalue": {
  20320. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20321. "type": "string"
  20322. },
  20323. "regularlymode": {
  20324. "description": "定投方式 - 1:按数量 2:按金额",
  20325. "type": "integer"
  20326. },
  20327. "regularlymodevalue": {
  20328. "description": "定投方式值 - 数量或金额",
  20329. "type": "number"
  20330. },
  20331. "regularlystrategyid": {
  20332. "description": "定投策略ID",
  20333. "type": "integer"
  20334. },
  20335. "retcode": {
  20336. "description": "错误码",
  20337. "type": "string"
  20338. },
  20339. "tradeid": {
  20340. "description": "成交单ID",
  20341. "type": "string"
  20342. },
  20343. "triggeramount": {
  20344. "description": "触发金额",
  20345. "type": "number"
  20346. },
  20347. "triggerqty": {
  20348. "description": "触发数量",
  20349. "type": "number"
  20350. },
  20351. "triggerstatus": {
  20352. "description": "触发状态 - 1:成功 2:失败",
  20353. "type": "integer"
  20354. },
  20355. "triggertime": {
  20356. "description": "触发时间",
  20357. "type": "string"
  20358. },
  20359. "triggertradedate": {
  20360. "description": "触发交易日",
  20361. "type": "string"
  20362. },
  20363. "userid": {
  20364. "description": "所属用户ID",
  20365. "type": "integer"
  20366. },
  20367. "username": {
  20368. "description": "用户名称(userid对应的名称)",
  20369. "type": "string"
  20370. }
  20371. }
  20372. },
  20373. "models.QhjRStrategy": {
  20374. "type": "object",
  20375. "properties": {
  20376. "accountid": {
  20377. "description": "用户资金账户",
  20378. "type": "integer"
  20379. },
  20380. "accountname": {
  20381. "description": "账号名称(ACCOUNTID对应的名称)",
  20382. "type": "string"
  20383. },
  20384. "currencyid": {
  20385. "description": "币种id",
  20386. "type": "integer"
  20387. },
  20388. "currencyname": {
  20389. "description": "币种名称",
  20390. "type": "string"
  20391. },
  20392. "enumdicname": {
  20393. "description": "单位名称",
  20394. "type": "string"
  20395. },
  20396. "goodscode": {
  20397. "description": "定投商品代码",
  20398. "type": "string"
  20399. },
  20400. "goodsid": {
  20401. "description": "定投商品ID",
  20402. "type": "string"
  20403. },
  20404. "goodsname": {
  20405. "description": "定投商品名称",
  20406. "type": "string"
  20407. },
  20408. "goodunitid": {
  20409. "description": "定投商品单位id",
  20410. "type": "integer"
  20411. },
  20412. "lasteffecttradedate": {
  20413. "description": "最新生效交易日",
  20414. "type": "string"
  20415. },
  20416. "laststoptradedate": {
  20417. "description": "最新暂停交易日",
  20418. "type": "string"
  20419. },
  20420. "lasttriggertradedate": {
  20421. "description": "最新触发交易日",
  20422. "type": "string"
  20423. },
  20424. "nexttriggeramount": {
  20425. "description": "下次触发金额",
  20426. "type": "number"
  20427. },
  20428. "nexttriggerdate": {
  20429. "description": "下次触发日期",
  20430. "type": "string"
  20431. },
  20432. "nexttriggerqty": {
  20433. "description": "下次触发数量 [按小数位放大值]",
  20434. "type": "number"
  20435. },
  20436. "regularlycycle": {
  20437. "description": "定投频率 - 1:每周 2:每月",
  20438. "type": "integer"
  20439. },
  20440. "regularlycyclevalue": {
  20441. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20442. "type": "string"
  20443. },
  20444. "regularlymode": {
  20445. "description": "定投方式 - 1:按数量 2:按金额",
  20446. "type": "integer"
  20447. },
  20448. "regularlymodevalue": {
  20449. "description": "定投方式值 - 数量或金额",
  20450. "type": "number"
  20451. },
  20452. "regularlystrategyid": {
  20453. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20454. "type": "integer"
  20455. },
  20456. "regularlystrategystatus": {
  20457. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20458. "type": "integer"
  20459. },
  20460. "remark": {
  20461. "description": "备注",
  20462. "type": "string"
  20463. },
  20464. "triggersuccesstimes": {
  20465. "description": "累计定投成功次数",
  20466. "type": "string"
  20467. },
  20468. "triggertotalamount": {
  20469. "description": "累计定投金额(成功)",
  20470. "type": "number"
  20471. },
  20472. "triggertotalqty": {
  20473. "description": "累计定投数量(成功) [按小数位放大值]",
  20474. "type": "number"
  20475. },
  20476. "triggertotaltimes": {
  20477. "description": "累计定投总次数",
  20478. "type": "string"
  20479. },
  20480. "updatesrc": {
  20481. "description": "更新来源 - 1:管理端 2:终端",
  20482. "type": "integer"
  20483. },
  20484. "updatetime": {
  20485. "description": "更新时间",
  20486. "type": "string"
  20487. },
  20488. "updatorid": {
  20489. "description": "更新人",
  20490. "type": "string"
  20491. },
  20492. "userid": {
  20493. "description": "所属用户ID",
  20494. "type": "integer"
  20495. },
  20496. "username": {
  20497. "description": "用户名称(userid对应的名称)",
  20498. "type": "string"
  20499. }
  20500. }
  20501. },
  20502. "models.QhjTradeGoodsPickup": {
  20503. "type": "object",
  20504. "properties": {
  20505. "accountid": {
  20506. "description": "账户ID",
  20507. "type": "integer"
  20508. },
  20509. "address": {
  20510. "description": "提货人详细地址",
  20511. "type": "string"
  20512. },
  20513. "amount": {
  20514. "description": "提货金额",
  20515. "type": "number"
  20516. },
  20517. "artradedate": {
  20518. "description": "自动收货交易日(yyyyMMdd)",
  20519. "type": "string"
  20520. },
  20521. "auditer": {
  20522. "description": "审核人",
  20523. "type": "integer"
  20524. },
  20525. "auditsrc": {
  20526. "description": "更新来源 - 1:管理端 2:终端",
  20527. "type": "integer"
  20528. },
  20529. "audittime": {
  20530. "description": "审核时间(发货时间)",
  20531. "type": "string"
  20532. },
  20533. "audittradedate": {
  20534. "description": "审核交易日(yyyyMMdd)",
  20535. "type": "string"
  20536. },
  20537. "cardnum": {
  20538. "description": "提货人证件号码",
  20539. "type": "string"
  20540. },
  20541. "cardtypeid": {
  20542. "description": "提货人证件类型",
  20543. "type": "integer"
  20544. },
  20545. "checkremark": {
  20546. "description": "审核备注",
  20547. "type": "string"
  20548. },
  20549. "cityid": {
  20550. "description": "市",
  20551. "type": "integer"
  20552. },
  20553. "countryid": {
  20554. "description": "国家",
  20555. "type": "integer"
  20556. },
  20557. "districtid": {
  20558. "description": "地区",
  20559. "type": "integer"
  20560. },
  20561. "enumdicname": {
  20562. "description": "单位名称(提货商品)",
  20563. "type": "string"
  20564. },
  20565. "expresscompany": {
  20566. "description": "物流公司",
  20567. "type": "string"
  20568. },
  20569. "expressnum": {
  20570. "description": "物流单号",
  20571. "type": "string"
  20572. },
  20573. "goodsagreeunit": {
  20574. "description": "交易商品乘数",
  20575. "type": "number"
  20576. },
  20577. "goodsid": {
  20578. "description": "商品ID",
  20579. "type": "integer"
  20580. },
  20581. "goodsqty": {
  20582. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  20583. "type": "number"
  20584. },
  20585. "handlestatus": {
  20586. "description": "处理状态",
  20587. "type": "integer"
  20588. },
  20589. "marketid": {
  20590. "description": "市场ID",
  20591. "type": "integer"
  20592. },
  20593. "phonenum": {
  20594. "description": "提货人联系方式",
  20595. "type": "string"
  20596. },
  20597. "pickupgoodsagreeunit": {
  20598. "description": "提货商品合约乘数",
  20599. "type": "number"
  20600. },
  20601. "pickupgoodsid": {
  20602. "description": "提货商品ID",
  20603. "type": "string"
  20604. },
  20605. "pickupgoodsname": {
  20606. "description": "提货商品名称",
  20607. "type": "string"
  20608. },
  20609. "pickupgoodsqty": {
  20610. "description": "提货商品手数(数量)",
  20611. "type": "number"
  20612. },
  20613. "pickupgoodsunitid": {
  20614. "description": "单位ID(提货商品)",
  20615. "type": "integer"
  20616. },
  20617. "pickupratio": {
  20618. "description": "提货系数",
  20619. "type": "number"
  20620. },
  20621. "preparedays": {
  20622. "description": "备货期(天)-提货单明细表",
  20623. "type": "integer"
  20624. },
  20625. "provinceid": {
  20626. "description": "省",
  20627. "type": "integer"
  20628. },
  20629. "qty": {
  20630. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  20631. "type": "number"
  20632. },
  20633. "recivername": {
  20634. "description": "提货人姓名",
  20635. "type": "string"
  20636. },
  20637. "reqtime": {
  20638. "description": "提货申请时间",
  20639. "type": "string"
  20640. },
  20641. "storeuserid": {
  20642. "description": "门店用户ID (千海金)",
  20643. "type": "integer"
  20644. },
  20645. "storeusername": {
  20646. "description": "门店用户名称",
  20647. "type": "string"
  20648. },
  20649. "takemode": {
  20650. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  20651. "type": "integer"
  20652. },
  20653. "takeorderid": {
  20654. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20655. "type": "integer"
  20656. },
  20657. "takeorderstatus": {
  20658. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  20659. "type": "integer"
  20660. },
  20661. "takeremark": {
  20662. "description": "提货备注",
  20663. "type": "string"
  20664. },
  20665. "tradedate": {
  20666. "description": "交易日(yyyyMMdd)",
  20667. "type": "string"
  20668. },
  20669. "updatetime": {
  20670. "description": "更新时间",
  20671. "type": "string"
  20672. },
  20673. "userid": {
  20674. "description": "用户ID",
  20675. "type": "integer"
  20676. },
  20677. "username": {
  20678. "description": "用户名称",
  20679. "type": "string"
  20680. }
  20681. }
  20682. },
  20683. "models.QueryErrorInfosRsp": {
  20684. "type": "object",
  20685. "required": [
  20686. "errorid"
  20687. ],
  20688. "properties": {
  20689. "description": {
  20690. "description": "异常描述",
  20691. "type": "string"
  20692. },
  20693. "errorcode": {
  20694. "description": "异常代码",
  20695. "type": "string"
  20696. },
  20697. "errorid": {
  20698. "description": "异常ID",
  20699. "type": "integer"
  20700. },
  20701. "modulecode": {
  20702. "description": "所属模块",
  20703. "type": "string"
  20704. },
  20705. "operatecode": {
  20706. "description": "所属操作",
  20707. "type": "string"
  20708. },
  20709. "rownumber": {
  20710. "description": "行号",
  20711. "type": "string"
  20712. }
  20713. }
  20714. },
  20715. "models.QueryHedgeOrderDetailRsp": {
  20716. "type": "object",
  20717. "properties": {
  20718. "accountid": {
  20719. "description": "账户ID",
  20720. "type": "integer"
  20721. },
  20722. "buyorsell": {
  20723. "description": "买卖 - 0:买 1:卖",
  20724. "type": "integer"
  20725. },
  20726. "cancellogincode": {
  20727. "description": "撤单人",
  20728. "type": "string"
  20729. },
  20730. "channelbuildtype": {
  20731. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20732. "type": "integer"
  20733. },
  20734. "channelinnerorderstatus": {
  20735. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20736. "type": "integer"
  20737. },
  20738. "channeloperatetype": {
  20739. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20740. "type": "integer"
  20741. },
  20742. "closetype": {
  20743. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20744. "type": "integer"
  20745. },
  20746. "curexchangerate": {
  20747. "description": "当前汇率",
  20748. "type": "number"
  20749. },
  20750. "exchangefullname": {
  20751. "description": "外部交易所全称",
  20752. "type": "string"
  20753. },
  20754. "goodscode": {
  20755. "description": "商品代码(内部)",
  20756. "type": "string"
  20757. },
  20758. "goodsid": {
  20759. "description": "商品ID",
  20760. "type": "integer"
  20761. },
  20762. "goodsname": {
  20763. "description": "商品名称",
  20764. "type": "string"
  20765. },
  20766. "marketid": {
  20767. "description": "市场ID",
  20768. "type": "integer"
  20769. },
  20770. "openfreezemargin": {
  20771. "description": "冻结保证金(冻结交易金额)",
  20772. "type": "number"
  20773. },
  20774. "orderid": {
  20775. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20776. "type": "string"
  20777. },
  20778. "orderlogincode": {
  20779. "description": "委托人",
  20780. "type": "string"
  20781. },
  20782. "orderprice": {
  20783. "description": "委托价格(账户)",
  20784. "type": "number"
  20785. },
  20786. "orderqty": {
  20787. "description": "委托数量",
  20788. "type": "integer"
  20789. },
  20790. "ordertime": {
  20791. "description": "委托时间",
  20792. "type": "string"
  20793. },
  20794. "pricemode": {
  20795. "description": "取价方式 - 1:市价 2: 限价",
  20796. "type": "integer"
  20797. },
  20798. "tradedate": {
  20799. "description": "交易日(yyyyMMdd)",
  20800. "type": "string"
  20801. },
  20802. "tradeqty": {
  20803. "description": "成交数量",
  20804. "type": "integer"
  20805. }
  20806. }
  20807. },
  20808. "models.QueryHedgeTradeDetailRsp": {
  20809. "type": "object",
  20810. "properties": {
  20811. "accountid": {
  20812. "description": "账号ID",
  20813. "type": "integer"
  20814. },
  20815. "buyorsell": {
  20816. "description": "方向 - 0:买 1:卖",
  20817. "type": "integer"
  20818. },
  20819. "channelbuildtype": {
  20820. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20821. "type": "integer"
  20822. },
  20823. "closecharge": {
  20824. "description": "平仓手续费(账户)",
  20825. "type": "number"
  20826. },
  20827. "closecharge2": {
  20828. "description": "平仓手续费(商品)",
  20829. "type": "number"
  20830. },
  20831. "closepl": {
  20832. "description": "平仓盈亏(账户)",
  20833. "type": "number"
  20834. },
  20835. "closepl2": {
  20836. "description": "平仓盈亏(商品)",
  20837. "type": "number"
  20838. },
  20839. "closepl3": {
  20840. "description": "平仓盈亏(账户)(逐笔)",
  20841. "type": "number"
  20842. },
  20843. "closepl4": {
  20844. "description": "平仓盈亏(商品)(逐笔)",
  20845. "type": "number"
  20846. },
  20847. "closetype": {
  20848. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20849. "type": "integer"
  20850. },
  20851. "curexchangerate": {
  20852. "description": "当前汇率",
  20853. "type": "number"
  20854. },
  20855. "exchangefullname": {
  20856. "description": "外部交易所全称",
  20857. "type": "string"
  20858. },
  20859. "goodscode": {
  20860. "description": "商品代码(内部)",
  20861. "type": "string"
  20862. },
  20863. "goodsid": {
  20864. "description": "商品ID",
  20865. "type": "integer"
  20866. },
  20867. "goodsname": {
  20868. "description": "商品名称",
  20869. "type": "string"
  20870. },
  20871. "marketid": {
  20872. "description": "市场ID",
  20873. "type": "integer"
  20874. },
  20875. "opencharge": {
  20876. "description": "建仓手续费(账户)",
  20877. "type": "number"
  20878. },
  20879. "opencharge2": {
  20880. "description": "建仓手续费(商品)",
  20881. "type": "number"
  20882. },
  20883. "orderid": {
  20884. "description": "委托单号",
  20885. "type": "string"
  20886. },
  20887. "orderlogincode": {
  20888. "description": "委托人",
  20889. "type": "string"
  20890. },
  20891. "tradeamount": {
  20892. "description": "成交金额(账户)",
  20893. "type": "number"
  20894. },
  20895. "tradedate": {
  20896. "description": "交易日(yyyyMMdd)",
  20897. "type": "string"
  20898. },
  20899. "tradeid": {
  20900. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20901. "type": "string"
  20902. },
  20903. "tradeprice": {
  20904. "description": "成交价格",
  20905. "type": "number"
  20906. },
  20907. "tradeqty": {
  20908. "description": "成交数量",
  20909. "type": "integer"
  20910. },
  20911. "tradetime": {
  20912. "description": "成交时间",
  20913. "type": "string"
  20914. },
  20915. "tradetype": {
  20916. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20917. "type": "integer"
  20918. }
  20919. }
  20920. },
  20921. "models.QuotePrimaryMenu": {
  20922. "type": "object",
  20923. "properties": {
  20924. "Index": {
  20925. "description": "序号",
  20926. "type": "integer"
  20927. },
  20928. "Key": {
  20929. "description": "键名",
  20930. "type": "string"
  20931. },
  20932. "Name": {
  20933. "description": "菜单名称",
  20934. "type": "string"
  20935. },
  20936. "SubMenus": {
  20937. "description": "子菜单",
  20938. "type": "array",
  20939. "items": {
  20940. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20941. }
  20942. },
  20943. "SubTitleType": {
  20944. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20945. "type": "integer"
  20946. },
  20947. "TradeModes": {
  20948. "description": "包含市场交易类型",
  20949. "type": "string"
  20950. }
  20951. }
  20952. },
  20953. "models.QuoteSecondaryMenu": {
  20954. "type": "object",
  20955. "properties": {
  20956. "ExExchangeCode": {
  20957. "description": "外部交易所代码",
  20958. "type": "string"
  20959. },
  20960. "ExExchangeID": {
  20961. "description": "外部交易所ID",
  20962. "type": "integer"
  20963. },
  20964. "GoodsGroupIDs": {
  20965. "description": "商品组ID列表",
  20966. "type": "array",
  20967. "items": {
  20968. "type": "integer"
  20969. }
  20970. },
  20971. "Index": {
  20972. "description": "序号",
  20973. "type": "integer"
  20974. },
  20975. "MarketID": {
  20976. "description": "市场ID",
  20977. "type": "integer"
  20978. },
  20979. "MenuTitle": {
  20980. "description": "菜单标题(市场名称或外部交易所名称)",
  20981. "type": "string"
  20982. },
  20983. "TradeMode": {
  20984. "description": "交易模式",
  20985. "type": "integer"
  20986. }
  20987. }
  20988. },
  20989. "models.SearchGoods": {
  20990. "type": "object",
  20991. "required": [
  20992. "goodscode",
  20993. "goodsid",
  20994. "goodsname",
  20995. "marketid",
  20996. "trademode"
  20997. ],
  20998. "properties": {
  20999. "goodscode": {
  21000. "description": "商品代码(内部)",
  21001. "type": "string"
  21002. },
  21003. "goodsid": {
  21004. "description": "商品ID(自增ID SEQ_GOODS)",
  21005. "type": "integer"
  21006. },
  21007. "goodsname": {
  21008. "description": "商品名称",
  21009. "type": "string"
  21010. },
  21011. "marketid": {
  21012. "description": "所属市场ID",
  21013. "type": "integer"
  21014. },
  21015. "marketname": {
  21016. "description": "市场名称",
  21017. "type": "string"
  21018. },
  21019. "trademode": {
  21020. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21021. "type": "integer"
  21022. }
  21023. }
  21024. },
  21025. "models.Systemparam": {
  21026. "type": "object",
  21027. "required": [
  21028. "paramcode"
  21029. ],
  21030. "properties": {
  21031. "loginid": {
  21032. "description": "更新用户账号,登录账号",
  21033. "type": "string"
  21034. },
  21035. "modifyflag": {
  21036. "description": "修改标志0 不允许修改 1 允许修改",
  21037. "type": "integer"
  21038. },
  21039. "paramcode": {
  21040. "description": "参数代码",
  21041. "type": "string"
  21042. },
  21043. "paramname": {
  21044. "description": "参数名",
  21045. "type": "string"
  21046. },
  21047. "paramtype": {
  21048. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21049. "type": "integer"
  21050. },
  21051. "paramvalue": {
  21052. "description": "参数值",
  21053. "type": "string"
  21054. },
  21055. "paramvalue2": {
  21056. "description": "参数值(CLOB)",
  21057. "type": "string"
  21058. },
  21059. "regexpress": {
  21060. "description": "正则表达式",
  21061. "type": "string"
  21062. },
  21063. "remark": {
  21064. "description": "备注",
  21065. "type": "string"
  21066. },
  21067. "serverip": {
  21068. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21069. "type": "string"
  21070. },
  21071. "showflag": {
  21072. "description": "是否显示0 不显示 1 显示",
  21073. "type": "integer"
  21074. },
  21075. "updatetime": {
  21076. "description": "更新时间",
  21077. "type": "string"
  21078. },
  21079. "userid": {
  21080. "description": "更新用户ID",
  21081. "type": "integer"
  21082. }
  21083. }
  21084. },
  21085. "models.Szdz3convertconfig": {
  21086. "type": "object",
  21087. "required": [
  21088. "converttype",
  21089. "innergoodsid",
  21090. "outergoodscode"
  21091. ],
  21092. "properties": {
  21093. "canin": {
  21094. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21095. "type": "integer"
  21096. },
  21097. "canout": {
  21098. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21099. "type": "integer"
  21100. },
  21101. "converttype": {
  21102. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21103. "type": "integer"
  21104. },
  21105. "createtime": {
  21106. "description": "创建时间",
  21107. "type": "string"
  21108. },
  21109. "creatorid": {
  21110. "description": "创建人",
  21111. "type": "integer"
  21112. },
  21113. "daymaxvalue": {
  21114. "description": "当日最大转入限制",
  21115. "type": "number"
  21116. },
  21117. "freezedays": {
  21118. "description": "冻结天数 [5:花生米转交易]",
  21119. "type": "integer"
  21120. },
  21121. "innergoodsid": {
  21122. "description": "内部商品ID[交易]",
  21123. "type": "integer"
  21124. },
  21125. "inratio": {
  21126. "description": "目标值",
  21127. "type": "integer"
  21128. },
  21129. "modifierid": {
  21130. "description": "修改人",
  21131. "type": "integer"
  21132. },
  21133. "modifytime": {
  21134. "description": "修改时间",
  21135. "type": "string"
  21136. },
  21137. "outergoodscode": {
  21138. "description": "外部商品代码[JD\\PD]",
  21139. "type": "string"
  21140. },
  21141. "outratio": {
  21142. "description": "源值",
  21143. "type": "integer"
  21144. },
  21145. "pddecimalplace": {
  21146. "description": "PD小数位",
  21147. "type": "integer"
  21148. },
  21149. "timemaxvalue": {
  21150. "description": "单次最大转入限制",
  21151. "type": "number"
  21152. },
  21153. "timeminvalue": {
  21154. "description": "单次最小转入限制",
  21155. "type": "number"
  21156. }
  21157. }
  21158. },
  21159. "models.Szdz3searchwhitelist": {
  21160. "type": "object",
  21161. "required": [
  21162. "userid"
  21163. ],
  21164. "properties": {
  21165. "createtime": {
  21166. "description": "创建时间",
  21167. "type": "string"
  21168. },
  21169. "creatorid": {
  21170. "description": "创建人",
  21171. "type": "integer"
  21172. },
  21173. "modifierid": {
  21174. "description": "修改人",
  21175. "type": "integer"
  21176. },
  21177. "modifytime": {
  21178. "description": "修改时间",
  21179. "type": "string"
  21180. },
  21181. "userid": {
  21182. "description": "用户ID",
  21183. "type": "integer"
  21184. }
  21185. }
  21186. },
  21187. "models.Taaccount": {
  21188. "type": "object",
  21189. "required": [
  21190. "accountid",
  21191. "userid"
  21192. ],
  21193. "properties": {
  21194. "accountflag": {
  21195. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21196. "type": "integer"
  21197. },
  21198. "accountid": {
  21199. "description": "资金账户ID",
  21200. "type": "integer"
  21201. },
  21202. "accountname": {
  21203. "description": "账户名称",
  21204. "type": "string"
  21205. },
  21206. "balance": {
  21207. "description": "期初余额",
  21208. "type": "number"
  21209. },
  21210. "capitalbalance": {
  21211. "description": "本金余额[外部子账户实际出入金余额]",
  21212. "type": "number"
  21213. },
  21214. "changeflag": {
  21215. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21216. "type": "integer"
  21217. },
  21218. "changetime": {
  21219. "description": "账户状态变更时间",
  21220. "type": "string"
  21221. },
  21222. "closepl": {
  21223. "description": "今日平仓盈亏",
  21224. "type": "number"
  21225. },
  21226. "creditdecrease": {
  21227. "description": "今日授信减少",
  21228. "type": "number"
  21229. },
  21230. "creditincrease": {
  21231. "description": "今日授信增加",
  21232. "type": "number"
  21233. },
  21234. "currencyid": {
  21235. "description": "货币ID",
  21236. "type": "integer"
  21237. },
  21238. "currentbalance": {
  21239. "description": "期末余额",
  21240. "type": "number"
  21241. },
  21242. "freezecharge": {
  21243. "description": "手续费冻结",
  21244. "type": "number"
  21245. },
  21246. "freezemargin": {
  21247. "description": "冻结保证金",
  21248. "type": "number"
  21249. },
  21250. "fromaccountid": {
  21251. "description": "所属上级账户",
  21252. "type": "integer"
  21253. },
  21254. "inamount": {
  21255. "description": "今日入金金额(包括三方入金)",
  21256. "type": "number"
  21257. },
  21258. "ismain": {
  21259. "description": "是否母账号 0:不是母账户 1:是母账户",
  21260. "type": "integer"
  21261. },
  21262. "ismarketaccount": {
  21263. "description": "是否机构接单账号 0:不是 1:是",
  21264. "type": "integer"
  21265. },
  21266. "isreckonaccount": {
  21267. "description": "是否机构分润账号 0:不是 1:是",
  21268. "type": "integer"
  21269. },
  21270. "mortgagecredit": {
  21271. "description": "授信金额",
  21272. "type": "number"
  21273. },
  21274. "orifreezecharge": {
  21275. "description": "期初手续费冻结",
  21276. "type": "number"
  21277. },
  21278. "orifreezemargin": {
  21279. "description": "期初冻结保证金",
  21280. "type": "number"
  21281. },
  21282. "orimortgagecredit": {
  21283. "description": "期初授信金额",
  21284. "type": "number"
  21285. },
  21286. "oriothercredit": {
  21287. "description": "期初其它授信金额",
  21288. "type": "number"
  21289. },
  21290. "oriotherfreezemargin": {
  21291. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21292. "type": "number"
  21293. },
  21294. "orioutamountfreeze": {
  21295. "description": "期初出金冻结",
  21296. "type": "number"
  21297. },
  21298. "oriusedmargin": {
  21299. "description": "期初占用保证金",
  21300. "type": "number"
  21301. },
  21302. "othercredit": {
  21303. "description": "其它授信金额",
  21304. "type": "number"
  21305. },
  21306. "othercreditdecrease": {
  21307. "description": "今日其它授信减少",
  21308. "type": "number"
  21309. },
  21310. "othercreditincrease": {
  21311. "description": "今日其它授信增加",
  21312. "type": "number"
  21313. },
  21314. "otherfreezemargin": {
  21315. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21316. "type": "number"
  21317. },
  21318. "otherincome": {
  21319. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21320. "type": "number"
  21321. },
  21322. "otherpay": {
  21323. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21324. "type": "number"
  21325. },
  21326. "outamount": {
  21327. "description": "今日出金金额(包括三方出金)",
  21328. "type": "number"
  21329. },
  21330. "outamountfreeze": {
  21331. "description": "出金冻结",
  21332. "type": "number"
  21333. },
  21334. "outthreshold": {
  21335. "description": "出金阈值",
  21336. "type": "number"
  21337. },
  21338. "parentaccountid": {
  21339. "description": "所属根账号",
  21340. "type": "integer"
  21341. },
  21342. "paycharge": {
  21343. "description": "今日手续费支出",
  21344. "type": "number"
  21345. },
  21346. "relatedaccountstatus": {
  21347. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21348. "type": "integer"
  21349. },
  21350. "relateduserid": {
  21351. "description": "关联用户",
  21352. "type": "integer"
  21353. },
  21354. "serivcegroup": {
  21355. "description": "服务分组",
  21356. "type": "integer"
  21357. },
  21358. "signstatus": {
  21359. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21360. "type": "integer"
  21361. },
  21362. "sublevelpath": {
  21363. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21364. "type": "string"
  21365. },
  21366. "taaccounttype": {
  21367. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21368. "type": "integer"
  21369. },
  21370. "thirdinamount": {
  21371. "description": "今日三方入金",
  21372. "type": "number"
  21373. },
  21374. "thirdoutamount": {
  21375. "description": "今日三方出金",
  21376. "type": "number"
  21377. },
  21378. "tradestatus": {
  21379. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21380. "type": "integer"
  21381. },
  21382. "tradestatuschangetime": {
  21383. "description": "激活时间",
  21384. "type": "string"
  21385. },
  21386. "transferamount": {
  21387. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21388. "type": "number"
  21389. },
  21390. "usedmargin": {
  21391. "description": "占用保证金",
  21392. "type": "number"
  21393. },
  21394. "userid": {
  21395. "description": "用户ID",
  21396. "type": "integer"
  21397. }
  21398. }
  21399. },
  21400. "models.Tablecolumnconfig": {
  21401. "type": "object",
  21402. "required": [
  21403. "autoid"
  21404. ],
  21405. "properties": {
  21406. "aligntype": {
  21407. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21408. "type": "integer"
  21409. },
  21410. "autoid": {
  21411. "description": "AutoID",
  21412. "type": "integer"
  21413. },
  21414. "columnfield": {
  21415. "description": "列字段",
  21416. "type": "string"
  21417. },
  21418. "columntitle": {
  21419. "description": "列Title",
  21420. "type": "string"
  21421. },
  21422. "columnwidth": {
  21423. "description": "列宽",
  21424. "type": "string"
  21425. },
  21426. "formatterstring": {
  21427. "description": "格式化字符",
  21428. "type": "string"
  21429. },
  21430. "formattertype": {
  21431. "description": "格式化类型",
  21432. "type": "string"
  21433. },
  21434. "groupname": {
  21435. "description": "表头分组名称",
  21436. "type": "string"
  21437. },
  21438. "isshow": {
  21439. "description": "是否显示 - 0:不显示 1:显示",
  21440. "type": "integer"
  21441. },
  21442. "needsummary": {
  21443. "description": "是否需要汇总 - 0:不需要 1:需要",
  21444. "type": "integer"
  21445. },
  21446. "orderindex": {
  21447. "description": "顺序",
  21448. "type": "integer"
  21449. },
  21450. "remark": {
  21451. "description": "备注",
  21452. "type": "string"
  21453. },
  21454. "summarytype": {
  21455. "description": "汇总类型 - 1:加总 2:最后一个",
  21456. "type": "integer"
  21457. },
  21458. "tablekey": {
  21459. "description": "列表Key",
  21460. "type": "string"
  21461. }
  21462. }
  21463. },
  21464. "models.UserCollectConfig": {
  21465. "type": "object",
  21466. "properties": {
  21467. "accountstatus": {
  21468. "description": "账户状态 - 1:正常 2:停用 3:注销",
  21469. "type": "integer"
  21470. },
  21471. "collectaccountname": {
  21472. "description": "收款人账户名称",
  21473. "type": "string"
  21474. },
  21475. "collectaccountno": {
  21476. "description": "收款人账户",
  21477. "type": "string"
  21478. },
  21479. "collectbankname": {
  21480. "description": "收款人开户行",
  21481. "type": "string"
  21482. },
  21483. "collectbranchbankname": {
  21484. "description": "收款人开户支行",
  21485. "type": "string"
  21486. },
  21487. "collectconfigid": {
  21488. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  21489. "type": "string"
  21490. },
  21491. "remark": {
  21492. "description": "备注",
  21493. "type": "string"
  21494. },
  21495. "userid": {
  21496. "description": "收款人用户ID",
  21497. "type": "integer"
  21498. }
  21499. }
  21500. },
  21501. "models.UserReceiveInfo": {
  21502. "type": "object",
  21503. "properties": {
  21504. "address": {
  21505. "description": "提货人详细地址",
  21506. "type": "string"
  21507. },
  21508. "autoid": {
  21509. "description": "AutoID",
  21510. "type": "integer"
  21511. },
  21512. "cardnum": {
  21513. "description": "证件号码(加密存储)",
  21514. "type": "string"
  21515. },
  21516. "cardtypeid": {
  21517. "description": "证件类型",
  21518. "type": "integer"
  21519. },
  21520. "cityid": {
  21521. "description": "市",
  21522. "type": "integer"
  21523. },
  21524. "countryid": {
  21525. "description": "国家",
  21526. "type": "integer"
  21527. },
  21528. "districtid": {
  21529. "description": "地区",
  21530. "type": "integer"
  21531. },
  21532. "hasencrypt": {
  21533. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21534. "type": "integer"
  21535. },
  21536. "isdefault": {
  21537. "description": "是否默认地址 - 0:否 1:是",
  21538. "type": "integer"
  21539. },
  21540. "phonenum": {
  21541. "description": "提货人联系方式(加密存储)",
  21542. "type": "string"
  21543. },
  21544. "provinceid": {
  21545. "description": "省",
  21546. "type": "integer"
  21547. },
  21548. "receivername": {
  21549. "description": "提货人姓名",
  21550. "type": "string"
  21551. },
  21552. "takeremark": {
  21553. "description": "提货备注",
  21554. "type": "string"
  21555. },
  21556. "userid": {
  21557. "description": "用户ID",
  21558. "type": "integer"
  21559. }
  21560. }
  21561. },
  21562. "models.Useraccount": {
  21563. "type": "object",
  21564. "required": [
  21565. "userid"
  21566. ],
  21567. "properties": {
  21568. "accountname": {
  21569. "description": "账户名称(机构名称)",
  21570. "type": "string"
  21571. },
  21572. "accountstatus": {
  21573. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21574. "type": "integer"
  21575. },
  21576. "auditremark": {
  21577. "description": "审核备注",
  21578. "type": "string"
  21579. },
  21580. "audittime": {
  21581. "description": "审核时间",
  21582. "type": "string"
  21583. },
  21584. "audituserid": {
  21585. "description": "审核人",
  21586. "type": "integer"
  21587. },
  21588. "broker": {
  21589. "description": "所属经纪人ID",
  21590. "type": "integer"
  21591. },
  21592. "canceltime": {
  21593. "description": "销户时间",
  21594. "type": "string"
  21595. },
  21596. "canceluserid": {
  21597. "description": "销户人",
  21598. "type": "integer"
  21599. },
  21600. "createtime": {
  21601. "description": "创建时间",
  21602. "type": "string"
  21603. },
  21604. "creatorid": {
  21605. "description": "创建人",
  21606. "type": "integer"
  21607. },
  21608. "hasauth": {
  21609. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21610. "type": "integer"
  21611. },
  21612. "isanonymous": {
  21613. "description": "是否匿名下单 - 0:否 1:是",
  21614. "type": "integer"
  21615. },
  21616. "maxinvestornum": {
  21617. "description": "最大用户数(经纪会员下投资者个数)",
  21618. "type": "integer"
  21619. },
  21620. "memberuserid": {
  21621. "description": "所属会员ID",
  21622. "type": "integer"
  21623. },
  21624. "modifierid": {
  21625. "description": "修改人",
  21626. "type": "integer"
  21627. },
  21628. "modifyremark": {
  21629. "description": "变更备注",
  21630. "type": "string"
  21631. },
  21632. "modifystatus": {
  21633. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21634. "type": "integer"
  21635. },
  21636. "modifytime": {
  21637. "description": "修改时间",
  21638. "type": "string"
  21639. },
  21640. "parentuserid": {
  21641. "description": "所属机构ID",
  21642. "type": "integer"
  21643. },
  21644. "reckonaccountid": {
  21645. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21646. "type": "integer"
  21647. },
  21648. "refercount": {
  21649. "description": "推荐总人数",
  21650. "type": "integer"
  21651. },
  21652. "refereeuserid": {
  21653. "description": "推荐人ID",
  21654. "type": "integer"
  21655. },
  21656. "refernum": {
  21657. "description": "推荐码",
  21658. "type": "string"
  21659. },
  21660. "subarealevelpath": {
  21661. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21662. "type": "string"
  21663. },
  21664. "userid": {
  21665. "description": "用户ID",
  21666. "type": "integer"
  21667. },
  21668. "usertype": {
  21669. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21670. "type": "integer"
  21671. }
  21672. }
  21673. },
  21674. "models.Userfavoritegoods": {
  21675. "type": "object",
  21676. "required": [
  21677. "goodsid"
  21678. ],
  21679. "properties": {
  21680. "goodsid": {
  21681. "description": "商品ID",
  21682. "type": "integer"
  21683. }
  21684. }
  21685. },
  21686. "models.Userinfo": {
  21687. "type": "object",
  21688. "required": [
  21689. "userid"
  21690. ],
  21691. "properties": {
  21692. "address": {
  21693. "description": "地址",
  21694. "type": "string"
  21695. },
  21696. "attachment1": {
  21697. "description": "附件1",
  21698. "type": "string"
  21699. },
  21700. "attachment2": {
  21701. "description": "附件2",
  21702. "type": "string"
  21703. },
  21704. "bankaccount": {
  21705. "description": "银行帐号 (加密存储)",
  21706. "type": "string"
  21707. },
  21708. "bankaccountname": {
  21709. "description": "收款人名称",
  21710. "type": "string"
  21711. },
  21712. "bankcardfrontphotourl": {
  21713. "description": "银行卡正面照地址",
  21714. "type": "string"
  21715. },
  21716. "bankid": {
  21717. "description": "银行编码",
  21718. "type": "string"
  21719. },
  21720. "bankname": {
  21721. "description": "银行名称",
  21722. "type": "string"
  21723. },
  21724. "biznature": {
  21725. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21726. "type": "integer"
  21727. },
  21728. "bizscope": {
  21729. "description": "企业经营范围(企业)",
  21730. "type": "string"
  21731. },
  21732. "cardbackphotourl": {
  21733. "description": "证件背面图片地址",
  21734. "type": "string"
  21735. },
  21736. "cardfrontphotourl": {
  21737. "description": "证件正面图片地址",
  21738. "type": "string"
  21739. },
  21740. "cardnum": {
  21741. "description": "证件号码(加密存储)",
  21742. "type": "string"
  21743. },
  21744. "cardtypeid": {
  21745. "description": "证件类型ID",
  21746. "type": "integer"
  21747. },
  21748. "cityid": {
  21749. "description": "市",
  21750. "type": "integer"
  21751. },
  21752. "company": {
  21753. "description": "公司(个人)",
  21754. "type": "string"
  21755. },
  21756. "contactname": {
  21757. "description": "联系人",
  21758. "type": "string"
  21759. },
  21760. "countryid": {
  21761. "description": "国家",
  21762. "type": "integer"
  21763. },
  21764. "createtime": {
  21765. "description": "创建时间",
  21766. "type": "string"
  21767. },
  21768. "creatorid": {
  21769. "description": "创建人",
  21770. "type": "integer"
  21771. },
  21772. "customername": {
  21773. "description": "客户名称(企业名称)",
  21774. "type": "string"
  21775. },
  21776. "districtid": {
  21777. "description": "地区",
  21778. "type": "integer"
  21779. },
  21780. "email": {
  21781. "description": "邮件(加密存储)",
  21782. "type": "string"
  21783. },
  21784. "fax": {
  21785. "description": "传真(加密存储)",
  21786. "type": "string"
  21787. },
  21788. "halfbodyphotourl": {
  21789. "description": "半身照地址",
  21790. "type": "string"
  21791. },
  21792. "hasencrypt": {
  21793. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21794. "type": "integer"
  21795. },
  21796. "headurl": {
  21797. "description": "头像地址",
  21798. "type": "string"
  21799. },
  21800. "legalcardbackphotourl": {
  21801. "description": "法人身份证背面照地址",
  21802. "type": "string"
  21803. },
  21804. "legalcardfrontphotourl": {
  21805. "description": "法人身份证正面照地址",
  21806. "type": "string"
  21807. },
  21808. "legalpersonname": {
  21809. "description": "法人姓名(企业)",
  21810. "type": "string"
  21811. },
  21812. "mobile": {
  21813. "description": "手机号码(加密存储)",
  21814. "type": "string"
  21815. },
  21816. "mobile2": {
  21817. "description": "手机号码[明文-尚志]",
  21818. "type": "string"
  21819. },
  21820. "modifierid": {
  21821. "description": "修改人",
  21822. "type": "integer"
  21823. },
  21824. "modifiertime": {
  21825. "description": "修改时间",
  21826. "type": "string"
  21827. },
  21828. "needinvoice": {
  21829. "description": "是否需要发票 - 0:不需要 1:需要",
  21830. "type": "integer"
  21831. },
  21832. "nickname": {
  21833. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21834. "type": "string"
  21835. },
  21836. "openmode": {
  21837. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21838. "type": "integer"
  21839. },
  21840. "otherurl": {
  21841. "description": "其它图片地址[使用分号分隔]",
  21842. "type": "string"
  21843. },
  21844. "postalcode": {
  21845. "description": "邮政编码",
  21846. "type": "string"
  21847. },
  21848. "provinceid": {
  21849. "description": "省",
  21850. "type": "integer"
  21851. },
  21852. "qq": {
  21853. "description": "QQ(加密存储",
  21854. "type": "string"
  21855. },
  21856. "remark": {
  21857. "description": "备注",
  21858. "type": "string"
  21859. },
  21860. "sex": {
  21861. "description": "用户性别 0: 女 1: 男",
  21862. "type": "integer"
  21863. },
  21864. "signpdfurl": {
  21865. "description": "签约pdf文件",
  21866. "type": "string"
  21867. },
  21868. "telphone": {
  21869. "description": "联系电话(加密存储)",
  21870. "type": "string"
  21871. },
  21872. "userid": {
  21873. "description": "用户ID",
  21874. "type": "integer"
  21875. },
  21876. "userinfotype": {
  21877. "description": "用户信息类型 - 1:个人 2:企业",
  21878. "type": "integer"
  21879. },
  21880. "userstatus": {
  21881. "description": "用户状态 - 1:正常 2:注销",
  21882. "type": "integer"
  21883. },
  21884. "usertype": {
  21885. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21886. "type": "integer"
  21887. },
  21888. "wechat": {
  21889. "description": "微信(加密存储)",
  21890. "type": "string"
  21891. },
  21892. "wskhinfo": {
  21893. "description": "开户申请信息(JSON)",
  21894. "type": "string"
  21895. }
  21896. }
  21897. },
  21898. "models.WRSConverTDetail": {
  21899. "type": "object",
  21900. "properties": {
  21901. "convertratio": {
  21902. "description": "套保系数",
  21903. "type": "number"
  21904. },
  21905. "deliverygoodscode": {
  21906. "description": "现货商品代码",
  21907. "type": "string"
  21908. },
  21909. "deliverygoodsid": {
  21910. "description": "现货品种ID",
  21911. "type": "integer"
  21912. },
  21913. "deliverygoodsname": {
  21914. "description": "现货商品名称",
  21915. "type": "string"
  21916. },
  21917. "enumdicname": {
  21918. "description": "单位名称",
  21919. "type": "string"
  21920. },
  21921. "goodsunitid": {
  21922. "description": "套保品种单位id",
  21923. "type": "integer"
  21924. },
  21925. "middlegoodscode": {
  21926. "description": "套保品种代码",
  21927. "type": "string"
  21928. },
  21929. "middlegoodsid": {
  21930. "description": "套保品种ID",
  21931. "type": "integer"
  21932. },
  21933. "middlegoodsname": {
  21934. "description": "套保品种名称",
  21935. "type": "string"
  21936. },
  21937. "modifytime": {
  21938. "description": "修改时间",
  21939. "type": "string"
  21940. },
  21941. "wrstandardid": {
  21942. "description": "品类ID",
  21943. "type": "integer"
  21944. }
  21945. }
  21946. },
  21947. "models.WRStandardInfo": {
  21948. "type": "object",
  21949. "required": [
  21950. "wrstandardid"
  21951. ],
  21952. "properties": {
  21953. "areauserid": {
  21954. "description": "所属机构",
  21955. "type": "integer"
  21956. },
  21957. "convertfactor": {
  21958. "description": "标仓系数",
  21959. "type": "number"
  21960. },
  21961. "createtime": {
  21962. "description": "创建时间",
  21963. "type": "string"
  21964. },
  21965. "creatorid": {
  21966. "description": "创建人",
  21967. "type": "integer"
  21968. },
  21969. "deliverygoodsid": {
  21970. "description": "品种ID",
  21971. "type": "integer"
  21972. },
  21973. "deliverygoodsname": {
  21974. "description": "交割商品名称",
  21975. "type": "string"
  21976. },
  21977. "factoryitemjson": {
  21978. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  21979. "type": "string"
  21980. },
  21981. "isvalid": {
  21982. "description": "是否有效 - 0:无效 1:有效",
  21983. "type": "integer"
  21984. },
  21985. "minivalue": {
  21986. "description": "最小变动值",
  21987. "type": "integer"
  21988. },
  21989. "minivaluedp": {
  21990. "description": "最小变动值小数位",
  21991. "type": "integer"
  21992. },
  21993. "realminivalue": {
  21994. "description": "实际最小变动值",
  21995. "type": "integer"
  21996. },
  21997. "realminivaluedp": {
  21998. "description": "实际最小变动值小数位",
  21999. "type": "integer"
  22000. },
  22001. "remark": {
  22002. "description": "备注",
  22003. "type": "string"
  22004. },
  22005. "unitid": {
  22006. "description": "单位ID",
  22007. "type": "integer"
  22008. },
  22009. "unitname": {
  22010. "description": "单位",
  22011. "type": "string"
  22012. },
  22013. "updatetime": {
  22014. "description": "更新时间",
  22015. "type": "string"
  22016. },
  22017. "updatorid": {
  22018. "description": "更新人",
  22019. "type": "integer"
  22020. },
  22021. "wrsstatus": {
  22022. "description": "状态 - 作废 - 0:未激活 1:正常",
  22023. "type": "integer"
  22024. },
  22025. "wrstandardcode": {
  22026. "description": "现货品类代码",
  22027. "type": "string"
  22028. },
  22029. "wrstandardid": {
  22030. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22031. "type": "integer"
  22032. },
  22033. "wrstandardname": {
  22034. "description": "现货品类名称",
  22035. "type": "string"
  22036. }
  22037. }
  22038. },
  22039. "models.Warehouseinfo": {
  22040. "type": "object",
  22041. "required": [
  22042. "autoid",
  22043. "warehousecode"
  22044. ],
  22045. "properties": {
  22046. "address": {
  22047. "description": "详细地址",
  22048. "type": "string"
  22049. },
  22050. "areauserid": {
  22051. "description": "所属机构",
  22052. "type": "integer"
  22053. },
  22054. "autoid": {
  22055. "description": "自增ID",
  22056. "type": "integer"
  22057. },
  22058. "cityid": {
  22059. "description": "市",
  22060. "type": "integer"
  22061. },
  22062. "contactname": {
  22063. "description": "联系人",
  22064. "type": "string"
  22065. },
  22066. "contactnum": {
  22067. "description": "联系电话",
  22068. "type": "string"
  22069. },
  22070. "countryid": {
  22071. "description": "国家",
  22072. "type": "integer"
  22073. },
  22074. "createtime": {
  22075. "description": "创建时间",
  22076. "type": "string"
  22077. },
  22078. "districtid": {
  22079. "description": "区",
  22080. "type": "integer"
  22081. },
  22082. "hasvideo": {
  22083. "description": "是否有视频 - 0:无 1:有",
  22084. "type": "integer"
  22085. },
  22086. "provinceid": {
  22087. "description": "省",
  22088. "type": "integer"
  22089. },
  22090. "remark": {
  22091. "description": "审核备注",
  22092. "type": "string"
  22093. },
  22094. "videourl": {
  22095. "description": "视频地址",
  22096. "type": "string"
  22097. },
  22098. "warehousecode": {
  22099. "description": "仓库代码",
  22100. "type": "string"
  22101. },
  22102. "warehousename": {
  22103. "description": "仓库名称",
  22104. "type": "string"
  22105. },
  22106. "warehousestatus": {
  22107. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22108. "type": "integer"
  22109. },
  22110. "warehousetype": {
  22111. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22112. "type": "integer"
  22113. }
  22114. }
  22115. },
  22116. "order.QueryHisTradeDetailRsp": {
  22117. "type": "object",
  22118. "required": [
  22119. "accountid",
  22120. "buyorsell",
  22121. "goodsid",
  22122. "histradedate",
  22123. "marketid",
  22124. "memberuserid",
  22125. "orderid",
  22126. "tradeamount",
  22127. "tradedate",
  22128. "tradeid",
  22129. "tradeprice",
  22130. "tradeqty",
  22131. "tradetime"
  22132. ],
  22133. "properties": {
  22134. "accountid": {
  22135. "description": "账户ID[报价币种]",
  22136. "type": "integer"
  22137. },
  22138. "buildtype": {
  22139. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22140. "type": "integer"
  22141. },
  22142. "buyorsell": {
  22143. "description": "方向 - 0:买 1:卖",
  22144. "type": "integer"
  22145. },
  22146. "charge": {
  22147. "description": "手续费",
  22148. "type": "number"
  22149. },
  22150. "closecharge": {
  22151. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22152. "type": "number"
  22153. },
  22154. "closeexchagechargevalue": {
  22155. "description": "平仓交易所手续费设置值",
  22156. "type": "number"
  22157. },
  22158. "closefeealgorithm": {
  22159. "description": "平仓手续费收取方式 1:比率 2:固定",
  22160. "type": "integer"
  22161. },
  22162. "closememberchargevalue": {
  22163. "description": "平仓会员手续费设置值",
  22164. "type": "number"
  22165. },
  22166. "closepl": {
  22167. "description": "平仓盈亏",
  22168. "type": "number"
  22169. },
  22170. "closepl2": {
  22171. "description": "平仓盈亏[逐笔]",
  22172. "type": "number"
  22173. },
  22174. "closeqty": {
  22175. "description": "平仓数量(先建后平操作 需要记录)",
  22176. "type": "integer"
  22177. },
  22178. "creditamount": {
  22179. "description": "授信金额",
  22180. "type": "number"
  22181. },
  22182. "gcaccountid": {
  22183. "description": "账户ID[合约币种]",
  22184. "type": "integer"
  22185. },
  22186. "goodscode": {
  22187. "description": "商品代码",
  22188. "type": "string"
  22189. },
  22190. "goodsid": {
  22191. "description": "商品ID",
  22192. "type": "integer"
  22193. },
  22194. "goodsname": {
  22195. "description": "商品名称",
  22196. "type": "string"
  22197. },
  22198. "histradedate": {
  22199. "description": "历史交易日",
  22200. "type": "string"
  22201. },
  22202. "intclosepl": {
  22203. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22204. "type": "integer"
  22205. },
  22206. "isconfirmexercise": {
  22207. "description": "是否确认行权- 0:否 1:是",
  22208. "type": "integer"
  22209. },
  22210. "ismain": {
  22211. "description": "是否主单 - 0:不是 1:是",
  22212. "type": "integer"
  22213. },
  22214. "ispreexercise": {
  22215. "description": "是否预申报- 0:否 1:是",
  22216. "type": "integer"
  22217. },
  22218. "isreckoned": {
  22219. "description": "是否结算 - 0:未结算 1:已结算",
  22220. "type": "integer"
  22221. },
  22222. "isvaliddata": {
  22223. "description": "是否有效 - 0:无效 1:有效",
  22224. "type": "integer"
  22225. },
  22226. "listingselecttype": {
  22227. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22228. "type": "integer"
  22229. },
  22230. "marketid": {
  22231. "description": "市场ID",
  22232. "type": "integer"
  22233. },
  22234. "marketname": {
  22235. "description": "市场名称",
  22236. "type": "string"
  22237. },
  22238. "matchaccountid": {
  22239. "description": "对手账号id",
  22240. "type": "integer"
  22241. },
  22242. "memberuserid": {
  22243. "description": "会员id 个人投资者 需要填写",
  22244. "type": "integer"
  22245. },
  22246. "opencharge": {
  22247. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22248. "type": "number"
  22249. },
  22250. "openexchagechargevalue": {
  22251. "description": "建仓交易所手续费设置值",
  22252. "type": "number"
  22253. },
  22254. "openfeealgorithm": {
  22255. "description": "建仓手续费收取方式 1:比率 2:固定",
  22256. "type": "integer"
  22257. },
  22258. "openmemberchargevalue": {
  22259. "description": "建仓会员手续费设置值",
  22260. "type": "number"
  22261. },
  22262. "openqty": {
  22263. "description": "开仓数量(先建后平操作 需要记录)",
  22264. "type": "integer"
  22265. },
  22266. "optiontype": {
  22267. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22268. "type": "integer"
  22269. },
  22270. "orderid": {
  22271. "description": "委托单号",
  22272. "type": "string"
  22273. },
  22274. "performanceplanid": {
  22275. "description": "履约计划ID[期权]",
  22276. "type": "integer"
  22277. },
  22278. "performancestatus": {
  22279. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22280. "type": "integer"
  22281. },
  22282. "preexerciseprice": {
  22283. "description": "预申报价格",
  22284. "type": "number"
  22285. },
  22286. "premium": {
  22287. "description": "权利金 - [持仓单的权利金]",
  22288. "type": "number"
  22289. },
  22290. "relatedouttradeid": {
  22291. "description": "关联外部成交单ID",
  22292. "type": "integer"
  22293. },
  22294. "status": {
  22295. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22296. "type": "integer"
  22297. },
  22298. "tradeamount": {
  22299. "description": "成交金额[账户币种,用于所有权]",
  22300. "type": "number"
  22301. },
  22302. "tradedate": {
  22303. "description": "交易日(yyyyMMdd)",
  22304. "type": "string"
  22305. },
  22306. "tradeid": {
  22307. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22308. "type": "string"
  22309. },
  22310. "trademode": {
  22311. "description": "交易模式",
  22312. "type": "integer"
  22313. },
  22314. "tradeprice": {
  22315. "description": "成交价格",
  22316. "type": "number"
  22317. },
  22318. "tradeproperty": {
  22319. "description": "交易属性",
  22320. "type": "integer"
  22321. },
  22322. "tradeqty": {
  22323. "description": "成交数量",
  22324. "type": "integer"
  22325. },
  22326. "tradetime": {
  22327. "description": "成交时间",
  22328. "type": "string"
  22329. },
  22330. "tradetype": {
  22331. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22332. "type": "integer"
  22333. }
  22334. }
  22335. },
  22336. "order.QueryHisTradeOrderDetailRsp": {
  22337. "type": "object",
  22338. "required": [
  22339. "accountid",
  22340. "buildtype",
  22341. "buyorsell",
  22342. "goodsid",
  22343. "histradedate",
  22344. "marketid",
  22345. "memberuserid",
  22346. "operatetype",
  22347. "orderid",
  22348. "orderqty",
  22349. "ordertime",
  22350. "pricemode",
  22351. "tradedate",
  22352. "validtype"
  22353. ],
  22354. "properties": {
  22355. "accountid": {
  22356. "description": "账户ID[报价币种]",
  22357. "type": "integer"
  22358. },
  22359. "buildtype": {
  22360. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22361. "type": "integer"
  22362. },
  22363. "buyorsell": {
  22364. "description": "买卖 - 0:买 1:卖",
  22365. "type": "integer"
  22366. },
  22367. "cancelorderid": {
  22368. "description": "撤单单号(撤单时填写)",
  22369. "type": "string"
  22370. },
  22371. "cancelqty": {
  22372. "description": "撤单数量",
  22373. "type": "integer"
  22374. },
  22375. "clientordertime": {
  22376. "description": "客户端委托时间",
  22377. "type": "string"
  22378. },
  22379. "clientticket": {
  22380. "description": "客户端流水号",
  22381. "type": "string"
  22382. },
  22383. "clienttype": {
  22384. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22385. "type": "integer"
  22386. },
  22387. "closeexchagechargevalue": {
  22388. "description": "平仓交易所手续费设置值",
  22389. "type": "number"
  22390. },
  22391. "closefeealgorithm": {
  22392. "description": "平仓手续费收取方式 1:比率 2:固定",
  22393. "type": "integer"
  22394. },
  22395. "closefreezecharge": {
  22396. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22397. "type": "number"
  22398. },
  22399. "closememberchargevalue": {
  22400. "description": "平仓会员手续费设置值",
  22401. "type": "number"
  22402. },
  22403. "closeqty": {
  22404. "description": "平仓数量(先建后平操作 需要记录)",
  22405. "type": "integer"
  22406. },
  22407. "closetradeqty": {
  22408. "description": "平仓成交数量(先建后平操作,需要记录)",
  22409. "type": "integer"
  22410. },
  22411. "closeunfreezecharge": {
  22412. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22413. "type": "number"
  22414. },
  22415. "delistingtype": {
  22416. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22417. "type": "integer"
  22418. },
  22419. "freezecharge": {
  22420. "description": "冻结手续费",
  22421. "type": "number"
  22422. },
  22423. "freezemargin": {
  22424. "description": "冻结保证金(冻结交易金额)",
  22425. "type": "number"
  22426. },
  22427. "gcaccountid": {
  22428. "description": "账户ID[合约币种]",
  22429. "type": "integer"
  22430. },
  22431. "goodscode": {
  22432. "description": "商品代码",
  22433. "type": "string"
  22434. },
  22435. "goodsid": {
  22436. "description": "商品ID",
  22437. "type": "integer"
  22438. },
  22439. "goodsname": {
  22440. "description": "商品名称",
  22441. "type": "string"
  22442. },
  22443. "histradedate": {
  22444. "description": "历史交易日",
  22445. "type": "string"
  22446. },
  22447. "isconfirmexercise": {
  22448. "description": "是否确认行权- 0:否 1:是",
  22449. "type": "integer"
  22450. },
  22451. "ispreexercise": {
  22452. "description": "是否预申报- 0:否 1:是",
  22453. "type": "integer"
  22454. },
  22455. "isvaliddata": {
  22456. "description": "是否有效 - 0:无效 1:有效",
  22457. "type": "integer"
  22458. },
  22459. "listingselecttype": {
  22460. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22461. "type": "integer"
  22462. },
  22463. "marginalgorithm": {
  22464. "description": "保证金收取方式 1:比率 2:固定",
  22465. "type": "integer"
  22466. },
  22467. "marginvalue": {
  22468. "description": "即市保证金设置值",
  22469. "type": "number"
  22470. },
  22471. "marketid": {
  22472. "description": "市场ID",
  22473. "type": "integer"
  22474. },
  22475. "marketmaxsub": {
  22476. "description": "市价最大偏移范围",
  22477. "type": "number"
  22478. },
  22479. "marketname": {
  22480. "description": "市场名称",
  22481. "type": "string"
  22482. },
  22483. "memberuserid": {
  22484. "description": "所属会员UserID",
  22485. "type": "integer"
  22486. },
  22487. "openexchagechargevalue": {
  22488. "description": "建仓交易所手续费设置值",
  22489. "type": "number"
  22490. },
  22491. "openfeealgorithm": {
  22492. "description": "建仓手续费收取方式 1:比率 2:固定",
  22493. "type": "integer"
  22494. },
  22495. "openfreezecharge": {
  22496. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22497. "type": "number"
  22498. },
  22499. "openmemberchargevalue": {
  22500. "description": "建仓会员手续费设置值",
  22501. "type": "number"
  22502. },
  22503. "openqty": {
  22504. "description": "开仓数量(先建后平操作,需要记录)",
  22505. "type": "integer"
  22506. },
  22507. "opentradeqty": {
  22508. "description": "开仓成交数量(先建后平操作,需要记录)",
  22509. "type": "integer"
  22510. },
  22511. "openunfreezecharge": {
  22512. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22513. "type": "number"
  22514. },
  22515. "operatetype": {
  22516. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22517. "type": "integer"
  22518. },
  22519. "operatorid": {
  22520. "description": "登录账号(LoginID)",
  22521. "type": "integer"
  22522. },
  22523. "optiontype": {
  22524. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22525. "type": "integer"
  22526. },
  22527. "orderid": {
  22528. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22529. "type": "string"
  22530. },
  22531. "orderprice": {
  22532. "description": "委托价格",
  22533. "type": "number"
  22534. },
  22535. "orderqty": {
  22536. "description": "委托数量",
  22537. "type": "integer"
  22538. },
  22539. "ordersrc": {
  22540. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22541. "type": "integer"
  22542. },
  22543. "orderstatus": {
  22544. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22545. "type": "integer"
  22546. },
  22547. "ordertime": {
  22548. "description": "委托时间",
  22549. "type": "string"
  22550. },
  22551. "preexerciseprice": {
  22552. "description": "预申报价格",
  22553. "type": "number"
  22554. },
  22555. "premium": {
  22556. "description": "权利金",
  22557. "type": "number"
  22558. },
  22559. "preorderid": {
  22560. "description": "关联预埋单号(止盈止损单时填写)",
  22561. "type": "string"
  22562. },
  22563. "pricemode": {
  22564. "description": "取价方式 - 1:市价 2: 限价",
  22565. "type": "integer"
  22566. },
  22567. "quoteid": {
  22568. "description": "报价单ID",
  22569. "type": "integer"
  22570. },
  22571. "relatedid": {
  22572. "description": "关联单号(交割单)",
  22573. "type": "string"
  22574. },
  22575. "retcode": {
  22576. "description": "错误代码",
  22577. "type": "integer"
  22578. },
  22579. "sessionid": {
  22580. "description": "会话ID",
  22581. "type": "integer"
  22582. },
  22583. "tradedate": {
  22584. "description": "交易日(yyyyMMdd)",
  22585. "type": "string"
  22586. },
  22587. "trademode": {
  22588. "description": "交易模式",
  22589. "type": "integer"
  22590. },
  22591. "tradeproperty": {
  22592. "description": "交易属性",
  22593. "type": "integer"
  22594. },
  22595. "tradeqty": {
  22596. "description": "成交数量",
  22597. "type": "integer"
  22598. },
  22599. "unfreezecharge": {
  22600. "description": "解冻手续费",
  22601. "type": "number"
  22602. },
  22603. "unfreezemargin": {
  22604. "description": "解冻保证金",
  22605. "type": "number"
  22606. },
  22607. "updatetime": {
  22608. "description": "更新时间",
  22609. "type": "string"
  22610. },
  22611. "uuid": {
  22612. "description": "发起端唯一id",
  22613. "type": "string"
  22614. },
  22615. "validtime": {
  22616. "description": "有效期限",
  22617. "type": "string"
  22618. },
  22619. "validtype": {
  22620. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22621. "type": "integer"
  22622. },
  22623. "volumetype": {
  22624. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22625. "type": "integer"
  22626. }
  22627. }
  22628. },
  22629. "order.QueryTradeDetailRsp": {
  22630. "type": "object",
  22631. "required": [
  22632. "accountid",
  22633. "buyorsell",
  22634. "goodsid",
  22635. "marketid",
  22636. "memberuserid",
  22637. "orderid",
  22638. "tradeamount",
  22639. "tradedate",
  22640. "tradeid",
  22641. "tradeprice",
  22642. "tradeqty",
  22643. "tradetime"
  22644. ],
  22645. "properties": {
  22646. "accountid": {
  22647. "description": "账户ID[报价币种]",
  22648. "type": "integer"
  22649. },
  22650. "buildtype": {
  22651. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22652. "type": "integer"
  22653. },
  22654. "buyorsell": {
  22655. "description": "方向 - 0:买 1:卖",
  22656. "type": "integer"
  22657. },
  22658. "charge": {
  22659. "description": "手续费",
  22660. "type": "number"
  22661. },
  22662. "closecharge": {
  22663. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22664. "type": "number"
  22665. },
  22666. "closeexchagechargevalue": {
  22667. "description": "平仓交易所手续费设置值",
  22668. "type": "number"
  22669. },
  22670. "closefeealgorithm": {
  22671. "description": "平仓手续费收取方式 1:比率 2:固定",
  22672. "type": "integer"
  22673. },
  22674. "closememberchargevalue": {
  22675. "description": "平仓会员手续费设置值",
  22676. "type": "number"
  22677. },
  22678. "closepl": {
  22679. "description": "平仓盈亏",
  22680. "type": "number"
  22681. },
  22682. "closepl2": {
  22683. "description": "平仓盈亏[逐笔]",
  22684. "type": "number"
  22685. },
  22686. "closeqty": {
  22687. "description": "平仓数量(先建后平操作 需要记录)",
  22688. "type": "integer"
  22689. },
  22690. "creditamount": {
  22691. "description": "授信金额",
  22692. "type": "number"
  22693. },
  22694. "gcaccountid": {
  22695. "description": "账户ID[合约币种]",
  22696. "type": "integer"
  22697. },
  22698. "goodscode": {
  22699. "description": "商品代码",
  22700. "type": "string"
  22701. },
  22702. "goodsid": {
  22703. "description": "商品ID",
  22704. "type": "integer"
  22705. },
  22706. "goodsname": {
  22707. "description": "商品名称",
  22708. "type": "string"
  22709. },
  22710. "intclosepl": {
  22711. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22712. "type": "integer"
  22713. },
  22714. "isconfirmexercise": {
  22715. "description": "是否确认行权- 0:否 1:是",
  22716. "type": "integer"
  22717. },
  22718. "ismain": {
  22719. "description": "是否主单 - 0:不是 1:是",
  22720. "type": "integer"
  22721. },
  22722. "ispreexercise": {
  22723. "description": "是否预申报- 0:否 1:是",
  22724. "type": "integer"
  22725. },
  22726. "isreckoned": {
  22727. "description": "是否结算 - 0:未结算 1:已结算",
  22728. "type": "integer"
  22729. },
  22730. "listingselecttype": {
  22731. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22732. "type": "integer"
  22733. },
  22734. "marketid": {
  22735. "description": "市场ID",
  22736. "type": "integer"
  22737. },
  22738. "marketname": {
  22739. "description": "市场名称",
  22740. "type": "string"
  22741. },
  22742. "matchaccountid": {
  22743. "description": "对手账号id",
  22744. "type": "integer"
  22745. },
  22746. "memberuserid": {
  22747. "description": "会员id 个人投资者 需要填写",
  22748. "type": "integer"
  22749. },
  22750. "opencharge": {
  22751. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22752. "type": "number"
  22753. },
  22754. "openexchagechargevalue": {
  22755. "description": "建仓交易所手续费设置值",
  22756. "type": "number"
  22757. },
  22758. "openfeealgorithm": {
  22759. "description": "建仓手续费收取方式 1:比率 2:固定",
  22760. "type": "integer"
  22761. },
  22762. "openmemberchargevalue": {
  22763. "description": "建仓会员手续费设置值",
  22764. "type": "number"
  22765. },
  22766. "openqty": {
  22767. "description": "开仓数量(先建后平操作 需要记录)",
  22768. "type": "integer"
  22769. },
  22770. "optiontype": {
  22771. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22772. "type": "integer"
  22773. },
  22774. "orderid": {
  22775. "description": "委托单号",
  22776. "type": "string"
  22777. },
  22778. "performanceplanid": {
  22779. "description": "履约计划ID[期权]",
  22780. "type": "integer"
  22781. },
  22782. "performancestatus": {
  22783. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22784. "type": "integer"
  22785. },
  22786. "preexerciseprice": {
  22787. "description": "预申报价格",
  22788. "type": "number"
  22789. },
  22790. "premium": {
  22791. "description": "权利金 - [持仓单的权利金]",
  22792. "type": "number"
  22793. },
  22794. "relatedouttradeid": {
  22795. "description": "关联外部成交单ID",
  22796. "type": "integer"
  22797. },
  22798. "status": {
  22799. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22800. "type": "integer"
  22801. },
  22802. "tradeamount": {
  22803. "description": "成交金额[账户币种,用于所有权]",
  22804. "type": "number"
  22805. },
  22806. "tradedate": {
  22807. "description": "交易日(yyyyMMdd)",
  22808. "type": "string"
  22809. },
  22810. "tradeid": {
  22811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22812. "type": "string"
  22813. },
  22814. "trademode": {
  22815. "description": "交易模式",
  22816. "type": "integer"
  22817. },
  22818. "tradeprice": {
  22819. "description": "成交价格",
  22820. "type": "number"
  22821. },
  22822. "tradeproperty": {
  22823. "description": "交易属性",
  22824. "type": "integer"
  22825. },
  22826. "tradeqty": {
  22827. "description": "成交数量",
  22828. "type": "integer"
  22829. },
  22830. "tradetime": {
  22831. "description": "成交时间",
  22832. "type": "string"
  22833. },
  22834. "tradetype": {
  22835. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22836. "type": "integer"
  22837. }
  22838. }
  22839. },
  22840. "order.QueryTradeOrderDetailRsp": {
  22841. "type": "object",
  22842. "required": [
  22843. "accountid",
  22844. "buildtype",
  22845. "buyorsell",
  22846. "goodsid",
  22847. "marketid",
  22848. "operatetype",
  22849. "orderqty",
  22850. "ordertime",
  22851. "pricemode",
  22852. "tradedate",
  22853. "validtype"
  22854. ],
  22855. "properties": {
  22856. "accountid": {
  22857. "description": "账户ID[报价币种]",
  22858. "type": "integer"
  22859. },
  22860. "buildtype": {
  22861. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22862. "type": "integer"
  22863. },
  22864. "buyorsell": {
  22865. "description": "买卖 - 0:买 1:卖",
  22866. "type": "integer"
  22867. },
  22868. "cancelorderid": {
  22869. "description": "撤单单号(撤单时填写)",
  22870. "type": "string"
  22871. },
  22872. "cancelqty": {
  22873. "description": "撤单数量",
  22874. "type": "integer"
  22875. },
  22876. "clienttype": {
  22877. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22878. "type": "integer"
  22879. },
  22880. "closefreezecharge": {
  22881. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22882. "type": "number"
  22883. },
  22884. "closeqty": {
  22885. "description": "平仓数量(先建后平操作 需要记录)",
  22886. "type": "integer"
  22887. },
  22888. "closetradeqty": {
  22889. "description": "平仓成交数量(先建后平操作,需要记录)",
  22890. "type": "integer"
  22891. },
  22892. "closeunfreezecharge": {
  22893. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22894. "type": "number"
  22895. },
  22896. "delistingtype": {
  22897. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22898. "type": "integer"
  22899. },
  22900. "enableqty": {
  22901. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22902. "type": "integer"
  22903. },
  22904. "freezecharge": {
  22905. "description": "冻结手续费",
  22906. "type": "number"
  22907. },
  22908. "freezemargin": {
  22909. "description": "冻结保证金(冻结交易金额)",
  22910. "type": "number"
  22911. },
  22912. "goodscode": {
  22913. "description": "商品代码",
  22914. "type": "string"
  22915. },
  22916. "goodsid": {
  22917. "description": "商品ID",
  22918. "type": "integer"
  22919. },
  22920. "goodsname": {
  22921. "description": "商品名称",
  22922. "type": "string"
  22923. },
  22924. "listingselecttype": {
  22925. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22926. "type": "integer"
  22927. },
  22928. "marketid": {
  22929. "description": "市场ID",
  22930. "type": "integer"
  22931. },
  22932. "marketname": {
  22933. "description": "市场名称",
  22934. "type": "string"
  22935. },
  22936. "openfreezecharge": {
  22937. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22938. "type": "number"
  22939. },
  22940. "openqty": {
  22941. "description": "开仓数量(先建后平操作,需要记录)",
  22942. "type": "integer"
  22943. },
  22944. "opentradeqty": {
  22945. "description": "开仓成交数量(先建后平操作,需要记录)",
  22946. "type": "integer"
  22947. },
  22948. "openunfreezecharge": {
  22949. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22950. "type": "number"
  22951. },
  22952. "operatetype": {
  22953. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22954. "type": "integer"
  22955. },
  22956. "operatorid": {
  22957. "description": "登录账号(LoginID)",
  22958. "type": "integer"
  22959. },
  22960. "orderid": {
  22961. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22962. "type": "string"
  22963. },
  22964. "orderprice": {
  22965. "description": "委托价格",
  22966. "type": "number"
  22967. },
  22968. "orderqty": {
  22969. "description": "委托数量",
  22970. "type": "integer"
  22971. },
  22972. "ordersrc": {
  22973. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22974. "type": "integer"
  22975. },
  22976. "orderstatus": {
  22977. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22978. "type": "integer"
  22979. },
  22980. "ordertime": {
  22981. "description": "委托时间",
  22982. "type": "string"
  22983. },
  22984. "preorderid": {
  22985. "description": "关联预埋单号(止盈止损单时填写)",
  22986. "type": "string"
  22987. },
  22988. "pricemode": {
  22989. "description": "取价方式 - 1:市价 2: 限价",
  22990. "type": "integer"
  22991. },
  22992. "relatedid": {
  22993. "description": "关联单号(交割单)",
  22994. "type": "string"
  22995. },
  22996. "tradedate": {
  22997. "description": "交易日(yyyyMMdd)",
  22998. "type": "string"
  22999. },
  23000. "trademode": {
  23001. "description": "交易模式",
  23002. "type": "integer"
  23003. },
  23004. "tradeqty": {
  23005. "description": "成交数量",
  23006. "type": "integer"
  23007. },
  23008. "unfreezecharge": {
  23009. "description": "解冻手续费",
  23010. "type": "number"
  23011. },
  23012. "unfreezemargin": {
  23013. "description": "解冻保证金",
  23014. "type": "number"
  23015. },
  23016. "validtime": {
  23017. "description": "有效期限",
  23018. "type": "string"
  23019. },
  23020. "validtype": {
  23021. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23022. "type": "integer"
  23023. },
  23024. "volumetype": {
  23025. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23026. "type": "integer"
  23027. }
  23028. }
  23029. },
  23030. "order.QueryTradePositionRsp": {
  23031. "type": "object",
  23032. "required": [
  23033. "goodsid"
  23034. ],
  23035. "properties": {
  23036. "accountid": {
  23037. "description": "资金账户",
  23038. "type": "integer"
  23039. },
  23040. "agreeunit": {
  23041. "description": "合约单位",
  23042. "type": "number"
  23043. },
  23044. "averageprice": {
  23045. "description": "持仓均价",
  23046. "type": "number"
  23047. },
  23048. "buyorsell": {
  23049. "description": "方向 - 0:买 1:卖",
  23050. "type": "integer"
  23051. },
  23052. "closetotalqty": {
  23053. "description": "平仓总数量",
  23054. "type": "integer"
  23055. },
  23056. "curholderamount": {
  23057. "description": "当前持仓总金额[商品币种]",
  23058. "type": "number"
  23059. },
  23060. "curpositionqty": {
  23061. "description": "当前持仓总数量",
  23062. "type": "integer"
  23063. },
  23064. "currencyid": {
  23065. "description": "报价货币ID",
  23066. "type": "integer"
  23067. },
  23068. "curtdposition": {
  23069. "description": "期末今日头寸",
  23070. "type": "integer"
  23071. },
  23072. "decimalplace": {
  23073. "description": "报价小数位",
  23074. "type": "integer"
  23075. },
  23076. "enableqty": {
  23077. "description": "可用量",
  23078. "type": "integer"
  23079. },
  23080. "fretdposition": {
  23081. "description": "冻结今日头寸",
  23082. "type": "integer"
  23083. },
  23084. "frozenqty": {
  23085. "description": "持仓冻结数量",
  23086. "type": "integer"
  23087. },
  23088. "goodscode": {
  23089. "description": "商品代码",
  23090. "type": "string"
  23091. },
  23092. "goodsid": {
  23093. "description": "商品Id",
  23094. "type": "integer"
  23095. },
  23096. "goodsname": {
  23097. "description": "商品名称",
  23098. "type": "string"
  23099. },
  23100. "goodunit": {
  23101. "description": "报价单位",
  23102. "type": "string"
  23103. },
  23104. "goodunitid": {
  23105. "description": "报价单位ID",
  23106. "type": "integer"
  23107. },
  23108. "holderamount": {
  23109. "description": "期初持仓总金额[商品币种]",
  23110. "type": "number"
  23111. },
  23112. "marketid": {
  23113. "description": "所属市场ID",
  23114. "type": "integer"
  23115. },
  23116. "openreqqty": {
  23117. "description": "开仓申请数量(用于比较最大持仓数量)",
  23118. "type": "integer"
  23119. },
  23120. "opentotalqty": {
  23121. "description": "开仓总数量",
  23122. "type": "integer"
  23123. },
  23124. "otherfrozenqty": {
  23125. "description": "持仓其他冻结数量(交割冻结)",
  23126. "type": "integer"
  23127. },
  23128. "positionqty": {
  23129. "description": "期初持仓数量",
  23130. "type": "integer"
  23131. },
  23132. "tnqty": {
  23133. "description": "T+N冻结总量",
  23134. "type": "integer"
  23135. },
  23136. "tnusedqty": {
  23137. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23138. "type": "integer"
  23139. },
  23140. "trademode": {
  23141. "description": "交易模式",
  23142. "type": "integer"
  23143. },
  23144. "usedmargin": {
  23145. "description": "占用保证金[商品币种]",
  23146. "type": "number"
  23147. }
  23148. }
  23149. },
  23150. "quote.HistoryData": {
  23151. "type": "object",
  23152. "properties": {
  23153. "c": {
  23154. "description": "收盘价",
  23155. "type": "number"
  23156. },
  23157. "f": {
  23158. "description": "是否补充数据",
  23159. "type": "boolean"
  23160. },
  23161. "h": {
  23162. "description": "最高价",
  23163. "type": "number"
  23164. },
  23165. "hv": {
  23166. "description": "持仓量",
  23167. "type": "integer"
  23168. },
  23169. "l": {
  23170. "description": "最低价",
  23171. "type": "number"
  23172. },
  23173. "o": {
  23174. "description": "开盘价",
  23175. "type": "number"
  23176. },
  23177. "s": {
  23178. "description": "结算价,日线周期(包括)以上才有",
  23179. "type": "number"
  23180. },
  23181. "ts": {
  23182. "description": "时间",
  23183. "type": "string"
  23184. },
  23185. "tt": {
  23186. "description": "总金额",
  23187. "type": "number"
  23188. },
  23189. "tv": {
  23190. "description": "总量",
  23191. "type": "integer"
  23192. }
  23193. }
  23194. },
  23195. "quote.HistoryTikData": {
  23196. "type": "object",
  23197. "properties": {
  23198. "AV": {
  23199. "description": "卖量",
  23200. "type": "integer"
  23201. },
  23202. "Ask": {
  23203. "description": "卖价",
  23204. "type": "number"
  23205. },
  23206. "BV": {
  23207. "description": "买量",
  23208. "type": "integer"
  23209. },
  23210. "Bid": {
  23211. "description": "买价",
  23212. "type": "number"
  23213. },
  23214. "HI": {
  23215. "description": "单笔持仓",
  23216. "type": "integer"
  23217. },
  23218. "HV": {
  23219. "description": "持仓量",
  23220. "type": "integer"
  23221. },
  23222. "PE": {
  23223. "description": "现价",
  23224. "type": "number"
  23225. },
  23226. "TDR": {
  23227. "description": "交易方向,0:买 1:卖",
  23228. "type": "integer"
  23229. },
  23230. "TK": {
  23231. "description": "交易类型",
  23232. "type": "integer"
  23233. },
  23234. "TS": {
  23235. "description": "行情时间文本",
  23236. "type": "string"
  23237. },
  23238. "TT": {
  23239. "description": "现金额",
  23240. "type": "number"
  23241. },
  23242. "Vol": {
  23243. "description": "现量",
  23244. "type": "integer"
  23245. }
  23246. }
  23247. },
  23248. "quote.QueryQuoteDayRsp": {
  23249. "type": "object",
  23250. "properties": {
  23251. "ask": {
  23252. "description": "卖1",
  23253. "type": "number"
  23254. },
  23255. "ask10": {
  23256. "description": "卖10",
  23257. "type": "number"
  23258. },
  23259. "ask2": {
  23260. "description": "卖2",
  23261. "type": "number"
  23262. },
  23263. "ask3": {
  23264. "description": "卖3",
  23265. "type": "number"
  23266. },
  23267. "ask4": {
  23268. "description": "卖4",
  23269. "type": "number"
  23270. },
  23271. "ask5": {
  23272. "description": "卖5",
  23273. "type": "number"
  23274. },
  23275. "ask6": {
  23276. "description": "卖6",
  23277. "type": "number"
  23278. },
  23279. "ask7": {
  23280. "description": "卖7",
  23281. "type": "number"
  23282. },
  23283. "ask8": {
  23284. "description": "卖8",
  23285. "type": "number"
  23286. },
  23287. "ask9": {
  23288. "description": "卖9",
  23289. "type": "number"
  23290. },
  23291. "askorderid": {
  23292. "description": "卖单号1",
  23293. "type": "integer"
  23294. },
  23295. "askorderid2": {
  23296. "description": "卖单号2",
  23297. "type": "integer"
  23298. },
  23299. "askorderid3": {
  23300. "description": "卖单号3",
  23301. "type": "integer"
  23302. },
  23303. "askorderid4": {
  23304. "description": "卖单号4",
  23305. "type": "integer"
  23306. },
  23307. "askorderid5": {
  23308. "description": "卖单号5",
  23309. "type": "integer"
  23310. },
  23311. "askordervolume": {
  23312. "description": "卖单量1",
  23313. "type": "integer"
  23314. },
  23315. "askordervolume10": {
  23316. "description": "卖单量10",
  23317. "type": "integer"
  23318. },
  23319. "askordervolume2": {
  23320. "description": "卖单量2",
  23321. "type": "integer"
  23322. },
  23323. "askordervolume3": {
  23324. "description": "卖单量3",
  23325. "type": "integer"
  23326. },
  23327. "askordervolume4": {
  23328. "description": "卖单量4",
  23329. "type": "integer"
  23330. },
  23331. "askordervolume5": {
  23332. "description": "卖单量5",
  23333. "type": "integer"
  23334. },
  23335. "askordervolume6": {
  23336. "description": "卖单量6",
  23337. "type": "integer"
  23338. },
  23339. "askordervolume7": {
  23340. "description": "卖单量7",
  23341. "type": "integer"
  23342. },
  23343. "askordervolume8": {
  23344. "description": "卖单量8",
  23345. "type": "integer"
  23346. },
  23347. "askordervolume9": {
  23348. "description": "卖单量9",
  23349. "type": "integer"
  23350. },
  23351. "askqueueinfo": {
  23352. "description": "大利市卖港股用",
  23353. "type": "string"
  23354. },
  23355. "askvolume": {
  23356. "description": "卖量1",
  23357. "type": "integer"
  23358. },
  23359. "askvolume10": {
  23360. "description": "卖量10",
  23361. "type": "integer"
  23362. },
  23363. "askvolume2": {
  23364. "description": "卖量2",
  23365. "type": "integer"
  23366. },
  23367. "askvolume3": {
  23368. "description": "卖量3",
  23369. "type": "integer"
  23370. },
  23371. "askvolume4": {
  23372. "description": "卖量4",
  23373. "type": "integer"
  23374. },
  23375. "askvolume5": {
  23376. "description": "卖量5",
  23377. "type": "integer"
  23378. },
  23379. "askvolume6": {
  23380. "description": "卖量6",
  23381. "type": "integer"
  23382. },
  23383. "askvolume7": {
  23384. "description": "卖量7",
  23385. "type": "integer"
  23386. },
  23387. "askvolume8": {
  23388. "description": "卖量8",
  23389. "type": "integer"
  23390. },
  23391. "askvolume9": {
  23392. "description": "卖量9",
  23393. "type": "integer"
  23394. },
  23395. "averageprice": {
  23396. "description": "均价",
  23397. "type": "number"
  23398. },
  23399. "bid": {
  23400. "description": "买1",
  23401. "type": "number"
  23402. },
  23403. "bid10": {
  23404. "description": "买10",
  23405. "type": "number"
  23406. },
  23407. "bid2": {
  23408. "description": "买2",
  23409. "type": "number"
  23410. },
  23411. "bid3": {
  23412. "description": "买3",
  23413. "type": "number"
  23414. },
  23415. "bid4": {
  23416. "description": "买4",
  23417. "type": "number"
  23418. },
  23419. "bid5": {
  23420. "description": "买5",
  23421. "type": "number"
  23422. },
  23423. "bid6": {
  23424. "description": "买6",
  23425. "type": "number"
  23426. },
  23427. "bid7": {
  23428. "description": "买7",
  23429. "type": "number"
  23430. },
  23431. "bid8": {
  23432. "description": "买8",
  23433. "type": "number"
  23434. },
  23435. "bid9": {
  23436. "description": "买9",
  23437. "type": "number"
  23438. },
  23439. "bidorderid": {
  23440. "description": "买单号1",
  23441. "type": "integer"
  23442. },
  23443. "bidorderid2": {
  23444. "description": "买单号2",
  23445. "type": "integer"
  23446. },
  23447. "bidorderid3": {
  23448. "description": "买单号3",
  23449. "type": "integer"
  23450. },
  23451. "bidorderid4": {
  23452. "description": "买单号4",
  23453. "type": "integer"
  23454. },
  23455. "bidorderid5": {
  23456. "description": "买单号5",
  23457. "type": "integer"
  23458. },
  23459. "bidordervolume": {
  23460. "description": "买单量1",
  23461. "type": "integer"
  23462. },
  23463. "bidordervolume10": {
  23464. "description": "买单量10",
  23465. "type": "integer"
  23466. },
  23467. "bidordervolume2": {
  23468. "description": "买单量2",
  23469. "type": "integer"
  23470. },
  23471. "bidordervolume3": {
  23472. "description": "买单量3",
  23473. "type": "integer"
  23474. },
  23475. "bidordervolume4": {
  23476. "description": "买单量4",
  23477. "type": "integer"
  23478. },
  23479. "bidordervolume5": {
  23480. "description": "买单量5",
  23481. "type": "integer"
  23482. },
  23483. "bidordervolume6": {
  23484. "description": "买单量6",
  23485. "type": "integer"
  23486. },
  23487. "bidordervolume7": {
  23488. "description": "买单量7",
  23489. "type": "integer"
  23490. },
  23491. "bidordervolume8": {
  23492. "description": "买单量8",
  23493. "type": "integer"
  23494. },
  23495. "bidordervolume9": {
  23496. "description": "买单量9",
  23497. "type": "integer"
  23498. },
  23499. "bidqueueinfo": {
  23500. "description": "大利市买港股用",
  23501. "type": "string"
  23502. },
  23503. "bidvolume": {
  23504. "description": "买量1",
  23505. "type": "integer"
  23506. },
  23507. "bidvolume10": {
  23508. "description": "买量10",
  23509. "type": "integer"
  23510. },
  23511. "bidvolume2": {
  23512. "description": "买量2",
  23513. "type": "integer"
  23514. },
  23515. "bidvolume3": {
  23516. "description": "买量3",
  23517. "type": "integer"
  23518. },
  23519. "bidvolume4": {
  23520. "description": "买量4",
  23521. "type": "integer"
  23522. },
  23523. "bidvolume5": {
  23524. "description": "买量5",
  23525. "type": "integer"
  23526. },
  23527. "bidvolume6": {
  23528. "description": "买量6",
  23529. "type": "integer"
  23530. },
  23531. "bidvolume7": {
  23532. "description": "买量7",
  23533. "type": "integer"
  23534. },
  23535. "bidvolume8": {
  23536. "description": "买量8",
  23537. "type": "integer"
  23538. },
  23539. "bidvolume9": {
  23540. "description": "买量9",
  23541. "type": "integer"
  23542. },
  23543. "calloptionpremiums": {
  23544. "description": "认购期权1",
  23545. "type": "integer"
  23546. },
  23547. "calloptionpremiums2": {
  23548. "description": "认购期权2",
  23549. "type": "integer"
  23550. },
  23551. "calloptionpremiums3": {
  23552. "description": "认购期权3",
  23553. "type": "integer"
  23554. },
  23555. "calloptionpremiums4": {
  23556. "description": "认购期权4",
  23557. "type": "integer"
  23558. },
  23559. "calloptionpremiums5": {
  23560. "description": "认购期权5",
  23561. "type": "integer"
  23562. },
  23563. "cleartime": {
  23564. "description": "清盘时间",
  23565. "type": "integer"
  23566. },
  23567. "exchangecode": {
  23568. "description": "交易所代码",
  23569. "type": "integer"
  23570. },
  23571. "exchangedate": {
  23572. "description": "交易日",
  23573. "type": "integer"
  23574. },
  23575. "goodscode": {
  23576. "description": "商品代码",
  23577. "type": "string"
  23578. },
  23579. "grepmarketprice": {
  23580. "description": "暗盘价 港股专用",
  23581. "type": "number"
  23582. },
  23583. "highest": {
  23584. "description": "最高价",
  23585. "type": "number"
  23586. },
  23587. "holdincrement": {
  23588. "description": "单笔持仓",
  23589. "type": "integer"
  23590. },
  23591. "holdvolume": {
  23592. "description": "持仓",
  23593. "type": "integer"
  23594. },
  23595. "iep": {
  23596. "description": "平衡价 港股专用",
  23597. "type": "number"
  23598. },
  23599. "iev": {
  23600. "description": "平衡量 港股专用",
  23601. "type": "number"
  23602. },
  23603. "inventory": {
  23604. "description": "库存",
  23605. "type": "integer"
  23606. },
  23607. "iscleared": {
  23608. "description": "是否清盘标志",
  23609. "type": "integer"
  23610. },
  23611. "issettled": {
  23612. "description": "是否结算标志",
  23613. "type": "integer"
  23614. },
  23615. "last": {
  23616. "description": "最新价",
  23617. "type": "number"
  23618. },
  23619. "lastlot": {
  23620. "description": "最新成交手数",
  23621. "type": "integer"
  23622. },
  23623. "lasttime": {
  23624. "description": "行情时间(只有现价变化行情时间才变化)",
  23625. "type": "string"
  23626. },
  23627. "lastturnover": {
  23628. "description": "最新成交金额",
  23629. "type": "number"
  23630. },
  23631. "lastvolume": {
  23632. "description": "最新成交量",
  23633. "type": "integer"
  23634. },
  23635. "limitdown": {
  23636. "description": "跌停价",
  23637. "type": "number"
  23638. },
  23639. "limitup": {
  23640. "description": "涨停价",
  23641. "type": "number"
  23642. },
  23643. "lowest": {
  23644. "description": "最低价",
  23645. "type": "number"
  23646. },
  23647. "nontotalholdervolume": {
  23648. "description": "非交易持仓量",
  23649. "type": "integer"
  23650. },
  23651. "nontotallot": {
  23652. "description": "非交易总手数",
  23653. "type": "integer"
  23654. },
  23655. "nontotalturnover": {
  23656. "description": "非交易总金额",
  23657. "type": "integer"
  23658. },
  23659. "nontotalvolume": {
  23660. "description": "非交易总量",
  23661. "type": "integer"
  23662. },
  23663. "opened": {
  23664. "description": "开盘价",
  23665. "type": "number"
  23666. },
  23667. "opentime": {
  23668. "description": "开盘时间",
  23669. "type": "string"
  23670. },
  23671. "orderid": {
  23672. "description": "序号",
  23673. "type": "integer"
  23674. },
  23675. "preclose": {
  23676. "description": "昨收",
  23677. "type": "number"
  23678. },
  23679. "preholdvolume": {
  23680. "description": "昨持仓",
  23681. "type": "integer"
  23682. },
  23683. "presettle": {
  23684. "description": "昨结价",
  23685. "type": "number"
  23686. },
  23687. "publictradetype": {
  23688. "description": "公共交易标志类型 港股专用",
  23689. "type": "string"
  23690. },
  23691. "putoptionpremiums": {
  23692. "description": "认沽期权1",
  23693. "type": "integer"
  23694. },
  23695. "putoptionpremiums2": {
  23696. "description": "认沽期权2",
  23697. "type": "integer"
  23698. },
  23699. "putoptionpremiums3": {
  23700. "description": "认沽期权3",
  23701. "type": "integer"
  23702. },
  23703. "putoptionpremiums4": {
  23704. "description": "认沽期权4",
  23705. "type": "integer"
  23706. },
  23707. "putoptionpremiums5": {
  23708. "description": "认沽期权5",
  23709. "type": "integer"
  23710. },
  23711. "settle": {
  23712. "description": "结算价",
  23713. "type": "number"
  23714. },
  23715. "strikeprice": {
  23716. "description": "发行价",
  23717. "type": "number"
  23718. },
  23719. "totalaskvolume": {
  23720. "description": "内盘",
  23721. "type": "integer"
  23722. },
  23723. "totalbidvolume": {
  23724. "description": "外盘",
  23725. "type": "integer"
  23726. },
  23727. "totallot": {
  23728. "description": "总手数",
  23729. "type": "integer"
  23730. },
  23731. "totalturnover": {
  23732. "description": "总金额",
  23733. "type": "number"
  23734. },
  23735. "totalvolume": {
  23736. "description": "总量",
  23737. "type": "integer"
  23738. },
  23739. "utclasttime": {
  23740. "description": "utc的行情时间",
  23741. "type": "string"
  23742. }
  23743. }
  23744. },
  23745. "quote.QueryTSDataRsp": {
  23746. "type": "object",
  23747. "properties": {
  23748. "Count": {
  23749. "description": "交易日应有数据个数",
  23750. "type": "integer"
  23751. },
  23752. "decimalPlace": {
  23753. "description": "小数位",
  23754. "type": "integer"
  23755. },
  23756. "endTime": {
  23757. "description": "结束时间",
  23758. "type": "string"
  23759. },
  23760. "goodsCode": {
  23761. "description": "商品代码",
  23762. "type": "string"
  23763. },
  23764. "historyDatas": {
  23765. "description": "历史数据",
  23766. "type": "array",
  23767. "items": {
  23768. "$ref": "#/definitions/quote.HistoryData"
  23769. }
  23770. },
  23771. "outGoodsCode": {
  23772. "description": "外部商品代码",
  23773. "type": "string"
  23774. },
  23775. "preSettle": {
  23776. "description": "昨结价",
  23777. "type": "number"
  23778. },
  23779. "runSteps": {
  23780. "description": "交易日开休市计划",
  23781. "type": "array",
  23782. "items": {
  23783. "$ref": "#/definitions/quote.TSDataRunStep"
  23784. }
  23785. },
  23786. "startTime": {
  23787. "description": "开始时间",
  23788. "type": "string"
  23789. },
  23790. "tradeDate": {
  23791. "description": "交易日",
  23792. "type": "string"
  23793. }
  23794. }
  23795. },
  23796. "quote.TSDataRunStep": {
  23797. "type": "object",
  23798. "properties": {
  23799. "end": {
  23800. "description": "真实结束时间",
  23801. "type": "string"
  23802. },
  23803. "endflag": {
  23804. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23805. "type": "integer"
  23806. },
  23807. "endtime": {
  23808. "description": "结束时间(HH:mm)",
  23809. "type": "string"
  23810. },
  23811. "endweekday": {
  23812. "description": "结束周几",
  23813. "type": "integer"
  23814. },
  23815. "groupid": {
  23816. "description": "分组ID",
  23817. "type": "integer"
  23818. },
  23819. "runstep": {
  23820. "description": "运行阶段 - 2:连续交易",
  23821. "type": "integer"
  23822. },
  23823. "sectionid": {
  23824. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23825. "type": "integer"
  23826. },
  23827. "start": {
  23828. "description": "真实开始时间",
  23829. "type": "string"
  23830. },
  23831. "startflag": {
  23832. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23833. "type": "integer"
  23834. },
  23835. "starttime": {
  23836. "description": "起始时间(HH:mm)",
  23837. "type": "string"
  23838. },
  23839. "startweekday": {
  23840. "description": "起始周几",
  23841. "type": "integer"
  23842. },
  23843. "tradeweekday": {
  23844. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23845. "type": "integer"
  23846. }
  23847. }
  23848. },
  23849. "szdz.QueryConvertLogRsp": {
  23850. "type": "object",
  23851. "required": [
  23852. "logid"
  23853. ],
  23854. "properties": {
  23855. "accountid": {
  23856. "description": "资金账户ID",
  23857. "type": "integer"
  23858. },
  23859. "clientticket": {
  23860. "description": "客户端流水号",
  23861. "type": "string"
  23862. },
  23863. "converttype": {
  23864. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23865. "type": "integer"
  23866. },
  23867. "createtime": {
  23868. "description": "记账时间",
  23869. "type": "string"
  23870. },
  23871. "daymaxvalue": {
  23872. "description": "配置当日最大转入限制",
  23873. "type": "number"
  23874. },
  23875. "daymaxvalue2": {
  23876. "description": "配置当日最大转入限制(转入)",
  23877. "type": "number"
  23878. },
  23879. "goodscode": {
  23880. "description": "商品代码",
  23881. "type": "string"
  23882. },
  23883. "goodsname": {
  23884. "description": "商品名称",
  23885. "type": "string"
  23886. },
  23887. "handlestatus": {
  23888. "description": "处理状态",
  23889. "type": "integer"
  23890. },
  23891. "innergoodsid": {
  23892. "description": "内部商品ID",
  23893. "type": "integer"
  23894. },
  23895. "inratio": {
  23896. "description": "配置转入比值",
  23897. "type": "integer"
  23898. },
  23899. "invalue": {
  23900. "description": "目标值",
  23901. "type": "number"
  23902. },
  23903. "logid": {
  23904. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23905. "type": "integer"
  23906. },
  23907. "mobile": {
  23908. "description": "手机号码(加密存储)",
  23909. "type": "string"
  23910. },
  23911. "outergoodscode": {
  23912. "description": "外部商品代码[JD\\PD]",
  23913. "type": "string"
  23914. },
  23915. "outratio": {
  23916. "description": "配置转出比值",
  23917. "type": "integer"
  23918. },
  23919. "outvalue": {
  23920. "description": "源值",
  23921. "type": "number"
  23922. },
  23923. "pddecimalplace": {
  23924. "description": "PD小数位",
  23925. "type": "integer"
  23926. },
  23927. "qty": {
  23928. "description": "数量",
  23929. "type": "string"
  23930. },
  23931. "remark": {
  23932. "description": "备注",
  23933. "type": "string"
  23934. },
  23935. "sessionid": {
  23936. "description": "会话ID",
  23937. "type": "integer"
  23938. },
  23939. "timemaxvalue": {
  23940. "description": "配置单次最大转入限制",
  23941. "type": "number"
  23942. },
  23943. "timemaxvalue2": {
  23944. "description": "配置单次最大转入限制(转入)",
  23945. "type": "number"
  23946. },
  23947. "timeminvalue": {
  23948. "description": "配置单次最小数量限制",
  23949. "type": "number"
  23950. },
  23951. "timeminvalue2": {
  23952. "description": "配置单次最小数量限制(转入)",
  23953. "type": "number"
  23954. },
  23955. "tradedate": {
  23956. "description": "交易日(yyyyMMdd)",
  23957. "type": "string"
  23958. },
  23959. "userid": {
  23960. "description": "用户ID",
  23961. "type": "integer"
  23962. }
  23963. }
  23964. },
  23965. "szdz.QueryGoodsPickupRsp": {
  23966. "type": "object",
  23967. "required": [
  23968. "takeorderid"
  23969. ],
  23970. "properties": {
  23971. "accountid": {
  23972. "description": "账户ID",
  23973. "type": "integer"
  23974. },
  23975. "address": {
  23976. "description": "提货人详细地址",
  23977. "type": "string"
  23978. },
  23979. "auditer": {
  23980. "description": "审核人",
  23981. "type": "integer"
  23982. },
  23983. "audittime": {
  23984. "description": "审核时间",
  23985. "type": "string"
  23986. },
  23987. "cardnum": {
  23988. "description": "提货人证件号码",
  23989. "type": "string"
  23990. },
  23991. "cardtypeid": {
  23992. "description": "提货人证件类型",
  23993. "type": "integer"
  23994. },
  23995. "checkremark": {
  23996. "description": "审核备注",
  23997. "type": "string"
  23998. },
  23999. "goodscode": {
  24000. "description": "商品代码",
  24001. "type": "string"
  24002. },
  24003. "goodsid": {
  24004. "description": "商品ID",
  24005. "type": "integer"
  24006. },
  24007. "goodsname": {
  24008. "description": "商品名称",
  24009. "type": "string"
  24010. },
  24011. "handlestatus": {
  24012. "description": "处理状态",
  24013. "type": "integer"
  24014. },
  24015. "marketid": {
  24016. "description": "市场ID",
  24017. "type": "integer"
  24018. },
  24019. "phonenum": {
  24020. "description": "提货人联系方式",
  24021. "type": "string"
  24022. },
  24023. "qty": {
  24024. "description": "提货数量",
  24025. "type": "number"
  24026. },
  24027. "recivername": {
  24028. "description": "提货人姓名",
  24029. "type": "string"
  24030. },
  24031. "reqtime": {
  24032. "description": "更新时间",
  24033. "type": "string"
  24034. },
  24035. "takemode": {
  24036. "description": "提货方式 - 2:自提 3:配送",
  24037. "type": "integer"
  24038. },
  24039. "takeorderid": {
  24040. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24041. "type": "string"
  24042. },
  24043. "takeorderstatus": {
  24044. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24045. "type": "integer"
  24046. },
  24047. "takeremark": {
  24048. "description": "提货备注",
  24049. "type": "string"
  24050. },
  24051. "tradedate": {
  24052. "description": "交易日(yyyyMMdd)",
  24053. "type": "string"
  24054. },
  24055. "userid": {
  24056. "description": "用户ID",
  24057. "type": "integer"
  24058. }
  24059. }
  24060. },
  24061. "szdz.QueryRecieptOrderRsp": {
  24062. "type": "object",
  24063. "required": [
  24064. "ordertime"
  24065. ],
  24066. "properties": {
  24067. "accountName": {
  24068. "description": "所属账号名称(已脱敏)",
  24069. "type": "string"
  24070. },
  24071. "accountid": {
  24072. "description": "资金账号",
  24073. "type": "integer"
  24074. },
  24075. "buyorsell": {
  24076. "description": "方向 - 0:买 1:卖",
  24077. "type": "integer"
  24078. },
  24079. "enableqty": {
  24080. "description": "可摘数量",
  24081. "type": "integer"
  24082. },
  24083. "goodscode": {
  24084. "description": "商品代码",
  24085. "type": "string"
  24086. },
  24087. "goodsid": {
  24088. "description": "商品ID",
  24089. "type": "integer"
  24090. },
  24091. "goodsname": {
  24092. "description": "商品名称",
  24093. "type": "string"
  24094. },
  24095. "orderid": {
  24096. "description": "委托单号",
  24097. "type": "string"
  24098. },
  24099. "orderprice": {
  24100. "description": "委托价格",
  24101. "type": "number"
  24102. },
  24103. "ordertime": {
  24104. "description": "委托时间",
  24105. "type": "string"
  24106. },
  24107. "tradedate": {
  24108. "description": "交易日(yyyyMMdd)",
  24109. "type": "string"
  24110. }
  24111. }
  24112. },
  24113. "szdz.QuerySZDZTradePositionRsp": {
  24114. "type": "object",
  24115. "properties": {
  24116. "accountid": {
  24117. "description": "账号Id",
  24118. "type": "integer"
  24119. },
  24120. "agreeunit": {
  24121. "description": "合约单位",
  24122. "type": "number"
  24123. },
  24124. "averageprice": {
  24125. "description": "持仓均价",
  24126. "type": "number"
  24127. },
  24128. "buyorsell": {
  24129. "description": "方向 - 0:买 1:卖",
  24130. "type": "integer"
  24131. },
  24132. "closetotalqty": {
  24133. "description": "平仓总数量",
  24134. "type": "integer"
  24135. },
  24136. "curholderamount": {
  24137. "description": "当前持仓总金额",
  24138. "type": "number"
  24139. },
  24140. "curpositionqty": {
  24141. "description": "当前持仓总数量",
  24142. "type": "integer"
  24143. },
  24144. "currencyid": {
  24145. "description": "报价货币ID",
  24146. "type": "integer"
  24147. },
  24148. "curtdposition": {
  24149. "description": "期末今日头寸",
  24150. "type": "integer"
  24151. },
  24152. "decimalplace": {
  24153. "description": "报价小数位",
  24154. "type": "integer"
  24155. },
  24156. "enableqty": {
  24157. "description": "可用量",
  24158. "type": "integer"
  24159. },
  24160. "fretdposition": {
  24161. "description": "冻结今日头寸",
  24162. "type": "integer"
  24163. },
  24164. "frozenqty": {
  24165. "description": "持仓冻结数量",
  24166. "type": "integer"
  24167. },
  24168. "goodscode": {
  24169. "description": "商品代码(内部)",
  24170. "type": "string"
  24171. },
  24172. "goodsid": {
  24173. "description": "商品Id",
  24174. "type": "integer"
  24175. },
  24176. "goodsname": {
  24177. "description": "商品名称",
  24178. "type": "string"
  24179. },
  24180. "goodunit": {
  24181. "description": "报价单位",
  24182. "type": "string"
  24183. },
  24184. "goodunitid": {
  24185. "description": "报价单位ID",
  24186. "type": "integer"
  24187. },
  24188. "holderamount": {
  24189. "description": "期初持仓总金额",
  24190. "type": "number"
  24191. },
  24192. "marketid": {
  24193. "description": "市场ID",
  24194. "type": "integer"
  24195. },
  24196. "openreqqty": {
  24197. "description": "开仓申请数量",
  24198. "type": "integer"
  24199. },
  24200. "opentotalqty": {
  24201. "description": "开仓总数量",
  24202. "type": "integer"
  24203. },
  24204. "otherfrozenqty": {
  24205. "description": "持仓其他冻结数量(交割冻结)",
  24206. "type": "integer"
  24207. },
  24208. "positionqty": {
  24209. "description": "期初持仓数量",
  24210. "type": "integer"
  24211. },
  24212. "szdz3freezqty": {
  24213. "description": "尚志大宗转换冻结总数量",
  24214. "type": "integer"
  24215. },
  24216. "tnqty": {
  24217. "description": "T+N冻结总量",
  24218. "type": "integer"
  24219. },
  24220. "tnusedqty": {
  24221. "description": "T+N使用量",
  24222. "type": "integer"
  24223. },
  24224. "trademode": {
  24225. "description": "交易模式",
  24226. "type": "integer"
  24227. },
  24228. "usedmargin": {
  24229. "description": "占用保证金",
  24230. "type": "number"
  24231. }
  24232. }
  24233. },
  24234. "taaccount.QueryAmountLogRsp": {
  24235. "type": "object",
  24236. "required": [
  24237. "accountid",
  24238. "amount",
  24239. "amountadjusttype",
  24240. "autoid",
  24241. "balance",
  24242. "createtime",
  24243. "currentbalance",
  24244. "operatetype"
  24245. ],
  24246. "properties": {
  24247. "OPERATETYPENAME": {
  24248. "description": "资金操作类型名称",
  24249. "type": "string"
  24250. },
  24251. "accountid": {
  24252. "description": "资金账户ID",
  24253. "type": "integer"
  24254. },
  24255. "agoodscode": {
  24256. "description": "竞拍商品代码",
  24257. "type": "string"
  24258. },
  24259. "agoodsname": {
  24260. "description": "竞拍商品名称",
  24261. "type": "string"
  24262. },
  24263. "amount": {
  24264. "description": "资金金额",
  24265. "type": "number"
  24266. },
  24267. "amountadjusttype": {
  24268. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24269. "type": "integer"
  24270. },
  24271. "autoid": {
  24272. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24273. "type": "integer"
  24274. },
  24275. "balance": {
  24276. "description": "期初余额",
  24277. "type": "number"
  24278. },
  24279. "businesscode": {
  24280. "description": "业务编号",
  24281. "type": "integer"
  24282. },
  24283. "createtime": {
  24284. "description": "发生时间",
  24285. "type": "string"
  24286. },
  24287. "currencyid": {
  24288. "description": "币种ID",
  24289. "type": "integer"
  24290. },
  24291. "currentbalance": {
  24292. "description": "期末余额(变动后金额)",
  24293. "type": "number"
  24294. },
  24295. "dgoodscode": {
  24296. "description": "交割商品代码",
  24297. "type": "string"
  24298. },
  24299. "dgoodsname": {
  24300. "description": "交割商品名称",
  24301. "type": "string"
  24302. },
  24303. "goodscode": {
  24304. "description": "商品代码",
  24305. "type": "string"
  24306. },
  24307. "goodsid": {
  24308. "description": "商品ID",
  24309. "type": "integer"
  24310. },
  24311. "goodsname": {
  24312. "description": "商品名称",
  24313. "type": "string"
  24314. },
  24315. "marketid": {
  24316. "description": "市场ID",
  24317. "type": "integer"
  24318. },
  24319. "marketname": {
  24320. "description": "市场名称",
  24321. "type": "string"
  24322. },
  24323. "moneyticket": {
  24324. "description": "资金流水号:银行端流水号",
  24325. "type": "integer"
  24326. },
  24327. "operatetype": {
  24328. "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:营销收款",
  24329. "type": "integer"
  24330. },
  24331. "relationorderid": {
  24332. "description": "关联单号",
  24333. "type": "string"
  24334. },
  24335. "remark": {
  24336. "description": "备注",
  24337. "type": "string"
  24338. },
  24339. "trademode": {
  24340. "description": "交易模式",
  24341. "type": "integer"
  24342. }
  24343. }
  24344. },
  24345. "taaccount.QueryHisAmountLogRsp": {
  24346. "type": "object",
  24347. "required": [
  24348. "accountid",
  24349. "amount",
  24350. "amountadjusttype",
  24351. "autoid",
  24352. "balance",
  24353. "createtime",
  24354. "currentbalance",
  24355. "histradedate",
  24356. "operatetype"
  24357. ],
  24358. "properties": {
  24359. "OPERATETYPENAME": {
  24360. "description": "资金操作类型名称",
  24361. "type": "string"
  24362. },
  24363. "accountid": {
  24364. "description": "资金账户ID",
  24365. "type": "integer"
  24366. },
  24367. "agoodscode": {
  24368. "description": "竞拍商品代码",
  24369. "type": "string"
  24370. },
  24371. "agoodsname": {
  24372. "description": "竞拍商品名称",
  24373. "type": "string"
  24374. },
  24375. "amount": {
  24376. "description": "资金金额",
  24377. "type": "number"
  24378. },
  24379. "amountadjusttype": {
  24380. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24381. "type": "integer"
  24382. },
  24383. "autoid": {
  24384. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24385. "type": "integer"
  24386. },
  24387. "balance": {
  24388. "description": "期初余额",
  24389. "type": "number"
  24390. },
  24391. "businesscode": {
  24392. "description": "业务编号",
  24393. "type": "integer"
  24394. },
  24395. "createtime": {
  24396. "description": "发生时间",
  24397. "type": "string"
  24398. },
  24399. "currencyid": {
  24400. "description": "币种ID",
  24401. "type": "integer"
  24402. },
  24403. "currentbalance": {
  24404. "description": "期末余额(变动后金额)",
  24405. "type": "number"
  24406. },
  24407. "dgoodscode": {
  24408. "description": "交割商品代码",
  24409. "type": "string"
  24410. },
  24411. "dgoodsname": {
  24412. "description": "交割商品名称",
  24413. "type": "string"
  24414. },
  24415. "goodscode": {
  24416. "description": "商品代码",
  24417. "type": "string"
  24418. },
  24419. "goodsid": {
  24420. "description": "商品ID",
  24421. "type": "integer"
  24422. },
  24423. "goodsname": {
  24424. "description": "商品名称",
  24425. "type": "string"
  24426. },
  24427. "histradedate": {
  24428. "description": "历史交易日",
  24429. "type": "string"
  24430. },
  24431. "isvaliddata": {
  24432. "description": "是否有效 - 0:无效 1:有效",
  24433. "type": "integer"
  24434. },
  24435. "marketid": {
  24436. "description": "市场ID",
  24437. "type": "integer"
  24438. },
  24439. "marketname": {
  24440. "description": "市场名称",
  24441. "type": "string"
  24442. },
  24443. "moneyticket": {
  24444. "description": "资金流水号:银行端流水号",
  24445. "type": "integer"
  24446. },
  24447. "operatetype": {
  24448. "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:营销收款",
  24449. "type": "integer"
  24450. },
  24451. "relationorderid": {
  24452. "description": "关联单号",
  24453. "type": "string"
  24454. },
  24455. "remark": {
  24456. "description": "备注",
  24457. "type": "string"
  24458. },
  24459. "trademode": {
  24460. "description": "交易模式",
  24461. "type": "integer"
  24462. }
  24463. }
  24464. },
  24465. "trade.QueryRecieptOrderRsp": {
  24466. "type": "object",
  24467. "required": [
  24468. "ordertime"
  24469. ],
  24470. "properties": {
  24471. "accountName": {
  24472. "description": "所属账号名称(已脱敏)",
  24473. "type": "string"
  24474. },
  24475. "accountid": {
  24476. "description": "资金账号",
  24477. "type": "integer"
  24478. },
  24479. "buyorsell": {
  24480. "description": "方向 - 0:买 1:卖",
  24481. "type": "integer"
  24482. },
  24483. "enableqty": {
  24484. "description": "可摘数量",
  24485. "type": "integer"
  24486. },
  24487. "goodscode": {
  24488. "description": "商品代码",
  24489. "type": "string"
  24490. },
  24491. "goodsid": {
  24492. "description": "商品ID",
  24493. "type": "integer"
  24494. },
  24495. "goodsname": {
  24496. "description": "商品名称",
  24497. "type": "string"
  24498. },
  24499. "orderid": {
  24500. "description": "委托单号",
  24501. "type": "string"
  24502. },
  24503. "orderprice": {
  24504. "description": "委托价格",
  24505. "type": "number"
  24506. },
  24507. "ordertime": {
  24508. "description": "委托时间",
  24509. "type": "string"
  24510. },
  24511. "tradedate": {
  24512. "description": "交易日(yyyyMMdd)",
  24513. "type": "string"
  24514. }
  24515. }
  24516. },
  24517. "user.LoginQueryRsp": {
  24518. "type": "object",
  24519. "properties": {
  24520. "areaRoles": {
  24521. "description": "所属角色信息",
  24522. "type": "array",
  24523. "items": {
  24524. "$ref": "#/definitions/models.Arearole"
  24525. }
  24526. },
  24527. "externalExchanges": {
  24528. "description": "外部交易所",
  24529. "type": "array",
  24530. "items": {
  24531. "$ref": "#/definitions/models.Externalexchange"
  24532. }
  24533. },
  24534. "goodsgroups": {
  24535. "description": "商品组",
  24536. "type": "array",
  24537. "items": {
  24538. "$ref": "#/definitions/models.Goodsgroup"
  24539. }
  24540. },
  24541. "loginAccount": {
  24542. "description": "登录账号",
  24543. "type": "object",
  24544. "$ref": "#/definitions/models.Loginaccount"
  24545. },
  24546. "markets": {
  24547. "description": "市场",
  24548. "type": "array",
  24549. "items": {
  24550. "$ref": "#/definitions/models.Market"
  24551. }
  24552. },
  24553. "systemParams": {
  24554. "description": "系统参数",
  24555. "type": "array",
  24556. "items": {
  24557. "$ref": "#/definitions/models.Systemparam"
  24558. }
  24559. },
  24560. "userAccount": {
  24561. "description": "用户账号",
  24562. "type": "object",
  24563. "$ref": "#/definitions/models.Useraccount"
  24564. },
  24565. "userInfo": {
  24566. "description": "用户信息",
  24567. "type": "object",
  24568. "$ref": "#/definitions/models.Userinfo"
  24569. },
  24570. "username": {
  24571. "description": "用户姓名",
  24572. "type": "string"
  24573. }
  24574. }
  24575. }
  24576. },
  24577. "securityDefinitions": {
  24578. "ApiKeyAuth": {
  24579. "type": "apiKey",
  24580. "name": "Authorization",
  24581. "in": "header"
  24582. }
  24583. }
  24584. }`
  24585. type swaggerInfo struct {
  24586. Version string
  24587. Host string
  24588. BasePath string
  24589. Schemes []string
  24590. Title string
  24591. Description string
  24592. }
  24593. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24594. var SwaggerInfo = swaggerInfo{
  24595. Version: "1.0",
  24596. Host: "",
  24597. BasePath: "/api",
  24598. Schemes: []string{},
  24599. Title: "MTP2.0 查询服务 API",
  24600. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24601. }
  24602. type s struct{}
  24603. func (s *s) ReadDoc() string {
  24604. sInfo := SwaggerInfo
  24605. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24606. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24607. "marshal": func(v interface{}) string {
  24608. a, _ := json.Marshal(v)
  24609. return string(a)
  24610. },
  24611. }).Parse(doc)
  24612. if err != nil {
  24613. return doc
  24614. }
  24615. var tpl bytes.Buffer
  24616. if err := t.Execute(&tpl, sInfo); err != nil {
  24617. return doc
  24618. }
  24619. return tpl.String()
  24620. }
  24621. func init() {
  24622. swag.Register(swag.Name, &s{})
  24623. }