docs.go 968 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896
  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.ErmcpGoods"
  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/QueryExposureGoods": {
  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": "middlegoodsid",
  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/models.ErmcpMiddlegoodsRelateGoods"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePosition": {
  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. "responses": {
  2140. "200": {
  2141. "description": "OK",
  2142. "schema": {
  2143. "type": "array",
  2144. "items": {
  2145. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2146. }
  2147. }
  2148. },
  2149. "500": {
  2150. "description": "Internal Server Error",
  2151. "schema": {
  2152. "$ref": "#/definitions/app.Response"
  2153. }
  2154. }
  2155. }
  2156. }
  2157. },
  2158. "/Ermcp/QueryExposureHedgePositionDetail": {
  2159. "get": {
  2160. "security": [
  2161. {
  2162. "ApiKeyAuth": []
  2163. }
  2164. ],
  2165. "produces": [
  2166. "application/json"
  2167. ],
  2168. "tags": [
  2169. "企业风险管理(app)"
  2170. ],
  2171. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2172. "parameters": [
  2173. {
  2174. "type": "integer",
  2175. "description": "所属机构ID",
  2176. "name": "userid",
  2177. "in": "query",
  2178. "required": true
  2179. },
  2180. {
  2181. "type": "integer",
  2182. "description": "商品id",
  2183. "name": "goodsId",
  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.ExposureHedgePosDetailRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpot": {
  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. "responses": {
  2231. "200": {
  2232. "description": "OK",
  2233. "schema": {
  2234. "type": "array",
  2235. "items": {
  2236. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2237. }
  2238. }
  2239. },
  2240. "500": {
  2241. "description": "Internal Server Error",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. },
  2249. "/Ermcp/QueryExposureSpotDetail": {
  2250. "get": {
  2251. "security": [
  2252. {
  2253. "ApiKeyAuth": []
  2254. }
  2255. ],
  2256. "produces": [
  2257. "application/json"
  2258. ],
  2259. "tags": [
  2260. "企业风险管理(app)"
  2261. ],
  2262. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2263. "parameters": [
  2264. {
  2265. "type": "integer",
  2266. "description": "所属机构ID",
  2267. "name": "areaUserId",
  2268. "in": "query",
  2269. "required": true
  2270. },
  2271. {
  2272. "type": "integer",
  2273. "description": "现货品种ID",
  2274. "name": "wrstandardId",
  2275. "in": "query",
  2276. "required": true
  2277. }
  2278. ],
  2279. "responses": {
  2280. "200": {
  2281. "description": "OK",
  2282. "schema": {
  2283. "type": "array",
  2284. "items": {
  2285. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2286. }
  2287. }
  2288. },
  2289. "500": {
  2290. "description": "Internal Server Error",
  2291. "schema": {
  2292. "$ref": "#/definitions/app.Response"
  2293. }
  2294. }
  2295. }
  2296. }
  2297. },
  2298. "/Ermcp/QueryFuturesCompany": {
  2299. "get": {
  2300. "security": [
  2301. {
  2302. "ApiKeyAuth": []
  2303. }
  2304. ],
  2305. "produces": [
  2306. "application/json"
  2307. ],
  2308. "tags": [
  2309. "企业风险管理(app)"
  2310. ],
  2311. "summary": "查询期货公司",
  2312. "responses": {
  2313. "200": {
  2314. "description": "OK",
  2315. "schema": {
  2316. "type": "array",
  2317. "items": {
  2318. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2319. }
  2320. }
  2321. },
  2322. "500": {
  2323. "description": "Internal Server Error",
  2324. "schema": {
  2325. "$ref": "#/definitions/app.Response"
  2326. }
  2327. }
  2328. }
  2329. }
  2330. },
  2331. "/Ermcp/QueryGGConvertConfig": {
  2332. "get": {
  2333. "security": [
  2334. {
  2335. "ApiKeyAuth": []
  2336. }
  2337. ],
  2338. "produces": [
  2339. "application/json"
  2340. ],
  2341. "tags": [
  2342. "企业风险管理(app)"
  2343. ],
  2344. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2345. "parameters": [
  2346. {
  2347. "type": "integer",
  2348. "description": "品种id(不填则查所有)",
  2349. "name": "goodsgroupid",
  2350. "in": "query"
  2351. }
  2352. ],
  2353. "responses": {
  2354. "200": {
  2355. "description": "OK",
  2356. "schema": {
  2357. "type": "array",
  2358. "items": {
  2359. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2360. }
  2361. }
  2362. },
  2363. "500": {
  2364. "description": "Internal Server Error",
  2365. "schema": {
  2366. "$ref": "#/definitions/app.Response"
  2367. }
  2368. }
  2369. }
  2370. }
  2371. },
  2372. "/Ermcp/QueryGoodsBrand": {
  2373. "get": {
  2374. "security": [
  2375. {
  2376. "ApiKeyAuth": []
  2377. }
  2378. ],
  2379. "produces": [
  2380. "application/json"
  2381. ],
  2382. "tags": [
  2383. "企业风险管理(app)"
  2384. ],
  2385. "summary": "查询商品品牌",
  2386. "parameters": [
  2387. {
  2388. "type": "integer",
  2389. "description": "用户ID",
  2390. "name": "userid",
  2391. "in": "query",
  2392. "required": true
  2393. },
  2394. {
  2395. "type": "integer",
  2396. "description": "现货商品ID",
  2397. "name": "wrstandardid",
  2398. "in": "query"
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryGoodsModel": {
  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. "responses": {
  2444. "200": {
  2445. "description": "OK",
  2446. "schema": {
  2447. "type": "array",
  2448. "items": {
  2449. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2450. }
  2451. }
  2452. },
  2453. "500": {
  2454. "description": "Internal Server Error",
  2455. "schema": {
  2456. "$ref": "#/definitions/app.Response"
  2457. }
  2458. }
  2459. }
  2460. }
  2461. },
  2462. "/Ermcp/QueryHisExposure": {
  2463. "get": {
  2464. "security": [
  2465. {
  2466. "ApiKeyAuth": []
  2467. }
  2468. ],
  2469. "produces": [
  2470. "application/json"
  2471. ],
  2472. "tags": [
  2473. "企业风险管理(app)"
  2474. ],
  2475. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2476. "parameters": [
  2477. {
  2478. "type": "integer",
  2479. "description": "用户id",
  2480. "name": "userid",
  2481. "in": "query",
  2482. "required": true
  2483. },
  2484. {
  2485. "type": "integer",
  2486. "description": "每个品种记录数",
  2487. "name": "lastNum",
  2488. "in": "query",
  2489. "required": true
  2490. }
  2491. ],
  2492. "responses": {
  2493. "200": {
  2494. "description": "OK",
  2495. "schema": {
  2496. "type": "array",
  2497. "items": {
  2498. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2499. }
  2500. }
  2501. },
  2502. "500": {
  2503. "description": "Internal Server Error",
  2504. "schema": {
  2505. "$ref": "#/definitions/app.Response"
  2506. }
  2507. }
  2508. }
  2509. }
  2510. },
  2511. "/Ermcp/QueryMiddleGoods": {
  2512. "get": {
  2513. "security": [
  2514. {
  2515. "ApiKeyAuth": []
  2516. }
  2517. ],
  2518. "produces": [
  2519. "application/json"
  2520. ],
  2521. "tags": [
  2522. "企业风险管理(app)"
  2523. ],
  2524. "summary": "查询套保品种(菜单:套保品种)",
  2525. "parameters": [
  2526. {
  2527. "type": "integer",
  2528. "description": "所属机构ID",
  2529. "name": "userid",
  2530. "in": "query",
  2531. "required": true
  2532. },
  2533. {
  2534. "type": "integer",
  2535. "description": "状态 0-停用 1-正常",
  2536. "name": "status",
  2537. "in": "query",
  2538. "required": true
  2539. }
  2540. ],
  2541. "responses": {
  2542. "200": {
  2543. "description": "OK",
  2544. "schema": {
  2545. "type": "array",
  2546. "items": {
  2547. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2548. }
  2549. }
  2550. },
  2551. "500": {
  2552. "description": "Internal Server Error",
  2553. "schema": {
  2554. "$ref": "#/definitions/app.Response"
  2555. }
  2556. }
  2557. }
  2558. }
  2559. },
  2560. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2561. "get": {
  2562. "security": [
  2563. {
  2564. "ApiKeyAuth": []
  2565. }
  2566. ],
  2567. "produces": [
  2568. "application/json"
  2569. ],
  2570. "tags": [
  2571. "企业风险管理(app)"
  2572. ],
  2573. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2574. "parameters": [
  2575. {
  2576. "type": "integer",
  2577. "description": "所属机构ID",
  2578. "name": "userid",
  2579. "in": "query",
  2580. "required": true
  2581. },
  2582. {
  2583. "type": "integer",
  2584. "description": "套保品种id",
  2585. "name": "middlegoodsid",
  2586. "in": "query",
  2587. "required": true
  2588. }
  2589. ],
  2590. "responses": {
  2591. "200": {
  2592. "description": "OK",
  2593. "schema": {
  2594. "type": "array",
  2595. "items": {
  2596. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2597. }
  2598. }
  2599. },
  2600. "500": {
  2601. "description": "Internal Server Error",
  2602. "schema": {
  2603. "$ref": "#/definitions/app.Response"
  2604. }
  2605. }
  2606. }
  2607. }
  2608. },
  2609. "/Ermcp/QueryMiddleGoodsDetail": {
  2610. "get": {
  2611. "security": [
  2612. {
  2613. "ApiKeyAuth": []
  2614. }
  2615. ],
  2616. "produces": [
  2617. "application/json"
  2618. ],
  2619. "tags": [
  2620. "企业风险管理(app)"
  2621. ],
  2622. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2623. "parameters": [
  2624. {
  2625. "type": "integer",
  2626. "description": "所属机构ID",
  2627. "name": "userid",
  2628. "in": "query",
  2629. "required": true
  2630. },
  2631. {
  2632. "type": "integer",
  2633. "description": "套保品种id",
  2634. "name": "middlegoodsid",
  2635. "in": "query"
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryPendingAuditInfo": {
  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.PendingAuditCntRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposure": {
  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. "responses": {
  2723. "200": {
  2724. "description": "OK",
  2725. "schema": {
  2726. "type": "array",
  2727. "items": {
  2728. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2729. }
  2730. }
  2731. },
  2732. "500": {
  2733. "description": "Internal Server Error",
  2734. "schema": {
  2735. "$ref": "#/definitions/app.Response"
  2736. }
  2737. }
  2738. }
  2739. }
  2740. },
  2741. "/Ermcp/QueryRealtimeExposurePosition": {
  2742. "get": {
  2743. "security": [
  2744. {
  2745. "ApiKeyAuth": []
  2746. }
  2747. ],
  2748. "produces": [
  2749. "application/json"
  2750. ],
  2751. "tags": [
  2752. "企业风险管理(app)"
  2753. ],
  2754. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2755. "parameters": [
  2756. {
  2757. "type": "integer",
  2758. "description": "用户id",
  2759. "name": "userid",
  2760. "in": "query",
  2761. "required": true
  2762. },
  2763. {
  2764. "type": "integer",
  2765. "description": "套保商品ID",
  2766. "name": "middleGoodsId",
  2767. "in": "query",
  2768. "required": true
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryTradeConfigTMP": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询交易模板配置",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "所属机构id",
  2808. "name": "areauserid",
  2809. "in": "query"
  2810. }
  2811. ],
  2812. "responses": {
  2813. "200": {
  2814. "description": "OK",
  2815. "schema": {
  2816. "type": "array",
  2817. "items": {
  2818. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2819. }
  2820. }
  2821. },
  2822. "500": {
  2823. "description": "Internal Server Error",
  2824. "schema": {
  2825. "$ref": "#/definitions/app.Response"
  2826. }
  2827. }
  2828. }
  2829. }
  2830. },
  2831. "/Ermcp/QueryUserInfo": {
  2832. "get": {
  2833. "security": [
  2834. {
  2835. "ApiKeyAuth": []
  2836. }
  2837. ],
  2838. "produces": [
  2839. "application/json"
  2840. ],
  2841. "tags": [
  2842. "企业风险管理(app)"
  2843. ],
  2844. "summary": "查询客户资料",
  2845. "parameters": [
  2846. {
  2847. "type": "integer",
  2848. "description": "所属机构用户ID",
  2849. "name": "MemberUserID",
  2850. "in": "query",
  2851. "required": true
  2852. },
  2853. {
  2854. "type": "integer",
  2855. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2856. "name": "queryType",
  2857. "in": "query",
  2858. "required": true
  2859. }
  2860. ],
  2861. "responses": {
  2862. "200": {
  2863. "description": "OK",
  2864. "schema": {
  2865. "type": "array",
  2866. "items": {
  2867. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2868. }
  2869. }
  2870. },
  2871. "500": {
  2872. "description": "Internal Server Error",
  2873. "schema": {
  2874. "$ref": "#/definitions/app.Response"
  2875. }
  2876. }
  2877. }
  2878. }
  2879. },
  2880. "/Ermcp/QueryWarehouseInfo": {
  2881. "get": {
  2882. "security": [
  2883. {
  2884. "ApiKeyAuth": []
  2885. }
  2886. ],
  2887. "produces": [
  2888. "application/json"
  2889. ],
  2890. "tags": [
  2891. "企业风险管理(app)"
  2892. ],
  2893. "summary": "查询仓库信息",
  2894. "parameters": [
  2895. {
  2896. "type": "integer",
  2897. "description": "用户ID",
  2898. "name": "userid",
  2899. "in": "query",
  2900. "required": true
  2901. },
  2902. {
  2903. "type": "string",
  2904. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2905. "name": "status",
  2906. "in": "query"
  2907. }
  2908. ],
  2909. "responses": {
  2910. "200": {
  2911. "description": "OK",
  2912. "schema": {
  2913. "type": "array",
  2914. "items": {
  2915. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2916. }
  2917. }
  2918. },
  2919. "500": {
  2920. "description": "Internal Server Error",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. }
  2925. }
  2926. }
  2927. },
  2928. "/Ermcp3/QryAreaExpourseContractDetail": {
  2929. "get": {
  2930. "security": [
  2931. {
  2932. "ApiKeyAuth": []
  2933. }
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "企业风险管理v3(app)"
  2940. ],
  2941. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2942. "parameters": [
  2943. {
  2944. "type": "integer",
  2945. "description": "用户ID",
  2946. "name": "userid",
  2947. "in": "query",
  2948. "required": true
  2949. },
  2950. {
  2951. "type": "integer",
  2952. "description": "套保商品id",
  2953. "name": "middlegoodsid",
  2954. "in": "query",
  2955. "required": true
  2956. },
  2957. {
  2958. "type": "integer",
  2959. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2960. "name": "cycletype",
  2961. "in": "query",
  2962. "required": true
  2963. },
  2964. {
  2965. "type": "string",
  2966. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2967. "name": "cycletime",
  2968. "in": "query",
  2969. "required": true
  2970. }
  2971. ],
  2972. "responses": {
  2973. "200": {
  2974. "description": "OK",
  2975. "schema": {
  2976. "type": "array",
  2977. "items": {
  2978. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2979. }
  2980. }
  2981. },
  2982. "500": {
  2983. "description": "Internal Server Error",
  2984. "schema": {
  2985. "$ref": "#/definitions/app.Response"
  2986. }
  2987. }
  2988. }
  2989. }
  2990. },
  2991. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2992. "get": {
  2993. "security": [
  2994. {
  2995. "ApiKeyAuth": []
  2996. }
  2997. ],
  2998. "produces": [
  2999. "application/json"
  3000. ],
  3001. "tags": [
  3002. "企业风险管理v3(app)"
  3003. ],
  3004. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3005. "parameters": [
  3006. {
  3007. "type": "integer",
  3008. "description": "用户ID",
  3009. "name": "userid",
  3010. "in": "query",
  3011. "required": true
  3012. },
  3013. {
  3014. "type": "integer",
  3015. "description": "套保商品id",
  3016. "name": "middlegoodsid",
  3017. "in": "query",
  3018. "required": true
  3019. },
  3020. {
  3021. "type": "integer",
  3022. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3023. "name": "cycletype",
  3024. "in": "query",
  3025. "required": true
  3026. },
  3027. {
  3028. "type": "string",
  3029. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3030. "name": "cycletime",
  3031. "in": "query",
  3032. "required": true
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "type": "array",
  3040. "items": {
  3041. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3042. }
  3043. }
  3044. },
  3045. "500": {
  3046. "description": "Internal Server Error",
  3047. "schema": {
  3048. "$ref": "#/definitions/app.Response"
  3049. }
  3050. }
  3051. }
  3052. }
  3053. },
  3054. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3055. "get": {
  3056. "security": [
  3057. {
  3058. "ApiKeyAuth": []
  3059. }
  3060. ],
  3061. "produces": [
  3062. "application/json"
  3063. ],
  3064. "tags": [
  3065. "企业风险管理v3(app)"
  3066. ],
  3067. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3068. "parameters": [
  3069. {
  3070. "type": "integer",
  3071. "description": "用户ID",
  3072. "name": "userid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "套保商品id",
  3079. "name": "middlegoodsid",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "integer",
  3085. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3086. "name": "cycletype",
  3087. "in": "query",
  3088. "required": true
  3089. },
  3090. {
  3091. "type": "string",
  3092. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3093. "name": "cycletime",
  3094. "in": "query",
  3095. "required": true
  3096. }
  3097. ],
  3098. "responses": {
  3099. "200": {
  3100. "description": "OK",
  3101. "schema": {
  3102. "type": "array",
  3103. "items": {
  3104. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3105. }
  3106. }
  3107. },
  3108. "500": {
  3109. "description": "Internal Server Error",
  3110. "schema": {
  3111. "$ref": "#/definitions/app.Response"
  3112. }
  3113. }
  3114. }
  3115. }
  3116. },
  3117. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3118. "get": {
  3119. "security": [
  3120. {
  3121. "ApiKeyAuth": []
  3122. }
  3123. ],
  3124. "produces": [
  3125. "application/json"
  3126. ],
  3127. "tags": [
  3128. "企业风险管理v3(app)"
  3129. ],
  3130. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3131. "parameters": [
  3132. {
  3133. "type": "integer",
  3134. "description": "用户ID",
  3135. "name": "userid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "套保商品id",
  3142. "name": "middlegoodsid",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "integer",
  3148. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3149. "name": "cycletype",
  3150. "in": "query",
  3151. "required": true
  3152. },
  3153. {
  3154. "type": "string",
  3155. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3156. "name": "cycletime",
  3157. "in": "query",
  3158. "required": true
  3159. }
  3160. ],
  3161. "responses": {
  3162. "200": {
  3163. "description": "OK",
  3164. "schema": {
  3165. "type": "array",
  3166. "items": {
  3167. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3168. }
  3169. }
  3170. },
  3171. "500": {
  3172. "description": "Internal Server Error",
  3173. "schema": {
  3174. "$ref": "#/definitions/app.Response"
  3175. }
  3176. }
  3177. }
  3178. }
  3179. },
  3180. "/Ermcp3/QryAreaExpourseReport": {
  3181. "get": {
  3182. "security": [
  3183. {
  3184. "ApiKeyAuth": []
  3185. }
  3186. ],
  3187. "produces": [
  3188. "application/json"
  3189. ],
  3190. "tags": [
  3191. "企业风险管理v3(app)"
  3192. ],
  3193. "summary": "查询敞口报表",
  3194. "parameters": [
  3195. {
  3196. "type": "integer",
  3197. "description": "用户ID",
  3198. "name": "userid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3205. "name": "querytype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3212. "name": "cycletype",
  3213. "in": "query",
  3214. "required": true
  3215. },
  3216. {
  3217. "type": "string",
  3218. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3219. "name": "cycletime",
  3220. "in": "query",
  3221. "required": true
  3222. }
  3223. ],
  3224. "responses": {
  3225. "200": {
  3226. "description": "OK",
  3227. "schema": {
  3228. "type": "array",
  3229. "items": {
  3230. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3231. }
  3232. }
  3233. },
  3234. "500": {
  3235. "description": "Internal Server Error",
  3236. "schema": {
  3237. "$ref": "#/definitions/app.Response"
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. "/Ermcp3/QryAreaSpotplReport": {
  3244. "get": {
  3245. "security": [
  3246. {
  3247. "ApiKeyAuth": []
  3248. }
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "企业风险管理v3(app)"
  3255. ],
  3256. "summary": "查询现货报表",
  3257. "parameters": [
  3258. {
  3259. "type": "integer",
  3260. "description": "用户ID",
  3261. "name": "userid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "查询类型 1-报表 2-报表明细",
  3268. "name": "querytype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "integer",
  3274. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3275. "name": "cycletype",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3282. "name": "cycletime",
  3283. "in": "query",
  3284. "required": true
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "现货品种id(明细必填)",
  3289. "name": "deliverygoodsid",
  3290. "in": "query"
  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.Ermcp3AreaSpotPLReport"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryAreaStockReport": {
  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": "string",
  3363. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3364. "name": "sumfields",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "品种ID",
  3370. "name": "deliverygoodsid",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品类ID",
  3376. "name": "wrstandardid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "品牌ID",
  3382. "name": "spotgoodsbrandid",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "仓库ID",
  3388. "name": "warehouseinfoid",
  3389. "in": "query"
  3390. }
  3391. ],
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "type": "array",
  3397. "items": {
  3398. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3399. }
  3400. }
  3401. },
  3402. "500": {
  3403. "description": "Internal Server Error",
  3404. "schema": {
  3405. "$ref": "#/definitions/app.Response"
  3406. }
  3407. }
  3408. }
  3409. }
  3410. },
  3411. "/Ermcp3/QryAreaSumPL": {
  3412. "get": {
  3413. "security": [
  3414. {
  3415. "ApiKeyAuth": []
  3416. }
  3417. ],
  3418. "produces": [
  3419. "application/json"
  3420. ],
  3421. "tags": [
  3422. "企业风险管理v3(app)"
  3423. ],
  3424. "summary": "查询汇总损益表",
  3425. "parameters": [
  3426. {
  3427. "type": "integer",
  3428. "description": "用户ID",
  3429. "name": "userid",
  3430. "in": "query",
  3431. "required": true
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "查询类型 1-报表 2-报表明细",
  3436. "name": "querytype",
  3437. "in": "query",
  3438. "required": true
  3439. },
  3440. {
  3441. "type": "integer",
  3442. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3443. "name": "cycletype",
  3444. "in": "query",
  3445. "required": true
  3446. },
  3447. {
  3448. "type": "string",
  3449. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3450. "name": "cycletime",
  3451. "in": "query",
  3452. "required": true
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "币种id(明细必填)",
  3457. "name": "currencyid",
  3458. "in": "query"
  3459. }
  3460. ],
  3461. "responses": {
  3462. "200": {
  3463. "description": "OK",
  3464. "schema": {
  3465. "type": "array",
  3466. "items": {
  3467. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3468. }
  3469. }
  3470. },
  3471. "500": {
  3472. "description": "Internal Server Error",
  3473. "schema": {
  3474. "$ref": "#/definitions/app.Response"
  3475. }
  3476. }
  3477. }
  3478. }
  3479. },
  3480. "/Ermcp3/QryFinanceReport": {
  3481. "get": {
  3482. "security": [
  3483. {
  3484. "ApiKeyAuth": []
  3485. }
  3486. ],
  3487. "produces": [
  3488. "application/json"
  3489. ],
  3490. "tags": [
  3491. "企业风险管理v3(app)"
  3492. ],
  3493. "summary": "查询财务报表",
  3494. "parameters": [
  3495. {
  3496. "type": "integer",
  3497. "description": "用户ID",
  3498. "name": "userid",
  3499. "in": "query",
  3500. "required": true
  3501. },
  3502. {
  3503. "type": "integer",
  3504. "description": "查询类型 1-报表 2-报表明细",
  3505. "name": "querytype",
  3506. "in": "query",
  3507. "required": true
  3508. },
  3509. {
  3510. "type": "integer",
  3511. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3512. "name": "cycletype",
  3513. "in": "query",
  3514. "required": true
  3515. },
  3516. {
  3517. "type": "string",
  3518. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3519. "name": "cycletime",
  3520. "in": "query",
  3521. "required": true
  3522. },
  3523. {
  3524. "type": "integer",
  3525. "description": "币种id(报表明细必填)",
  3526. "name": "currencyid",
  3527. "in": "query"
  3528. },
  3529. {
  3530. "type": "string",
  3531. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3532. "name": "sumfields",
  3533. "in": "query"
  3534. }
  3535. ],
  3536. "responses": {
  3537. "200": {
  3538. "description": "OK",
  3539. "schema": {
  3540. "type": "array",
  3541. "items": {
  3542. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3543. }
  3544. }
  3545. },
  3546. "500": {
  3547. "description": "Internal Server Error",
  3548. "schema": {
  3549. "$ref": "#/definitions/app.Response"
  3550. }
  3551. }
  3552. }
  3553. }
  3554. },
  3555. "/Ermcp3/QryTaFutureDataReport": {
  3556. "get": {
  3557. "security": [
  3558. {
  3559. "ApiKeyAuth": []
  3560. }
  3561. ],
  3562. "produces": [
  3563. "application/json"
  3564. ],
  3565. "tags": [
  3566. "企业风险管理v3(app)"
  3567. ],
  3568. "summary": "查询期货报表",
  3569. "parameters": [
  3570. {
  3571. "type": "integer",
  3572. "description": "用户ID",
  3573. "name": "userid",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "integer",
  3579. "description": "查询类型 1-报表 2-报表明细",
  3580. "name": "querytype",
  3581. "in": "query",
  3582. "required": true
  3583. },
  3584. {
  3585. "type": "integer",
  3586. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3587. "name": "cycletype",
  3588. "in": "query",
  3589. "required": true
  3590. },
  3591. {
  3592. "type": "string",
  3593. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3594. "name": "cycletime",
  3595. "in": "query",
  3596. "required": true
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "币种id(查明细必填)",
  3601. "name": "currencyid",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "品种id(查明细必填)",
  3607. "name": "goodsgroupid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "商品id(查明细必填)",
  3613. "name": "goodsid",
  3614. "in": "query"
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "买卖方向(查明细必填)",
  3619. "name": "buyorsell",
  3620. "in": "query"
  3621. }
  3622. ],
  3623. "responses": {
  3624. "200": {
  3625. "description": "OK",
  3626. "schema": {
  3627. "type": "array",
  3628. "items": {
  3629. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3630. }
  3631. }
  3632. },
  3633. "500": {
  3634. "description": "Internal Server Error",
  3635. "schema": {
  3636. "$ref": "#/definitions/app.Response"
  3637. }
  3638. }
  3639. }
  3640. }
  3641. },
  3642. "/Ermcp3/QueryAreaStock": {
  3643. "get": {
  3644. "security": [
  3645. {
  3646. "ApiKeyAuth": []
  3647. }
  3648. ],
  3649. "produces": [
  3650. "application/json"
  3651. ],
  3652. "tags": [
  3653. "企业风险管理v3(app)"
  3654. ],
  3655. "summary": "查询机构库存(库存管理/当前库存)",
  3656. "parameters": [
  3657. {
  3658. "type": "integer",
  3659. "description": "用户ID",
  3660. "name": "userid",
  3661. "in": "query",
  3662. "required": true
  3663. }
  3664. ],
  3665. "responses": {
  3666. "200": {
  3667. "description": "OK",
  3668. "schema": {
  3669. "type": "array",
  3670. "items": {
  3671. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3672. }
  3673. }
  3674. },
  3675. "500": {
  3676. "description": "Internal Server Error",
  3677. "schema": {
  3678. "$ref": "#/definitions/app.Response"
  3679. }
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/Ermcp3/QueryAreaStockApply": {
  3685. "get": {
  3686. "security": [
  3687. {
  3688. "ApiKeyAuth": []
  3689. }
  3690. ],
  3691. "produces": [
  3692. "application/json"
  3693. ],
  3694. "tags": [
  3695. "企业风险管理v3(app)"
  3696. ],
  3697. "summary": "查询库存申请(出入库记录|库存审核)",
  3698. "parameters": [
  3699. {
  3700. "type": "integer",
  3701. "description": "用户ID",
  3702. "name": "userid",
  3703. "in": "query",
  3704. "required": true
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "用户类型 2-机构 7-企业成员",
  3709. "name": "usertype",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "现货商品ID",
  3715. "name": "deliverygoodsid",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "string",
  3720. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3721. "name": "inouttype",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "integer",
  3726. "description": "合同ID",
  3727. "name": "spotcontractid",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "品类ID",
  3733. "name": "wrstandardid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "品牌ID",
  3739. "name": "spotgoodsbrandid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "仓库ID",
  3745. "name": "warehouseinfoid",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "string",
  3750. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3751. "name": "applystatus",
  3752. "in": "query"
  3753. }
  3754. ],
  3755. "responses": {
  3756. "200": {
  3757. "description": "OK",
  3758. "schema": {
  3759. "type": "array",
  3760. "items": {
  3761. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3762. }
  3763. }
  3764. },
  3765. "500": {
  3766. "description": "Internal Server Error",
  3767. "schema": {
  3768. "$ref": "#/definitions/app.Response"
  3769. }
  3770. }
  3771. }
  3772. }
  3773. },
  3774. "/Ermcp3/QueryAreaStockApplySum": {
  3775. "get": {
  3776. "security": [
  3777. {
  3778. "ApiKeyAuth": []
  3779. }
  3780. ],
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "企业风险管理v3(app)"
  3786. ],
  3787. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3788. "parameters": [
  3789. {
  3790. "type": "integer",
  3791. "description": "合同ID",
  3792. "name": "spotcontractid",
  3793. "in": "query"
  3794. }
  3795. ],
  3796. "responses": {
  3797. "200": {
  3798. "description": "OK",
  3799. "schema": {
  3800. "type": "array",
  3801. "items": {
  3802. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3803. }
  3804. }
  3805. },
  3806. "500": {
  3807. "description": "Internal Server Error",
  3808. "schema": {
  3809. "$ref": "#/definitions/app.Response"
  3810. }
  3811. }
  3812. }
  3813. }
  3814. },
  3815. "/Ermcp3/QueryDGFactoryItem": {
  3816. "get": {
  3817. "security": [
  3818. {
  3819. "ApiKeyAuth": []
  3820. }
  3821. ],
  3822. "produces": [
  3823. "application/json"
  3824. ],
  3825. "tags": [
  3826. "企业风险管理v3(app)"
  3827. ],
  3828. "summary": "查询品种要素定义项",
  3829. "parameters": [
  3830. {
  3831. "type": "integer",
  3832. "description": "用户id",
  3833. "name": "userid",
  3834. "in": "query"
  3835. },
  3836. {
  3837. "type": "integer",
  3838. "description": "用户类型 2-机构 7-企业成员",
  3839. "name": "usertype",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3845. "name": "dgfactoryitemid",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "现货品种ID",
  3851. "name": "deliverygoodsid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "要素项类型",
  3857. "name": "dgfactoryitemtypeid",
  3858. "in": "query"
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "顺序",
  3863. "name": "orderindex",
  3864. "in": "query"
  3865. }
  3866. ],
  3867. "responses": {
  3868. "200": {
  3869. "description": "OK",
  3870. "schema": {
  3871. "type": "array",
  3872. "items": {
  3873. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3874. }
  3875. }
  3876. },
  3877. "500": {
  3878. "description": "Internal Server Error",
  3879. "schema": {
  3880. "$ref": "#/definitions/app.Response"
  3881. }
  3882. }
  3883. }
  3884. }
  3885. },
  3886. "/Ermcp3/QueryDeliveryGoods": {
  3887. "get": {
  3888. "security": [
  3889. {
  3890. "ApiKeyAuth": []
  3891. }
  3892. ],
  3893. "produces": [
  3894. "application/json"
  3895. ],
  3896. "tags": [
  3897. "企业风险管理v3(app)"
  3898. ],
  3899. "summary": "查询现货商品",
  3900. "parameters": [
  3901. {
  3902. "type": "integer",
  3903. "description": "用户id",
  3904. "name": "userid",
  3905. "in": "query",
  3906. "required": true
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "用户类型 2-机构 7-企业成员",
  3911. "name": "usertype",
  3912. "in": "query"
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3917. "name": "excludecfg",
  3918. "in": "query"
  3919. }
  3920. ],
  3921. "responses": {
  3922. "200": {
  3923. "description": "OK",
  3924. "schema": {
  3925. "type": "array",
  3926. "items": {
  3927. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3928. }
  3929. }
  3930. },
  3931. "500": {
  3932. "description": "Internal Server Error",
  3933. "schema": {
  3934. "$ref": "#/definitions/app.Response"
  3935. }
  3936. }
  3937. }
  3938. }
  3939. },
  3940. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3941. "get": {
  3942. "security": [
  3943. {
  3944. "ApiKeyAuth": []
  3945. }
  3946. ],
  3947. "produces": [
  3948. "application/json"
  3949. ],
  3950. "tags": [
  3951. "企业风险管理v3(app)"
  3952. ],
  3953. "summary": "查询现货商品详情",
  3954. "parameters": [
  3955. {
  3956. "type": "integer",
  3957. "description": "用户id",
  3958. "name": "userid",
  3959. "in": "query",
  3960. "required": true
  3961. },
  3962. {
  3963. "type": "integer",
  3964. "description": "用户类型 2-机构 7-企业成员",
  3965. "name": "usertype",
  3966. "in": "query"
  3967. },
  3968. {
  3969. "type": "integer",
  3970. "description": "现货商品id",
  3971. "name": "deliverygoodsid",
  3972. "in": "query"
  3973. }
  3974. ],
  3975. "responses": {
  3976. "200": {
  3977. "description": "OK",
  3978. "schema": {
  3979. "type": "array",
  3980. "items": {
  3981. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3982. }
  3983. }
  3984. },
  3985. "500": {
  3986. "description": "Internal Server Error",
  3987. "schema": {
  3988. "$ref": "#/definitions/app.Response"
  3989. }
  3990. }
  3991. }
  3992. }
  3993. },
  3994. "/Ermcp3/QueryExposureDetail": {
  3995. "get": {
  3996. "security": [
  3997. {
  3998. "ApiKeyAuth": []
  3999. }
  4000. ],
  4001. "produces": [
  4002. "application/json"
  4003. ],
  4004. "tags": [
  4005. "企业风险管理v3(app)"
  4006. ],
  4007. "summary": "查询敞口现货明细",
  4008. "parameters": [
  4009. {
  4010. "type": "integer",
  4011. "description": "用户id",
  4012. "name": "userid",
  4013. "in": "query",
  4014. "required": true
  4015. },
  4016. {
  4017. "type": "integer",
  4018. "description": "用户类型 2-机构 7-企业成员",
  4019. "name": "usertype",
  4020. "in": "query"
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "套保商品",
  4025. "name": "middlegoodsid",
  4026. "in": "query",
  4027. "required": true
  4028. }
  4029. ],
  4030. "responses": {
  4031. "200": {
  4032. "description": "OK",
  4033. "schema": {
  4034. "type": "array",
  4035. "items": {
  4036. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4037. }
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/Ermcp3/QueryExposureSpot": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "produces": [
  4057. "application/json"
  4058. ],
  4059. "tags": [
  4060. "企业风险管理v3(app)"
  4061. ],
  4062. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4063. "parameters": [
  4064. {
  4065. "type": "integer",
  4066. "description": "用户id",
  4067. "name": "userid",
  4068. "in": "query",
  4069. "required": true
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "用户类型 2-机构 7-企业成员",
  4074. "name": "usertype",
  4075. "in": "query"
  4076. }
  4077. ],
  4078. "responses": {
  4079. "200": {
  4080. "description": "OK",
  4081. "schema": {
  4082. "type": "array",
  4083. "items": {
  4084. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4085. }
  4086. }
  4087. },
  4088. "500": {
  4089. "description": "Internal Server Error",
  4090. "schema": {
  4091. "$ref": "#/definitions/app.Response"
  4092. }
  4093. }
  4094. }
  4095. }
  4096. },
  4097. "/Ermcp3/QueryExposureSpotDetail": {
  4098. "get": {
  4099. "security": [
  4100. {
  4101. "ApiKeyAuth": []
  4102. }
  4103. ],
  4104. "produces": [
  4105. "application/json"
  4106. ],
  4107. "tags": [
  4108. "企业风险管理v3(app)"
  4109. ],
  4110. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4111. "parameters": [
  4112. {
  4113. "type": "integer",
  4114. "description": "用户id",
  4115. "name": "userid",
  4116. "in": "query",
  4117. "required": true
  4118. },
  4119. {
  4120. "type": "integer",
  4121. "description": "用户类型 2-机构 7-企业成员",
  4122. "name": "usertype",
  4123. "in": "query"
  4124. },
  4125. {
  4126. "type": "integer",
  4127. "description": "现货品种ID",
  4128. "name": "deliverygoodsid",
  4129. "in": "query",
  4130. "required": true
  4131. }
  4132. ],
  4133. "responses": {
  4134. "200": {
  4135. "description": "OK",
  4136. "schema": {
  4137. "type": "array",
  4138. "items": {
  4139. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4140. }
  4141. }
  4142. },
  4143. "500": {
  4144. "description": "Internal Server Error",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "/Ermcp3/QueryGoodsGroup": {
  4153. "get": {
  4154. "security": [
  4155. {
  4156. "ApiKeyAuth": []
  4157. }
  4158. ],
  4159. "produces": [
  4160. "application/json"
  4161. ],
  4162. "tags": [
  4163. "企业风险管理v3(app)"
  4164. ],
  4165. "summary": "查询期货商品组",
  4166. "parameters": [
  4167. {
  4168. "type": "integer",
  4169. "description": "用户id",
  4170. "name": "userid",
  4171. "in": "query",
  4172. "required": true
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "用户类型 2-机构 7-企业成员",
  4177. "name": "usertype",
  4178. "in": "query"
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "排除套保品中已关联的商品组 1-排除",
  4183. "name": "excludecfg",
  4184. "in": "query"
  4185. }
  4186. ],
  4187. "responses": {
  4188. "200": {
  4189. "description": "OK",
  4190. "schema": {
  4191. "type": "array",
  4192. "items": {
  4193. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4194. }
  4195. }
  4196. },
  4197. "500": {
  4198. "description": "Internal Server Error",
  4199. "schema": {
  4200. "$ref": "#/definitions/app.Response"
  4201. }
  4202. }
  4203. }
  4204. }
  4205. },
  4206. "/Ermcp3/QueryGoodsWrstandard": {
  4207. "get": {
  4208. "security": [
  4209. {
  4210. "ApiKeyAuth": []
  4211. }
  4212. ],
  4213. "produces": [
  4214. "application/json"
  4215. ],
  4216. "tags": [
  4217. "企业风险管理v3(app)"
  4218. ],
  4219. "summary": "查询商品品类",
  4220. "parameters": [
  4221. {
  4222. "type": "integer",
  4223. "description": "用户id",
  4224. "name": "userid",
  4225. "in": "query",
  4226. "required": true
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "用户类型 2-机构 7-企业成员",
  4231. "name": "usertype",
  4232. "in": "query"
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "现货商品id",
  4237. "name": "deliverygoodsid",
  4238. "in": "query"
  4239. }
  4240. ],
  4241. "responses": {
  4242. "200": {
  4243. "description": "OK",
  4244. "schema": {
  4245. "type": "array",
  4246. "items": {
  4247. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4248. }
  4249. }
  4250. },
  4251. "500": {
  4252. "description": "Internal Server Error",
  4253. "schema": {
  4254. "$ref": "#/definitions/app.Response"
  4255. }
  4256. }
  4257. }
  4258. }
  4259. },
  4260. "/Ermcp3/QueryGoodsbrand": {
  4261. "get": {
  4262. "security": [
  4263. {
  4264. "ApiKeyAuth": []
  4265. }
  4266. ],
  4267. "produces": [
  4268. "application/json"
  4269. ],
  4270. "tags": [
  4271. "企业风险管理v3(app)"
  4272. ],
  4273. "summary": "查询商品品牌",
  4274. "parameters": [
  4275. {
  4276. "type": "integer",
  4277. "description": "用户id",
  4278. "name": "userid",
  4279. "in": "query",
  4280. "required": true
  4281. },
  4282. {
  4283. "type": "integer",
  4284. "description": "用户类型 2-机构 7-企业成员",
  4285. "name": "usertype",
  4286. "in": "query"
  4287. }
  4288. ],
  4289. "responses": {
  4290. "200": {
  4291. "description": "OK",
  4292. "schema": {
  4293. "type": "array",
  4294. "items": {
  4295. "$ref": "#/definitions/models.Ermcp3Brand"
  4296. }
  4297. }
  4298. },
  4299. "500": {
  4300. "description": "Internal Server Error",
  4301. "schema": {
  4302. "$ref": "#/definitions/app.Response"
  4303. }
  4304. }
  4305. }
  4306. }
  4307. },
  4308. "/Ermcp3/QueryHedgePlan": {
  4309. "get": {
  4310. "security": [
  4311. {
  4312. "ApiKeyAuth": []
  4313. }
  4314. ],
  4315. "produces": [
  4316. "application/json"
  4317. ],
  4318. "tags": [
  4319. "企业风险管理v3(app)"
  4320. ],
  4321. "summary": "查询套保计划",
  4322. "parameters": [
  4323. {
  4324. "type": "integer",
  4325. "description": "用户ID",
  4326. "name": "userid",
  4327. "in": "query",
  4328. "required": true
  4329. },
  4330. {
  4331. "type": "integer",
  4332. "description": "用户类型 2-机构 7-企业成员",
  4333. "name": "usertype",
  4334. "in": "query"
  4335. },
  4336. {
  4337. "type": "string",
  4338. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4339. "name": "hedgeplanstatus",
  4340. "in": "query",
  4341. "required": true
  4342. }
  4343. ],
  4344. "responses": {
  4345. "200": {
  4346. "description": "OK",
  4347. "schema": {
  4348. "type": "array",
  4349. "items": {
  4350. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4351. }
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/Ermcp3/QueryMiddleGoodsDetail": {
  4364. "get": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "produces": [
  4371. "application/json"
  4372. ],
  4373. "tags": [
  4374. "企业风险管理v3(app)"
  4375. ],
  4376. "summary": "查询套保品种详情(套保品种/商品详情)",
  4377. "parameters": [
  4378. {
  4379. "type": "integer",
  4380. "description": "用户id",
  4381. "name": "userid",
  4382. "in": "query",
  4383. "required": true
  4384. },
  4385. {
  4386. "type": "integer",
  4387. "description": "用户类型 2-机构 7-企业成员",
  4388. "name": "usertype",
  4389. "in": "query"
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "套保品种id",
  4394. "name": "middlegoodsid",
  4395. "in": "query"
  4396. }
  4397. ],
  4398. "responses": {
  4399. "200": {
  4400. "description": "OK",
  4401. "schema": {
  4402. "type": "array",
  4403. "items": {
  4404. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4405. }
  4406. }
  4407. },
  4408. "500": {
  4409. "description": "Internal Server Error",
  4410. "schema": {
  4411. "$ref": "#/definitions/app.Response"
  4412. }
  4413. }
  4414. }
  4415. }
  4416. },
  4417. "/Ermcp3/QuerySpotContract": {
  4418. "get": {
  4419. "security": [
  4420. {
  4421. "ApiKeyAuth": []
  4422. }
  4423. ],
  4424. "produces": [
  4425. "application/json"
  4426. ],
  4427. "tags": [
  4428. "企业风险管理v3(app)"
  4429. ],
  4430. "summary": "查询现货合同",
  4431. "parameters": [
  4432. {
  4433. "type": "integer",
  4434. "description": "用户id",
  4435. "name": "userid",
  4436. "in": "query",
  4437. "required": true
  4438. },
  4439. {
  4440. "type": "integer",
  4441. "description": "用户类型 2-机构 7-企业成员",
  4442. "name": "usertype",
  4443. "in": "query"
  4444. },
  4445. {
  4446. "type": "integer",
  4447. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4448. "name": "querytype",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "string",
  4454. "description": "合同ID(SpotContractId)",
  4455. "name": "contractid",
  4456. "in": "query"
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3Contract"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QuerySpotContractBS": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询合同(采购/销售)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户id",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "用户类型 2-机构 7-企业成员",
  4503. "name": "usertype",
  4504. "in": "query"
  4505. },
  4506. {
  4507. "type": "integer",
  4508. "description": "合同类型 1-采购, -1-销售",
  4509. "name": "contracttype",
  4510. "in": "query",
  4511. "required": true
  4512. },
  4513. {
  4514. "type": "integer",
  4515. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4516. "name": "querytype",
  4517. "in": "query",
  4518. "required": true
  4519. },
  4520. {
  4521. "type": "string",
  4522. "description": "合同ID(SpotContractId)",
  4523. "name": "contractid",
  4524. "in": "query"
  4525. }
  4526. ],
  4527. "responses": {
  4528. "200": {
  4529. "description": "OK",
  4530. "schema": {
  4531. "type": "array",
  4532. "items": {
  4533. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4534. }
  4535. }
  4536. },
  4537. "500": {
  4538. "description": "Internal Server Error",
  4539. "schema": {
  4540. "$ref": "#/definitions/app.Response"
  4541. }
  4542. }
  4543. }
  4544. }
  4545. },
  4546. "/Ermcp3/QuerySpotGoodsPrice": {
  4547. "get": {
  4548. "security": [
  4549. {
  4550. "ApiKeyAuth": []
  4551. }
  4552. ],
  4553. "produces": [
  4554. "application/json"
  4555. ],
  4556. "tags": [
  4557. "企业风险管理v3(app)"
  4558. ],
  4559. "summary": "查询现货市价(现货市价)",
  4560. "parameters": [
  4561. {
  4562. "type": "integer",
  4563. "description": "用户ID",
  4564. "name": "userid",
  4565. "in": "query",
  4566. "required": true
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "type": "array",
  4574. "items": {
  4575. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4576. }
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4589. "get": {
  4590. "security": [
  4591. {
  4592. "ApiKeyAuth": []
  4593. }
  4594. ],
  4595. "produces": [
  4596. "application/json"
  4597. ],
  4598. "tags": [
  4599. "企业风险管理v3(app)"
  4600. ],
  4601. "summary": "查询现货市价详情(现货市价/详情)",
  4602. "parameters": [
  4603. {
  4604. "type": "integer",
  4605. "description": "用户ID",
  4606. "name": "userid",
  4607. "in": "query",
  4608. "required": true
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "现货商品ID",
  4613. "name": "deliverygoodsid",
  4614. "in": "query",
  4615. "required": true
  4616. },
  4617. {
  4618. "type": "integer",
  4619. "description": "品牌ID",
  4620. "name": "brandid",
  4621. "in": "query"
  4622. },
  4623. {
  4624. "type": "integer",
  4625. "description": "品类ID",
  4626. "name": "wrstandardid",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "type": "array",
  4635. "items": {
  4636. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4637. }
  4638. }
  4639. },
  4640. "500": {
  4641. "description": "Internal Server Error",
  4642. "schema": {
  4643. "$ref": "#/definitions/app.Response"
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "/Erms2/QueryArbitrageStrategy": {
  4650. "get": {
  4651. "security": [
  4652. {
  4653. "ApiKeyAuth": []
  4654. }
  4655. ],
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "风险管理"
  4661. ],
  4662. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "账户ID",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. },
  4671. {
  4672. "type": "string",
  4673. "description": "商品组ID(品种ID)",
  4674. "name": "goodsgroupid",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4683. }
  4684. },
  4685. "500": {
  4686. "description": "Internal Server Error",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "/Erms2/QueryInnerTradeDetail": {
  4695. "get": {
  4696. "security": [
  4697. {
  4698. "ApiKeyAuth": []
  4699. }
  4700. ],
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "风险管理"
  4706. ],
  4707. "summary": "查询内部成交单信息",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "资金账户",
  4712. "name": "accountid",
  4713. "in": "query",
  4714. "required": true
  4715. }
  4716. ],
  4717. "responses": {
  4718. "200": {
  4719. "description": "OK",
  4720. "schema": {
  4721. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4722. }
  4723. },
  4724. "500": {
  4725. "description": "Internal Server Error",
  4726. "schema": {
  4727. "$ref": "#/definitions/app.Response"
  4728. }
  4729. }
  4730. }
  4731. }
  4732. },
  4733. "/Erms2/QuerySpotContract": {
  4734. "get": {
  4735. "security": [
  4736. {
  4737. "ApiKeyAuth": []
  4738. }
  4739. ],
  4740. "produces": [
  4741. "application/json"
  4742. ],
  4743. "tags": [
  4744. "风险管理"
  4745. ],
  4746. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4747. "parameters": [
  4748. {
  4749. "type": "integer",
  4750. "description": "策略申请ID",
  4751. "name": "asapplyid",
  4752. "in": "query",
  4753. "required": true
  4754. },
  4755. {
  4756. "type": "integer",
  4757. "description": "现货合同ID",
  4758. "name": "spotcontractid",
  4759. "in": "query"
  4760. }
  4761. ],
  4762. "responses": {
  4763. "200": {
  4764. "description": "OK",
  4765. "schema": {
  4766. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4767. }
  4768. },
  4769. "500": {
  4770. "description": "Internal Server Error",
  4771. "schema": {
  4772. "$ref": "#/definitions/app.Response"
  4773. }
  4774. }
  4775. }
  4776. }
  4777. },
  4778. "/Erms3/AddErms2ASApply": {
  4779. "post": {
  4780. "security": [
  4781. {
  4782. "ApiKeyAuth": []
  4783. }
  4784. ],
  4785. "produces": [
  4786. "application/json"
  4787. ],
  4788. "tags": [
  4789. "风险管理v3"
  4790. ],
  4791. "summary": "新增期现套利业务申请",
  4792. "parameters": [
  4793. {
  4794. "description": "申请参数",
  4795. "name": "jsonBody",
  4796. "in": "body",
  4797. "required": true,
  4798. "schema": {
  4799. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4800. }
  4801. }
  4802. ],
  4803. "responses": {
  4804. "200": {
  4805. "description": "OK",
  4806. "schema": {
  4807. "$ref": "#/definitions/app.Response"
  4808. }
  4809. },
  4810. "500": {
  4811. "description": "Internal Server Error",
  4812. "schema": {
  4813. "$ref": "#/definitions/app.Response"
  4814. }
  4815. }
  4816. }
  4817. }
  4818. },
  4819. "/Erms3/AddErms2SpotTradeApply": {
  4820. "post": {
  4821. "security": [
  4822. {
  4823. "ApiKeyAuth": []
  4824. }
  4825. ],
  4826. "produces": [
  4827. "application/json"
  4828. ],
  4829. "tags": [
  4830. "风险管理v3"
  4831. ],
  4832. "summary": "新增现货贸易业务申请",
  4833. "parameters": [
  4834. {
  4835. "description": "申请参数",
  4836. "name": "jsonBody",
  4837. "in": "body",
  4838. "required": true,
  4839. "schema": {
  4840. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4841. }
  4842. }
  4843. ],
  4844. "responses": {
  4845. "200": {
  4846. "description": "OK",
  4847. "schema": {
  4848. "$ref": "#/definitions/app.Response"
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/Erms3/AddSpotContractApply": {
  4861. "post": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "produces": [
  4868. "application/json"
  4869. ],
  4870. "tags": [
  4871. "风险管理v3"
  4872. ],
  4873. "summary": "新增现货合同申请",
  4874. "parameters": [
  4875. {
  4876. "description": "申请参数",
  4877. "name": "jsonBody",
  4878. "in": "body",
  4879. "required": true,
  4880. "schema": {
  4881. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4882. }
  4883. }
  4884. ],
  4885. "responses": {
  4886. "200": {
  4887. "description": "OK",
  4888. "schema": {
  4889. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4890. }
  4891. },
  4892. "500": {
  4893. "description": "Internal Server Error",
  4894. "schema": {
  4895. "$ref": "#/definitions/app.Response"
  4896. }
  4897. }
  4898. }
  4899. }
  4900. },
  4901. "/Erms3/AddUserInfoApply": {
  4902. "post": {
  4903. "security": [
  4904. {
  4905. "ApiKeyAuth": []
  4906. }
  4907. ],
  4908. "produces": [
  4909. "application/json"
  4910. ],
  4911. "tags": [
  4912. "风险管理v3"
  4913. ],
  4914. "summary": "新增客户申请",
  4915. "parameters": [
  4916. {
  4917. "description": "用户信息",
  4918. "name": "jsonBody",
  4919. "in": "body",
  4920. "required": true,
  4921. "schema": {
  4922. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4923. }
  4924. }
  4925. ],
  4926. "responses": {
  4927. "200": {
  4928. "description": "OK",
  4929. "schema": {
  4930. "$ref": "#/definitions/app.Response"
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Erms3/DeleteUserInfoApply": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "风险管理v3"
  4955. ],
  4956. "summary": "删除客户申请",
  4957. "parameters": [
  4958. {
  4959. "type": "integer",
  4960. "description": "用户ID",
  4961. "name": "userID",
  4962. "in": "query",
  4963. "required": true
  4964. }
  4965. ],
  4966. "responses": {
  4967. "200": {
  4968. "description": "OK",
  4969. "schema": {
  4970. "$ref": "#/definitions/app.Response"
  4971. }
  4972. },
  4973. "500": {
  4974. "description": "Internal Server Error",
  4975. "schema": {
  4976. "$ref": "#/definitions/app.Response"
  4977. }
  4978. }
  4979. }
  4980. }
  4981. },
  4982. "/Erms3/ModifyUserInfoApply": {
  4983. "post": {
  4984. "security": [
  4985. {
  4986. "ApiKeyAuth": []
  4987. }
  4988. ],
  4989. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4990. "produces": [
  4991. "application/json"
  4992. ],
  4993. "tags": [
  4994. "风险管理v3"
  4995. ],
  4996. "summary": "修改客户申请",
  4997. "parameters": [
  4998. {
  4999. "description": "用户信息",
  5000. "name": "jsonBody",
  5001. "in": "body",
  5002. "required": true,
  5003. "schema": {
  5004. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5005. }
  5006. }
  5007. ],
  5008. "responses": {
  5009. "200": {
  5010. "description": "OK",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Erms3/QueryBusinessInfo": {
  5025. "get": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "风险管理v3"
  5036. ],
  5037. "summary": "查询业务表单数据",
  5038. "parameters": [
  5039. {
  5040. "type": "string",
  5041. "description": "资金账号ID列表,用逗号分隔",
  5042. "name": "accountids",
  5043. "in": "query",
  5044. "required": true
  5045. },
  5046. {
  5047. "type": "integer",
  5048. "description": "状态,0为未结束 1为已结束",
  5049. "name": "status",
  5050. "in": "query",
  5051. "required": true
  5052. }
  5053. ],
  5054. "responses": {
  5055. "200": {
  5056. "description": "OK",
  5057. "schema": {
  5058. "type": "array",
  5059. "items": {
  5060. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5061. }
  5062. }
  5063. },
  5064. "500": {
  5065. "description": "Internal Server Error",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. }
  5070. }
  5071. }
  5072. },
  5073. "/Erms3/QueryPendingAuditContract": {
  5074. "get": {
  5075. "security": [
  5076. {
  5077. "ApiKeyAuth": []
  5078. }
  5079. ],
  5080. "produces": [
  5081. "application/json"
  5082. ],
  5083. "tags": [
  5084. "风险管理v3"
  5085. ],
  5086. "summary": "查询待审核合同",
  5087. "parameters": [
  5088. {
  5089. "type": "string",
  5090. "description": "资金账号ID列表,逗号隔开",
  5091. "name": "accountids",
  5092. "in": "query",
  5093. "required": true
  5094. },
  5095. {
  5096. "type": "integer",
  5097. "description": "合同类型 1-采购 -1-销售",
  5098. "name": "contracttype",
  5099. "in": "query",
  5100. "required": true
  5101. },
  5102. {
  5103. "type": "integer",
  5104. "description": "合同模式 1-普通 2-回购",
  5105. "name": "contractmode",
  5106. "in": "query",
  5107. "required": true
  5108. }
  5109. ],
  5110. "responses": {
  5111. "200": {
  5112. "description": "OK",
  5113. "schema": {
  5114. "type": "array",
  5115. "items": {
  5116. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5117. }
  5118. }
  5119. },
  5120. "500": {
  5121. "description": "Internal Server Error",
  5122. "schema": {
  5123. "$ref": "#/definitions/app.Response"
  5124. }
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "/Erms3/QueryPendingBusiness": {
  5130. "get": {
  5131. "security": [
  5132. {
  5133. "ApiKeyAuth": []
  5134. }
  5135. ],
  5136. "produces": [
  5137. "application/json"
  5138. ],
  5139. "tags": [
  5140. "风险管理v3"
  5141. ],
  5142. "summary": "查询待审核基差贸易业务",
  5143. "parameters": [
  5144. {
  5145. "type": "string",
  5146. "description": "资金账号ID列表,逗号隔开",
  5147. "name": "accountids",
  5148. "in": "query",
  5149. "required": true
  5150. }
  5151. ],
  5152. "responses": {
  5153. "200": {
  5154. "description": "OK",
  5155. "schema": {
  5156. "type": "array",
  5157. "items": {
  5158. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5159. }
  5160. }
  5161. },
  5162. "500": {
  5163. "description": "Internal Server Error",
  5164. "schema": {
  5165. "$ref": "#/definitions/app.Response"
  5166. }
  5167. }
  5168. }
  5169. }
  5170. },
  5171. "/Erms3/QuerySpotContractAppleForm": {
  5172. "get": {
  5173. "security": [
  5174. {
  5175. "ApiKeyAuth": []
  5176. }
  5177. ],
  5178. "produces": [
  5179. "application/json"
  5180. ],
  5181. "tags": [
  5182. "风险管理v3"
  5183. ],
  5184. "summary": "查询合同申请表单数据",
  5185. "parameters": [
  5186. {
  5187. "type": "integer",
  5188. "description": "登录账号",
  5189. "name": "loginID",
  5190. "in": "query",
  5191. "required": true
  5192. }
  5193. ],
  5194. "responses": {
  5195. "200": {
  5196. "description": "OK",
  5197. "schema": {
  5198. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5199. }
  5200. },
  5201. "500": {
  5202. "description": "Internal Server Error",
  5203. "schema": {
  5204. "$ref": "#/definitions/app.Response"
  5205. }
  5206. }
  5207. }
  5208. }
  5209. },
  5210. "/Erms3/QuerySpotContractDetail": {
  5211. "get": {
  5212. "security": [
  5213. {
  5214. "ApiKeyAuth": []
  5215. }
  5216. ],
  5217. "produces": [
  5218. "application/json"
  5219. ],
  5220. "tags": [
  5221. "风险管理v3"
  5222. ],
  5223. "summary": "查询合同详细信息",
  5224. "parameters": [
  5225. {
  5226. "type": "string",
  5227. "description": "资金账号ID列表,用逗号分隔",
  5228. "name": "accountids",
  5229. "in": "query",
  5230. "required": true
  5231. },
  5232. {
  5233. "type": "integer",
  5234. "description": "合同类型,1为采购合同 -1为销售合同",
  5235. "name": "contracttype",
  5236. "in": "query",
  5237. "required": true
  5238. },
  5239. {
  5240. "type": "integer",
  5241. "description": "合同模式,1为普通合同 2为回购销售合同",
  5242. "name": "contractmode",
  5243. "in": "query",
  5244. "required": true
  5245. },
  5246. {
  5247. "type": "integer",
  5248. "description": "状态,0为履约中 1为已完成",
  5249. "name": "status",
  5250. "in": "query",
  5251. "required": true
  5252. }
  5253. ],
  5254. "responses": {
  5255. "200": {
  5256. "description": "OK",
  5257. "schema": {
  5258. "type": "array",
  5259. "items": {
  5260. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5261. }
  5262. }
  5263. },
  5264. "500": {
  5265. "description": "Internal Server Error",
  5266. "schema": {
  5267. "$ref": "#/definitions/app.Response"
  5268. }
  5269. }
  5270. }
  5271. }
  5272. },
  5273. "/Erms3/QueryUserInfoApplies": {
  5274. "get": {
  5275. "security": [
  5276. {
  5277. "ApiKeyAuth": []
  5278. }
  5279. ],
  5280. "produces": [
  5281. "application/json"
  5282. ],
  5283. "tags": [
  5284. "风险管理v3"
  5285. ],
  5286. "summary": "客户申请信息查询",
  5287. "parameters": [
  5288. {
  5289. "type": "integer",
  5290. "description": "页码",
  5291. "name": "page",
  5292. "in": "query"
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "每页条数",
  5297. "name": "pagesize",
  5298. "in": "query"
  5299. },
  5300. {
  5301. "type": "string",
  5302. "description": "客户名称,支持模糊查询",
  5303. "name": "userName",
  5304. "in": "query"
  5305. }
  5306. ],
  5307. "responses": {
  5308. "200": {
  5309. "description": "OK",
  5310. "schema": {
  5311. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Erms3/QueryUserInfos": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "风险管理v3"
  5335. ],
  5336. "summary": "客户信息查询",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "页码",
  5341. "name": "page",
  5342. "in": "query"
  5343. },
  5344. {
  5345. "type": "integer",
  5346. "description": "每页条数",
  5347. "name": "pagesize",
  5348. "in": "query"
  5349. },
  5350. {
  5351. "type": "string",
  5352. "description": "客户名称,支持模糊查询",
  5353. "name": "userName",
  5354. "in": "query"
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5362. }
  5363. },
  5364. "500": {
  5365. "description": "Internal Server Error",
  5366. "schema": {
  5367. "$ref": "#/definitions/app.Response"
  5368. }
  5369. }
  5370. }
  5371. }
  5372. },
  5373. "/HSBY/GetHsbyMyCount": {
  5374. "get": {
  5375. "security": [
  5376. {
  5377. "ApiKeyAuth": []
  5378. }
  5379. ],
  5380. "description": "说明: 不包括已完成的数量。",
  5381. "produces": [
  5382. "application/json"
  5383. ],
  5384. "tags": [
  5385. "定制【海商报业】"
  5386. ],
  5387. "summary": "获取我的订单与包裹数量",
  5388. "parameters": [
  5389. {
  5390. "type": "string",
  5391. "description": "资金账户列表,格式:1,2,3",
  5392. "name": "accountIDs",
  5393. "in": "query",
  5394. "required": true
  5395. }
  5396. ],
  5397. "responses": {
  5398. "200": {
  5399. "description": "OK",
  5400. "schema": {
  5401. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5402. }
  5403. },
  5404. "500": {
  5405. "description": "Internal Server Error",
  5406. "schema": {
  5407. "$ref": "#/definitions/app.Response"
  5408. }
  5409. }
  5410. }
  5411. }
  5412. },
  5413. "/HSBY/QueryClientFixedADConfigs": {
  5414. "get": {
  5415. "security": [
  5416. {
  5417. "ApiKeyAuth": []
  5418. }
  5419. ],
  5420. "produces": [
  5421. "application/json"
  5422. ],
  5423. "tags": [
  5424. "定制【海商报业】"
  5425. ],
  5426. "summary": "获取终端固定广告配置",
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "$ref": "#/definitions/models.Clientfixedadconfig"
  5432. }
  5433. },
  5434. "500": {
  5435. "description": "Internal Server Error",
  5436. "schema": {
  5437. "$ref": "#/definitions/app.Response"
  5438. }
  5439. }
  5440. }
  5441. }
  5442. },
  5443. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5444. "get": {
  5445. "security": [
  5446. {
  5447. "ApiKeyAuth": []
  5448. }
  5449. ],
  5450. "produces": [
  5451. "application/json"
  5452. ],
  5453. "tags": [
  5454. "定制【海商报业】"
  5455. ],
  5456. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5457. "parameters": [
  5458. {
  5459. "type": "integer",
  5460. "description": "页码",
  5461. "name": "page",
  5462. "in": "query"
  5463. },
  5464. {
  5465. "type": "integer",
  5466. "description": "每页条数",
  5467. "name": "pagesize",
  5468. "in": "query"
  5469. },
  5470. {
  5471. "type": "string",
  5472. "description": "资金账户列表,格式:1,2,3",
  5473. "name": "accountIDs",
  5474. "in": "query",
  5475. "required": true
  5476. }
  5477. ],
  5478. "responses": {
  5479. "200": {
  5480. "description": "OK",
  5481. "schema": {
  5482. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5483. }
  5484. },
  5485. "500": {
  5486. "description": "Internal Server Error",
  5487. "schema": {
  5488. "$ref": "#/definitions/app.Response"
  5489. }
  5490. }
  5491. }
  5492. }
  5493. },
  5494. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5495. "get": {
  5496. "security": [
  5497. {
  5498. "ApiKeyAuth": []
  5499. }
  5500. ],
  5501. "description": "说明:查询结果已按委托价格和委托时间排序",
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "定制【海商报业】"
  5507. ],
  5508. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5509. "parameters": [
  5510. {
  5511. "type": "integer",
  5512. "description": "商品ID",
  5513. "name": "goodsID",
  5514. "in": "query",
  5515. "required": true
  5516. },
  5517. {
  5518. "type": "string",
  5519. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5520. "name": "accountIDs",
  5521. "in": "query"
  5522. },
  5523. {
  5524. "type": "integer",
  5525. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5526. "name": "buyOrSell",
  5527. "in": "query"
  5528. },
  5529. {
  5530. "type": "number",
  5531. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5532. "name": "price",
  5533. "in": "query"
  5534. },
  5535. {
  5536. "type": "integer",
  5537. "description": "档位,不传则默认为3档",
  5538. "name": "speed",
  5539. "in": "query"
  5540. }
  5541. ],
  5542. "responses": {
  5543. "200": {
  5544. "description": "OK",
  5545. "schema": {
  5546. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5547. }
  5548. },
  5549. "500": {
  5550. "description": "Internal Server Error",
  5551. "schema": {
  5552. "$ref": "#/definitions/app.Response"
  5553. }
  5554. }
  5555. }
  5556. }
  5557. },
  5558. "/HSBY/QueryHsbyListingGoodsDetail": {
  5559. "get": {
  5560. "security": [
  5561. {
  5562. "ApiKeyAuth": []
  5563. }
  5564. ],
  5565. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5566. "produces": [
  5567. "application/json"
  5568. ],
  5569. "tags": [
  5570. "定制【海商报业】"
  5571. ],
  5572. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5573. "parameters": [
  5574. {
  5575. "type": "integer",
  5576. "description": "商品ID",
  5577. "name": "goodsID",
  5578. "in": "query",
  5579. "required": true
  5580. },
  5581. {
  5582. "type": "integer",
  5583. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5584. "name": "accountID",
  5585. "in": "query"
  5586. }
  5587. ],
  5588. "responses": {
  5589. "200": {
  5590. "description": "OK",
  5591. "schema": {
  5592. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5593. }
  5594. },
  5595. "500": {
  5596. "description": "Internal Server Error",
  5597. "schema": {
  5598. "$ref": "#/definitions/app.Response"
  5599. }
  5600. }
  5601. }
  5602. }
  5603. },
  5604. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5605. "get": {
  5606. "security": [
  5607. {
  5608. "ApiKeyAuth": []
  5609. }
  5610. ],
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "定制【海商报业】"
  5616. ],
  5617. "summary": "查询三级市场(商城)商品信息详情",
  5618. "parameters": [
  5619. {
  5620. "type": "integer",
  5621. "description": "委托单号",
  5622. "name": "orderID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5629. "name": "accountID",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5638. }
  5639. },
  5640. "500": {
  5641. "description": "Internal Server Error",
  5642. "schema": {
  5643. "$ref": "#/definitions/app.Response"
  5644. }
  5645. }
  5646. }
  5647. }
  5648. },
  5649. "/HSBY/QueryHsbyMarketGoodses": {
  5650. "get": {
  5651. "security": [
  5652. {
  5653. "ApiKeyAuth": []
  5654. }
  5655. ],
  5656. "produces": [
  5657. "application/json"
  5658. ],
  5659. "tags": [
  5660. "定制【海商报业】"
  5661. ],
  5662. "summary": "查询特卖商品列表(三级商城)",
  5663. "parameters": [
  5664. {
  5665. "type": "integer",
  5666. "description": "页码",
  5667. "name": "page",
  5668. "in": "query"
  5669. },
  5670. {
  5671. "type": "integer",
  5672. "description": "每页条数",
  5673. "name": "pagesize",
  5674. "in": "query"
  5675. },
  5676. {
  5677. "type": "string",
  5678. "description": "市场ID列表,格式:1,2,3",
  5679. "name": "marketIDs",
  5680. "in": "query",
  5681. "required": true
  5682. },
  5683. {
  5684. "type": "integer",
  5685. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5686. "name": "accountID",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "类别ID",
  5693. "name": "categoryID",
  5694. "in": "query"
  5695. },
  5696. {
  5697. "type": "string",
  5698. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5699. "name": "goodsIDs",
  5700. "in": "query"
  5701. },
  5702. {
  5703. "type": "integer",
  5704. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5705. "name": "couponTypeID",
  5706. "in": "query"
  5707. }
  5708. ],
  5709. "responses": {
  5710. "200": {
  5711. "description": "OK",
  5712. "schema": {
  5713. "$ref": "#/definitions/models.HsbyMarketGoods"
  5714. }
  5715. },
  5716. "500": {
  5717. "description": "Internal Server Error",
  5718. "schema": {
  5719. "$ref": "#/definitions/app.Response"
  5720. }
  5721. }
  5722. }
  5723. }
  5724. },
  5725. "/HSBY/QueryHsbyMarkets": {
  5726. "get": {
  5727. "security": [
  5728. {
  5729. "ApiKeyAuth": []
  5730. }
  5731. ],
  5732. "produces": [
  5733. "application/json"
  5734. ],
  5735. "tags": [
  5736. "定制【海商报业】"
  5737. ],
  5738. "summary": "查询海商报业相关市场信息",
  5739. "responses": {
  5740. "200": {
  5741. "description": "OK",
  5742. "schema": {
  5743. "$ref": "#/definitions/models.HsbyMarketInfo"
  5744. }
  5745. },
  5746. "500": {
  5747. "description": "Internal Server Error",
  5748. "schema": {
  5749. "$ref": "#/definitions/app.Response"
  5750. }
  5751. }
  5752. }
  5753. }
  5754. },
  5755. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5756. "get": {
  5757. "security": [
  5758. {
  5759. "ApiKeyAuth": []
  5760. }
  5761. ],
  5762. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5763. "produces": [
  5764. "application/json"
  5765. ],
  5766. "tags": [
  5767. "定制【海商报业】"
  5768. ],
  5769. "summary": "查询“我的订单”信息",
  5770. "parameters": [
  5771. {
  5772. "type": "string",
  5773. "description": "资金账户列表,格式:1,2,3",
  5774. "name": "accountIDs",
  5775. "in": "query",
  5776. "required": true
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5784. }
  5785. },
  5786. "500": {
  5787. "description": "Internal Server Error",
  5788. "schema": {
  5789. "$ref": "#/definitions/app.Response"
  5790. }
  5791. }
  5792. }
  5793. }
  5794. },
  5795. "/HSBY/QueryHsbyMyGoods": {
  5796. "get": {
  5797. "security": [
  5798. {
  5799. "ApiKeyAuth": []
  5800. }
  5801. ],
  5802. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5803. "produces": [
  5804. "application/json"
  5805. ],
  5806. "tags": [
  5807. "定制【海商报业】"
  5808. ],
  5809. "summary": "查询“我的商品”信息",
  5810. "parameters": [
  5811. {
  5812. "type": "string",
  5813. "description": "资金账户列表,格式:1,2,3",
  5814. "name": "accountIDs",
  5815. "in": "query",
  5816. "required": true
  5817. }
  5818. ],
  5819. "responses": {
  5820. "200": {
  5821. "description": "OK",
  5822. "schema": {
  5823. "$ref": "#/definitions/models.HsbyMyGoods"
  5824. }
  5825. },
  5826. "500": {
  5827. "description": "Internal Server Error",
  5828. "schema": {
  5829. "$ref": "#/definitions/app.Response"
  5830. }
  5831. }
  5832. }
  5833. }
  5834. },
  5835. "/HSBY/QueryHsbyMyPackages": {
  5836. "get": {
  5837. "security": [
  5838. {
  5839. "ApiKeyAuth": []
  5840. }
  5841. ],
  5842. "produces": [
  5843. "application/json"
  5844. ],
  5845. "tags": [
  5846. "定制【海商报业】"
  5847. ],
  5848. "summary": "查询我的包裹信息",
  5849. "parameters": [
  5850. {
  5851. "type": "string",
  5852. "description": "资金账户列表,格式:1,2,3",
  5853. "name": "accountIDs",
  5854. "in": "query",
  5855. "required": true
  5856. },
  5857. {
  5858. "type": "integer",
  5859. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5860. "name": "takeOrderStatus",
  5861. "in": "query"
  5862. }
  5863. ],
  5864. "responses": {
  5865. "200": {
  5866. "description": "OK",
  5867. "schema": {
  5868. "$ref": "#/definitions/models.HsbyMyPackage"
  5869. }
  5870. },
  5871. "500": {
  5872. "description": "Internal Server Error",
  5873. "schema": {
  5874. "$ref": "#/definitions/app.Response"
  5875. }
  5876. }
  5877. }
  5878. }
  5879. },
  5880. "/HSBY/QueryHsbyPreGoodsDetail": {
  5881. "get": {
  5882. "security": [
  5883. {
  5884. "ApiKeyAuth": []
  5885. }
  5886. ],
  5887. "produces": [
  5888. "application/json"
  5889. ],
  5890. "tags": [
  5891. "定制【海商报业】"
  5892. ],
  5893. "summary": "查询一级市场(预售)商品信息详情",
  5894. "parameters": [
  5895. {
  5896. "type": "integer",
  5897. "description": "商品ID",
  5898. "name": "goodsID",
  5899. "in": "query",
  5900. "required": true
  5901. },
  5902. {
  5903. "type": "integer",
  5904. "description": "资金账户,主要用于获取预售商品购买上限",
  5905. "name": "accountID",
  5906. "in": "query"
  5907. }
  5908. ],
  5909. "responses": {
  5910. "200": {
  5911. "description": "OK",
  5912. "schema": {
  5913. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5914. }
  5915. },
  5916. "500": {
  5917. "description": "Internal Server Error",
  5918. "schema": {
  5919. "$ref": "#/definitions/app.Response"
  5920. }
  5921. }
  5922. }
  5923. }
  5924. },
  5925. "/HSBY/QueryHsbyPreGoodses": {
  5926. "get": {
  5927. "security": [
  5928. {
  5929. "ApiKeyAuth": []
  5930. }
  5931. ],
  5932. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5933. "produces": [
  5934. "application/json"
  5935. ],
  5936. "tags": [
  5937. "定制【海商报业】"
  5938. ],
  5939. "summary": "查询新品上市商品列表(一级市场预售)",
  5940. "parameters": [
  5941. {
  5942. "type": "integer",
  5943. "description": "页码",
  5944. "name": "page",
  5945. "in": "query"
  5946. },
  5947. {
  5948. "type": "integer",
  5949. "description": "每页条数",
  5950. "name": "pagesize",
  5951. "in": "query"
  5952. },
  5953. {
  5954. "type": "string",
  5955. "description": "市场ID列表,格式:1,2,3",
  5956. "name": "marketIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "integer",
  5962. "description": "目的地(省)ID",
  5963. "name": "descProvinceID",
  5964. "in": "query"
  5965. },
  5966. {
  5967. "type": "integer",
  5968. "description": "目的地(市)ID",
  5969. "name": "descCityID",
  5970. "in": "query"
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "$ref": "#/definitions/models.HsbyPreGoods"
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/HSBY/QueryHsbySellMyDetails": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5997. "produces": [
  5998. "application/json"
  5999. ],
  6000. "tags": [
  6001. "定制【海商报业】"
  6002. ],
  6003. "summary": "查询\"我的闲置\"单据信息",
  6004. "parameters": [
  6005. {
  6006. "type": "integer",
  6007. "description": "页码",
  6008. "name": "page",
  6009. "in": "query"
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "每页条数",
  6014. "name": "pagesize",
  6015. "in": "query"
  6016. },
  6017. {
  6018. "type": "string",
  6019. "description": "资金账户列表,格式:1,2,3",
  6020. "name": "accountIDs",
  6021. "in": "query",
  6022. "required": true
  6023. },
  6024. {
  6025. "type": "integer",
  6026. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6027. "name": "orderType",
  6028. "in": "query"
  6029. }
  6030. ],
  6031. "responses": {
  6032. "200": {
  6033. "description": "OK",
  6034. "schema": {
  6035. "$ref": "#/definitions/models.HsbySellMyDetail"
  6036. }
  6037. },
  6038. "500": {
  6039. "description": "Internal Server Error",
  6040. "schema": {
  6041. "$ref": "#/definitions/app.Response"
  6042. }
  6043. }
  6044. }
  6045. }
  6046. },
  6047. "/HSBY/QueryHsbyTopGoodses": {
  6048. "get": {
  6049. "security": [
  6050. {
  6051. "ApiKeyAuth": []
  6052. }
  6053. ],
  6054. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6055. "produces": [
  6056. "application/json"
  6057. ],
  6058. "tags": [
  6059. "定制【海商报业】"
  6060. ],
  6061. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6062. "parameters": [
  6063. {
  6064. "type": "integer",
  6065. "description": "页码",
  6066. "name": "page",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "每页条数",
  6072. "name": "pagesize",
  6073. "in": "query"
  6074. },
  6075. {
  6076. "type": "string",
  6077. "description": "市场ID列表,格式:1,2,3",
  6078. "name": "marketIDs",
  6079. "in": "query",
  6080. "required": true
  6081. },
  6082. {
  6083. "type": "integer",
  6084. "description": "目的地(省)ID",
  6085. "name": "descProvinceID",
  6086. "in": "query"
  6087. },
  6088. {
  6089. "type": "integer",
  6090. "description": "目的地(市)ID",
  6091. "name": "descCityID",
  6092. "in": "query"
  6093. }
  6094. ],
  6095. "responses": {
  6096. "200": {
  6097. "description": "OK",
  6098. "schema": {
  6099. "$ref": "#/definitions/models.HsbyTopGoods"
  6100. }
  6101. },
  6102. "500": {
  6103. "description": "Internal Server Error",
  6104. "schema": {
  6105. "$ref": "#/definitions/app.Response"
  6106. }
  6107. }
  6108. }
  6109. }
  6110. },
  6111. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6112. "get": {
  6113. "security": [
  6114. {
  6115. "ApiKeyAuth": []
  6116. }
  6117. ],
  6118. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6119. "produces": [
  6120. "application/json"
  6121. ],
  6122. "tags": [
  6123. "定制【海商报业】"
  6124. ],
  6125. "summary": "查询游客三级市场(商城)商品信息详情",
  6126. "parameters": [
  6127. {
  6128. "type": "integer",
  6129. "description": "商品ID",
  6130. "name": "goodsID",
  6131. "in": "query",
  6132. "required": true
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6140. }
  6141. },
  6142. "500": {
  6143. "description": "Internal Server Error",
  6144. "schema": {
  6145. "$ref": "#/definitions/app.Response"
  6146. }
  6147. }
  6148. }
  6149. }
  6150. },
  6151. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6152. "get": {
  6153. "security": [
  6154. {
  6155. "ApiKeyAuth": []
  6156. }
  6157. ],
  6158. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6159. "produces": [
  6160. "application/json"
  6161. ],
  6162. "tags": [
  6163. "定制【海商报业】"
  6164. ],
  6165. "summary": "查询游客特卖商品列表(三级商城)",
  6166. "parameters": [
  6167. {
  6168. "type": "integer",
  6169. "description": "页码",
  6170. "name": "page",
  6171. "in": "query"
  6172. },
  6173. {
  6174. "type": "integer",
  6175. "description": "每页条数",
  6176. "name": "pagesize",
  6177. "in": "query"
  6178. },
  6179. {
  6180. "type": "string",
  6181. "description": "市场ID列表,格式:1,2,3",
  6182. "name": "marketIDs",
  6183. "in": "query",
  6184. "required": true
  6185. },
  6186. {
  6187. "type": "integer",
  6188. "description": "类别ID",
  6189. "name": "categoryID",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "string",
  6194. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6195. "name": "goodsIDs",
  6196. "in": "query"
  6197. }
  6198. ],
  6199. "responses": {
  6200. "200": {
  6201. "description": "OK",
  6202. "schema": {
  6203. "$ref": "#/definitions/models.HsbyMarketGoods"
  6204. }
  6205. },
  6206. "500": {
  6207. "description": "Internal Server Error",
  6208. "schema": {
  6209. "$ref": "#/definitions/app.Response"
  6210. }
  6211. }
  6212. }
  6213. }
  6214. },
  6215. "/HSBY/QueryMyCollectionOrders": {
  6216. "get": {
  6217. "security": [
  6218. {
  6219. "ApiKeyAuth": []
  6220. }
  6221. ],
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "定制【海商报业】"
  6227. ],
  6228. "summary": "我的闲置中收款信息查询",
  6229. "parameters": [
  6230. {
  6231. "type": "integer",
  6232. "description": "页码",
  6233. "name": "page",
  6234. "in": "query"
  6235. },
  6236. {
  6237. "type": "integer",
  6238. "description": "每页条数",
  6239. "name": "pagesize",
  6240. "in": "query"
  6241. },
  6242. {
  6243. "type": "string",
  6244. "description": "资金账户,格式:1,2,3",
  6245. "name": "accountIDs",
  6246. "in": "query",
  6247. "required": true
  6248. }
  6249. ],
  6250. "responses": {
  6251. "200": {
  6252. "description": "OK",
  6253. "schema": {
  6254. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/app.Response"
  6261. }
  6262. }
  6263. }
  6264. }
  6265. },
  6266. "/HSBY/QueryMyCouponHolds": {
  6267. "get": {
  6268. "security": [
  6269. {
  6270. "ApiKeyAuth": []
  6271. }
  6272. ],
  6273. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6274. "produces": [
  6275. "application/json"
  6276. ],
  6277. "tags": [
  6278. "定制【海商报业】"
  6279. ],
  6280. "summary": "我的优惠卷持仓查询",
  6281. "parameters": [
  6282. {
  6283. "type": "string",
  6284. "description": "资金账户列表,格式:1,2,3",
  6285. "name": "accountIDs",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "string",
  6291. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6292. "name": "holdStatus",
  6293. "in": "query"
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "$ref": "#/definitions/models.MyCouponHold"
  6301. }
  6302. },
  6303. "500": {
  6304. "description": "Internal Server Error",
  6305. "schema": {
  6306. "$ref": "#/definitions/app.Response"
  6307. }
  6308. }
  6309. }
  6310. }
  6311. },
  6312. "/HSBY/QueryMyCoupons": {
  6313. "get": {
  6314. "security": [
  6315. {
  6316. "ApiKeyAuth": []
  6317. }
  6318. ],
  6319. "produces": [
  6320. "application/json"
  6321. ],
  6322. "tags": [
  6323. "定制【海商报业】"
  6324. ],
  6325. "summary": "我的优惠卷查询",
  6326. "parameters": [
  6327. {
  6328. "type": "string",
  6329. "description": "资金账户列表,格式:1,2,3",
  6330. "name": "accountIDs",
  6331. "in": "query",
  6332. "required": true
  6333. },
  6334. {
  6335. "type": "integer",
  6336. "description": "商品ID, 一般与sellUserID配套传入",
  6337. "name": "goodsID",
  6338. "in": "query"
  6339. },
  6340. {
  6341. "type": "integer",
  6342. "description": "卖方UserID",
  6343. "name": "sellUserID",
  6344. "in": "query"
  6345. }
  6346. ],
  6347. "responses": {
  6348. "200": {
  6349. "description": "OK",
  6350. "schema": {
  6351. "$ref": "#/definitions/models.MyCoupon"
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/HSBY/QueryMyPayOrders": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "定制【海商报业】"
  6375. ],
  6376. "summary": "获取我的订单中待付款信息",
  6377. "parameters": [
  6378. {
  6379. "type": "integer",
  6380. "description": "页码",
  6381. "name": "page",
  6382. "in": "query"
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "每页条数",
  6387. "name": "pagesize",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "string",
  6392. "description": "资金账户列表,格式:1,2,3",
  6393. "name": "accountIDs",
  6394. "in": "query",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "integer",
  6399. "description": "买方委托单号",
  6400. "name": "buyOrderID",
  6401. "in": "query"
  6402. },
  6403. {
  6404. "type": "integer",
  6405. "description": "卖方委托单号",
  6406. "name": "sellOrderID",
  6407. "in": "query"
  6408. }
  6409. ],
  6410. "responses": {
  6411. "200": {
  6412. "description": "OK",
  6413. "schema": {
  6414. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6415. }
  6416. },
  6417. "500": {
  6418. "description": "Internal Server Error",
  6419. "schema": {
  6420. "$ref": "#/definitions/app.Response"
  6421. }
  6422. }
  6423. }
  6424. }
  6425. },
  6426. "/HSBY/QueryMyUsedCoupon": {
  6427. "get": {
  6428. "security": [
  6429. {
  6430. "ApiKeyAuth": []
  6431. }
  6432. ],
  6433. "produces": [
  6434. "application/json"
  6435. ],
  6436. "tags": [
  6437. "定制【海商报业】"
  6438. ],
  6439. "summary": "已使用优惠卷查询",
  6440. "parameters": [
  6441. {
  6442. "type": "string",
  6443. "description": "资金账户列表,格式:1,2,3",
  6444. "name": "accountIDs",
  6445. "in": "query",
  6446. "required": true
  6447. }
  6448. ],
  6449. "responses": {
  6450. "200": {
  6451. "description": "OK",
  6452. "schema": {
  6453. "$ref": "#/definitions/models.MyUsedCoupon"
  6454. }
  6455. },
  6456. "500": {
  6457. "description": "Internal Server Error",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. }
  6462. }
  6463. }
  6464. },
  6465. "/HSBY/QueryProvincesAndCities": {
  6466. "get": {
  6467. "security": [
  6468. {
  6469. "ApiKeyAuth": []
  6470. }
  6471. ],
  6472. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "查询省市信息(不包括区)",
  6480. "parameters": [
  6481. {
  6482. "type": "integer",
  6483. "description": "省ID",
  6484. "name": "provinceID",
  6485. "in": "query"
  6486. }
  6487. ],
  6488. "responses": {
  6489. "200": {
  6490. "description": "OK",
  6491. "schema": {
  6492. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6493. }
  6494. },
  6495. "500": {
  6496. "description": "Internal Server Error",
  6497. "schema": {
  6498. "$ref": "#/definitions/app.Response"
  6499. }
  6500. }
  6501. }
  6502. }
  6503. },
  6504. "/HSBY/SetHsbyMyPackagesStatus": {
  6505. "post": {
  6506. "security": [
  6507. {
  6508. "ApiKeyAuth": []
  6509. }
  6510. ],
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "定制【海商报业】"
  6516. ],
  6517. "summary": "设置我的包裹已收货状态",
  6518. "parameters": [
  6519. {
  6520. "type": "string",
  6521. "description": "提货单号",
  6522. "name": "takeOrderID",
  6523. "in": "query",
  6524. "required": true
  6525. },
  6526. {
  6527. "type": "integer",
  6528. "description": "资金账号",
  6529. "name": "accountID",
  6530. "in": "query",
  6531. "required": true
  6532. }
  6533. ],
  6534. "responses": {
  6535. "200": {
  6536. "description": "OK",
  6537. "schema": {
  6538. "$ref": "#/definitions/app.Response"
  6539. }
  6540. },
  6541. "500": {
  6542. "description": "Internal Server Error",
  6543. "schema": {
  6544. "$ref": "#/definitions/app.Response"
  6545. }
  6546. }
  6547. }
  6548. }
  6549. },
  6550. "/Market/QueryGoodsesByLoginID": {
  6551. "get": {
  6552. "security": [
  6553. {
  6554. "ApiKeyAuth": []
  6555. }
  6556. ],
  6557. "produces": [
  6558. "application/json"
  6559. ],
  6560. "tags": [
  6561. "通用市场"
  6562. ],
  6563. "summary": "获取登录账号有权限的商品信息",
  6564. "parameters": [
  6565. {
  6566. "type": "integer",
  6567. "description": "登录账号",
  6568. "name": "loginID",
  6569. "in": "query",
  6570. "required": true
  6571. },
  6572. {
  6573. "type": "string",
  6574. "description": "市场ID列表,格式:1,2,3",
  6575. "name": "marketIDs",
  6576. "in": "query"
  6577. }
  6578. ],
  6579. "responses": {
  6580. "200": {
  6581. "description": "OK",
  6582. "schema": {
  6583. "$ref": "#/definitions/models.Goods"
  6584. }
  6585. },
  6586. "500": {
  6587. "description": "Internal Server Error",
  6588. "schema": {
  6589. "$ref": "#/definitions/app.Response"
  6590. }
  6591. }
  6592. }
  6593. }
  6594. },
  6595. "/Market/QueryMarketRun": {
  6596. "get": {
  6597. "security": [
  6598. {
  6599. "ApiKeyAuth": []
  6600. }
  6601. ],
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "通用市场"
  6607. ],
  6608. "summary": "查询市场运行信息",
  6609. "parameters": [
  6610. {
  6611. "type": "integer",
  6612. "description": "市场ID,不传返回所有",
  6613. "name": "marketID",
  6614. "in": "query"
  6615. }
  6616. ],
  6617. "responses": {
  6618. "200": {
  6619. "description": "OK",
  6620. "schema": {
  6621. "$ref": "#/definitions/models.Marketrun"
  6622. }
  6623. },
  6624. "500": {
  6625. "description": "Internal Server Error",
  6626. "schema": {
  6627. "$ref": "#/definitions/app.Response"
  6628. }
  6629. }
  6630. }
  6631. }
  6632. },
  6633. "/Market/QueryMarketsByLoginID": {
  6634. "get": {
  6635. "security": [
  6636. {
  6637. "ApiKeyAuth": []
  6638. }
  6639. ],
  6640. "produces": [
  6641. "application/json"
  6642. ],
  6643. "tags": [
  6644. "通用市场"
  6645. ],
  6646. "summary": "获取登录账号有权限的市场信息",
  6647. "parameters": [
  6648. {
  6649. "type": "integer",
  6650. "description": "登录账号",
  6651. "name": "loginID",
  6652. "in": "query",
  6653. "required": true
  6654. }
  6655. ],
  6656. "responses": {
  6657. "200": {
  6658. "description": "OK",
  6659. "schema": {
  6660. "$ref": "#/definitions/models.Market"
  6661. }
  6662. },
  6663. "500": {
  6664. "description": "Internal Server Error",
  6665. "schema": {
  6666. "$ref": "#/definitions/app.Response"
  6667. }
  6668. }
  6669. }
  6670. }
  6671. },
  6672. "/Order/QueryHisTradeDetail": {
  6673. "get": {
  6674. "security": [
  6675. {
  6676. "ApiKeyAuth": []
  6677. }
  6678. ],
  6679. "produces": [
  6680. "application/json"
  6681. ],
  6682. "tags": [
  6683. "通用单据"
  6684. ],
  6685. "summary": "历史成交单查询(合约市场)",
  6686. "parameters": [
  6687. {
  6688. "type": "string",
  6689. "description": "资金账户 - 格式:1,2,3",
  6690. "name": "accountID",
  6691. "in": "query",
  6692. "required": true
  6693. },
  6694. {
  6695. "type": "integer",
  6696. "description": "成交单号",
  6697. "name": "tradeID",
  6698. "in": "query"
  6699. },
  6700. {
  6701. "type": "integer",
  6702. "description": "委托单号",
  6703. "name": "orderID",
  6704. "in": "query"
  6705. },
  6706. {
  6707. "type": "string",
  6708. "description": "交易模式 - 格式:1,2,3",
  6709. "name": "tradeMode",
  6710. "in": "query"
  6711. },
  6712. {
  6713. "type": "integer",
  6714. "description": "委托单据类型",
  6715. "name": "buildType",
  6716. "in": "query"
  6717. },
  6718. {
  6719. "type": "string",
  6720. "description": "成交类别 - 格式:1,2,3",
  6721. "name": "tradeType",
  6722. "in": "query"
  6723. },
  6724. {
  6725. "type": "string",
  6726. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6727. "name": "startDate",
  6728. "in": "query"
  6729. },
  6730. {
  6731. "type": "string",
  6732. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6733. "name": "endDate",
  6734. "in": "query"
  6735. }
  6736. ],
  6737. "responses": {
  6738. "200": {
  6739. "description": "OK",
  6740. "schema": {
  6741. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6742. }
  6743. },
  6744. "500": {
  6745. "description": "Internal Server Error",
  6746. "schema": {
  6747. "$ref": "#/definitions/app.Response"
  6748. }
  6749. }
  6750. }
  6751. }
  6752. },
  6753. "/Order/QueryHisTradeOrderDetail": {
  6754. "get": {
  6755. "security": [
  6756. {
  6757. "ApiKeyAuth": []
  6758. }
  6759. ],
  6760. "produces": [
  6761. "application/json"
  6762. ],
  6763. "tags": [
  6764. "通用单据"
  6765. ],
  6766. "summary": "历史委托单查询请求(合约市场)",
  6767. "parameters": [
  6768. {
  6769. "type": "string",
  6770. "description": "资金账户 - 格式:1,2,3",
  6771. "name": "accountID",
  6772. "in": "query",
  6773. "required": true
  6774. },
  6775. {
  6776. "type": "string",
  6777. "description": "交易模式 - 格式:1,2,3",
  6778. "name": "tradeMode",
  6779. "in": "query"
  6780. },
  6781. {
  6782. "type": "string",
  6783. "description": "委托状态 - 格式:1,2,3",
  6784. "name": "orderStatus",
  6785. "in": "query"
  6786. },
  6787. {
  6788. "type": "integer",
  6789. "description": "委托单号",
  6790. "name": "orderID",
  6791. "in": "query"
  6792. },
  6793. {
  6794. "type": "string",
  6795. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6796. "name": "startDate",
  6797. "in": "query"
  6798. },
  6799. {
  6800. "type": "string",
  6801. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6802. "name": "endDate",
  6803. "in": "query"
  6804. }
  6805. ],
  6806. "responses": {
  6807. "200": {
  6808. "description": "OK",
  6809. "schema": {
  6810. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6811. }
  6812. },
  6813. "500": {
  6814. "description": "Internal Server Error",
  6815. "schema": {
  6816. "$ref": "#/definitions/app.Response"
  6817. }
  6818. }
  6819. }
  6820. }
  6821. },
  6822. "/Order/QueryTradeDetail": {
  6823. "get": {
  6824. "security": [
  6825. {
  6826. "ApiKeyAuth": []
  6827. }
  6828. ],
  6829. "produces": [
  6830. "application/json"
  6831. ],
  6832. "tags": [
  6833. "通用单据"
  6834. ],
  6835. "summary": "成交单查询(合约市场)",
  6836. "parameters": [
  6837. {
  6838. "type": "string",
  6839. "description": "资金账户 - 格式:1,2,3",
  6840. "name": "accountID",
  6841. "in": "query",
  6842. "required": true
  6843. },
  6844. {
  6845. "type": "integer",
  6846. "description": "成交单号",
  6847. "name": "tradeID",
  6848. "in": "query"
  6849. },
  6850. {
  6851. "type": "integer",
  6852. "description": "委托单号",
  6853. "name": "orderID",
  6854. "in": "query"
  6855. },
  6856. {
  6857. "type": "string",
  6858. "description": "交易模式 - 格式:1,2,3",
  6859. "name": "tradeMode",
  6860. "in": "query"
  6861. },
  6862. {
  6863. "type": "integer",
  6864. "description": "委托单据类型",
  6865. "name": "buildType",
  6866. "in": "query"
  6867. },
  6868. {
  6869. "type": "string",
  6870. "description": "成交类别 - 格式:1,2,3",
  6871. "name": "tradeType",
  6872. "in": "query"
  6873. }
  6874. ],
  6875. "responses": {
  6876. "200": {
  6877. "description": "OK",
  6878. "schema": {
  6879. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6880. }
  6881. },
  6882. "500": {
  6883. "description": "Internal Server Error",
  6884. "schema": {
  6885. "$ref": "#/definitions/app.Response"
  6886. }
  6887. }
  6888. }
  6889. }
  6890. },
  6891. "/Order/QueryTradeOrderDetail": {
  6892. "get": {
  6893. "security": [
  6894. {
  6895. "ApiKeyAuth": []
  6896. }
  6897. ],
  6898. "produces": [
  6899. "application/json"
  6900. ],
  6901. "tags": [
  6902. "通用单据"
  6903. ],
  6904. "summary": "委托单查询请求(合约市场)",
  6905. "parameters": [
  6906. {
  6907. "type": "string",
  6908. "description": "资金账户 - 格式:1,2,3",
  6909. "name": "accountID",
  6910. "in": "query",
  6911. "required": true
  6912. },
  6913. {
  6914. "type": "string",
  6915. "description": "交易模式 - 格式:1,2,3",
  6916. "name": "tradeMode",
  6917. "in": "query"
  6918. },
  6919. {
  6920. "type": "string",
  6921. "description": "委托状态 - 格式:1,2,3",
  6922. "name": "orderStatus",
  6923. "in": "query"
  6924. },
  6925. {
  6926. "type": "integer",
  6927. "description": "委托单号",
  6928. "name": "orderID",
  6929. "in": "query"
  6930. }
  6931. ],
  6932. "responses": {
  6933. "200": {
  6934. "description": "OK",
  6935. "schema": {
  6936. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6937. }
  6938. },
  6939. "500": {
  6940. "description": "Internal Server Error",
  6941. "schema": {
  6942. "$ref": "#/definitions/app.Response"
  6943. }
  6944. }
  6945. }
  6946. }
  6947. },
  6948. "/Order/QueryTradePosition": {
  6949. "get": {
  6950. "security": [
  6951. {
  6952. "ApiKeyAuth": []
  6953. }
  6954. ],
  6955. "produces": [
  6956. "application/json"
  6957. ],
  6958. "tags": [
  6959. "通用单据"
  6960. ],
  6961. "summary": "持仓汇总查询(合约市场)",
  6962. "parameters": [
  6963. {
  6964. "type": "string",
  6965. "description": "资金账户 - 格式:1,2,3",
  6966. "name": "accountID",
  6967. "in": "query",
  6968. "required": true
  6969. },
  6970. {
  6971. "type": "string",
  6972. "description": "交易模式 - 格式:1,2,3",
  6973. "name": "tradeMode",
  6974. "in": "query"
  6975. }
  6976. ],
  6977. "responses": {
  6978. "200": {
  6979. "description": "OK",
  6980. "schema": {
  6981. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6982. }
  6983. },
  6984. "500": {
  6985. "description": "Internal Server Error",
  6986. "schema": {
  6987. "$ref": "#/definitions/app.Response"
  6988. }
  6989. }
  6990. }
  6991. }
  6992. },
  6993. "/Qhj/QueryAccountInOutApply": {
  6994. "get": {
  6995. "security": [
  6996. {
  6997. "ApiKeyAuth": []
  6998. }
  6999. ],
  7000. "produces": [
  7001. "application/json"
  7002. ],
  7003. "tags": [
  7004. "大连千海金"
  7005. ],
  7006. "summary": "查询充值提现",
  7007. "parameters": [
  7008. {
  7009. "type": "string",
  7010. "description": "申请起始日期(格式yyyymmdd)",
  7011. "name": "begindate",
  7012. "in": "query"
  7013. },
  7014. {
  7015. "type": "string",
  7016. "description": "申请截止日期(格式yyyymmdd)",
  7017. "name": "enddate",
  7018. "in": "query"
  7019. },
  7020. {
  7021. "type": "string",
  7022. "description": "模糊搜索名称",
  7023. "name": "likename",
  7024. "in": "query"
  7025. }
  7026. ],
  7027. "responses": {
  7028. "200": {
  7029. "description": "OK",
  7030. "schema": {
  7031. "type": "array",
  7032. "items": {
  7033. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7034. }
  7035. }
  7036. },
  7037. "500": {
  7038. "description": "Internal Server Error",
  7039. "schema": {
  7040. "$ref": "#/definitions/app.Response"
  7041. }
  7042. }
  7043. }
  7044. }
  7045. },
  7046. "/Qhj/QueryBankAccountSign": {
  7047. "get": {
  7048. "security": [
  7049. {
  7050. "ApiKeyAuth": []
  7051. }
  7052. ],
  7053. "produces": [
  7054. "application/json"
  7055. ],
  7056. "tags": [
  7057. "大连千海金"
  7058. ],
  7059. "summary": "查询签约银行信息(提现账户管理)",
  7060. "parameters": [
  7061. {
  7062. "type": "integer",
  7063. "description": "用户ID",
  7064. "name": "userid",
  7065. "in": "query",
  7066. "required": true
  7067. }
  7068. ],
  7069. "responses": {
  7070. "200": {
  7071. "description": "OK",
  7072. "schema": {
  7073. "type": "array",
  7074. "items": {
  7075. "$ref": "#/definitions/models.QhjBankAccountSign"
  7076. }
  7077. }
  7078. },
  7079. "500": {
  7080. "description": "Internal Server Error",
  7081. "schema": {
  7082. "$ref": "#/definitions/app.Response"
  7083. }
  7084. }
  7085. }
  7086. }
  7087. },
  7088. "/Qhj/QueryBankInfo": {
  7089. "get": {
  7090. "security": [
  7091. {
  7092. "ApiKeyAuth": []
  7093. }
  7094. ],
  7095. "produces": [
  7096. "application/json"
  7097. ],
  7098. "tags": [
  7099. "大连千海金"
  7100. ],
  7101. "summary": "查询开户行",
  7102. "responses": {
  7103. "200": {
  7104. "description": "OK",
  7105. "schema": {
  7106. "type": "array",
  7107. "items": {
  7108. "$ref": "#/definitions/models.QhjBankInfo"
  7109. }
  7110. }
  7111. },
  7112. "500": {
  7113. "description": "Internal Server Error",
  7114. "schema": {
  7115. "$ref": "#/definitions/app.Response"
  7116. }
  7117. }
  7118. }
  7119. }
  7120. },
  7121. "/Qhj/QueryContract": {
  7122. "get": {
  7123. "security": [
  7124. {
  7125. "ApiKeyAuth": []
  7126. }
  7127. ],
  7128. "produces": [
  7129. "application/json"
  7130. ],
  7131. "tags": [
  7132. "大连千海金"
  7133. ],
  7134. "summary": "查询融资明细(合同)",
  7135. "parameters": [
  7136. {
  7137. "type": "integer",
  7138. "description": "用户ID",
  7139. "name": "userid",
  7140. "in": "query",
  7141. "required": true
  7142. },
  7143. {
  7144. "type": "integer",
  7145. "description": "scf合同id",
  7146. "name": "scfcontractid",
  7147. "in": "query"
  7148. }
  7149. ],
  7150. "responses": {
  7151. "200": {
  7152. "description": "OK",
  7153. "schema": {
  7154. "type": "array",
  7155. "items": {
  7156. "$ref": "#/definitions/models.QhjContract"
  7157. }
  7158. }
  7159. },
  7160. "500": {
  7161. "description": "Internal Server Error",
  7162. "schema": {
  7163. "$ref": "#/definitions/app.Response"
  7164. }
  7165. }
  7166. }
  7167. }
  7168. },
  7169. "/Qhj/QueryContractLog": {
  7170. "get": {
  7171. "security": [
  7172. {
  7173. "ApiKeyAuth": []
  7174. }
  7175. ],
  7176. "produces": [
  7177. "application/json"
  7178. ],
  7179. "tags": [
  7180. "大连千海金"
  7181. ],
  7182. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7183. "parameters": [
  7184. {
  7185. "type": "integer",
  7186. "description": "scf合同id",
  7187. "name": "scfcontractid",
  7188. "in": "query",
  7189. "required": true
  7190. },
  7191. {
  7192. "type": "string",
  7193. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7194. "name": "amounttype",
  7195. "in": "query"
  7196. }
  7197. ],
  7198. "responses": {
  7199. "200": {
  7200. "description": "OK",
  7201. "schema": {
  7202. "type": "array",
  7203. "items": {
  7204. "$ref": "#/definitions/models.QhjContractLog"
  7205. }
  7206. }
  7207. },
  7208. "500": {
  7209. "description": "Internal Server Error",
  7210. "schema": {
  7211. "$ref": "#/definitions/app.Response"
  7212. }
  7213. }
  7214. }
  7215. }
  7216. },
  7217. "/Qhj/QueryCusBankSignBank": {
  7218. "get": {
  7219. "security": [
  7220. {
  7221. "ApiKeyAuth": []
  7222. }
  7223. ],
  7224. "produces": [
  7225. "application/json"
  7226. ],
  7227. "tags": [
  7228. "大连千海金"
  7229. ],
  7230. "summary": "查询托管银行",
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Qhj/QueryCustomerInfo": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "大连千海金"
  7262. ],
  7263. "summary": "查询客户资料",
  7264. "parameters": [
  7265. {
  7266. "type": "integer",
  7267. "description": "用户ID",
  7268. "name": "userid",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7275. "name": "querytype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "客户类型 1-个人 2-企业",
  7282. "name": "userinfotype",
  7283. "in": "query"
  7284. },
  7285. {
  7286. "type": "string",
  7287. "description": "客户名称(模糊匹配)",
  7288. "name": "customername",
  7289. "in": "query"
  7290. },
  7291. {
  7292. "type": "string",
  7293. "description": "昵称(模糊匹配)",
  7294. "name": "nickname",
  7295. "in": "query"
  7296. },
  7297. {
  7298. "type": "integer",
  7299. "description": "是否包含子级 1-包含",
  7300. "name": "includesub",
  7301. "in": "query"
  7302. }
  7303. ],
  7304. "responses": {
  7305. "200": {
  7306. "description": "OK",
  7307. "schema": {
  7308. "type": "array",
  7309. "items": {
  7310. "$ref": "#/definitions/models.QhjCustomer"
  7311. }
  7312. }
  7313. },
  7314. "500": {
  7315. "description": "Internal Server Error",
  7316. "schema": {
  7317. "$ref": "#/definitions/app.Response"
  7318. }
  7319. }
  7320. }
  7321. }
  7322. },
  7323. "/Qhj/QueryGoodsEx": {
  7324. "get": {
  7325. "security": [
  7326. {
  7327. "ApiKeyAuth": []
  7328. }
  7329. ],
  7330. "produces": [
  7331. "application/json"
  7332. ],
  7333. "tags": [
  7334. "大连千海金"
  7335. ],
  7336. "summary": "交易商品扩展表",
  7337. "parameters": [
  7338. {
  7339. "type": "integer",
  7340. "description": "商品id",
  7341. "name": "goodsid",
  7342. "in": "query"
  7343. }
  7344. ],
  7345. "responses": {
  7346. "200": {
  7347. "description": "OK",
  7348. "schema": {
  7349. "type": "array",
  7350. "items": {
  7351. "$ref": "#/definitions/models.Qhjgoodsex"
  7352. }
  7353. }
  7354. },
  7355. "500": {
  7356. "description": "Internal Server Error",
  7357. "schema": {
  7358. "$ref": "#/definitions/app.Response"
  7359. }
  7360. }
  7361. }
  7362. }
  7363. },
  7364. "/Qhj/QueryPayOrder": {
  7365. "get": {
  7366. "security": [
  7367. {
  7368. "ApiKeyAuth": []
  7369. }
  7370. ],
  7371. "produces": [
  7372. "application/json"
  7373. ],
  7374. "tags": [
  7375. "大连千海金"
  7376. ],
  7377. "summary": "查询待付款单据",
  7378. "parameters": [
  7379. {
  7380. "type": "integer",
  7381. "description": "资金账号id",
  7382. "name": "accountid",
  7383. "in": "query",
  7384. "required": true
  7385. }
  7386. ],
  7387. "responses": {
  7388. "200": {
  7389. "description": "OK",
  7390. "schema": {
  7391. "type": "array",
  7392. "items": {
  7393. "$ref": "#/definitions/models.QhjPayOrder"
  7394. }
  7395. }
  7396. },
  7397. "500": {
  7398. "description": "Internal Server Error",
  7399. "schema": {
  7400. "$ref": "#/definitions/app.Response"
  7401. }
  7402. }
  7403. }
  7404. }
  7405. },
  7406. "/Qhj/QueryPickArea": {
  7407. "get": {
  7408. "security": [
  7409. {
  7410. "ApiKeyAuth": []
  7411. }
  7412. ],
  7413. "produces": [
  7414. "application/json"
  7415. ],
  7416. "tags": [
  7417. "大连千海金"
  7418. ],
  7419. "summary": "查询提货门店",
  7420. "parameters": [
  7421. {
  7422. "type": "integer",
  7423. "description": "用户ID",
  7424. "name": "userid",
  7425. "in": "query"
  7426. }
  7427. ],
  7428. "responses": {
  7429. "200": {
  7430. "description": "OK",
  7431. "schema": {
  7432. "type": "array",
  7433. "items": {
  7434. "$ref": "#/definitions/models.QhjPickArea"
  7435. }
  7436. }
  7437. },
  7438. "500": {
  7439. "description": "Internal Server Error",
  7440. "schema": {
  7441. "$ref": "#/definitions/app.Response"
  7442. }
  7443. }
  7444. }
  7445. }
  7446. },
  7447. "/Qhj/QueryPickGoods": {
  7448. "get": {
  7449. "security": [
  7450. {
  7451. "ApiKeyAuth": []
  7452. }
  7453. ],
  7454. "produces": [
  7455. "application/json"
  7456. ],
  7457. "tags": [
  7458. "大连千海金"
  7459. ],
  7460. "summary": "查询提货商品",
  7461. "parameters": [
  7462. {
  7463. "type": "string",
  7464. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7465. "name": "status",
  7466. "in": "query"
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "type": "array",
  7474. "items": {
  7475. "$ref": "#/definitions/models.QhjPickGoods"
  7476. }
  7477. }
  7478. },
  7479. "500": {
  7480. "description": "Internal Server Error",
  7481. "schema": {
  7482. "$ref": "#/definitions/app.Response"
  7483. }
  7484. }
  7485. }
  7486. }
  7487. },
  7488. "/Qhj/QueryRSTriggerLog": {
  7489. "get": {
  7490. "security": [
  7491. {
  7492. "ApiKeyAuth": []
  7493. }
  7494. ],
  7495. "produces": [
  7496. "application/json"
  7497. ],
  7498. "tags": [
  7499. "大连千海金"
  7500. ],
  7501. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7502. "parameters": [
  7503. {
  7504. "type": "integer",
  7505. "description": "用户ID",
  7506. "name": "userid",
  7507. "in": "query",
  7508. "required": true
  7509. },
  7510. {
  7511. "type": "integer",
  7512. "description": "定投策略id",
  7513. "name": "regularlystrategyid",
  7514. "in": "query"
  7515. }
  7516. ],
  7517. "responses": {
  7518. "200": {
  7519. "description": "OK",
  7520. "schema": {
  7521. "type": "array",
  7522. "items": {
  7523. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7524. }
  7525. }
  7526. },
  7527. "500": {
  7528. "description": "Internal Server Error",
  7529. "schema": {
  7530. "$ref": "#/definitions/app.Response"
  7531. }
  7532. }
  7533. }
  7534. }
  7535. },
  7536. "/Qhj/QueryRStrategy": {
  7537. "get": {
  7538. "security": [
  7539. {
  7540. "ApiKeyAuth": []
  7541. }
  7542. ],
  7543. "produces": [
  7544. "application/json"
  7545. ],
  7546. "tags": [
  7547. "大连千海金"
  7548. ],
  7549. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7550. "parameters": [
  7551. {
  7552. "type": "integer",
  7553. "description": "用户ID",
  7554. "name": "userid",
  7555. "in": "query",
  7556. "required": true
  7557. },
  7558. {
  7559. "type": "string",
  7560. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7561. "name": "status",
  7562. "in": "query"
  7563. }
  7564. ],
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "type": "array",
  7570. "items": {
  7571. "$ref": "#/definitions/models.QhjRStrategy"
  7572. }
  7573. }
  7574. },
  7575. "500": {
  7576. "description": "Internal Server Error",
  7577. "schema": {
  7578. "$ref": "#/definitions/app.Response"
  7579. }
  7580. }
  7581. }
  7582. }
  7583. },
  7584. "/Qhj/QueryReckonPriceLog": {
  7585. "get": {
  7586. "security": [
  7587. {
  7588. "ApiKeyAuth": []
  7589. }
  7590. ],
  7591. "produces": [
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "大连千海金"
  7596. ],
  7597. "summary": "查询定投价(结算价)",
  7598. "parameters": [
  7599. {
  7600. "type": "integer",
  7601. "description": "商品ID",
  7602. "name": "goodsid",
  7603. "in": "query"
  7604. },
  7605. {
  7606. "type": "string",
  7607. "description": "交易日 格式(yyyymmdd)",
  7608. "name": "tradedate",
  7609. "in": "query"
  7610. }
  7611. ],
  7612. "responses": {
  7613. "200": {
  7614. "description": "OK",
  7615. "schema": {
  7616. "type": "array",
  7617. "items": {
  7618. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7619. }
  7620. }
  7621. },
  7622. "500": {
  7623. "description": "Internal Server Error",
  7624. "schema": {
  7625. "$ref": "#/definitions/app.Response"
  7626. }
  7627. }
  7628. }
  7629. }
  7630. },
  7631. "/Qhj/QuerySiteColumnDetail": {
  7632. "get": {
  7633. "security": [
  7634. {
  7635. "ApiKeyAuth": []
  7636. }
  7637. ],
  7638. "produces": [
  7639. "application/json"
  7640. ],
  7641. "tags": [
  7642. "大连千海金"
  7643. ],
  7644. "summary": "查询资讯",
  7645. "parameters": [
  7646. {
  7647. "type": "integer",
  7648. "description": "用户ID",
  7649. "name": "userid",
  7650. "in": "query",
  7651. "required": true
  7652. }
  7653. ],
  7654. "responses": {
  7655. "200": {
  7656. "description": "OK",
  7657. "schema": {
  7658. "type": "array",
  7659. "items": {
  7660. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7661. }
  7662. }
  7663. },
  7664. "500": {
  7665. "description": "Internal Server Error",
  7666. "schema": {
  7667. "$ref": "#/definitions/app.Response"
  7668. }
  7669. }
  7670. }
  7671. }
  7672. },
  7673. "/Qhj/QueryTradeGoodsPickup": {
  7674. "get": {
  7675. "security": [
  7676. {
  7677. "ApiKeyAuth": []
  7678. }
  7679. ],
  7680. "produces": [
  7681. "application/json"
  7682. ],
  7683. "tags": [
  7684. "大连千海金"
  7685. ],
  7686. "summary": "查询提货",
  7687. "parameters": [
  7688. {
  7689. "type": "integer",
  7690. "description": "用户ID",
  7691. "name": "userid",
  7692. "in": "query",
  7693. "required": true
  7694. }
  7695. ],
  7696. "responses": {
  7697. "200": {
  7698. "description": "OK",
  7699. "schema": {
  7700. "type": "array",
  7701. "items": {
  7702. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7703. }
  7704. }
  7705. },
  7706. "500": {
  7707. "description": "Internal Server Error",
  7708. "schema": {
  7709. "$ref": "#/definitions/app.Response"
  7710. }
  7711. }
  7712. }
  7713. }
  7714. },
  7715. "/Qhj/QueryUserCollectConfig": {
  7716. "get": {
  7717. "security": [
  7718. {
  7719. "ApiKeyAuth": []
  7720. }
  7721. ],
  7722. "produces": [
  7723. "application/json"
  7724. ],
  7725. "tags": [
  7726. "大连千海金"
  7727. ],
  7728. "summary": "查询提现账户设置",
  7729. "parameters": [
  7730. {
  7731. "type": "integer",
  7732. "description": "用户ID",
  7733. "name": "userid",
  7734. "in": "query",
  7735. "required": true
  7736. }
  7737. ],
  7738. "responses": {
  7739. "200": {
  7740. "description": "OK",
  7741. "schema": {
  7742. "type": "array",
  7743. "items": {
  7744. "$ref": "#/definitions/models.UserCollectConfig"
  7745. }
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/Qhj/QueryUserReceiveInfo": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. }
  7763. ],
  7764. "produces": [
  7765. "application/json"
  7766. ],
  7767. "tags": [
  7768. "大连千海金"
  7769. ],
  7770. "summary": "查询收货地址信息",
  7771. "parameters": [
  7772. {
  7773. "type": "integer",
  7774. "description": "用户ID",
  7775. "name": "userid",
  7776. "in": "query",
  7777. "required": true
  7778. }
  7779. ],
  7780. "responses": {
  7781. "200": {
  7782. "description": "OK",
  7783. "schema": {
  7784. "type": "array",
  7785. "items": {
  7786. "$ref": "#/definitions/models.UserReceiveInfo"
  7787. }
  7788. }
  7789. },
  7790. "500": {
  7791. "description": "Internal Server Error",
  7792. "schema": {
  7793. "$ref": "#/definitions/app.Response"
  7794. }
  7795. }
  7796. }
  7797. }
  7798. },
  7799. "/Quote/QueryHistoryDatas": {
  7800. "get": {
  7801. "security": [
  7802. {
  7803. "ApiKeyAuth": []
  7804. }
  7805. ],
  7806. "produces": [
  7807. "application/json"
  7808. ],
  7809. "tags": [
  7810. "行情服务"
  7811. ],
  7812. "summary": "查询行情历史数据",
  7813. "parameters": [
  7814. {
  7815. "type": "integer",
  7816. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7817. "name": "cycleType",
  7818. "in": "query",
  7819. "required": true
  7820. },
  7821. {
  7822. "type": "string",
  7823. "description": "商品代码",
  7824. "name": "goodsCode",
  7825. "in": "query",
  7826. "required": true
  7827. },
  7828. {
  7829. "type": "string",
  7830. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7831. "name": "startTime",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "string",
  7836. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7837. "name": "endTime",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "integer",
  7842. "description": "条数",
  7843. "name": "count",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "boolean",
  7848. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7849. "name": "isAsc",
  7850. "in": "query"
  7851. }
  7852. ],
  7853. "responses": {
  7854. "200": {
  7855. "description": "OK",
  7856. "schema": {
  7857. "$ref": "#/definitions/quote.HistoryData"
  7858. }
  7859. },
  7860. "500": {
  7861. "description": "Internal Server Error",
  7862. "schema": {
  7863. "$ref": "#/definitions/app.Response"
  7864. }
  7865. }
  7866. }
  7867. }
  7868. },
  7869. "/Quote/QueryHistoryTikDatas": {
  7870. "get": {
  7871. "security": [
  7872. {
  7873. "ApiKeyAuth": []
  7874. }
  7875. ],
  7876. "produces": [
  7877. "application/json"
  7878. ],
  7879. "tags": [
  7880. "行情服务"
  7881. ],
  7882. "summary": "查询行情Tik数据",
  7883. "parameters": [
  7884. {
  7885. "type": "string",
  7886. "description": "商品代码",
  7887. "name": "goodsCode",
  7888. "in": "query",
  7889. "required": true
  7890. },
  7891. {
  7892. "type": "string",
  7893. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7894. "name": "startTime",
  7895. "in": "query"
  7896. },
  7897. {
  7898. "type": "string",
  7899. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7900. "name": "endTime",
  7901. "in": "query"
  7902. },
  7903. {
  7904. "type": "integer",
  7905. "description": "条数",
  7906. "name": "count",
  7907. "in": "query"
  7908. },
  7909. {
  7910. "type": "boolean",
  7911. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7912. "name": "isAsc",
  7913. "in": "query"
  7914. }
  7915. ],
  7916. "responses": {
  7917. "200": {
  7918. "description": "OK",
  7919. "schema": {
  7920. "$ref": "#/definitions/quote.HistoryTikData"
  7921. }
  7922. },
  7923. "500": {
  7924. "description": "Internal Server Error",
  7925. "schema": {
  7926. "$ref": "#/definitions/app.Response"
  7927. }
  7928. }
  7929. }
  7930. }
  7931. },
  7932. "/Quote/QueryQuoteDay": {
  7933. "get": {
  7934. "security": [
  7935. {
  7936. "ApiKeyAuth": []
  7937. }
  7938. ],
  7939. "produces": [
  7940. "application/json"
  7941. ],
  7942. "tags": [
  7943. "行情服务"
  7944. ],
  7945. "summary": "获取商品盘面信息",
  7946. "parameters": [
  7947. {
  7948. "type": "string",
  7949. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7950. "name": "goodsCodes",
  7951. "in": "query",
  7952. "required": true
  7953. }
  7954. ],
  7955. "responses": {
  7956. "200": {
  7957. "description": "OK",
  7958. "schema": {
  7959. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7960. }
  7961. },
  7962. "500": {
  7963. "description": "Internal Server Error",
  7964. "schema": {
  7965. "$ref": "#/definitions/app.Response"
  7966. }
  7967. }
  7968. }
  7969. }
  7970. },
  7971. "/Quote/QueryTSData": {
  7972. "get": {
  7973. "security": [
  7974. {
  7975. "ApiKeyAuth": []
  7976. }
  7977. ],
  7978. "produces": [
  7979. "application/json"
  7980. ],
  7981. "tags": [
  7982. "行情服务"
  7983. ],
  7984. "summary": "分时图数据查询",
  7985. "parameters": [
  7986. {
  7987. "type": "string",
  7988. "description": "商品代码",
  7989. "name": "goodsCode",
  7990. "in": "query",
  7991. "required": true
  7992. }
  7993. ],
  7994. "responses": {
  7995. "200": {
  7996. "description": "OK",
  7997. "schema": {
  7998. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7999. }
  8000. },
  8001. "500": {
  8002. "description": "Internal Server Error",
  8003. "schema": {
  8004. "$ref": "#/definitions/app.Response"
  8005. }
  8006. }
  8007. }
  8008. }
  8009. },
  8010. "/SZDZ/QueryConvertConfig": {
  8011. "get": {
  8012. "security": [
  8013. {
  8014. "ApiKeyAuth": []
  8015. }
  8016. ],
  8017. "produces": [
  8018. "application/json"
  8019. ],
  8020. "tags": [
  8021. "定制【尚志大宗】"
  8022. ],
  8023. "summary": "查询交易系统转换设置",
  8024. "parameters": [
  8025. {
  8026. "type": "integer",
  8027. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8028. "name": "convertType",
  8029. "in": "query"
  8030. },
  8031. {
  8032. "type": "string",
  8033. "description": "外部商品代码[JD\\PD]",
  8034. "name": "outerGoodsCode",
  8035. "in": "query"
  8036. },
  8037. {
  8038. "type": "string",
  8039. "description": "内部商品ID列表[交易],格式:1,2,3",
  8040. "name": "innerGoodsIDs",
  8041. "in": "query"
  8042. }
  8043. ],
  8044. "responses": {
  8045. "200": {
  8046. "description": "OK",
  8047. "schema": {
  8048. "$ref": "#/definitions/models.Szdz3convertconfig"
  8049. }
  8050. },
  8051. "500": {
  8052. "description": "Internal Server Error",
  8053. "schema": {
  8054. "$ref": "#/definitions/app.Response"
  8055. }
  8056. }
  8057. }
  8058. }
  8059. },
  8060. "/SZDZ/QueryConvertLog": {
  8061. "get": {
  8062. "security": [
  8063. {
  8064. "ApiKeyAuth": []
  8065. }
  8066. ],
  8067. "produces": [
  8068. "application/json"
  8069. ],
  8070. "tags": [
  8071. "定制【尚志大宗】"
  8072. ],
  8073. "summary": "交易系统转换流水查询",
  8074. "parameters": [
  8075. {
  8076. "type": "string",
  8077. "description": "资金账户 - 格式:1,2,3",
  8078. "name": "accountID",
  8079. "in": "query",
  8080. "required": true
  8081. },
  8082. {
  8083. "type": "string",
  8084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8085. "name": "startDate",
  8086. "in": "query"
  8087. },
  8088. {
  8089. "type": "string",
  8090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8091. "name": "endDate",
  8092. "in": "query"
  8093. }
  8094. ],
  8095. "responses": {
  8096. "200": {
  8097. "description": "OK",
  8098. "schema": {
  8099. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8100. }
  8101. },
  8102. "500": {
  8103. "description": "Internal Server Error",
  8104. "schema": {
  8105. "$ref": "#/definitions/app.Response"
  8106. }
  8107. }
  8108. }
  8109. }
  8110. },
  8111. "/SZDZ/QueryGoodsPickup": {
  8112. "get": {
  8113. "security": [
  8114. {
  8115. "ApiKeyAuth": []
  8116. }
  8117. ],
  8118. "produces": [
  8119. "application/json"
  8120. ],
  8121. "tags": [
  8122. "定制【尚志大宗】"
  8123. ],
  8124. "summary": "商品提货单查询",
  8125. "parameters": [
  8126. {
  8127. "type": "string",
  8128. "description": "资金账户 - 格式:1,2,3",
  8129. "name": "accountID",
  8130. "in": "query",
  8131. "required": true
  8132. },
  8133. {
  8134. "type": "integer",
  8135. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8136. "name": "takeOrderStatus",
  8137. "in": "query"
  8138. }
  8139. ],
  8140. "responses": {
  8141. "200": {
  8142. "description": "OK",
  8143. "schema": {
  8144. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8145. }
  8146. },
  8147. "500": {
  8148. "description": "Internal Server Error",
  8149. "schema": {
  8150. "$ref": "#/definitions/app.Response"
  8151. }
  8152. }
  8153. }
  8154. }
  8155. },
  8156. "/SZDZ/QueryRecieptOrder": {
  8157. "get": {
  8158. "security": [
  8159. {
  8160. "ApiKeyAuth": []
  8161. }
  8162. ],
  8163. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8164. "produces": [
  8165. "application/json"
  8166. ],
  8167. "tags": [
  8168. "定制【尚志大宗】"
  8169. ],
  8170. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8171. "parameters": [
  8172. {
  8173. "type": "integer",
  8174. "description": "页码",
  8175. "name": "page",
  8176. "in": "query"
  8177. },
  8178. {
  8179. "type": "integer",
  8180. "description": "每页条数",
  8181. "name": "pagesize",
  8182. "in": "query"
  8183. },
  8184. {
  8185. "type": "integer",
  8186. "description": "商品ID",
  8187. "name": "goodsID",
  8188. "in": "query",
  8189. "required": true
  8190. },
  8191. {
  8192. "type": "string",
  8193. "description": "所属账户名称",
  8194. "name": "accountName",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "integer",
  8199. "description": "市场ID",
  8200. "name": "marketID",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "integer",
  8205. "description": "方向 - 0:买 1:卖",
  8206. "name": "buyorsell",
  8207. "in": "query",
  8208. "required": true
  8209. }
  8210. ],
  8211. "responses": {
  8212. "200": {
  8213. "description": "OK",
  8214. "schema": {
  8215. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8216. }
  8217. },
  8218. "500": {
  8219. "description": "Internal Server Error",
  8220. "schema": {
  8221. "$ref": "#/definitions/app.Response"
  8222. }
  8223. }
  8224. }
  8225. }
  8226. },
  8227. "/SZDZ/QuerySZDZTradePosition": {
  8228. "get": {
  8229. "security": [
  8230. {
  8231. "ApiKeyAuth": []
  8232. }
  8233. ],
  8234. "produces": [
  8235. "application/json"
  8236. ],
  8237. "tags": [
  8238. "定制【尚志大宗】"
  8239. ],
  8240. "summary": "持仓汇总查询(尚志大宗)",
  8241. "parameters": [
  8242. {
  8243. "type": "integer",
  8244. "description": "资金账户",
  8245. "name": "accountID",
  8246. "in": "query",
  8247. "required": true
  8248. }
  8249. ],
  8250. "responses": {
  8251. "200": {
  8252. "description": "OK",
  8253. "schema": {
  8254. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8255. }
  8256. },
  8257. "500": {
  8258. "description": "Internal Server Error",
  8259. "schema": {
  8260. "$ref": "#/definitions/app.Response"
  8261. }
  8262. }
  8263. }
  8264. }
  8265. },
  8266. "/SZDZ/SearchWhite": {
  8267. "get": {
  8268. "security": [
  8269. {
  8270. "ApiKeyAuth": []
  8271. }
  8272. ],
  8273. "produces": [
  8274. "application/json"
  8275. ],
  8276. "tags": [
  8277. "定制【尚志大宗】"
  8278. ],
  8279. "summary": "搜索白名单",
  8280. "parameters": [
  8281. {
  8282. "type": "integer",
  8283. "description": "用户ID",
  8284. "name": "userID",
  8285. "in": "query",
  8286. "required": true
  8287. }
  8288. ],
  8289. "responses": {
  8290. "200": {
  8291. "description": "OK",
  8292. "schema": {
  8293. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8294. }
  8295. },
  8296. "500": {
  8297. "description": "Internal Server Error",
  8298. "schema": {
  8299. "$ref": "#/definitions/app.Response"
  8300. }
  8301. }
  8302. }
  8303. }
  8304. },
  8305. "/Search/SearchGoodses": {
  8306. "get": {
  8307. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8308. "produces": [
  8309. "application/json"
  8310. ],
  8311. "tags": [
  8312. "检索服务"
  8313. ],
  8314. "summary": "检索商品信息",
  8315. "parameters": [
  8316. {
  8317. "type": "string",
  8318. "description": "检索内容",
  8319. "name": "content",
  8320. "in": "query",
  8321. "required": true
  8322. },
  8323. {
  8324. "type": "string",
  8325. "description": "交易模式,格式:1,2,3",
  8326. "name": "tradeModes",
  8327. "in": "query"
  8328. }
  8329. ],
  8330. "responses": {
  8331. "200": {
  8332. "description": "OK",
  8333. "schema": {
  8334. "$ref": "#/definitions/models.SearchGoods"
  8335. }
  8336. },
  8337. "500": {
  8338. "description": "Internal Server Error",
  8339. "schema": {
  8340. "$ref": "#/definitions/app.Response"
  8341. }
  8342. }
  8343. }
  8344. }
  8345. },
  8346. "/TaAccount/GetTaAccounts": {
  8347. "get": {
  8348. "security": [
  8349. {
  8350. "ApiKeyAuth": []
  8351. }
  8352. ],
  8353. "produces": [
  8354. "application/json"
  8355. ],
  8356. "tags": [
  8357. "资金账户"
  8358. ],
  8359. "summary": "获取资金账户信息",
  8360. "parameters": [
  8361. {
  8362. "type": "integer",
  8363. "description": "登录账户",
  8364. "name": "loginID",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "integer",
  8370. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8371. "name": "taAccountType",
  8372. "in": "query"
  8373. }
  8374. ],
  8375. "responses": {
  8376. "200": {
  8377. "description": "OK",
  8378. "schema": {
  8379. "$ref": "#/definitions/models.Taaccount"
  8380. }
  8381. },
  8382. "500": {
  8383. "description": "Internal Server Error",
  8384. "schema": {
  8385. "$ref": "#/definitions/app.Response"
  8386. }
  8387. }
  8388. }
  8389. }
  8390. },
  8391. "/TaAccount/QueryAmountLog": {
  8392. "get": {
  8393. "security": [
  8394. {
  8395. "ApiKeyAuth": []
  8396. }
  8397. ],
  8398. "produces": [
  8399. "application/json"
  8400. ],
  8401. "tags": [
  8402. "资金账户"
  8403. ],
  8404. "summary": "资金流水查询(当前)",
  8405. "parameters": [
  8406. {
  8407. "type": "integer",
  8408. "description": "页码",
  8409. "name": "page",
  8410. "in": "query"
  8411. },
  8412. {
  8413. "type": "integer",
  8414. "description": "每页条数",
  8415. "name": "pagesize",
  8416. "in": "query"
  8417. },
  8418. {
  8419. "type": "string",
  8420. "description": "资金账户 - 格式:1,2,3",
  8421. "name": "accountID",
  8422. "in": "query",
  8423. "required": true
  8424. },
  8425. {
  8426. "type": "string",
  8427. "description": "资金操作类型 - 格式:1,2,3",
  8428. "name": "OperateType",
  8429. "in": "query"
  8430. }
  8431. ],
  8432. "responses": {
  8433. "200": {
  8434. "description": "OK",
  8435. "schema": {
  8436. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8437. }
  8438. },
  8439. "500": {
  8440. "description": "Internal Server Error",
  8441. "schema": {
  8442. "$ref": "#/definitions/app.Response"
  8443. }
  8444. }
  8445. }
  8446. }
  8447. },
  8448. "/TaAccount/QueryHisAmountLog": {
  8449. "get": {
  8450. "security": [
  8451. {
  8452. "ApiKeyAuth": []
  8453. }
  8454. ],
  8455. "produces": [
  8456. "application/json"
  8457. ],
  8458. "tags": [
  8459. "资金账户"
  8460. ],
  8461. "summary": "资金流水查询(历史)",
  8462. "parameters": [
  8463. {
  8464. "type": "integer",
  8465. "description": "页码",
  8466. "name": "page",
  8467. "in": "query"
  8468. },
  8469. {
  8470. "type": "integer",
  8471. "description": "每页条数",
  8472. "name": "pagesize",
  8473. "in": "query"
  8474. },
  8475. {
  8476. "type": "string",
  8477. "description": "资金账户 - 格式:1,2,3",
  8478. "name": "accountID",
  8479. "in": "query",
  8480. "required": true
  8481. },
  8482. {
  8483. "type": "string",
  8484. "description": "资金操作类型 - 格式:1,2,3",
  8485. "name": "OperateType",
  8486. "in": "query"
  8487. },
  8488. {
  8489. "type": "string",
  8490. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8491. "name": "startDate",
  8492. "in": "query"
  8493. },
  8494. {
  8495. "type": "string",
  8496. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8497. "name": "endDate",
  8498. "in": "query"
  8499. }
  8500. ],
  8501. "responses": {
  8502. "200": {
  8503. "description": "OK",
  8504. "schema": {
  8505. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8506. }
  8507. },
  8508. "500": {
  8509. "description": "Internal Server Error",
  8510. "schema": {
  8511. "$ref": "#/definitions/app.Response"
  8512. }
  8513. }
  8514. }
  8515. }
  8516. },
  8517. "/Trade/QueryRecieptOrder": {
  8518. "get": {
  8519. "security": [
  8520. {
  8521. "ApiKeyAuth": []
  8522. }
  8523. ],
  8524. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8525. "produces": [
  8526. "application/json"
  8527. ],
  8528. "tags": [
  8529. "通用交易"
  8530. ],
  8531. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8532. "parameters": [
  8533. {
  8534. "type": "integer",
  8535. "description": "页码",
  8536. "name": "page",
  8537. "in": "query"
  8538. },
  8539. {
  8540. "type": "integer",
  8541. "description": "每页条数",
  8542. "name": "pagesize",
  8543. "in": "query"
  8544. },
  8545. {
  8546. "type": "integer",
  8547. "description": "商品ID",
  8548. "name": "goodsID",
  8549. "in": "query",
  8550. "required": true
  8551. },
  8552. {
  8553. "type": "string",
  8554. "description": "所属账户名称",
  8555. "name": "accountName",
  8556. "in": "query"
  8557. },
  8558. {
  8559. "type": "integer",
  8560. "description": "市场ID",
  8561. "name": "marketID",
  8562. "in": "query"
  8563. },
  8564. {
  8565. "type": "integer",
  8566. "description": "方向 - 0:买 1:卖",
  8567. "name": "buyorsell",
  8568. "in": "query",
  8569. "required": true
  8570. }
  8571. ],
  8572. "responses": {
  8573. "200": {
  8574. "description": "OK",
  8575. "schema": {
  8576. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8577. }
  8578. },
  8579. "500": {
  8580. "description": "Internal Server Error",
  8581. "schema": {
  8582. "$ref": "#/definitions/app.Response"
  8583. }
  8584. }
  8585. }
  8586. }
  8587. },
  8588. "/User/AddMessageBoard": {
  8589. "post": {
  8590. "security": [
  8591. {
  8592. "ApiKeyAuth": []
  8593. }
  8594. ],
  8595. "produces": [
  8596. "application/json"
  8597. ],
  8598. "tags": [
  8599. "用户信息"
  8600. ],
  8601. "summary": "添加用户留言板信息",
  8602. "parameters": [
  8603. {
  8604. "type": "integer",
  8605. "description": "用户ID",
  8606. "name": "userID",
  8607. "in": "query",
  8608. "required": true
  8609. },
  8610. {
  8611. "type": "string",
  8612. "description": "留言信息",
  8613. "name": "message",
  8614. "in": "query",
  8615. "required": true
  8616. },
  8617. {
  8618. "type": "string",
  8619. "description": "联系电话",
  8620. "name": "contactNum",
  8621. "in": "query",
  8622. "required": true
  8623. }
  8624. ],
  8625. "responses": {
  8626. "200": {
  8627. "description": "OK",
  8628. "schema": {
  8629. "$ref": "#/definitions/app.Response"
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/User/AddUserFavoriteGoods": {
  8642. "post": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. }
  8647. ],
  8648. "produces": [
  8649. "application/json"
  8650. ],
  8651. "tags": [
  8652. "用户信息"
  8653. ],
  8654. "summary": "添加用户商品收藏信息",
  8655. "parameters": [
  8656. {
  8657. "type": "integer",
  8658. "description": "用户ID",
  8659. "name": "userID",
  8660. "in": "query",
  8661. "required": true
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "商品ID",
  8666. "name": "goodsID",
  8667. "in": "query",
  8668. "required": true
  8669. }
  8670. ],
  8671. "responses": {
  8672. "200": {
  8673. "description": "OK",
  8674. "schema": {
  8675. "$ref": "#/definitions/app.Response"
  8676. }
  8677. },
  8678. "500": {
  8679. "description": "Internal Server Error",
  8680. "schema": {
  8681. "$ref": "#/definitions/app.Response"
  8682. }
  8683. }
  8684. }
  8685. }
  8686. },
  8687. "/User/GetLoginID": {
  8688. "get": {
  8689. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8690. "produces": [
  8691. "application/json"
  8692. ],
  8693. "tags": [
  8694. "用户信息"
  8695. ],
  8696. "summary": "获取登录ID",
  8697. "parameters": [
  8698. {
  8699. "type": "string",
  8700. "description": "登录代码",
  8701. "name": "username",
  8702. "in": "query",
  8703. "required": true
  8704. }
  8705. ],
  8706. "responses": {
  8707. "200": {
  8708. "description": "OK",
  8709. "schema": {
  8710. "$ref": "#/definitions/app.Response"
  8711. }
  8712. },
  8713. "500": {
  8714. "description": "Internal Server Error",
  8715. "schema": {
  8716. "$ref": "#/definitions/app.Response"
  8717. }
  8718. }
  8719. }
  8720. }
  8721. },
  8722. "/User/GetUserAccount": {
  8723. "get": {
  8724. "security": [
  8725. {
  8726. "ApiKeyAuth": []
  8727. }
  8728. ],
  8729. "produces": [
  8730. "application/json"
  8731. ],
  8732. "tags": [
  8733. "用户信息"
  8734. ],
  8735. "summary": "获取用户账号信息",
  8736. "parameters": [
  8737. {
  8738. "type": "integer",
  8739. "description": "用户ID",
  8740. "name": "userID",
  8741. "in": "query",
  8742. "required": true
  8743. }
  8744. ],
  8745. "responses": {
  8746. "200": {
  8747. "description": "OK",
  8748. "schema": {
  8749. "$ref": "#/definitions/models.Useraccount"
  8750. }
  8751. },
  8752. "500": {
  8753. "description": "Internal Server Error",
  8754. "schema": {
  8755. "$ref": "#/definitions/app.Response"
  8756. }
  8757. }
  8758. }
  8759. }
  8760. },
  8761. "/User/GetUserAuthStatus": {
  8762. "get": {
  8763. "security": [
  8764. {
  8765. "ApiKeyAuth": []
  8766. }
  8767. ],
  8768. "produces": [
  8769. "application/json"
  8770. ],
  8771. "tags": [
  8772. "用户信息"
  8773. ],
  8774. "summary": "获取用户实名认证状态",
  8775. "parameters": [
  8776. {
  8777. "type": "integer",
  8778. "description": "用户ID",
  8779. "name": "userID",
  8780. "in": "query",
  8781. "required": true
  8782. }
  8783. ],
  8784. "responses": {
  8785. "200": {
  8786. "description": "OK",
  8787. "schema": {
  8788. "$ref": "#/definitions/app.Response"
  8789. }
  8790. },
  8791. "500": {
  8792. "description": "Internal Server Error",
  8793. "schema": {
  8794. "$ref": "#/definitions/app.Response"
  8795. }
  8796. }
  8797. }
  8798. }
  8799. },
  8800. "/User/LoginQuery": {
  8801. "get": {
  8802. "security": [
  8803. {
  8804. "ApiKeyAuth": []
  8805. }
  8806. ],
  8807. "produces": [
  8808. "application/json"
  8809. ],
  8810. "tags": [
  8811. "用户信息"
  8812. ],
  8813. "summary": "账户登录后信息查询",
  8814. "parameters": [
  8815. {
  8816. "type": "integer",
  8817. "description": "登录账号",
  8818. "name": "loginID",
  8819. "in": "query",
  8820. "required": true
  8821. }
  8822. ],
  8823. "responses": {
  8824. "200": {
  8825. "description": "OK",
  8826. "schema": {
  8827. "$ref": "#/definitions/user.LoginQueryRsp"
  8828. }
  8829. },
  8830. "500": {
  8831. "description": "Internal Server Error",
  8832. "schema": {
  8833. "$ref": "#/definitions/app.Response"
  8834. }
  8835. }
  8836. }
  8837. }
  8838. },
  8839. "/User/QueryMessageBoard": {
  8840. "get": {
  8841. "security": [
  8842. {
  8843. "ApiKeyAuth": []
  8844. }
  8845. ],
  8846. "produces": [
  8847. "application/json"
  8848. ],
  8849. "tags": [
  8850. "用户信息"
  8851. ],
  8852. "summary": "获取用户留言板信息",
  8853. "parameters": [
  8854. {
  8855. "type": "integer",
  8856. "description": "用户ID",
  8857. "name": "userID",
  8858. "in": "query",
  8859. "required": true
  8860. }
  8861. ],
  8862. "responses": {
  8863. "200": {
  8864. "description": "OK",
  8865. "schema": {
  8866. "$ref": "#/definitions/models.Messageboard"
  8867. }
  8868. },
  8869. "500": {
  8870. "description": "Internal Server Error",
  8871. "schema": {
  8872. "$ref": "#/definitions/app.Response"
  8873. }
  8874. }
  8875. }
  8876. }
  8877. },
  8878. "/User/QueryUserFavoriteGoodses": {
  8879. "get": {
  8880. "security": [
  8881. {
  8882. "ApiKeyAuth": []
  8883. }
  8884. ],
  8885. "produces": [
  8886. "application/json"
  8887. ],
  8888. "tags": [
  8889. "用户信息"
  8890. ],
  8891. "summary": "获取用户商品收藏信息",
  8892. "parameters": [
  8893. {
  8894. "type": "integer",
  8895. "description": "用户ID",
  8896. "name": "userID",
  8897. "in": "query",
  8898. "required": true
  8899. }
  8900. ],
  8901. "responses": {
  8902. "200": {
  8903. "description": "OK",
  8904. "schema": {
  8905. "$ref": "#/definitions/models.Userfavoritegoods"
  8906. }
  8907. },
  8908. "500": {
  8909. "description": "Internal Server Error",
  8910. "schema": {
  8911. "$ref": "#/definitions/app.Response"
  8912. }
  8913. }
  8914. }
  8915. }
  8916. },
  8917. "/User/QueryUserInfo": {
  8918. "get": {
  8919. "security": [
  8920. {
  8921. "ApiKeyAuth": []
  8922. }
  8923. ],
  8924. "produces": [
  8925. "application/json"
  8926. ],
  8927. "tags": [
  8928. "用户信息"
  8929. ],
  8930. "summary": "获取用户信息",
  8931. "parameters": [
  8932. {
  8933. "type": "integer",
  8934. "description": "用户ID",
  8935. "name": "userID",
  8936. "in": "query",
  8937. "required": true
  8938. },
  8939. {
  8940. "type": "boolean",
  8941. "description": "是否解密",
  8942. "name": "isDecrypt",
  8943. "in": "query"
  8944. }
  8945. ],
  8946. "responses": {
  8947. "200": {
  8948. "description": "OK",
  8949. "schema": {
  8950. "$ref": "#/definitions/models.Userinfo"
  8951. }
  8952. },
  8953. "500": {
  8954. "description": "Internal Server Error",
  8955. "schema": {
  8956. "$ref": "#/definitions/app.Response"
  8957. }
  8958. }
  8959. }
  8960. }
  8961. },
  8962. "/User/QueryUserReferNum": {
  8963. "get": {
  8964. "produces": [
  8965. "application/json"
  8966. ],
  8967. "tags": [
  8968. "用户信息"
  8969. ],
  8970. "summary": "获取用户邀请码",
  8971. "parameters": [
  8972. {
  8973. "type": "integer",
  8974. "description": "用户ID",
  8975. "name": "userID",
  8976. "in": "query",
  8977. "required": true
  8978. }
  8979. ],
  8980. "responses": {
  8981. "200": {
  8982. "description": "OK",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. },
  8987. "500": {
  8988. "description": "Internal Server Error",
  8989. "schema": {
  8990. "$ref": "#/definitions/app.Response"
  8991. }
  8992. }
  8993. }
  8994. }
  8995. },
  8996. "/User/RemoveUserFavoriteGoods": {
  8997. "post": {
  8998. "security": [
  8999. {
  9000. "ApiKeyAuth": []
  9001. }
  9002. ],
  9003. "produces": [
  9004. "application/json"
  9005. ],
  9006. "tags": [
  9007. "用户信息"
  9008. ],
  9009. "summary": "移除用户商品收藏信息",
  9010. "parameters": [
  9011. {
  9012. "type": "integer",
  9013. "description": "用户ID",
  9014. "name": "userID",
  9015. "in": "query",
  9016. "required": true
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "商品ID",
  9021. "name": "goodsID",
  9022. "in": "query",
  9023. "required": true
  9024. }
  9025. ],
  9026. "responses": {
  9027. "200": {
  9028. "description": "OK",
  9029. "schema": {
  9030. "$ref": "#/definitions/app.Response"
  9031. }
  9032. },
  9033. "500": {
  9034. "description": "Internal Server Error",
  9035. "schema": {
  9036. "$ref": "#/definitions/app.Response"
  9037. }
  9038. }
  9039. }
  9040. }
  9041. },
  9042. "/User/UpdateUserAccountStatus": {
  9043. "post": {
  9044. "security": [
  9045. {
  9046. "ApiKeyAuth": []
  9047. }
  9048. ],
  9049. "produces": [
  9050. "application/json"
  9051. ],
  9052. "tags": [
  9053. "用户信息"
  9054. ],
  9055. "summary": "更新用户状态",
  9056. "parameters": [
  9057. {
  9058. "type": "integer",
  9059. "description": "用户ID",
  9060. "name": "userID",
  9061. "in": "query",
  9062. "required": true
  9063. },
  9064. {
  9065. "type": "integer",
  9066. "description": "账户状态 - 4:正常 6:注销(停用)",
  9067. "name": "accountStatus",
  9068. "in": "query",
  9069. "required": true
  9070. }
  9071. ],
  9072. "responses": {
  9073. "200": {
  9074. "description": "OK",
  9075. "schema": {
  9076. "$ref": "#/definitions/app.Response"
  9077. }
  9078. },
  9079. "500": {
  9080. "description": "Internal Server Error",
  9081. "schema": {
  9082. "$ref": "#/definitions/app.Response"
  9083. }
  9084. }
  9085. }
  9086. }
  9087. },
  9088. "/WRTrade/GetAllDeliveryGoods": {
  9089. "get": {
  9090. "security": [
  9091. {
  9092. "ApiKeyAuth": []
  9093. },
  9094. {
  9095. "ApiKeyAuth": []
  9096. }
  9097. ],
  9098. "produces": [
  9099. "application/json",
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "仓单贸易",
  9104. "仓单贸易"
  9105. ],
  9106. "summary": "获取带仓单分类的种类信息",
  9107. "responses": {
  9108. "200": {
  9109. "description": "OK",
  9110. "schema": {
  9111. "$ref": "#/definitions/app.Response"
  9112. }
  9113. },
  9114. "500": {
  9115. "description": "Internal Server Error",
  9116. "schema": {
  9117. "$ref": "#/definitions/app.Response"
  9118. }
  9119. }
  9120. }
  9121. }
  9122. }
  9123. },
  9124. "definitions": {
  9125. "app.Response": {
  9126. "type": "object",
  9127. "properties": {
  9128. "code": {
  9129. "type": "integer"
  9130. },
  9131. "data": {
  9132. "type": "object"
  9133. },
  9134. "msg": {
  9135. "type": "string"
  9136. },
  9137. "page": {
  9138. "description": "页码",
  9139. "type": "integer"
  9140. },
  9141. "pagesize": {
  9142. "description": "每页条数",
  9143. "type": "integer"
  9144. },
  9145. "total": {
  9146. "description": "总条数",
  9147. "type": "integer"
  9148. }
  9149. }
  9150. },
  9151. "common.ClientMenu": {
  9152. "type": "object",
  9153. "properties": {
  9154. "children": {
  9155. "description": "子菜单列表",
  9156. "type": "array",
  9157. "items": {
  9158. "$ref": "#/definitions/common.ClientMenu"
  9159. }
  9160. },
  9161. "code": {
  9162. "description": "ID",
  9163. "type": "string"
  9164. },
  9165. "isshow": {
  9166. "description": "是否显示",
  9167. "type": "boolean"
  9168. },
  9169. "rulekey": {
  9170. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9171. "type": "string"
  9172. },
  9173. "sort": {
  9174. "description": "排序",
  9175. "type": "integer"
  9176. },
  9177. "title": {
  9178. "description": "标题",
  9179. "type": "string"
  9180. },
  9181. "type": {
  9182. "description": "类型,1:菜单 2:按钮",
  9183. "type": "integer"
  9184. }
  9185. }
  9186. },
  9187. "common.QueryImageConfigsRsp": {
  9188. "type": "object",
  9189. "required": [
  9190. "configid"
  9191. ],
  9192. "properties": {
  9193. "areauserid": {
  9194. "description": "所属机构ID",
  9195. "type": "integer"
  9196. },
  9197. "configid": {
  9198. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9199. "type": "integer"
  9200. },
  9201. "createdate": {
  9202. "description": "创建时间",
  9203. "type": "string"
  9204. },
  9205. "creatorid": {
  9206. "description": "创建人",
  9207. "type": "integer"
  9208. },
  9209. "imagepath": {
  9210. "description": "图片",
  9211. "type": "string"
  9212. },
  9213. "imagetype": {
  9214. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9215. "type": "integer"
  9216. },
  9217. "isshow": {
  9218. "description": "是否展示 - 0:不展示 1:展示",
  9219. "type": "integer"
  9220. },
  9221. "marketid": {
  9222. "description": "市场ID",
  9223. "type": "integer"
  9224. },
  9225. "modifierid": {
  9226. "description": "操作人",
  9227. "type": "integer"
  9228. },
  9229. "sort": {
  9230. "description": "排序",
  9231. "type": "integer"
  9232. },
  9233. "title": {
  9234. "description": "标题",
  9235. "type": "string"
  9236. },
  9237. "trademode": {
  9238. "description": "交易模式",
  9239. "type": "integer"
  9240. },
  9241. "updatedate": {
  9242. "description": "修改时间",
  9243. "type": "string"
  9244. },
  9245. "url": {
  9246. "description": "链接(地址或商品ID)",
  9247. "type": "string"
  9248. },
  9249. "urltype": {
  9250. "description": "链接类型 - 1:直接地址 2:商品ID",
  9251. "type": "integer"
  9252. }
  9253. }
  9254. },
  9255. "common.QueryNoticeRsp": {
  9256. "type": "object",
  9257. "required": [
  9258. "autoid"
  9259. ],
  9260. "properties": {
  9261. "auditoruserid": {
  9262. "description": "审核人",
  9263. "type": "integer"
  9264. },
  9265. "auditremark": {
  9266. "description": "审核备注",
  9267. "type": "string"
  9268. },
  9269. "audittime": {
  9270. "description": "审核日期",
  9271. "type": "string"
  9272. },
  9273. "autoid": {
  9274. "description": "自增ID",
  9275. "type": "integer"
  9276. },
  9277. "content": {
  9278. "description": "内容",
  9279. "type": "string"
  9280. },
  9281. "createtime": {
  9282. "description": "创建时间",
  9283. "type": "string"
  9284. },
  9285. "creatorid": {
  9286. "description": "建仓人",
  9287. "type": "integer"
  9288. },
  9289. "endtime": {
  9290. "description": "结束时间",
  9291. "type": "string"
  9292. },
  9293. "istop": {
  9294. "description": "是否置顶 - 0:不置顶 1:置顶",
  9295. "type": "integer"
  9296. },
  9297. "msgiconurl": {
  9298. "description": "消息图标Url",
  9299. "type": "string"
  9300. },
  9301. "msgtype": {
  9302. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9303. "type": "integer"
  9304. },
  9305. "publisher": {
  9306. "description": "消息发布者",
  9307. "type": "string"
  9308. },
  9309. "readed": {
  9310. "description": "是否已读",
  9311. "type": "boolean"
  9312. },
  9313. "scheduletime": {
  9314. "description": "计划发送时间",
  9315. "type": "string"
  9316. },
  9317. "sendtype": {
  9318. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9319. "type": "integer"
  9320. },
  9321. "sentstatus": {
  9322. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9323. "type": "integer"
  9324. },
  9325. "title": {
  9326. "description": "标题",
  9327. "type": "string"
  9328. },
  9329. "userid": {
  9330. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9331. "type": "integer"
  9332. }
  9333. }
  9334. },
  9335. "common.QueryProvincesAndCitiesRsp": {
  9336. "type": "object",
  9337. "properties": {
  9338. "cities": {
  9339. "description": "市",
  9340. "type": "array",
  9341. "items": {
  9342. "$ref": "#/definitions/models.Division"
  9343. }
  9344. },
  9345. "province": {
  9346. "description": "省",
  9347. "type": "object",
  9348. "$ref": "#/definitions/models.Division"
  9349. }
  9350. }
  9351. },
  9352. "common.QueryTableDefineRsp": {
  9353. "type": "object",
  9354. "required": [
  9355. "tablekey"
  9356. ],
  9357. "properties": {
  9358. "columns": {
  9359. "description": "列头信息数组",
  9360. "type": "array",
  9361. "items": {
  9362. "$ref": "#/definitions/models.Tablecolumnconfig"
  9363. }
  9364. },
  9365. "remark": {
  9366. "description": "Remark",
  9367. "type": "string"
  9368. },
  9369. "tabelmenu": {
  9370. "description": "列表菜单",
  9371. "type": "string"
  9372. },
  9373. "tablekey": {
  9374. "description": "列表Key",
  9375. "type": "string"
  9376. },
  9377. "tablename": {
  9378. "description": "列表名称",
  9379. "type": "string"
  9380. },
  9381. "tabletype": {
  9382. "description": "列表类型 - 1:管理端 2:终端",
  9383. "type": "integer"
  9384. }
  9385. }
  9386. },
  9387. "common.QueryTraderMenuRsp": {
  9388. "type": "object",
  9389. "properties": {
  9390. "OperationMenu": {
  9391. "description": "功能菜单",
  9392. "type": "array",
  9393. "items": {
  9394. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9395. }
  9396. },
  9397. "QuoteMenu": {
  9398. "description": "报价牌分类菜单",
  9399. "type": "array",
  9400. "items": {
  9401. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9402. }
  9403. }
  9404. }
  9405. },
  9406. "cptrade.Cptradepositioncancel": {
  9407. "type": "object",
  9408. "required": [
  9409. "cancelid"
  9410. ],
  9411. "properties": {
  9412. "accountid": {
  9413. "description": "申请人账户ID",
  9414. "type": "integer"
  9415. },
  9416. "applystatus": {
  9417. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9418. "type": "integer"
  9419. },
  9420. "applytime": {
  9421. "description": "申请时间",
  9422. "type": "string"
  9423. },
  9424. "cancelid": {
  9425. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9426. "type": "integer"
  9427. },
  9428. "cancelqty": {
  9429. "description": "注销数量",
  9430. "type": "integer"
  9431. },
  9432. "createtime": {
  9433. "description": "创建时间",
  9434. "type": "string"
  9435. },
  9436. "creatorid": {
  9437. "description": "创建人ID",
  9438. "type": "integer"
  9439. },
  9440. "creatorname": {
  9441. "description": "创建人",
  9442. "type": "string"
  9443. },
  9444. "goodscode": {
  9445. "description": "订单商品代码",
  9446. "type": "string"
  9447. },
  9448. "goodsid": {
  9449. "description": "商品ID",
  9450. "type": "integer"
  9451. },
  9452. "goodsname": {
  9453. "description": "订单商品名称",
  9454. "type": "string"
  9455. },
  9456. "goodunit": {
  9457. "description": "报价单位",
  9458. "type": "string"
  9459. },
  9460. "handlestatus": {
  9461. "description": "处理状态",
  9462. "type": "integer"
  9463. },
  9464. "marketid": {
  9465. "description": "市场ID",
  9466. "type": "integer"
  9467. },
  9468. "marketname": {
  9469. "description": "市场名称",
  9470. "type": "string"
  9471. },
  9472. "tradedate": {
  9473. "description": "交易日(yyyyMMdd)",
  9474. "type": "string"
  9475. },
  9476. "userid": {
  9477. "description": "申请人ID",
  9478. "type": "integer"
  9479. }
  9480. }
  9481. },
  9482. "cptrade.Cptradepresaleapply": {
  9483. "type": "object",
  9484. "required": [
  9485. "applyid"
  9486. ],
  9487. "properties": {
  9488. "accountid": {
  9489. "description": "申请人账户ID",
  9490. "type": "integer"
  9491. },
  9492. "applyid": {
  9493. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9494. "type": "integer"
  9495. },
  9496. "applyremark": {
  9497. "description": "申请备注",
  9498. "type": "string"
  9499. },
  9500. "applystatus": {
  9501. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9502. "type": "integer"
  9503. },
  9504. "applytime": {
  9505. "description": "申请时间",
  9506. "type": "string"
  9507. },
  9508. "attachmenturl": {
  9509. "description": "附件地址",
  9510. "type": "string"
  9511. },
  9512. "endtime": {
  9513. "description": "预售结束时间",
  9514. "type": "string"
  9515. },
  9516. "goodscode": {
  9517. "description": "商品代码",
  9518. "type": "string"
  9519. },
  9520. "goodsid": {
  9521. "description": "商品ID",
  9522. "type": "integer"
  9523. },
  9524. "goodsname": {
  9525. "description": "商品名称",
  9526. "type": "string"
  9527. },
  9528. "goodunit": {
  9529. "description": "报价单位",
  9530. "type": "string"
  9531. },
  9532. "handlestatus": {
  9533. "description": "处理状态",
  9534. "type": "integer"
  9535. },
  9536. "marketid": {
  9537. "description": "预售市场ID",
  9538. "type": "integer"
  9539. },
  9540. "marketname": {
  9541. "description": "预售市场名称",
  9542. "type": "string"
  9543. },
  9544. "presaleqty": {
  9545. "description": "预售数量",
  9546. "type": "integer"
  9547. },
  9548. "relatedgoodscode": {
  9549. "description": "关联交易合约代码",
  9550. "type": "string"
  9551. },
  9552. "relatedgoodsid": {
  9553. "description": "关联交易合约ID",
  9554. "type": "integer"
  9555. },
  9556. "relatedgoodsname": {
  9557. "description": "关联交易合约名称",
  9558. "type": "string"
  9559. },
  9560. "starttime": {
  9561. "description": "预售开始时间",
  9562. "type": "string"
  9563. },
  9564. "tradedate": {
  9565. "description": "交易日(yyyyMMdd)",
  9566. "type": "string"
  9567. },
  9568. "trademode": {
  9569. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9570. "type": "integer"
  9571. },
  9572. "userid": {
  9573. "description": "申请人ID",
  9574. "type": "integer"
  9575. }
  9576. }
  9577. },
  9578. "cptrade.Cptradeusergoodsdata": {
  9579. "type": "object",
  9580. "required": [
  9581. "accountid",
  9582. "goodsid"
  9583. ],
  9584. "properties": {
  9585. "EnabledQty": {
  9586. "description": "可用量",
  9587. "type": "integer"
  9588. },
  9589. "GoodsCode": {
  9590. "description": "订单商品代码",
  9591. "type": "string"
  9592. },
  9593. "GoodsName": {
  9594. "description": "订单商品名称",
  9595. "type": "string"
  9596. },
  9597. "WRStandardCode": {
  9598. "description": "仓单标准代码",
  9599. "type": "string"
  9600. },
  9601. "WRStandardName": {
  9602. "description": "仓单标准名称",
  9603. "type": "string"
  9604. },
  9605. "accountid": {
  9606. "description": "账户ID",
  9607. "type": "integer"
  9608. },
  9609. "cancelqty": {
  9610. "description": "注销量",
  9611. "type": "integer"
  9612. },
  9613. "curpresaleqty": {
  9614. "description": "当前预售量",
  9615. "type": "integer"
  9616. },
  9617. "deliveryqty": {
  9618. "description": "交割量",
  9619. "type": "integer"
  9620. },
  9621. "freezeamount": {
  9622. "description": "冻结金额",
  9623. "type": "number"
  9624. },
  9625. "goodsid": {
  9626. "description": "商品ID",
  9627. "type": "integer"
  9628. },
  9629. "goodunit": {
  9630. "description": "报价单位",
  9631. "type": "string"
  9632. },
  9633. "hasspotfreeze": {
  9634. "description": "是否有现货冻结 - 0:否 1:有",
  9635. "type": "integer"
  9636. },
  9637. "inqty": {
  9638. "description": "转入量(总数量)",
  9639. "type": "integer"
  9640. },
  9641. "marketid": {
  9642. "description": "市场ID",
  9643. "type": "integer"
  9644. },
  9645. "presaledamount": {
  9646. "description": "已预售总金额",
  9647. "type": "integer"
  9648. },
  9649. "presaledqty": {
  9650. "description": "已预售量",
  9651. "type": "integer"
  9652. },
  9653. "userid": {
  9654. "description": "用户ID",
  9655. "type": "integer"
  9656. },
  9657. "wrstandardid": {
  9658. "description": "仓单标准ID",
  9659. "type": "integer"
  9660. }
  9661. }
  9662. },
  9663. "cptrade.QueryCPTradeMyBidRsp": {
  9664. "type": "object",
  9665. "required": [
  9666. "accountid",
  9667. "goodsid",
  9668. "marketid",
  9669. "orderid",
  9670. "orderqty",
  9671. "ordertime",
  9672. "tradeprice",
  9673. "tradeqty"
  9674. ],
  9675. "properties": {
  9676. "accountid": {
  9677. "description": "账户ID[报价币种]",
  9678. "type": "integer"
  9679. },
  9680. "goodsid": {
  9681. "description": "商品ID",
  9682. "type": "integer"
  9683. },
  9684. "goodunit": {
  9685. "description": "报价单位",
  9686. "type": "string"
  9687. },
  9688. "marketid": {
  9689. "description": "市场ID",
  9690. "type": "integer"
  9691. },
  9692. "orderid": {
  9693. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9694. "type": "integer"
  9695. },
  9696. "orderprice": {
  9697. "description": "委托价格",
  9698. "type": "number"
  9699. },
  9700. "orderqty": {
  9701. "description": "委托数量",
  9702. "type": "integer"
  9703. },
  9704. "ordertime": {
  9705. "description": "委托时间",
  9706. "type": "string"
  9707. },
  9708. "ordertotalprice": {
  9709. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9710. "type": "number"
  9711. },
  9712. "ordertotalweight": {
  9713. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9714. "type": "integer"
  9715. },
  9716. "totaltotalprice": {
  9717. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9718. "type": "number"
  9719. },
  9720. "tradeprice": {
  9721. "description": "成交价格",
  9722. "type": "number"
  9723. },
  9724. "tradeqty": {
  9725. "description": "成交数量",
  9726. "type": "integer"
  9727. }
  9728. }
  9729. },
  9730. "cptrade.QueryCPTradeOrderDetailRsq": {
  9731. "type": "object",
  9732. "required": [
  9733. "accountid",
  9734. "buildtype",
  9735. "buyorsell",
  9736. "goodsid",
  9737. "marketid",
  9738. "memberuserid",
  9739. "operatetype",
  9740. "orderqty",
  9741. "ordertime",
  9742. "pricemode",
  9743. "strorderid",
  9744. "tradedate",
  9745. "validtype"
  9746. ],
  9747. "properties": {
  9748. "accountid": {
  9749. "description": "账户ID[报价币种]",
  9750. "type": "integer"
  9751. },
  9752. "buildtype": {
  9753. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9754. "type": "integer"
  9755. },
  9756. "buyorsell": {
  9757. "description": "买卖 - 0:买 1:卖",
  9758. "type": "integer"
  9759. },
  9760. "cancelorderid": {
  9761. "description": "撤单单号(撤单时填写)",
  9762. "type": "integer"
  9763. },
  9764. "cancelqty": {
  9765. "description": "撤单数量",
  9766. "type": "integer"
  9767. },
  9768. "clientordertime": {
  9769. "description": "客户端委托时间",
  9770. "type": "string"
  9771. },
  9772. "clientticket": {
  9773. "description": "客户端流水号",
  9774. "type": "string"
  9775. },
  9776. "clienttype": {
  9777. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9778. "type": "integer"
  9779. },
  9780. "closeexchagechargevalue": {
  9781. "description": "平仓交易所手续费设置值",
  9782. "type": "number"
  9783. },
  9784. "closefeealgorithm": {
  9785. "description": "平仓手续费收取方式 1:比率 2:固定",
  9786. "type": "integer"
  9787. },
  9788. "closefreezecharge": {
  9789. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9790. "type": "number"
  9791. },
  9792. "closememberchargevalue": {
  9793. "description": "平仓会员手续费设置值",
  9794. "type": "number"
  9795. },
  9796. "closeqty": {
  9797. "description": "平仓数量(先建后平操作 需要记录)",
  9798. "type": "integer"
  9799. },
  9800. "closetradeqty": {
  9801. "description": "平仓成交数量(先建后平操作,需要记录)",
  9802. "type": "integer"
  9803. },
  9804. "closeunfreezecharge": {
  9805. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9806. "type": "number"
  9807. },
  9808. "delistingtype": {
  9809. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9810. "type": "integer"
  9811. },
  9812. "freezecharge": {
  9813. "description": "冻结手续费",
  9814. "type": "number"
  9815. },
  9816. "freezemargin": {
  9817. "description": "冻结保证金(冻结交易金额)",
  9818. "type": "number"
  9819. },
  9820. "gcaccountid": {
  9821. "description": "账户ID[合约币种]",
  9822. "type": "integer"
  9823. },
  9824. "goodsid": {
  9825. "description": "商品ID",
  9826. "type": "integer"
  9827. },
  9828. "isconfirmexercise": {
  9829. "description": "是否确认行权- 0:否 1:是",
  9830. "type": "integer"
  9831. },
  9832. "ispreexercise": {
  9833. "description": "是否预申报- 0:否 1:是",
  9834. "type": "integer"
  9835. },
  9836. "listingselecttype": {
  9837. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9838. "type": "integer"
  9839. },
  9840. "marginalgorithm": {
  9841. "description": "保证金收取方式 1:比率 2:固定",
  9842. "type": "integer"
  9843. },
  9844. "marginvalue": {
  9845. "description": "即市保证金设置值",
  9846. "type": "number"
  9847. },
  9848. "marketid": {
  9849. "description": "市场ID",
  9850. "type": "integer"
  9851. },
  9852. "marketmaxsub": {
  9853. "description": "市价最大偏移范围",
  9854. "type": "number"
  9855. },
  9856. "memberuserid": {
  9857. "description": "所属会员UserID",
  9858. "type": "integer"
  9859. },
  9860. "openexchagechargevalue": {
  9861. "description": "建仓交易所手续费设置值",
  9862. "type": "number"
  9863. },
  9864. "openfeealgorithm": {
  9865. "description": "建仓手续费收取方式 1:比率 2:固定",
  9866. "type": "integer"
  9867. },
  9868. "openfreezecharge": {
  9869. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9870. "type": "number"
  9871. },
  9872. "openmemberchargevalue": {
  9873. "description": "建仓会员手续费设置值",
  9874. "type": "number"
  9875. },
  9876. "openqty": {
  9877. "description": "开仓数量(先建后平操作,需要记录)",
  9878. "type": "integer"
  9879. },
  9880. "opentradeqty": {
  9881. "description": "开仓成交数量(先建后平操作,需要记录)",
  9882. "type": "integer"
  9883. },
  9884. "openunfreezecharge": {
  9885. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9886. "type": "number"
  9887. },
  9888. "operatetype": {
  9889. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9890. "type": "integer"
  9891. },
  9892. "operatorid": {
  9893. "description": "登录账号(LoginID)",
  9894. "type": "integer"
  9895. },
  9896. "optiontype": {
  9897. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9898. "type": "integer"
  9899. },
  9900. "orderprice": {
  9901. "description": "委托价格",
  9902. "type": "number"
  9903. },
  9904. "orderqty": {
  9905. "description": "委托数量",
  9906. "type": "integer"
  9907. },
  9908. "ordersrc": {
  9909. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9910. "type": "integer"
  9911. },
  9912. "orderstatus": {
  9913. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9914. "type": "integer"
  9915. },
  9916. "ordertime": {
  9917. "description": "委托时间",
  9918. "type": "string"
  9919. },
  9920. "preexerciseprice": {
  9921. "description": "预申报价格",
  9922. "type": "number"
  9923. },
  9924. "premium": {
  9925. "description": "权利金",
  9926. "type": "number"
  9927. },
  9928. "preorderid": {
  9929. "description": "关联预埋单号(止盈止损单时填写)",
  9930. "type": "integer"
  9931. },
  9932. "pricemode": {
  9933. "description": "取价方式 - 1:市价 2: 限价",
  9934. "type": "integer"
  9935. },
  9936. "quoteid": {
  9937. "description": "报价单ID",
  9938. "type": "integer"
  9939. },
  9940. "relatedid": {
  9941. "description": "关联单号(交割单)",
  9942. "type": "integer"
  9943. },
  9944. "retcode": {
  9945. "description": "错误代码",
  9946. "type": "integer"
  9947. },
  9948. "sessionid": {
  9949. "description": "会话ID",
  9950. "type": "integer"
  9951. },
  9952. "strorderid": {
  9953. "description": "委托单号",
  9954. "type": "string"
  9955. },
  9956. "tradedate": {
  9957. "description": "交易日(yyyyMMdd)",
  9958. "type": "string"
  9959. },
  9960. "tradeproperty": {
  9961. "description": "交易属性",
  9962. "type": "integer"
  9963. },
  9964. "tradeqty": {
  9965. "description": "成交数量",
  9966. "type": "integer"
  9967. },
  9968. "unfreezecharge": {
  9969. "description": "解冻手续费",
  9970. "type": "number"
  9971. },
  9972. "unfreezemargin": {
  9973. "description": "解冻保证金",
  9974. "type": "number"
  9975. },
  9976. "updatetime": {
  9977. "description": "更新时间",
  9978. "type": "string"
  9979. },
  9980. "uuid": {
  9981. "description": "发起端唯一id",
  9982. "type": "string"
  9983. },
  9984. "validtime": {
  9985. "description": "有效期限",
  9986. "type": "string"
  9987. },
  9988. "validtype": {
  9989. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9990. "type": "integer"
  9991. },
  9992. "volumetype": {
  9993. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9994. "type": "integer"
  9995. }
  9996. }
  9997. },
  9998. "cptrade.QueryMyCPTradeGoodsRsp": {
  9999. "type": "object",
  10000. "required": [
  10001. "goodscode",
  10002. "goodsid",
  10003. "goodsname",
  10004. "marketid",
  10005. "relatedgoodscode",
  10006. "relatedgoodsname"
  10007. ],
  10008. "properties": {
  10009. "accountid": {
  10010. "description": "卖方账户ID",
  10011. "type": "integer"
  10012. },
  10013. "agreeunit": {
  10014. "description": "合约单位",
  10015. "type": "number"
  10016. },
  10017. "applyid": {
  10018. "description": "关联申请ID",
  10019. "type": "integer"
  10020. },
  10021. "attachmenturl": {
  10022. "description": "附件地址",
  10023. "type": "string"
  10024. },
  10025. "createtime": {
  10026. "description": "创建时间",
  10027. "type": "string"
  10028. },
  10029. "currencyid": {
  10030. "description": "报价货币ID",
  10031. "type": "integer"
  10032. },
  10033. "decimalplace": {
  10034. "description": "报价小数位",
  10035. "type": "integer"
  10036. },
  10037. "endtime": {
  10038. "description": "预售结束时间",
  10039. "type": "string"
  10040. },
  10041. "floorprice": {
  10042. "description": "底价[大宗式竞拍]",
  10043. "type": "number"
  10044. },
  10045. "goodscode": {
  10046. "description": "商品代码(预售)",
  10047. "type": "string"
  10048. },
  10049. "goodsdetail": {
  10050. "description": "详情[大宗]",
  10051. "type": "string"
  10052. },
  10053. "goodsid": {
  10054. "description": "商品ID(自增ID SEQ_GOODS)",
  10055. "type": "integer"
  10056. },
  10057. "goodsname": {
  10058. "description": "商品名称(预售)",
  10059. "type": "string"
  10060. },
  10061. "goodunit": {
  10062. "description": "报价单位",
  10063. "type": "string"
  10064. },
  10065. "goodunitid": {
  10066. "description": "报价单位ID",
  10067. "type": "integer"
  10068. },
  10069. "marketid": {
  10070. "description": "所属市场ID",
  10071. "type": "integer"
  10072. },
  10073. "marketname": {
  10074. "description": "预售市场名称",
  10075. "type": "string"
  10076. },
  10077. "presaledamount": {
  10078. "description": "已预售总金额(预售结束时更新)",
  10079. "type": "number"
  10080. },
  10081. "presaledqty": {
  10082. "description": "已预售量(预售结束时更新)",
  10083. "type": "integer"
  10084. },
  10085. "presalemode": {
  10086. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10087. "type": "integer"
  10088. },
  10089. "presaleqty": {
  10090. "description": "预售数量",
  10091. "type": "integer"
  10092. },
  10093. "refprice": {
  10094. "description": "参考价格[一口价]",
  10095. "type": "number"
  10096. },
  10097. "relatedgoodscode": {
  10098. "description": "商品代码(订单)",
  10099. "type": "string"
  10100. },
  10101. "relatedgoodsid": {
  10102. "description": "关联交易合约ID",
  10103. "type": "integer"
  10104. },
  10105. "relatedgoodsname": {
  10106. "description": "商品名称(订单)",
  10107. "type": "string"
  10108. },
  10109. "relatedmarketid": {
  10110. "description": "关联交易合约市场ID",
  10111. "type": "integer"
  10112. },
  10113. "sellstatus": {
  10114. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10115. "type": "integer"
  10116. },
  10117. "startprice": {
  10118. "description": "起拍价[大宗式竞拍]",
  10119. "type": "number"
  10120. },
  10121. "starttime": {
  10122. "description": "预售开始时间",
  10123. "type": "string"
  10124. },
  10125. "tradedate": {
  10126. "description": "交易日(yyyyMMdd)",
  10127. "type": "string"
  10128. },
  10129. "tradeprice": {
  10130. "description": "成交价[大宗]",
  10131. "type": "number"
  10132. },
  10133. "userid": {
  10134. "description": "卖方用户ID",
  10135. "type": "integer"
  10136. }
  10137. }
  10138. },
  10139. "cptrade.QueryPresaleGoodsExRsp": {
  10140. "type": "object",
  10141. "required": [
  10142. "goodsid"
  10143. ],
  10144. "properties": {
  10145. "attachmenturl": {
  10146. "description": "附件地址",
  10147. "type": "string"
  10148. },
  10149. "createtime": {
  10150. "description": "创建时间",
  10151. "type": "string"
  10152. },
  10153. "endtime": {
  10154. "description": "预售结束时间",
  10155. "type": "string"
  10156. },
  10157. "floorprice": {
  10158. "description": "底价[大宗式竞拍]",
  10159. "type": "number"
  10160. },
  10161. "goodsdetail": {
  10162. "description": "详情[大宗]",
  10163. "type": "string"
  10164. },
  10165. "goodsid": {
  10166. "description": "商品ID(预售)",
  10167. "type": "integer"
  10168. },
  10169. "goodunit": {
  10170. "description": "报价单位",
  10171. "type": "string"
  10172. },
  10173. "marketid": {
  10174. "description": "预售市场ID - 根据预售模式选择市场",
  10175. "type": "integer"
  10176. },
  10177. "presaledamount": {
  10178. "description": "已预售总金额(预售结束时更新)",
  10179. "type": "number"
  10180. },
  10181. "presaledqty": {
  10182. "description": "已预售量(预售结束时更新)",
  10183. "type": "integer"
  10184. },
  10185. "presalemode": {
  10186. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10187. "type": "integer"
  10188. },
  10189. "presaleqty": {
  10190. "description": "预售数量",
  10191. "type": "integer"
  10192. },
  10193. "refprice": {
  10194. "description": "参考价格[一口价]",
  10195. "type": "number"
  10196. },
  10197. "relatedgoodsid": {
  10198. "description": "关联交易合约ID",
  10199. "type": "integer"
  10200. },
  10201. "relatedmarketid": {
  10202. "description": "关联交易合约市场ID",
  10203. "type": "integer"
  10204. },
  10205. "sellstatus": {
  10206. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10207. "type": "integer"
  10208. },
  10209. "startprice": {
  10210. "description": "起拍价[大宗式竞拍]",
  10211. "type": "number"
  10212. },
  10213. "starttime": {
  10214. "description": "预售开始时间",
  10215. "type": "string"
  10216. },
  10217. "tradedate": {
  10218. "description": "交易日(yyyyMMdd)",
  10219. "type": "string"
  10220. },
  10221. "tradeprice": {
  10222. "description": "成交价[大宗]",
  10223. "type": "number"
  10224. }
  10225. }
  10226. },
  10227. "delivery.QueryDeliveryRelationRsp": {
  10228. "type": "object",
  10229. "required": [
  10230. "begindate",
  10231. "enddate",
  10232. "goodsid",
  10233. "mindeliveryqty",
  10234. "xdeliveryratio"
  10235. ],
  10236. "properties": {
  10237. "begindate": {
  10238. "description": "起始日期(yyyyMMdd)",
  10239. "type": "string"
  10240. },
  10241. "buytemplateid": {
  10242. "description": "买履约计划模板ID",
  10243. "type": "integer"
  10244. },
  10245. "deliverygoodscode": {
  10246. "description": "品种代码",
  10247. "type": "string"
  10248. },
  10249. "deliverygoodsid": {
  10250. "description": "交割商品",
  10251. "type": "integer"
  10252. },
  10253. "deliverygoodsname": {
  10254. "description": "品种名称",
  10255. "type": "string"
  10256. },
  10257. "deliverymode": {
  10258. "description": "交割方式 - 1:点选式 2:申报式",
  10259. "type": "integer"
  10260. },
  10261. "deliverypricerule": {
  10262. "description": "交割价规则- 1:行情价 2:建仓价",
  10263. "type": "integer"
  10264. },
  10265. "deliverytype": {
  10266. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10267. "type": "integer"
  10268. },
  10269. "enddate": {
  10270. "description": "结束日期(yyyyMMdd)",
  10271. "type": "string"
  10272. },
  10273. "goodscode": {
  10274. "description": "商品代码",
  10275. "type": "string"
  10276. },
  10277. "goodsid": {
  10278. "description": "交易合约ID",
  10279. "type": "integer"
  10280. },
  10281. "goodsname": {
  10282. "description": "商品名称",
  10283. "type": "string"
  10284. },
  10285. "marketid": {
  10286. "description": "市场ID",
  10287. "type": "integer"
  10288. },
  10289. "mindeliveryqty": {
  10290. "description": "最小交割系数(K)",
  10291. "type": "integer"
  10292. },
  10293. "p2deliveryprice": {
  10294. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10295. "type": "number"
  10296. },
  10297. "p2deliveryratio": {
  10298. "description": "P2合约系数(p)",
  10299. "type": "integer"
  10300. },
  10301. "p2goodsid": {
  10302. "description": "P2合约ID",
  10303. "type": "integer"
  10304. },
  10305. "p2pricemode": {
  10306. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10307. "type": "integer"
  10308. },
  10309. "pdeliveryprice": {
  10310. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10311. "type": "number"
  10312. },
  10313. "pdeliveryratio": {
  10314. "description": "P合约系数(n)",
  10315. "type": "integer"
  10316. },
  10317. "pgoodsid": {
  10318. "description": "P合约ID",
  10319. "type": "integer"
  10320. },
  10321. "ppricemode": {
  10322. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10323. "type": "integer"
  10324. },
  10325. "rratio": {
  10326. "description": "兑换系数(R)",
  10327. "type": "integer"
  10328. },
  10329. "rratio1": {
  10330. "description": "兑换系数(交易合约)(R1)",
  10331. "type": "integer"
  10332. },
  10333. "rratio2": {
  10334. "description": "兑换系数(仓单标准)(R2)",
  10335. "type": "integer"
  10336. },
  10337. "selltemplateid": {
  10338. "description": "卖履约计划模板ID",
  10339. "type": "integer"
  10340. },
  10341. "wrstandardid": {
  10342. "description": "仓单标准ID",
  10343. "type": "integer"
  10344. },
  10345. "xdeliveryratio": {
  10346. "description": "交易合约系数(m)",
  10347. "type": "integer"
  10348. }
  10349. }
  10350. },
  10351. "ermcp.ExposureDetailRsp": {
  10352. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10353. },
  10354. "ermcp.ExposureHedgePosDetailRsp": {
  10355. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10356. },
  10357. "ermcp.ExposureHedgePositionRsp": {
  10358. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10359. },
  10360. "ermcp.ExposureSpotDetailRsp": {
  10361. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10362. },
  10363. "ermcp.ExposureSpotRsp": {
  10364. "$ref": "#/definitions/models.AreaSpotModel"
  10365. },
  10366. "ermcp.HisExposureRsp": {
  10367. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10368. },
  10369. "ermcp.PendingAuditCntRsp": {
  10370. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10371. },
  10372. "ermcp.QryAvalidGPRsp": {
  10373. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10374. },
  10375. "ermcp.QryBusinessDjRsp": {
  10376. "type": "object",
  10377. "properties": {
  10378. "amount": {
  10379. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10380. "type": "number"
  10381. },
  10382. "applyid": {
  10383. "description": "申请人",
  10384. "type": "string"
  10385. },
  10386. "applyname": {
  10387. "description": "申请人名称",
  10388. "type": "string"
  10389. },
  10390. "applystatus": {
  10391. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10392. "type": "integer"
  10393. },
  10394. "applytime": {
  10395. "description": "申请时间",
  10396. "type": "string"
  10397. },
  10398. "attachurl": {
  10399. "description": "附件",
  10400. "type": "string"
  10401. },
  10402. "auditid": {
  10403. "description": "审核人ID",
  10404. "type": "string"
  10405. },
  10406. "auditname": {
  10407. "description": "审核人名称",
  10408. "type": "string"
  10409. },
  10410. "audittime": {
  10411. "description": "审核时间",
  10412. "type": "string"
  10413. },
  10414. "buyusername": {
  10415. "description": "采购方名称",
  10416. "type": "string"
  10417. },
  10418. "contractno": {
  10419. "description": "合同编号",
  10420. "type": "string"
  10421. },
  10422. "contractstatus": {
  10423. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10424. "type": "integer"
  10425. },
  10426. "contracttype": {
  10427. "description": "现货合同类型 - 1:采购 -1:销售",
  10428. "type": "integer"
  10429. },
  10430. "deliverygoodscode": {
  10431. "description": "现货品种代码",
  10432. "type": "string"
  10433. },
  10434. "deliverygoodsid": {
  10435. "description": "现货商品ID",
  10436. "type": "integer"
  10437. },
  10438. "deliverygoodsname": {
  10439. "description": "现货品种名称",
  10440. "type": "string"
  10441. },
  10442. "enumdicname": {
  10443. "description": "单位名称",
  10444. "type": "string"
  10445. },
  10446. "goodscode": {
  10447. "description": "点价合约",
  10448. "type": "string"
  10449. },
  10450. "goodsname": {
  10451. "description": "商品名称",
  10452. "type": "string"
  10453. },
  10454. "operateapplyid": {
  10455. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10456. "type": "string"
  10457. },
  10458. "operateapplytype": {
  10459. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10460. "type": "integer"
  10461. },
  10462. "pricedPrice": {
  10463. "description": "点价价格(非必填)",
  10464. "type": "number"
  10465. },
  10466. "pricedQty": {
  10467. "description": "点价数量(非必填)",
  10468. "type": "number"
  10469. },
  10470. "pricemove": {
  10471. "description": "升贴水",
  10472. "type": "number"
  10473. },
  10474. "pricetype": {
  10475. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10476. "type": "integer"
  10477. },
  10478. "relatedid": {
  10479. "description": "现货合同ID",
  10480. "type": "string"
  10481. },
  10482. "sellusername": {
  10483. "description": "销售方名字",
  10484. "type": "string"
  10485. },
  10486. "userid": {
  10487. "description": "用户ID",
  10488. "type": "integer"
  10489. },
  10490. "wrstandardcode": {
  10491. "description": "品类代码",
  10492. "type": "string"
  10493. },
  10494. "wrstandardid": {
  10495. "description": "品类id",
  10496. "type": "integer"
  10497. },
  10498. "wrstandardname": {
  10499. "description": "品类名称",
  10500. "type": "string"
  10501. }
  10502. }
  10503. },
  10504. "ermcp.QryBussinessFpRsp": {
  10505. "type": "object",
  10506. "properties": {
  10507. "applyid": {
  10508. "description": "申请人",
  10509. "type": "string"
  10510. },
  10511. "applyname": {
  10512. "description": "申请人名称",
  10513. "type": "string"
  10514. },
  10515. "applystatus": {
  10516. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10517. "type": "integer"
  10518. },
  10519. "applytime": {
  10520. "description": "申请时间",
  10521. "type": "string"
  10522. },
  10523. "attachurl": {
  10524. "description": "附件",
  10525. "type": "string"
  10526. },
  10527. "auditid": {
  10528. "description": "审核人ID",
  10529. "type": "string"
  10530. },
  10531. "auditname": {
  10532. "description": "审核人名称",
  10533. "type": "string"
  10534. },
  10535. "audittime": {
  10536. "description": "审核时间",
  10537. "type": "string"
  10538. },
  10539. "buyusername": {
  10540. "description": "采购方名称",
  10541. "type": "string"
  10542. },
  10543. "contractno": {
  10544. "description": "合同编号",
  10545. "type": "string"
  10546. },
  10547. "contractstatus": {
  10548. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10549. "type": "integer"
  10550. },
  10551. "contracttype": {
  10552. "description": "现货合同类型 - 1:采购 -1:销售",
  10553. "type": "integer"
  10554. },
  10555. "deliverygoodscode": {
  10556. "description": "现货品种代码",
  10557. "type": "string"
  10558. },
  10559. "deliverygoodsid": {
  10560. "description": "现货商品ID",
  10561. "type": "integer"
  10562. },
  10563. "deliverygoodsname": {
  10564. "description": "现货品种名称",
  10565. "type": "string"
  10566. },
  10567. "enumdicname": {
  10568. "description": "单位名称",
  10569. "type": "string"
  10570. },
  10571. "goodscode": {
  10572. "description": "点价合约",
  10573. "type": "string"
  10574. },
  10575. "goodsname": {
  10576. "description": "商品名称",
  10577. "type": "string"
  10578. },
  10579. "invoiceAmount": {
  10580. "description": "已开收票金额(销售为开票,采购为收票)",
  10581. "type": "number"
  10582. },
  10583. "operateapplyid": {
  10584. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10585. "type": "string"
  10586. },
  10587. "operateapplytype": {
  10588. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10589. "type": "integer"
  10590. },
  10591. "pricemove": {
  10592. "description": "升贴水",
  10593. "type": "number"
  10594. },
  10595. "pricetype": {
  10596. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10597. "type": "integer"
  10598. },
  10599. "relatedid": {
  10600. "description": "现货合同ID",
  10601. "type": "string"
  10602. },
  10603. "sellusername": {
  10604. "description": "销售方名字",
  10605. "type": "string"
  10606. },
  10607. "userid": {
  10608. "description": "用户ID",
  10609. "type": "integer"
  10610. },
  10611. "wrstandardcode": {
  10612. "description": "品类代码",
  10613. "type": "string"
  10614. },
  10615. "wrstandardid": {
  10616. "description": "品类id",
  10617. "type": "integer"
  10618. },
  10619. "wrstandardname": {
  10620. "description": "品类名称",
  10621. "type": "string"
  10622. }
  10623. }
  10624. },
  10625. "ermcp.QryBussinessJsExRsp": {
  10626. "type": "object",
  10627. "properties": {
  10628. "applyid": {
  10629. "description": "申请人",
  10630. "type": "string"
  10631. },
  10632. "applyname": {
  10633. "description": "申请人名称",
  10634. "type": "string"
  10635. },
  10636. "applystatus": {
  10637. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10638. "type": "integer"
  10639. },
  10640. "applytime": {
  10641. "description": "申请时间",
  10642. "type": "string"
  10643. },
  10644. "attachurl": {
  10645. "description": "附件",
  10646. "type": "string"
  10647. },
  10648. "auditid": {
  10649. "description": "审核人ID",
  10650. "type": "string"
  10651. },
  10652. "auditname": {
  10653. "description": "审核人名称",
  10654. "type": "string"
  10655. },
  10656. "audittime": {
  10657. "description": "审核时间",
  10658. "type": "string"
  10659. },
  10660. "buyusername": {
  10661. "description": "采购方名称",
  10662. "type": "string"
  10663. },
  10664. "contractno": {
  10665. "description": "合同编号",
  10666. "type": "string"
  10667. },
  10668. "contractstatus": {
  10669. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10670. "type": "integer"
  10671. },
  10672. "contracttype": {
  10673. "description": "现货合同类型 - 1:采购 -1:销售",
  10674. "type": "integer"
  10675. },
  10676. "deliverygoodscode": {
  10677. "description": "现货品种代码",
  10678. "type": "string"
  10679. },
  10680. "deliverygoodsid": {
  10681. "description": "现货商品ID",
  10682. "type": "integer"
  10683. },
  10684. "deliverygoodsname": {
  10685. "description": "现货品种名称",
  10686. "type": "string"
  10687. },
  10688. "enumdicname": {
  10689. "description": "单位名称",
  10690. "type": "string"
  10691. },
  10692. "goodscode": {
  10693. "description": "点价合约",
  10694. "type": "string"
  10695. },
  10696. "goodsname": {
  10697. "description": "商品名称",
  10698. "type": "string"
  10699. },
  10700. "operateapplyid": {
  10701. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10702. "type": "string"
  10703. },
  10704. "operateapplytype": {
  10705. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10706. "type": "integer"
  10707. },
  10708. "pricemove": {
  10709. "description": "升贴水",
  10710. "type": "number"
  10711. },
  10712. "pricetype": {
  10713. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10714. "type": "integer"
  10715. },
  10716. "reckontype": {
  10717. "description": "结算类型",
  10718. "type": "string"
  10719. },
  10720. "reckonvalue": {
  10721. "description": "值",
  10722. "type": "number"
  10723. },
  10724. "relatedid": {
  10725. "description": "现货合同ID",
  10726. "type": "string"
  10727. },
  10728. "sellusername": {
  10729. "description": "销售方名字",
  10730. "type": "string"
  10731. },
  10732. "userid": {
  10733. "description": "用户ID",
  10734. "type": "integer"
  10735. },
  10736. "wrstandardcode": {
  10737. "description": "品类代码",
  10738. "type": "string"
  10739. },
  10740. "wrstandardid": {
  10741. "description": "品类id",
  10742. "type": "integer"
  10743. },
  10744. "wrstandardname": {
  10745. "description": "品类名称",
  10746. "type": "string"
  10747. }
  10748. }
  10749. },
  10750. "ermcp.QryBussinessJsRsp": {
  10751. "type": "object",
  10752. "properties": {
  10753. "addmargin": {
  10754. "description": "追加保证金(非必填)",
  10755. "type": "number"
  10756. },
  10757. "applyid": {
  10758. "description": "申请人",
  10759. "type": "string"
  10760. },
  10761. "applyname": {
  10762. "description": "申请人名称",
  10763. "type": "string"
  10764. },
  10765. "applystatus": {
  10766. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10767. "type": "integer"
  10768. },
  10769. "applytime": {
  10770. "description": "申请时间",
  10771. "type": "string"
  10772. },
  10773. "attachurl": {
  10774. "description": "附件",
  10775. "type": "string"
  10776. },
  10777. "auditid": {
  10778. "description": "审核人ID",
  10779. "type": "string"
  10780. },
  10781. "auditname": {
  10782. "description": "审核人名称",
  10783. "type": "string"
  10784. },
  10785. "audittime": {
  10786. "description": "审核时间",
  10787. "type": "string"
  10788. },
  10789. "buyusername": {
  10790. "description": "采购方名称",
  10791. "type": "string"
  10792. },
  10793. "contractno": {
  10794. "description": "合同编号",
  10795. "type": "string"
  10796. },
  10797. "contractstatus": {
  10798. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10799. "type": "integer"
  10800. },
  10801. "contracttype": {
  10802. "description": "现货合同类型 - 1:采购 -1:销售",
  10803. "type": "integer"
  10804. },
  10805. "decmargin": {
  10806. "description": "减少保证金(非必填)",
  10807. "type": "number"
  10808. },
  10809. "deliverygoodscode": {
  10810. "description": "现货品种代码",
  10811. "type": "string"
  10812. },
  10813. "deliverygoodsid": {
  10814. "description": "现货商品ID",
  10815. "type": "integer"
  10816. },
  10817. "deliverygoodsname": {
  10818. "description": "现货品种名称",
  10819. "type": "string"
  10820. },
  10821. "enumdicname": {
  10822. "description": "单位名称",
  10823. "type": "string"
  10824. },
  10825. "goodscode": {
  10826. "description": "点价合约",
  10827. "type": "string"
  10828. },
  10829. "goodsname": {
  10830. "description": "商品名称",
  10831. "type": "string"
  10832. },
  10833. "operateapplyid": {
  10834. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10835. "type": "string"
  10836. },
  10837. "operateapplytype": {
  10838. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10839. "type": "integer"
  10840. },
  10841. "pricemove": {
  10842. "description": "升贴水",
  10843. "type": "number"
  10844. },
  10845. "pricetype": {
  10846. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10847. "type": "integer"
  10848. },
  10849. "reckonadjustamount": {
  10850. "description": "结算调整金额(非必填)",
  10851. "type": "number"
  10852. },
  10853. "reckonosamount": {
  10854. "description": "结算溢短金额(非必填)",
  10855. "type": "number"
  10856. },
  10857. "reckonotheramount": {
  10858. "description": "结算其他费用(非必填)",
  10859. "type": "number"
  10860. },
  10861. "reckonrealqty": {
  10862. "description": "结算实际数量(非必填)",
  10863. "type": "number"
  10864. },
  10865. "relatedid": {
  10866. "description": "现货合同ID",
  10867. "type": "string"
  10868. },
  10869. "sellusername": {
  10870. "description": "销售方名字",
  10871. "type": "string"
  10872. },
  10873. "userid": {
  10874. "description": "用户ID",
  10875. "type": "integer"
  10876. },
  10877. "wrstandardcode": {
  10878. "description": "品类代码",
  10879. "type": "string"
  10880. },
  10881. "wrstandardid": {
  10882. "description": "品类id",
  10883. "type": "integer"
  10884. },
  10885. "wrstandardname": {
  10886. "description": "品类名称",
  10887. "type": "string"
  10888. }
  10889. }
  10890. },
  10891. "ermcp.QryBussinessKxRsp": {
  10892. "type": "object",
  10893. "properties": {
  10894. "applyid": {
  10895. "description": "申请人",
  10896. "type": "string"
  10897. },
  10898. "applyname": {
  10899. "description": "申请人名称",
  10900. "type": "string"
  10901. },
  10902. "applystatus": {
  10903. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10904. "type": "integer"
  10905. },
  10906. "applytime": {
  10907. "description": "申请时间",
  10908. "type": "string"
  10909. },
  10910. "attachurl": {
  10911. "description": "附件",
  10912. "type": "string"
  10913. },
  10914. "auditid": {
  10915. "description": "审核人ID",
  10916. "type": "string"
  10917. },
  10918. "auditname": {
  10919. "description": "审核人名称",
  10920. "type": "string"
  10921. },
  10922. "audittime": {
  10923. "description": "审核时间",
  10924. "type": "string"
  10925. },
  10926. "buyusername": {
  10927. "description": "采购方名称",
  10928. "type": "string"
  10929. },
  10930. "contractno": {
  10931. "description": "合同编号",
  10932. "type": "string"
  10933. },
  10934. "contractstatus": {
  10935. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10936. "type": "integer"
  10937. },
  10938. "contracttype": {
  10939. "description": "现货合同类型 - 1:采购 -1:销售",
  10940. "type": "integer"
  10941. },
  10942. "deductamount": {
  10943. "description": "退款(非必填)",
  10944. "type": "number"
  10945. },
  10946. "deliverygoodscode": {
  10947. "description": "现货品种代码",
  10948. "type": "string"
  10949. },
  10950. "deliverygoodsid": {
  10951. "description": "现货商品ID",
  10952. "type": "integer"
  10953. },
  10954. "deliverygoodsname": {
  10955. "description": "现货品种名称",
  10956. "type": "string"
  10957. },
  10958. "enumdicname": {
  10959. "description": "单位名称",
  10960. "type": "string"
  10961. },
  10962. "goodscode": {
  10963. "description": "点价合约",
  10964. "type": "string"
  10965. },
  10966. "goodsname": {
  10967. "description": "商品名称",
  10968. "type": "string"
  10969. },
  10970. "kxtype": {
  10971. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10972. "type": "integer"
  10973. },
  10974. "operateapplyid": {
  10975. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10976. "type": "string"
  10977. },
  10978. "operateapplytype": {
  10979. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10980. "type": "integer"
  10981. },
  10982. "payamount": {
  10983. "description": "收付款(非必填)",
  10984. "type": "number"
  10985. },
  10986. "pricemove": {
  10987. "description": "升贴水",
  10988. "type": "number"
  10989. },
  10990. "pricetype": {
  10991. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10992. "type": "integer"
  10993. },
  10994. "relatedid": {
  10995. "description": "现货合同ID",
  10996. "type": "string"
  10997. },
  10998. "sellusername": {
  10999. "description": "销售方名字",
  11000. "type": "string"
  11001. },
  11002. "userid": {
  11003. "description": "用户ID",
  11004. "type": "integer"
  11005. },
  11006. "wrstandardcode": {
  11007. "description": "品类代码",
  11008. "type": "string"
  11009. },
  11010. "wrstandardid": {
  11011. "description": "品类id",
  11012. "type": "integer"
  11013. },
  11014. "wrstandardname": {
  11015. "description": "品类名称",
  11016. "type": "string"
  11017. }
  11018. }
  11019. },
  11020. "ermcp.QryGGCovertCfgRsp": {
  11021. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11022. },
  11023. "ermcp.QryMGChangeLogRsp": {
  11024. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11025. },
  11026. "ermcp.QryMiddleGoodsDetailRsp": {
  11027. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11028. },
  11029. "ermcp.QryMiddleGoodsRsp": {
  11030. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11031. },
  11032. "ermcp.QryOPLogRsp": {
  11033. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11034. },
  11035. "ermcp.QryUserInfoRsp": {
  11036. "$ref": "#/definitions/models.ErmcpUserModel"
  11037. },
  11038. "ermcp.QryWarehouseRsp": {
  11039. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11040. },
  11041. "ermcp.QueryErmcpTradePositionRsp": {
  11042. "type": "object",
  11043. "properties": {
  11044. "agreeunit": {
  11045. "description": "合约单位",
  11046. "type": "number"
  11047. },
  11048. "buyorsell": {
  11049. "description": "方向 - 0:买 1:卖",
  11050. "type": "integer"
  11051. },
  11052. "curpositionqty": {
  11053. "description": "持仓(总仓数量, 期末头寸)",
  11054. "type": "integer"
  11055. },
  11056. "curtdposition": {
  11057. "description": "今仓数量(期末今日头寸)",
  11058. "type": "integer"
  11059. },
  11060. "curtdpositionenabled": {
  11061. "description": "今仓可用",
  11062. "type": "integer"
  11063. },
  11064. "decimalplace": {
  11065. "description": "报价小数位",
  11066. "type": "integer"
  11067. },
  11068. "enableqty": {
  11069. "description": "可用(总仓可用)",
  11070. "type": "integer"
  11071. },
  11072. "exexchangename": {
  11073. "description": "外部交易所名称",
  11074. "type": "string"
  11075. },
  11076. "goodscode": {
  11077. "description": "商品代码(内部)",
  11078. "type": "string"
  11079. },
  11080. "goodsid": {
  11081. "description": "商品ID(自增ID SEQ_GOODS)",
  11082. "type": "integer"
  11083. },
  11084. "goodsname": {
  11085. "description": "商品名称",
  11086. "type": "string"
  11087. },
  11088. "last": {
  11089. "description": "现价",
  11090. "type": "number"
  11091. },
  11092. "marketid": {
  11093. "description": "所属市场ID",
  11094. "type": "integer"
  11095. },
  11096. "openaverageprice": {
  11097. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11098. "type": "number"
  11099. },
  11100. "opencost": {
  11101. "description": "开仓成本",
  11102. "type": "number"
  11103. },
  11104. "openpl": {
  11105. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11106. "type": "number"
  11107. },
  11108. "outgoodscode": {
  11109. "description": "商品代码(外部)",
  11110. "type": "string"
  11111. },
  11112. "positionaverageprice": {
  11113. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11114. "type": "number"
  11115. },
  11116. "positioncost": {
  11117. "description": "持仓成本",
  11118. "type": "number"
  11119. },
  11120. "positionpl": {
  11121. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11122. "type": "number"
  11123. },
  11124. "positionplrate": {
  11125. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11126. "type": "number"
  11127. },
  11128. "usedmargin": {
  11129. "description": "占用保证金",
  11130. "type": "number"
  11131. }
  11132. }
  11133. },
  11134. "ermcp.RealtimeExposurePositionRsp": {
  11135. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11136. },
  11137. "ermcp.RealtimeExposureRsp": {
  11138. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11139. },
  11140. "erms2.QueryArbitrageStrategyRsp": {
  11141. "type": "object",
  11142. "required": [
  11143. "asapplyid"
  11144. ],
  11145. "properties": {
  11146. "applybasis": {
  11147. "description": "申请基差",
  11148. "type": "number"
  11149. },
  11150. "asapplyid": {
  11151. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11152. "type": "string"
  11153. },
  11154. "asname": {
  11155. "description": "策略名称",
  11156. "type": "string"
  11157. },
  11158. "asno": {
  11159. "description": "策略编号",
  11160. "type": "string"
  11161. },
  11162. "basischangepl": {
  11163. "description": "基差变动损益[结算更新]",
  11164. "type": "number"
  11165. },
  11166. "biztype": {
  11167. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11168. "type": "integer"
  11169. },
  11170. "closetradedate": {
  11171. "description": "完结交易日(yyyyMMdd)",
  11172. "type": "string"
  11173. },
  11174. "curbasis": {
  11175. "description": "当前基差[结算更新]",
  11176. "type": "number"
  11177. },
  11178. "deliverygoodsid": {
  11179. "description": "现货品种ID",
  11180. "type": "integer"
  11181. },
  11182. "futureavgprice": {
  11183. "description": "期货建仓均价",
  11184. "type": "number"
  11185. },
  11186. "futurecloseamount": {
  11187. "description": "期货平仓金额",
  11188. "type": "number"
  11189. },
  11190. "futurecloseqty": {
  11191. "description": "期货平仓数量",
  11192. "type": "number"
  11193. },
  11194. "futureopenamount": {
  11195. "description": "期货开仓金额",
  11196. "type": "number"
  11197. },
  11198. "futureopenqty": {
  11199. "description": "期货开仓数量",
  11200. "type": "number"
  11201. },
  11202. "futurepl": {
  11203. "description": "期货总盈亏[结算更新]",
  11204. "type": "number"
  11205. },
  11206. "futureqty": {
  11207. "description": "期货持仓数量",
  11208. "type": "number"
  11209. },
  11210. "futurequote": {
  11211. "description": "期货额度",
  11212. "type": "number"
  11213. },
  11214. "goodsgroupid": {
  11215. "description": "期货品种ID",
  11216. "type": "integer"
  11217. },
  11218. "marketid": {
  11219. "description": "市场ID",
  11220. "type": "integer"
  11221. },
  11222. "netexposure": {
  11223. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11224. "type": "number"
  11225. },
  11226. "netexposurepl": {
  11227. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11228. "type": "number"
  11229. },
  11230. "netexposurerate": {
  11231. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11232. "type": "number"
  11233. },
  11234. "openbasis": {
  11235. "description": "建仓基差",
  11236. "type": "number"
  11237. },
  11238. "pricedspotqty": {
  11239. "description": "已定价现货数量",
  11240. "type": "number"
  11241. },
  11242. "pricedspotqtynotax": {
  11243. "description": "已定价现货不含税数量",
  11244. "type": "number"
  11245. },
  11246. "remark": {
  11247. "description": "备注",
  11248. "type": "string"
  11249. },
  11250. "spotavgprice": {
  11251. "description": "现货均价",
  11252. "type": "number"
  11253. },
  11254. "spotbuyamount": {
  11255. "description": "现货采购金额",
  11256. "type": "number"
  11257. },
  11258. "spotbuyqty": {
  11259. "description": "现货采购数量",
  11260. "type": "number"
  11261. },
  11262. "spotpl": {
  11263. "description": "现货总盈亏[结算更新]",
  11264. "type": "number"
  11265. },
  11266. "spotquota": {
  11267. "description": "现货额度",
  11268. "type": "number"
  11269. },
  11270. "spotsellamount": {
  11271. "description": "现货销售金额",
  11272. "type": "number"
  11273. },
  11274. "spotsellqty": {
  11275. "description": "现货销售数量",
  11276. "type": "number"
  11277. },
  11278. "spotusedquota": {
  11279. "description": "现货占用资金",
  11280. "type": "number"
  11281. },
  11282. "strategystatus": {
  11283. "description": "策略状态 - 0:未结束 1:已结束",
  11284. "type": "integer"
  11285. },
  11286. "totalpl": {
  11287. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11288. "type": "number"
  11289. },
  11290. "tradedate": {
  11291. "description": "交易日(yyyyMMdd)",
  11292. "type": "string"
  11293. },
  11294. "updatetime": {
  11295. "description": "更新时间",
  11296. "type": "string"
  11297. },
  11298. "usedquota": {
  11299. "description": "已占用资金",
  11300. "type": "number"
  11301. },
  11302. "userid": {
  11303. "description": "所属机构",
  11304. "type": "integer"
  11305. }
  11306. }
  11307. },
  11308. "erms2.QueryInnerTradeDetailRsp": {
  11309. "type": "object",
  11310. "required": [
  11311. "asapplyid",
  11312. "buyorsell",
  11313. "goodscode",
  11314. "goodsgroupid",
  11315. "goodsgroupname",
  11316. "goodsname",
  11317. "tradeid"
  11318. ],
  11319. "properties": {
  11320. "accountid": {
  11321. "description": "账号ID",
  11322. "type": "integer"
  11323. },
  11324. "agreeunit": {
  11325. "description": "合约单位",
  11326. "type": "number"
  11327. },
  11328. "asapplyid": {
  11329. "description": "策略申请ID",
  11330. "type": "integer"
  11331. },
  11332. "asname": {
  11333. "description": "策略名称",
  11334. "type": "string"
  11335. },
  11336. "asno": {
  11337. "description": "策略编号",
  11338. "type": "string"
  11339. },
  11340. "buyorsell": {
  11341. "description": "方向 - 0:买 1:卖",
  11342. "type": "integer"
  11343. },
  11344. "channelbuildtype": {
  11345. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11346. "type": "integer"
  11347. },
  11348. "closetype": {
  11349. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11350. "type": "integer"
  11351. },
  11352. "decimalplace": {
  11353. "description": "报价小数位",
  11354. "type": "integer"
  11355. },
  11356. "detailtype": {
  11357. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11358. "type": "integer"
  11359. },
  11360. "exexchangecode": {
  11361. "description": "外部交易所代码",
  11362. "type": "string"
  11363. },
  11364. "exexchangename": {
  11365. "description": "外部交易所名称",
  11366. "type": "string"
  11367. },
  11368. "goodscode": {
  11369. "description": "商品代码(合约)",
  11370. "type": "string"
  11371. },
  11372. "goodsgroupid": {
  11373. "description": "商品组ID(品种ID)",
  11374. "type": "integer"
  11375. },
  11376. "goodsgroupname": {
  11377. "description": "商品组名称(品种)",
  11378. "type": "string"
  11379. },
  11380. "goodsid": {
  11381. "description": "商品ID",
  11382. "type": "integer"
  11383. },
  11384. "goodsname": {
  11385. "description": "商品名称(合约)",
  11386. "type": "string"
  11387. },
  11388. "goodunit": {
  11389. "description": "报价单位",
  11390. "type": "string"
  11391. },
  11392. "marketid": {
  11393. "description": "市场ID",
  11394. "type": "integer"
  11395. },
  11396. "orderid": {
  11397. "description": "委托单号",
  11398. "type": "string"
  11399. },
  11400. "outgoodscode": {
  11401. "description": "商品代码(外部)",
  11402. "type": "string"
  11403. },
  11404. "relatedouttradeid": {
  11405. "description": "关联外部成交单ID",
  11406. "type": "string"
  11407. },
  11408. "remark": {
  11409. "description": "备注",
  11410. "type": "string"
  11411. },
  11412. "spotcontractid": {
  11413. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11414. "type": "integer"
  11415. },
  11416. "spotcontractno": {
  11417. "description": "现货合同编号",
  11418. "type": "string"
  11419. },
  11420. "tradeid": {
  11421. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11422. "type": "string"
  11423. },
  11424. "tradeprice": {
  11425. "description": "成交价格",
  11426. "type": "number"
  11427. },
  11428. "tradeqty": {
  11429. "description": "成交数量",
  11430. "type": "integer"
  11431. },
  11432. "tradetime": {
  11433. "description": "成交时间",
  11434. "type": "string"
  11435. },
  11436. "updatetime": {
  11437. "description": "更新时间",
  11438. "type": "string"
  11439. }
  11440. }
  11441. },
  11442. "erms2.QuerySpotContractRsp": {
  11443. "type": "object",
  11444. "required": [
  11445. "spotcontractid"
  11446. ],
  11447. "properties": {
  11448. "accountid": {
  11449. "description": "资金账户ID",
  11450. "type": "integer"
  11451. },
  11452. "areauserid": {
  11453. "description": "所属机构",
  11454. "type": "integer"
  11455. },
  11456. "closedate": {
  11457. "description": "终止日期",
  11458. "type": "string"
  11459. },
  11460. "closeremark": {
  11461. "description": "结束备注",
  11462. "type": "string"
  11463. },
  11464. "closetradedate": {
  11465. "description": "完结交易日(yyyyMMdd)",
  11466. "type": "string"
  11467. },
  11468. "closetype": {
  11469. "description": "终止类型 - 1:违约 2:提前终止",
  11470. "type": "integer"
  11471. },
  11472. "contractamount": {
  11473. "description": "合同金额",
  11474. "type": "number"
  11475. },
  11476. "contractattachment": {
  11477. "description": "合同附件",
  11478. "type": "string"
  11479. },
  11480. "contractno": {
  11481. "description": "现货合同编号",
  11482. "type": "string"
  11483. },
  11484. "contractqty": {
  11485. "description": "合同数量(数值) (用于计算)",
  11486. "type": "number"
  11487. },
  11488. "contractqtychar": {
  11489. "description": "合同数量\\已订价数量 (用于显示)",
  11490. "type": "string"
  11491. },
  11492. "contractstatus": {
  11493. "description": "合同状态 - 0:未结束 1:已结束",
  11494. "type": "integer"
  11495. },
  11496. "contracttype": {
  11497. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11498. "type": "integer"
  11499. },
  11500. "customeraccountid": {
  11501. "description": "客户资金账户ID",
  11502. "type": "integer"
  11503. },
  11504. "customeruserid": {
  11505. "description": "客户ID",
  11506. "type": "integer"
  11507. },
  11508. "deliverygoodsdesc": {
  11509. "description": "品种说明",
  11510. "type": "string"
  11511. },
  11512. "deliverygoodsid": {
  11513. "description": "现货品种ID",
  11514. "type": "integer"
  11515. },
  11516. "handlestatus": {
  11517. "description": "处理状态",
  11518. "type": "integer"
  11519. },
  11520. "invoiceatt": {
  11521. "description": "发票附件",
  11522. "type": "string"
  11523. },
  11524. "invoicedatetime": {
  11525. "description": "开收票更新时间",
  11526. "type": "string"
  11527. },
  11528. "invoiceopentime": {
  11529. "description": "开票时间",
  11530. "type": "string"
  11531. },
  11532. "invoiceremark": {
  11533. "description": "发票备注",
  11534. "type": "string"
  11535. },
  11536. "invoicestatus": {
  11537. "description": "开收票状态 - 0:未开票 1:已开票",
  11538. "type": "integer"
  11539. },
  11540. "lastdate": {
  11541. "description": "交货时间",
  11542. "type": "string"
  11543. },
  11544. "marketid": {
  11545. "description": "市场ID",
  11546. "type": "integer"
  11547. },
  11548. "paydatetime": {
  11549. "description": "收付款更新时间",
  11550. "type": "string"
  11551. },
  11552. "payremark": {
  11553. "description": "收付款备注",
  11554. "type": "string"
  11555. },
  11556. "paystatus": {
  11557. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11558. "type": "integer"
  11559. },
  11560. "positionqty": {
  11561. "description": "头寸数量 - 合同数量去小数部分",
  11562. "type": "integer"
  11563. },
  11564. "producttype": {
  11565. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11566. "type": "integer"
  11567. },
  11568. "relatedqty": {
  11569. "description": "已关联数量",
  11570. "type": "number"
  11571. },
  11572. "relatedstatus": {
  11573. "description": "关联完结状态 - 0:未结束 1:已结束",
  11574. "type": "integer"
  11575. },
  11576. "remark": {
  11577. "description": "备注",
  11578. "type": "string"
  11579. },
  11580. "signdate": {
  11581. "description": "签订日期",
  11582. "type": "string"
  11583. },
  11584. "spotcontractid": {
  11585. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11586. "type": "string"
  11587. },
  11588. "spotdatetime": {
  11589. "description": "收发货更新时间",
  11590. "type": "string"
  11591. },
  11592. "spotprice": {
  11593. "description": "价格",
  11594. "type": "number"
  11595. },
  11596. "spotremark": {
  11597. "description": "收发货备注",
  11598. "type": "string"
  11599. },
  11600. "spotstatus": {
  11601. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11602. "type": "integer"
  11603. },
  11604. "tradedate": {
  11605. "description": "交易日(yyyyMMdd)",
  11606. "type": "string"
  11607. },
  11608. "userid": {
  11609. "description": "业务员用户ID",
  11610. "type": "integer"
  11611. },
  11612. "warehouseid": {
  11613. "description": "仓库ID",
  11614. "type": "integer"
  11615. },
  11616. "wrfactortypeid": {
  11617. "description": "仓单要素类型ID",
  11618. "type": "integer"
  11619. },
  11620. "wrstandardid": {
  11621. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11622. "type": "integer"
  11623. }
  11624. }
  11625. },
  11626. "erms3.AddErms2ASApplyReq": {
  11627. "type": "object",
  11628. "required": [
  11629. "asapplyid"
  11630. ],
  11631. "properties": {
  11632. "applybasis": {
  11633. "description": "申请基差",
  11634. "type": "number"
  11635. },
  11636. "applystatus": {
  11637. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11638. "type": "integer"
  11639. },
  11640. "asapplyid": {
  11641. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11642. "type": "integer"
  11643. },
  11644. "asname": {
  11645. "description": "策略名称",
  11646. "type": "string"
  11647. },
  11648. "asno": {
  11649. "description": "策略编号",
  11650. "type": "string"
  11651. },
  11652. "auditid": {
  11653. "description": "审核人",
  11654. "type": "integer"
  11655. },
  11656. "auditremark": {
  11657. "description": "审核备注",
  11658. "type": "string"
  11659. },
  11660. "audittime": {
  11661. "description": "审核时间",
  11662. "type": "string"
  11663. },
  11664. "biztype": {
  11665. "description": "业务类型 - 1:正向套利 2:反向套利",
  11666. "type": "integer"
  11667. },
  11668. "createtime": {
  11669. "description": "创建时间",
  11670. "type": "string"
  11671. },
  11672. "creatorid": {
  11673. "description": "创建人",
  11674. "type": "integer"
  11675. },
  11676. "deliverygoodsid": {
  11677. "description": "现货品种ID",
  11678. "type": "integer"
  11679. },
  11680. "futurequote": {
  11681. "description": "期货额度",
  11682. "type": "number"
  11683. },
  11684. "goodsgroupid": {
  11685. "description": "期货品种ID",
  11686. "type": "integer"
  11687. },
  11688. "marketid": {
  11689. "description": "市场ID",
  11690. "type": "integer"
  11691. },
  11692. "remark": {
  11693. "description": "备注",
  11694. "type": "string"
  11695. },
  11696. "spotquota": {
  11697. "description": "现货额度",
  11698. "type": "number"
  11699. },
  11700. "tradedate": {
  11701. "description": "交易日(yyyyMMdd)",
  11702. "type": "string"
  11703. },
  11704. "userid": {
  11705. "description": "所属机构",
  11706. "type": "integer"
  11707. }
  11708. }
  11709. },
  11710. "erms3.AddErms2SpotTradeApplyReq": {
  11711. "type": "object",
  11712. "required": [
  11713. "spottradeid"
  11714. ],
  11715. "properties": {
  11716. "applyjsondetail": {
  11717. "description": "申请明细(JSON)",
  11718. "type": "string"
  11719. },
  11720. "applystatus": {
  11721. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11722. "type": "integer"
  11723. },
  11724. "areauserid": {
  11725. "description": "所属机构",
  11726. "type": "integer"
  11727. },
  11728. "auditid": {
  11729. "description": "审核人",
  11730. "type": "integer"
  11731. },
  11732. "auditremark": {
  11733. "description": "审核备注",
  11734. "type": "string"
  11735. },
  11736. "audittime": {
  11737. "description": "审核时间",
  11738. "type": "string"
  11739. },
  11740. "createtime": {
  11741. "description": "创建时间",
  11742. "type": "string"
  11743. },
  11744. "creatorid": {
  11745. "description": "创建人",
  11746. "type": "integer"
  11747. },
  11748. "deliverygoodsid": {
  11749. "description": "现货品种ID",
  11750. "type": "integer"
  11751. },
  11752. "futureaccountid": {
  11753. "description": "期货资金账户",
  11754. "type": "integer"
  11755. },
  11756. "goodsgroupid": {
  11757. "description": "期货品种",
  11758. "type": "integer"
  11759. },
  11760. "marketid": {
  11761. "description": "市场ID",
  11762. "type": "integer"
  11763. },
  11764. "remark": {
  11765. "description": "备注",
  11766. "type": "string"
  11767. },
  11768. "spotaccountid": {
  11769. "description": "现货资金账户",
  11770. "type": "integer"
  11771. },
  11772. "spottradeid": {
  11773. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11774. "type": "integer"
  11775. },
  11776. "spottradename": {
  11777. "description": "业务名称",
  11778. "type": "string"
  11779. },
  11780. "spottradeno": {
  11781. "description": "业务编号",
  11782. "type": "string"
  11783. },
  11784. "tradedate": {
  11785. "description": "交易日(yyyyMMdd)",
  11786. "type": "string"
  11787. },
  11788. "wrstandardid": {
  11789. "description": "仓单标准ID",
  11790. "type": "integer"
  11791. }
  11792. }
  11793. },
  11794. "erms3.AddSpotContractApplyReq": {
  11795. "type": "object",
  11796. "required": [
  11797. "accountid",
  11798. "areauserid",
  11799. "contractno",
  11800. "contracttype",
  11801. "customeraccountid",
  11802. "customeruserid",
  11803. "details",
  11804. "orimargin",
  11805. "signdate"
  11806. ],
  11807. "properties": {
  11808. "accountid": {
  11809. "description": "资金账户ID",
  11810. "type": "integer"
  11811. },
  11812. "areauserid": {
  11813. "description": "所属机构",
  11814. "type": "integer"
  11815. },
  11816. "contractattachment": {
  11817. "description": "合同附件",
  11818. "type": "string"
  11819. },
  11820. "contractno": {
  11821. "description": "现货合同编号",
  11822. "type": "string"
  11823. },
  11824. "contracttype": {
  11825. "description": "现货合同类型 - 1:采购 -1:销售",
  11826. "type": "integer"
  11827. },
  11828. "creatorid": {
  11829. "description": "申请人",
  11830. "type": "integer"
  11831. },
  11832. "customeraccountid": {
  11833. "description": "客户资金账户ID",
  11834. "type": "integer"
  11835. },
  11836. "customeruserid": {
  11837. "description": "客户ID",
  11838. "type": "integer"
  11839. },
  11840. "details": {
  11841. "description": "明细",
  11842. "type": "array",
  11843. "items": {
  11844. "$ref": "#/definitions/erms3.SoptContractDetail"
  11845. }
  11846. },
  11847. "orimargin": {
  11848. "description": "初始保证金",
  11849. "type": "number"
  11850. },
  11851. "remark": {
  11852. "description": "备注",
  11853. "type": "string"
  11854. },
  11855. "signdate": {
  11856. "description": "签订日期",
  11857. "type": "string"
  11858. }
  11859. }
  11860. },
  11861. "erms3.AddSpotContractApplyRsp": {
  11862. "type": "object",
  11863. "required": [
  11864. "contractno"
  11865. ],
  11866. "properties": {
  11867. "contractno": {
  11868. "description": "现货合同编号",
  11869. "type": "string"
  11870. },
  11871. "spotcontractid": {
  11872. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11873. "type": "integer"
  11874. }
  11875. }
  11876. },
  11877. "erms3.AddUserInfoApplyReq": {
  11878. "type": "object",
  11879. "required": [
  11880. "userid"
  11881. ],
  11882. "properties": {
  11883. "accountid": {
  11884. "description": "交易系统帐号Id (加密存储)",
  11885. "type": "integer"
  11886. },
  11887. "areacode": {
  11888. "description": "机构代码",
  11889. "type": "string"
  11890. },
  11891. "areaid": {
  11892. "description": "机构Id",
  11893. "type": "integer"
  11894. },
  11895. "attachment1": {
  11896. "description": "附件1",
  11897. "type": "string"
  11898. },
  11899. "attachment2": {
  11900. "description": "附件2",
  11901. "type": "string"
  11902. },
  11903. "attachment3": {
  11904. "description": "附件3",
  11905. "type": "string"
  11906. },
  11907. "attachment4": {
  11908. "description": "附件4",
  11909. "type": "string"
  11910. },
  11911. "attachment5": {
  11912. "description": "附件5",
  11913. "type": "string"
  11914. },
  11915. "auditedby": {
  11916. "description": "审核人",
  11917. "type": "string"
  11918. },
  11919. "auditime": {
  11920. "description": "审核时间",
  11921. "type": "string"
  11922. },
  11923. "auditsrc": {
  11924. "description": "审核来源 - 1:管理端 2:终端",
  11925. "type": "integer"
  11926. },
  11927. "bankaccount": {
  11928. "description": "银行帐号 (加密存储)",
  11929. "type": "string"
  11930. },
  11931. "bankaccountname": {
  11932. "description": "收款人名称",
  11933. "type": "string"
  11934. },
  11935. "bankcardbackphotourl": {
  11936. "description": "银行卡背面照地址",
  11937. "type": "string"
  11938. },
  11939. "bankcardfrontphotourl": {
  11940. "description": "银行卡正面照地址",
  11941. "type": "string"
  11942. },
  11943. "bankid": {
  11944. "description": "银行编码",
  11945. "type": "string"
  11946. },
  11947. "bankname": {
  11948. "description": "银行名称",
  11949. "type": "string"
  11950. },
  11951. "bankpictureurl": {
  11952. "description": "银行卡正面地址",
  11953. "type": "string"
  11954. },
  11955. "biznature": {
  11956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11957. "type": "integer"
  11958. },
  11959. "bizscope": {
  11960. "description": "企业经营范围(企业)",
  11961. "type": "string"
  11962. },
  11963. "biztype": {
  11964. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11965. "type": "integer"
  11966. },
  11967. "brokerid": {
  11968. "description": "经纪人ID(加密存储)",
  11969. "type": "string"
  11970. },
  11971. "cardaddress": {
  11972. "description": "证件地址 (加密存储)",
  11973. "type": "string"
  11974. },
  11975. "cardbackphotourl": {
  11976. "description": "背面证件照地址",
  11977. "type": "string"
  11978. },
  11979. "cardfrontphotourl": {
  11980. "description": "正面证件照地址",
  11981. "type": "string"
  11982. },
  11983. "cardnum": {
  11984. "description": "证件号码 (加密存储)",
  11985. "type": "string"
  11986. },
  11987. "cardtype": {
  11988. "description": "证件类型",
  11989. "type": "integer"
  11990. },
  11991. "cityid": {
  11992. "description": "市",
  11993. "type": "integer"
  11994. },
  11995. "company": {
  11996. "description": "公司(个人)",
  11997. "type": "string"
  11998. },
  11999. "contactcardbackphotourl": {
  12000. "description": "联系人证件背面图片地址",
  12001. "type": "string"
  12002. },
  12003. "contactcardfrontphotourl": {
  12004. "description": "联系人证件正面图片地址",
  12005. "type": "string"
  12006. },
  12007. "contactname": {
  12008. "description": "联系人",
  12009. "type": "string"
  12010. },
  12011. "countryid": {
  12012. "description": "国家",
  12013. "type": "integer"
  12014. },
  12015. "createtime": {
  12016. "description": "开户申请时间",
  12017. "type": "string"
  12018. },
  12019. "cusbankid": {
  12020. "description": "签约类型",
  12021. "type": "string"
  12022. },
  12023. "cusbankname": {
  12024. "description": "签约类型名称",
  12025. "type": "string"
  12026. },
  12027. "customername": {
  12028. "description": "客户名称(企业名称)",
  12029. "type": "string"
  12030. },
  12031. "districtid": {
  12032. "description": "地区",
  12033. "type": "integer"
  12034. },
  12035. "email": {
  12036. "description": "Email地址(加密存储)",
  12037. "type": "string"
  12038. },
  12039. "halfbodyphotourl": {
  12040. "description": "半身照地址",
  12041. "type": "string"
  12042. },
  12043. "headurl": {
  12044. "description": "头像地址",
  12045. "type": "string"
  12046. },
  12047. "ipaddress": {
  12048. "description": "IP地址",
  12049. "type": "string"
  12050. },
  12051. "isvalidate": {
  12052. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12053. "type": "string"
  12054. },
  12055. "legalcardbackphotourl": {
  12056. "description": "法人身份证背面照地址",
  12057. "type": "string"
  12058. },
  12059. "legalcardfrontphotourl": {
  12060. "description": "法人身份证正面照地址",
  12061. "type": "string"
  12062. },
  12063. "legalpersonname": {
  12064. "description": "法人姓名(企业)",
  12065. "type": "string"
  12066. },
  12067. "logincode": {
  12068. "description": "登录帐号 (加密存储)",
  12069. "type": "string"
  12070. },
  12071. "memberareaid": {
  12072. "description": "所属会员ID",
  12073. "type": "integer"
  12074. },
  12075. "mobile2": {
  12076. "description": "手机号码[明文-尚志]",
  12077. "type": "string"
  12078. },
  12079. "mobilephone": {
  12080. "description": "手机号码 (加密存储)",
  12081. "type": "string"
  12082. },
  12083. "modifiedby": {
  12084. "description": "修改人帐号",
  12085. "type": "integer"
  12086. },
  12087. "modifiedtime": {
  12088. "description": "修改时间",
  12089. "type": "string"
  12090. },
  12091. "nickname": {
  12092. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12093. "type": "string"
  12094. },
  12095. "openmode": {
  12096. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12097. "type": "integer"
  12098. },
  12099. "otherurl": {
  12100. "description": "其它图片地址[使用分号分隔]",
  12101. "type": "string"
  12102. },
  12103. "postalcode": {
  12104. "description": "邮政编码",
  12105. "type": "string"
  12106. },
  12107. "provinceid": {
  12108. "description": "省",
  12109. "type": "integer"
  12110. },
  12111. "proxystatementurl": {
  12112. "description": "授权委托书",
  12113. "type": "string"
  12114. },
  12115. "qq": {
  12116. "description": "QQ(加密存储",
  12117. "type": "string"
  12118. },
  12119. "referral": {
  12120. "description": "推荐人编码",
  12121. "type": "string"
  12122. },
  12123. "remark": {
  12124. "description": "备注",
  12125. "type": "string"
  12126. },
  12127. "removebeforestatus": {
  12128. "description": "REMOVEBEFORESTATUS",
  12129. "type": "integer"
  12130. },
  12131. "sex": {
  12132. "description": "性别 - 0:女 1:男",
  12133. "type": "integer"
  12134. },
  12135. "signedstatus": {
  12136. "description": "账户一号签签约状态",
  12137. "type": "integer"
  12138. },
  12139. "signpdfurl": {
  12140. "description": "签约pdf文件",
  12141. "type": "string"
  12142. },
  12143. "subbranch": {
  12144. "description": "开户支行",
  12145. "type": "string"
  12146. },
  12147. "taxpayernum": {
  12148. "description": "纳税人识别号",
  12149. "type": "string"
  12150. },
  12151. "telphone": {
  12152. "description": "联系电话(加密存储)",
  12153. "type": "string"
  12154. },
  12155. "userid": {
  12156. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12157. "type": "integer"
  12158. },
  12159. "userinfotype": {
  12160. "description": "用户信息类型 - 1:个人 2:企业",
  12161. "type": "integer"
  12162. },
  12163. "username": {
  12164. "description": "用户姓名",
  12165. "type": "string"
  12166. },
  12167. "userstate": {
  12168. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12169. "type": "integer"
  12170. },
  12171. "usertype": {
  12172. "description": "用户类型 - 1:投资者 2:机构",
  12173. "type": "integer"
  12174. },
  12175. "videourl": {
  12176. "description": "视频地址",
  12177. "type": "string"
  12178. },
  12179. "wechat": {
  12180. "description": "微信号 (加密存储)",
  12181. "type": "string"
  12182. }
  12183. }
  12184. },
  12185. "erms3.CustomerInfo": {
  12186. "type": "object",
  12187. "required": [
  12188. "userid"
  12189. ],
  12190. "properties": {
  12191. "accountids": {
  12192. "description": "资金账户ID列表",
  12193. "type": "array",
  12194. "items": {
  12195. "type": "integer"
  12196. }
  12197. },
  12198. "customername": {
  12199. "description": "名称(企业名称)",
  12200. "type": "string"
  12201. },
  12202. "mobile": {
  12203. "description": "手机号码",
  12204. "type": "string"
  12205. },
  12206. "userid": {
  12207. "description": "用户ID",
  12208. "type": "integer"
  12209. }
  12210. }
  12211. },
  12212. "erms3.ModifyUserInfoApplyReq": {
  12213. "type": "object",
  12214. "required": [
  12215. "userid"
  12216. ],
  12217. "properties": {
  12218. "accountid": {
  12219. "description": "交易系统帐号Id (加密存储)",
  12220. "type": "integer"
  12221. },
  12222. "areacode": {
  12223. "description": "机构代码",
  12224. "type": "string"
  12225. },
  12226. "areaid": {
  12227. "description": "机构Id",
  12228. "type": "integer"
  12229. },
  12230. "attachment1": {
  12231. "description": "附件1",
  12232. "type": "string"
  12233. },
  12234. "attachment2": {
  12235. "description": "附件2",
  12236. "type": "string"
  12237. },
  12238. "attachment3": {
  12239. "description": "附件3",
  12240. "type": "string"
  12241. },
  12242. "attachment4": {
  12243. "description": "附件4",
  12244. "type": "string"
  12245. },
  12246. "attachment5": {
  12247. "description": "附件5",
  12248. "type": "string"
  12249. },
  12250. "auditedby": {
  12251. "description": "审核人",
  12252. "type": "string"
  12253. },
  12254. "auditime": {
  12255. "description": "审核时间",
  12256. "type": "string"
  12257. },
  12258. "auditsrc": {
  12259. "description": "审核来源 - 1:管理端 2:终端",
  12260. "type": "integer"
  12261. },
  12262. "bankaccount": {
  12263. "description": "银行帐号 (加密存储)",
  12264. "type": "string"
  12265. },
  12266. "bankaccountname": {
  12267. "description": "收款人名称",
  12268. "type": "string"
  12269. },
  12270. "bankcardbackphotourl": {
  12271. "description": "银行卡背面照地址",
  12272. "type": "string"
  12273. },
  12274. "bankcardfrontphotourl": {
  12275. "description": "银行卡正面照地址",
  12276. "type": "string"
  12277. },
  12278. "bankid": {
  12279. "description": "银行编码",
  12280. "type": "string"
  12281. },
  12282. "bankname": {
  12283. "description": "银行名称",
  12284. "type": "string"
  12285. },
  12286. "bankpictureurl": {
  12287. "description": "银行卡正面地址",
  12288. "type": "string"
  12289. },
  12290. "biznature": {
  12291. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12292. "type": "integer"
  12293. },
  12294. "bizscope": {
  12295. "description": "企业经营范围(企业)",
  12296. "type": "string"
  12297. },
  12298. "biztype": {
  12299. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12300. "type": "integer"
  12301. },
  12302. "brokerid": {
  12303. "description": "经纪人ID(加密存储)",
  12304. "type": "string"
  12305. },
  12306. "cardaddress": {
  12307. "description": "证件地址 (加密存储)",
  12308. "type": "string"
  12309. },
  12310. "cardbackphotourl": {
  12311. "description": "背面证件照地址",
  12312. "type": "string"
  12313. },
  12314. "cardfrontphotourl": {
  12315. "description": "正面证件照地址",
  12316. "type": "string"
  12317. },
  12318. "cardnum": {
  12319. "description": "证件号码 (加密存储)",
  12320. "type": "string"
  12321. },
  12322. "cardtype": {
  12323. "description": "证件类型",
  12324. "type": "integer"
  12325. },
  12326. "cityid": {
  12327. "description": "市",
  12328. "type": "integer"
  12329. },
  12330. "company": {
  12331. "description": "公司(个人)",
  12332. "type": "string"
  12333. },
  12334. "contactcardbackphotourl": {
  12335. "description": "联系人证件背面图片地址",
  12336. "type": "string"
  12337. },
  12338. "contactcardfrontphotourl": {
  12339. "description": "联系人证件正面图片地址",
  12340. "type": "string"
  12341. },
  12342. "contactname": {
  12343. "description": "联系人",
  12344. "type": "string"
  12345. },
  12346. "countryid": {
  12347. "description": "国家",
  12348. "type": "integer"
  12349. },
  12350. "createtime": {
  12351. "description": "开户申请时间",
  12352. "type": "string"
  12353. },
  12354. "cusbankid": {
  12355. "description": "签约类型",
  12356. "type": "string"
  12357. },
  12358. "cusbankname": {
  12359. "description": "签约类型名称",
  12360. "type": "string"
  12361. },
  12362. "customername": {
  12363. "description": "客户名称(企业名称)",
  12364. "type": "string"
  12365. },
  12366. "districtid": {
  12367. "description": "地区",
  12368. "type": "integer"
  12369. },
  12370. "email": {
  12371. "description": "Email地址(加密存储)",
  12372. "type": "string"
  12373. },
  12374. "halfbodyphotourl": {
  12375. "description": "半身照地址",
  12376. "type": "string"
  12377. },
  12378. "headurl": {
  12379. "description": "头像地址",
  12380. "type": "string"
  12381. },
  12382. "ipaddress": {
  12383. "description": "IP地址",
  12384. "type": "string"
  12385. },
  12386. "isvalidate": {
  12387. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12388. "type": "string"
  12389. },
  12390. "legalcardbackphotourl": {
  12391. "description": "法人身份证背面照地址",
  12392. "type": "string"
  12393. },
  12394. "legalcardfrontphotourl": {
  12395. "description": "法人身份证正面照地址",
  12396. "type": "string"
  12397. },
  12398. "legalpersonname": {
  12399. "description": "法人姓名(企业)",
  12400. "type": "string"
  12401. },
  12402. "logincode": {
  12403. "description": "登录帐号 (加密存储)",
  12404. "type": "string"
  12405. },
  12406. "memberareaid": {
  12407. "description": "所属会员ID",
  12408. "type": "integer"
  12409. },
  12410. "mobile2": {
  12411. "description": "手机号码[明文-尚志]",
  12412. "type": "string"
  12413. },
  12414. "mobilephone": {
  12415. "description": "手机号码 (加密存储)",
  12416. "type": "string"
  12417. },
  12418. "modifiedby": {
  12419. "description": "修改人帐号",
  12420. "type": "integer"
  12421. },
  12422. "modifiedtime": {
  12423. "description": "修改时间",
  12424. "type": "string"
  12425. },
  12426. "nickname": {
  12427. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12428. "type": "string"
  12429. },
  12430. "openmode": {
  12431. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12432. "type": "integer"
  12433. },
  12434. "otherurl": {
  12435. "description": "其它图片地址[使用分号分隔]",
  12436. "type": "string"
  12437. },
  12438. "postalcode": {
  12439. "description": "邮政编码",
  12440. "type": "string"
  12441. },
  12442. "provinceid": {
  12443. "description": "省",
  12444. "type": "integer"
  12445. },
  12446. "proxystatementurl": {
  12447. "description": "授权委托书",
  12448. "type": "string"
  12449. },
  12450. "qq": {
  12451. "description": "QQ(加密存储",
  12452. "type": "string"
  12453. },
  12454. "referral": {
  12455. "description": "推荐人编码",
  12456. "type": "string"
  12457. },
  12458. "remark": {
  12459. "description": "备注",
  12460. "type": "string"
  12461. },
  12462. "removebeforestatus": {
  12463. "description": "REMOVEBEFORESTATUS",
  12464. "type": "integer"
  12465. },
  12466. "sex": {
  12467. "description": "性别 - 0:女 1:男",
  12468. "type": "integer"
  12469. },
  12470. "signedstatus": {
  12471. "description": "账户一号签签约状态",
  12472. "type": "integer"
  12473. },
  12474. "signpdfurl": {
  12475. "description": "签约pdf文件",
  12476. "type": "string"
  12477. },
  12478. "subbranch": {
  12479. "description": "开户支行",
  12480. "type": "string"
  12481. },
  12482. "taxpayernum": {
  12483. "description": "纳税人识别号",
  12484. "type": "string"
  12485. },
  12486. "telphone": {
  12487. "description": "联系电话(加密存储)",
  12488. "type": "string"
  12489. },
  12490. "userid": {
  12491. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12492. "type": "integer"
  12493. },
  12494. "userinfotype": {
  12495. "description": "用户信息类型 - 1:个人 2:企业",
  12496. "type": "integer"
  12497. },
  12498. "username": {
  12499. "description": "用户姓名",
  12500. "type": "string"
  12501. },
  12502. "userstate": {
  12503. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12504. "type": "integer"
  12505. },
  12506. "usertype": {
  12507. "description": "用户类型 - 1:投资者 2:机构",
  12508. "type": "integer"
  12509. },
  12510. "videourl": {
  12511. "description": "视频地址",
  12512. "type": "string"
  12513. },
  12514. "wechat": {
  12515. "description": "微信号 (加密存储)",
  12516. "type": "string"
  12517. }
  12518. }
  12519. },
  12520. "erms3.QryAuditContractRsp": {
  12521. "type": "object",
  12522. "required": [
  12523. "matchcustomername",
  12524. "spotcontractid"
  12525. ],
  12526. "properties": {
  12527. "accountid": {
  12528. "description": "交易员ID",
  12529. "type": "string"
  12530. },
  12531. "applystatus": {
  12532. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12533. "type": "integer"
  12534. },
  12535. "curdeliveryqty": {
  12536. "description": "未交收量",
  12537. "type": "integer"
  12538. },
  12539. "customername": {
  12540. "description": "采购方ID",
  12541. "type": "string"
  12542. },
  12543. "deliverygoodsid": {
  12544. "description": "品种ID",
  12545. "type": "string"
  12546. },
  12547. "deliveryqty": {
  12548. "description": "交收量",
  12549. "type": "integer"
  12550. },
  12551. "enumdicname": {
  12552. "description": "单位名称",
  12553. "type": "string"
  12554. },
  12555. "matchaccountid": {
  12556. "description": "业务员ID",
  12557. "type": "string"
  12558. },
  12559. "matchcustomername": {
  12560. "description": "销售方ID",
  12561. "type": "string"
  12562. },
  12563. "pricedqty": {
  12564. "description": "定价量",
  12565. "type": "number"
  12566. },
  12567. "signdate": {
  12568. "description": "签订日期",
  12569. "type": "string"
  12570. },
  12571. "spotcontractid": {
  12572. "description": "合同ID",
  12573. "type": "string"
  12574. },
  12575. "totaldqty": {
  12576. "description": "合同量",
  12577. "type": "number"
  12578. },
  12579. "unpricedqty": {
  12580. "description": "未定价量",
  12581. "type": "number"
  12582. },
  12583. "wrstandardname": {
  12584. "description": "商品名称",
  12585. "type": "string"
  12586. }
  12587. }
  12588. },
  12589. "erms3.QryPendingBizRsp": {
  12590. "$ref": "#/definitions/models.PendingAuditBizModel"
  12591. },
  12592. "erms3.QueryBusinessInfoRsp": {
  12593. "type": "object",
  12594. "properties": {
  12595. "businessid": {
  12596. "description": "业务ID.",
  12597. "type": "integer"
  12598. },
  12599. "buyamount": {
  12600. "description": "采购额.",
  12601. "type": "number"
  12602. },
  12603. "buyqty": {
  12604. "description": "采购量.",
  12605. "type": "string"
  12606. },
  12607. "futurepl": {
  12608. "description": "期货盈亏.",
  12609. "type": "number"
  12610. },
  12611. "futureqty": {
  12612. "description": "期货敞口.",
  12613. "type": "string"
  12614. },
  12615. "goodsid": {
  12616. "description": "商品名称/商品代码.",
  12617. "type": "string"
  12618. },
  12619. "hedgingqty": {
  12620. "description": "套保量.",
  12621. "type": "string"
  12622. },
  12623. "sellamount": {
  12624. "description": "销售额.",
  12625. "type": "number"
  12626. },
  12627. "sellqty": {
  12628. "description": "销售量.",
  12629. "type": "string"
  12630. },
  12631. "spotmarketvalue": {
  12632. "description": "现货市值.",
  12633. "type": "number"
  12634. },
  12635. "spotpl": {
  12636. "description": "浮动权益.",
  12637. "type": "number"
  12638. },
  12639. "spotqty": {
  12640. "description": "现货量.",
  12641. "type": "string"
  12642. },
  12643. "statu": {
  12644. "description": "状态,0-未结束 1-已结束.",
  12645. "type": "integer"
  12646. },
  12647. "totalpl": {
  12648. "description": "总盈亏.",
  12649. "type": "number"
  12650. },
  12651. "totalqty": {
  12652. "description": "总敞口.",
  12653. "type": "string"
  12654. },
  12655. "type": {
  12656. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12657. "type": "integer"
  12658. }
  12659. }
  12660. },
  12661. "erms3.QuerySpotContractAppleFormRsp": {
  12662. "type": "object",
  12663. "properties": {
  12664. "goodses": {
  12665. "description": "合约列表",
  12666. "type": "array",
  12667. "items": {
  12668. "$ref": "#/definitions/models.GoodsIDAndName"
  12669. }
  12670. },
  12671. "oppositeusers": {
  12672. "description": "对方账号列表",
  12673. "type": "array",
  12674. "items": {
  12675. "$ref": "#/definitions/erms3.CustomerInfo"
  12676. }
  12677. },
  12678. "ouruser": {
  12679. "description": "我方账号",
  12680. "type": "object",
  12681. "$ref": "#/definitions/erms3.CustomerInfo"
  12682. },
  12683. "warehouseinfos": {
  12684. "description": "仓库信息列表",
  12685. "type": "array",
  12686. "items": {
  12687. "$ref": "#/definitions/models.Warehouseinfo"
  12688. }
  12689. },
  12690. "wrstandards": {
  12691. "description": "仓单标准列表",
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.WRStandardInfo"
  12695. }
  12696. }
  12697. }
  12698. },
  12699. "erms3.QuerySpotContractInfoRsp": {
  12700. "type": "object",
  12701. "properties": {
  12702. "accountid": {
  12703. "description": "表示交易员ID.",
  12704. "type": "integer"
  12705. },
  12706. "curdeliveryqty": {
  12707. "description": "表示未交收量.",
  12708. "type": "number"
  12709. },
  12710. "customername": {
  12711. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12712. "type": "string"
  12713. },
  12714. "deliverygoodsid": {
  12715. "description": "表示品种ID.",
  12716. "type": "string"
  12717. },
  12718. "deliveryqty": {
  12719. "description": "表示交收量.",
  12720. "type": "number"
  12721. },
  12722. "matchaccountid": {
  12723. "description": "表示业务员ID.",
  12724. "type": "integer"
  12725. },
  12726. "matchcustomername": {
  12727. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12728. "type": "string"
  12729. },
  12730. "priceqty": {
  12731. "description": "表示定价量.",
  12732. "type": "number"
  12733. },
  12734. "relatedbizid": {
  12735. "description": "表示业务ID.",
  12736. "type": "string"
  12737. },
  12738. "signdate": {
  12739. "description": "表示签订日期.",
  12740. "type": "string"
  12741. },
  12742. "spotcontractid": {
  12743. "description": "合同ID",
  12744. "type": "string"
  12745. },
  12746. "status": {
  12747. "description": "表示状态,0-履约中 1-已完成.",
  12748. "type": "integer"
  12749. },
  12750. "totalqty": {
  12751. "description": "表示合同量.",
  12752. "type": "number"
  12753. },
  12754. "unpricedqty": {
  12755. "description": "表示未定价量.",
  12756. "type": "number"
  12757. },
  12758. "wrstandardname": {
  12759. "description": "表示商品ID.",
  12760. "type": "string"
  12761. }
  12762. }
  12763. },
  12764. "erms3.QueryUserInfoAppliesRsp": {
  12765. "type": "object",
  12766. "required": [
  12767. "userid"
  12768. ],
  12769. "properties": {
  12770. "biznature": {
  12771. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12772. "type": "integer"
  12773. },
  12774. "contactname": {
  12775. "description": "联系人",
  12776. "type": "string"
  12777. },
  12778. "createtime": {
  12779. "description": "开户申请时间",
  12780. "type": "string"
  12781. },
  12782. "userid": {
  12783. "description": "用户ID(自增ID)",
  12784. "type": "integer"
  12785. },
  12786. "userinfotype": {
  12787. "description": "用户信息类型 - 1:个人 2:企业",
  12788. "type": "integer"
  12789. },
  12790. "username": {
  12791. "description": "用户姓名",
  12792. "type": "string"
  12793. },
  12794. "userstate": {
  12795. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12796. "type": "integer"
  12797. }
  12798. }
  12799. },
  12800. "erms3.QueryUserInfosRsp": {
  12801. "type": "object",
  12802. "required": [
  12803. "userid"
  12804. ],
  12805. "properties": {
  12806. "biznature": {
  12807. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12808. "type": "integer"
  12809. },
  12810. "contactname": {
  12811. "description": "联系人",
  12812. "type": "string"
  12813. },
  12814. "customername": {
  12815. "description": "客户名称(企业名称)",
  12816. "type": "string"
  12817. },
  12818. "userid": {
  12819. "description": "用户ID",
  12820. "type": "integer"
  12821. },
  12822. "userinfotype": {
  12823. "description": "用户信息类型 - 1:个人 2:企业",
  12824. "type": "integer"
  12825. },
  12826. "userstatus": {
  12827. "description": "用户状态 - 1:正常 2:注销",
  12828. "type": "integer"
  12829. }
  12830. }
  12831. },
  12832. "erms3.SoptContractDetail": {
  12833. "type": "object",
  12834. "required": [
  12835. "deliverygoodsid",
  12836. "producttype",
  12837. "unitname",
  12838. "warehouseid",
  12839. "wrstandardid",
  12840. "wrstandardname"
  12841. ],
  12842. "properties": {
  12843. "deliverygoodsdesc": {
  12844. "description": "现货品种说明",
  12845. "type": "string"
  12846. },
  12847. "deliverygoodsid": {
  12848. "description": "现货品种ID",
  12849. "type": "integer"
  12850. },
  12851. "deliverygoodsname": {
  12852. "description": "现货品种名称",
  12853. "type": "string"
  12854. },
  12855. "pointdesc": {
  12856. "description": "点价描述",
  12857. "type": "string"
  12858. },
  12859. "producttype": {
  12860. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12861. "type": "integer"
  12862. },
  12863. "producttypename": {
  12864. "description": "产品类型名称",
  12865. "type": "string"
  12866. },
  12867. "spotPointOrderVoList": {
  12868. "description": "点价列表",
  12869. "type": "array",
  12870. "items": {
  12871. "$ref": "#/definitions/erms3.SpotPointOrder"
  12872. }
  12873. },
  12874. "spotPriceOrderList": {
  12875. "description": "定价列表",
  12876. "type": "array",
  12877. "items": {
  12878. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12879. }
  12880. },
  12881. "unitname": {
  12882. "description": "单位名称",
  12883. "type": "string"
  12884. },
  12885. "warehouseid": {
  12886. "description": "仓库ID",
  12887. "type": "integer"
  12888. },
  12889. "warehousename": {
  12890. "description": "仓库名称",
  12891. "type": "string"
  12892. },
  12893. "wrstandardid": {
  12894. "description": "交易标的ID",
  12895. "type": "integer"
  12896. },
  12897. "wrstandardname": {
  12898. "description": "交易标的名称",
  12899. "type": "string"
  12900. }
  12901. }
  12902. },
  12903. "erms3.SpotPointOrder": {
  12904. "type": "object",
  12905. "required": [
  12906. "basic",
  12907. "goodsid",
  12908. "qty"
  12909. ],
  12910. "properties": {
  12911. "basic": {
  12912. "description": "基差",
  12913. "type": "number"
  12914. },
  12915. "deliveryenddate": {
  12916. "description": "交收结束日期",
  12917. "type": "string"
  12918. },
  12919. "deliverystartdate": {
  12920. "description": "交收开始日期",
  12921. "type": "string"
  12922. },
  12923. "enddate": {
  12924. "description": "点价结束日期",
  12925. "type": "string"
  12926. },
  12927. "goodsid": {
  12928. "description": "商品ID",
  12929. "type": "integer"
  12930. },
  12931. "goodsname": {
  12932. "description": "商品名称",
  12933. "type": "string"
  12934. },
  12935. "qty": {
  12936. "description": "数量",
  12937. "type": "number"
  12938. },
  12939. "startdate": {
  12940. "description": "点价开始日期",
  12941. "type": "string"
  12942. }
  12943. }
  12944. },
  12945. "erms3.SpotPriceOrder": {
  12946. "type": "object",
  12947. "required": [
  12948. "amount",
  12949. "price",
  12950. "qty"
  12951. ],
  12952. "properties": {
  12953. "amount": {
  12954. "description": "金额",
  12955. "type": "number"
  12956. },
  12957. "deliveryenddate": {
  12958. "description": "交收结束日期",
  12959. "type": "string"
  12960. },
  12961. "deliverystartdate": {
  12962. "description": "交收开始日期",
  12963. "type": "string"
  12964. },
  12965. "price": {
  12966. "description": "价格",
  12967. "type": "number"
  12968. },
  12969. "qty": {
  12970. "description": "数量",
  12971. "type": "number"
  12972. }
  12973. }
  12974. },
  12975. "hsby.GetHsbyMyCountRsp": {
  12976. "type": "object",
  12977. "properties": {
  12978. "myCouponCount": {
  12979. "description": "我的优惠卷数量",
  12980. "type": "integer"
  12981. },
  12982. "myOrderDetailListingCount": {
  12983. "description": "我的订单求购中数量",
  12984. "type": "integer"
  12985. },
  12986. "myOrderDetailPreCount": {
  12987. "description": "我的订单抢购中数量",
  12988. "type": "integer"
  12989. },
  12990. "myPackageUnReceiveCount": {
  12991. "description": "我的包裹待收货数量",
  12992. "type": "integer"
  12993. },
  12994. "myPackageUnSendCount": {
  12995. "description": "我的包裹待发货数量",
  12996. "type": "integer"
  12997. },
  12998. "myPayOrderCount": {
  12999. "description": "我的订单待付款数量",
  13000. "type": "integer"
  13001. }
  13002. }
  13003. },
  13004. "hsby.QueryProvincesAndCitiesRsp": {
  13005. "type": "object",
  13006. "properties": {
  13007. "cities": {
  13008. "description": "市",
  13009. "type": "array",
  13010. "items": {
  13011. "$ref": "#/definitions/models.Division"
  13012. }
  13013. },
  13014. "province": {
  13015. "description": "省",
  13016. "type": "object",
  13017. "$ref": "#/definitions/models.Division"
  13018. }
  13019. }
  13020. },
  13021. "models.AreaSpotModel": {
  13022. "type": "object",
  13023. "properties": {
  13024. "areauserid": {
  13025. "description": "所属机构",
  13026. "type": "integer"
  13027. },
  13028. "decreaseqty": {
  13029. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13030. "type": "number"
  13031. },
  13032. "increaseqty": {
  13033. "description": "增加数量=销售计划数量+采购已定价数量",
  13034. "type": "number"
  13035. },
  13036. "oritoalspotqty": {
  13037. "description": "昨日数量",
  13038. "type": "number"
  13039. },
  13040. "totalspotqty": {
  13041. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13042. "type": "number"
  13043. },
  13044. "updatetime": {
  13045. "description": "更新时间",
  13046. "type": "string"
  13047. },
  13048. "wrstandardcode": {
  13049. "description": "现货品种代码",
  13050. "type": "string"
  13051. },
  13052. "wrstandardid": {
  13053. "description": "现货商品ID",
  13054. "type": "integer"
  13055. },
  13056. "wrstandardname": {
  13057. "description": "现货品种",
  13058. "type": "string"
  13059. }
  13060. }
  13061. },
  13062. "models.Arearole": {
  13063. "type": "object",
  13064. "required": [
  13065. "roletype",
  13066. "userid"
  13067. ],
  13068. "properties": {
  13069. "createtime": {
  13070. "description": "创建时间",
  13071. "type": "string"
  13072. },
  13073. "creatorid": {
  13074. "description": "创建人ID",
  13075. "type": "integer"
  13076. },
  13077. "isreturnscore": {
  13078. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13079. "type": "integer"
  13080. },
  13081. "modifierid": {
  13082. "description": "修改人ID",
  13083. "type": "integer"
  13084. },
  13085. "modifytime": {
  13086. "description": "修改时间",
  13087. "type": "string"
  13088. },
  13089. "orgtype": {
  13090. "description": "组织机构类型 1:机构 2:交易员",
  13091. "type": "integer"
  13092. },
  13093. "outuserid": {
  13094. "description": "外部账户[场外期权做市商]",
  13095. "type": "string"
  13096. },
  13097. "parentuserid": {
  13098. "description": "上级组织机构(组织机构)",
  13099. "type": "integer"
  13100. },
  13101. "roletype": {
  13102. "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:交易员",
  13103. "type": "integer"
  13104. },
  13105. "rootuserid": {
  13106. "description": "顶级组织机构用户ID(组织机构)",
  13107. "type": "integer"
  13108. },
  13109. "shoppassword": {
  13110. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13111. "type": "string"
  13112. },
  13113. "sublevelpath": {
  13114. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13115. "type": "string"
  13116. },
  13117. "tradeaccountid": {
  13118. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13119. "type": "integer"
  13120. },
  13121. "transurl": {
  13122. "description": "物流地址(物流机构)",
  13123. "type": "string"
  13124. },
  13125. "userid": {
  13126. "description": "机构用户ID其他做市关系,都设置为 1",
  13127. "type": "integer"
  13128. }
  13129. }
  13130. },
  13131. "models.Clientfixedadconfig": {
  13132. "type": "object",
  13133. "required": [
  13134. "adsort",
  13135. "adtype"
  13136. ],
  13137. "properties": {
  13138. "adsort": {
  13139. "description": "排序",
  13140. "type": "integer"
  13141. },
  13142. "adtype": {
  13143. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13144. "type": "integer"
  13145. },
  13146. "areauserid": {
  13147. "description": "所属机构ID",
  13148. "type": "integer"
  13149. },
  13150. "createdate": {
  13151. "description": "创建时间",
  13152. "type": "string"
  13153. },
  13154. "creatorid": {
  13155. "description": "创建人",
  13156. "type": "integer"
  13157. },
  13158. "imagepath": {
  13159. "description": "图片",
  13160. "type": "string"
  13161. },
  13162. "isshow": {
  13163. "description": "是否展示 - 0:不展示 1:展示",
  13164. "type": "integer"
  13165. },
  13166. "modifierid": {
  13167. "description": "操作人",
  13168. "type": "integer"
  13169. },
  13170. "recsize": {
  13171. "description": "推荐尺寸",
  13172. "type": "string"
  13173. },
  13174. "title": {
  13175. "description": "标题",
  13176. "type": "string"
  13177. },
  13178. "updatedate": {
  13179. "description": "更新时间",
  13180. "type": "string"
  13181. },
  13182. "urlcontent": {
  13183. "description": "链接(地址或商品ID)",
  13184. "type": "string"
  13185. },
  13186. "urltype": {
  13187. "description": "链接类型 - 1:直接地址 2:商品ID",
  13188. "type": "integer"
  13189. }
  13190. }
  13191. },
  13192. "models.Division": {
  13193. "type": "object",
  13194. "required": [
  13195. "autoid",
  13196. "divisioncode"
  13197. ],
  13198. "properties": {
  13199. "autoid": {
  13200. "description": "自增ID",
  13201. "type": "integer"
  13202. },
  13203. "divisioncode": {
  13204. "description": "行政代码",
  13205. "type": "string"
  13206. },
  13207. "divisionlevel": {
  13208. "description": "行政级别",
  13209. "type": "string"
  13210. },
  13211. "divisionname": {
  13212. "description": "行政名称",
  13213. "type": "string"
  13214. },
  13215. "modifierid": {
  13216. "description": "修改人",
  13217. "type": "integer"
  13218. },
  13219. "modifytime": {
  13220. "description": "修改时间",
  13221. "type": "string"
  13222. },
  13223. "parentcode": {
  13224. "description": "上级行政代码",
  13225. "type": "string"
  13226. },
  13227. "pathname": {
  13228. "description": "路径名称",
  13229. "type": "string"
  13230. },
  13231. "postcode": {
  13232. "description": "邮政编码",
  13233. "type": "string"
  13234. },
  13235. "separablename": {
  13236. "description": "可拆分的全称",
  13237. "type": "string"
  13238. },
  13239. "shortcode": {
  13240. "description": "地区简码",
  13241. "type": "string"
  13242. }
  13243. }
  13244. },
  13245. "models.Enumdicitem": {
  13246. "type": "object",
  13247. "required": [
  13248. "autoid",
  13249. "enumdiccode",
  13250. "enumdicid",
  13251. "enumitemname"
  13252. ],
  13253. "properties": {
  13254. "autoid": {
  13255. "description": "自增ID",
  13256. "type": "integer"
  13257. },
  13258. "bankmappedvalue": {
  13259. "description": "银行服务对应值",
  13260. "type": "string"
  13261. },
  13262. "enumdiccode": {
  13263. "description": "所属枚举代码",
  13264. "type": "string"
  13265. },
  13266. "enumdicid": {
  13267. "description": "所属枚举ID",
  13268. "type": "integer"
  13269. },
  13270. "enumdicname": {
  13271. "description": "枚举项名称",
  13272. "type": "string"
  13273. },
  13274. "enumitemname": {
  13275. "description": "枚举项值",
  13276. "type": "integer"
  13277. },
  13278. "enumitemstatus": {
  13279. "description": "枚举项状态 - 1.启用 2.不启用",
  13280. "type": "integer"
  13281. },
  13282. "enumitemvalue": {
  13283. "description": "通用值 - [币种通用简写]",
  13284. "type": "string"
  13285. },
  13286. "param1": {
  13287. "description": "参数1[币种:币种小数位]",
  13288. "type": "string"
  13289. },
  13290. "param2": {
  13291. "description": "参数1[币种:币种显示单位]",
  13292. "type": "string"
  13293. },
  13294. "remark": {
  13295. "description": "备注",
  13296. "type": "string"
  13297. }
  13298. }
  13299. },
  13300. "models.Ermcp3AreaSpot": {
  13301. "type": "object",
  13302. "properties": {
  13303. "areauserid": {
  13304. "description": "所属机构",
  13305. "type": "integer"
  13306. },
  13307. "decreaseqty": {
  13308. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13309. "type": "number"
  13310. },
  13311. "deliverygoodscode": {
  13312. "description": "现货品种代码",
  13313. "type": "string"
  13314. },
  13315. "deliverygoodsid": {
  13316. "description": "现货品种id",
  13317. "type": "integer"
  13318. },
  13319. "deliverygoodsname": {
  13320. "description": "现货品种名称",
  13321. "type": "string"
  13322. },
  13323. "enumdicname": {
  13324. "description": "单位名称",
  13325. "type": "string"
  13326. },
  13327. "goodsunitid": {
  13328. "description": "现货品种单位id",
  13329. "type": "integer"
  13330. },
  13331. "increaseqty": {
  13332. "description": "增加数量=销售计划数量+采购已定价数量",
  13333. "type": "number"
  13334. },
  13335. "oritoalspotqty": {
  13336. "description": "昨日数量",
  13337. "type": "number"
  13338. },
  13339. "totalspotqty": {
  13340. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13341. "type": "number"
  13342. },
  13343. "updatetime": {
  13344. "description": "更新时间",
  13345. "type": "string"
  13346. }
  13347. }
  13348. },
  13349. "models.Ermcp3AreaSpotDetail": {
  13350. "type": "object",
  13351. "properties": {
  13352. "contracttype": {
  13353. "description": "合同类型 1-采购 -1-销售",
  13354. "type": "integer"
  13355. },
  13356. "createtime": {
  13357. "description": "创建时间",
  13358. "type": "string"
  13359. },
  13360. "deliverygoodscode": {
  13361. "description": "现货品种代码",
  13362. "type": "string"
  13363. },
  13364. "deliverygoodsid": {
  13365. "description": "现货品种id",
  13366. "type": "integer"
  13367. },
  13368. "deliverygoodsname": {
  13369. "description": "现货品种名称",
  13370. "type": "string"
  13371. },
  13372. "enumdicname": {
  13373. "description": "现货商品单位名称",
  13374. "type": "string"
  13375. },
  13376. "logtype": {
  13377. "description": "记录类型 1-套保 2-现货合同",
  13378. "type": "integer"
  13379. },
  13380. "qty": {
  13381. "description": "数量",
  13382. "type": "number"
  13383. },
  13384. "recordname": {
  13385. "description": "类型名称",
  13386. "type": "string"
  13387. },
  13388. "relatedid": {
  13389. "description": "套保计划ID/现货合同ID",
  13390. "type": "string"
  13391. },
  13392. "relatedno": {
  13393. "description": "编号",
  13394. "type": "string"
  13395. },
  13396. "strtime": {
  13397. "description": "时间",
  13398. "type": "string"
  13399. }
  13400. }
  13401. },
  13402. "models.Ermcp3AreaSpotPLReport": {
  13403. "type": "object",
  13404. "properties": {
  13405. "accountid": {
  13406. "description": "期货账户ID (作废, 默认为0)",
  13407. "type": "integer"
  13408. },
  13409. "accountname": {
  13410. "description": "机构名称",
  13411. "type": "string"
  13412. },
  13413. "actualpl": {
  13414. "description": "现货损益",
  13415. "type": "number"
  13416. },
  13417. "areauserid": {
  13418. "description": "所属机构\\交易用户ID",
  13419. "type": "integer"
  13420. },
  13421. "begindate": {
  13422. "description": "开始交易日",
  13423. "type": "string"
  13424. },
  13425. "biztype": {
  13426. "description": "业务类型 - 1:套保 2:套利",
  13427. "type": "integer"
  13428. },
  13429. "brandname": {
  13430. "description": "品牌名称",
  13431. "type": "string"
  13432. },
  13433. "curamount": {
  13434. "description": "期末额",
  13435. "type": "number"
  13436. },
  13437. "curaverageprice": {
  13438. "description": "期末均价",
  13439. "type": "number"
  13440. },
  13441. "curbuyamount": {
  13442. "description": "期末采购总额",
  13443. "type": "number"
  13444. },
  13445. "curbuyqty": {
  13446. "description": "期末采购总量",
  13447. "type": "number"
  13448. },
  13449. "curmarketvalue": {
  13450. "description": "参考市值(期末市值)",
  13451. "type": "number"
  13452. },
  13453. "curqty": {
  13454. "description": "期末量",
  13455. "type": "number"
  13456. },
  13457. "currencyid": {
  13458. "description": "结算币种ID【原值】",
  13459. "type": "integer"
  13460. },
  13461. "currencyname": {
  13462. "description": "币种名称",
  13463. "type": "string"
  13464. },
  13465. "cursellamount": {
  13466. "description": "期末销售总额",
  13467. "type": "number"
  13468. },
  13469. "cursellqty": {
  13470. "description": "期末销售总量",
  13471. "type": "number"
  13472. },
  13473. "curspotprice": {
  13474. "description": "参考市价(最新价)",
  13475. "type": "number"
  13476. },
  13477. "cycletime": {
  13478. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13479. "type": "string"
  13480. },
  13481. "cycletype": {
  13482. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13483. "type": "integer"
  13484. },
  13485. "deliverygoodscode": {
  13486. "description": "现货商品代码",
  13487. "type": "string"
  13488. },
  13489. "deliverygoodsid": {
  13490. "description": "现货品种ID",
  13491. "type": "integer"
  13492. },
  13493. "deliverygoodsname": {
  13494. "description": "现货商品名称",
  13495. "type": "string"
  13496. },
  13497. "enddate": {
  13498. "description": "结束交易日",
  13499. "type": "string"
  13500. },
  13501. "enumdicname": {
  13502. "description": "现货商品单位名称",
  13503. "type": "string"
  13504. },
  13505. "floatpl": {
  13506. "description": "浮动损益",
  13507. "type": "number"
  13508. },
  13509. "goodsunitid": {
  13510. "description": "现货商品单位id",
  13511. "type": "integer"
  13512. },
  13513. "oriamount": {
  13514. "description": "期初额",
  13515. "type": "number"
  13516. },
  13517. "oriaverageprice": {
  13518. "description": "期初均价",
  13519. "type": "number"
  13520. },
  13521. "oribuyamount": {
  13522. "description": "期初采购总额",
  13523. "type": "number"
  13524. },
  13525. "oribuyqty": {
  13526. "description": "期初采购总量",
  13527. "type": "number"
  13528. },
  13529. "oriqty": {
  13530. "description": "期初量",
  13531. "type": "number"
  13532. },
  13533. "orisellamount": {
  13534. "description": "期初销售总额",
  13535. "type": "number"
  13536. },
  13537. "orisellqty": {
  13538. "description": "期初销售总量",
  13539. "type": "number"
  13540. },
  13541. "reckondate": {
  13542. "description": "日照时期(yyyyMMdd)",
  13543. "type": "string"
  13544. },
  13545. "spotgoodsbrandid": {
  13546. "description": "现货品牌ID",
  13547. "type": "integer"
  13548. },
  13549. "todaybuyamount": {
  13550. "description": "今日采购额(今采购额)",
  13551. "type": "number"
  13552. },
  13553. "todaybuyaverageprice": {
  13554. "description": "今日采购均价",
  13555. "type": "number"
  13556. },
  13557. "todaybuyqty": {
  13558. "description": "今日采购量(今采购量)",
  13559. "type": "number"
  13560. },
  13561. "todayinqty": {
  13562. "description": "今日入库量(今入库量)",
  13563. "type": "number"
  13564. },
  13565. "todayoutqty": {
  13566. "description": "今日出库量(今出库量)",
  13567. "type": "number"
  13568. },
  13569. "todaysellamount": {
  13570. "description": "今日销售额(今销售额)",
  13571. "type": "number"
  13572. },
  13573. "todaysellaverageprice": {
  13574. "description": "今日销售均价",
  13575. "type": "number"
  13576. },
  13577. "todaysellqty": {
  13578. "description": "今日销售量(今销售量)",
  13579. "type": "number"
  13580. },
  13581. "unitid": {
  13582. "description": "品类单位id",
  13583. "type": "integer"
  13584. },
  13585. "unitidname": {
  13586. "description": "品类单位名称",
  13587. "type": "string"
  13588. },
  13589. "updatetime": {
  13590. "description": "更新时间",
  13591. "type": "string"
  13592. },
  13593. "wrfactortypeid": {
  13594. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13595. "type": "integer"
  13596. },
  13597. "wrstandardcode": {
  13598. "description": "品类代码",
  13599. "type": "string"
  13600. },
  13601. "wrstandardid": {
  13602. "description": "现货品类ID",
  13603. "type": "integer"
  13604. },
  13605. "wrstandardname": {
  13606. "description": "品类名称",
  13607. "type": "string"
  13608. }
  13609. }
  13610. },
  13611. "models.Ermcp3AreaStock": {
  13612. "type": "object",
  13613. "required": [
  13614. "userid"
  13615. ],
  13616. "properties": {
  13617. "brandname": {
  13618. "description": "品牌名称",
  13619. "type": "string"
  13620. },
  13621. "curstock": {
  13622. "description": "期末库存量(今日量)",
  13623. "type": "number"
  13624. },
  13625. "deliverygoodscode": {
  13626. "description": "现货品种代码",
  13627. "type": "string"
  13628. },
  13629. "deliverygoodsid": {
  13630. "description": "现货品种id",
  13631. "type": "integer"
  13632. },
  13633. "deliverygoodsname": {
  13634. "description": "现货品种名称",
  13635. "type": "string"
  13636. },
  13637. "enumdicname": {
  13638. "description": "单位名称",
  13639. "type": "string"
  13640. },
  13641. "goodsunitid": {
  13642. "description": "现货商品单位id",
  13643. "type": "integer"
  13644. },
  13645. "oristock": {
  13646. "description": "期初库存量(昨日量)",
  13647. "type": "number"
  13648. },
  13649. "spotgoodsbrandid": {
  13650. "description": "现货品牌ID",
  13651. "type": "integer"
  13652. },
  13653. "todaybuyinqty": {
  13654. "description": "今日采购入库量",
  13655. "type": "number"
  13656. },
  13657. "todayproduceinqty": {
  13658. "description": "今日生产入库量",
  13659. "type": "number"
  13660. },
  13661. "todayproduceoutqty": {
  13662. "description": "今日生产出库量",
  13663. "type": "number"
  13664. },
  13665. "todayselloutqty": {
  13666. "description": "今日销售出库量",
  13667. "type": "number"
  13668. },
  13669. "unitid": {
  13670. "description": "单位id",
  13671. "type": "integer"
  13672. },
  13673. "updatetime": {
  13674. "description": "更新时间",
  13675. "type": "string"
  13676. },
  13677. "userid": {
  13678. "description": "机构ID",
  13679. "type": "integer"
  13680. },
  13681. "username": {
  13682. "description": "机构名称",
  13683. "type": "string"
  13684. },
  13685. "warehousecode": {
  13686. "description": "仓库代码",
  13687. "type": "string"
  13688. },
  13689. "warehouseinfoid": {
  13690. "description": "仓库ID",
  13691. "type": "string"
  13692. },
  13693. "warehousename": {
  13694. "description": "仓库名称",
  13695. "type": "string"
  13696. },
  13697. "warehousetype": {
  13698. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13699. "type": "integer"
  13700. },
  13701. "wrstandardcode": {
  13702. "description": "品类代码",
  13703. "type": "string"
  13704. },
  13705. "wrstandardid": {
  13706. "description": "品类ID",
  13707. "type": "string"
  13708. },
  13709. "wrstandardname": {
  13710. "description": "品类名称",
  13711. "type": "string"
  13712. }
  13713. }
  13714. },
  13715. "models.Ermcp3AreaStockApply": {
  13716. "type": "object",
  13717. "properties": {
  13718. "applyid": {
  13719. "description": "申请人",
  13720. "type": "integer"
  13721. },
  13722. "applyname": {
  13723. "description": "申请人名称",
  13724. "type": "string"
  13725. },
  13726. "applyremark": {
  13727. "description": "申请备注",
  13728. "type": "string"
  13729. },
  13730. "applysrc": {
  13731. "description": "申请来源 - 1:管理端 2:终端",
  13732. "type": "integer"
  13733. },
  13734. "applystatus": {
  13735. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13736. "type": "integer"
  13737. },
  13738. "applytime": {
  13739. "description": "申请时间",
  13740. "type": "string"
  13741. },
  13742. "auditid": {
  13743. "description": "审核人",
  13744. "type": "integer"
  13745. },
  13746. "auditname": {
  13747. "description": "审核人名称",
  13748. "type": "string"
  13749. },
  13750. "auditremark": {
  13751. "description": "审核备注",
  13752. "type": "string"
  13753. },
  13754. "auditsrc": {
  13755. "description": "审核来源 - 1:管理端 2:终端",
  13756. "type": "integer"
  13757. },
  13758. "audittime": {
  13759. "description": "审核时间",
  13760. "type": "string"
  13761. },
  13762. "audittradedate": {
  13763. "description": "审核交易日(yyyyMMdd)",
  13764. "type": "string"
  13765. },
  13766. "brandname": {
  13767. "description": "品牌名称",
  13768. "type": "string"
  13769. },
  13770. "buynickname": {
  13771. "description": "采购方昵称",
  13772. "type": "string"
  13773. },
  13774. "buyuserid": {
  13775. "description": "采购方userid",
  13776. "type": "integer"
  13777. },
  13778. "buyusername": {
  13779. "description": "采购方名称",
  13780. "type": "string"
  13781. },
  13782. "contractno": {
  13783. "description": "合同编号",
  13784. "type": "string"
  13785. },
  13786. "contractqty": {
  13787. "description": "合同量",
  13788. "type": "number"
  13789. },
  13790. "contracttype": {
  13791. "description": "现货合同类型 - 1:采购 -1:销售",
  13792. "type": "integer"
  13793. },
  13794. "deliverygoodscode": {
  13795. "description": "现货品种代码",
  13796. "type": "string"
  13797. },
  13798. "deliverygoodsid": {
  13799. "description": "现货品种id",
  13800. "type": "integer"
  13801. },
  13802. "deliverygoodsname": {
  13803. "description": "现货品种名称",
  13804. "type": "string"
  13805. },
  13806. "detailjson": {
  13807. "description": "明细数据",
  13808. "type": "string"
  13809. },
  13810. "enumdicname": {
  13811. "description": "现货商品单位名称",
  13812. "type": "string"
  13813. },
  13814. "inoutapplyid": {
  13815. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13816. "type": "string"
  13817. },
  13818. "inouttype": {
  13819. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13820. "type": "integer"
  13821. },
  13822. "pricetype": {
  13823. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13824. "type": "integer"
  13825. },
  13826. "qty": {
  13827. "description": "数量",
  13828. "type": "number"
  13829. },
  13830. "sellnickname": {
  13831. "description": "销售方昵称",
  13832. "type": "string"
  13833. },
  13834. "selluserid": {
  13835. "description": "销售方userid",
  13836. "type": "integer"
  13837. },
  13838. "sellusername": {
  13839. "description": "销售方名称",
  13840. "type": "string"
  13841. },
  13842. "spotcontractid": {
  13843. "description": "关联现货合同ID",
  13844. "type": "string"
  13845. },
  13846. "spotgoodsbrandid": {
  13847. "description": "现货品牌ID",
  13848. "type": "integer"
  13849. },
  13850. "unitid": {
  13851. "description": "单位id",
  13852. "type": "integer"
  13853. },
  13854. "userid": {
  13855. "description": "机构ID",
  13856. "type": "integer"
  13857. },
  13858. "warehousecode": {
  13859. "description": "仓库代码",
  13860. "type": "string"
  13861. },
  13862. "warehouseinfoid": {
  13863. "description": "现货仓库ID",
  13864. "type": "string"
  13865. },
  13866. "warehousename": {
  13867. "description": "仓库名称",
  13868. "type": "string"
  13869. },
  13870. "warehousetype": {
  13871. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13872. "type": "integer"
  13873. },
  13874. "wrstandardcode": {
  13875. "description": "品类代码",
  13876. "type": "string"
  13877. },
  13878. "wrstandardid": {
  13879. "description": "品类ID",
  13880. "type": "integer"
  13881. },
  13882. "wrstandardname": {
  13883. "description": "品类名称",
  13884. "type": "string"
  13885. }
  13886. }
  13887. },
  13888. "models.Ermcp3AreaStockApplySum": {
  13889. "type": "object",
  13890. "properties": {
  13891. "brandname": {
  13892. "description": "品牌名称",
  13893. "type": "string"
  13894. },
  13895. "inouttype": {
  13896. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13897. "type": "integer"
  13898. },
  13899. "spotcontractid": {
  13900. "description": "关联现货合同ID",
  13901. "type": "string"
  13902. },
  13903. "spotgoodsbrandid": {
  13904. "description": "品牌id",
  13905. "type": "integer"
  13906. },
  13907. "totalqty": {
  13908. "description": "总数量",
  13909. "type": "number"
  13910. },
  13911. "wrstandardid": {
  13912. "description": "品类id",
  13913. "type": "integer"
  13914. },
  13915. "wrstandardname": {
  13916. "description": "品类名称",
  13917. "type": "string"
  13918. }
  13919. }
  13920. },
  13921. "models.Ermcp3AreaStockReportEx": {
  13922. "type": "object",
  13923. "properties": {
  13924. "begindate": {
  13925. "description": "开始交易日",
  13926. "type": "string"
  13927. },
  13928. "brandname": {
  13929. "description": "品牌名称",
  13930. "type": "string"
  13931. },
  13932. "curstock": {
  13933. "description": "期末库存量",
  13934. "type": "number"
  13935. },
  13936. "cycletime": {
  13937. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13938. "type": "string"
  13939. },
  13940. "cycletype": {
  13941. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13942. "type": "integer"
  13943. },
  13944. "deliverygoodscode": {
  13945. "description": "现货品种代码",
  13946. "type": "string"
  13947. },
  13948. "deliverygoodsid": {
  13949. "description": "现货品种id",
  13950. "type": "integer"
  13951. },
  13952. "deliverygoodsname": {
  13953. "description": "现货品种名称",
  13954. "type": "string"
  13955. },
  13956. "diffqty": {
  13957. "description": "库存变化量 = 期末 - 期初",
  13958. "type": "number"
  13959. },
  13960. "enddate": {
  13961. "description": "结束交易日",
  13962. "type": "string"
  13963. },
  13964. "enumdicname": {
  13965. "description": "单位名称",
  13966. "type": "string"
  13967. },
  13968. "goodsunitid": {
  13969. "description": "现货单位id",
  13970. "type": "integer"
  13971. },
  13972. "oristock": {
  13973. "description": "期初库存量",
  13974. "type": "number"
  13975. },
  13976. "reckondate": {
  13977. "description": "日照时期(yyyyMMdd)",
  13978. "type": "string"
  13979. },
  13980. "spotgoodsbrandid": {
  13981. "description": "现货品牌ID",
  13982. "type": "integer"
  13983. },
  13984. "todaybuyinqty": {
  13985. "description": "今采购入库量",
  13986. "type": "number"
  13987. },
  13988. "todayproduceinqty": {
  13989. "description": "今内部入库量",
  13990. "type": "number"
  13991. },
  13992. "todayproduceoutqty": {
  13993. "description": "今内部出库量",
  13994. "type": "number"
  13995. },
  13996. "todayselloutqty": {
  13997. "description": "今销售出库量",
  13998. "type": "number"
  13999. },
  14000. "unbuyinqty": {
  14001. "description": "采购未入库量(数据库未找到相关字段?)",
  14002. "type": "number"
  14003. },
  14004. "unitid": {
  14005. "description": "品类单位id",
  14006. "type": "integer"
  14007. },
  14008. "unselloutqty": {
  14009. "description": "销售未出库量(数据库未找到相关字段?)",
  14010. "type": "number"
  14011. },
  14012. "updatetime": {
  14013. "description": "更新时间",
  14014. "type": "string"
  14015. },
  14016. "userid": {
  14017. "description": "机构ID",
  14018. "type": "integer"
  14019. },
  14020. "username": {
  14021. "description": "机构名称",
  14022. "type": "string"
  14023. },
  14024. "warehousecode": {
  14025. "description": "仓库代码",
  14026. "type": "string"
  14027. },
  14028. "warehouseinfoid": {
  14029. "description": "仓库ID",
  14030. "type": "string"
  14031. },
  14032. "warehousename": {
  14033. "description": "仓库名称",
  14034. "type": "string"
  14035. },
  14036. "warehousetype": {
  14037. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14038. "type": "integer"
  14039. },
  14040. "wrstandardcode": {
  14041. "description": "品类代码",
  14042. "type": "string"
  14043. },
  14044. "wrstandardid": {
  14045. "description": "品类ID",
  14046. "type": "integer"
  14047. },
  14048. "wrstandardname": {
  14049. "description": "品类名称",
  14050. "type": "string"
  14051. }
  14052. }
  14053. },
  14054. "models.Ermcp3ArealSumPL": {
  14055. "type": "object",
  14056. "properties": {
  14057. "accountname": {
  14058. "description": "机构名称",
  14059. "type": "string"
  14060. },
  14061. "areauserid": {
  14062. "description": "所属机构\\交易用户ID",
  14063. "type": "integer"
  14064. },
  14065. "begindate": {
  14066. "description": "开始交易日",
  14067. "type": "string"
  14068. },
  14069. "currencyid": {
  14070. "description": "结算币种ID",
  14071. "type": "integer"
  14072. },
  14073. "currencyname": {
  14074. "description": "币种名称",
  14075. "type": "string"
  14076. },
  14077. "cycletime": {
  14078. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14079. "type": "string"
  14080. },
  14081. "cycletype": {
  14082. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14083. "type": "integer"
  14084. },
  14085. "enddate": {
  14086. "description": "结束交易日",
  14087. "type": "string"
  14088. },
  14089. "enumdicname": {
  14090. "description": "单位名称(套保品种)",
  14091. "type": "string"
  14092. },
  14093. "futureactualpl": {
  14094. "description": "期货损益",
  14095. "type": "number"
  14096. },
  14097. "futurefloatpl": {
  14098. "description": "期货浮动损益",
  14099. "type": "number"
  14100. },
  14101. "goodsunitid": {
  14102. "description": "套保品种单位id",
  14103. "type": "integer"
  14104. },
  14105. "middlegoodscode": {
  14106. "description": "套保品种代码",
  14107. "type": "string"
  14108. },
  14109. "middlegoodsid": {
  14110. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14111. "type": "integer"
  14112. },
  14113. "middlegoodsname": {
  14114. "description": "套保品种名称",
  14115. "type": "string"
  14116. },
  14117. "reckondate": {
  14118. "description": "日照时期(yyyyMMdd)",
  14119. "type": "string"
  14120. },
  14121. "spotactualpl": {
  14122. "description": "现货损益",
  14123. "type": "number"
  14124. },
  14125. "spotfloatpl": {
  14126. "description": "现货浮动损益",
  14127. "type": "number"
  14128. },
  14129. "sumactualpl": {
  14130. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14131. "type": "number"
  14132. },
  14133. "sumpl": {
  14134. "description": "汇总损益",
  14135. "type": "number"
  14136. },
  14137. "updatetime": {
  14138. "description": "更新时间",
  14139. "type": "string"
  14140. }
  14141. }
  14142. },
  14143. "models.Ermcp3Brand": {
  14144. "type": "object",
  14145. "properties": {
  14146. "areauserid": {
  14147. "description": "用户id",
  14148. "type": "integer"
  14149. },
  14150. "brandid": {
  14151. "description": "品牌id",
  14152. "type": "integer"
  14153. },
  14154. "brandname": {
  14155. "description": "品牌名称",
  14156. "type": "string"
  14157. },
  14158. "deliverygoodsid": {
  14159. "description": "品种ID",
  14160. "type": "integer"
  14161. }
  14162. }
  14163. },
  14164. "models.Ermcp3Contract": {
  14165. "type": "object",
  14166. "properties": {
  14167. "accountid": {
  14168. "description": "期货账户id",
  14169. "type": "string"
  14170. },
  14171. "amount": {
  14172. "description": "金额 [1:一口价、3:暂定价]",
  14173. "type": "number"
  14174. },
  14175. "attachment": {
  14176. "description": "附件",
  14177. "type": "string"
  14178. },
  14179. "auditremark": {
  14180. "description": "审核意见",
  14181. "type": "string"
  14182. },
  14183. "audittime": {
  14184. "description": "审核时间",
  14185. "type": "string"
  14186. },
  14187. "biztype": {
  14188. "description": "业务类型 1-套保 2-套利",
  14189. "type": "integer"
  14190. },
  14191. "brandname": {
  14192. "description": "品牌名称",
  14193. "type": "string"
  14194. },
  14195. "buynickname": {
  14196. "description": "销售方昵称",
  14197. "type": "string"
  14198. },
  14199. "buyuserid": {
  14200. "description": "采购方ID",
  14201. "type": "integer"
  14202. },
  14203. "buyusername": {
  14204. "description": "采购方名称",
  14205. "type": "string"
  14206. },
  14207. "contracctstatus": {
  14208. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14209. "type": "integer"
  14210. },
  14211. "contractmargin": {
  14212. "description": "合同保证金",
  14213. "type": "number"
  14214. },
  14215. "contractno": {
  14216. "description": "现货合同编号",
  14217. "type": "string"
  14218. },
  14219. "contracttype": {
  14220. "description": "现货合同类型 - 1:采购 -1:销售",
  14221. "type": "integer"
  14222. },
  14223. "convertfactor": {
  14224. "description": "标仓系数(品类)",
  14225. "type": "number"
  14226. },
  14227. "createtime": {
  14228. "description": "创建时间",
  14229. "type": "string"
  14230. },
  14231. "currencyid": {
  14232. "description": "币种id",
  14233. "type": "integer"
  14234. },
  14235. "currencyname": {
  14236. "description": "币种名称",
  14237. "type": "string"
  14238. },
  14239. "deliveryenddate": {
  14240. "description": "交收期(结束)",
  14241. "type": "string"
  14242. },
  14243. "deliverygoodscode": {
  14244. "description": "现货品种代码",
  14245. "type": "string"
  14246. },
  14247. "deliverygoodsid": {
  14248. "description": "现货品种ID",
  14249. "type": "integer"
  14250. },
  14251. "deliverygoodsname": {
  14252. "description": "现货品种名称",
  14253. "type": "string"
  14254. },
  14255. "deliverystartdate": {
  14256. "description": "交收期(开始)",
  14257. "type": "string"
  14258. },
  14259. "enddate": {
  14260. "description": "点价结束日期 [2:点价 3:暂定价]",
  14261. "type": "string"
  14262. },
  14263. "enumdicname": {
  14264. "description": "单位名称",
  14265. "type": "string"
  14266. },
  14267. "goodscode": {
  14268. "description": "点价合约代码",
  14269. "type": "string"
  14270. },
  14271. "goodsid": {
  14272. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14273. "type": "integer"
  14274. },
  14275. "goodsname": {
  14276. "description": "点价商品名称",
  14277. "type": "string"
  14278. },
  14279. "margin": {
  14280. "description": "当前保证金",
  14281. "type": "number"
  14282. },
  14283. "meruserid": {
  14284. "description": "跟单员id",
  14285. "type": "integer"
  14286. },
  14287. "meruserlogincode": {
  14288. "description": "跟单员登录代码",
  14289. "type": "string"
  14290. },
  14291. "price": {
  14292. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14293. "type": "number"
  14294. },
  14295. "pricemove": {
  14296. "description": "升贴水 [2:点价 3:暂定价]",
  14297. "type": "number"
  14298. },
  14299. "pricetype": {
  14300. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14301. "type": "integer"
  14302. },
  14303. "producttype": {
  14304. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14305. "type": "integer"
  14306. },
  14307. "qty": {
  14308. "description": "数量",
  14309. "type": "number"
  14310. },
  14311. "remark": {
  14312. "description": "备注",
  14313. "type": "string"
  14314. },
  14315. "saleuserid": {
  14316. "description": "业务员id",
  14317. "type": "integer"
  14318. },
  14319. "saleuserlogincode": {
  14320. "description": "业务员登录代码",
  14321. "type": "string"
  14322. },
  14323. "sellnickname": {
  14324. "description": "采购方昵称",
  14325. "type": "string"
  14326. },
  14327. "selluserid": {
  14328. "description": "销售方ID",
  14329. "type": "integer"
  14330. },
  14331. "sellusername": {
  14332. "description": "销售方名称",
  14333. "type": "string"
  14334. },
  14335. "spotcontractid": {
  14336. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14337. "type": "string"
  14338. },
  14339. "spotgoodsbrandid": {
  14340. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14341. "type": "integer"
  14342. },
  14343. "spotgoodsdesc": {
  14344. "description": "商品型号",
  14345. "type": "string"
  14346. },
  14347. "startdate": {
  14348. "description": "点价开始日期 [2:点价 3:暂定价]",
  14349. "type": "string"
  14350. },
  14351. "tradeuserid": {
  14352. "description": "交易员id",
  14353. "type": "integer"
  14354. },
  14355. "tradeuserlogincode": {
  14356. "description": "交易员登录代码",
  14357. "type": "string"
  14358. },
  14359. "tradeusername": {
  14360. "description": "交易员名称",
  14361. "type": "string"
  14362. },
  14363. "unitid": {
  14364. "description": "单位id(取品类上的单位id)",
  14365. "type": "integer"
  14366. },
  14367. "updatetime": {
  14368. "description": "更新时间",
  14369. "type": "string"
  14370. },
  14371. "userid": {
  14372. "description": "所属机构ID",
  14373. "type": "integer"
  14374. },
  14375. "wrstandardcode": {
  14376. "description": "品类代码",
  14377. "type": "string"
  14378. },
  14379. "wrstandardid": {
  14380. "description": "品类ID",
  14381. "type": "integer"
  14382. },
  14383. "wrstandardname": {
  14384. "description": "品类名称",
  14385. "type": "string"
  14386. }
  14387. }
  14388. },
  14389. "models.Ermcp3ExposureContractDetail": {
  14390. "type": "object",
  14391. "properties": {
  14392. "biztype": {
  14393. "description": "业务类型 1-套保 2-套利",
  14394. "type": "integer"
  14395. },
  14396. "brandname": {
  14397. "description": "品牌名称",
  14398. "type": "string"
  14399. },
  14400. "buyuserid": {
  14401. "description": "采购方id",
  14402. "type": "integer"
  14403. },
  14404. "buyusername": {
  14405. "description": "采购方名称",
  14406. "type": "string"
  14407. },
  14408. "contractno": {
  14409. "description": "合同编号",
  14410. "type": "string"
  14411. },
  14412. "contracttype": {
  14413. "description": "现货合同类型 - 1:采购 -1:销售",
  14414. "type": "integer"
  14415. },
  14416. "convertfactor": {
  14417. "description": "标仓系数",
  14418. "type": "number"
  14419. },
  14420. "convertratio": {
  14421. "description": "折算系数(套保品种)",
  14422. "type": "number"
  14423. },
  14424. "curqty": {
  14425. "description": "今定价量",
  14426. "type": "number"
  14427. },
  14428. "deliverygoodscode": {
  14429. "description": "现货商品代码",
  14430. "type": "string"
  14431. },
  14432. "deliverygoodsid": {
  14433. "description": "现货商品id",
  14434. "type": "integer"
  14435. },
  14436. "deliverygoodsname": {
  14437. "description": "现货商品名称",
  14438. "type": "string"
  14439. },
  14440. "diffhedgeqty": {
  14441. "description": "套保变动量",
  14442. "type": "number"
  14443. },
  14444. "diffneedhedgeqty": {
  14445. "description": "应套保变动量",
  14446. "type": "number"
  14447. },
  14448. "diffqty": {
  14449. "description": "套保品种今变动量",
  14450. "type": "number"
  14451. },
  14452. "enumdicname": {
  14453. "description": "单位名称",
  14454. "type": "string"
  14455. },
  14456. "middlegoodscode": {
  14457. "description": "套保品种代码",
  14458. "type": "string"
  14459. },
  14460. "middlegoodsid": {
  14461. "description": "套保品种id",
  14462. "type": "integer"
  14463. },
  14464. "middlegoodsname": {
  14465. "description": "套保品种名称",
  14466. "type": "string"
  14467. },
  14468. "needarbitrageratio": {
  14469. "description": "应套利比例",
  14470. "type": "number"
  14471. },
  14472. "needhedgeratio": {
  14473. "description": "应套保比例",
  14474. "type": "number"
  14475. },
  14476. "pricedqty": {
  14477. "description": "已定价量",
  14478. "type": "number"
  14479. },
  14480. "qty": {
  14481. "description": "合同量",
  14482. "type": "number"
  14483. },
  14484. "selluserid": {
  14485. "description": "销售方id",
  14486. "type": "integer"
  14487. },
  14488. "sellusername": {
  14489. "description": "销售方名称",
  14490. "type": "string"
  14491. },
  14492. "spotcontractid": {
  14493. "description": "合同id",
  14494. "type": "string"
  14495. },
  14496. "todaypricedqty": {
  14497. "description": "今定价量",
  14498. "type": "number"
  14499. },
  14500. "tradedate": {
  14501. "description": "交易日",
  14502. "type": "string"
  14503. },
  14504. "unitid": {
  14505. "description": "品类单位id",
  14506. "type": "integer"
  14507. },
  14508. "userid": {
  14509. "description": "机构id",
  14510. "type": "integer"
  14511. },
  14512. "wrstandardcode": {
  14513. "description": "品类代码",
  14514. "type": "string"
  14515. },
  14516. "wrstandardid": {
  14517. "description": "品类id",
  14518. "type": "integer"
  14519. },
  14520. "wrstandardname": {
  14521. "description": "品类名称",
  14522. "type": "string"
  14523. }
  14524. }
  14525. },
  14526. "models.Ermcp3ExposureDetail": {
  14527. "type": "object",
  14528. "properties": {
  14529. "areauserid": {
  14530. "description": "机构ID",
  14531. "type": "integer"
  14532. },
  14533. "changeQty": {
  14534. "description": "套保变动量",
  14535. "type": "number"
  14536. },
  14537. "contracttype": {
  14538. "description": "现货合同类型 - 1:采购 -1:销售",
  14539. "type": "integer"
  14540. },
  14541. "convertfactor": {
  14542. "description": "标仓系数",
  14543. "type": "number"
  14544. },
  14545. "convertratio": {
  14546. "description": "套保系数",
  14547. "type": "number"
  14548. },
  14549. "createtime": {
  14550. "description": "时间",
  14551. "type": "string"
  14552. },
  14553. "deliverygoodscode": {
  14554. "description": "现货品种代码",
  14555. "type": "string"
  14556. },
  14557. "deliverygoodsid": {
  14558. "description": "现货品种id",
  14559. "type": "integer"
  14560. },
  14561. "deliverygoodsname": {
  14562. "description": "现货品种名称",
  14563. "type": "string"
  14564. },
  14565. "enumdicname": {
  14566. "description": "现货商品单位名称",
  14567. "type": "string"
  14568. },
  14569. "logtype": {
  14570. "description": "类型 - 1:套保计划 2:现货合同",
  14571. "type": "integer"
  14572. },
  14573. "mgunitid": {
  14574. "description": "套保品种单位id",
  14575. "type": "integer"
  14576. },
  14577. "mgunitidname": {
  14578. "description": "套保品种单位名称",
  14579. "type": "string"
  14580. },
  14581. "middlegoodsId": {
  14582. "description": "套保商品id",
  14583. "type": "integer"
  14584. },
  14585. "middlegoodscode": {
  14586. "description": "套保商品代码",
  14587. "type": "string"
  14588. },
  14589. "middlegoodsname": {
  14590. "description": "套保商品名称",
  14591. "type": "string"
  14592. },
  14593. "qty": {
  14594. "description": "数量",
  14595. "type": "number"
  14596. },
  14597. "relateNo": {
  14598. "description": "现货合同/套保计划编号",
  14599. "type": "string"
  14600. }
  14601. }
  14602. },
  14603. "models.Ermcp3ExposureFutuDetail": {
  14604. "type": "object",
  14605. "properties": {
  14606. "accountid": {
  14607. "description": "交易账户id",
  14608. "type": "integer"
  14609. },
  14610. "accountname": {
  14611. "description": "交易账户",
  14612. "type": "string"
  14613. },
  14614. "begindate": {
  14615. "description": "开始交易日",
  14616. "type": "string"
  14617. },
  14618. "buyorsell": {
  14619. "description": "方向 0-买 1-卖",
  14620. "type": "integer"
  14621. },
  14622. "diffmgqty": {
  14623. "description": "套保品种今变化量",
  14624. "type": "number"
  14625. },
  14626. "diffneedqty": {
  14627. "description": "应套保总量变化量",
  14628. "type": "number"
  14629. },
  14630. "difftradeqty": {
  14631. "description": "交易品种今变化量",
  14632. "type": "number"
  14633. },
  14634. "enddate": {
  14635. "description": "结束交易日",
  14636. "type": "string"
  14637. },
  14638. "enumdicname": {
  14639. "description": "单位名称",
  14640. "type": "string"
  14641. },
  14642. "goodscode": {
  14643. "description": "商品代码",
  14644. "type": "string"
  14645. },
  14646. "goodsid": {
  14647. "description": "商品id",
  14648. "type": "integer"
  14649. },
  14650. "goodsname": {
  14651. "description": "商品名称",
  14652. "type": "string"
  14653. },
  14654. "holdqty": {
  14655. "description": "期末持仓量",
  14656. "type": "number"
  14657. },
  14658. "middlegoodscode": {
  14659. "description": "套保商品代码",
  14660. "type": "string"
  14661. },
  14662. "middlegoodsid": {
  14663. "description": "套保商品id",
  14664. "type": "integer"
  14665. },
  14666. "middlegoodsname": {
  14667. "description": "套保商品名称",
  14668. "type": "string"
  14669. },
  14670. "oriholdqty": {
  14671. "description": "期初持仓量",
  14672. "type": "number"
  14673. },
  14674. "todaycloseqty": {
  14675. "description": "今平仓量",
  14676. "type": "number"
  14677. },
  14678. "todayopenqty": {
  14679. "description": "今开仓量",
  14680. "type": "number"
  14681. },
  14682. "tradedate": {
  14683. "description": "交易日",
  14684. "type": "string"
  14685. }
  14686. }
  14687. },
  14688. "models.Ermcp3ExposureHedgeplanDetail": {
  14689. "type": "object",
  14690. "properties": {
  14691. "biztype": {
  14692. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  14693. "type": "integer"
  14694. },
  14695. "changqty": {
  14696. "description": "应套保总量变化量",
  14697. "type": "number"
  14698. },
  14699. "contracttype": {
  14700. "description": "计划类型 - 1:采购 -1:销售",
  14701. "type": "integer"
  14702. },
  14703. "convertratio": {
  14704. "description": "折算系数(套保品种)",
  14705. "type": "number"
  14706. },
  14707. "deliverygoodscode": {
  14708. "description": "现货商品代码",
  14709. "type": "string"
  14710. },
  14711. "deliverygoodsid": {
  14712. "description": "现货商品id",
  14713. "type": "integer"
  14714. },
  14715. "deliverygoodsname": {
  14716. "description": "现货商吕名称",
  14717. "type": "string"
  14718. },
  14719. "dgunitid": {
  14720. "description": "现货商品单位id",
  14721. "type": "integer"
  14722. },
  14723. "dgunitidname": {
  14724. "description": "单位名称(现货商品)",
  14725. "type": "string"
  14726. },
  14727. "diffqty": {
  14728. "description": "套保品种今变动量",
  14729. "type": "number"
  14730. },
  14731. "enumdicname": {
  14732. "description": "单位名称(品类)",
  14733. "type": "string"
  14734. },
  14735. "hedgeplanid": {
  14736. "description": "套保计划id",
  14737. "type": "string"
  14738. },
  14739. "hedgeplanno": {
  14740. "description": "套保计划名称",
  14741. "type": "string"
  14742. },
  14743. "hedgeplanstatus": {
  14744. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14745. "type": "integer"
  14746. },
  14747. "mgunitidname": {
  14748. "description": "单位名称(套保商品)",
  14749. "type": "string"
  14750. },
  14751. "middlegoodscode": {
  14752. "description": "套保品种代码",
  14753. "type": "string"
  14754. },
  14755. "middlegoodsid": {
  14756. "description": "套保品种id",
  14757. "type": "integer"
  14758. },
  14759. "middlegoodsname": {
  14760. "description": "套保品种名称",
  14761. "type": "string"
  14762. },
  14763. "needarbitrageratio": {
  14764. "description": "应套利比例",
  14765. "type": "number"
  14766. },
  14767. "needhedgeratio": {
  14768. "description": "应套保比例",
  14769. "type": "number"
  14770. },
  14771. "pricedqty": {
  14772. "description": "已定价量",
  14773. "type": "number"
  14774. },
  14775. "qty": {
  14776. "description": "合同量",
  14777. "type": "number"
  14778. },
  14779. "tradedate": {
  14780. "description": "交易日(登记日)",
  14781. "type": "string"
  14782. },
  14783. "unitid": {
  14784. "description": "品类单位id",
  14785. "type": "integer"
  14786. },
  14787. "userid": {
  14788. "description": "机构id",
  14789. "type": "integer"
  14790. },
  14791. "wrstandardcode": {
  14792. "description": "品类代码",
  14793. "type": "string"
  14794. },
  14795. "wrstandardid": {
  14796. "description": "品类id",
  14797. "type": "integer"
  14798. },
  14799. "wrstandardname": {
  14800. "description": "品类名称",
  14801. "type": "string"
  14802. }
  14803. }
  14804. },
  14805. "models.Ermcp3ExpourseReport": {
  14806. "type": "object",
  14807. "properties": {
  14808. "accountid": {
  14809. "description": "期货账户ID (作废, 默认为0)",
  14810. "type": "integer"
  14811. },
  14812. "accountname": {
  14813. "description": "机构名称",
  14814. "type": "string"
  14815. },
  14816. "arbitrageqty": {
  14817. "description": "套利量",
  14818. "type": "number"
  14819. },
  14820. "areauserid": {
  14821. "description": "所属机构\\交易用户ID",
  14822. "type": "integer"
  14823. },
  14824. "begindate": {
  14825. "description": "开始交易日",
  14826. "type": "string"
  14827. },
  14828. "buyfutureqty": {
  14829. "description": "买入期货数量",
  14830. "type": "number"
  14831. },
  14832. "buyplanqty": {
  14833. "description": "采购计划数量",
  14834. "type": "number"
  14835. },
  14836. "buypricedqty": {
  14837. "description": "采购合同已定价数量",
  14838. "type": "number"
  14839. },
  14840. "cycletime": {
  14841. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14842. "type": "string"
  14843. },
  14844. "cycletype": {
  14845. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14846. "type": "integer"
  14847. },
  14848. "diffexposure": {
  14849. "description": "变动量(套保敞口)",
  14850. "type": "number"
  14851. },
  14852. "difffutuqty": {
  14853. "description": "变动量(期货)",
  14854. "type": "number"
  14855. },
  14856. "diffhedgeqty": {
  14857. "description": "变动量(现货应套保总量)",
  14858. "type": "number"
  14859. },
  14860. "diffmgqtya": {
  14861. "description": "套保变动量",
  14862. "type": "number"
  14863. },
  14864. "diffmgqtyb": {
  14865. "description": "套利变动量",
  14866. "type": "number"
  14867. },
  14868. "diffqty": {
  14869. "description": "变动量(总敞口)",
  14870. "type": "number"
  14871. },
  14872. "diffspotqty": {
  14873. "description": "变动量(现货)",
  14874. "type": "number"
  14875. },
  14876. "enddate": {
  14877. "description": "结束交易日",
  14878. "type": "string"
  14879. },
  14880. "enumdicname": {
  14881. "description": "单位名称",
  14882. "type": "string"
  14883. },
  14884. "hedgeqty": {
  14885. "description": "套保量",
  14886. "type": "number"
  14887. },
  14888. "mgneedhedgeratio": {
  14889. "description": "套保比例(套保品的)",
  14890. "type": "number"
  14891. },
  14892. "middlegoodsid": {
  14893. "description": "套保品种ID",
  14894. "type": "integer"
  14895. },
  14896. "middlegoodsname": {
  14897. "description": "套保商品名称",
  14898. "type": "string"
  14899. },
  14900. "middlgoodscode": {
  14901. "description": "套保商品代码",
  14902. "type": "string"
  14903. },
  14904. "needarbitrageqty": {
  14905. "description": "应套利量",
  14906. "type": "number"
  14907. },
  14908. "needarbitrageratio": {
  14909. "description": "套利比例(套保品的)",
  14910. "type": "number"
  14911. },
  14912. "needhedgeexposoure": {
  14913. "description": "应套保敞口(套保敞口)",
  14914. "type": "number"
  14915. },
  14916. "needhedgeqty": {
  14917. "description": "应套保量",
  14918. "type": "number"
  14919. },
  14920. "needhedgeratio": {
  14921. "description": "应套保敞口比例",
  14922. "type": "number"
  14923. },
  14924. "oriarbitrageqty": {
  14925. "description": "期初套利量",
  14926. "type": "number"
  14927. },
  14928. "oribuyfutureqty": {
  14929. "description": "期初买入期货数量",
  14930. "type": "number"
  14931. },
  14932. "oribuyplanqty": {
  14933. "description": "期初采购计划数量",
  14934. "type": "number"
  14935. },
  14936. "oribuypricedqty": {
  14937. "description": "期初采购合同已定价数量",
  14938. "type": "number"
  14939. },
  14940. "orihedgeqty": {
  14941. "description": "期初套保量",
  14942. "type": "number"
  14943. },
  14944. "orineedarbitrageqty": {
  14945. "description": "期初应套利量",
  14946. "type": "number"
  14947. },
  14948. "orineedhedgeexposoure": {
  14949. "description": "期初应套保敞口",
  14950. "type": "number"
  14951. },
  14952. "orineedhedgeqty": {
  14953. "description": "期初应套保量",
  14954. "type": "number"
  14955. },
  14956. "orisellfutureqty": {
  14957. "description": "期初卖出期货数量",
  14958. "type": "number"
  14959. },
  14960. "orisellplanqty": {
  14961. "description": "期初销售计划数量",
  14962. "type": "number"
  14963. },
  14964. "orisellpricedqty": {
  14965. "description": "期初销售合同已定价数量",
  14966. "type": "number"
  14967. },
  14968. "oritotalexposure": {
  14969. "description": "期初实时总敞口",
  14970. "type": "number"
  14971. },
  14972. "oritotalfutureqty": {
  14973. "description": "期初期货头寸总量",
  14974. "type": "number"
  14975. },
  14976. "oritotalneedhedgeqty": {
  14977. "description": "期初应套保总量",
  14978. "type": "number"
  14979. },
  14980. "oritotalspotqty": {
  14981. "description": "期初现货头寸总量",
  14982. "type": "number"
  14983. },
  14984. "reckondate": {
  14985. "description": "日照时期(yyyyMMdd)",
  14986. "type": "string"
  14987. },
  14988. "sellfutureqty": {
  14989. "description": "卖出期货数量",
  14990. "type": "number"
  14991. },
  14992. "sellplanqty": {
  14993. "description": "销售计划数量",
  14994. "type": "number"
  14995. },
  14996. "sellpricedqty": {
  14997. "description": "销售合同已定价数量",
  14998. "type": "number"
  14999. },
  15000. "totalexposure": {
  15001. "description": "实时总敞口(总敞口)",
  15002. "type": "number"
  15003. },
  15004. "totalfutureqty": {
  15005. "description": "期货头寸总量(期货总量)",
  15006. "type": "number"
  15007. },
  15008. "totalhedgeratio": {
  15009. "description": "敞口比例",
  15010. "type": "number"
  15011. },
  15012. "totalneedhedgeqty": {
  15013. "description": "应套保总量(现货应套保总量)",
  15014. "type": "number"
  15015. },
  15016. "totalspotqty": {
  15017. "description": "现货头寸总量",
  15018. "type": "number"
  15019. },
  15020. "unitid": {
  15021. "description": "单位id",
  15022. "type": "integer"
  15023. },
  15024. "updatetime": {
  15025. "description": "更新时间",
  15026. "type": "string"
  15027. }
  15028. }
  15029. },
  15030. "models.Ermcp3FinanceReport": {
  15031. "type": "object",
  15032. "properties": {
  15033. "accountname": {
  15034. "description": "机构名称",
  15035. "type": "string"
  15036. },
  15037. "areauserid": {
  15038. "description": "所属机构\\交易用户ID",
  15039. "type": "integer"
  15040. },
  15041. "begindate": {
  15042. "description": "开始交易日",
  15043. "type": "string"
  15044. },
  15045. "biztype": {
  15046. "description": "业务类型 - 1:套保 2:套利",
  15047. "type": "integer"
  15048. },
  15049. "brandname": {
  15050. "description": "品牌名称",
  15051. "type": "string"
  15052. },
  15053. "buypreinvoicedamount": {
  15054. "description": "采购预收票额(预收票额)",
  15055. "type": "number"
  15056. },
  15057. "buyprepaidamount": {
  15058. "description": "采购预付款额(预付货款额)",
  15059. "type": "number"
  15060. },
  15061. "buytodayinvoiceamount": {
  15062. "description": "采购今收票额(今收票额)",
  15063. "type": "number"
  15064. },
  15065. "buytodayrefundamount": {
  15066. "description": "采购今收退款额(今收退款额)",
  15067. "type": "number"
  15068. },
  15069. "buytodaysettleamount": {
  15070. "description": "采购今付款额(今付货款额)",
  15071. "type": "number"
  15072. },
  15073. "buyuninvoicedamount": {
  15074. "description": "采购应收票额(应收票额)",
  15075. "type": "number"
  15076. },
  15077. "buyunpaidamount": {
  15078. "description": "采购应付款额(应付货款额)",
  15079. "type": "number"
  15080. },
  15081. "currencyid": {
  15082. "description": "结算币种ID",
  15083. "type": "integer"
  15084. },
  15085. "currencyname": {
  15086. "description": "币种名称",
  15087. "type": "string"
  15088. },
  15089. "cycletime": {
  15090. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15091. "type": "string"
  15092. },
  15093. "cycletype": {
  15094. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15095. "type": "integer"
  15096. },
  15097. "deliverygoodscode": {
  15098. "description": "现货品种代码",
  15099. "type": "string"
  15100. },
  15101. "deliverygoodsid": {
  15102. "description": "现货品种ID",
  15103. "type": "integer"
  15104. },
  15105. "deliverygoodsname": {
  15106. "description": "现货品种名称",
  15107. "type": "string"
  15108. },
  15109. "enddate": {
  15110. "description": "结束交易日",
  15111. "type": "string"
  15112. },
  15113. "reckondate": {
  15114. "description": "日照时期(yyyyMMdd)",
  15115. "type": "string"
  15116. },
  15117. "sellpreinvoicedamount": {
  15118. "description": "销售预开票额(预开票额)",
  15119. "type": "number"
  15120. },
  15121. "sellprepaidamount": {
  15122. "description": "销售预收款额(预收货款额)",
  15123. "type": "number"
  15124. },
  15125. "selltodayinvoiceamount": {
  15126. "description": "销售今开票额(今开票额)",
  15127. "type": "number"
  15128. },
  15129. "selltodayrefundamount": {
  15130. "description": "销售今付退款额(今付退款额)",
  15131. "type": "number"
  15132. },
  15133. "selltodaysettleamount": {
  15134. "description": "销售今收款额(今收货款额)",
  15135. "type": "number"
  15136. },
  15137. "selluninvoicedamount": {
  15138. "description": "销售应开票额(应开票额)",
  15139. "type": "number"
  15140. },
  15141. "sellunpaidamount": {
  15142. "description": "销售应收款额(应收货款额)",
  15143. "type": "number"
  15144. },
  15145. "spotgoodsbrandid": {
  15146. "description": "现货品牌ID",
  15147. "type": "integer"
  15148. },
  15149. "todaypaysum": {
  15150. "description": "今付款合计",
  15151. "type": "number"
  15152. },
  15153. "todayreceivesum": {
  15154. "description": "今收款合计",
  15155. "type": "number"
  15156. },
  15157. "updatetime": {
  15158. "description": "更新时间",
  15159. "type": "string"
  15160. },
  15161. "wrfactortypeid": {
  15162. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15163. "type": "integer"
  15164. },
  15165. "wrstandardcode": {
  15166. "description": "品类代码",
  15167. "type": "string"
  15168. },
  15169. "wrstandardid": {
  15170. "description": "现货商品ID",
  15171. "type": "integer"
  15172. },
  15173. "wrstandardname": {
  15174. "description": "品类名称",
  15175. "type": "string"
  15176. }
  15177. }
  15178. },
  15179. "models.Ermcp3Goods": {
  15180. "type": "object",
  15181. "properties": {
  15182. "agreeunit": {
  15183. "description": "合约单位(合约乘数)",
  15184. "type": "number"
  15185. },
  15186. "enumdicname": {
  15187. "description": "单位名称",
  15188. "type": "string"
  15189. },
  15190. "exexchangecode": {
  15191. "description": "交易所代码",
  15192. "type": "string"
  15193. },
  15194. "goodscode": {
  15195. "description": "期货商品代码",
  15196. "type": "string"
  15197. },
  15198. "goodsid": {
  15199. "description": "期货商品id",
  15200. "type": "integer"
  15201. },
  15202. "goodsname": {
  15203. "description": "期货商品名称",
  15204. "type": "string"
  15205. }
  15206. }
  15207. },
  15208. "models.Ermcp3GoodsGroup": {
  15209. "type": "object",
  15210. "required": [
  15211. "areauserid"
  15212. ],
  15213. "properties": {
  15214. "agreeunit": {
  15215. "description": "合约单位",
  15216. "type": "number"
  15217. },
  15218. "areauserid": {
  15219. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15220. "type": "integer"
  15221. },
  15222. "canshort": {
  15223. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15224. "type": "integer"
  15225. },
  15226. "closepricemode": {
  15227. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15228. "type": "integer"
  15229. },
  15230. "createtime": {
  15231. "description": "创建时间",
  15232. "type": "string"
  15233. },
  15234. "creatorid": {
  15235. "description": "创建人",
  15236. "type": "integer"
  15237. },
  15238. "currencyid": {
  15239. "description": "报价货币ID",
  15240. "type": "integer"
  15241. },
  15242. "decimalplace": {
  15243. "description": "报价小数位",
  15244. "type": "integer"
  15245. },
  15246. "enumdicname": {
  15247. "description": "单位名称",
  15248. "type": "string"
  15249. },
  15250. "exchangefullname": {
  15251. "description": "交易所全称",
  15252. "type": "string"
  15253. },
  15254. "excludecfg": {
  15255. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15256. "type": "integer"
  15257. },
  15258. "exexchangecode": {
  15259. "description": "交易所代码",
  15260. "type": "string"
  15261. },
  15262. "exexchangeid": {
  15263. "description": "外部交易所ID[通道交易]",
  15264. "type": "integer"
  15265. },
  15266. "exexchangename": {
  15267. "description": "交易所名称",
  15268. "type": "string"
  15269. },
  15270. "goodsgroupid": {
  15271. "description": "商品组ID(自增ID)",
  15272. "type": "integer"
  15273. },
  15274. "goodsgroupname": {
  15275. "description": "商品组名称",
  15276. "type": "string"
  15277. },
  15278. "goodsgroupstatus": {
  15279. "description": "商品组状态 - 1:正常 2:注销",
  15280. "type": "integer"
  15281. },
  15282. "goodunitid": {
  15283. "description": "报价单位ID",
  15284. "type": "integer"
  15285. },
  15286. "groupcategroyid": {
  15287. "description": "品种分类ID",
  15288. "type": "integer"
  15289. },
  15290. "innerdealmode": {
  15291. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15292. "type": "integer"
  15293. },
  15294. "marketid": {
  15295. "description": "所属市场ID",
  15296. "type": "integer"
  15297. },
  15298. "modifierid": {
  15299. "description": "修改人",
  15300. "type": "integer"
  15301. },
  15302. "modifytime": {
  15303. "description": "修改时间",
  15304. "type": "string"
  15305. },
  15306. "outerdealmode": {
  15307. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15308. "type": "integer"
  15309. },
  15310. "outergroupcode": {
  15311. "description": "外部商品组代码[通道交易]",
  15312. "type": "string"
  15313. },
  15314. "quoteminunit": {
  15315. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15316. "type": "integer"
  15317. },
  15318. "quotesourcegroupid": {
  15319. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15320. "type": "integer"
  15321. },
  15322. "syncgoodsqty": {
  15323. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15324. "type": "integer"
  15325. }
  15326. }
  15327. },
  15328. "models.Ermcp3GoodsGroupEx": {
  15329. "type": "object",
  15330. "properties": {
  15331. "convertratio": {
  15332. "description": "折算系数(品种系数)",
  15333. "type": "number"
  15334. },
  15335. "enumdicname": {
  15336. "description": "单位名称",
  15337. "type": "string"
  15338. },
  15339. "exexchangecode": {
  15340. "description": "交易所代码",
  15341. "type": "string"
  15342. },
  15343. "glist": {
  15344. "description": "合约列表",
  15345. "type": "array",
  15346. "items": {
  15347. "$ref": "#/definitions/models.Ermcp3Goods"
  15348. }
  15349. },
  15350. "goodsgroupid": {
  15351. "description": "商品组id",
  15352. "type": "integer"
  15353. },
  15354. "goodsgroupname": {
  15355. "description": "商品组名称",
  15356. "type": "string"
  15357. },
  15358. "goodsunitid": {
  15359. "description": "单位id",
  15360. "type": "integer"
  15361. },
  15362. "middlegoodsid": {
  15363. "description": "套保商品id",
  15364. "type": "integer"
  15365. }
  15366. }
  15367. },
  15368. "models.Ermcp3HedgePlan": {
  15369. "type": "object",
  15370. "properties": {
  15371. "accountid": {
  15372. "description": "资金账号",
  15373. "type": "integer"
  15374. },
  15375. "areauserid": {
  15376. "description": "用户ID",
  15377. "type": "integer"
  15378. },
  15379. "audittime": {
  15380. "description": "审核时间",
  15381. "type": "string"
  15382. },
  15383. "contracttype": {
  15384. "description": "计划类型 - 1:采购 -1:销售",
  15385. "type": "integer"
  15386. },
  15387. "convertfactor": {
  15388. "description": "标仓系数",
  15389. "type": "number"
  15390. },
  15391. "createtime": {
  15392. "description": "创建时间",
  15393. "type": "string"
  15394. },
  15395. "currencyid": {
  15396. "description": "币种id",
  15397. "type": "integer"
  15398. },
  15399. "currencyname": {
  15400. "description": "币种名称",
  15401. "type": "string"
  15402. },
  15403. "deliverygoodscode": {
  15404. "description": "现货品种代码",
  15405. "type": "string"
  15406. },
  15407. "deliverygoodsid": {
  15408. "description": "现货品种ID",
  15409. "type": "integer"
  15410. },
  15411. "deliverygoodsname": {
  15412. "description": "现货品种名称",
  15413. "type": "string"
  15414. },
  15415. "enumdicname": {
  15416. "description": "单位名称(现货商品)",
  15417. "type": "string"
  15418. },
  15419. "hedgeplanid": {
  15420. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15421. "type": "string"
  15422. },
  15423. "hedgeplanno": {
  15424. "description": "套保计划编号(名称)",
  15425. "type": "string"
  15426. },
  15427. "hedgeplanstatus": {
  15428. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15429. "type": "integer"
  15430. },
  15431. "planqty": {
  15432. "description": "计划数量",
  15433. "type": "number"
  15434. },
  15435. "plantime": {
  15436. "description": "计划时间",
  15437. "type": "string"
  15438. },
  15439. "producttype": {
  15440. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15441. "type": "integer"
  15442. },
  15443. "remark": {
  15444. "description": "备注",
  15445. "type": "string"
  15446. },
  15447. "spotgoodsdesc": {
  15448. "description": "商品型号",
  15449. "type": "string"
  15450. },
  15451. "taaccountname": {
  15452. "description": "资金账号名称",
  15453. "type": "string"
  15454. },
  15455. "tradeuserid": {
  15456. "description": "交易用户id",
  15457. "type": "integer"
  15458. },
  15459. "tradeusername": {
  15460. "description": "交易用户名称",
  15461. "type": "string"
  15462. },
  15463. "unitid": {
  15464. "description": "单位id(现货商品)",
  15465. "type": "integer"
  15466. },
  15467. "updatetime": {
  15468. "description": "更新时间",
  15469. "type": "string"
  15470. },
  15471. "wrstandardcode": {
  15472. "description": "品类代码",
  15473. "type": "string"
  15474. },
  15475. "wrstandardid": {
  15476. "description": "品类id",
  15477. "type": "integer"
  15478. },
  15479. "wrstandardname": {
  15480. "description": "品类名称",
  15481. "type": "string"
  15482. },
  15483. "wrunitid": {
  15484. "description": "品类单位id",
  15485. "type": "integer"
  15486. },
  15487. "wrunitidame": {
  15488. "description": "品类单位名称",
  15489. "type": "string"
  15490. }
  15491. }
  15492. },
  15493. "models.Ermcp3MiddleGoodsDetail2": {
  15494. "type": "object",
  15495. "properties": {
  15496. "convertratio": {
  15497. "description": "套保系数(折算系数)",
  15498. "type": "number"
  15499. },
  15500. "gplist": {
  15501. "description": "关联商品组列表",
  15502. "type": "array",
  15503. "items": {
  15504. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15505. }
  15506. },
  15507. "mg": {
  15508. "description": "套保商品信息",
  15509. "type": "object",
  15510. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15511. }
  15512. }
  15513. },
  15514. "models.Ermcp3MiddleGoodsDetailEx": {
  15515. "type": "object",
  15516. "properties": {
  15517. "dglist": {
  15518. "description": "关联的现货品种列表",
  15519. "type": "array",
  15520. "items": {
  15521. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15522. }
  15523. },
  15524. "gplist": {
  15525. "description": "关联商品组列表",
  15526. "type": "array",
  15527. "items": {
  15528. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15529. }
  15530. },
  15531. "mg": {
  15532. "description": "套保商品信息",
  15533. "type": "object",
  15534. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15535. }
  15536. }
  15537. },
  15538. "models.Ermcp3SellBuyContract": {
  15539. "type": "object",
  15540. "properties": {
  15541. "accountid": {
  15542. "description": "期货账户id",
  15543. "type": "string"
  15544. },
  15545. "accountname": {
  15546. "description": "账户名称",
  15547. "type": "string"
  15548. },
  15549. "attachment": {
  15550. "description": "附件",
  15551. "type": "string"
  15552. },
  15553. "audittime": {
  15554. "description": "审核时间",
  15555. "type": "string"
  15556. },
  15557. "biztype": {
  15558. "description": "业务类型 1-套保 2-套利",
  15559. "type": "integer"
  15560. },
  15561. "brandname": {
  15562. "description": "品牌名称",
  15563. "type": "string"
  15564. },
  15565. "contracctstatus": {
  15566. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15567. "type": "integer"
  15568. },
  15569. "contractmargin": {
  15570. "description": "合同保证金",
  15571. "type": "number"
  15572. },
  15573. "contractno": {
  15574. "description": "合同编号",
  15575. "type": "string"
  15576. },
  15577. "contracttype": {
  15578. "description": "合同类型 1-采购, -1-销售",
  15579. "type": "integer"
  15580. },
  15581. "convertfactor": {
  15582. "description": "标仓系数(品类)",
  15583. "type": "number"
  15584. },
  15585. "createtime": {
  15586. "description": "创建时间",
  15587. "type": "string"
  15588. },
  15589. "currencyid": {
  15590. "description": "币种id",
  15591. "type": "integer"
  15592. },
  15593. "currencyname": {
  15594. "description": "币种名称",
  15595. "type": "string"
  15596. },
  15597. "daikaiamount": {
  15598. "description": "应收(开)票额",
  15599. "type": "number"
  15600. },
  15601. "deliveryenddate": {
  15602. "description": "交割结束日",
  15603. "type": "string"
  15604. },
  15605. "deliverygoodscode": {
  15606. "description": "现货品种代码",
  15607. "type": "string"
  15608. },
  15609. "deliverygoodsid": {
  15610. "description": "现货商品ID",
  15611. "type": "integer"
  15612. },
  15613. "deliverygoodsname": {
  15614. "description": "现货品种名称",
  15615. "type": "string"
  15616. },
  15617. "deliverystartdate": {
  15618. "description": "交割开始日",
  15619. "type": "string"
  15620. },
  15621. "enddate": {
  15622. "description": "点价结束日",
  15623. "type": "string"
  15624. },
  15625. "enumdicname": {
  15626. "description": "单位名称",
  15627. "type": "string"
  15628. },
  15629. "goodscode": {
  15630. "description": "点价商品代码",
  15631. "type": "string"
  15632. },
  15633. "goodsid": {
  15634. "description": "点价商品ID",
  15635. "type": "integer"
  15636. },
  15637. "goodsname": {
  15638. "description": "点价商品名称",
  15639. "type": "string"
  15640. },
  15641. "invoiceamount": {
  15642. "description": "已开票额",
  15643. "type": "number"
  15644. },
  15645. "loanamount": {
  15646. "description": "贷款总额=已定价额+调整金额",
  15647. "type": "number"
  15648. },
  15649. "margin": {
  15650. "description": "保证金",
  15651. "type": "number"
  15652. },
  15653. "meruserid": {
  15654. "description": "跟单员id",
  15655. "type": "integer"
  15656. },
  15657. "meruserlogincode": {
  15658. "description": "跟单员登录代码",
  15659. "type": "string"
  15660. },
  15661. "nickname": {
  15662. "description": "账户昵称",
  15663. "type": "string"
  15664. },
  15665. "payamount": {
  15666. "description": "已收付额(收款或付款)",
  15667. "type": "number"
  15668. },
  15669. "preinvoiceamount": {
  15670. "description": "预收(开)票额",
  15671. "type": "number"
  15672. },
  15673. "prepayamount": {
  15674. "description": "预收付额",
  15675. "type": "number"
  15676. },
  15677. "price": {
  15678. "description": "价格",
  15679. "type": "number"
  15680. },
  15681. "pricedamount": {
  15682. "description": "已定价额",
  15683. "type": "number"
  15684. },
  15685. "pricedavg": {
  15686. "description": "已点均价",
  15687. "type": "number"
  15688. },
  15689. "pricedqty": {
  15690. "description": "已定价量",
  15691. "type": "number"
  15692. },
  15693. "pricemove": {
  15694. "description": "升贴水",
  15695. "type": "number"
  15696. },
  15697. "pricetype": {
  15698. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15699. "type": "integer"
  15700. },
  15701. "producttype": {
  15702. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15703. "type": "integer"
  15704. },
  15705. "qty": {
  15706. "description": "合同量",
  15707. "type": "number"
  15708. },
  15709. "reckonadjustamount": {
  15710. "description": "调整金额",
  15711. "type": "number"
  15712. },
  15713. "reckonedamount": {
  15714. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15715. "type": "number"
  15716. },
  15717. "reckonotheramount": {
  15718. "description": "其它费用",
  15719. "type": "number"
  15720. },
  15721. "reckonrealqty": {
  15722. "description": "已确定量",
  15723. "type": "number"
  15724. },
  15725. "remark": {
  15726. "description": "备注",
  15727. "type": "string"
  15728. },
  15729. "saleuserid": {
  15730. "description": "业务员id",
  15731. "type": "integer"
  15732. },
  15733. "saleuserlogincode": {
  15734. "description": "业务员登录代码",
  15735. "type": "string"
  15736. },
  15737. "spotcontractid": {
  15738. "description": "合同ID",
  15739. "type": "string"
  15740. },
  15741. "spotgoodsbrandid": {
  15742. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15743. "type": "integer"
  15744. },
  15745. "spotgoodsdesc": {
  15746. "description": "商品型号(商品规格)",
  15747. "type": "string"
  15748. },
  15749. "startdate": {
  15750. "description": "点价开始日",
  15751. "type": "string"
  15752. },
  15753. "totalamount": {
  15754. "description": "合计总额",
  15755. "type": "number"
  15756. },
  15757. "tradeuserid": {
  15758. "description": "交易员id",
  15759. "type": "integer"
  15760. },
  15761. "tradeuserlogincode": {
  15762. "description": "交易员登录代码",
  15763. "type": "string"
  15764. },
  15765. "tradeusername": {
  15766. "description": "交易员名称",
  15767. "type": "string"
  15768. },
  15769. "unpayamount": {
  15770. "description": "应收付款额(应支付或应收款)",
  15771. "type": "number"
  15772. },
  15773. "unpricedqty": {
  15774. "description": "未定价量",
  15775. "type": "number"
  15776. },
  15777. "unsureqty": {
  15778. "description": "未确定量",
  15779. "type": "number"
  15780. },
  15781. "userid": {
  15782. "description": "机构ID",
  15783. "type": "integer"
  15784. },
  15785. "wrstandardcode": {
  15786. "description": "品类代码",
  15787. "type": "string"
  15788. },
  15789. "wrstandardid": {
  15790. "description": "品类ID",
  15791. "type": "integer"
  15792. },
  15793. "wrstandardname": {
  15794. "description": "品类名称",
  15795. "type": "string"
  15796. }
  15797. }
  15798. },
  15799. "models.Ermcp3SpotGoodsPrice": {
  15800. "type": "object",
  15801. "properties": {
  15802. "areauserid": {
  15803. "description": "所属机构id",
  15804. "type": "integer"
  15805. },
  15806. "brandname": {
  15807. "description": "品牌名称",
  15808. "type": "string"
  15809. },
  15810. "currencyid": {
  15811. "description": "报价货币ID",
  15812. "type": "integer"
  15813. },
  15814. "currencyname": {
  15815. "description": "币种名称",
  15816. "type": "string"
  15817. },
  15818. "deliverygoodscode": {
  15819. "description": "现货商品代码",
  15820. "type": "string"
  15821. },
  15822. "deliverygoodsid": {
  15823. "description": "现货商品id",
  15824. "type": "integer"
  15825. },
  15826. "deliverygoodsname": {
  15827. "description": "现货商品名称",
  15828. "type": "string"
  15829. },
  15830. "enumdicname": {
  15831. "description": "现货商品单位名称",
  15832. "type": "string"
  15833. },
  15834. "gbenumdicname": {
  15835. "description": "品类单位名称",
  15836. "type": "string"
  15837. },
  15838. "gmunitid": {
  15839. "description": "品类单位id",
  15840. "type": "integer"
  15841. },
  15842. "isvalid": {
  15843. "description": "是否有效 - 0:无效 1:有效",
  15844. "type": "integer"
  15845. },
  15846. "operateid": {
  15847. "description": "最后操作人",
  15848. "type": "integer"
  15849. },
  15850. "operatesrc": {
  15851. "description": "最后操作来源 - 1:管理端 2:终端",
  15852. "type": "integer"
  15853. },
  15854. "operatetime": {
  15855. "description": "最后操作时间",
  15856. "type": "string"
  15857. },
  15858. "operatorname": {
  15859. "description": "操作人名称",
  15860. "type": "string"
  15861. },
  15862. "spotgoodsbrandid": {
  15863. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15864. "type": "integer"
  15865. },
  15866. "spotgoodsprice": {
  15867. "description": "现货价格",
  15868. "type": "number"
  15869. },
  15870. "tradedate": {
  15871. "description": "交易日(yyyyMMdd)",
  15872. "type": "string"
  15873. },
  15874. "unitid": {
  15875. "description": "现货商品单位id",
  15876. "type": "integer"
  15877. },
  15878. "wrstandardcode": {
  15879. "description": "品类代码",
  15880. "type": "string"
  15881. },
  15882. "wrstandardid": {
  15883. "description": "现货品类ID(通用则为0)",
  15884. "type": "integer"
  15885. },
  15886. "wrstandardname": {
  15887. "description": "品类名称",
  15888. "type": "string"
  15889. }
  15890. }
  15891. },
  15892. "models.Ermcp3SpotGoodsPriceLog": {
  15893. "type": "object",
  15894. "properties": {
  15895. "areauserid": {
  15896. "description": "所属机构id",
  15897. "type": "integer"
  15898. },
  15899. "brandname": {
  15900. "description": "品牌名称",
  15901. "type": "string"
  15902. },
  15903. "currencyid": {
  15904. "description": "报价货币ID",
  15905. "type": "integer"
  15906. },
  15907. "deliverygoodscode": {
  15908. "description": "现货商品代码",
  15909. "type": "string"
  15910. },
  15911. "deliverygoodsid": {
  15912. "description": "现货商品id",
  15913. "type": "integer"
  15914. },
  15915. "deliverygoodsname": {
  15916. "description": "现货商品名称",
  15917. "type": "string"
  15918. },
  15919. "enumdicname": {
  15920. "description": "现货商品单位名称",
  15921. "type": "string"
  15922. },
  15923. "gbenumdicname": {
  15924. "description": "品类单位名称",
  15925. "type": "string"
  15926. },
  15927. "gmunitid": {
  15928. "description": "品类单位id",
  15929. "type": "integer"
  15930. },
  15931. "logid": {
  15932. "description": "日志id",
  15933. "type": "integer"
  15934. },
  15935. "operateid": {
  15936. "description": "最后操作人",
  15937. "type": "integer"
  15938. },
  15939. "operatesrc": {
  15940. "description": "最后操作来源 - 1:管理端 2:终端",
  15941. "type": "integer"
  15942. },
  15943. "operatetime": {
  15944. "description": "最后操作时间",
  15945. "type": "string"
  15946. },
  15947. "operatorname": {
  15948. "description": "操作人名称",
  15949. "type": "string"
  15950. },
  15951. "spotgoodsbrandid": {
  15952. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15953. "type": "integer"
  15954. },
  15955. "spotgoodsprice": {
  15956. "description": "现货价格",
  15957. "type": "number"
  15958. },
  15959. "tradedate": {
  15960. "description": "交易日(yyyyMMdd)",
  15961. "type": "string"
  15962. },
  15963. "unitid": {
  15964. "description": "现货商品单位id",
  15965. "type": "integer"
  15966. },
  15967. "wrstandardcode": {
  15968. "description": "品类代码",
  15969. "type": "string"
  15970. },
  15971. "wrstandardid": {
  15972. "description": "现货品类ID(通用则为0)",
  15973. "type": "integer"
  15974. },
  15975. "wrstandardname": {
  15976. "description": "品类名称",
  15977. "type": "string"
  15978. }
  15979. }
  15980. },
  15981. "models.Ermcp3TaFutuReDataReport": {
  15982. "type": "object",
  15983. "properties": {
  15984. "accountid": {
  15985. "description": "交易账户",
  15986. "type": "integer"
  15987. },
  15988. "accountname": {
  15989. "description": "交易账号名称",
  15990. "type": "string"
  15991. },
  15992. "begindate": {
  15993. "description": "开始交易日",
  15994. "type": "string"
  15995. },
  15996. "buyorsell": {
  15997. "description": "持仓方向",
  15998. "type": "integer"
  15999. },
  16000. "charge": {
  16001. "description": "手续费",
  16002. "type": "number"
  16003. },
  16004. "closepl": {
  16005. "description": "平仓损益",
  16006. "type": "number"
  16007. },
  16008. "currencyid": {
  16009. "description": "结算币种ID",
  16010. "type": "integer"
  16011. },
  16012. "cycletime": {
  16013. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16014. "type": "string"
  16015. },
  16016. "cycletype": {
  16017. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16018. "type": "integer"
  16019. },
  16020. "enddate": {
  16021. "description": "结束交易日",
  16022. "type": "string"
  16023. },
  16024. "enumdicname": {
  16025. "description": "单位名称(现货商品)",
  16026. "type": "string"
  16027. },
  16028. "floatpl": {
  16029. "description": "浮动损益",
  16030. "type": "number"
  16031. },
  16032. "goodscode": {
  16033. "description": "交易合约代码",
  16034. "type": "string"
  16035. },
  16036. "goodsgroupid": {
  16037. "description": "交易品种",
  16038. "type": "integer"
  16039. },
  16040. "goodsgroupname": {
  16041. "description": "交易品种名称",
  16042. "type": "string"
  16043. },
  16044. "goodsgroupspotqty": {
  16045. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16046. "type": "number"
  16047. },
  16048. "goodsid": {
  16049. "description": "交易合约",
  16050. "type": "integer"
  16051. },
  16052. "goodsname": {
  16053. "description": "交易合约名称",
  16054. "type": "string"
  16055. },
  16056. "goodunitid": {
  16057. "description": "交易合约单位id",
  16058. "type": "integer"
  16059. },
  16060. "holdamount": {
  16061. "description": "期末持仓额",
  16062. "type": "number"
  16063. },
  16064. "holdqty": {
  16065. "description": "期末持仓量",
  16066. "type": "number"
  16067. },
  16068. "lastholdamount": {
  16069. "description": "当前持仓额",
  16070. "type": "number"
  16071. },
  16072. "lastprice": {
  16073. "description": "最新价",
  16074. "type": "number"
  16075. },
  16076. "middlegoodsqty": {
  16077. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16078. "type": "number"
  16079. },
  16080. "openamount": {
  16081. "description": "期末开仓额",
  16082. "type": "number"
  16083. },
  16084. "oriholdamount": {
  16085. "description": "期初持仓额",
  16086. "type": "number"
  16087. },
  16088. "oriholdqty": {
  16089. "description": "期初持仓量",
  16090. "type": "number"
  16091. },
  16092. "oriopenamount": {
  16093. "description": "期初开仓额",
  16094. "type": "number"
  16095. },
  16096. "outergroupcode": {
  16097. "description": "交易品种代码",
  16098. "type": "string"
  16099. },
  16100. "reckondate": {
  16101. "description": "日照时期(yyyyMMdd)",
  16102. "type": "string"
  16103. },
  16104. "reckonholdamount": {
  16105. "description": "结算持仓额",
  16106. "type": "number"
  16107. },
  16108. "reckonpl": {
  16109. "description": "结算损益",
  16110. "type": "number"
  16111. },
  16112. "reckonpl2": {
  16113. "description": "结算逐笔盈亏",
  16114. "type": "number"
  16115. },
  16116. "reckonprice": {
  16117. "description": "结算价",
  16118. "type": "number"
  16119. },
  16120. "relateduserid": {
  16121. "description": "账户关联用户ID",
  16122. "type": "integer"
  16123. },
  16124. "todaycloseamount": {
  16125. "description": "今平仓额",
  16126. "type": "number"
  16127. },
  16128. "todaycloseqty": {
  16129. "description": "今平仓量",
  16130. "type": "number"
  16131. },
  16132. "todaygoodsgroupspotqty": {
  16133. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16134. "type": "number"
  16135. },
  16136. "todaymiddlegoodsqty": {
  16137. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16138. "type": "number"
  16139. },
  16140. "todayopenamount": {
  16141. "description": "今开仓额",
  16142. "type": "number"
  16143. },
  16144. "todayopenqty": {
  16145. "description": "今开仓量",
  16146. "type": "number"
  16147. },
  16148. "userid": {
  16149. "description": "账户所属用户ID",
  16150. "type": "integer"
  16151. }
  16152. }
  16153. },
  16154. "models.Ermcp3Wrstandard": {
  16155. "type": "object",
  16156. "properties": {
  16157. "areauserid": {
  16158. "description": "所属机构",
  16159. "type": "integer"
  16160. },
  16161. "convertfactor": {
  16162. "description": "标仓系数",
  16163. "type": "number"
  16164. },
  16165. "createtime": {
  16166. "description": "创建时间",
  16167. "type": "string"
  16168. },
  16169. "creatorid": {
  16170. "description": "创建人",
  16171. "type": "integer"
  16172. },
  16173. "deliverygoodsid": {
  16174. "description": "现货品种ID",
  16175. "type": "integer"
  16176. },
  16177. "enumdicname": {
  16178. "description": "品类单位名称",
  16179. "type": "string"
  16180. },
  16181. "isvalid": {
  16182. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16183. "type": "integer"
  16184. },
  16185. "minivalue": {
  16186. "description": "最小变动值",
  16187. "type": "integer"
  16188. },
  16189. "minivaluedp": {
  16190. "description": "最小变动值小数位",
  16191. "type": "integer"
  16192. },
  16193. "realminivalue": {
  16194. "description": "实际最小变动值",
  16195. "type": "integer"
  16196. },
  16197. "realminivaluedp": {
  16198. "description": "实际最小变动值小数位",
  16199. "type": "integer"
  16200. },
  16201. "remark": {
  16202. "description": "备注",
  16203. "type": "string"
  16204. },
  16205. "unitid": {
  16206. "description": "品类单位ID",
  16207. "type": "integer"
  16208. },
  16209. "updatetime": {
  16210. "description": "更新时间",
  16211. "type": "string"
  16212. },
  16213. "wrstandardcode": {
  16214. "description": "品类代码",
  16215. "type": "string"
  16216. },
  16217. "wrstandardid": {
  16218. "description": "品类ID(SEQ_WRSTANDARD)",
  16219. "type": "integer"
  16220. },
  16221. "wrstandardname": {
  16222. "description": "品类名称",
  16223. "type": "string"
  16224. }
  16225. }
  16226. },
  16227. "models.ErmcpAreaSpotDetailModel": {
  16228. "type": "object",
  16229. "properties": {
  16230. "contracttype": {
  16231. "description": "合同类型 1-采购 -1-销售",
  16232. "type": "integer"
  16233. },
  16234. "createtime": {
  16235. "description": "创建时间",
  16236. "type": "string"
  16237. },
  16238. "enumdicname": {
  16239. "description": "现货商品单位名称",
  16240. "type": "string"
  16241. },
  16242. "logtype": {
  16243. "description": "记录类型 1-套保 2-现货合同",
  16244. "type": "integer"
  16245. },
  16246. "qty": {
  16247. "description": "数量",
  16248. "type": "number"
  16249. },
  16250. "recordname": {
  16251. "description": "类型名称",
  16252. "type": "string"
  16253. },
  16254. "relatedid": {
  16255. "description": "套保计划ID/现货合同ID",
  16256. "type": "string"
  16257. },
  16258. "relatedno": {
  16259. "description": "编号",
  16260. "type": "string"
  16261. },
  16262. "strtime": {
  16263. "description": "时间",
  16264. "type": "string"
  16265. },
  16266. "wrstandardcode": {
  16267. "description": "现货商品代码",
  16268. "type": "string"
  16269. },
  16270. "wrstandardname": {
  16271. "description": "现货商品名称",
  16272. "type": "string"
  16273. }
  16274. }
  16275. },
  16276. "models.ErmcpAvalidGoodsGroupModel": {
  16277. "type": "object",
  16278. "properties": {
  16279. "goodsgroupid": {
  16280. "description": "期货品种id",
  16281. "type": "integer"
  16282. },
  16283. "goodsgroupname": {
  16284. "description": "期货品种名称",
  16285. "type": "string"
  16286. },
  16287. "goodunitid": {
  16288. "description": "品种单位id",
  16289. "type": "integer"
  16290. },
  16291. "goodunitname": {
  16292. "description": "品种单位名称",
  16293. "type": "string"
  16294. },
  16295. "outergroupcode": {
  16296. "description": "期货品种代码",
  16297. "type": "string"
  16298. }
  16299. }
  16300. },
  16301. "models.ErmcpBizGroupEx": {
  16302. "type": "object",
  16303. "properties": {
  16304. "acclist": {
  16305. "description": "账号列表",
  16306. "type": "array",
  16307. "items": {
  16308. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16309. }
  16310. },
  16311. "bizgroupid": {
  16312. "description": "业务分组id",
  16313. "type": "integer"
  16314. },
  16315. "biztype": {
  16316. "description": "业务类型 1-套保 2-套利",
  16317. "type": "integer"
  16318. },
  16319. "wrlist": {
  16320. "description": "现货商品表",
  16321. "type": "array",
  16322. "items": {
  16323. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16324. }
  16325. }
  16326. }
  16327. },
  16328. "models.ErmcpBizGroupSpotGoods": {
  16329. "type": "object",
  16330. "properties": {
  16331. "areauserid": {
  16332. "description": "所属机构id",
  16333. "type": "integer"
  16334. },
  16335. "bizgroupid": {
  16336. "description": "分组id",
  16337. "type": "integer"
  16338. },
  16339. "biztype": {
  16340. "description": "业务类型 1-套保 2-套利",
  16341. "type": "integer"
  16342. },
  16343. "deliverygoodscode": {
  16344. "description": "现货商品代码",
  16345. "type": "string"
  16346. },
  16347. "deliverygoodsid": {
  16348. "description": "现货商品id",
  16349. "type": "integer"
  16350. },
  16351. "deliverygoodsname": {
  16352. "description": "现货商品名称",
  16353. "type": "string"
  16354. },
  16355. "unitid": {
  16356. "description": "现货商品单位id",
  16357. "type": "integer"
  16358. }
  16359. }
  16360. },
  16361. "models.ErmcpBizGroupTaAccount": {
  16362. "type": "object",
  16363. "properties": {
  16364. "accountid": {
  16365. "description": "账号id",
  16366. "type": "integer"
  16367. },
  16368. "accountname": {
  16369. "description": "账号名称",
  16370. "type": "string"
  16371. },
  16372. "areauserid": {
  16373. "description": "所属机构id",
  16374. "type": "integer"
  16375. },
  16376. "bizgroupid": {
  16377. "description": "业务分组id",
  16378. "type": "integer"
  16379. },
  16380. "ismain": {
  16381. "description": "是否主账号 1-是 0-否",
  16382. "type": "integer"
  16383. }
  16384. }
  16385. },
  16386. "models.ErmcpDGFactoryItem": {
  16387. "type": "object",
  16388. "properties": {
  16389. "areauserid": {
  16390. "description": "用户id",
  16391. "type": "integer"
  16392. },
  16393. "deliverygoodsid": {
  16394. "description": "现货品种ID",
  16395. "type": "integer"
  16396. },
  16397. "dgfactoryitemid": {
  16398. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16399. "type": "integer"
  16400. },
  16401. "dgfactoryitemtypeid": {
  16402. "description": "要素项类型",
  16403. "type": "integer"
  16404. },
  16405. "dgfactoryitemvalue": {
  16406. "description": "要素项值(类型为仓库时填写仓库名称)",
  16407. "type": "string"
  16408. },
  16409. "isvalid": {
  16410. "description": "是否有效 - 0:无效 1:有效",
  16411. "type": "integer"
  16412. },
  16413. "orderindex": {
  16414. "description": "顺序",
  16415. "type": "integer"
  16416. },
  16417. "warehouseid": {
  16418. "description": "仓库ID(类型为仓库时填写)",
  16419. "type": "integer"
  16420. }
  16421. }
  16422. },
  16423. "models.ErmcpDeliveryGoods": {
  16424. "type": "object",
  16425. "properties": {
  16426. "agreeunit": {
  16427. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16428. "type": "integer"
  16429. },
  16430. "areauserid": {
  16431. "description": "所属机构",
  16432. "type": "integer"
  16433. },
  16434. "auditflag": {
  16435. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16436. "type": "integer"
  16437. },
  16438. "categoryid": {
  16439. "description": "类别ID(SEQ_WRCATEGORY)",
  16440. "type": "integer"
  16441. },
  16442. "deliverygoodscode": {
  16443. "description": "现货品种代码",
  16444. "type": "string"
  16445. },
  16446. "deliverygoodsid": {
  16447. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16448. "type": "integer"
  16449. },
  16450. "deliverygoodsname": {
  16451. "description": "现货品种名称",
  16452. "type": "string"
  16453. },
  16454. "deliverygoodstype": {
  16455. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16456. "type": "integer"
  16457. },
  16458. "dgstatus": {
  16459. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16460. "type": "integer"
  16461. },
  16462. "enumdicname": {
  16463. "description": "现货品种单位名称",
  16464. "type": "string"
  16465. },
  16466. "goodsunitid": {
  16467. "description": "现货品种单位ID",
  16468. "type": "integer"
  16469. },
  16470. "isvalid": {
  16471. "description": "是否有效 - 0:无效 1:有效",
  16472. "type": "integer"
  16473. },
  16474. "qtydecimalplace": {
  16475. "description": "成交量小数位",
  16476. "type": "integer"
  16477. },
  16478. "remark": {
  16479. "description": "备注",
  16480. "type": "string"
  16481. },
  16482. "standardqty": {
  16483. "description": "标准数量(库位数量) [标准品特有]",
  16484. "type": "integer"
  16485. },
  16486. "standardqtyrange": {
  16487. "description": "标准数量偏差范围 [标准品特有]",
  16488. "type": "integer"
  16489. }
  16490. }
  16491. },
  16492. "models.ErmcpDeliveryGoodsDetail2": {
  16493. "type": "object",
  16494. "properties": {
  16495. "convertratio": {
  16496. "description": "套保系数(折算系数)",
  16497. "type": "number"
  16498. },
  16499. "data": {
  16500. "description": "现货商品基本信息(交割品种)",
  16501. "type": "object",
  16502. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16503. },
  16504. "gblist": {
  16505. "description": "品牌列表",
  16506. "type": "array",
  16507. "items": {
  16508. "$ref": "#/definitions/models.Ermcp3Brand"
  16509. }
  16510. },
  16511. "gmlist": {
  16512. "description": "品类列表(仓单标准)",
  16513. "type": "array",
  16514. "items": {
  16515. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16516. }
  16517. }
  16518. }
  16519. },
  16520. "models.ErmcpDeliveryGoodsDetailEx": {
  16521. "type": "object",
  16522. "properties": {
  16523. "data": {
  16524. "description": "现货商品基本信息(交割品种)",
  16525. "type": "object",
  16526. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16527. },
  16528. "gblist": {
  16529. "description": "品牌列表",
  16530. "type": "array",
  16531. "items": {
  16532. "$ref": "#/definitions/models.Ermcp3Brand"
  16533. }
  16534. },
  16535. "gmlist": {
  16536. "description": "品类列表(仓单标准)",
  16537. "type": "array",
  16538. "items": {
  16539. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16540. }
  16541. },
  16542. "mgList": {
  16543. "description": "套保列表",
  16544. "type": "array",
  16545. "items": {
  16546. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16547. }
  16548. }
  16549. }
  16550. },
  16551. "models.ErmcpExposureDetailModel": {
  16552. "type": "object",
  16553. "properties": {
  16554. "areauserid": {
  16555. "description": "机构ID",
  16556. "type": "integer"
  16557. },
  16558. "changeQty": {
  16559. "description": "套保变动量",
  16560. "type": "number"
  16561. },
  16562. "contracttype": {
  16563. "description": "现货合同类型 - 1:采购 -1:销售",
  16564. "type": "integer"
  16565. },
  16566. "convertfactor": {
  16567. "description": "标仓系数",
  16568. "type": "number"
  16569. },
  16570. "convertratio": {
  16571. "description": "套保系数",
  16572. "type": "number"
  16573. },
  16574. "createtime": {
  16575. "description": "时间",
  16576. "type": "string"
  16577. },
  16578. "enumdicname": {
  16579. "description": "现货商品单位名称",
  16580. "type": "string"
  16581. },
  16582. "logtype": {
  16583. "description": "类型 - 1:套保计划 2:现货合同",
  16584. "type": "integer"
  16585. },
  16586. "middlegoodsId": {
  16587. "description": "套保商品id",
  16588. "type": "integer"
  16589. },
  16590. "middlegoodscode": {
  16591. "description": "套保商品代码",
  16592. "type": "string"
  16593. },
  16594. "middlegoodsname": {
  16595. "description": "套保商品名称",
  16596. "type": "string"
  16597. },
  16598. "qty": {
  16599. "description": "数量",
  16600. "type": "number"
  16601. },
  16602. "relateNo": {
  16603. "description": "现货合同/套保计划编号",
  16604. "type": "string"
  16605. },
  16606. "wrstandardcode": {
  16607. "description": "现货商品代码",
  16608. "type": "string"
  16609. },
  16610. "wrstandardid": {
  16611. "description": "现货商品ID",
  16612. "type": "integer"
  16613. },
  16614. "wrstandardname": {
  16615. "description": "现货商品名称",
  16616. "type": "string"
  16617. }
  16618. }
  16619. },
  16620. "models.ErmcpExposurePostion": {
  16621. "type": "object",
  16622. "properties": {
  16623. "agreeunit": {
  16624. "description": "合约单位",
  16625. "type": "string"
  16626. },
  16627. "areauserid": {
  16628. "description": "所属机构id",
  16629. "type": "integer"
  16630. },
  16631. "convertratio": {
  16632. "description": "期货品种系数(折算系数)",
  16633. "type": "number"
  16634. },
  16635. "curqty": {
  16636. "description": "当前持仓",
  16637. "type": "integer"
  16638. },
  16639. "diffhedgeqty": {
  16640. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16641. "type": "number"
  16642. },
  16643. "diffqty": {
  16644. "description": "持仓变动量=当前持仓-昨日持仓",
  16645. "type": "integer"
  16646. },
  16647. "goodscode": {
  16648. "description": "商品代码",
  16649. "type": "string"
  16650. },
  16651. "goodsid": {
  16652. "description": "商品id",
  16653. "type": "integer"
  16654. },
  16655. "goodsname": {
  16656. "description": "商品名称",
  16657. "type": "string"
  16658. },
  16659. "middlegoodsid": {
  16660. "description": "套保商品id",
  16661. "type": "integer"
  16662. },
  16663. "ydqty": {
  16664. "description": "昨日持仓",
  16665. "type": "integer"
  16666. }
  16667. }
  16668. },
  16669. "models.ErmcpFuturesCompany": {
  16670. "type": "object",
  16671. "properties": {
  16672. "brokerid": {
  16673. "description": "经纪公司代码",
  16674. "type": "string"
  16675. },
  16676. "channeladdress": {
  16677. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16678. "type": "string"
  16679. },
  16680. "channelid": {
  16681. "description": "对冲渠道ID",
  16682. "type": "string"
  16683. },
  16684. "createtime": {
  16685. "description": "创建时间",
  16686. "type": "string"
  16687. },
  16688. "creatorid": {
  16689. "description": "创建人",
  16690. "type": "string"
  16691. },
  16692. "fcid": {
  16693. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16694. "type": "integer"
  16695. },
  16696. "fcname": {
  16697. "description": "期货公司名称",
  16698. "type": "string"
  16699. },
  16700. "isvalid": {
  16701. "description": "是否有效 - 0:无效 1:有效",
  16702. "type": "integer"
  16703. },
  16704. "mhpaddress": {
  16705. "description": "MHP服务地址(IP:Port)",
  16706. "type": "string"
  16707. },
  16708. "riskrulegroupid": {
  16709. "description": "风控规则组ID",
  16710. "type": "string"
  16711. },
  16712. "tradefeetmpid": {
  16713. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16714. "type": "string"
  16715. },
  16716. "trademargintmpid": {
  16717. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16718. "type": "string"
  16719. },
  16720. "traderatetmpid": {
  16721. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16722. "type": "string"
  16723. },
  16724. "updatetime": {
  16725. "description": "更新时间",
  16726. "type": "string"
  16727. },
  16728. "updatorid": {
  16729. "description": "更新人",
  16730. "type": "string"
  16731. }
  16732. }
  16733. },
  16734. "models.ErmcpGGConvertCfg": {
  16735. "type": "object",
  16736. "properties": {
  16737. "convertratio": {
  16738. "description": "折算系数",
  16739. "type": "number"
  16740. },
  16741. "destgoodsgroupid": {
  16742. "description": "目标品种ID",
  16743. "type": "integer"
  16744. },
  16745. "dstcode": {
  16746. "description": "目录品种代码",
  16747. "type": "string"
  16748. },
  16749. "dstexchangecode": {
  16750. "description": "目标期货交易所",
  16751. "type": "string"
  16752. },
  16753. "dstname": {
  16754. "description": "目标品种名称",
  16755. "type": "string"
  16756. },
  16757. "dstunitid": {
  16758. "description": "目标品种单位ID",
  16759. "type": "integer"
  16760. },
  16761. "dstunitidname": {
  16762. "description": "目标品种单位名称",
  16763. "type": "string"
  16764. },
  16765. "modifytime": {
  16766. "description": "修改时间",
  16767. "type": "string"
  16768. },
  16769. "srccode": {
  16770. "description": "源品种代码",
  16771. "type": "string"
  16772. },
  16773. "srcexchangecode": {
  16774. "description": "源期货交易所",
  16775. "type": "string"
  16776. },
  16777. "srcgoodsgroupid": {
  16778. "description": "源品种ID",
  16779. "type": "integer"
  16780. },
  16781. "srcname": {
  16782. "description": "源品种名称",
  16783. "type": "string"
  16784. },
  16785. "srcunitid": {
  16786. "description": "源品种单位ID",
  16787. "type": "integer"
  16788. },
  16789. "srcunitidname": {
  16790. "description": "源品种单位名称",
  16791. "type": "string"
  16792. }
  16793. }
  16794. },
  16795. "models.ErmcpGoods": {
  16796. "type": "object",
  16797. "required": [
  16798. "goodscode",
  16799. "goodsid",
  16800. "goodsname",
  16801. "marketid"
  16802. ],
  16803. "properties": {
  16804. "agreeunit": {
  16805. "description": "合约单位",
  16806. "type": "number"
  16807. },
  16808. "auditaccountid": {
  16809. "description": "审核操作员账号",
  16810. "type": "integer"
  16811. },
  16812. "audittime": {
  16813. "description": "审核时间",
  16814. "type": "string"
  16815. },
  16816. "cancelaccountid": {
  16817. "description": "注销操作员账号",
  16818. "type": "integer"
  16819. },
  16820. "canceltime": {
  16821. "description": "注销时间",
  16822. "type": "string"
  16823. },
  16824. "closepricemode": {
  16825. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16826. "type": "integer"
  16827. },
  16828. "closepriceparam": {
  16829. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16830. "type": "number"
  16831. },
  16832. "createtime": {
  16833. "description": "创建时间",
  16834. "type": "string"
  16835. },
  16836. "creatorid": {
  16837. "description": "创建人",
  16838. "type": "integer"
  16839. },
  16840. "currencyid": {
  16841. "description": "报价货币ID",
  16842. "type": "integer"
  16843. },
  16844. "cutmode": {
  16845. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16846. "type": "integer"
  16847. },
  16848. "decimalplace": {
  16849. "description": "报价小数位",
  16850. "type": "integer"
  16851. },
  16852. "delistingdate": {
  16853. "description": "商品退市时间(状态:退市) -- 已作废",
  16854. "type": "string"
  16855. },
  16856. "delistingmode": {
  16857. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16858. "type": "integer"
  16859. },
  16860. "deliveryflag": {
  16861. "description": "交割标志 - 0:不可交割 1:可交割",
  16862. "type": "integer"
  16863. },
  16864. "forceclosemode": {
  16865. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16866. "type": "integer"
  16867. },
  16868. "forceclosevalue": {
  16869. "description": "定期强平参数 [收益权]",
  16870. "type": "integer"
  16871. },
  16872. "goodscode": {
  16873. "description": "商品代码(内部)",
  16874. "type": "string"
  16875. },
  16876. "goodscurrencyid": {
  16877. "description": "合约货币ID",
  16878. "type": "integer"
  16879. },
  16880. "goodsgroupid": {
  16881. "description": "所属商品组ID",
  16882. "type": "integer"
  16883. },
  16884. "goodsid": {
  16885. "description": "商品ID(自增ID SEQ_GOODS)",
  16886. "type": "integer"
  16887. },
  16888. "goodsname": {
  16889. "description": "商品名称",
  16890. "type": "string"
  16891. },
  16892. "goodsquotetype": {
  16893. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16894. "type": "integer"
  16895. },
  16896. "goodsstatus": {
  16897. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16898. "type": "integer"
  16899. },
  16900. "goodstradetype": {
  16901. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16902. "type": "integer"
  16903. },
  16904. "goodunitid": {
  16905. "description": "报价单位ID",
  16906. "type": "integer"
  16907. },
  16908. "hasquoter": {
  16909. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16910. "type": "integer"
  16911. },
  16912. "hqprotecttime": {
  16913. "description": "行情保护时间(秒)",
  16914. "type": "integer"
  16915. },
  16916. "innerdealmode": {
  16917. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16918. "type": "integer"
  16919. },
  16920. "isbuylimited": {
  16921. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16922. "type": "integer"
  16923. },
  16924. "lasttradedate": {
  16925. "description": "最后交易日期(状态:待退市)",
  16926. "type": "string"
  16927. },
  16928. "listingdate": {
  16929. "description": "交易开始日期",
  16930. "type": "string"
  16931. },
  16932. "marketid": {
  16933. "description": "所属市场ID",
  16934. "type": "integer"
  16935. },
  16936. "modifierid": {
  16937. "description": "修改人",
  16938. "type": "integer"
  16939. },
  16940. "modifystatus": {
  16941. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16942. "type": "integer"
  16943. },
  16944. "modifytime": {
  16945. "description": "修改时间",
  16946. "type": "string"
  16947. },
  16948. "outerdealmode": {
  16949. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16950. "type": "integer"
  16951. },
  16952. "outgoodscode": {
  16953. "description": "商品代码(外部)",
  16954. "type": "string"
  16955. },
  16956. "qtydecimalplace": {
  16957. "description": "成交量小数位",
  16958. "type": "integer"
  16959. },
  16960. "quotegear": {
  16961. "description": "行情档位(1-10)",
  16962. "type": "integer"
  16963. },
  16964. "quoteminunit": {
  16965. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16966. "type": "integer"
  16967. },
  16968. "quoteshowtype": {
  16969. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16970. "type": "integer"
  16971. },
  16972. "quoteshowtypeinterval": {
  16973. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16974. "type": "integer"
  16975. },
  16976. "relatedgoodsid": {
  16977. "description": "关联参考商品ID",
  16978. "type": "integer"
  16979. },
  16980. "remark": {
  16981. "description": "备注",
  16982. "type": "string"
  16983. },
  16984. "trademode": {
  16985. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16986. "type": "integer"
  16987. }
  16988. }
  16989. },
  16990. "models.ErmcpGoodsBrand": {
  16991. "type": "object",
  16992. "properties": {
  16993. "areauserid": {
  16994. "description": "所属机构",
  16995. "type": "integer"
  16996. },
  16997. "brandid": {
  16998. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16999. "type": "integer"
  17000. },
  17001. "brandname": {
  17002. "description": "品牌名称",
  17003. "type": "string"
  17004. },
  17005. "createtime": {
  17006. "description": "创建时间",
  17007. "type": "string"
  17008. },
  17009. "creatorid": {
  17010. "description": "创建人",
  17011. "type": "integer"
  17012. },
  17013. "creatorsrc": {
  17014. "description": "创建人来源 - 1:管理端 2:终端",
  17015. "type": "integer"
  17016. },
  17017. "deliverygoodsid": {
  17018. "description": "现货品种ID",
  17019. "type": "integer"
  17020. },
  17021. "isvalid": {
  17022. "description": "是否有效 - 0:无效 1:有效",
  17023. "type": "integer"
  17024. },
  17025. "updatetime": {
  17026. "description": "更新时间",
  17027. "type": "string"
  17028. },
  17029. "updatorid": {
  17030. "description": "更新人",
  17031. "type": "integer"
  17032. },
  17033. "updatorsrc": {
  17034. "description": "更新人来源 - 1:管理端 2:终端",
  17035. "type": "integer"
  17036. },
  17037. "wrstandardid": {
  17038. "description": "现货商品ID",
  17039. "type": "integer"
  17040. }
  17041. }
  17042. },
  17043. "models.ErmcpGoodsModel": {
  17044. "type": "object",
  17045. "properties": {
  17046. "areauserid": {
  17047. "description": "所属机构",
  17048. "type": "integer"
  17049. },
  17050. "convertfactor": {
  17051. "description": "标仓系数",
  17052. "type": "number"
  17053. },
  17054. "createtime": {
  17055. "description": "创建时间",
  17056. "type": "string"
  17057. },
  17058. "creatorid": {
  17059. "description": "创建人",
  17060. "type": "integer"
  17061. },
  17062. "creatorsrc": {
  17063. "description": "创建人来源 - 1:管理端 2:终端",
  17064. "type": "integer"
  17065. },
  17066. "deliverygoodsid": {
  17067. "description": "现货品种ID",
  17068. "type": "integer"
  17069. },
  17070. "isvalid": {
  17071. "description": "是否有效 - 0:无效 1:有效",
  17072. "type": "integer"
  17073. },
  17074. "modelid": {
  17075. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17076. "type": "integer"
  17077. },
  17078. "modelname": {
  17079. "description": "型号名称",
  17080. "type": "string"
  17081. },
  17082. "updatetime": {
  17083. "description": "更新时间",
  17084. "type": "string"
  17085. },
  17086. "updatorid": {
  17087. "description": "更新人",
  17088. "type": "integer"
  17089. },
  17090. "updatorsrc": {
  17091. "description": "更新人来源 - 1:管理端 2:终端",
  17092. "type": "integer"
  17093. },
  17094. "wrstandardid": {
  17095. "description": "现货商品ID",
  17096. "type": "integer"
  17097. }
  17098. }
  17099. },
  17100. "models.ErmcpHedgePosition": {
  17101. "type": "object",
  17102. "properties": {
  17103. "accountid": {
  17104. "description": "资金账号[外部母账户]",
  17105. "type": "integer"
  17106. },
  17107. "curbuyposition": {
  17108. "description": "期末买头寸",
  17109. "type": "integer"
  17110. },
  17111. "cursellposition": {
  17112. "description": "期末卖头寸",
  17113. "type": "integer"
  17114. },
  17115. "curtdbuyposition": {
  17116. "description": "期末今日买头寸",
  17117. "type": "integer"
  17118. },
  17119. "curtdsellposition": {
  17120. "description": "期末今日卖头寸",
  17121. "type": "integer"
  17122. },
  17123. "curydbuyposition": {
  17124. "description": "期末上日买头寸",
  17125. "type": "integer"
  17126. },
  17127. "curydsellposition": {
  17128. "description": "期末上日卖头寸",
  17129. "type": "integer"
  17130. },
  17131. "decreaseqty": {
  17132. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17133. "type": "integer"
  17134. },
  17135. "fretdbuyposition": {
  17136. "description": "冻结今日买头寸",
  17137. "type": "integer"
  17138. },
  17139. "fretdsellposition": {
  17140. "description": "冻结今日卖头寸",
  17141. "type": "integer"
  17142. },
  17143. "freydbuyposition": {
  17144. "description": "冻结上日买头寸",
  17145. "type": "integer"
  17146. },
  17147. "freydsellposition": {
  17148. "description": "冻结上日卖头寸",
  17149. "type": "integer"
  17150. },
  17151. "goodscode": {
  17152. "description": "商品代码",
  17153. "type": "string"
  17154. },
  17155. "goodsid": {
  17156. "description": "商品id",
  17157. "type": "integer"
  17158. },
  17159. "goodsname": {
  17160. "description": "商品名称",
  17161. "type": "string"
  17162. },
  17163. "hedgeaccountcode": {
  17164. "description": "对冲账号",
  17165. "type": "string"
  17166. },
  17167. "hedgegoodsid": {
  17168. "description": "对冲合约ID",
  17169. "type": "integer"
  17170. },
  17171. "increaseqty": {
  17172. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17173. "type": "integer"
  17174. },
  17175. "marketid": {
  17176. "description": "市场ID",
  17177. "type": "integer"
  17178. },
  17179. "relateduserid": {
  17180. "description": "关联用户id",
  17181. "type": "integer"
  17182. },
  17183. "totalcurqty": {
  17184. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17185. "type": "integer"
  17186. },
  17187. "totalydqty": {
  17188. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17189. "type": "integer"
  17190. },
  17191. "tradedate": {
  17192. "description": "交易日(yyyyMMdd)",
  17193. "type": "string"
  17194. },
  17195. "ydbuyposition": {
  17196. "description": "期初买头寸",
  17197. "type": "integer"
  17198. },
  17199. "ydsellposition": {
  17200. "description": "期初卖头寸",
  17201. "type": "integer"
  17202. }
  17203. }
  17204. },
  17205. "models.ErmcpHedgePositionDetail": {
  17206. "type": "object",
  17207. "properties": {
  17208. "buyorsell": {
  17209. "description": "买卖方向 0-买 1-卖",
  17210. "type": "integer"
  17211. },
  17212. "channelbuildtype": {
  17213. "description": "开平方向 1-建仓 2-平仓",
  17214. "type": "integer"
  17215. },
  17216. "goodscode": {
  17217. "description": "商品代码",
  17218. "type": "string"
  17219. },
  17220. "goodsname": {
  17221. "description": "商品名称",
  17222. "type": "string"
  17223. },
  17224. "hedgegoodsid": {
  17225. "description": "商品id",
  17226. "type": "integer"
  17227. },
  17228. "tradeqty": {
  17229. "description": "数量(成交数量)",
  17230. "type": "integer"
  17231. },
  17232. "tradetime": {
  17233. "description": "时间(成交时间)",
  17234. "type": "string"
  17235. }
  17236. }
  17237. },
  17238. "models.ErmcpHisExposure": {
  17239. "type": "object",
  17240. "properties": {
  17241. "needhedgeexposoure": {
  17242. "description": "应套保敞口",
  17243. "type": "number"
  17244. },
  17245. "reckondate": {
  17246. "description": "日照时期(yyyyMMdd)",
  17247. "type": "string"
  17248. },
  17249. "totalexposure": {
  17250. "description": "总敞口",
  17251. "type": "number"
  17252. }
  17253. }
  17254. },
  17255. "models.ErmcpHisExposureS": {
  17256. "type": "object",
  17257. "properties": {
  17258. "data": {
  17259. "description": "历史敞口",
  17260. "type": "array",
  17261. "items": {
  17262. "$ref": "#/definitions/models.ErmcpHisExposure"
  17263. }
  17264. },
  17265. "enumdicname": {
  17266. "description": "单位名称",
  17267. "type": "string"
  17268. },
  17269. "middlegoodscode": {
  17270. "description": "套保品种代码",
  17271. "type": "string"
  17272. },
  17273. "middlegoodsid": {
  17274. "description": "套保品种ID",
  17275. "type": "integer"
  17276. },
  17277. "middlegoodsname": {
  17278. "description": "套保品种名称",
  17279. "type": "string"
  17280. }
  17281. }
  17282. },
  17283. "models.ErmcpLoginTaAccount": {
  17284. "type": "object",
  17285. "properties": {
  17286. "accountid": {
  17287. "description": "账号id",
  17288. "type": "integer"
  17289. },
  17290. "accountname": {
  17291. "description": "账号名称",
  17292. "type": "string"
  17293. }
  17294. }
  17295. },
  17296. "models.ErmcpLoginUser": {
  17297. "type": "object",
  17298. "properties": {
  17299. "acclist": {
  17300. "description": "关联资金账号",
  17301. "type": "array",
  17302. "items": {
  17303. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17304. }
  17305. },
  17306. "accountname": {
  17307. "description": "用户名称",
  17308. "type": "string"
  17309. },
  17310. "clientroleid": {
  17311. "description": "角色id(usertype=2)",
  17312. "type": "integer"
  17313. },
  17314. "createtime": {
  17315. "description": "创建时间",
  17316. "type": "string"
  17317. },
  17318. "logincode": {
  17319. "description": "登录代码",
  17320. "type": "string"
  17321. },
  17322. "loginid": {
  17323. "description": "登录id(LOGINID)",
  17324. "type": "integer"
  17325. },
  17326. "loginname": {
  17327. "description": "登录名称(loginaccount表中的accountname字段)",
  17328. "type": "string"
  17329. },
  17330. "loginstatus": {
  17331. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17332. "type": "integer"
  17333. },
  17334. "memberuserid": {
  17335. "description": "所属会员id",
  17336. "type": "integer"
  17337. },
  17338. "mobile": {
  17339. "description": "手机号",
  17340. "type": "string"
  17341. },
  17342. "modifytime": {
  17343. "description": "修改时间",
  17344. "type": "string"
  17345. },
  17346. "password": {
  17347. "description": "密码(不可解密)",
  17348. "type": "string"
  17349. },
  17350. "rolename": {
  17351. "description": "角色名称",
  17352. "type": "string"
  17353. },
  17354. "rolestatus": {
  17355. "description": "角色状态 1-启用 2-停用",
  17356. "type": "integer"
  17357. },
  17358. "roletype": {
  17359. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17360. "type": "string"
  17361. },
  17362. "userid": {
  17363. "description": "用户id",
  17364. "type": "integer"
  17365. },
  17366. "usertype": {
  17367. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17368. "type": "integer"
  17369. }
  17370. }
  17371. },
  17372. "models.ErmcpLoginUserEx": {
  17373. "type": "object",
  17374. "properties": {
  17375. "accountstatus": {
  17376. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17377. "type": "integer"
  17378. },
  17379. "mobile": {
  17380. "description": "手机号",
  17381. "type": "string"
  17382. },
  17383. "querytype": {
  17384. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17385. "type": "integer"
  17386. },
  17387. "roleid": {
  17388. "description": "角色id(交易账户-\u003e用户id)",
  17389. "type": "integer"
  17390. },
  17391. "rolename": {
  17392. "description": "角色名称(交易账户-\u003e用户名称)",
  17393. "type": "string"
  17394. },
  17395. "userlist": {
  17396. "description": "用户列表",
  17397. "type": "array",
  17398. "items": {
  17399. "$ref": "#/definitions/models.ErmcpLoginUser"
  17400. }
  17401. },
  17402. "usertype": {
  17403. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17404. "type": "integer"
  17405. }
  17406. }
  17407. },
  17408. "models.ErmcpMiddleGoodsChangeLog": {
  17409. "type": "object",
  17410. "properties": {
  17411. "aftervalue": {
  17412. "description": "变更后",
  17413. "type": "number"
  17414. },
  17415. "applyid": {
  17416. "description": "操作人",
  17417. "type": "integer"
  17418. },
  17419. "applyname": {
  17420. "description": "操作人名称",
  17421. "type": "string"
  17422. },
  17423. "applysrc": {
  17424. "description": "操作来源 - 1:管理端 2:终端",
  17425. "type": "integer"
  17426. },
  17427. "beforevalue": {
  17428. "description": "变更前",
  17429. "type": "number"
  17430. },
  17431. "changelogtype": {
  17432. "description": "变更流水类型 - 1:套保比率变更",
  17433. "type": "integer"
  17434. },
  17435. "handlestatus": {
  17436. "description": "处理状态",
  17437. "type": "integer"
  17438. },
  17439. "logdatetime": {
  17440. "description": "流水日期",
  17441. "type": "string"
  17442. },
  17443. "logid": {
  17444. "description": "流水ID",
  17445. "type": "integer"
  17446. },
  17447. "logremark": {
  17448. "description": "流水备注",
  17449. "type": "string"
  17450. },
  17451. "middlegoodsid": {
  17452. "description": "套保品种ID",
  17453. "type": "integer"
  17454. },
  17455. "tradedate": {
  17456. "description": "交易日(yyyyMMdd)",
  17457. "type": "string"
  17458. },
  17459. "updatetime": {
  17460. "description": "更新时间",
  17461. "type": "string"
  17462. }
  17463. }
  17464. },
  17465. "models.ErmcpMiddleGoodsDetail": {
  17466. "type": "object",
  17467. "properties": {
  17468. "cvList": {
  17469. "description": "期货品种折算列表",
  17470. "type": "array",
  17471. "items": {
  17472. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17473. }
  17474. },
  17475. "mg": {
  17476. "description": "套保品种基本信息",
  17477. "type": "object",
  17478. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17479. },
  17480. "wrcList": {
  17481. "description": "现货品种列表(现货商品折算配置)",
  17482. "type": "array",
  17483. "items": {
  17484. "$ref": "#/definitions/models.WRSConverTDetail"
  17485. }
  17486. }
  17487. }
  17488. },
  17489. "models.ErmcpMiddleGoodsModel": {
  17490. "type": "object",
  17491. "properties": {
  17492. "areauserid": {
  17493. "description": "机构用户ID",
  17494. "type": "integer"
  17495. },
  17496. "createtime": {
  17497. "description": "修改时间",
  17498. "type": "string"
  17499. },
  17500. "enumdicname": {
  17501. "description": "单位名称",
  17502. "type": "string"
  17503. },
  17504. "evaluateratio": {
  17505. "description": "估价系数",
  17506. "type": "number"
  17507. },
  17508. "goodsgroupid": {
  17509. "description": "关联期货品种ID",
  17510. "type": "integer"
  17511. },
  17512. "goodsunitid": {
  17513. "description": "单位ID",
  17514. "type": "integer"
  17515. },
  17516. "isvalid": {
  17517. "description": "状态 0-无效(停用) 1-有效(正常)",
  17518. "type": "integer"
  17519. },
  17520. "middlegoodscode": {
  17521. "description": "套保品种代码",
  17522. "type": "string"
  17523. },
  17524. "middlegoodsid": {
  17525. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17526. "type": "integer"
  17527. },
  17528. "middlegoodsname": {
  17529. "description": "套保品种名称",
  17530. "type": "string"
  17531. },
  17532. "modifytime": {
  17533. "description": "修改时间",
  17534. "type": "string"
  17535. },
  17536. "needarbitrageratio": {
  17537. "description": "套利比例",
  17538. "type": "number"
  17539. },
  17540. "needhedgeratio": {
  17541. "description": "套保比率",
  17542. "type": "number"
  17543. },
  17544. "qtydecimalplace": {
  17545. "description": "数量小数位",
  17546. "type": "integer"
  17547. },
  17548. "relatedgoodsid": {
  17549. "description": "关联交易商品ID",
  17550. "type": "integer"
  17551. },
  17552. "relatedgoodstype": {
  17553. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17554. "type": "integer"
  17555. },
  17556. "remark": {
  17557. "description": "备注",
  17558. "type": "string"
  17559. }
  17560. }
  17561. },
  17562. "models.ErmcpMiddlegoodsRelateGoods": {
  17563. "type": "object",
  17564. "properties": {
  17565. "agreeunit": {
  17566. "description": "合约乘数",
  17567. "type": "number"
  17568. },
  17569. "convertratio": {
  17570. "description": "折算系数",
  17571. "type": "number"
  17572. },
  17573. "enumdicname": {
  17574. "description": "单位名称(交易商品)",
  17575. "type": "string"
  17576. },
  17577. "goodscode": {
  17578. "description": "交易商品代码",
  17579. "type": "string"
  17580. },
  17581. "goodsgroupid": {
  17582. "description": "交易品种id",
  17583. "type": "integer"
  17584. },
  17585. "goodsid": {
  17586. "description": "商品Id",
  17587. "type": "integer"
  17588. },
  17589. "goodsname": {
  17590. "description": "交易商品名称",
  17591. "type": "string"
  17592. },
  17593. "goodunitid": {
  17594. "description": "交易商品单位id",
  17595. "type": "integer"
  17596. },
  17597. "middlegoodsid": {
  17598. "description": "套保商品id",
  17599. "type": "integer"
  17600. },
  17601. "middlegoodsname": {
  17602. "description": "套保商品名称",
  17603. "type": "string"
  17604. },
  17605. "middlegoodsswcode": {
  17606. "description": "套保商品代码",
  17607. "type": "string"
  17608. },
  17609. "needarbitrageratio": {
  17610. "description": "应套利比例",
  17611. "type": "number"
  17612. },
  17613. "needhedgeratio": {
  17614. "description": "应套保比例",
  17615. "type": "number"
  17616. }
  17617. }
  17618. },
  17619. "models.ErmcpOPLogModel": {
  17620. "type": "object",
  17621. "properties": {
  17622. "aftervalue": {
  17623. "description": "变更后",
  17624. "type": "number"
  17625. },
  17626. "applyid": {
  17627. "description": "操作人ID",
  17628. "type": "string"
  17629. },
  17630. "applyname": {
  17631. "description": "操作人名称",
  17632. "type": "string"
  17633. },
  17634. "beforevalue": {
  17635. "description": "变更前",
  17636. "type": "number"
  17637. },
  17638. "biztype": {
  17639. "description": "业务类型 - 1:套保计划 2:现货合同",
  17640. "type": "integer"
  17641. },
  17642. "contracttype": {
  17643. "description": "现货合同类型 - 1:采购 -1:销售",
  17644. "type": "integer"
  17645. },
  17646. "logvalue": {
  17647. "description": "数值",
  17648. "type": "number"
  17649. },
  17650. "operatelogtype": {
  17651. "description": "操作流水类型",
  17652. "type": "integer"
  17653. },
  17654. "operatelogtypedesc": {
  17655. "description": "操作流水类型名称",
  17656. "type": "string"
  17657. },
  17658. "relatedid": {
  17659. "description": "现货合同ID\\套保计划",
  17660. "type": "string"
  17661. },
  17662. "updatetime": {
  17663. "description": "更新时间",
  17664. "type": "string"
  17665. }
  17666. }
  17667. },
  17668. "models.ErmcpPendingAudit": {
  17669. "type": "object",
  17670. "properties": {
  17671. "areastockqty": {
  17672. "description": "待审核数量: 库存申请",
  17673. "type": "integer"
  17674. },
  17675. "businessdjqty": {
  17676. "description": "待审核数量: 点价",
  17677. "type": "integer"
  17678. },
  17679. "businessfpqty": {
  17680. "description": "待审核数量: 发票",
  17681. "type": "integer"
  17682. },
  17683. "businessjsqty": {
  17684. "description": "待审核数量: 结算",
  17685. "type": "integer"
  17686. },
  17687. "businesskxqty": {
  17688. "description": "待审核数量: 款项",
  17689. "type": "integer"
  17690. },
  17691. "hedgeplanqty": {
  17692. "description": "待审核数量: 套保计划",
  17693. "type": "integer"
  17694. },
  17695. "spotcontractqty": {
  17696. "description": "待审核数量: 现货合同",
  17697. "type": "integer"
  17698. },
  17699. "userqty": {
  17700. "description": "待审核数量: 用户",
  17701. "type": "integer"
  17702. }
  17703. }
  17704. },
  17705. "models.ErmcpRealExposureModel": {
  17706. "type": "object",
  17707. "properties": {
  17708. "AreaUserID": {
  17709. "description": "所属机构",
  17710. "type": "integer"
  17711. },
  17712. "BuyFutureQty": {
  17713. "description": "买入期货数量",
  17714. "type": "number"
  17715. },
  17716. "BuyPlanQty": {
  17717. "description": "采购计划数量",
  17718. "type": "number"
  17719. },
  17720. "BuyPricedQty": {
  17721. "description": "采购合同已定价数量",
  17722. "type": "number"
  17723. },
  17724. "MiddleGoodsCode": {
  17725. "description": "套保品种代码",
  17726. "type": "string"
  17727. },
  17728. "MiddleGoodsHedgeRatio": {
  17729. "description": "套保比例",
  17730. "type": "number"
  17731. },
  17732. "MiddleGoodsID": {
  17733. "description": "套保品种",
  17734. "type": "integer"
  17735. },
  17736. "MiddleGoodsName": {
  17737. "description": "套保品种名称",
  17738. "type": "string"
  17739. },
  17740. "NeedHedgeExposoure": {
  17741. "description": "应套保敞口(套保敞口)",
  17742. "type": "number"
  17743. },
  17744. "NeedHedgeRatio": {
  17745. "description": "应套保敞口比例",
  17746. "type": "number"
  17747. },
  17748. "OriBuyFutureQty": {
  17749. "description": "期初买入期货数量",
  17750. "type": "number"
  17751. },
  17752. "OriBuyPlanQty": {
  17753. "description": "期初采购计划数量",
  17754. "type": "number"
  17755. },
  17756. "OriBuyPricedQty": {
  17757. "description": "期初采购合同已定价数量",
  17758. "type": "number"
  17759. },
  17760. "OriSellFutureQty": {
  17761. "description": "期初卖出期货数量",
  17762. "type": "number"
  17763. },
  17764. "OriSellPlanQty": {
  17765. "description": "期初销售计划数量",
  17766. "type": "number"
  17767. },
  17768. "OriSellPricedQty": {
  17769. "description": "期初销售合同已定价数量",
  17770. "type": "number"
  17771. },
  17772. "SellFutureQty": {
  17773. "description": "卖出期货数量",
  17774. "type": "number"
  17775. },
  17776. "SellPlanQty": {
  17777. "description": "销售计划数量",
  17778. "type": "number"
  17779. },
  17780. "SellPricedQty": {
  17781. "description": "销售合同已定价数量",
  17782. "type": "number"
  17783. },
  17784. "TotalExposure": {
  17785. "description": "总敞口",
  17786. "type": "number"
  17787. },
  17788. "TotalFutureQty": {
  17789. "description": "期货总量",
  17790. "type": "number"
  17791. },
  17792. "TotalHedgeRatio": {
  17793. "description": "敞口比例",
  17794. "type": "number"
  17795. },
  17796. "TotalNeedHedgeQty": {
  17797. "description": "应套保总量(现货应套保总量)",
  17798. "type": "number"
  17799. },
  17800. "TotalSpotQty": {
  17801. "description": "现货总量",
  17802. "type": "number"
  17803. },
  17804. "arbitrageqty": {
  17805. "description": "套利量",
  17806. "type": "number"
  17807. },
  17808. "diffArbitrageQty": {
  17809. "description": "套利变动量",
  17810. "type": "number"
  17811. },
  17812. "diffExposoureQty": {
  17813. "description": "变动量(套保敞口)",
  17814. "type": "number"
  17815. },
  17816. "diffFutuQty": {
  17817. "description": "变动量(期货总量)",
  17818. "type": "number"
  17819. },
  17820. "diffHedgeQty": {
  17821. "description": "套保变动量",
  17822. "type": "number"
  17823. },
  17824. "diffQty": {
  17825. "description": "变动量(总敞口)",
  17826. "type": "number"
  17827. },
  17828. "diffSpotHedgeQty": {
  17829. "description": "变动量(现货应套保总量)",
  17830. "type": "number"
  17831. },
  17832. "diffSpotQty": {
  17833. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  17834. "type": "number"
  17835. },
  17836. "enumdicname": {
  17837. "description": "单位名称",
  17838. "type": "string"
  17839. },
  17840. "hedgeqty": {
  17841. "description": "套保量",
  17842. "type": "number"
  17843. },
  17844. "needarbitrageqty": {
  17845. "description": "应套利量",
  17846. "type": "number"
  17847. },
  17848. "needarbitrageratio": {
  17849. "description": "套利比例",
  17850. "type": "number"
  17851. },
  17852. "needhedgeqty": {
  17853. "description": "应套保量",
  17854. "type": "number"
  17855. },
  17856. "oriTotalFutuQty": {
  17857. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17858. "type": "number"
  17859. },
  17860. "oriTotalSpotQty": {
  17861. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17862. "type": "number"
  17863. },
  17864. "oriarbitrageqty": {
  17865. "description": "期初套利量",
  17866. "type": "number"
  17867. },
  17868. "orihedgeqty": {
  17869. "description": "期初套保量",
  17870. "type": "number"
  17871. },
  17872. "orineedhedgeexposoure": {
  17873. "description": "期初套保敞口",
  17874. "type": "number"
  17875. },
  17876. "oritotalexposure": {
  17877. "description": "期初总敞口",
  17878. "type": "number"
  17879. },
  17880. "oritotalfutureqty": {
  17881. "description": "期初期货总量",
  17882. "type": "number"
  17883. },
  17884. "oritotalneedhedgeqty": {
  17885. "description": "期初现货应套保量",
  17886. "type": "number"
  17887. }
  17888. }
  17889. },
  17890. "models.ErmcpRole": {
  17891. "type": "object",
  17892. "properties": {
  17893. "areauserid": {
  17894. "description": "所属机构",
  17895. "type": "integer"
  17896. },
  17897. "autoid": {
  17898. "description": "角色ID(自增ID)",
  17899. "type": "integer"
  17900. },
  17901. "modifierid": {
  17902. "description": "修改人(创建人)",
  17903. "type": "integer"
  17904. },
  17905. "modifiername": {
  17906. "description": "修改人名称",
  17907. "type": "string"
  17908. },
  17909. "modifytime": {
  17910. "description": "修改时间(创建时间)",
  17911. "type": "string"
  17912. },
  17913. "rolename": {
  17914. "description": "角色名称",
  17915. "type": "string"
  17916. },
  17917. "rolestatus": {
  17918. "description": "角色状态 - 1:启用 2:停用",
  17919. "type": "integer"
  17920. },
  17921. "roletype": {
  17922. "description": "角色类型 - 1- 管理端 2- 交易端",
  17923. "type": "integer"
  17924. }
  17925. }
  17926. },
  17927. "models.ErmcpRoleMenu": {
  17928. "type": "object",
  17929. "properties": {
  17930. "iconame": {
  17931. "description": "菜单图标",
  17932. "type": "string"
  17933. },
  17934. "ishadrole": {
  17935. "description": "是否有权限",
  17936. "type": "boolean"
  17937. },
  17938. "menutype": {
  17939. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17940. "type": "integer"
  17941. },
  17942. "parentcode": {
  17943. "description": "上级资源代码",
  17944. "type": "string"
  17945. },
  17946. "remark": {
  17947. "description": "菜单备注",
  17948. "type": "string"
  17949. },
  17950. "resourcecode": {
  17951. "description": "菜单代码",
  17952. "type": "string"
  17953. },
  17954. "resourcelevel": {
  17955. "description": "级别",
  17956. "type": "integer"
  17957. },
  17958. "resourcename": {
  17959. "description": "菜单名称",
  17960. "type": "string"
  17961. },
  17962. "roleid": {
  17963. "description": "角色id",
  17964. "type": "integer"
  17965. },
  17966. "sort": {
  17967. "description": "排序",
  17968. "type": "integer"
  17969. },
  17970. "url": {
  17971. "description": "URL",
  17972. "type": "string"
  17973. },
  17974. "userid": {
  17975. "description": "用户id",
  17976. "type": "integer"
  17977. }
  17978. }
  17979. },
  17980. "models.ErmcpRoleMenuEx": {
  17981. "type": "object",
  17982. "properties": {
  17983. "menu": {
  17984. "description": "父级菜单",
  17985. "type": "object",
  17986. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17987. },
  17988. "subMenu": {
  17989. "description": "子级菜单",
  17990. "type": "array",
  17991. "items": {
  17992. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  17993. }
  17994. }
  17995. }
  17996. },
  17997. "models.ErmcpTaAccount": {
  17998. "type": "object",
  17999. "properties": {
  18000. "accountid": {
  18001. "description": "账户id",
  18002. "type": "integer"
  18003. },
  18004. "accountname": {
  18005. "description": "账户名称",
  18006. "type": "string"
  18007. },
  18008. "currencyid": {
  18009. "description": "币种id",
  18010. "type": "integer"
  18011. },
  18012. "hedgeaccountcode": {
  18013. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18014. "type": "string"
  18015. },
  18016. "ismain": {
  18017. "description": "是否主账户 0-否 1-是",
  18018. "type": "integer"
  18019. },
  18020. "parentaccountid": {
  18021. "description": "父账户id",
  18022. "type": "integer"
  18023. },
  18024. "relateduserid": {
  18025. "description": "关联userid",
  18026. "type": "integer"
  18027. },
  18028. "tradefeetmpid": {
  18029. "description": "手续费模板id",
  18030. "type": "integer"
  18031. },
  18032. "tradefeetmpname": {
  18033. "description": "手续费模板名称",
  18034. "type": "string"
  18035. },
  18036. "trademargintmpid": {
  18037. "description": "保证金模板id",
  18038. "type": "integer"
  18039. },
  18040. "trademargintmpname": {
  18041. "description": "保证金模板名称",
  18042. "type": "string"
  18043. },
  18044. "traderatetmpid": {
  18045. "description": "汇率模板id",
  18046. "type": "integer"
  18047. },
  18048. "traderatetmpname": {
  18049. "description": "汇率模板名称",
  18050. "type": "string"
  18051. },
  18052. "tradestatus": {
  18053. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18054. "type": "integer"
  18055. },
  18056. "userid": {
  18057. "description": "用户id",
  18058. "type": "integer"
  18059. }
  18060. }
  18061. },
  18062. "models.ErmcpTaAccountEx": {
  18063. "type": "object",
  18064. "properties": {
  18065. "mainAcc": {
  18066. "description": "主账号",
  18067. "type": "object",
  18068. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18069. },
  18070. "subacclist": {
  18071. "description": "子账号列表",
  18072. "type": "array",
  18073. "items": {
  18074. "$ref": "#/definitions/models.ErmcpTaAccount"
  18075. }
  18076. }
  18077. }
  18078. },
  18079. "models.ErmcpTaAccountInfo": {
  18080. "type": "object",
  18081. "properties": {
  18082. "accountid": {
  18083. "description": "资金账户ID",
  18084. "type": "integer"
  18085. },
  18086. "accountname": {
  18087. "description": "账户名称",
  18088. "type": "string"
  18089. },
  18090. "balance": {
  18091. "description": "期初余额",
  18092. "type": "number"
  18093. },
  18094. "capitalbalance": {
  18095. "description": "本金余额[外部子账户实际出入金余额]",
  18096. "type": "number"
  18097. },
  18098. "closepl": {
  18099. "description": "今日平仓盈亏",
  18100. "type": "number"
  18101. },
  18102. "creditdecrease": {
  18103. "description": "今日授信减少",
  18104. "type": "number"
  18105. },
  18106. "creditincrease": {
  18107. "description": "今日授信增加",
  18108. "type": "number"
  18109. },
  18110. "curdebt": {
  18111. "description": "期末欠款",
  18112. "type": "number"
  18113. },
  18114. "currencyid": {
  18115. "description": "货币ID",
  18116. "type": "integer"
  18117. },
  18118. "currentbalance": {
  18119. "description": "期末余额",
  18120. "type": "number"
  18121. },
  18122. "freezecharge": {
  18123. "description": "手续费冻结",
  18124. "type": "number"
  18125. },
  18126. "freezemargin": {
  18127. "description": "冻结保证金",
  18128. "type": "number"
  18129. },
  18130. "fromaccountid": {
  18131. "description": "所属上级账户",
  18132. "type": "integer"
  18133. },
  18134. "inamount": {
  18135. "description": "今日入金金额(包括三方入金)",
  18136. "type": "number"
  18137. },
  18138. "ismain": {
  18139. "description": "是否母账号 0:不是母账户 1:是母账户",
  18140. "type": "integer"
  18141. },
  18142. "mortgagecredit": {
  18143. "description": "授信金额",
  18144. "type": "number"
  18145. },
  18146. "oridebt": {
  18147. "description": "期初欠款",
  18148. "type": "number"
  18149. },
  18150. "orifreezecharge": {
  18151. "description": "期初手续费冻结",
  18152. "type": "number"
  18153. },
  18154. "orifreezemargin": {
  18155. "description": "期初冻结保证金",
  18156. "type": "number"
  18157. },
  18158. "orimortgagecredit": {
  18159. "description": "期初授信金额",
  18160. "type": "number"
  18161. },
  18162. "oriothercredit": {
  18163. "description": "期初其它授信金额",
  18164. "type": "number"
  18165. },
  18166. "oriotherfreezemargin": {
  18167. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18168. "type": "number"
  18169. },
  18170. "orioutamountfreeze": {
  18171. "description": "期初出金冻结",
  18172. "type": "number"
  18173. },
  18174. "oriusedmargin": {
  18175. "description": "期初占用保证金",
  18176. "type": "number"
  18177. },
  18178. "othercredit": {
  18179. "description": "其它授信金额",
  18180. "type": "number"
  18181. },
  18182. "othercreditdecrease": {
  18183. "description": "今日其它授信减少",
  18184. "type": "number"
  18185. },
  18186. "othercreditincrease": {
  18187. "description": "今日其它授信增加",
  18188. "type": "number"
  18189. },
  18190. "otherfreezemargin": {
  18191. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18192. "type": "number"
  18193. },
  18194. "outamount": {
  18195. "description": "今日出金金额(包括三方出金)",
  18196. "type": "number"
  18197. },
  18198. "outamountfreeze": {
  18199. "description": "出金冻结",
  18200. "type": "number"
  18201. },
  18202. "outthreshold": {
  18203. "description": "出金阈值",
  18204. "type": "number"
  18205. },
  18206. "parentaccountid": {
  18207. "description": "所属根账号",
  18208. "type": "integer"
  18209. },
  18210. "paycharge": {
  18211. "description": "今日手续费支出",
  18212. "type": "number"
  18213. },
  18214. "relateduserid": {
  18215. "description": "关联用户",
  18216. "type": "integer"
  18217. },
  18218. "signstatus": {
  18219. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18220. "type": "integer"
  18221. },
  18222. "sublevelpath": {
  18223. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18224. "type": "string"
  18225. },
  18226. "taaccounttype": {
  18227. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18228. "type": "integer"
  18229. },
  18230. "thirdinamount": {
  18231. "description": "今日三方入金",
  18232. "type": "number"
  18233. },
  18234. "thirdoutamount": {
  18235. "description": "今日三方出金",
  18236. "type": "number"
  18237. },
  18238. "tradestatus": {
  18239. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18240. "type": "integer"
  18241. },
  18242. "transferamount": {
  18243. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18244. "type": "number"
  18245. },
  18246. "usedmargin": {
  18247. "description": "占用保证金",
  18248. "type": "number"
  18249. },
  18250. "userid": {
  18251. "description": "用户ID",
  18252. "type": "integer"
  18253. }
  18254. }
  18255. },
  18256. "models.ErmcpTaAccountM": {
  18257. "type": "object",
  18258. "properties": {
  18259. "accountid": {
  18260. "description": "账户id",
  18261. "type": "integer"
  18262. },
  18263. "accountname": {
  18264. "description": "账户名称",
  18265. "type": "string"
  18266. },
  18267. "currencyid": {
  18268. "description": "币种id",
  18269. "type": "integer"
  18270. },
  18271. "fcid": {
  18272. "description": "期货公司id",
  18273. "type": "integer"
  18274. },
  18275. "fcname": {
  18276. "description": "期货公司代码",
  18277. "type": "string"
  18278. },
  18279. "hedgeaccountcode": {
  18280. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18281. "type": "string"
  18282. },
  18283. "ismain": {
  18284. "description": "是否主账户 0-否 1-是",
  18285. "type": "integer"
  18286. },
  18287. "parentaccountid": {
  18288. "description": "父账户id",
  18289. "type": "integer"
  18290. },
  18291. "relateduserid": {
  18292. "description": "关联userid",
  18293. "type": "integer"
  18294. },
  18295. "tradefeetmpid": {
  18296. "description": "手续费模板id",
  18297. "type": "integer"
  18298. },
  18299. "tradefeetmpname": {
  18300. "description": "手续费模板名称",
  18301. "type": "string"
  18302. },
  18303. "trademargintmpid": {
  18304. "description": "保证金模板id",
  18305. "type": "integer"
  18306. },
  18307. "trademargintmpname": {
  18308. "description": "保证金模板名称",
  18309. "type": "string"
  18310. },
  18311. "traderatetmpid": {
  18312. "description": "汇率模板id",
  18313. "type": "integer"
  18314. },
  18315. "traderatetmpname": {
  18316. "description": "汇率模板名称",
  18317. "type": "string"
  18318. },
  18319. "tradestatus": {
  18320. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18321. "type": "integer"
  18322. },
  18323. "userid": {
  18324. "description": "用户id",
  18325. "type": "integer"
  18326. }
  18327. }
  18328. },
  18329. "models.ErmcpTradeConfigTMP": {
  18330. "type": "object",
  18331. "properties": {
  18332. "areauserid": {
  18333. "description": "所属机构",
  18334. "type": "integer"
  18335. },
  18336. "basiccurrencyid": {
  18337. "description": "基本币种ID[汇率] - 目标币种",
  18338. "type": "integer"
  18339. },
  18340. "mainaccountid": {
  18341. "description": "主账户ID",
  18342. "type": "integer"
  18343. },
  18344. "modifierid": {
  18345. "description": "修改人",
  18346. "type": "integer"
  18347. },
  18348. "remark": {
  18349. "description": "备注",
  18350. "type": "string"
  18351. },
  18352. "tradeconfigtmpid": {
  18353. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18354. "type": "integer"
  18355. },
  18356. "tradeconfigtmpname": {
  18357. "description": "交易配置模板名称",
  18358. "type": "string"
  18359. },
  18360. "tradeconfigtmptype": {
  18361. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18362. "type": "integer"
  18363. },
  18364. "updatetime": {
  18365. "description": "更新时间",
  18366. "type": "string"
  18367. }
  18368. }
  18369. },
  18370. "models.ErmcpUserModel": {
  18371. "type": "object",
  18372. "properties": {
  18373. "address": {
  18374. "description": "通讯地址",
  18375. "type": "string"
  18376. },
  18377. "attachment1": {
  18378. "description": "附件1",
  18379. "type": "string"
  18380. },
  18381. "audittime": {
  18382. "description": "审核时间",
  18383. "type": "string"
  18384. },
  18385. "cardbackphotourl": {
  18386. "description": "证件反面图片地址",
  18387. "type": "string"
  18388. },
  18389. "cardfrontphotourl": {
  18390. "description": "证件正面图片地址",
  18391. "type": "string"
  18392. },
  18393. "cardnum": {
  18394. "description": "证件号码",
  18395. "type": "string"
  18396. },
  18397. "cardtype": {
  18398. "description": "证件类型",
  18399. "type": "integer"
  18400. },
  18401. "cardtypename": {
  18402. "description": "证件类型名称",
  18403. "type": "string"
  18404. },
  18405. "cityid": {
  18406. "description": "市",
  18407. "type": "integer"
  18408. },
  18409. "contactname": {
  18410. "description": "联系人",
  18411. "type": "string"
  18412. },
  18413. "countryid": {
  18414. "description": "国家",
  18415. "type": "integer"
  18416. },
  18417. "createtime": {
  18418. "description": "创建时间",
  18419. "type": "string"
  18420. },
  18421. "customername": {
  18422. "description": "企业名称",
  18423. "type": "string"
  18424. },
  18425. "districtid": {
  18426. "description": "区域",
  18427. "type": "integer"
  18428. },
  18429. "email": {
  18430. "description": "邮件",
  18431. "type": "string"
  18432. },
  18433. "legalpersonname": {
  18434. "description": "法人姓名(企业)",
  18435. "type": "string"
  18436. },
  18437. "memberuserid": {
  18438. "description": "所属机构ID",
  18439. "type": "integer"
  18440. },
  18441. "mobile": {
  18442. "description": "手机号码",
  18443. "type": "string"
  18444. },
  18445. "modifytime": {
  18446. "description": "修改时间",
  18447. "type": "string"
  18448. },
  18449. "nickname": {
  18450. "description": "昵称",
  18451. "type": "string"
  18452. },
  18453. "provinceid": {
  18454. "description": "省",
  18455. "type": "integer"
  18456. },
  18457. "remark": {
  18458. "description": "备注",
  18459. "type": "string"
  18460. },
  18461. "status": {
  18462. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18463. "type": "integer"
  18464. },
  18465. "statusdesc": {
  18466. "description": "账户状态中文描述",
  18467. "type": "string"
  18468. },
  18469. "taxpayernum": {
  18470. "description": "纳税人识别号",
  18471. "type": "string"
  18472. },
  18473. "telphone": {
  18474. "description": "联系电话",
  18475. "type": "string"
  18476. },
  18477. "userid": {
  18478. "description": "用户ID",
  18479. "type": "integer"
  18480. },
  18481. "userinfotype": {
  18482. "description": "客户类型",
  18483. "type": "string"
  18484. }
  18485. }
  18486. },
  18487. "models.ErmcpWareHouseInfo": {
  18488. "type": "object",
  18489. "properties": {
  18490. "address": {
  18491. "description": "详细地址",
  18492. "type": "string"
  18493. },
  18494. "areauserid": {
  18495. "description": "所属机构",
  18496. "type": "integer"
  18497. },
  18498. "autoid": {
  18499. "description": "自增ID(仓库ID)",
  18500. "type": "integer"
  18501. },
  18502. "cityid": {
  18503. "description": "市",
  18504. "type": "integer"
  18505. },
  18506. "contactname": {
  18507. "description": "联系人",
  18508. "type": "string"
  18509. },
  18510. "contactnum": {
  18511. "description": "联系电话",
  18512. "type": "string"
  18513. },
  18514. "countryid": {
  18515. "description": "国家",
  18516. "type": "integer"
  18517. },
  18518. "createtime": {
  18519. "description": "创建时间",
  18520. "type": "string"
  18521. },
  18522. "districtid": {
  18523. "description": "区",
  18524. "type": "integer"
  18525. },
  18526. "hasvideo": {
  18527. "description": "是否有视频 - 0:无 1:有",
  18528. "type": "integer"
  18529. },
  18530. "provinceid": {
  18531. "description": "省",
  18532. "type": "integer"
  18533. },
  18534. "remark": {
  18535. "description": "审核备注",
  18536. "type": "string"
  18537. },
  18538. "videourl": {
  18539. "description": "视频地址",
  18540. "type": "string"
  18541. },
  18542. "warehousecode": {
  18543. "description": "仓库代码",
  18544. "type": "string"
  18545. },
  18546. "warehousename": {
  18547. "description": "仓库名称",
  18548. "type": "string"
  18549. },
  18550. "warehousestatus": {
  18551. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18552. "type": "integer"
  18553. },
  18554. "warehousetype": {
  18555. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18556. "type": "integer"
  18557. }
  18558. }
  18559. },
  18560. "models.Externalexchange": {
  18561. "type": "object",
  18562. "required": [
  18563. "autoid"
  18564. ],
  18565. "properties": {
  18566. "autoid": {
  18567. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18568. "type": "integer"
  18569. },
  18570. "exchangefullname": {
  18571. "description": "外部交易所全称",
  18572. "type": "string"
  18573. },
  18574. "exexchangecode": {
  18575. "description": "外部交易所代码",
  18576. "type": "string"
  18577. },
  18578. "exexchangename": {
  18579. "description": "外部交易所名称(简称)",
  18580. "type": "string"
  18581. },
  18582. "ismarketprice": {
  18583. "description": "是否支持市价 - 0:不支持 1:支持",
  18584. "type": "integer"
  18585. },
  18586. "quotegear": {
  18587. "description": "行情档位(1-10)",
  18588. "type": "integer"
  18589. },
  18590. "showbrokerflag": {
  18591. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18592. "type": "integer"
  18593. },
  18594. "updatetime": {
  18595. "description": "更新时间",
  18596. "type": "string"
  18597. }
  18598. }
  18599. },
  18600. "models.Funcmenulist": {
  18601. "type": "object",
  18602. "required": [
  18603. "resourcecode"
  18604. ],
  18605. "properties": {
  18606. "iconame": {
  18607. "description": "菜单图标",
  18608. "type": "string"
  18609. },
  18610. "menutype": {
  18611. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18612. "type": "integer"
  18613. },
  18614. "parentcode": {
  18615. "description": "上级资源代码",
  18616. "type": "string"
  18617. },
  18618. "remark": {
  18619. "description": "备注",
  18620. "type": "string"
  18621. },
  18622. "resourcecode": {
  18623. "description": "资源代码",
  18624. "type": "string"
  18625. },
  18626. "resourcelevel": {
  18627. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18628. "type": "integer"
  18629. },
  18630. "resourcename": {
  18631. "description": "资源名",
  18632. "type": "string"
  18633. },
  18634. "sort": {
  18635. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18636. "type": "integer"
  18637. },
  18638. "url": {
  18639. "description": "URL",
  18640. "type": "string"
  18641. }
  18642. }
  18643. },
  18644. "models.Goods": {
  18645. "type": "object",
  18646. "required": [
  18647. "goodscode",
  18648. "goodsid",
  18649. "goodsname",
  18650. "marketid"
  18651. ],
  18652. "properties": {
  18653. "agreeunit": {
  18654. "description": "合约单位",
  18655. "type": "number"
  18656. },
  18657. "auditaccountid": {
  18658. "description": "审核操作员账号",
  18659. "type": "integer"
  18660. },
  18661. "audittime": {
  18662. "description": "审核时间",
  18663. "type": "string"
  18664. },
  18665. "cancelaccountid": {
  18666. "description": "注销操作员账号",
  18667. "type": "integer"
  18668. },
  18669. "canceltime": {
  18670. "description": "注销时间",
  18671. "type": "string"
  18672. },
  18673. "closepricemode": {
  18674. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18675. "type": "integer"
  18676. },
  18677. "closepriceparam": {
  18678. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18679. "type": "number"
  18680. },
  18681. "createtime": {
  18682. "description": "创建时间",
  18683. "type": "string"
  18684. },
  18685. "creatorid": {
  18686. "description": "创建人",
  18687. "type": "integer"
  18688. },
  18689. "currencyid": {
  18690. "description": "报价货币ID",
  18691. "type": "integer"
  18692. },
  18693. "cutmode": {
  18694. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18695. "type": "integer"
  18696. },
  18697. "decimalplace": {
  18698. "description": "报价小数位",
  18699. "type": "integer"
  18700. },
  18701. "delistingdate": {
  18702. "description": "商品退市时间(状态:退市) -- 已作废",
  18703. "type": "string"
  18704. },
  18705. "delistingmode": {
  18706. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18707. "type": "integer"
  18708. },
  18709. "deliveryflag": {
  18710. "description": "交割标志 - 0:不可交割 1:可交割",
  18711. "type": "integer"
  18712. },
  18713. "forceclosemode": {
  18714. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18715. "type": "integer"
  18716. },
  18717. "forceclosevalue": {
  18718. "description": "定期强平参数 [收益权]",
  18719. "type": "integer"
  18720. },
  18721. "goodscode": {
  18722. "description": "商品代码(内部)",
  18723. "type": "string"
  18724. },
  18725. "goodscurrencyid": {
  18726. "description": "合约货币ID",
  18727. "type": "integer"
  18728. },
  18729. "goodsgroupid": {
  18730. "description": "所属商品组ID",
  18731. "type": "integer"
  18732. },
  18733. "goodsid": {
  18734. "description": "商品ID(自增ID SEQ_GOODS)",
  18735. "type": "integer"
  18736. },
  18737. "goodsname": {
  18738. "description": "商品名称",
  18739. "type": "string"
  18740. },
  18741. "goodsquotetype": {
  18742. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18743. "type": "integer"
  18744. },
  18745. "goodsstatus": {
  18746. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18747. "type": "integer"
  18748. },
  18749. "goodstradetype": {
  18750. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18751. "type": "integer"
  18752. },
  18753. "goodunitid": {
  18754. "description": "报价单位ID",
  18755. "type": "integer"
  18756. },
  18757. "hasquoter": {
  18758. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18759. "type": "integer"
  18760. },
  18761. "hqprotecttime": {
  18762. "description": "行情保护时间(秒)",
  18763. "type": "integer"
  18764. },
  18765. "innerdealmode": {
  18766. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18767. "type": "integer"
  18768. },
  18769. "isbuylimited": {
  18770. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18771. "type": "integer"
  18772. },
  18773. "lasttradedate": {
  18774. "description": "最后交易日期(状态:待退市)",
  18775. "type": "string"
  18776. },
  18777. "listingdate": {
  18778. "description": "交易开始日期",
  18779. "type": "string"
  18780. },
  18781. "marketid": {
  18782. "description": "所属市场ID",
  18783. "type": "integer"
  18784. },
  18785. "modifierid": {
  18786. "description": "修改人",
  18787. "type": "integer"
  18788. },
  18789. "modifystatus": {
  18790. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18791. "type": "integer"
  18792. },
  18793. "modifytime": {
  18794. "description": "修改时间",
  18795. "type": "string"
  18796. },
  18797. "outerdealmode": {
  18798. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18799. "type": "integer"
  18800. },
  18801. "outgoodscode": {
  18802. "description": "商品代码(外部)",
  18803. "type": "string"
  18804. },
  18805. "qtydecimalplace": {
  18806. "description": "成交量小数位",
  18807. "type": "integer"
  18808. },
  18809. "quotegear": {
  18810. "description": "行情档位(1-10)",
  18811. "type": "integer"
  18812. },
  18813. "quoteminunit": {
  18814. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18815. "type": "integer"
  18816. },
  18817. "quoteshowtype": {
  18818. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18819. "type": "integer"
  18820. },
  18821. "quoteshowtypeinterval": {
  18822. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18823. "type": "integer"
  18824. },
  18825. "remark": {
  18826. "description": "备注",
  18827. "type": "string"
  18828. }
  18829. }
  18830. },
  18831. "models.GoodsIDAndName": {
  18832. "type": "object",
  18833. "required": [
  18834. "goodscode",
  18835. "goodsid",
  18836. "goodsname",
  18837. "marketid"
  18838. ],
  18839. "properties": {
  18840. "goodscode": {
  18841. "description": "商品代码(内部)",
  18842. "type": "string"
  18843. },
  18844. "goodsid": {
  18845. "description": "商品ID(自增ID SEQ_GOODS)",
  18846. "type": "integer"
  18847. },
  18848. "goodsname": {
  18849. "description": "商品名称",
  18850. "type": "string"
  18851. },
  18852. "marketid": {
  18853. "description": "所属市场ID",
  18854. "type": "integer"
  18855. }
  18856. }
  18857. },
  18858. "models.Goodsgroup": {
  18859. "type": "object",
  18860. "required": [
  18861. "goodsgroupid",
  18862. "goodsgroupname",
  18863. "goodsgroupstatus",
  18864. "marketid"
  18865. ],
  18866. "properties": {
  18867. "agreeunit": {
  18868. "description": "合约单位",
  18869. "type": "number"
  18870. },
  18871. "canshort": {
  18872. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18873. "type": "integer"
  18874. },
  18875. "closepricemode": {
  18876. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18877. "type": "integer"
  18878. },
  18879. "closepriceparam": {
  18880. "description": "强平最新价浮动比例 - 方式为2时使用",
  18881. "type": "number"
  18882. },
  18883. "createtime": {
  18884. "description": "创建时间",
  18885. "type": "string"
  18886. },
  18887. "creatorid": {
  18888. "description": "创建人",
  18889. "type": "integer"
  18890. },
  18891. "currencyid": {
  18892. "description": "报价货币ID",
  18893. "type": "integer"
  18894. },
  18895. "decimalplace": {
  18896. "description": "报价小数位",
  18897. "type": "integer"
  18898. },
  18899. "exercisetype": {
  18900. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18901. "type": "integer"
  18902. },
  18903. "exexchangeid": {
  18904. "description": "外部交易所ID[通道交易]",
  18905. "type": "integer"
  18906. },
  18907. "goodsgroupid": {
  18908. "description": "商品组ID(自增ID)",
  18909. "type": "integer"
  18910. },
  18911. "goodsgroupname": {
  18912. "description": "商品组名称",
  18913. "type": "string"
  18914. },
  18915. "goodsgroupstatus": {
  18916. "description": "商品组状态 - 1:正常 2:注销",
  18917. "type": "integer"
  18918. },
  18919. "goodunitid": {
  18920. "description": "报价单位ID",
  18921. "type": "integer"
  18922. },
  18923. "innerdealmode": {
  18924. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18925. "type": "integer"
  18926. },
  18927. "isbuylimited": {
  18928. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18929. "type": "integer"
  18930. },
  18931. "marketid": {
  18932. "description": "所属市场ID",
  18933. "type": "integer"
  18934. },
  18935. "modifierid": {
  18936. "description": "修改人",
  18937. "type": "integer"
  18938. },
  18939. "modifytime": {
  18940. "description": "修改时间",
  18941. "type": "string"
  18942. },
  18943. "outerdealmode": {
  18944. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18945. "type": "integer"
  18946. },
  18947. "outergroupcode": {
  18948. "description": "外部商品组代码[通道交易]",
  18949. "type": "string"
  18950. },
  18951. "premiumdecimalplace": {
  18952. "description": "权利金小数位[场外期权]",
  18953. "type": "integer"
  18954. },
  18955. "premiumspreadalgorithm": {
  18956. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18957. "type": "integer"
  18958. },
  18959. "premiumspreadvalue": {
  18960. "description": "权利金点差值[场外期权]",
  18961. "type": "number"
  18962. },
  18963. "qtydecimalplace": {
  18964. "description": "成交量小数位",
  18965. "type": "integer"
  18966. },
  18967. "quotegear": {
  18968. "description": "行情档位(1-10)",
  18969. "type": "integer"
  18970. },
  18971. "quoteminunit": {
  18972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18973. "type": "integer"
  18974. },
  18975. "quoterid": {
  18976. "description": "报价商ID[场外期权]",
  18977. "type": "integer"
  18978. },
  18979. "quotesourcegroupid": {
  18980. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18981. "type": "integer"
  18982. },
  18983. "syncgoodsqty": {
  18984. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18985. "type": "integer"
  18986. }
  18987. }
  18988. },
  18989. "models.Goodssortbypreposition": {
  18990. "type": "object",
  18991. "required": [
  18992. "goodscode",
  18993. "tradedate"
  18994. ],
  18995. "properties": {
  18996. "goodscode": {
  18997. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18998. "type": "string"
  18999. },
  19000. "goodsgroupcode": {
  19001. "description": "品种代码",
  19002. "type": "string"
  19003. },
  19004. "prepositionqty": {
  19005. "description": "昨持仓量",
  19006. "type": "integer"
  19007. },
  19008. "sortindex": {
  19009. "description": "排序",
  19010. "type": "integer"
  19011. },
  19012. "tradedate": {
  19013. "description": "交易日",
  19014. "type": "string"
  19015. },
  19016. "updatetime": {
  19017. "description": "更新时间",
  19018. "type": "string"
  19019. }
  19020. }
  19021. },
  19022. "models.Hedgeinnerholderdetail": {
  19023. "type": "object",
  19024. "required": [
  19025. "buyorsell",
  19026. "tradeid"
  19027. ],
  19028. "properties": {
  19029. "accountid": {
  19030. "description": "账号ID",
  19031. "type": "integer"
  19032. },
  19033. "buyorsell": {
  19034. "description": "方向 - 0:买 1:卖",
  19035. "type": "integer"
  19036. },
  19037. "freezeqty": {
  19038. "description": "冻结数量 - 按单平使用",
  19039. "type": "integer"
  19040. },
  19041. "goodsid": {
  19042. "description": "商品ID",
  19043. "type": "integer"
  19044. },
  19045. "holderamount": {
  19046. "description": "持仓金额 [商品币种]",
  19047. "type": "number"
  19048. },
  19049. "holderdays": {
  19050. "description": "剩余冻结天数",
  19051. "type": "integer"
  19052. },
  19053. "holderprice": {
  19054. "description": "持仓价格",
  19055. "type": "number"
  19056. },
  19057. "holderqty": {
  19058. "description": "持仓数量",
  19059. "type": "integer"
  19060. },
  19061. "marketid": {
  19062. "description": "市场ID",
  19063. "type": "integer"
  19064. },
  19065. "openprice": {
  19066. "description": "建仓价格",
  19067. "type": "number"
  19068. },
  19069. "openqty": {
  19070. "description": "建仓数量",
  19071. "type": "integer"
  19072. },
  19073. "parentaccountid": {
  19074. "description": "所属母账户",
  19075. "type": "integer"
  19076. },
  19077. "releaseamount": {
  19078. "description": "释放持仓金额[商品币种]",
  19079. "type": "number"
  19080. },
  19081. "tradeamount": {
  19082. "description": "成交金额[账户]",
  19083. "type": "number"
  19084. },
  19085. "tradedate": {
  19086. "description": "交易日(yyyyMMdd)",
  19087. "type": "string"
  19088. },
  19089. "tradeid": {
  19090. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19091. "type": "string"
  19092. },
  19093. "tradetime": {
  19094. "description": "交易时间",
  19095. "type": "string"
  19096. }
  19097. }
  19098. },
  19099. "models.Hedgemarketopenlog": {
  19100. "type": "object",
  19101. "required": [
  19102. "accountid"
  19103. ],
  19104. "properties": {
  19105. "accountid": {
  19106. "description": "资金账号[外部母账户]",
  19107. "type": "integer"
  19108. },
  19109. "fcname": {
  19110. "description": "期货公司名称",
  19111. "type": "string"
  19112. },
  19113. "handlestatus": {
  19114. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19115. "type": "integer"
  19116. },
  19117. "marketid": {
  19118. "description": "市场ID",
  19119. "type": "integer"
  19120. },
  19121. "status": {
  19122. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19123. "type": "integer"
  19124. },
  19125. "tradedate": {
  19126. "description": "交易日(yyyyMMdd)",
  19127. "type": "string"
  19128. },
  19129. "updatetime": {
  19130. "description": "更新时间",
  19131. "type": "string"
  19132. }
  19133. }
  19134. },
  19135. "models.HsbyBuyMyPayOrder": {
  19136. "type": "object",
  19137. "required": [
  19138. "goodscode",
  19139. "goodsname",
  19140. "tradeid",
  19141. "trademode"
  19142. ],
  19143. "properties": {
  19144. "agreeunit": {
  19145. "description": "合约单位",
  19146. "type": "number"
  19147. },
  19148. "buyaccountid": {
  19149. "description": "买方账号ID[报价币种]",
  19150. "type": "integer"
  19151. },
  19152. "buyorderid": {
  19153. "description": "买方委托单号",
  19154. "type": "string"
  19155. },
  19156. "createtime": {
  19157. "description": "创建时间",
  19158. "type": "string"
  19159. },
  19160. "currencysign": {
  19161. "description": "货币符号",
  19162. "type": "string"
  19163. },
  19164. "decimalplace": {
  19165. "description": "报价小数位",
  19166. "type": "integer"
  19167. },
  19168. "goodscode": {
  19169. "description": "商品代码(内部)",
  19170. "type": "string"
  19171. },
  19172. "goodsid": {
  19173. "description": "商品ID",
  19174. "type": "integer"
  19175. },
  19176. "goodsname": {
  19177. "description": "商品名称",
  19178. "type": "string"
  19179. },
  19180. "marketid": {
  19181. "description": "市场ID",
  19182. "type": "integer"
  19183. },
  19184. "offamount": {
  19185. "description": "优惠金额",
  19186. "type": "number"
  19187. },
  19188. "originalamount": {
  19189. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19190. "type": "number"
  19191. },
  19192. "payamount": {
  19193. "description": "支付金额 = TradeAmount + TradeCharge",
  19194. "type": "number"
  19195. },
  19196. "payflag": {
  19197. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19198. "type": "integer"
  19199. },
  19200. "paylimitedtime": {
  19201. "description": "支付期限",
  19202. "type": "string"
  19203. },
  19204. "paytime": {
  19205. "description": "付款时间",
  19206. "type": "string"
  19207. },
  19208. "picurls1": {
  19209. "description": "预售商品介绍图片[多张用逗号分隔]",
  19210. "type": "string"
  19211. },
  19212. "picurls2": {
  19213. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19214. "type": "string"
  19215. },
  19216. "sellaccountid": {
  19217. "description": "卖方账号ID[报价币种]",
  19218. "type": "integer"
  19219. },
  19220. "sellorderid": {
  19221. "description": "卖方委托单号",
  19222. "type": "string"
  19223. },
  19224. "tradeamount": {
  19225. "description": "成交金额",
  19226. "type": "number"
  19227. },
  19228. "tradecharge": {
  19229. "description": "成交手续费(买方)",
  19230. "type": "number"
  19231. },
  19232. "tradedate": {
  19233. "description": "交易日(yyyyMMdd)",
  19234. "type": "string"
  19235. },
  19236. "tradeid": {
  19237. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19238. "type": "string"
  19239. },
  19240. "trademode": {
  19241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19242. "type": "integer"
  19243. },
  19244. "tradeprice": {
  19245. "description": "成交价格",
  19246. "type": "number"
  19247. },
  19248. "tradeqty": {
  19249. "description": "成交数量",
  19250. "type": "integer"
  19251. },
  19252. "vendorname1": {
  19253. "description": "预售商品供应商名称",
  19254. "type": "string"
  19255. },
  19256. "vendorname2": {
  19257. "description": "挂牌商品供应商名称",
  19258. "type": "string"
  19259. }
  19260. }
  19261. },
  19262. "models.HsbyBuyMyTradeDetail": {
  19263. "type": "object",
  19264. "required": [
  19265. "accountid",
  19266. "buyorsell",
  19267. "goodscode",
  19268. "goodsid",
  19269. "goodsname",
  19270. "marketid",
  19271. "orderid",
  19272. "qty",
  19273. "time",
  19274. "trademode"
  19275. ],
  19276. "properties": {
  19277. "accountid": {
  19278. "description": "账户ID[报价币种]",
  19279. "type": "integer"
  19280. },
  19281. "agreeunit": {
  19282. "description": "合约单位",
  19283. "type": "number"
  19284. },
  19285. "amount": {
  19286. "description": "金额 = 价格 * 数量 * 合约单位",
  19287. "type": "number"
  19288. },
  19289. "buyorsell": {
  19290. "description": "买卖 - 0:买 1:卖",
  19291. "type": "integer"
  19292. },
  19293. "currencysign": {
  19294. "description": "货币符号",
  19295. "type": "string"
  19296. },
  19297. "decimalplace": {
  19298. "description": "报价小数位",
  19299. "type": "integer"
  19300. },
  19301. "goodscode": {
  19302. "description": "商品代码(内部)",
  19303. "type": "string"
  19304. },
  19305. "goodsid": {
  19306. "description": "商品ID",
  19307. "type": "integer"
  19308. },
  19309. "goodsname": {
  19310. "description": "商品名称",
  19311. "type": "string"
  19312. },
  19313. "marketid": {
  19314. "description": "市场ID",
  19315. "type": "integer"
  19316. },
  19317. "orderamount": {
  19318. "description": "委托金额",
  19319. "type": "number"
  19320. },
  19321. "orderid": {
  19322. "description": "单号(成交单号)",
  19323. "type": "string"
  19324. },
  19325. "picurls1": {
  19326. "description": "预售商品介绍图片[多张用逗号分隔]",
  19327. "type": "string"
  19328. },
  19329. "picurls2": {
  19330. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19331. "type": "string"
  19332. },
  19333. "price": {
  19334. "description": "价格",
  19335. "type": "number"
  19336. },
  19337. "qty": {
  19338. "description": "数量",
  19339. "type": "integer"
  19340. },
  19341. "time": {
  19342. "description": "时间",
  19343. "type": "string"
  19344. },
  19345. "trademode": {
  19346. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19347. "type": "integer"
  19348. },
  19349. "vendorname1": {
  19350. "description": "预售商品供应商名称",
  19351. "type": "string"
  19352. },
  19353. "vendorname2": {
  19354. "description": "挂牌商品供应商名称",
  19355. "type": "string"
  19356. }
  19357. }
  19358. },
  19359. "models.HsbyGoodsOrderDetail": {
  19360. "type": "object",
  19361. "required": [
  19362. "buyorsell",
  19363. "orderid",
  19364. "ordertime"
  19365. ],
  19366. "properties": {
  19367. "buyorsell": {
  19368. "description": "买卖 - 0:买 1:卖",
  19369. "type": "integer"
  19370. },
  19371. "currencysign": {
  19372. "description": "货币符号",
  19373. "type": "string"
  19374. },
  19375. "customername": {
  19376. "description": "客户名称(企业名称),已脱敏",
  19377. "type": "string"
  19378. },
  19379. "enableqty": {
  19380. "description": "可用数量",
  19381. "type": "integer"
  19382. },
  19383. "goodunit": {
  19384. "description": "报价单位",
  19385. "type": "string"
  19386. },
  19387. "orderid": {
  19388. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19389. "type": "string"
  19390. },
  19391. "orderprice": {
  19392. "description": "委托价格",
  19393. "type": "number"
  19394. },
  19395. "ordertime": {
  19396. "description": "委托时间",
  19397. "type": "string"
  19398. }
  19399. }
  19400. },
  19401. "models.HsbyListingGoodsDetail": {
  19402. "type": "object",
  19403. "required": [
  19404. "goodscode",
  19405. "goodsid",
  19406. "goodsname",
  19407. "marketid",
  19408. "trademode"
  19409. ],
  19410. "properties": {
  19411. "agreeunit": {
  19412. "description": "合约单位",
  19413. "type": "number"
  19414. },
  19415. "buymaxqty": {
  19416. "description": "购买上限 [71] - 0为不限",
  19417. "type": "integer"
  19418. },
  19419. "currency": {
  19420. "description": "货币",
  19421. "type": "string"
  19422. },
  19423. "currencysign": {
  19424. "description": "货币符号",
  19425. "type": "string"
  19426. },
  19427. "decimalplace": {
  19428. "description": "报价小数位",
  19429. "type": "integer"
  19430. },
  19431. "desccityid": {
  19432. "description": "目的地(市)ID",
  19433. "type": "integer"
  19434. },
  19435. "descprovinceid": {
  19436. "description": "目的地(省)ID",
  19437. "type": "integer"
  19438. },
  19439. "goodscode": {
  19440. "description": "商品代码(内部)",
  19441. "type": "string"
  19442. },
  19443. "goodsdesc": {
  19444. "description": "商品详情",
  19445. "type": "string"
  19446. },
  19447. "goodsid": {
  19448. "description": "商品ID(自增ID SEQ_GOODS)",
  19449. "type": "integer"
  19450. },
  19451. "goodsname": {
  19452. "description": "商品名称",
  19453. "type": "string"
  19454. },
  19455. "goodsprice": {
  19456. "description": "商品价格",
  19457. "type": "number"
  19458. },
  19459. "hotindex": {
  19460. "description": "景点热度",
  19461. "type": "integer"
  19462. },
  19463. "last": {
  19464. "description": "现价",
  19465. "type": "number"
  19466. },
  19467. "limitdown": {
  19468. "description": "跌停价",
  19469. "type": "number"
  19470. },
  19471. "limitup": {
  19472. "description": "涨停价",
  19473. "type": "number"
  19474. },
  19475. "lotsize": {
  19476. "description": "手数最小变动单位",
  19477. "type": "integer"
  19478. },
  19479. "marketid": {
  19480. "description": "所属市场ID",
  19481. "type": "integer"
  19482. },
  19483. "picurls": {
  19484. "description": "介绍图片[多张用逗号分隔]",
  19485. "type": "string"
  19486. },
  19487. "quoteminunit": {
  19488. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19489. "type": "integer"
  19490. },
  19491. "stepvalue": {
  19492. "description": "价格最小变动单位",
  19493. "type": "number"
  19494. },
  19495. "trademode": {
  19496. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19497. "type": "integer"
  19498. },
  19499. "vendorattr": {
  19500. "description": "供应商附件(多张,逗号分隔)",
  19501. "type": "string"
  19502. },
  19503. "vendorname": {
  19504. "description": "供应商名称",
  19505. "type": "string"
  19506. },
  19507. "vendorphone": {
  19508. "description": "供应商客服电话",
  19509. "type": "string"
  19510. },
  19511. "videourls": {
  19512. "description": "介绍视频[多张用逗号分隔]",
  19513. "type": "string"
  19514. }
  19515. }
  19516. },
  19517. "models.HsbyMarketGoods": {
  19518. "type": "object",
  19519. "required": [
  19520. "accountid",
  19521. "buyorsell",
  19522. "goodscode",
  19523. "goodsid",
  19524. "goodsname",
  19525. "marketid",
  19526. "orderid",
  19527. "trademode"
  19528. ],
  19529. "properties": {
  19530. "accountid": {
  19531. "description": "账户ID[报价币种]",
  19532. "type": "integer"
  19533. },
  19534. "agreeunit": {
  19535. "description": "合约单位",
  19536. "type": "number"
  19537. },
  19538. "buyorsell": {
  19539. "description": "买卖 - 0:买 1:卖",
  19540. "type": "integer"
  19541. },
  19542. "categoryid": {
  19543. "description": "类别ID(WRCATEGORY)",
  19544. "type": "integer"
  19545. },
  19546. "currency": {
  19547. "description": "货币",
  19548. "type": "string"
  19549. },
  19550. "currencysign": {
  19551. "description": "货币符号",
  19552. "type": "string"
  19553. },
  19554. "customername": {
  19555. "description": "卖家名称",
  19556. "type": "string"
  19557. },
  19558. "decimalplace": {
  19559. "description": "报价小数位",
  19560. "type": "integer"
  19561. },
  19562. "goodscode": {
  19563. "description": "商品代码(内部)",
  19564. "type": "string"
  19565. },
  19566. "goodsid": {
  19567. "description": "商品ID",
  19568. "type": "integer"
  19569. },
  19570. "goodsname": {
  19571. "description": "商品名称",
  19572. "type": "string"
  19573. },
  19574. "goodsprice": {
  19575. "description": "商品价格",
  19576. "type": "number"
  19577. },
  19578. "hascoupon": {
  19579. "description": "是否可用优惠卷",
  19580. "type": "boolean"
  19581. },
  19582. "hotindex": {
  19583. "description": "景点热度",
  19584. "type": "integer"
  19585. },
  19586. "marketid": {
  19587. "description": "市场ID",
  19588. "type": "integer"
  19589. },
  19590. "orderid": {
  19591. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19592. "type": "string"
  19593. },
  19594. "orderprice": {
  19595. "description": "委托价格",
  19596. "type": "number"
  19597. },
  19598. "orderstatus": {
  19599. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19600. "type": "integer"
  19601. },
  19602. "picurls": {
  19603. "description": "介绍图片[多张用逗号分隔]",
  19604. "type": "string"
  19605. },
  19606. "quoteminunit": {
  19607. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19608. "type": "integer"
  19609. },
  19610. "sellUserID": {
  19611. "description": "卖方UserID",
  19612. "type": "integer"
  19613. },
  19614. "trademode": {
  19615. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19616. "type": "integer"
  19617. },
  19618. "videourls": {
  19619. "description": "介绍视频[多张用逗号分隔]",
  19620. "type": "string"
  19621. }
  19622. }
  19623. },
  19624. "models.HsbyMarketGoodsDetail": {
  19625. "type": "object",
  19626. "required": [
  19627. "accountid",
  19628. "buyorsell",
  19629. "goodscode",
  19630. "goodsid",
  19631. "goodsname",
  19632. "marketid",
  19633. "orderid",
  19634. "orderqty",
  19635. "trademode"
  19636. ],
  19637. "properties": {
  19638. "accountid": {
  19639. "description": "账户ID[报价币种]",
  19640. "type": "integer"
  19641. },
  19642. "agreeunit": {
  19643. "description": "合约单位",
  19644. "type": "number"
  19645. },
  19646. "buymaxqty": {
  19647. "description": "购买上限 [71] - 0为不限",
  19648. "type": "integer"
  19649. },
  19650. "buyorsell": {
  19651. "description": "买卖 - 0:买 1:卖",
  19652. "type": "integer"
  19653. },
  19654. "cancelqty": {
  19655. "description": "撤单数量",
  19656. "type": "integer"
  19657. },
  19658. "categoryid": {
  19659. "description": "类别ID(WRCATEGORY)",
  19660. "type": "integer"
  19661. },
  19662. "currency": {
  19663. "description": "货币",
  19664. "type": "string"
  19665. },
  19666. "currencysign": {
  19667. "description": "货币符号",
  19668. "type": "string"
  19669. },
  19670. "customername": {
  19671. "description": "卖家名称",
  19672. "type": "string"
  19673. },
  19674. "decimalplace": {
  19675. "description": "报价小数位",
  19676. "type": "integer"
  19677. },
  19678. "goodscode": {
  19679. "description": "商品代码(内部)",
  19680. "type": "string"
  19681. },
  19682. "goodsdesc": {
  19683. "description": "商品详情",
  19684. "type": "string"
  19685. },
  19686. "goodsid": {
  19687. "description": "商品ID",
  19688. "type": "integer"
  19689. },
  19690. "goodsname": {
  19691. "description": "商品名称",
  19692. "type": "string"
  19693. },
  19694. "goodsprice": {
  19695. "description": "商品价格",
  19696. "type": "number"
  19697. },
  19698. "hotindex": {
  19699. "description": "景点热度",
  19700. "type": "integer"
  19701. },
  19702. "lotsize": {
  19703. "description": "手数最小变动单位",
  19704. "type": "integer"
  19705. },
  19706. "marketid": {
  19707. "description": "市场ID",
  19708. "type": "integer"
  19709. },
  19710. "orderid": {
  19711. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19712. "type": "string"
  19713. },
  19714. "orderprice": {
  19715. "description": "委托价格",
  19716. "type": "number"
  19717. },
  19718. "orderqty": {
  19719. "description": "委托数量",
  19720. "type": "integer"
  19721. },
  19722. "orderstatus": {
  19723. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19724. "type": "integer"
  19725. },
  19726. "picurls": {
  19727. "description": "介绍图片[多张用逗号分隔]",
  19728. "type": "string"
  19729. },
  19730. "quoteminunit": {
  19731. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19732. "type": "integer"
  19733. },
  19734. "sellUserID": {
  19735. "description": "卖方UserID",
  19736. "type": "integer"
  19737. },
  19738. "trademode": {
  19739. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19740. "type": "integer"
  19741. },
  19742. "tradeqty": {
  19743. "description": "成交数量",
  19744. "type": "integer"
  19745. },
  19746. "vendorattr": {
  19747. "description": "供应商附件(多张,逗号分隔)",
  19748. "type": "string"
  19749. },
  19750. "vendorname": {
  19751. "description": "供应商名称",
  19752. "type": "string"
  19753. },
  19754. "vendorphone": {
  19755. "description": "供应商客服电话",
  19756. "type": "string"
  19757. },
  19758. "videourls": {
  19759. "description": "介绍视频[多张用逗号分隔]",
  19760. "type": "string"
  19761. }
  19762. }
  19763. },
  19764. "models.HsbyMarketInfo": {
  19765. "type": "object",
  19766. "required": [
  19767. "marketid",
  19768. "marketstatus",
  19769. "trademode"
  19770. ],
  19771. "properties": {
  19772. "marketid": {
  19773. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19774. "type": "integer"
  19775. },
  19776. "marketname": {
  19777. "description": "市场名称",
  19778. "type": "string"
  19779. },
  19780. "marketstatus": {
  19781. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19782. "type": "integer"
  19783. },
  19784. "trademode": {
  19785. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19786. "type": "integer"
  19787. }
  19788. }
  19789. },
  19790. "models.HsbyMyGoods": {
  19791. "type": "object",
  19792. "required": [
  19793. "accountid",
  19794. "goodscode",
  19795. "goodsid",
  19796. "goodsname",
  19797. "marketid",
  19798. "trademode"
  19799. ],
  19800. "properties": {
  19801. "accountid": {
  19802. "description": "账号Id",
  19803. "type": "integer"
  19804. },
  19805. "agreeunit": {
  19806. "description": "合约单位",
  19807. "type": "number"
  19808. },
  19809. "buyaverageprice": {
  19810. "description": "持仓均价",
  19811. "type": "number"
  19812. },
  19813. "buycurholderamount": {
  19814. "description": "买当前持仓总金额[商品币种]",
  19815. "type": "number"
  19816. },
  19817. "buycurpositionqty": {
  19818. "description": "买当前持仓总数量",
  19819. "type": "integer"
  19820. },
  19821. "buymaxqty": {
  19822. "description": "购买上限 [71] - 0为不限",
  19823. "type": "integer"
  19824. },
  19825. "currencysign": {
  19826. "description": "货币符号",
  19827. "type": "string"
  19828. },
  19829. "decimalplace": {
  19830. "description": "报价小数位",
  19831. "type": "integer"
  19832. },
  19833. "enableqty": {
  19834. "description": "可用数量",
  19835. "type": "integer"
  19836. },
  19837. "goodscode": {
  19838. "description": "商品代码(内部)",
  19839. "type": "string"
  19840. },
  19841. "goodsid": {
  19842. "description": "商品Id",
  19843. "type": "integer"
  19844. },
  19845. "goodsname": {
  19846. "description": "商品名称",
  19847. "type": "string"
  19848. },
  19849. "goodsprice": {
  19850. "description": "商品价格",
  19851. "type": "number"
  19852. },
  19853. "goodsstatus": {
  19854. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19855. "type": "integer"
  19856. },
  19857. "last": {
  19858. "description": "现价(仅使用于挂牌点选)",
  19859. "type": "number"
  19860. },
  19861. "limitdown": {
  19862. "description": "跌停价(仅使用于挂牌点选)",
  19863. "type": "number"
  19864. },
  19865. "limitup": {
  19866. "description": "涨停价(仅使用于挂牌点选)",
  19867. "type": "number"
  19868. },
  19869. "lotsize": {
  19870. "description": "手数最小变动单位",
  19871. "type": "integer"
  19872. },
  19873. "marketid": {
  19874. "description": "所属市场ID",
  19875. "type": "integer"
  19876. },
  19877. "picurls": {
  19878. "description": "介绍图片[多张用逗号分隔]",
  19879. "type": "string"
  19880. },
  19881. "quoteminunit": {
  19882. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19883. "type": "integer"
  19884. },
  19885. "stepvalue": {
  19886. "description": "价格最小变动单位",
  19887. "type": "number"
  19888. },
  19889. "trademode": {
  19890. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19891. "type": "integer"
  19892. }
  19893. }
  19894. },
  19895. "models.HsbyMyPackage": {
  19896. "type": "object",
  19897. "required": [
  19898. "goodscode",
  19899. "goodsname",
  19900. "takeorderid",
  19901. "trademode"
  19902. ],
  19903. "properties": {
  19904. "accountid": {
  19905. "description": "账户ID",
  19906. "type": "integer"
  19907. },
  19908. "address": {
  19909. "description": "提货人详细地址",
  19910. "type": "string"
  19911. },
  19912. "agreeunit": {
  19913. "description": "合约单位",
  19914. "type": "number"
  19915. },
  19916. "amount": {
  19917. "description": "提货金额",
  19918. "type": "number"
  19919. },
  19920. "auditer": {
  19921. "description": "审核人",
  19922. "type": "integer"
  19923. },
  19924. "audittime": {
  19925. "description": "审核时间",
  19926. "type": "string"
  19927. },
  19928. "averageprice": {
  19929. "description": "均价",
  19930. "type": "number"
  19931. },
  19932. "cardnum": {
  19933. "description": "提货人证件号码",
  19934. "type": "string"
  19935. },
  19936. "cardtypeid": {
  19937. "description": "提货人证件类型",
  19938. "type": "integer"
  19939. },
  19940. "checkremark": {
  19941. "description": "审核备注",
  19942. "type": "string"
  19943. },
  19944. "currencysign": {
  19945. "description": "货币符号",
  19946. "type": "string"
  19947. },
  19948. "decimalplace": {
  19949. "description": "报价小数位",
  19950. "type": "integer"
  19951. },
  19952. "goodscode": {
  19953. "description": "商品代码(内部)",
  19954. "type": "string"
  19955. },
  19956. "goodsid": {
  19957. "description": "商品ID",
  19958. "type": "integer"
  19959. },
  19960. "goodsname": {
  19961. "description": "商品名称",
  19962. "type": "string"
  19963. },
  19964. "handlestatus": {
  19965. "description": "处理状态",
  19966. "type": "integer"
  19967. },
  19968. "marketid": {
  19969. "description": "市场ID",
  19970. "type": "integer"
  19971. },
  19972. "phonenum": {
  19973. "description": "提货人联系方式",
  19974. "type": "string"
  19975. },
  19976. "picurls": {
  19977. "description": "介绍图片[多张用逗号分隔]",
  19978. "type": "string"
  19979. },
  19980. "qty": {
  19981. "description": "提货数量",
  19982. "type": "number"
  19983. },
  19984. "recivername": {
  19985. "description": "提货人姓名",
  19986. "type": "string"
  19987. },
  19988. "reqtime": {
  19989. "description": "更新时间",
  19990. "type": "string"
  19991. },
  19992. "takemode": {
  19993. "description": "提货方式 - 2:自提 3:配送",
  19994. "type": "integer"
  19995. },
  19996. "takeorderid": {
  19997. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19998. "type": "string"
  19999. },
  20000. "takeorderstatus": {
  20001. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20002. "type": "integer"
  20003. },
  20004. "takeremark": {
  20005. "description": "提货备注",
  20006. "type": "string"
  20007. },
  20008. "tradedate": {
  20009. "description": "交易日(yyyyMMdd)",
  20010. "type": "string"
  20011. },
  20012. "trademode": {
  20013. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20014. "type": "integer"
  20015. },
  20016. "userid": {
  20017. "description": "用户ID",
  20018. "type": "integer"
  20019. },
  20020. "vendorname": {
  20021. "description": "供应商名称",
  20022. "type": "string"
  20023. }
  20024. }
  20025. },
  20026. "models.HsbyPreGoods": {
  20027. "type": "object",
  20028. "required": [
  20029. "goodscode",
  20030. "goodsid",
  20031. "goodsname",
  20032. "marketid",
  20033. "trademode"
  20034. ],
  20035. "properties": {
  20036. "agreeunit": {
  20037. "description": "合约单位",
  20038. "type": "number"
  20039. },
  20040. "currency": {
  20041. "description": "货币",
  20042. "type": "string"
  20043. },
  20044. "currencysign": {
  20045. "description": "货币符号",
  20046. "type": "string"
  20047. },
  20048. "decimalplace": {
  20049. "description": "报价小数位",
  20050. "type": "integer"
  20051. },
  20052. "desccityid": {
  20053. "description": "目的地(市)",
  20054. "type": "integer"
  20055. },
  20056. "descprovinceid": {
  20057. "description": "目的地(省)",
  20058. "type": "integer"
  20059. },
  20060. "enableqty": {
  20061. "description": "剩余数量",
  20062. "type": "integer"
  20063. },
  20064. "goodscode": {
  20065. "description": "商品代码(内部)",
  20066. "type": "string"
  20067. },
  20068. "goodsid": {
  20069. "description": "商品ID(自增ID SEQ_GOODS)",
  20070. "type": "integer"
  20071. },
  20072. "goodsname": {
  20073. "description": "商品名称",
  20074. "type": "string"
  20075. },
  20076. "goodsstatus": {
  20077. "description": "商品状态- 2:未上市 3:上市",
  20078. "type": "integer"
  20079. },
  20080. "lasttradedate": {
  20081. "description": "最后交易日期(状态:待退市)",
  20082. "type": "string"
  20083. },
  20084. "listingdate": {
  20085. "description": "交易开始日期",
  20086. "type": "string"
  20087. },
  20088. "marketid": {
  20089. "description": "所属市场ID",
  20090. "type": "integer"
  20091. },
  20092. "picurls": {
  20093. "description": "介绍图片[多张用逗号分隔]",
  20094. "type": "string"
  20095. },
  20096. "presaledqty": {
  20097. "description": "已预售量(预售结束时更新)",
  20098. "type": "integer"
  20099. },
  20100. "presaleqty": {
  20101. "description": "预售数量",
  20102. "type": "integer"
  20103. },
  20104. "quoteminunit": {
  20105. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20106. "type": "integer"
  20107. },
  20108. "refprice": {
  20109. "description": "参考价格[一口价]",
  20110. "type": "number"
  20111. },
  20112. "relatedgoodsid": {
  20113. "description": "关联交易合约ID",
  20114. "type": "integer"
  20115. },
  20116. "trademode": {
  20117. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20118. "type": "integer"
  20119. },
  20120. "videourls": {
  20121. "description": "介绍视频[多张用逗号分隔]",
  20122. "type": "string"
  20123. }
  20124. }
  20125. },
  20126. "models.HsbyPreGoodsDetail": {
  20127. "type": "object",
  20128. "required": [
  20129. "goodscode",
  20130. "goodsid",
  20131. "goodsname",
  20132. "marketid",
  20133. "trademode"
  20134. ],
  20135. "properties": {
  20136. "agreeunit": {
  20137. "description": "合约单位",
  20138. "type": "number"
  20139. },
  20140. "buymaxqty": {
  20141. "description": "购买上限 [71] - 0为不限",
  20142. "type": "integer"
  20143. },
  20144. "currency": {
  20145. "description": "货币",
  20146. "type": "string"
  20147. },
  20148. "currencysign": {
  20149. "description": "货币符号",
  20150. "type": "string"
  20151. },
  20152. "customername": {
  20153. "description": "发行单位",
  20154. "type": "string"
  20155. },
  20156. "decimalplace": {
  20157. "description": "报价小数位",
  20158. "type": "integer"
  20159. },
  20160. "desccityid": {
  20161. "description": "目的地(市)ID",
  20162. "type": "integer"
  20163. },
  20164. "descprovinceid": {
  20165. "description": "目的地(省)ID",
  20166. "type": "integer"
  20167. },
  20168. "enableqty": {
  20169. "description": "剩余数量",
  20170. "type": "integer"
  20171. },
  20172. "goodscode": {
  20173. "description": "商品代码(内部)",
  20174. "type": "string"
  20175. },
  20176. "goodsdesc": {
  20177. "description": "商品详情",
  20178. "type": "string"
  20179. },
  20180. "goodsid": {
  20181. "description": "商品ID(自增ID SEQ_GOODS)",
  20182. "type": "integer"
  20183. },
  20184. "goodsname": {
  20185. "description": "商品名称",
  20186. "type": "string"
  20187. },
  20188. "goodsstatus": {
  20189. "description": "商品状态- 2:未上市 3:上市",
  20190. "type": "integer"
  20191. },
  20192. "goodunit": {
  20193. "description": "报价单位",
  20194. "type": "string"
  20195. },
  20196. "lasttradedate": {
  20197. "description": "最后交易日期(状态:待退市)",
  20198. "type": "string"
  20199. },
  20200. "listingdate": {
  20201. "description": "交易开始日期",
  20202. "type": "string"
  20203. },
  20204. "lotsize": {
  20205. "description": "手数最小变动单位",
  20206. "type": "integer"
  20207. },
  20208. "marketid": {
  20209. "description": "所属市场ID",
  20210. "type": "integer"
  20211. },
  20212. "picurls": {
  20213. "description": "介绍图片[多张用逗号分隔]",
  20214. "type": "string"
  20215. },
  20216. "presaledqty": {
  20217. "description": "已预售量(预售结束时更新)",
  20218. "type": "integer"
  20219. },
  20220. "presaleqty": {
  20221. "description": "预售数量",
  20222. "type": "integer"
  20223. },
  20224. "quoteminunit": {
  20225. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20226. "type": "integer"
  20227. },
  20228. "refprice": {
  20229. "description": "参考价格[一口价]",
  20230. "type": "number"
  20231. },
  20232. "relatedgoodsid": {
  20233. "description": "关联交易合约ID",
  20234. "type": "integer"
  20235. },
  20236. "stepvalue": {
  20237. "description": "价格最小变动单位",
  20238. "type": "number"
  20239. },
  20240. "trademode": {
  20241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20242. "type": "integer"
  20243. },
  20244. "vendorattr": {
  20245. "description": "供应商附件(多张,逗号分隔)",
  20246. "type": "string"
  20247. },
  20248. "vendorname": {
  20249. "description": "供应商名称",
  20250. "type": "string"
  20251. },
  20252. "vendorphone": {
  20253. "description": "供应商客服电话",
  20254. "type": "string"
  20255. },
  20256. "videourls": {
  20257. "description": "介绍视频[多张用逗号分隔]",
  20258. "type": "string"
  20259. }
  20260. }
  20261. },
  20262. "models.HsbySellCollectionOrder": {
  20263. "type": "object",
  20264. "required": [
  20265. "goodscode",
  20266. "goodsname",
  20267. "tradeid",
  20268. "trademode"
  20269. ],
  20270. "properties": {
  20271. "agreeunit": {
  20272. "description": "合约单位",
  20273. "type": "number"
  20274. },
  20275. "buyaccountid": {
  20276. "description": "买方账号ID[报价币种]",
  20277. "type": "integer"
  20278. },
  20279. "buyorderid": {
  20280. "description": "买方委托单号",
  20281. "type": "string"
  20282. },
  20283. "createtime": {
  20284. "description": "创建时间",
  20285. "type": "string"
  20286. },
  20287. "currencysign": {
  20288. "description": "货币符号",
  20289. "type": "string"
  20290. },
  20291. "decimalplace": {
  20292. "description": "报价小数位",
  20293. "type": "integer"
  20294. },
  20295. "goodscode": {
  20296. "description": "商品代码(内部)",
  20297. "type": "string"
  20298. },
  20299. "goodsid": {
  20300. "description": "商品ID",
  20301. "type": "integer"
  20302. },
  20303. "goodsname": {
  20304. "description": "商品名称",
  20305. "type": "string"
  20306. },
  20307. "marketid": {
  20308. "description": "市场ID",
  20309. "type": "integer"
  20310. },
  20311. "offamount": {
  20312. "description": "优惠金额",
  20313. "type": "number"
  20314. },
  20315. "payamount": {
  20316. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20317. "type": "number"
  20318. },
  20319. "payflag": {
  20320. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20321. "type": "integer"
  20322. },
  20323. "paylimitedtime": {
  20324. "description": "支付期限",
  20325. "type": "string"
  20326. },
  20327. "paytime": {
  20328. "description": "付款时间",
  20329. "type": "string"
  20330. },
  20331. "picurls": {
  20332. "description": "商品介绍图片[多张用逗号分隔]",
  20333. "type": "string"
  20334. },
  20335. "sellaccountid": {
  20336. "description": "卖方账号ID[报价币种]",
  20337. "type": "integer"
  20338. },
  20339. "sellorderid": {
  20340. "description": "卖方委托单号",
  20341. "type": "string"
  20342. },
  20343. "tradeamount": {
  20344. "description": "成交金额",
  20345. "type": "number"
  20346. },
  20347. "tradecharge": {
  20348. "description": "成交手续费(买方)",
  20349. "type": "number"
  20350. },
  20351. "tradedate": {
  20352. "description": "交易日(yyyyMMdd)",
  20353. "type": "string"
  20354. },
  20355. "tradeid": {
  20356. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20357. "type": "string"
  20358. },
  20359. "trademode": {
  20360. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20361. "type": "integer"
  20362. },
  20363. "tradeprice": {
  20364. "description": "成交价格",
  20365. "type": "number"
  20366. },
  20367. "tradeqty": {
  20368. "description": "成交数量",
  20369. "type": "integer"
  20370. }
  20371. }
  20372. },
  20373. "models.HsbySellMyDetail": {
  20374. "type": "object",
  20375. "required": [
  20376. "accountid",
  20377. "buyorsell",
  20378. "goodscode",
  20379. "goodsid",
  20380. "goodsname",
  20381. "marketid",
  20382. "orderid",
  20383. "time",
  20384. "trademode"
  20385. ],
  20386. "properties": {
  20387. "accountid": {
  20388. "description": "账户ID[报价币种]",
  20389. "type": "integer"
  20390. },
  20391. "agreeunit": {
  20392. "description": "合约单位",
  20393. "type": "number"
  20394. },
  20395. "buyorsell": {
  20396. "description": "买卖 - 0:买 1:卖",
  20397. "type": "integer"
  20398. },
  20399. "currencysign": {
  20400. "description": "货币符号",
  20401. "type": "string"
  20402. },
  20403. "decimalplace": {
  20404. "description": "报价小数位",
  20405. "type": "integer"
  20406. },
  20407. "goodscode": {
  20408. "description": "商品代码(内部)",
  20409. "type": "string"
  20410. },
  20411. "goodsid": {
  20412. "description": "商品ID",
  20413. "type": "integer"
  20414. },
  20415. "goodsname": {
  20416. "description": "商品名称",
  20417. "type": "string"
  20418. },
  20419. "marketid": {
  20420. "description": "市场ID",
  20421. "type": "integer"
  20422. },
  20423. "orderid": {
  20424. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20425. "type": "string"
  20426. },
  20427. "ordertype": {
  20428. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20429. "type": "integer"
  20430. },
  20431. "picurls": {
  20432. "description": "介绍图片[多张用逗号分隔]",
  20433. "type": "string"
  20434. },
  20435. "price": {
  20436. "description": "价格",
  20437. "type": "number"
  20438. },
  20439. "qty": {
  20440. "description": "数量",
  20441. "type": "integer"
  20442. },
  20443. "time": {
  20444. "description": "时间",
  20445. "type": "string"
  20446. },
  20447. "trademode": {
  20448. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20449. "type": "integer"
  20450. },
  20451. "vendorname": {
  20452. "description": "供应商名称",
  20453. "type": "string"
  20454. }
  20455. }
  20456. },
  20457. "models.HsbyTopGoods": {
  20458. "type": "object",
  20459. "required": [
  20460. "goodscode",
  20461. "goodsid",
  20462. "goodsname",
  20463. "marketid",
  20464. "trademode"
  20465. ],
  20466. "properties": {
  20467. "agreeunit": {
  20468. "description": "合约单位",
  20469. "type": "number"
  20470. },
  20471. "currency": {
  20472. "description": "货币",
  20473. "type": "string"
  20474. },
  20475. "currencysign": {
  20476. "description": "货币符号",
  20477. "type": "string"
  20478. },
  20479. "decimalplace": {
  20480. "description": "报价小数位",
  20481. "type": "integer"
  20482. },
  20483. "desccityid": {
  20484. "description": "目的地(市)",
  20485. "type": "integer"
  20486. },
  20487. "descprovinceid": {
  20488. "description": "目的地(省)",
  20489. "type": "integer"
  20490. },
  20491. "goodscode": {
  20492. "description": "商品代码(内部)",
  20493. "type": "string"
  20494. },
  20495. "goodsid": {
  20496. "description": "商品ID(自增ID SEQ_GOODS)",
  20497. "type": "integer"
  20498. },
  20499. "goodsname": {
  20500. "description": "商品名称",
  20501. "type": "string"
  20502. },
  20503. "hotindex": {
  20504. "description": "景点热度",
  20505. "type": "integer"
  20506. },
  20507. "last": {
  20508. "description": "现价",
  20509. "type": "number"
  20510. },
  20511. "marketid": {
  20512. "description": "所属市场ID",
  20513. "type": "integer"
  20514. },
  20515. "picurls": {
  20516. "description": "介绍图片[多张用逗号分隔]",
  20517. "type": "string"
  20518. },
  20519. "quoteminunit": {
  20520. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20521. "type": "integer"
  20522. },
  20523. "trademode": {
  20524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20525. "type": "integer"
  20526. },
  20527. "videourls": {
  20528. "description": "介绍视频[多张用逗号分隔]",
  20529. "type": "string"
  20530. }
  20531. }
  20532. },
  20533. "models.HybsMyBuyOrderDetail": {
  20534. "type": "object",
  20535. "required": [
  20536. "accountid",
  20537. "buyorsell",
  20538. "goodscode",
  20539. "goodsid",
  20540. "goodsname",
  20541. "marketid",
  20542. "orderid",
  20543. "orderqty",
  20544. "ordertime",
  20545. "trademode"
  20546. ],
  20547. "properties": {
  20548. "accountid": {
  20549. "description": "账户ID[报价币种]",
  20550. "type": "integer"
  20551. },
  20552. "agreeunit": {
  20553. "description": "合约单位",
  20554. "type": "number"
  20555. },
  20556. "buyorsell": {
  20557. "description": "买卖 - 0:买 1:卖",
  20558. "type": "integer"
  20559. },
  20560. "cancelqty": {
  20561. "description": "撤单数量",
  20562. "type": "integer"
  20563. },
  20564. "currencysign": {
  20565. "description": "货币符号",
  20566. "type": "string"
  20567. },
  20568. "decimalplace": {
  20569. "description": "报价小数位",
  20570. "type": "integer"
  20571. },
  20572. "goodscode": {
  20573. "description": "商品代码(内部)",
  20574. "type": "string"
  20575. },
  20576. "goodsid": {
  20577. "description": "商品ID",
  20578. "type": "integer"
  20579. },
  20580. "goodsname": {
  20581. "description": "商品名称",
  20582. "type": "string"
  20583. },
  20584. "listingselecttype": {
  20585. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20586. "type": "integer"
  20587. },
  20588. "marketid": {
  20589. "description": "市场ID",
  20590. "type": "integer"
  20591. },
  20592. "mybuystatus": {
  20593. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20594. "type": "integer"
  20595. },
  20596. "orderamount": {
  20597. "description": "委托金额",
  20598. "type": "number"
  20599. },
  20600. "orderid": {
  20601. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20602. "type": "string"
  20603. },
  20604. "orderprice": {
  20605. "description": "委托价格",
  20606. "type": "number"
  20607. },
  20608. "orderqty": {
  20609. "description": "委托数量",
  20610. "type": "integer"
  20611. },
  20612. "orderstatus": {
  20613. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20614. "type": "integer"
  20615. },
  20616. "ordertime": {
  20617. "description": "委托时间",
  20618. "type": "string"
  20619. },
  20620. "picurls1": {
  20621. "description": "预售商品介绍图片[多张用逗号分隔]",
  20622. "type": "string"
  20623. },
  20624. "picurls2": {
  20625. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20626. "type": "string"
  20627. },
  20628. "trademode": {
  20629. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20630. "type": "integer"
  20631. },
  20632. "tradeqty": {
  20633. "description": "成交数量",
  20634. "type": "integer"
  20635. },
  20636. "vendorname1": {
  20637. "description": "预售商品供应商名称",
  20638. "type": "string"
  20639. },
  20640. "vendorname2": {
  20641. "description": "挂牌商品供应商名称",
  20642. "type": "string"
  20643. }
  20644. }
  20645. },
  20646. "models.Loginaccount": {
  20647. "type": "object",
  20648. "required": [
  20649. "loginid"
  20650. ],
  20651. "properties": {
  20652. "canoutin": {
  20653. "description": "是否可出入金 - 0:不可 1:可",
  20654. "type": "integer"
  20655. },
  20656. "clientroleid": {
  20657. "description": "终端角色ID",
  20658. "type": "integer"
  20659. },
  20660. "haslogined": {
  20661. "description": "是否已登录 - 0:未登录 1:已登录",
  20662. "type": "integer"
  20663. },
  20664. "hasupdatedpwd": {
  20665. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20666. "type": "integer"
  20667. },
  20668. "lastloginip": {
  20669. "description": "最新登录地址",
  20670. "type": "string"
  20671. },
  20672. "lastloginmode": {
  20673. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20674. "type": "integer"
  20675. },
  20676. "lastloginremark": {
  20677. "description": "最新登录描述",
  20678. "type": "string"
  20679. },
  20680. "lastlogintime": {
  20681. "description": "最新登录时间",
  20682. "type": "string"
  20683. },
  20684. "logincode": {
  20685. "description": "登录代码",
  20686. "type": "string"
  20687. },
  20688. "loginfailnum": {
  20689. "description": "连续登录失败次数(登录成功时清零)",
  20690. "type": "integer"
  20691. },
  20692. "loginid": {
  20693. "description": "登陆账号",
  20694. "type": "integer"
  20695. },
  20696. "loginport": {
  20697. "description": "最新登录端口",
  20698. "type": "integer"
  20699. },
  20700. "loginstatus": {
  20701. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20702. "type": "integer"
  20703. },
  20704. "loginusertype": {
  20705. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20706. "type": "integer"
  20707. },
  20708. "modifierid": {
  20709. "description": "修改人",
  20710. "type": "integer"
  20711. },
  20712. "modifytime": {
  20713. "description": "修改时间",
  20714. "type": "string"
  20715. },
  20716. "pwdwrongcount": {
  20717. "description": "密码错误次数",
  20718. "type": "integer"
  20719. },
  20720. "taaccountrighttype": {
  20721. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20722. "type": "integer"
  20723. },
  20724. "unfreezetime": {
  20725. "description": "账户解冻时间",
  20726. "type": "string"
  20727. },
  20728. "userid": {
  20729. "description": "用户ID",
  20730. "type": "integer"
  20731. }
  20732. }
  20733. },
  20734. "models.MainAccountInfo": {
  20735. "type": "object",
  20736. "properties": {
  20737. "accountid": {
  20738. "description": "账号id",
  20739. "type": "integer"
  20740. },
  20741. "accountname": {
  20742. "description": "账号名称(taaccount表中的名称)",
  20743. "type": "string"
  20744. },
  20745. "appid": {
  20746. "description": "AppID",
  20747. "type": "string"
  20748. },
  20749. "authcode": {
  20750. "description": "授权码",
  20751. "type": "string"
  20752. },
  20753. "brokerid": {
  20754. "description": "经纪商id",
  20755. "type": "string"
  20756. },
  20757. "fcid": {
  20758. "description": "期货公司id",
  20759. "type": "integer"
  20760. },
  20761. "fcname": {
  20762. "description": "期货公司代码",
  20763. "type": "string"
  20764. },
  20765. "hedgeaccountcode": {
  20766. "description": "外部账号代码(主账号登录代码)",
  20767. "type": "string"
  20768. },
  20769. "hedgeaccountpwd": {
  20770. "description": "密码",
  20771. "type": "string"
  20772. },
  20773. "ismain": {
  20774. "description": "是否主账号",
  20775. "type": "integer"
  20776. },
  20777. "relateduserid": {
  20778. "description": "关联用户id",
  20779. "type": "integer"
  20780. },
  20781. "userid": {
  20782. "description": "关联用户id",
  20783. "type": "integer"
  20784. }
  20785. }
  20786. },
  20787. "models.Market": {
  20788. "type": "object",
  20789. "required": [
  20790. "marketid",
  20791. "marketstatus",
  20792. "openmethod",
  20793. "reckonpricealgorithm",
  20794. "trademode",
  20795. "tradeproperty"
  20796. ],
  20797. "properties": {
  20798. "auctionwrtype": {
  20799. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20800. "type": "integer"
  20801. },
  20802. "canacceptquote": {
  20803. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20804. "type": "integer"
  20805. },
  20806. "cangoodsexercise": {
  20807. "description": "[期权]是否可现货行权- 0:否 1:是",
  20808. "type": "integer"
  20809. },
  20810. "cangoodsexercisetype": {
  20811. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20812. "type": "integer"
  20813. },
  20814. "canmanualquotestrike": {
  20815. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20816. "type": "integer"
  20817. },
  20818. "canmutistage": {
  20819. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20820. "type": "integer"
  20821. },
  20822. "canpreexercise": {
  20823. "description": "[期权]是否可预申报- 0:否 1:是",
  20824. "type": "integer"
  20825. },
  20826. "clearinterval": {
  20827. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20828. "type": "integer"
  20829. },
  20830. "contracttmp": {
  20831. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20832. "type": "string"
  20833. },
  20834. "exchareaid": {
  20835. "description": "所属交易所,可以没有",
  20836. "type": "integer"
  20837. },
  20838. "goodstype": {
  20839. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20840. "type": "integer"
  20841. },
  20842. "hasrebate": {
  20843. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20844. "type": "integer"
  20845. },
  20846. "hastradecredit": {
  20847. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20848. "type": "integer"
  20849. },
  20850. "haswr": {
  20851. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20852. "type": "integer"
  20853. },
  20854. "isdeductmargin": {
  20855. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20856. "type": "integer"
  20857. },
  20858. "isrecordsource": {
  20859. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20860. "type": "integer"
  20861. },
  20862. "isreleasemargin": {
  20863. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20864. "type": "integer"
  20865. },
  20866. "marginformula": {
  20867. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20868. "type": "integer"
  20869. },
  20870. "marginformula2": {
  20871. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20872. "type": "integer"
  20873. },
  20874. "marketid": {
  20875. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20876. "type": "integer"
  20877. },
  20878. "marketname": {
  20879. "description": "市场名称",
  20880. "type": "string"
  20881. },
  20882. "marketserviceid": {
  20883. "description": "市场服务ID",
  20884. "type": "integer"
  20885. },
  20886. "marketstatus": {
  20887. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20888. "type": "integer"
  20889. },
  20890. "markettype": {
  20891. "description": "市场类型- 1:非交易服务 2:交易服务",
  20892. "type": "integer"
  20893. },
  20894. "matchermode": {
  20895. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20896. "type": "integer"
  20897. },
  20898. "openmethod": {
  20899. "description": "开盘模式 - 0 自动 1手动",
  20900. "type": "integer"
  20901. },
  20902. "otcuserid": {
  20903. "description": "场外期权做市商[场外期权]",
  20904. "type": "integer"
  20905. },
  20906. "outersynctime": {
  20907. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20908. "type": "string"
  20909. },
  20910. "pendingflag": {
  20911. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20912. "type": "integer"
  20913. },
  20914. "pendingtime": {
  20915. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20916. "type": "string"
  20917. },
  20918. "performancetempid": {
  20919. "description": "履约计划模板ID - 作废",
  20920. "type": "integer"
  20921. },
  20922. "premiumquotemode": {
  20923. "description": "权利金报价方式 - 1:自动 2:手动",
  20924. "type": "integer"
  20925. },
  20926. "rebateratio": {
  20927. "description": "返利比率[竞价式]",
  20928. "type": "number"
  20929. },
  20930. "reckonorder": {
  20931. "description": "结算顺序",
  20932. "type": "integer"
  20933. },
  20934. "reckonpricealgorithm": {
  20935. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20936. "type": "integer"
  20937. },
  20938. "reckonpriceparam": {
  20939. "description": "结算价参数",
  20940. "type": "integer"
  20941. },
  20942. "reckontime": {
  20943. "description": "结算时间[通道交易-对冲](HH:mm)",
  20944. "type": "string"
  20945. },
  20946. "roleprioritytype": {
  20947. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20948. "type": "integer"
  20949. },
  20950. "selllistingauditflag": {
  20951. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20952. "type": "integer"
  20953. },
  20954. "trademarkettype": {
  20955. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20956. "type": "integer"
  20957. },
  20958. "trademode": {
  20959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20960. "type": "integer"
  20961. },
  20962. "tradeproperty": {
  20963. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20964. "type": "integer"
  20965. },
  20966. "tradetype": {
  20967. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20968. "type": "integer"
  20969. }
  20970. }
  20971. },
  20972. "models.Marketrun": {
  20973. "type": "object",
  20974. "required": [
  20975. "marketid",
  20976. "nexttradedate",
  20977. "reckonflag",
  20978. "runstatus",
  20979. "tradedate",
  20980. "tradedate2"
  20981. ],
  20982. "properties": {
  20983. "afternexttradedate": {
  20984. "description": "下下交易日",
  20985. "type": "string"
  20986. },
  20987. "clearquoteflag": {
  20988. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20989. "type": "integer"
  20990. },
  20991. "lastreckondate": {
  20992. "description": "最新交易日(结算成功)",
  20993. "type": "string"
  20994. },
  20995. "machinedate": {
  20996. "description": "机器时间",
  20997. "type": "string"
  20998. },
  20999. "manualflag": {
  21000. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21001. "type": "integer"
  21002. },
  21003. "marketid": {
  21004. "description": "市场ID",
  21005. "type": "integer"
  21006. },
  21007. "nexttradedate": {
  21008. "description": "下一交易日",
  21009. "type": "string"
  21010. },
  21011. "pretradedate": {
  21012. "description": "上一交易日",
  21013. "type": "string"
  21014. },
  21015. "reckonflag": {
  21016. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21017. "type": "integer"
  21018. },
  21019. "runstatus": {
  21020. "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.今日免清算",
  21021. "type": "integer"
  21022. },
  21023. "sectionid": {
  21024. "description": "时间段号[多时段时用]",
  21025. "type": "integer"
  21026. },
  21027. "tradedate": {
  21028. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21029. "type": "string"
  21030. },
  21031. "tradedate2": {
  21032. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21033. "type": "string"
  21034. },
  21035. "updatetime": {
  21036. "description": "更新时间",
  21037. "type": "string"
  21038. }
  21039. }
  21040. },
  21041. "models.Messageboard": {
  21042. "type": "object",
  21043. "required": [
  21044. "messageboardid"
  21045. ],
  21046. "properties": {
  21047. "contactnum": {
  21048. "description": "联系电话",
  21049. "type": "string"
  21050. },
  21051. "createtime": {
  21052. "description": "创建时间",
  21053. "type": "string"
  21054. },
  21055. "message": {
  21056. "description": "留言信息",
  21057. "type": "string"
  21058. },
  21059. "messageboardid": {
  21060. "description": "留言簿ID(SEQ_MessageBoard)",
  21061. "type": "integer"
  21062. },
  21063. "userid": {
  21064. "description": "用户ID",
  21065. "type": "integer"
  21066. }
  21067. }
  21068. },
  21069. "models.MyCoupon": {
  21070. "type": "object",
  21071. "required": [
  21072. "accountid",
  21073. "coupontypeid"
  21074. ],
  21075. "properties": {
  21076. "accountid": {
  21077. "description": "资金账户ID",
  21078. "type": "integer"
  21079. },
  21080. "areauserid": {
  21081. "description": "所属机构",
  21082. "type": "integer"
  21083. },
  21084. "conditionvalue": {
  21085. "description": "条件阈值(可为0)",
  21086. "type": "number"
  21087. },
  21088. "couponcategroy": {
  21089. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21090. "type": "integer"
  21091. },
  21092. "couponname": {
  21093. "description": "优惠券名称",
  21094. "type": "string"
  21095. },
  21096. "coupontypeid": {
  21097. "description": "优惠券类型ID",
  21098. "type": "string"
  21099. },
  21100. "couponvalue": {
  21101. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21102. "type": "number"
  21103. },
  21104. "curfreezeqty": {
  21105. "description": "期末冻结数量",
  21106. "type": "integer"
  21107. },
  21108. "curqty": {
  21109. "description": "期末数量",
  21110. "type": "integer"
  21111. },
  21112. "isgeneral": {
  21113. "description": "是否通用券 - 0:否 1:是",
  21114. "type": "integer"
  21115. },
  21116. "isunusable": {
  21117. "description": "是否不可用",
  21118. "type": "boolean"
  21119. },
  21120. "limitedflag": {
  21121. "description": "是否指定商品 - 0:不限 1:限制",
  21122. "type": "integer"
  21123. },
  21124. "limitedgoodsids": {
  21125. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21126. "type": "string"
  21127. },
  21128. "orifreezeqty": {
  21129. "description": "期初冻结数量",
  21130. "type": "integer"
  21131. },
  21132. "oriqty": {
  21133. "description": "期初数量",
  21134. "type": "integer"
  21135. },
  21136. "reasontype": {
  21137. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21138. "type": "integer"
  21139. },
  21140. "todaydecrease": {
  21141. "description": "今日减少",
  21142. "type": "integer"
  21143. },
  21144. "todayincrease": {
  21145. "description": "今日增加",
  21146. "type": "integer"
  21147. },
  21148. "userid": {
  21149. "description": "用户ID",
  21150. "type": "integer"
  21151. },
  21152. "userscope": {
  21153. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21154. "type": "string"
  21155. }
  21156. }
  21157. },
  21158. "models.MyCouponHold": {
  21159. "type": "object",
  21160. "required": [
  21161. "couponholdid"
  21162. ],
  21163. "properties": {
  21164. "accountid": {
  21165. "description": "资金账户ID",
  21166. "type": "integer"
  21167. },
  21168. "conditionvalue": {
  21169. "description": "条件阈值(可为0)",
  21170. "type": "number"
  21171. },
  21172. "couponcategroy": {
  21173. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21174. "type": "integer"
  21175. },
  21176. "couponholdid": {
  21177. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21178. "type": "string"
  21179. },
  21180. "couponname": {
  21181. "description": "优惠券名称",
  21182. "type": "string"
  21183. },
  21184. "coupontypeid": {
  21185. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21186. "type": "string"
  21187. },
  21188. "couponvalue": {
  21189. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21190. "type": "number"
  21191. },
  21192. "createtime": {
  21193. "description": "创建时间",
  21194. "type": "string"
  21195. },
  21196. "enddate": {
  21197. "description": "结束日期",
  21198. "type": "string"
  21199. },
  21200. "giveapplyid": {
  21201. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21202. "type": "integer"
  21203. },
  21204. "holdstatus": {
  21205. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21206. "type": "integer"
  21207. },
  21208. "isgeneral": {
  21209. "description": "是否通用券 - 0:否 1:是",
  21210. "type": "integer"
  21211. },
  21212. "limitedflag": {
  21213. "description": "是否指定商品 - 0:不限 1:限制",
  21214. "type": "integer"
  21215. },
  21216. "limitedgoodsids": {
  21217. "description": "指定商品IDs[逗号分隔]",
  21218. "type": "string"
  21219. },
  21220. "qty": {
  21221. "description": "数量(按1平铺)",
  21222. "type": "integer"
  21223. },
  21224. "startdate": {
  21225. "description": "开始日期",
  21226. "type": "string"
  21227. },
  21228. "userid": {
  21229. "description": "用户ID",
  21230. "type": "integer"
  21231. },
  21232. "userscope": {
  21233. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21234. "type": "string"
  21235. }
  21236. }
  21237. },
  21238. "models.MyUsedCoupon": {
  21239. "type": "object",
  21240. "required": [
  21241. "coupontypeid",
  21242. "orderid"
  21243. ],
  21244. "properties": {
  21245. "accountid": {
  21246. "description": "资金账户ID(买方)",
  21247. "type": "integer"
  21248. },
  21249. "conditionvalue": {
  21250. "description": "条件阈值(可为0)",
  21251. "type": "number"
  21252. },
  21253. "couponcategroy": {
  21254. "description": "种类 - 1:现金券 2:折扣券",
  21255. "type": "integer"
  21256. },
  21257. "couponname": {
  21258. "description": "优惠券名称",
  21259. "type": "string"
  21260. },
  21261. "coupontypeid": {
  21262. "description": "优惠券类型ID(买方)",
  21263. "type": "string"
  21264. },
  21265. "couponvalue": {
  21266. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21267. "type": "number"
  21268. },
  21269. "createtime": {
  21270. "description": "创建时间",
  21271. "type": "string"
  21272. },
  21273. "goodsid": {
  21274. "description": "商品ID",
  21275. "type": "integer"
  21276. },
  21277. "handlestatus": {
  21278. "description": "处理状态",
  21279. "type": "integer"
  21280. },
  21281. "marketid": {
  21282. "description": "市场ID",
  21283. "type": "integer"
  21284. },
  21285. "offamount": {
  21286. "description": "优惠金额",
  21287. "type": "number"
  21288. },
  21289. "orderid": {
  21290. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21291. "type": "string"
  21292. },
  21293. "sellaccountid": {
  21294. "description": "资金账户ID(卖方)",
  21295. "type": "integer"
  21296. },
  21297. "tradeamount": {
  21298. "description": "成交金额",
  21299. "type": "number"
  21300. },
  21301. "tradeid": {
  21302. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21303. "type": "string"
  21304. },
  21305. "usedqty": {
  21306. "description": "使用数量",
  21307. "type": "integer"
  21308. }
  21309. }
  21310. },
  21311. "models.OperationPrimaryMenu": {
  21312. "type": "object",
  21313. "properties": {
  21314. "Children": {
  21315. "description": "二级功能菜单",
  21316. "type": "array",
  21317. "items": {
  21318. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21319. }
  21320. },
  21321. "Key": {
  21322. "description": "菜单KEY",
  21323. "type": "string"
  21324. },
  21325. "Label": {
  21326. "description": "菜单标题",
  21327. "type": "string"
  21328. }
  21329. }
  21330. },
  21331. "models.OperationSecondaryMenu": {
  21332. "type": "object",
  21333. "properties": {
  21334. "Key": {
  21335. "description": "菜单KEY",
  21336. "type": "string"
  21337. },
  21338. "Label": {
  21339. "description": "菜单标题",
  21340. "type": "string"
  21341. },
  21342. "TabList": {
  21343. "description": "三级功能菜单",
  21344. "type": "array",
  21345. "items": {
  21346. "$ref": "#/definitions/models.OperationTabMenu"
  21347. }
  21348. }
  21349. }
  21350. },
  21351. "models.OperationTabMenu": {
  21352. "type": "object",
  21353. "properties": {
  21354. "Key": {
  21355. "description": "菜单KEY",
  21356. "type": "string"
  21357. },
  21358. "Label": {
  21359. "description": "菜单标题",
  21360. "type": "string"
  21361. }
  21362. }
  21363. },
  21364. "models.PendingAuditBizModel": {
  21365. "type": "object",
  21366. "properties": {
  21367. "accountid": {
  21368. "description": "现货账户",
  21369. "type": "string"
  21370. },
  21371. "areaname": {
  21372. "description": "所属部门",
  21373. "type": "string"
  21374. },
  21375. "bizid": {
  21376. "description": "业务ID",
  21377. "type": "string"
  21378. },
  21379. "bizname": {
  21380. "description": "业务名称",
  21381. "type": "string"
  21382. },
  21383. "status": {
  21384. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21385. "type": "integer"
  21386. },
  21387. "type": {
  21388. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21389. "type": "integer"
  21390. }
  21391. }
  21392. },
  21393. "models.QhjAccountOutInApply": {
  21394. "type": "object",
  21395. "properties": {
  21396. "accountcode": {
  21397. "description": "资金账号",
  21398. "type": "string"
  21399. },
  21400. "accountname": {
  21401. "description": "用户名称(名称)",
  21402. "type": "string"
  21403. },
  21404. "accountpwd": {
  21405. "description": "资金密码",
  21406. "type": "string"
  21407. },
  21408. "accountticket": {
  21409. "description": "最新账户服务流水号",
  21410. "type": "string"
  21411. },
  21412. "amount": {
  21413. "description": "金额",
  21414. "type": "number"
  21415. },
  21416. "applyremark": {
  21417. "description": "申请备注",
  21418. "type": "string"
  21419. },
  21420. "applystatus": {
  21421. "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: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  21422. "type": "integer"
  21423. },
  21424. "auditid": {
  21425. "description": "审核人",
  21426. "type": "integer"
  21427. },
  21428. "audittime": {
  21429. "description": "审核时间",
  21430. "type": "string"
  21431. },
  21432. "bank_apply_ticket": {
  21433. "description": "银行申请流水",
  21434. "type": "string"
  21435. },
  21436. "bankaccountname": {
  21437. "description": "银行账户名",
  21438. "type": "string"
  21439. },
  21440. "bankaccountno": {
  21441. "description": "银行卡号",
  21442. "type": "string"
  21443. },
  21444. "bankid": {
  21445. "description": "银行编号",
  21446. "type": "string"
  21447. },
  21448. "bankticket": {
  21449. "description": "银行流水",
  21450. "type": "string"
  21451. },
  21452. "branchbankid": {
  21453. "description": "银行支行号",
  21454. "type": "string"
  21455. },
  21456. "branchbankname": {
  21457. "description": "银行支行名称",
  21458. "type": "string"
  21459. },
  21460. "capamountout": {
  21461. "description": "出金(劣后本金) - 外部子账户",
  21462. "type": "number"
  21463. },
  21464. "certificatephotourl": {
  21465. "description": "凭证地址",
  21466. "type": "string"
  21467. },
  21468. "charge": {
  21469. "description": "手续费",
  21470. "type": "number"
  21471. },
  21472. "checkerrorflag": {
  21473. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  21474. "type": "integer"
  21475. },
  21476. "currency": {
  21477. "description": "币种",
  21478. "type": "string"
  21479. },
  21480. "cusbankid": {
  21481. "description": "托管银行编号",
  21482. "type": "string"
  21483. },
  21484. "exchticket": {
  21485. "description": "银行服务流水号",
  21486. "type": "string"
  21487. },
  21488. "executetype": {
  21489. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  21490. "type": "integer"
  21491. },
  21492. "extendinfo": {
  21493. "description": "扩展信息",
  21494. "type": "string"
  21495. },
  21496. "extoperateid": {
  21497. "description": "交易服务流水号",
  21498. "type": "integer"
  21499. },
  21500. "infamount": {
  21501. "description": "劣后金额(自有)",
  21502. "type": "number"
  21503. },
  21504. "logincode": {
  21505. "description": "登录账号(账号)",
  21506. "type": "string"
  21507. },
  21508. "netaddr": {
  21509. "description": "调转网址",
  21510. "type": "string"
  21511. },
  21512. "priamount": {
  21513. "description": "优先金额(授信)",
  21514. "type": "number"
  21515. },
  21516. "reauditid": {
  21517. "description": "复审人",
  21518. "type": "integer"
  21519. },
  21520. "reauditremark": {
  21521. "description": "复审备注",
  21522. "type": "string"
  21523. },
  21524. "reaudittime": {
  21525. "description": "复审时间",
  21526. "type": "string"
  21527. },
  21528. "relatedorderid": {
  21529. "description": "三方关联ID",
  21530. "type": "string"
  21531. },
  21532. "remark": {
  21533. "description": "备注",
  21534. "type": "string"
  21535. },
  21536. "remark2": {
  21537. "description": "备注(失败原因)",
  21538. "type": "string"
  21539. },
  21540. "soucreamount": {
  21541. "description": "原始出入金金额",
  21542. "type": "number"
  21543. },
  21544. "soucrecurrencyid": {
  21545. "description": "原始出入金币种",
  21546. "type": "integer"
  21547. },
  21548. "tradedate": {
  21549. "description": "交易日(yyyyMMdd)",
  21550. "type": "string"
  21551. },
  21552. "updatetime": {
  21553. "description": "更新时间(申请时间)",
  21554. "type": "string"
  21555. },
  21556. "userid": {
  21557. "description": "用户id",
  21558. "type": "integer"
  21559. },
  21560. "userinfotype": {
  21561. "description": "账户类型 1-个人 2-企业",
  21562. "type": "integer"
  21563. }
  21564. }
  21565. },
  21566. "models.QhjBankAccountSign": {
  21567. "type": "object",
  21568. "properties": {
  21569. "accountcode": {
  21570. "description": "资金账号",
  21571. "type": "string"
  21572. },
  21573. "accountname": {
  21574. "description": "资金账号对应的账号名(UserName)",
  21575. "type": "string"
  21576. },
  21577. "accounttype": {
  21578. "description": "账户类型(UserType)",
  21579. "type": "integer"
  21580. },
  21581. "applicationtime": {
  21582. "description": "最后一次更新的时间",
  21583. "type": "string"
  21584. },
  21585. "applyexchticket": {
  21586. "description": "申请流水",
  21587. "type": "string"
  21588. },
  21589. "auditid": {
  21590. "description": "审核人",
  21591. "type": "integer"
  21592. },
  21593. "audittime": {
  21594. "description": "审核时间",
  21595. "type": "string"
  21596. },
  21597. "bankaccountname": {
  21598. "description": "签约银行卡账号名",
  21599. "type": "string"
  21600. },
  21601. "bankaccountno": {
  21602. "description": "银行卡号",
  21603. "type": "string"
  21604. },
  21605. "bankaccounttype": {
  21606. "description": "银行账户类型 - 1-对私; 2-对公",
  21607. "type": "integer"
  21608. },
  21609. "bankcardtype": {
  21610. "description": "银行卡类型",
  21611. "type": "integer"
  21612. },
  21613. "bankchildaccount": {
  21614. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  21615. "type": "string"
  21616. },
  21617. "bankcity": {
  21618. "description": "开户行城市",
  21619. "type": "string"
  21620. },
  21621. "bankid": {
  21622. "description": "签约银行ID",
  21623. "type": "string"
  21624. },
  21625. "bankprovince": {
  21626. "description": "开户行省份",
  21627. "type": "string"
  21628. },
  21629. "branchbankid": {
  21630. "description": "签约银行支行号",
  21631. "type": "string"
  21632. },
  21633. "branchbankname": {
  21634. "description": "签约银行支行名称",
  21635. "type": "string"
  21636. },
  21637. "cardno": {
  21638. "description": "证件号码",
  21639. "type": "string"
  21640. },
  21641. "cardtype": {
  21642. "description": "证件类型",
  21643. "type": "string"
  21644. },
  21645. "currency": {
  21646. "description": "币种",
  21647. "type": "string"
  21648. },
  21649. "cusbankid": {
  21650. "description": "托管银行编号",
  21651. "type": "string"
  21652. },
  21653. "direct": {
  21654. "description": "方向(可以判断那方先发起的签约)",
  21655. "type": "integer"
  21656. },
  21657. "exchticket": {
  21658. "description": "最后一次签约成功的流水号",
  21659. "type": "string"
  21660. },
  21661. "extendinfo": {
  21662. "description": "扩展信息(JSON字符串)",
  21663. "type": "string"
  21664. },
  21665. "mobilephone": {
  21666. "description": "手机号",
  21667. "type": "string"
  21668. },
  21669. "netaddr": {
  21670. "description": "调转网址",
  21671. "type": "string"
  21672. },
  21673. "relateduserid": {
  21674. "description": "关联使用者userid",
  21675. "type": "integer"
  21676. },
  21677. "signstatus": {
  21678. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  21679. "type": "integer"
  21680. },
  21681. "updatetime": {
  21682. "description": "更新时间(签解约更新时间)",
  21683. "type": "string"
  21684. }
  21685. }
  21686. },
  21687. "models.QhjBankInfo": {
  21688. "type": "object",
  21689. "properties": {
  21690. "bankid": {
  21691. "description": "银行ID",
  21692. "type": "string"
  21693. },
  21694. "bankname": {
  21695. "description": "银行名称",
  21696. "type": "string"
  21697. },
  21698. "clearbankno": {
  21699. "description": "清算系统银行编号",
  21700. "type": "string"
  21701. },
  21702. "orderindex": {
  21703. "description": "排序顺序",
  21704. "type": "integer"
  21705. },
  21706. "status": {
  21707. "description": "状态 - 0:正常 1:注销",
  21708. "type": "integer"
  21709. }
  21710. }
  21711. },
  21712. "models.QhjContract": {
  21713. "type": "object",
  21714. "properties": {
  21715. "contractconfirmtime": {
  21716. "description": "合同确认时间(时间)",
  21717. "type": "string"
  21718. },
  21719. "enumdicname": {
  21720. "description": "单位名称",
  21721. "type": "string"
  21722. },
  21723. "goodscode": {
  21724. "description": "商品代码",
  21725. "type": "string"
  21726. },
  21727. "goodsid": {
  21728. "description": "商品ID [5:融资单]",
  21729. "type": "integer"
  21730. },
  21731. "goodsname": {
  21732. "description": "商品名称",
  21733. "type": "string"
  21734. },
  21735. "goodunitid": {
  21736. "description": "商品单位id",
  21737. "type": "integer"
  21738. },
  21739. "initmargin": {
  21740. "description": "初始保证金(首付款)",
  21741. "type": "number"
  21742. },
  21743. "lenderamount": {
  21744. "description": "贷款金额(总额|订单总额)",
  21745. "type": "number"
  21746. },
  21747. "marginratio": {
  21748. "description": "保证金比率(首付比例)",
  21749. "type": "number"
  21750. },
  21751. "payamount": {
  21752. "description": "已付(已付货款)",
  21753. "type": "number"
  21754. },
  21755. "recoveredmargin": {
  21756. "description": "已追缴保证金",
  21757. "type": "number"
  21758. },
  21759. "remainamount": {
  21760. "description": "合同剩余金额(融资额)",
  21761. "type": "number"
  21762. },
  21763. "scfcontractid": {
  21764. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21765. "type": "integer"
  21766. },
  21767. "scfcontracttype": {
  21768. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  21769. "type": "integer"
  21770. },
  21771. "totalinterest": {
  21772. "description": "已计总利息(利息)",
  21773. "type": "number"
  21774. },
  21775. "tradeprice": {
  21776. "description": "成交价格(成本价格)",
  21777. "type": "number"
  21778. },
  21779. "userid": {
  21780. "description": "用户ID",
  21781. "type": "integer"
  21782. },
  21783. "username": {
  21784. "description": "用户名称",
  21785. "type": "string"
  21786. },
  21787. "wrqty": {
  21788. "description": "仓单数量(数量)",
  21789. "type": "integer"
  21790. }
  21791. }
  21792. },
  21793. "models.QhjContractLog": {
  21794. "type": "object",
  21795. "properties": {
  21796. "amount": {
  21797. "description": "支付金额",
  21798. "type": "number"
  21799. },
  21800. "amounttype": {
  21801. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  21802. "type": "integer"
  21803. },
  21804. "logid": {
  21805. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21806. "type": "string"
  21807. },
  21808. "remainamount": {
  21809. "description": "剩余货款",
  21810. "type": "number"
  21811. },
  21812. "scfcontractid": {
  21813. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21814. "type": "integer"
  21815. },
  21816. "updatetime": {
  21817. "description": "更新时间",
  21818. "type": "string"
  21819. }
  21820. }
  21821. },
  21822. "models.QhjCusBankSignBankEx": {
  21823. "type": "object",
  21824. "properties": {
  21825. "banklst": {
  21826. "description": "银行列表",
  21827. "type": "array",
  21828. "items": {
  21829. "$ref": "#/definitions/models.QhjBankInfo"
  21830. }
  21831. },
  21832. "canallot": {
  21833. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  21834. "type": "integer"
  21835. },
  21836. "canallotquery": {
  21837. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  21838. "type": "integer"
  21839. },
  21840. "canbindcard": {
  21841. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  21842. "type": "integer"
  21843. },
  21844. "caninamount": {
  21845. "description": "是否可入金 - 0:不可 1:可以",
  21846. "type": "integer"
  21847. },
  21848. "caninamount2": {
  21849. "description": "是否可入金(网银端) - 0:不可 1:可以",
  21850. "type": "integer"
  21851. },
  21852. "canmodifybankcard": {
  21853. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  21854. "type": "integer"
  21855. },
  21856. "canmodifyphone": {
  21857. "description": "是否可修改手机号 - 0:不可 1:可以",
  21858. "type": "integer"
  21859. },
  21860. "canmodifysigninfo": {
  21861. "description": "是否可修改签约信息 - 0:不可 1:可以",
  21862. "type": "integer"
  21863. },
  21864. "canoutamount": {
  21865. "description": "是否可出金 - 0:不可 1:可以",
  21866. "type": "integer"
  21867. },
  21868. "canoutamount2": {
  21869. "description": "是否可出金(网银端) - 0:不可 1:可以",
  21870. "type": "integer"
  21871. },
  21872. "canrelease": {
  21873. "description": "是否可解约 - 0:不可 1:可以",
  21874. "type": "integer"
  21875. },
  21876. "canrelease2": {
  21877. "description": "是否可解约(网银端) - 0:不可 1:可以",
  21878. "type": "integer"
  21879. },
  21880. "cansign": {
  21881. "description": "是否可签约 - 0:不可 1:可以",
  21882. "type": "integer"
  21883. },
  21884. "cansign2": {
  21885. "description": "是否可签约(网银端) - 0:不可 1:可以",
  21886. "type": "integer"
  21887. },
  21888. "currency": {
  21889. "description": "币种",
  21890. "type": "string"
  21891. },
  21892. "cusbankid": {
  21893. "description": "托管银行编号(对应清算中心TRAN_NO)",
  21894. "type": "string"
  21895. },
  21896. "cusbankname": {
  21897. "description": "银行业务名称",
  21898. "type": "string"
  21899. },
  21900. "cusbankshortname": {
  21901. "description": "银行业务简称",
  21902. "type": "string"
  21903. },
  21904. "exchbankid": {
  21905. "description": "交易所开户银行ID",
  21906. "type": "string"
  21907. },
  21908. "exchpaybankaccname": {
  21909. "description": "交易所支出结算账户户名",
  21910. "type": "string"
  21911. },
  21912. "exchpaybankaccno": {
  21913. "description": "交易所支出结算账户",
  21914. "type": "string"
  21915. },
  21916. "isneedcheck": {
  21917. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  21918. "type": "integer"
  21919. },
  21920. "isneedclear": {
  21921. "description": "是否需要清算 - 0:不需要 1:需要",
  21922. "type": "integer"
  21923. },
  21924. "riskinfo": {
  21925. "description": "签约风险提示书",
  21926. "type": "string"
  21927. }
  21928. }
  21929. },
  21930. "models.QhjCustomer": {
  21931. "type": "object",
  21932. "properties": {
  21933. "address": {
  21934. "description": "通讯地址",
  21935. "type": "string"
  21936. },
  21937. "attachment1": {
  21938. "description": "附件1",
  21939. "type": "string"
  21940. },
  21941. "audittime": {
  21942. "description": "审核时间",
  21943. "type": "string"
  21944. },
  21945. "cardbackphotourl": {
  21946. "description": "证件反面图片地址",
  21947. "type": "string"
  21948. },
  21949. "cardfrontphotourl": {
  21950. "description": "证件正面图片地址",
  21951. "type": "string"
  21952. },
  21953. "cardnum": {
  21954. "description": "证件号码",
  21955. "type": "string"
  21956. },
  21957. "cardtype": {
  21958. "description": "证件类型",
  21959. "type": "integer"
  21960. },
  21961. "cardtypename": {
  21962. "description": "证件类型名称",
  21963. "type": "string"
  21964. },
  21965. "cityid": {
  21966. "description": "市",
  21967. "type": "integer"
  21968. },
  21969. "cityname": {
  21970. "description": "城市名称",
  21971. "type": "string"
  21972. },
  21973. "contactname": {
  21974. "description": "联系人",
  21975. "type": "string"
  21976. },
  21977. "countryid": {
  21978. "description": "国家",
  21979. "type": "integer"
  21980. },
  21981. "countryname": {
  21982. "description": "国家名称",
  21983. "type": "string"
  21984. },
  21985. "createtime": {
  21986. "description": "创建时间",
  21987. "type": "string"
  21988. },
  21989. "customername": {
  21990. "description": "客户名称",
  21991. "type": "string"
  21992. },
  21993. "districtid": {
  21994. "description": "区域",
  21995. "type": "integer"
  21996. },
  21997. "districtname": {
  21998. "description": "地区名称",
  21999. "type": "string"
  22000. },
  22001. "email": {
  22002. "description": "邮件",
  22003. "type": "string"
  22004. },
  22005. "legalpersonname": {
  22006. "description": "法人姓名(企业)",
  22007. "type": "string"
  22008. },
  22009. "memberuserid": {
  22010. "description": "所属机构ID(所属会员)",
  22011. "type": "integer"
  22012. },
  22013. "memberusername": {
  22014. "description": "所属会员名称",
  22015. "type": "string"
  22016. },
  22017. "mobile": {
  22018. "description": "手机号码",
  22019. "type": "string"
  22020. },
  22021. "modifytime": {
  22022. "description": "修改时间",
  22023. "type": "string"
  22024. },
  22025. "nickname": {
  22026. "description": "昵称",
  22027. "type": "string"
  22028. },
  22029. "parentuserid": {
  22030. "description": "上级机构(所属机构)",
  22031. "type": "integer"
  22032. },
  22033. "parentusername": {
  22034. "description": "所属机构名称",
  22035. "type": "string"
  22036. },
  22037. "provinceid": {
  22038. "description": "省",
  22039. "type": "integer"
  22040. },
  22041. "provincename": {
  22042. "description": "省名称",
  22043. "type": "string"
  22044. },
  22045. "remark": {
  22046. "description": "备注",
  22047. "type": "string"
  22048. },
  22049. "status": {
  22050. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22051. "type": "integer"
  22052. },
  22053. "statusdesc": {
  22054. "description": "账户状态中文描述",
  22055. "type": "string"
  22056. },
  22057. "taxpayernum": {
  22058. "description": "纳税人识别号",
  22059. "type": "string"
  22060. },
  22061. "telphone": {
  22062. "description": "联系电话",
  22063. "type": "string"
  22064. },
  22065. "userid": {
  22066. "description": "用户ID",
  22067. "type": "integer"
  22068. },
  22069. "userinfotype": {
  22070. "description": "客户类型 1-个人 2-企业",
  22071. "type": "integer"
  22072. },
  22073. "username": {
  22074. "description": "用户名称",
  22075. "type": "string"
  22076. }
  22077. }
  22078. },
  22079. "models.QhjPayOrder": {
  22080. "type": "object",
  22081. "properties": {
  22082. "buyaccountid": {
  22083. "description": "买方账号ID[报价币种]",
  22084. "type": "integer"
  22085. },
  22086. "buyorderid": {
  22087. "description": "买方委托单号",
  22088. "type": "integer"
  22089. },
  22090. "createtime": {
  22091. "description": "创建时间",
  22092. "type": "string"
  22093. },
  22094. "goodscode": {
  22095. "description": "商品代码",
  22096. "type": "string"
  22097. },
  22098. "goodsid": {
  22099. "description": "商品ID",
  22100. "type": "integer"
  22101. },
  22102. "goodsname": {
  22103. "description": "商品名称",
  22104. "type": "string"
  22105. },
  22106. "marketid": {
  22107. "description": "市场ID",
  22108. "type": "integer"
  22109. },
  22110. "offamount": {
  22111. "description": "优惠金额",
  22112. "type": "number"
  22113. },
  22114. "operatetype": {
  22115. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  22116. "type": "integer"
  22117. },
  22118. "payamount": {
  22119. "description": "支付金额=TradeAmount + TradeCharge",
  22120. "type": "number"
  22121. },
  22122. "payflag": {
  22123. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22124. "type": "integer"
  22125. },
  22126. "paylimitedtime": {
  22127. "description": "支付期限",
  22128. "type": "string"
  22129. },
  22130. "paytime": {
  22131. "description": "付款时间",
  22132. "type": "string"
  22133. },
  22134. "sellaccountid": {
  22135. "description": "卖方账号ID[报价币种]",
  22136. "type": "integer"
  22137. },
  22138. "sellorderid": {
  22139. "description": "卖方委托单号",
  22140. "type": "integer"
  22141. },
  22142. "tradeamount": {
  22143. "description": "成交金额(优惠后金额)",
  22144. "type": "number"
  22145. },
  22146. "tradecharge": {
  22147. "description": "成交手续费(买方)",
  22148. "type": "number"
  22149. },
  22150. "tradedate": {
  22151. "description": "交易日(yyyyMMdd)",
  22152. "type": "string"
  22153. },
  22154. "tradeid": {
  22155. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22156. "type": "integer"
  22157. },
  22158. "tradeprice": {
  22159. "description": "成交价格",
  22160. "type": "number"
  22161. },
  22162. "tradeqty": {
  22163. "description": "成交数量",
  22164. "type": "integer"
  22165. }
  22166. }
  22167. },
  22168. "models.QhjPickArea": {
  22169. "type": "object",
  22170. "properties": {
  22171. "cityid": {
  22172. "description": "市",
  22173. "type": "integer"
  22174. },
  22175. "cityname": {
  22176. "description": "城市名称",
  22177. "type": "string"
  22178. },
  22179. "countryid": {
  22180. "description": "国家",
  22181. "type": "integer"
  22182. },
  22183. "countryname": {
  22184. "description": "国家名称",
  22185. "type": "string"
  22186. },
  22187. "districtid": {
  22188. "description": "地区",
  22189. "type": "integer"
  22190. },
  22191. "districtname": {
  22192. "description": "地区名称",
  22193. "type": "string"
  22194. },
  22195. "fromuserid": {
  22196. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22197. "type": "integer"
  22198. },
  22199. "fromusername": {
  22200. "description": "所属机构名称",
  22201. "type": "string"
  22202. },
  22203. "provinceid": {
  22204. "description": "省",
  22205. "type": "integer"
  22206. },
  22207. "provincename": {
  22208. "description": "省名称",
  22209. "type": "string"
  22210. },
  22211. "suborgtype": {
  22212. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22213. "type": "integer"
  22214. },
  22215. "userid": {
  22216. "description": "机构用户ID 其他做市关系,都设置为 1",
  22217. "type": "integer"
  22218. },
  22219. "username": {
  22220. "description": "机构用户名称(门店门称)",
  22221. "type": "string"
  22222. }
  22223. }
  22224. },
  22225. "models.QhjPickGoods": {
  22226. "type": "object",
  22227. "properties": {
  22228. "imageaddress": {
  22229. "description": "图片",
  22230. "type": "string"
  22231. },
  22232. "modifierid": {
  22233. "description": "修改人",
  22234. "type": "integer"
  22235. },
  22236. "modifiername": {
  22237. "description": "修改人名称",
  22238. "type": "string"
  22239. },
  22240. "modifysrc": {
  22241. "description": "修改来源 - 1:管理端 2:终端",
  22242. "type": "integer"
  22243. },
  22244. "pickupgoodsagreeunit": {
  22245. "description": "合约乘数",
  22246. "type": "number"
  22247. },
  22248. "pickupgoodsdesc": {
  22249. "description": "描述",
  22250. "type": "string"
  22251. },
  22252. "pickupgoodsid": {
  22253. "description": "提货商品ID",
  22254. "type": "string"
  22255. },
  22256. "pickupgoodsname": {
  22257. "description": "提货商品名称",
  22258. "type": "string"
  22259. },
  22260. "pickupgoodsstatus": {
  22261. "description": "状态 - 1:正常 2:停用 3:注销",
  22262. "type": "integer"
  22263. },
  22264. "pickupgoodsunitid": {
  22265. "description": "单位ID",
  22266. "type": "integer"
  22267. },
  22268. "preparedays": {
  22269. "description": "备货期(天)",
  22270. "type": "integer"
  22271. },
  22272. "remark": {
  22273. "description": "备注",
  22274. "type": "string"
  22275. },
  22276. "updatetime": {
  22277. "description": "更新时间",
  22278. "type": "string"
  22279. }
  22280. }
  22281. },
  22282. "models.QhjRSTriggerLog": {
  22283. "type": "object",
  22284. "properties": {
  22285. "accountid": {
  22286. "description": "用户资金账户",
  22287. "type": "integer"
  22288. },
  22289. "accountname": {
  22290. "description": "账号名称(ACCOUNTID对应的名称)",
  22291. "type": "string"
  22292. },
  22293. "currencyid": {
  22294. "description": "币种id",
  22295. "type": "integer"
  22296. },
  22297. "currencyname": {
  22298. "description": "币种名称",
  22299. "type": "string"
  22300. },
  22301. "enumdicname": {
  22302. "description": "单位名称",
  22303. "type": "string"
  22304. },
  22305. "goodscode": {
  22306. "description": "定投商品代码",
  22307. "type": "string"
  22308. },
  22309. "goodsid": {
  22310. "description": "定投商品ID",
  22311. "type": "string"
  22312. },
  22313. "goodsname": {
  22314. "description": "定投商品名称",
  22315. "type": "string"
  22316. },
  22317. "goodunitid": {
  22318. "description": "定投商品单位id",
  22319. "type": "integer"
  22320. },
  22321. "logid": {
  22322. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  22323. "type": "string"
  22324. },
  22325. "regularlycycle": {
  22326. "description": "定投频率 - 1:每周 2:每月",
  22327. "type": "integer"
  22328. },
  22329. "regularlycyclevalue": {
  22330. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22331. "type": "string"
  22332. },
  22333. "regularlymode": {
  22334. "description": "定投方式 - 1:按数量 2:按金额",
  22335. "type": "integer"
  22336. },
  22337. "regularlymodevalue": {
  22338. "description": "定投方式值 - 数量或金额",
  22339. "type": "number"
  22340. },
  22341. "regularlystrategyid": {
  22342. "description": "定投策略ID",
  22343. "type": "integer"
  22344. },
  22345. "retcode": {
  22346. "description": "错误码",
  22347. "type": "string"
  22348. },
  22349. "tradeid": {
  22350. "description": "成交单ID",
  22351. "type": "string"
  22352. },
  22353. "triggeramount": {
  22354. "description": "触发金额",
  22355. "type": "number"
  22356. },
  22357. "triggerqty": {
  22358. "description": "触发数量",
  22359. "type": "number"
  22360. },
  22361. "triggerstatus": {
  22362. "description": "触发状态 - 1:成功 2:失败",
  22363. "type": "integer"
  22364. },
  22365. "triggertime": {
  22366. "description": "触发时间",
  22367. "type": "string"
  22368. },
  22369. "triggertradedate": {
  22370. "description": "触发交易日",
  22371. "type": "string"
  22372. },
  22373. "userid": {
  22374. "description": "所属用户ID",
  22375. "type": "integer"
  22376. },
  22377. "username": {
  22378. "description": "用户名称(userid对应的名称)",
  22379. "type": "string"
  22380. }
  22381. }
  22382. },
  22383. "models.QhjRStrategy": {
  22384. "type": "object",
  22385. "properties": {
  22386. "accountid": {
  22387. "description": "用户资金账户",
  22388. "type": "integer"
  22389. },
  22390. "accountname": {
  22391. "description": "账号名称(ACCOUNTID对应的名称)",
  22392. "type": "string"
  22393. },
  22394. "currencyid": {
  22395. "description": "币种id",
  22396. "type": "integer"
  22397. },
  22398. "currencyname": {
  22399. "description": "币种名称",
  22400. "type": "string"
  22401. },
  22402. "enumdicname": {
  22403. "description": "单位名称",
  22404. "type": "string"
  22405. },
  22406. "goodscode": {
  22407. "description": "定投商品代码",
  22408. "type": "string"
  22409. },
  22410. "goodsid": {
  22411. "description": "定投商品ID",
  22412. "type": "string"
  22413. },
  22414. "goodsname": {
  22415. "description": "定投商品名称",
  22416. "type": "string"
  22417. },
  22418. "goodunitid": {
  22419. "description": "定投商品单位id",
  22420. "type": "integer"
  22421. },
  22422. "lasteffecttradedate": {
  22423. "description": "最新生效交易日",
  22424. "type": "string"
  22425. },
  22426. "laststoptradedate": {
  22427. "description": "最新暂停交易日",
  22428. "type": "string"
  22429. },
  22430. "lasttriggertradedate": {
  22431. "description": "最新触发交易日",
  22432. "type": "string"
  22433. },
  22434. "nexttriggeramount": {
  22435. "description": "下次触发金额",
  22436. "type": "number"
  22437. },
  22438. "nexttriggerdate": {
  22439. "description": "下次触发日期",
  22440. "type": "string"
  22441. },
  22442. "nexttriggerqty": {
  22443. "description": "下次触发数量 [按小数位放大值]",
  22444. "type": "number"
  22445. },
  22446. "regularlycycle": {
  22447. "description": "定投频率 - 1:每周 2:每月",
  22448. "type": "integer"
  22449. },
  22450. "regularlycyclevalue": {
  22451. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22452. "type": "string"
  22453. },
  22454. "regularlymode": {
  22455. "description": "定投方式 - 1:按数量 2:按金额",
  22456. "type": "integer"
  22457. },
  22458. "regularlymodevalue": {
  22459. "description": "定投方式值 - 数量或金额",
  22460. "type": "number"
  22461. },
  22462. "regularlystrategyid": {
  22463. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  22464. "type": "integer"
  22465. },
  22466. "regularlystrategystatus": {
  22467. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  22468. "type": "integer"
  22469. },
  22470. "remark": {
  22471. "description": "备注",
  22472. "type": "string"
  22473. },
  22474. "triggersuccesstimes": {
  22475. "description": "累计定投成功次数",
  22476. "type": "string"
  22477. },
  22478. "triggertotalamount": {
  22479. "description": "累计定投金额(成功)",
  22480. "type": "number"
  22481. },
  22482. "triggertotalqty": {
  22483. "description": "累计定投数量(成功) [按小数位放大值]",
  22484. "type": "number"
  22485. },
  22486. "triggertotaltimes": {
  22487. "description": "累计定投总次数",
  22488. "type": "string"
  22489. },
  22490. "updatesrc": {
  22491. "description": "更新来源 - 1:管理端 2:终端",
  22492. "type": "integer"
  22493. },
  22494. "updatetime": {
  22495. "description": "更新时间",
  22496. "type": "string"
  22497. },
  22498. "updatorid": {
  22499. "description": "更新人",
  22500. "type": "string"
  22501. },
  22502. "userid": {
  22503. "description": "所属用户ID",
  22504. "type": "integer"
  22505. },
  22506. "username": {
  22507. "description": "用户名称(userid对应的名称)",
  22508. "type": "string"
  22509. }
  22510. }
  22511. },
  22512. "models.QhjReckonPriceLog": {
  22513. "type": "object",
  22514. "properties": {
  22515. "goodsid": {
  22516. "description": "商品ID",
  22517. "type": "integer"
  22518. },
  22519. "lastreckonprice": {
  22520. "description": "上日结算价",
  22521. "type": "number"
  22522. },
  22523. "nextdnlimitprice": {
  22524. "description": "下个交易日跌停价",
  22525. "type": "number"
  22526. },
  22527. "nexttrade": {
  22528. "description": "下个交易日",
  22529. "type": "string"
  22530. },
  22531. "nextuplimitprice": {
  22532. "description": "下个交易日涨停价",
  22533. "type": "number"
  22534. },
  22535. "reckonprice": {
  22536. "description": "今日结算价(定投价)",
  22537. "type": "number"
  22538. },
  22539. "reckontime": {
  22540. "description": "结算时间",
  22541. "type": "string"
  22542. },
  22543. "totalholderqty": {
  22544. "description": "总持仓数",
  22545. "type": "integer"
  22546. },
  22547. "totalstock": {
  22548. "description": "总库存",
  22549. "type": "integer"
  22550. },
  22551. "tradedate": {
  22552. "description": "交易日",
  22553. "type": "string"
  22554. },
  22555. "updowncount": {
  22556. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  22557. "type": "integer"
  22558. },
  22559. "updownflag": {
  22560. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  22561. "type": "integer"
  22562. },
  22563. "updownrate": {
  22564. "description": "今日涨跌幅",
  22565. "type": "number"
  22566. },
  22567. "updownrate_2d": {
  22568. "description": "连续两日涨跌幅",
  22569. "type": "number"
  22570. },
  22571. "updownrate_3d": {
  22572. "description": "连续三日涨跌幅",
  22573. "type": "number"
  22574. }
  22575. }
  22576. },
  22577. "models.QhjSiteColumnDetail": {
  22578. "type": "object",
  22579. "properties": {
  22580. "author": {
  22581. "description": "作者",
  22582. "type": "string"
  22583. },
  22584. "brief": {
  22585. "description": "简介",
  22586. "type": "string"
  22587. },
  22588. "columnid": {
  22589. "description": "所属栏目",
  22590. "type": "integer"
  22591. },
  22592. "context": {
  22593. "description": "内容",
  22594. "type": "string"
  22595. },
  22596. "coverimage": {
  22597. "description": "封面图片",
  22598. "type": "string"
  22599. },
  22600. "creaedate": {
  22601. "description": "创建时间",
  22602. "type": "string"
  22603. },
  22604. "creatorid": {
  22605. "description": "创建人",
  22606. "type": "integer"
  22607. },
  22608. "hits": {
  22609. "description": "点击数",
  22610. "type": "integer"
  22611. },
  22612. "id": {
  22613. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  22614. "type": "integer"
  22615. },
  22616. "isshow": {
  22617. "description": "是否展示 - 0:不展示 1:展示",
  22618. "type": "integer"
  22619. },
  22620. "istop": {
  22621. "description": "是否置顶 - 0:不置 1:置顶",
  22622. "type": "integer"
  22623. },
  22624. "modifierid": {
  22625. "description": "操作人",
  22626. "type": "integer"
  22627. },
  22628. "publishdate": {
  22629. "description": "发布日期",
  22630. "type": "string"
  22631. },
  22632. "status": {
  22633. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  22634. "type": "integer"
  22635. },
  22636. "title": {
  22637. "description": "标题",
  22638. "type": "string"
  22639. },
  22640. "updatedate": {
  22641. "description": "修改时间",
  22642. "type": "string"
  22643. },
  22644. "userid": {
  22645. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  22646. "type": "integer"
  22647. },
  22648. "username": {
  22649. "description": "用户名称",
  22650. "type": "string"
  22651. }
  22652. }
  22653. },
  22654. "models.QhjTradeGoodsPickup": {
  22655. "type": "object",
  22656. "properties": {
  22657. "accountid": {
  22658. "description": "账户ID",
  22659. "type": "integer"
  22660. },
  22661. "address": {
  22662. "description": "提货人详细地址",
  22663. "type": "string"
  22664. },
  22665. "amount": {
  22666. "description": "提货金额",
  22667. "type": "number"
  22668. },
  22669. "artradedate": {
  22670. "description": "自动收货交易日(yyyyMMdd)",
  22671. "type": "string"
  22672. },
  22673. "auditer": {
  22674. "description": "审核人",
  22675. "type": "integer"
  22676. },
  22677. "auditsrc": {
  22678. "description": "更新来源 - 1:管理端 2:终端",
  22679. "type": "integer"
  22680. },
  22681. "audittime": {
  22682. "description": "审核时间(发货时间)",
  22683. "type": "string"
  22684. },
  22685. "audittradedate": {
  22686. "description": "审核交易日(yyyyMMdd)",
  22687. "type": "string"
  22688. },
  22689. "cardnum": {
  22690. "description": "提货人证件号码",
  22691. "type": "string"
  22692. },
  22693. "cardtypeid": {
  22694. "description": "提货人证件类型",
  22695. "type": "integer"
  22696. },
  22697. "checkremark": {
  22698. "description": "审核备注",
  22699. "type": "string"
  22700. },
  22701. "cityid": {
  22702. "description": "市",
  22703. "type": "integer"
  22704. },
  22705. "cityname": {
  22706. "description": "城市名称",
  22707. "type": "string"
  22708. },
  22709. "countryid": {
  22710. "description": "国家",
  22711. "type": "integer"
  22712. },
  22713. "countryname": {
  22714. "description": "国家名称",
  22715. "type": "string"
  22716. },
  22717. "districtid": {
  22718. "description": "地区",
  22719. "type": "integer"
  22720. },
  22721. "districtname": {
  22722. "description": "地区名称",
  22723. "type": "string"
  22724. },
  22725. "enumdicname": {
  22726. "description": "单位名称(提货商品)",
  22727. "type": "string"
  22728. },
  22729. "expresscompany": {
  22730. "description": "物流公司",
  22731. "type": "string"
  22732. },
  22733. "expressnum": {
  22734. "description": "物流单号",
  22735. "type": "string"
  22736. },
  22737. "goodsagreeunit": {
  22738. "description": "交易商品乘数",
  22739. "type": "number"
  22740. },
  22741. "goodscode": {
  22742. "description": "商品代码",
  22743. "type": "string"
  22744. },
  22745. "goodsid": {
  22746. "description": "商品ID",
  22747. "type": "integer"
  22748. },
  22749. "goodsname": {
  22750. "description": "商品名称",
  22751. "type": "string"
  22752. },
  22753. "goodsqty": {
  22754. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  22755. "type": "number"
  22756. },
  22757. "handlestatus": {
  22758. "description": "处理状态",
  22759. "type": "integer"
  22760. },
  22761. "marketid": {
  22762. "description": "市场ID",
  22763. "type": "integer"
  22764. },
  22765. "phonenum": {
  22766. "description": "提货人联系方式",
  22767. "type": "string"
  22768. },
  22769. "pickupgoodsagreeunit": {
  22770. "description": "提货商品合约乘数",
  22771. "type": "number"
  22772. },
  22773. "pickupgoodsid": {
  22774. "description": "提货商品ID",
  22775. "type": "string"
  22776. },
  22777. "pickupgoodsname": {
  22778. "description": "提货商品名称",
  22779. "type": "string"
  22780. },
  22781. "pickupgoodsqty": {
  22782. "description": "提货商品手数(数量)",
  22783. "type": "number"
  22784. },
  22785. "pickupgoodsunitid": {
  22786. "description": "单位ID(提货商品)",
  22787. "type": "integer"
  22788. },
  22789. "pickupratio": {
  22790. "description": "提货系数",
  22791. "type": "number"
  22792. },
  22793. "preparedays": {
  22794. "description": "备货期(天)-提货单明细表",
  22795. "type": "integer"
  22796. },
  22797. "provinceid": {
  22798. "description": "省",
  22799. "type": "integer"
  22800. },
  22801. "provincename": {
  22802. "description": "省名称",
  22803. "type": "string"
  22804. },
  22805. "qty": {
  22806. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  22807. "type": "number"
  22808. },
  22809. "recivername": {
  22810. "description": "提货人姓名",
  22811. "type": "string"
  22812. },
  22813. "reqtime": {
  22814. "description": "提货申请时间",
  22815. "type": "string"
  22816. },
  22817. "storeuserid": {
  22818. "description": "门店用户ID (千海金)",
  22819. "type": "integer"
  22820. },
  22821. "storeusername": {
  22822. "description": "门店用户名称",
  22823. "type": "string"
  22824. },
  22825. "takemode": {
  22826. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  22827. "type": "integer"
  22828. },
  22829. "takeorderid": {
  22830. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22831. "type": "integer"
  22832. },
  22833. "takeorderstatus": {
  22834. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  22835. "type": "integer"
  22836. },
  22837. "takeremark": {
  22838. "description": "提货备注",
  22839. "type": "string"
  22840. },
  22841. "tradedate": {
  22842. "description": "交易日(yyyyMMdd)",
  22843. "type": "string"
  22844. },
  22845. "updatetime": {
  22846. "description": "更新时间",
  22847. "type": "string"
  22848. },
  22849. "userid": {
  22850. "description": "用户ID",
  22851. "type": "integer"
  22852. },
  22853. "username": {
  22854. "description": "用户名称",
  22855. "type": "string"
  22856. }
  22857. }
  22858. },
  22859. "models.Qhjgoodsex": {
  22860. "type": "object",
  22861. "properties": {
  22862. "canfinance": {
  22863. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  22864. "type": "integer"
  22865. },
  22866. "canregularlybuy": {
  22867. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  22868. "type": "integer"
  22869. },
  22870. "defaulttradeuserid": {
  22871. "description": "默认交易用户ID",
  22872. "type": "integer"
  22873. },
  22874. "deliverygoodsid": {
  22875. "description": "现货品种ID",
  22876. "type": "integer"
  22877. },
  22878. "goodsid": {
  22879. "description": "商品ID(自增ID SEQ_GOODS)",
  22880. "type": "integer"
  22881. },
  22882. "minamount": {
  22883. "description": "最小购买金额",
  22884. "type": "number"
  22885. },
  22886. "regularlybuyminamount": {
  22887. "description": "定投最小金额",
  22888. "type": "number"
  22889. },
  22890. "regularlybuyminqty": {
  22891. "description": "定投最小数量",
  22892. "type": "number"
  22893. },
  22894. "spotgoodsbrandid": {
  22895. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  22896. "type": "integer"
  22897. },
  22898. "wrstandardid": {
  22899. "description": "现货商品ID",
  22900. "type": "integer"
  22901. }
  22902. }
  22903. },
  22904. "models.QueryErrorInfosRsp": {
  22905. "type": "object",
  22906. "required": [
  22907. "errorid"
  22908. ],
  22909. "properties": {
  22910. "description": {
  22911. "description": "异常描述",
  22912. "type": "string"
  22913. },
  22914. "errorcode": {
  22915. "description": "异常代码",
  22916. "type": "string"
  22917. },
  22918. "errorid": {
  22919. "description": "异常ID",
  22920. "type": "integer"
  22921. },
  22922. "modulecode": {
  22923. "description": "所属模块",
  22924. "type": "string"
  22925. },
  22926. "operatecode": {
  22927. "description": "所属操作",
  22928. "type": "string"
  22929. },
  22930. "rownumber": {
  22931. "description": "行号",
  22932. "type": "string"
  22933. }
  22934. }
  22935. },
  22936. "models.QueryHedgeOrderDetailRsp": {
  22937. "type": "object",
  22938. "properties": {
  22939. "accountid": {
  22940. "description": "账户ID",
  22941. "type": "integer"
  22942. },
  22943. "buyorsell": {
  22944. "description": "买卖 - 0:买 1:卖",
  22945. "type": "integer"
  22946. },
  22947. "cancellogincode": {
  22948. "description": "撤单人",
  22949. "type": "string"
  22950. },
  22951. "channelbuildtype": {
  22952. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22953. "type": "integer"
  22954. },
  22955. "channelinnerorderstatus": {
  22956. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22957. "type": "integer"
  22958. },
  22959. "channeloperatetype": {
  22960. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22961. "type": "integer"
  22962. },
  22963. "closetype": {
  22964. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22965. "type": "integer"
  22966. },
  22967. "curexchangerate": {
  22968. "description": "当前汇率",
  22969. "type": "number"
  22970. },
  22971. "exchangefullname": {
  22972. "description": "外部交易所全称",
  22973. "type": "string"
  22974. },
  22975. "goodscode": {
  22976. "description": "商品代码(内部)",
  22977. "type": "string"
  22978. },
  22979. "goodsid": {
  22980. "description": "商品ID",
  22981. "type": "integer"
  22982. },
  22983. "goodsname": {
  22984. "description": "商品名称",
  22985. "type": "string"
  22986. },
  22987. "marketid": {
  22988. "description": "市场ID",
  22989. "type": "integer"
  22990. },
  22991. "openfreezemargin": {
  22992. "description": "冻结保证金(冻结交易金额)",
  22993. "type": "number"
  22994. },
  22995. "orderid": {
  22996. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22997. "type": "string"
  22998. },
  22999. "orderlogincode": {
  23000. "description": "委托人",
  23001. "type": "string"
  23002. },
  23003. "orderprice": {
  23004. "description": "委托价格(账户)",
  23005. "type": "number"
  23006. },
  23007. "orderqty": {
  23008. "description": "委托数量",
  23009. "type": "integer"
  23010. },
  23011. "ordertime": {
  23012. "description": "委托时间",
  23013. "type": "string"
  23014. },
  23015. "pricemode": {
  23016. "description": "取价方式 - 1:市价 2: 限价",
  23017. "type": "integer"
  23018. },
  23019. "tradedate": {
  23020. "description": "交易日(yyyyMMdd)",
  23021. "type": "string"
  23022. },
  23023. "tradeqty": {
  23024. "description": "成交数量",
  23025. "type": "integer"
  23026. }
  23027. }
  23028. },
  23029. "models.QueryHedgeTradeDetailRsp": {
  23030. "type": "object",
  23031. "properties": {
  23032. "accountid": {
  23033. "description": "账号ID",
  23034. "type": "integer"
  23035. },
  23036. "buyorsell": {
  23037. "description": "方向 - 0:买 1:卖",
  23038. "type": "integer"
  23039. },
  23040. "channelbuildtype": {
  23041. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23042. "type": "integer"
  23043. },
  23044. "closecharge": {
  23045. "description": "平仓手续费(账户)",
  23046. "type": "number"
  23047. },
  23048. "closecharge2": {
  23049. "description": "平仓手续费(商品)",
  23050. "type": "number"
  23051. },
  23052. "closepl": {
  23053. "description": "平仓盈亏(账户)",
  23054. "type": "number"
  23055. },
  23056. "closepl2": {
  23057. "description": "平仓盈亏(商品)",
  23058. "type": "number"
  23059. },
  23060. "closepl3": {
  23061. "description": "平仓盈亏(账户)(逐笔)",
  23062. "type": "number"
  23063. },
  23064. "closepl4": {
  23065. "description": "平仓盈亏(商品)(逐笔)",
  23066. "type": "number"
  23067. },
  23068. "closetype": {
  23069. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23070. "type": "integer"
  23071. },
  23072. "curexchangerate": {
  23073. "description": "当前汇率",
  23074. "type": "number"
  23075. },
  23076. "exchangefullname": {
  23077. "description": "外部交易所全称",
  23078. "type": "string"
  23079. },
  23080. "goodscode": {
  23081. "description": "商品代码(内部)",
  23082. "type": "string"
  23083. },
  23084. "goodsid": {
  23085. "description": "商品ID",
  23086. "type": "integer"
  23087. },
  23088. "goodsname": {
  23089. "description": "商品名称",
  23090. "type": "string"
  23091. },
  23092. "marketid": {
  23093. "description": "市场ID",
  23094. "type": "integer"
  23095. },
  23096. "opencharge": {
  23097. "description": "建仓手续费(账户)",
  23098. "type": "number"
  23099. },
  23100. "opencharge2": {
  23101. "description": "建仓手续费(商品)",
  23102. "type": "number"
  23103. },
  23104. "orderid": {
  23105. "description": "委托单号",
  23106. "type": "string"
  23107. },
  23108. "orderlogincode": {
  23109. "description": "委托人",
  23110. "type": "string"
  23111. },
  23112. "tradeamount": {
  23113. "description": "成交金额(账户)",
  23114. "type": "number"
  23115. },
  23116. "tradedate": {
  23117. "description": "交易日(yyyyMMdd)",
  23118. "type": "string"
  23119. },
  23120. "tradeid": {
  23121. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23122. "type": "string"
  23123. },
  23124. "tradeprice": {
  23125. "description": "成交价格",
  23126. "type": "number"
  23127. },
  23128. "tradeqty": {
  23129. "description": "成交数量",
  23130. "type": "integer"
  23131. },
  23132. "tradetime": {
  23133. "description": "成交时间",
  23134. "type": "string"
  23135. },
  23136. "tradetype": {
  23137. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23138. "type": "integer"
  23139. }
  23140. }
  23141. },
  23142. "models.QuotePrimaryMenu": {
  23143. "type": "object",
  23144. "properties": {
  23145. "Index": {
  23146. "description": "序号",
  23147. "type": "integer"
  23148. },
  23149. "Key": {
  23150. "description": "键名",
  23151. "type": "string"
  23152. },
  23153. "Name": {
  23154. "description": "菜单名称",
  23155. "type": "string"
  23156. },
  23157. "SubMenus": {
  23158. "description": "子菜单",
  23159. "type": "array",
  23160. "items": {
  23161. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  23162. }
  23163. },
  23164. "SubTitleType": {
  23165. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  23166. "type": "integer"
  23167. },
  23168. "TradeModes": {
  23169. "description": "包含市场交易类型",
  23170. "type": "string"
  23171. }
  23172. }
  23173. },
  23174. "models.QuoteSecondaryMenu": {
  23175. "type": "object",
  23176. "properties": {
  23177. "ExExchangeCode": {
  23178. "description": "外部交易所代码",
  23179. "type": "string"
  23180. },
  23181. "ExExchangeID": {
  23182. "description": "外部交易所ID",
  23183. "type": "integer"
  23184. },
  23185. "GoodsGroupIDs": {
  23186. "description": "商品组ID列表",
  23187. "type": "array",
  23188. "items": {
  23189. "type": "integer"
  23190. }
  23191. },
  23192. "Index": {
  23193. "description": "序号",
  23194. "type": "integer"
  23195. },
  23196. "MarketID": {
  23197. "description": "市场ID",
  23198. "type": "integer"
  23199. },
  23200. "MenuTitle": {
  23201. "description": "菜单标题(市场名称或外部交易所名称)",
  23202. "type": "string"
  23203. },
  23204. "TradeMode": {
  23205. "description": "交易模式",
  23206. "type": "integer"
  23207. }
  23208. }
  23209. },
  23210. "models.SearchGoods": {
  23211. "type": "object",
  23212. "required": [
  23213. "goodscode",
  23214. "goodsid",
  23215. "goodsname",
  23216. "marketid",
  23217. "trademode"
  23218. ],
  23219. "properties": {
  23220. "goodscode": {
  23221. "description": "商品代码(内部)",
  23222. "type": "string"
  23223. },
  23224. "goodsid": {
  23225. "description": "商品ID(自增ID SEQ_GOODS)",
  23226. "type": "integer"
  23227. },
  23228. "goodsname": {
  23229. "description": "商品名称",
  23230. "type": "string"
  23231. },
  23232. "marketid": {
  23233. "description": "所属市场ID",
  23234. "type": "integer"
  23235. },
  23236. "marketname": {
  23237. "description": "市场名称",
  23238. "type": "string"
  23239. },
  23240. "trademode": {
  23241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23242. "type": "integer"
  23243. }
  23244. }
  23245. },
  23246. "models.Systemparam": {
  23247. "type": "object",
  23248. "required": [
  23249. "paramcode"
  23250. ],
  23251. "properties": {
  23252. "loginid": {
  23253. "description": "更新用户账号,登录账号",
  23254. "type": "string"
  23255. },
  23256. "modifyflag": {
  23257. "description": "修改标志0 不允许修改 1 允许修改",
  23258. "type": "integer"
  23259. },
  23260. "paramcode": {
  23261. "description": "参数代码",
  23262. "type": "string"
  23263. },
  23264. "paramname": {
  23265. "description": "参数名",
  23266. "type": "string"
  23267. },
  23268. "paramtype": {
  23269. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  23270. "type": "integer"
  23271. },
  23272. "paramvalue": {
  23273. "description": "参数值",
  23274. "type": "string"
  23275. },
  23276. "paramvalue2": {
  23277. "description": "参数值(CLOB)",
  23278. "type": "string"
  23279. },
  23280. "regexpress": {
  23281. "description": "正则表达式",
  23282. "type": "string"
  23283. },
  23284. "remark": {
  23285. "description": "备注",
  23286. "type": "string"
  23287. },
  23288. "serverip": {
  23289. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  23290. "type": "string"
  23291. },
  23292. "showflag": {
  23293. "description": "是否显示0 不显示 1 显示",
  23294. "type": "integer"
  23295. },
  23296. "updatetime": {
  23297. "description": "更新时间",
  23298. "type": "string"
  23299. },
  23300. "userid": {
  23301. "description": "更新用户ID",
  23302. "type": "integer"
  23303. }
  23304. }
  23305. },
  23306. "models.Szdz3convertconfig": {
  23307. "type": "object",
  23308. "required": [
  23309. "converttype",
  23310. "innergoodsid",
  23311. "outergoodscode"
  23312. ],
  23313. "properties": {
  23314. "canin": {
  23315. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  23316. "type": "integer"
  23317. },
  23318. "canout": {
  23319. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  23320. "type": "integer"
  23321. },
  23322. "converttype": {
  23323. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  23324. "type": "integer"
  23325. },
  23326. "createtime": {
  23327. "description": "创建时间",
  23328. "type": "string"
  23329. },
  23330. "creatorid": {
  23331. "description": "创建人",
  23332. "type": "integer"
  23333. },
  23334. "daymaxvalue": {
  23335. "description": "当日最大转入限制",
  23336. "type": "number"
  23337. },
  23338. "freezedays": {
  23339. "description": "冻结天数 [5:花生米转交易]",
  23340. "type": "integer"
  23341. },
  23342. "innergoodsid": {
  23343. "description": "内部商品ID[交易]",
  23344. "type": "integer"
  23345. },
  23346. "inratio": {
  23347. "description": "目标值",
  23348. "type": "integer"
  23349. },
  23350. "modifierid": {
  23351. "description": "修改人",
  23352. "type": "integer"
  23353. },
  23354. "modifytime": {
  23355. "description": "修改时间",
  23356. "type": "string"
  23357. },
  23358. "outergoodscode": {
  23359. "description": "外部商品代码[JD\\PD]",
  23360. "type": "string"
  23361. },
  23362. "outratio": {
  23363. "description": "源值",
  23364. "type": "integer"
  23365. },
  23366. "pddecimalplace": {
  23367. "description": "PD小数位",
  23368. "type": "integer"
  23369. },
  23370. "timemaxvalue": {
  23371. "description": "单次最大转入限制",
  23372. "type": "number"
  23373. },
  23374. "timeminvalue": {
  23375. "description": "单次最小转入限制",
  23376. "type": "number"
  23377. }
  23378. }
  23379. },
  23380. "models.Szdz3searchwhitelist": {
  23381. "type": "object",
  23382. "required": [
  23383. "userid"
  23384. ],
  23385. "properties": {
  23386. "createtime": {
  23387. "description": "创建时间",
  23388. "type": "string"
  23389. },
  23390. "creatorid": {
  23391. "description": "创建人",
  23392. "type": "integer"
  23393. },
  23394. "modifierid": {
  23395. "description": "修改人",
  23396. "type": "integer"
  23397. },
  23398. "modifytime": {
  23399. "description": "修改时间",
  23400. "type": "string"
  23401. },
  23402. "userid": {
  23403. "description": "用户ID",
  23404. "type": "integer"
  23405. }
  23406. }
  23407. },
  23408. "models.Taaccount": {
  23409. "type": "object",
  23410. "required": [
  23411. "accountid",
  23412. "userid"
  23413. ],
  23414. "properties": {
  23415. "accountflag": {
  23416. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  23417. "type": "integer"
  23418. },
  23419. "accountid": {
  23420. "description": "资金账户ID",
  23421. "type": "integer"
  23422. },
  23423. "accountname": {
  23424. "description": "账户名称",
  23425. "type": "string"
  23426. },
  23427. "balance": {
  23428. "description": "期初余额",
  23429. "type": "number"
  23430. },
  23431. "capitalbalance": {
  23432. "description": "本金余额[外部子账户实际出入金余额]",
  23433. "type": "number"
  23434. },
  23435. "changeflag": {
  23436. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  23437. "type": "integer"
  23438. },
  23439. "changetime": {
  23440. "description": "账户状态变更时间",
  23441. "type": "string"
  23442. },
  23443. "closepl": {
  23444. "description": "今日平仓盈亏",
  23445. "type": "number"
  23446. },
  23447. "creditdecrease": {
  23448. "description": "今日授信减少",
  23449. "type": "number"
  23450. },
  23451. "creditincrease": {
  23452. "description": "今日授信增加",
  23453. "type": "number"
  23454. },
  23455. "currencyid": {
  23456. "description": "货币ID",
  23457. "type": "integer"
  23458. },
  23459. "currentbalance": {
  23460. "description": "期末余额",
  23461. "type": "number"
  23462. },
  23463. "freezecharge": {
  23464. "description": "手续费冻结",
  23465. "type": "number"
  23466. },
  23467. "freezemargin": {
  23468. "description": "冻结保证金",
  23469. "type": "number"
  23470. },
  23471. "fromaccountid": {
  23472. "description": "所属上级账户",
  23473. "type": "integer"
  23474. },
  23475. "inamount": {
  23476. "description": "今日入金金额(包括三方入金)",
  23477. "type": "number"
  23478. },
  23479. "ismain": {
  23480. "description": "是否母账号 0:不是母账户 1:是母账户",
  23481. "type": "integer"
  23482. },
  23483. "ismarketaccount": {
  23484. "description": "是否机构接单账号 0:不是 1:是",
  23485. "type": "integer"
  23486. },
  23487. "isreckonaccount": {
  23488. "description": "是否机构分润账号 0:不是 1:是",
  23489. "type": "integer"
  23490. },
  23491. "mortgagecredit": {
  23492. "description": "授信金额",
  23493. "type": "number"
  23494. },
  23495. "orifreezecharge": {
  23496. "description": "期初手续费冻结",
  23497. "type": "number"
  23498. },
  23499. "orifreezemargin": {
  23500. "description": "期初冻结保证金",
  23501. "type": "number"
  23502. },
  23503. "orimortgagecredit": {
  23504. "description": "期初授信金额",
  23505. "type": "number"
  23506. },
  23507. "oriothercredit": {
  23508. "description": "期初其它授信金额",
  23509. "type": "number"
  23510. },
  23511. "oriotherfreezemargin": {
  23512. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  23513. "type": "number"
  23514. },
  23515. "orioutamountfreeze": {
  23516. "description": "期初出金冻结",
  23517. "type": "number"
  23518. },
  23519. "oriusedmargin": {
  23520. "description": "期初占用保证金",
  23521. "type": "number"
  23522. },
  23523. "othercredit": {
  23524. "description": "其它授信金额",
  23525. "type": "number"
  23526. },
  23527. "othercreditdecrease": {
  23528. "description": "今日其它授信减少",
  23529. "type": "number"
  23530. },
  23531. "othercreditincrease": {
  23532. "description": "今日其它授信增加",
  23533. "type": "number"
  23534. },
  23535. "otherfreezemargin": {
  23536. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  23537. "type": "number"
  23538. },
  23539. "otherincome": {
  23540. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  23541. "type": "number"
  23542. },
  23543. "otherpay": {
  23544. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  23545. "type": "number"
  23546. },
  23547. "outamount": {
  23548. "description": "今日出金金额(包括三方出金)",
  23549. "type": "number"
  23550. },
  23551. "outamountfreeze": {
  23552. "description": "出金冻结",
  23553. "type": "number"
  23554. },
  23555. "outthreshold": {
  23556. "description": "出金阈值",
  23557. "type": "number"
  23558. },
  23559. "parentaccountid": {
  23560. "description": "所属根账号",
  23561. "type": "integer"
  23562. },
  23563. "paycharge": {
  23564. "description": "今日手续费支出",
  23565. "type": "number"
  23566. },
  23567. "relatedaccountstatus": {
  23568. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  23569. "type": "integer"
  23570. },
  23571. "relateduserid": {
  23572. "description": "关联用户",
  23573. "type": "integer"
  23574. },
  23575. "serivcegroup": {
  23576. "description": "服务分组",
  23577. "type": "integer"
  23578. },
  23579. "signstatus": {
  23580. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23581. "type": "integer"
  23582. },
  23583. "sublevelpath": {
  23584. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23585. "type": "string"
  23586. },
  23587. "taaccounttype": {
  23588. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23589. "type": "integer"
  23590. },
  23591. "thirdinamount": {
  23592. "description": "今日三方入金",
  23593. "type": "number"
  23594. },
  23595. "thirdoutamount": {
  23596. "description": "今日三方出金",
  23597. "type": "number"
  23598. },
  23599. "tradestatus": {
  23600. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23601. "type": "integer"
  23602. },
  23603. "tradestatuschangetime": {
  23604. "description": "激活时间",
  23605. "type": "string"
  23606. },
  23607. "transferamount": {
  23608. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23609. "type": "number"
  23610. },
  23611. "usedmargin": {
  23612. "description": "占用保证金",
  23613. "type": "number"
  23614. },
  23615. "userid": {
  23616. "description": "用户ID",
  23617. "type": "integer"
  23618. }
  23619. }
  23620. },
  23621. "models.Tablecolumnconfig": {
  23622. "type": "object",
  23623. "required": [
  23624. "autoid"
  23625. ],
  23626. "properties": {
  23627. "aligntype": {
  23628. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23629. "type": "integer"
  23630. },
  23631. "autoid": {
  23632. "description": "AutoID",
  23633. "type": "integer"
  23634. },
  23635. "columnfield": {
  23636. "description": "列字段",
  23637. "type": "string"
  23638. },
  23639. "columntitle": {
  23640. "description": "列Title",
  23641. "type": "string"
  23642. },
  23643. "columnwidth": {
  23644. "description": "列宽",
  23645. "type": "string"
  23646. },
  23647. "formatterstring": {
  23648. "description": "格式化字符",
  23649. "type": "string"
  23650. },
  23651. "formattertype": {
  23652. "description": "格式化类型",
  23653. "type": "string"
  23654. },
  23655. "groupname": {
  23656. "description": "表头分组名称",
  23657. "type": "string"
  23658. },
  23659. "isshow": {
  23660. "description": "是否显示 - 0:不显示 1:显示",
  23661. "type": "integer"
  23662. },
  23663. "needsummary": {
  23664. "description": "是否需要汇总 - 0:不需要 1:需要",
  23665. "type": "integer"
  23666. },
  23667. "orderindex": {
  23668. "description": "顺序",
  23669. "type": "integer"
  23670. },
  23671. "remark": {
  23672. "description": "备注",
  23673. "type": "string"
  23674. },
  23675. "summarytype": {
  23676. "description": "汇总类型 - 1:加总 2:最后一个",
  23677. "type": "integer"
  23678. },
  23679. "tablekey": {
  23680. "description": "列表Key",
  23681. "type": "string"
  23682. }
  23683. }
  23684. },
  23685. "models.UserCollectConfig": {
  23686. "type": "object",
  23687. "properties": {
  23688. "accountstatus": {
  23689. "description": "账户状态 - 1:正常 2:停用 3:注销",
  23690. "type": "integer"
  23691. },
  23692. "collectaccountname": {
  23693. "description": "收款人账户名称",
  23694. "type": "string"
  23695. },
  23696. "collectaccountno": {
  23697. "description": "收款人账户",
  23698. "type": "string"
  23699. },
  23700. "collectbankname": {
  23701. "description": "收款人开户行",
  23702. "type": "string"
  23703. },
  23704. "collectbranchbankname": {
  23705. "description": "收款人开户支行",
  23706. "type": "string"
  23707. },
  23708. "collectconfigid": {
  23709. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  23710. "type": "string"
  23711. },
  23712. "remark": {
  23713. "description": "备注",
  23714. "type": "string"
  23715. },
  23716. "userid": {
  23717. "description": "收款人用户ID",
  23718. "type": "integer"
  23719. }
  23720. }
  23721. },
  23722. "models.UserReceiveInfo": {
  23723. "type": "object",
  23724. "properties": {
  23725. "address": {
  23726. "description": "提货人详细地址",
  23727. "type": "string"
  23728. },
  23729. "autoid": {
  23730. "description": "AutoID",
  23731. "type": "integer"
  23732. },
  23733. "cardnum": {
  23734. "description": "证件号码(加密存储)",
  23735. "type": "string"
  23736. },
  23737. "cardtypeid": {
  23738. "description": "证件类型",
  23739. "type": "integer"
  23740. },
  23741. "cityid": {
  23742. "description": "市",
  23743. "type": "integer"
  23744. },
  23745. "cityname": {
  23746. "description": "城市名称",
  23747. "type": "string"
  23748. },
  23749. "countryid": {
  23750. "description": "国家",
  23751. "type": "integer"
  23752. },
  23753. "countryname": {
  23754. "description": "国家名称",
  23755. "type": "string"
  23756. },
  23757. "districtid": {
  23758. "description": "地区",
  23759. "type": "integer"
  23760. },
  23761. "districtname": {
  23762. "description": "地区名称",
  23763. "type": "string"
  23764. },
  23765. "hasencrypt": {
  23766. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23767. "type": "integer"
  23768. },
  23769. "isdefault": {
  23770. "description": "是否默认地址 - 0:否 1:是",
  23771. "type": "integer"
  23772. },
  23773. "phonenum": {
  23774. "description": "提货人联系方式(加密存储)",
  23775. "type": "string"
  23776. },
  23777. "provinceid": {
  23778. "description": "省",
  23779. "type": "integer"
  23780. },
  23781. "provincename": {
  23782. "description": "省名称",
  23783. "type": "string"
  23784. },
  23785. "receivername": {
  23786. "description": "提货人姓名",
  23787. "type": "string"
  23788. },
  23789. "takeremark": {
  23790. "description": "提货备注",
  23791. "type": "string"
  23792. },
  23793. "userid": {
  23794. "description": "用户ID",
  23795. "type": "integer"
  23796. }
  23797. }
  23798. },
  23799. "models.Useraccount": {
  23800. "type": "object",
  23801. "required": [
  23802. "userid"
  23803. ],
  23804. "properties": {
  23805. "accountname": {
  23806. "description": "账户名称(机构名称)",
  23807. "type": "string"
  23808. },
  23809. "accountstatus": {
  23810. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23811. "type": "integer"
  23812. },
  23813. "applysrc": {
  23814. "description": "申请来源 - 1:管理端 2:终端",
  23815. "type": "integer"
  23816. },
  23817. "auditremark": {
  23818. "description": "审核备注",
  23819. "type": "string"
  23820. },
  23821. "auditsrc": {
  23822. "description": "审核来源 - 1:管理端 2:终端",
  23823. "type": "integer"
  23824. },
  23825. "audittime": {
  23826. "description": "审核时间",
  23827. "type": "string"
  23828. },
  23829. "audituserid": {
  23830. "description": "审核人",
  23831. "type": "integer"
  23832. },
  23833. "broker": {
  23834. "description": "所属经纪人ID",
  23835. "type": "integer"
  23836. },
  23837. "canceltime": {
  23838. "description": "销户时间",
  23839. "type": "string"
  23840. },
  23841. "canceluserid": {
  23842. "description": "销户人",
  23843. "type": "integer"
  23844. },
  23845. "canrecommend": {
  23846. "description": "是否可推荐 - 0:不可 1;可",
  23847. "type": "integer"
  23848. },
  23849. "createtime": {
  23850. "description": "创建时间",
  23851. "type": "string"
  23852. },
  23853. "creatorid": {
  23854. "description": "创建人",
  23855. "type": "integer"
  23856. },
  23857. "hasauth": {
  23858. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23859. "type": "integer"
  23860. },
  23861. "isanonymous": {
  23862. "description": "是否匿名下单 - 0:否 1:是",
  23863. "type": "integer"
  23864. },
  23865. "maxinvestornum": {
  23866. "description": "最大用户数(经纪会员下投资者个数)",
  23867. "type": "integer"
  23868. },
  23869. "memberuserid": {
  23870. "description": "所属会员ID",
  23871. "type": "integer"
  23872. },
  23873. "modifierid": {
  23874. "description": "修改人",
  23875. "type": "integer"
  23876. },
  23877. "modifyremark": {
  23878. "description": "变更备注",
  23879. "type": "string"
  23880. },
  23881. "modifystatus": {
  23882. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23883. "type": "integer"
  23884. },
  23885. "modifytime": {
  23886. "description": "修改时间",
  23887. "type": "string"
  23888. },
  23889. "parenttopuser": {
  23890. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23891. "type": "string"
  23892. },
  23893. "parentuserid": {
  23894. "description": "所属机构ID",
  23895. "type": "integer"
  23896. },
  23897. "reckonaccountid": {
  23898. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23899. "type": "integer"
  23900. },
  23901. "refercount": {
  23902. "description": "推荐总人数",
  23903. "type": "integer"
  23904. },
  23905. "refereeuserid": {
  23906. "description": "推荐人ID",
  23907. "type": "integer"
  23908. },
  23909. "refernum": {
  23910. "description": "推荐码",
  23911. "type": "string"
  23912. },
  23913. "rootuserid": {
  23914. "description": "根用户ID",
  23915. "type": "integer"
  23916. },
  23917. "subaccountlevel": {
  23918. "description": "子账户层数",
  23919. "type": "integer"
  23920. },
  23921. "subarealevelpath": {
  23922. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23923. "type": "string"
  23924. },
  23925. "userid": {
  23926. "description": "用户ID",
  23927. "type": "integer"
  23928. },
  23929. "usertype": {
  23930. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23931. "type": "integer"
  23932. }
  23933. }
  23934. },
  23935. "models.Userfavoritegoods": {
  23936. "type": "object",
  23937. "required": [
  23938. "goodsid"
  23939. ],
  23940. "properties": {
  23941. "goodsid": {
  23942. "description": "商品ID",
  23943. "type": "integer"
  23944. }
  23945. }
  23946. },
  23947. "models.Userinfo": {
  23948. "type": "object",
  23949. "required": [
  23950. "userid"
  23951. ],
  23952. "properties": {
  23953. "address": {
  23954. "description": "地址",
  23955. "type": "string"
  23956. },
  23957. "attachment1": {
  23958. "description": "附件1",
  23959. "type": "string"
  23960. },
  23961. "attachment2": {
  23962. "description": "附件2",
  23963. "type": "string"
  23964. },
  23965. "bankaccount": {
  23966. "description": "银行帐号 (加密存储)",
  23967. "type": "string"
  23968. },
  23969. "bankaccountname": {
  23970. "description": "收款人名称",
  23971. "type": "string"
  23972. },
  23973. "bankcardfrontphotourl": {
  23974. "description": "银行卡正面照地址",
  23975. "type": "string"
  23976. },
  23977. "bankid": {
  23978. "description": "银行编码",
  23979. "type": "string"
  23980. },
  23981. "bankname": {
  23982. "description": "银行名称",
  23983. "type": "string"
  23984. },
  23985. "biznature": {
  23986. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23987. "type": "integer"
  23988. },
  23989. "bizscope": {
  23990. "description": "企业经营范围(企业)",
  23991. "type": "string"
  23992. },
  23993. "cardbackphotourl": {
  23994. "description": "证件背面图片地址",
  23995. "type": "string"
  23996. },
  23997. "cardfrontphotourl": {
  23998. "description": "证件正面图片地址",
  23999. "type": "string"
  24000. },
  24001. "cardnum": {
  24002. "description": "证件号码(加密存储)",
  24003. "type": "string"
  24004. },
  24005. "cardtypeid": {
  24006. "description": "证件类型ID",
  24007. "type": "integer"
  24008. },
  24009. "cityid": {
  24010. "description": "市",
  24011. "type": "integer"
  24012. },
  24013. "company": {
  24014. "description": "公司(个人)",
  24015. "type": "string"
  24016. },
  24017. "contactname": {
  24018. "description": "联系人",
  24019. "type": "string"
  24020. },
  24021. "countryid": {
  24022. "description": "国家",
  24023. "type": "integer"
  24024. },
  24025. "createtime": {
  24026. "description": "创建时间",
  24027. "type": "string"
  24028. },
  24029. "creatorid": {
  24030. "description": "创建人",
  24031. "type": "integer"
  24032. },
  24033. "customername": {
  24034. "description": "客户名称(企业名称)",
  24035. "type": "string"
  24036. },
  24037. "districtid": {
  24038. "description": "地区",
  24039. "type": "integer"
  24040. },
  24041. "email": {
  24042. "description": "邮件(加密存储)",
  24043. "type": "string"
  24044. },
  24045. "fax": {
  24046. "description": "传真(加密存储)",
  24047. "type": "string"
  24048. },
  24049. "halfbodyphotourl": {
  24050. "description": "半身照地址",
  24051. "type": "string"
  24052. },
  24053. "hasencrypt": {
  24054. "description": "数据是否已加密 - 0:未加密 1:已加密",
  24055. "type": "integer"
  24056. },
  24057. "headurl": {
  24058. "description": "头像地址",
  24059. "type": "string"
  24060. },
  24061. "legalcardbackphotourl": {
  24062. "description": "法人身份证背面照地址",
  24063. "type": "string"
  24064. },
  24065. "legalcardfrontphotourl": {
  24066. "description": "法人身份证正面照地址",
  24067. "type": "string"
  24068. },
  24069. "legalpersonname": {
  24070. "description": "法人姓名(企业)",
  24071. "type": "string"
  24072. },
  24073. "mobile": {
  24074. "description": "手机号码(加密存储)",
  24075. "type": "string"
  24076. },
  24077. "mobile2": {
  24078. "description": "手机号码[明文-尚志]",
  24079. "type": "string"
  24080. },
  24081. "modifierid": {
  24082. "description": "修改人",
  24083. "type": "integer"
  24084. },
  24085. "modifiertime": {
  24086. "description": "修改时间",
  24087. "type": "string"
  24088. },
  24089. "needinvoice": {
  24090. "description": "是否需要发票 - 0:不需要 1:需要",
  24091. "type": "integer"
  24092. },
  24093. "nickname": {
  24094. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  24095. "type": "string"
  24096. },
  24097. "openmode": {
  24098. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  24099. "type": "integer"
  24100. },
  24101. "otherurl": {
  24102. "description": "其它图片地址[使用分号分隔]",
  24103. "type": "string"
  24104. },
  24105. "postalcode": {
  24106. "description": "邮政编码",
  24107. "type": "string"
  24108. },
  24109. "provinceid": {
  24110. "description": "省",
  24111. "type": "integer"
  24112. },
  24113. "qq": {
  24114. "description": "QQ(加密存储",
  24115. "type": "string"
  24116. },
  24117. "remark": {
  24118. "description": "备注",
  24119. "type": "string"
  24120. },
  24121. "sex": {
  24122. "description": "用户性别 0: 女 1: 男",
  24123. "type": "integer"
  24124. },
  24125. "signpdfurl": {
  24126. "description": "签约pdf文件",
  24127. "type": "string"
  24128. },
  24129. "telphone": {
  24130. "description": "联系电话(加密存储)",
  24131. "type": "string"
  24132. },
  24133. "userid": {
  24134. "description": "用户ID",
  24135. "type": "integer"
  24136. },
  24137. "userinfotype": {
  24138. "description": "用户信息类型 - 1:个人 2:企业",
  24139. "type": "integer"
  24140. },
  24141. "userstatus": {
  24142. "description": "用户状态 - 1:正常 2:注销",
  24143. "type": "integer"
  24144. },
  24145. "usertype": {
  24146. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  24147. "type": "integer"
  24148. },
  24149. "wechat": {
  24150. "description": "微信(加密存储)",
  24151. "type": "string"
  24152. },
  24153. "wskhinfo": {
  24154. "description": "开户申请信息(JSON)",
  24155. "type": "string"
  24156. }
  24157. }
  24158. },
  24159. "models.WRSConverTDetail": {
  24160. "type": "object",
  24161. "properties": {
  24162. "convertratio": {
  24163. "description": "套保系数",
  24164. "type": "number"
  24165. },
  24166. "deliverygoodscode": {
  24167. "description": "现货商品代码",
  24168. "type": "string"
  24169. },
  24170. "deliverygoodsid": {
  24171. "description": "现货品种ID",
  24172. "type": "integer"
  24173. },
  24174. "deliverygoodsname": {
  24175. "description": "现货商品名称",
  24176. "type": "string"
  24177. },
  24178. "enumdicname": {
  24179. "description": "单位名称",
  24180. "type": "string"
  24181. },
  24182. "goodsunitid": {
  24183. "description": "套保品种单位id",
  24184. "type": "integer"
  24185. },
  24186. "middlegoodscode": {
  24187. "description": "套保品种代码",
  24188. "type": "string"
  24189. },
  24190. "middlegoodsid": {
  24191. "description": "套保品种ID",
  24192. "type": "integer"
  24193. },
  24194. "middlegoodsname": {
  24195. "description": "套保品种名称",
  24196. "type": "string"
  24197. },
  24198. "modifytime": {
  24199. "description": "修改时间",
  24200. "type": "string"
  24201. },
  24202. "wrstandardid": {
  24203. "description": "品类ID",
  24204. "type": "integer"
  24205. }
  24206. }
  24207. },
  24208. "models.WRStandardInfo": {
  24209. "type": "object",
  24210. "required": [
  24211. "wrstandardid"
  24212. ],
  24213. "properties": {
  24214. "areauserid": {
  24215. "description": "所属机构",
  24216. "type": "integer"
  24217. },
  24218. "convertfactor": {
  24219. "description": "标仓系数",
  24220. "type": "number"
  24221. },
  24222. "createtime": {
  24223. "description": "创建时间",
  24224. "type": "string"
  24225. },
  24226. "creatorid": {
  24227. "description": "创建人",
  24228. "type": "integer"
  24229. },
  24230. "deliverygoodsid": {
  24231. "description": "品种ID",
  24232. "type": "integer"
  24233. },
  24234. "deliverygoodsname": {
  24235. "description": "交割商品名称",
  24236. "type": "string"
  24237. },
  24238. "factoryitemjson": {
  24239. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  24240. "type": "string"
  24241. },
  24242. "isvalid": {
  24243. "description": "是否有效 - 0:无效 1:有效",
  24244. "type": "integer"
  24245. },
  24246. "minivalue": {
  24247. "description": "最小变动值",
  24248. "type": "integer"
  24249. },
  24250. "minivaluedp": {
  24251. "description": "最小变动值小数位",
  24252. "type": "integer"
  24253. },
  24254. "realminivalue": {
  24255. "description": "实际最小变动值",
  24256. "type": "integer"
  24257. },
  24258. "realminivaluedp": {
  24259. "description": "实际最小变动值小数位",
  24260. "type": "integer"
  24261. },
  24262. "remark": {
  24263. "description": "备注",
  24264. "type": "string"
  24265. },
  24266. "unitid": {
  24267. "description": "单位ID",
  24268. "type": "integer"
  24269. },
  24270. "unitname": {
  24271. "description": "单位",
  24272. "type": "string"
  24273. },
  24274. "updatetime": {
  24275. "description": "更新时间",
  24276. "type": "string"
  24277. },
  24278. "updatorid": {
  24279. "description": "更新人",
  24280. "type": "integer"
  24281. },
  24282. "wrsstatus": {
  24283. "description": "状态 - 作废 - 0:未激活 1:正常",
  24284. "type": "integer"
  24285. },
  24286. "wrstandardcode": {
  24287. "description": "现货品类代码",
  24288. "type": "string"
  24289. },
  24290. "wrstandardid": {
  24291. "description": "现货品类ID(SEQ_WRSTANDARD)",
  24292. "type": "integer"
  24293. },
  24294. "wrstandardname": {
  24295. "description": "现货品类名称",
  24296. "type": "string"
  24297. }
  24298. }
  24299. },
  24300. "models.Warehouseinfo": {
  24301. "type": "object",
  24302. "required": [
  24303. "autoid",
  24304. "warehousecode"
  24305. ],
  24306. "properties": {
  24307. "address": {
  24308. "description": "详细地址",
  24309. "type": "string"
  24310. },
  24311. "areauserid": {
  24312. "description": "所属机构",
  24313. "type": "integer"
  24314. },
  24315. "autoid": {
  24316. "description": "自增ID",
  24317. "type": "integer"
  24318. },
  24319. "cityid": {
  24320. "description": "市",
  24321. "type": "integer"
  24322. },
  24323. "contactname": {
  24324. "description": "联系人",
  24325. "type": "string"
  24326. },
  24327. "contactnum": {
  24328. "description": "联系电话",
  24329. "type": "string"
  24330. },
  24331. "countryid": {
  24332. "description": "国家",
  24333. "type": "integer"
  24334. },
  24335. "createtime": {
  24336. "description": "创建时间",
  24337. "type": "string"
  24338. },
  24339. "districtid": {
  24340. "description": "区",
  24341. "type": "integer"
  24342. },
  24343. "hasvideo": {
  24344. "description": "是否有视频 - 0:无 1:有",
  24345. "type": "integer"
  24346. },
  24347. "provinceid": {
  24348. "description": "省",
  24349. "type": "integer"
  24350. },
  24351. "remark": {
  24352. "description": "审核备注",
  24353. "type": "string"
  24354. },
  24355. "videourl": {
  24356. "description": "视频地址",
  24357. "type": "string"
  24358. },
  24359. "warehousecode": {
  24360. "description": "仓库代码",
  24361. "type": "string"
  24362. },
  24363. "warehousename": {
  24364. "description": "仓库名称",
  24365. "type": "string"
  24366. },
  24367. "warehousestatus": {
  24368. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  24369. "type": "integer"
  24370. },
  24371. "warehousetype": {
  24372. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24373. "type": "integer"
  24374. }
  24375. }
  24376. },
  24377. "order.QueryHisTradeDetailRsp": {
  24378. "type": "object",
  24379. "required": [
  24380. "accountid",
  24381. "buyorsell",
  24382. "goodsid",
  24383. "histradedate",
  24384. "marketid",
  24385. "memberuserid",
  24386. "orderid",
  24387. "tradeamount",
  24388. "tradedate",
  24389. "tradeid",
  24390. "tradeprice",
  24391. "tradeqty",
  24392. "tradetime"
  24393. ],
  24394. "properties": {
  24395. "accountid": {
  24396. "description": "账户ID[报价币种]",
  24397. "type": "integer"
  24398. },
  24399. "buildtype": {
  24400. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24401. "type": "integer"
  24402. },
  24403. "buyorsell": {
  24404. "description": "方向 - 0:买 1:卖",
  24405. "type": "integer"
  24406. },
  24407. "charge": {
  24408. "description": "手续费",
  24409. "type": "number"
  24410. },
  24411. "closecharge": {
  24412. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24413. "type": "number"
  24414. },
  24415. "closeexchagechargevalue": {
  24416. "description": "平仓交易所手续费设置值",
  24417. "type": "number"
  24418. },
  24419. "closefeealgorithm": {
  24420. "description": "平仓手续费收取方式 1:比率 2:固定",
  24421. "type": "integer"
  24422. },
  24423. "closememberchargevalue": {
  24424. "description": "平仓会员手续费设置值",
  24425. "type": "number"
  24426. },
  24427. "closepl": {
  24428. "description": "平仓盈亏",
  24429. "type": "number"
  24430. },
  24431. "closepl2": {
  24432. "description": "平仓盈亏[逐笔]",
  24433. "type": "number"
  24434. },
  24435. "closeqty": {
  24436. "description": "平仓数量(先建后平操作 需要记录)",
  24437. "type": "integer"
  24438. },
  24439. "creditamount": {
  24440. "description": "授信金额",
  24441. "type": "number"
  24442. },
  24443. "gcaccountid": {
  24444. "description": "账户ID[合约币种]",
  24445. "type": "integer"
  24446. },
  24447. "goodscode": {
  24448. "description": "商品代码",
  24449. "type": "string"
  24450. },
  24451. "goodsid": {
  24452. "description": "商品ID",
  24453. "type": "integer"
  24454. },
  24455. "goodsname": {
  24456. "description": "商品名称",
  24457. "type": "string"
  24458. },
  24459. "histradedate": {
  24460. "description": "历史交易日",
  24461. "type": "string"
  24462. },
  24463. "intclosepl": {
  24464. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24465. "type": "integer"
  24466. },
  24467. "isconfirmexercise": {
  24468. "description": "是否确认行权- 0:否 1:是",
  24469. "type": "integer"
  24470. },
  24471. "ismain": {
  24472. "description": "是否主单 - 0:不是 1:是",
  24473. "type": "integer"
  24474. },
  24475. "ispreexercise": {
  24476. "description": "是否预申报- 0:否 1:是",
  24477. "type": "integer"
  24478. },
  24479. "isreckoned": {
  24480. "description": "是否结算 - 0:未结算 1:已结算",
  24481. "type": "integer"
  24482. },
  24483. "isvaliddata": {
  24484. "description": "是否有效 - 0:无效 1:有效",
  24485. "type": "integer"
  24486. },
  24487. "listingselecttype": {
  24488. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24489. "type": "integer"
  24490. },
  24491. "marketid": {
  24492. "description": "市场ID",
  24493. "type": "integer"
  24494. },
  24495. "marketname": {
  24496. "description": "市场名称",
  24497. "type": "string"
  24498. },
  24499. "matchaccountid": {
  24500. "description": "对手账号id",
  24501. "type": "integer"
  24502. },
  24503. "memberuserid": {
  24504. "description": "会员id 个人投资者 需要填写",
  24505. "type": "integer"
  24506. },
  24507. "opencharge": {
  24508. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24509. "type": "number"
  24510. },
  24511. "openexchagechargevalue": {
  24512. "description": "建仓交易所手续费设置值",
  24513. "type": "number"
  24514. },
  24515. "openfeealgorithm": {
  24516. "description": "建仓手续费收取方式 1:比率 2:固定",
  24517. "type": "integer"
  24518. },
  24519. "openmemberchargevalue": {
  24520. "description": "建仓会员手续费设置值",
  24521. "type": "number"
  24522. },
  24523. "openqty": {
  24524. "description": "开仓数量(先建后平操作 需要记录)",
  24525. "type": "integer"
  24526. },
  24527. "optiontype": {
  24528. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24529. "type": "integer"
  24530. },
  24531. "orderid": {
  24532. "description": "委托单号",
  24533. "type": "string"
  24534. },
  24535. "performanceplanid": {
  24536. "description": "履约计划ID[期权]",
  24537. "type": "integer"
  24538. },
  24539. "performancestatus": {
  24540. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24541. "type": "integer"
  24542. },
  24543. "preexerciseprice": {
  24544. "description": "预申报价格",
  24545. "type": "number"
  24546. },
  24547. "premium": {
  24548. "description": "权利金 - [持仓单的权利金]",
  24549. "type": "number"
  24550. },
  24551. "relatedouttradeid": {
  24552. "description": "关联外部成交单ID",
  24553. "type": "integer"
  24554. },
  24555. "status": {
  24556. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24557. "type": "integer"
  24558. },
  24559. "tradeamount": {
  24560. "description": "成交金额[账户币种,用于所有权]",
  24561. "type": "number"
  24562. },
  24563. "tradedate": {
  24564. "description": "交易日(yyyyMMdd)",
  24565. "type": "string"
  24566. },
  24567. "tradeid": {
  24568. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24569. "type": "string"
  24570. },
  24571. "trademode": {
  24572. "description": "交易模式",
  24573. "type": "integer"
  24574. },
  24575. "tradeprice": {
  24576. "description": "成交价格",
  24577. "type": "number"
  24578. },
  24579. "tradeproperty": {
  24580. "description": "交易属性",
  24581. "type": "integer"
  24582. },
  24583. "tradeqty": {
  24584. "description": "成交数量",
  24585. "type": "integer"
  24586. },
  24587. "tradetime": {
  24588. "description": "成交时间",
  24589. "type": "string"
  24590. },
  24591. "tradetype": {
  24592. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24593. "type": "integer"
  24594. }
  24595. }
  24596. },
  24597. "order.QueryHisTradeOrderDetailRsp": {
  24598. "type": "object",
  24599. "required": [
  24600. "accountid",
  24601. "buildtype",
  24602. "buyorsell",
  24603. "goodsid",
  24604. "histradedate",
  24605. "marketid",
  24606. "memberuserid",
  24607. "operatetype",
  24608. "orderid",
  24609. "orderqty",
  24610. "ordertime",
  24611. "pricemode",
  24612. "tradedate",
  24613. "validtype"
  24614. ],
  24615. "properties": {
  24616. "accountid": {
  24617. "description": "账户ID[报价币种]",
  24618. "type": "integer"
  24619. },
  24620. "buildtype": {
  24621. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24622. "type": "integer"
  24623. },
  24624. "buyorsell": {
  24625. "description": "买卖 - 0:买 1:卖",
  24626. "type": "integer"
  24627. },
  24628. "cancelorderid": {
  24629. "description": "撤单单号(撤单时填写)",
  24630. "type": "string"
  24631. },
  24632. "cancelqty": {
  24633. "description": "撤单数量",
  24634. "type": "integer"
  24635. },
  24636. "clientordertime": {
  24637. "description": "客户端委托时间",
  24638. "type": "string"
  24639. },
  24640. "clientticket": {
  24641. "description": "客户端流水号",
  24642. "type": "string"
  24643. },
  24644. "clienttype": {
  24645. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24646. "type": "integer"
  24647. },
  24648. "closeexchagechargevalue": {
  24649. "description": "平仓交易所手续费设置值",
  24650. "type": "number"
  24651. },
  24652. "closefeealgorithm": {
  24653. "description": "平仓手续费收取方式 1:比率 2:固定",
  24654. "type": "integer"
  24655. },
  24656. "closefreezecharge": {
  24657. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24658. "type": "number"
  24659. },
  24660. "closememberchargevalue": {
  24661. "description": "平仓会员手续费设置值",
  24662. "type": "number"
  24663. },
  24664. "closeqty": {
  24665. "description": "平仓数量(先建后平操作 需要记录)",
  24666. "type": "integer"
  24667. },
  24668. "closetradeqty": {
  24669. "description": "平仓成交数量(先建后平操作,需要记录)",
  24670. "type": "integer"
  24671. },
  24672. "closeunfreezecharge": {
  24673. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24674. "type": "number"
  24675. },
  24676. "delistingtype": {
  24677. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24678. "type": "integer"
  24679. },
  24680. "freezecharge": {
  24681. "description": "冻结手续费",
  24682. "type": "number"
  24683. },
  24684. "freezemargin": {
  24685. "description": "冻结保证金(冻结交易金额)",
  24686. "type": "number"
  24687. },
  24688. "gcaccountid": {
  24689. "description": "账户ID[合约币种]",
  24690. "type": "integer"
  24691. },
  24692. "goodscode": {
  24693. "description": "商品代码",
  24694. "type": "string"
  24695. },
  24696. "goodsid": {
  24697. "description": "商品ID",
  24698. "type": "integer"
  24699. },
  24700. "goodsname": {
  24701. "description": "商品名称",
  24702. "type": "string"
  24703. },
  24704. "histradedate": {
  24705. "description": "历史交易日",
  24706. "type": "string"
  24707. },
  24708. "isconfirmexercise": {
  24709. "description": "是否确认行权- 0:否 1:是",
  24710. "type": "integer"
  24711. },
  24712. "ispreexercise": {
  24713. "description": "是否预申报- 0:否 1:是",
  24714. "type": "integer"
  24715. },
  24716. "isvaliddata": {
  24717. "description": "是否有效 - 0:无效 1:有效",
  24718. "type": "integer"
  24719. },
  24720. "listingselecttype": {
  24721. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24722. "type": "integer"
  24723. },
  24724. "marginalgorithm": {
  24725. "description": "保证金收取方式 1:比率 2:固定",
  24726. "type": "integer"
  24727. },
  24728. "marginvalue": {
  24729. "description": "即市保证金设置值",
  24730. "type": "number"
  24731. },
  24732. "marketid": {
  24733. "description": "市场ID",
  24734. "type": "integer"
  24735. },
  24736. "marketmaxsub": {
  24737. "description": "市价最大偏移范围",
  24738. "type": "number"
  24739. },
  24740. "marketname": {
  24741. "description": "市场名称",
  24742. "type": "string"
  24743. },
  24744. "memberuserid": {
  24745. "description": "所属会员UserID",
  24746. "type": "integer"
  24747. },
  24748. "openexchagechargevalue": {
  24749. "description": "建仓交易所手续费设置值",
  24750. "type": "number"
  24751. },
  24752. "openfeealgorithm": {
  24753. "description": "建仓手续费收取方式 1:比率 2:固定",
  24754. "type": "integer"
  24755. },
  24756. "openfreezecharge": {
  24757. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24758. "type": "number"
  24759. },
  24760. "openmemberchargevalue": {
  24761. "description": "建仓会员手续费设置值",
  24762. "type": "number"
  24763. },
  24764. "openqty": {
  24765. "description": "开仓数量(先建后平操作,需要记录)",
  24766. "type": "integer"
  24767. },
  24768. "opentradeqty": {
  24769. "description": "开仓成交数量(先建后平操作,需要记录)",
  24770. "type": "integer"
  24771. },
  24772. "openunfreezecharge": {
  24773. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24774. "type": "number"
  24775. },
  24776. "operatetype": {
  24777. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24778. "type": "integer"
  24779. },
  24780. "operatorid": {
  24781. "description": "登录账号(LoginID)",
  24782. "type": "integer"
  24783. },
  24784. "optiontype": {
  24785. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24786. "type": "integer"
  24787. },
  24788. "orderid": {
  24789. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24790. "type": "string"
  24791. },
  24792. "orderprice": {
  24793. "description": "委托价格",
  24794. "type": "number"
  24795. },
  24796. "orderqty": {
  24797. "description": "委托数量",
  24798. "type": "integer"
  24799. },
  24800. "ordersrc": {
  24801. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24802. "type": "integer"
  24803. },
  24804. "orderstatus": {
  24805. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24806. "type": "integer"
  24807. },
  24808. "ordertime": {
  24809. "description": "委托时间",
  24810. "type": "string"
  24811. },
  24812. "preexerciseprice": {
  24813. "description": "预申报价格",
  24814. "type": "number"
  24815. },
  24816. "premium": {
  24817. "description": "权利金",
  24818. "type": "number"
  24819. },
  24820. "preorderid": {
  24821. "description": "关联预埋单号(止盈止损单时填写)",
  24822. "type": "string"
  24823. },
  24824. "pricemode": {
  24825. "description": "取价方式 - 1:市价 2: 限价",
  24826. "type": "integer"
  24827. },
  24828. "quoteid": {
  24829. "description": "报价单ID",
  24830. "type": "integer"
  24831. },
  24832. "relatedid": {
  24833. "description": "关联单号(交割单)",
  24834. "type": "string"
  24835. },
  24836. "retcode": {
  24837. "description": "错误代码",
  24838. "type": "integer"
  24839. },
  24840. "sessionid": {
  24841. "description": "会话ID",
  24842. "type": "integer"
  24843. },
  24844. "tradedate": {
  24845. "description": "交易日(yyyyMMdd)",
  24846. "type": "string"
  24847. },
  24848. "trademode": {
  24849. "description": "交易模式",
  24850. "type": "integer"
  24851. },
  24852. "tradeproperty": {
  24853. "description": "交易属性",
  24854. "type": "integer"
  24855. },
  24856. "tradeqty": {
  24857. "description": "成交数量",
  24858. "type": "integer"
  24859. },
  24860. "unfreezecharge": {
  24861. "description": "解冻手续费",
  24862. "type": "number"
  24863. },
  24864. "unfreezemargin": {
  24865. "description": "解冻保证金",
  24866. "type": "number"
  24867. },
  24868. "updatetime": {
  24869. "description": "更新时间",
  24870. "type": "string"
  24871. },
  24872. "uuid": {
  24873. "description": "发起端唯一id",
  24874. "type": "string"
  24875. },
  24876. "validtime": {
  24877. "description": "有效期限",
  24878. "type": "string"
  24879. },
  24880. "validtype": {
  24881. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24882. "type": "integer"
  24883. },
  24884. "volumetype": {
  24885. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24886. "type": "integer"
  24887. }
  24888. }
  24889. },
  24890. "order.QueryTradeDetailRsp": {
  24891. "type": "object",
  24892. "required": [
  24893. "accountid",
  24894. "buyorsell",
  24895. "goodsid",
  24896. "marketid",
  24897. "memberuserid",
  24898. "orderid",
  24899. "tradeamount",
  24900. "tradedate",
  24901. "tradeid",
  24902. "tradeprice",
  24903. "tradeqty",
  24904. "tradetime"
  24905. ],
  24906. "properties": {
  24907. "accountid": {
  24908. "description": "账户ID[报价币种]",
  24909. "type": "integer"
  24910. },
  24911. "buildtype": {
  24912. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24913. "type": "integer"
  24914. },
  24915. "buyorsell": {
  24916. "description": "方向 - 0:买 1:卖",
  24917. "type": "integer"
  24918. },
  24919. "charge": {
  24920. "description": "手续费",
  24921. "type": "number"
  24922. },
  24923. "closecharge": {
  24924. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24925. "type": "number"
  24926. },
  24927. "closeexchagechargevalue": {
  24928. "description": "平仓交易所手续费设置值",
  24929. "type": "number"
  24930. },
  24931. "closefeealgorithm": {
  24932. "description": "平仓手续费收取方式 1:比率 2:固定",
  24933. "type": "integer"
  24934. },
  24935. "closememberchargevalue": {
  24936. "description": "平仓会员手续费设置值",
  24937. "type": "number"
  24938. },
  24939. "closepl": {
  24940. "description": "平仓盈亏",
  24941. "type": "number"
  24942. },
  24943. "closepl2": {
  24944. "description": "平仓盈亏[逐笔]",
  24945. "type": "number"
  24946. },
  24947. "closeqty": {
  24948. "description": "平仓数量(先建后平操作 需要记录)",
  24949. "type": "integer"
  24950. },
  24951. "creditamount": {
  24952. "description": "授信金额",
  24953. "type": "number"
  24954. },
  24955. "gcaccountid": {
  24956. "description": "账户ID[合约币种]",
  24957. "type": "integer"
  24958. },
  24959. "goodscode": {
  24960. "description": "商品代码",
  24961. "type": "string"
  24962. },
  24963. "goodsid": {
  24964. "description": "商品ID",
  24965. "type": "integer"
  24966. },
  24967. "goodsname": {
  24968. "description": "商品名称",
  24969. "type": "string"
  24970. },
  24971. "intclosepl": {
  24972. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24973. "type": "integer"
  24974. },
  24975. "isconfirmexercise": {
  24976. "description": "是否确认行权- 0:否 1:是",
  24977. "type": "integer"
  24978. },
  24979. "ismain": {
  24980. "description": "是否主单 - 0:不是 1:是",
  24981. "type": "integer"
  24982. },
  24983. "ispreexercise": {
  24984. "description": "是否预申报- 0:否 1:是",
  24985. "type": "integer"
  24986. },
  24987. "isreckoned": {
  24988. "description": "是否结算 - 0:未结算 1:已结算",
  24989. "type": "integer"
  24990. },
  24991. "listingselecttype": {
  24992. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24993. "type": "integer"
  24994. },
  24995. "marketid": {
  24996. "description": "市场ID",
  24997. "type": "integer"
  24998. },
  24999. "marketname": {
  25000. "description": "市场名称",
  25001. "type": "string"
  25002. },
  25003. "matchaccountid": {
  25004. "description": "对手账号id",
  25005. "type": "integer"
  25006. },
  25007. "memberuserid": {
  25008. "description": "会员id 个人投资者 需要填写",
  25009. "type": "integer"
  25010. },
  25011. "opencharge": {
  25012. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25013. "type": "number"
  25014. },
  25015. "openexchagechargevalue": {
  25016. "description": "建仓交易所手续费设置值",
  25017. "type": "number"
  25018. },
  25019. "openfeealgorithm": {
  25020. "description": "建仓手续费收取方式 1:比率 2:固定",
  25021. "type": "integer"
  25022. },
  25023. "openmemberchargevalue": {
  25024. "description": "建仓会员手续费设置值",
  25025. "type": "number"
  25026. },
  25027. "openqty": {
  25028. "description": "开仓数量(先建后平操作 需要记录)",
  25029. "type": "integer"
  25030. },
  25031. "optiontype": {
  25032. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25033. "type": "integer"
  25034. },
  25035. "orderid": {
  25036. "description": "委托单号",
  25037. "type": "string"
  25038. },
  25039. "performanceplanid": {
  25040. "description": "履约计划ID[期权]",
  25041. "type": "integer"
  25042. },
  25043. "performancestatus": {
  25044. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25045. "type": "integer"
  25046. },
  25047. "preexerciseprice": {
  25048. "description": "预申报价格",
  25049. "type": "number"
  25050. },
  25051. "premium": {
  25052. "description": "权利金 - [持仓单的权利金]",
  25053. "type": "number"
  25054. },
  25055. "relatedouttradeid": {
  25056. "description": "关联外部成交单ID",
  25057. "type": "integer"
  25058. },
  25059. "status": {
  25060. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  25061. "type": "integer"
  25062. },
  25063. "tradeamount": {
  25064. "description": "成交金额[账户币种,用于所有权]",
  25065. "type": "number"
  25066. },
  25067. "tradedate": {
  25068. "description": "交易日(yyyyMMdd)",
  25069. "type": "string"
  25070. },
  25071. "tradeid": {
  25072. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25073. "type": "string"
  25074. },
  25075. "trademode": {
  25076. "description": "交易模式",
  25077. "type": "integer"
  25078. },
  25079. "tradeprice": {
  25080. "description": "成交价格",
  25081. "type": "number"
  25082. },
  25083. "tradeproperty": {
  25084. "description": "交易属性",
  25085. "type": "integer"
  25086. },
  25087. "tradeqty": {
  25088. "description": "成交数量",
  25089. "type": "integer"
  25090. },
  25091. "tradetime": {
  25092. "description": "成交时间",
  25093. "type": "string"
  25094. },
  25095. "tradetype": {
  25096. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  25097. "type": "integer"
  25098. }
  25099. }
  25100. },
  25101. "order.QueryTradeOrderDetailRsp": {
  25102. "type": "object",
  25103. "required": [
  25104. "accountid",
  25105. "buildtype",
  25106. "buyorsell",
  25107. "goodsid",
  25108. "marketid",
  25109. "operatetype",
  25110. "orderqty",
  25111. "ordertime",
  25112. "pricemode",
  25113. "tradedate",
  25114. "validtype"
  25115. ],
  25116. "properties": {
  25117. "accountid": {
  25118. "description": "账户ID[报价币种]",
  25119. "type": "integer"
  25120. },
  25121. "buildtype": {
  25122. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  25123. "type": "integer"
  25124. },
  25125. "buyorsell": {
  25126. "description": "买卖 - 0:买 1:卖",
  25127. "type": "integer"
  25128. },
  25129. "cancelorderid": {
  25130. "description": "撤单单号(撤单时填写)",
  25131. "type": "string"
  25132. },
  25133. "cancelqty": {
  25134. "description": "撤单数量",
  25135. "type": "integer"
  25136. },
  25137. "clienttype": {
  25138. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25139. "type": "integer"
  25140. },
  25141. "closefreezecharge": {
  25142. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  25143. "type": "number"
  25144. },
  25145. "closeqty": {
  25146. "description": "平仓数量(先建后平操作 需要记录)",
  25147. "type": "integer"
  25148. },
  25149. "closetradeqty": {
  25150. "description": "平仓成交数量(先建后平操作,需要记录)",
  25151. "type": "integer"
  25152. },
  25153. "closeunfreezecharge": {
  25154. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  25155. "type": "number"
  25156. },
  25157. "delistingtype": {
  25158. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  25159. "type": "integer"
  25160. },
  25161. "enableqty": {
  25162. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  25163. "type": "integer"
  25164. },
  25165. "freezecharge": {
  25166. "description": "冻结手续费",
  25167. "type": "number"
  25168. },
  25169. "freezemargin": {
  25170. "description": "冻结保证金(冻结交易金额)",
  25171. "type": "number"
  25172. },
  25173. "goodscode": {
  25174. "description": "商品代码",
  25175. "type": "string"
  25176. },
  25177. "goodsid": {
  25178. "description": "商品ID",
  25179. "type": "integer"
  25180. },
  25181. "goodsname": {
  25182. "description": "商品名称",
  25183. "type": "string"
  25184. },
  25185. "listingselecttype": {
  25186. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25187. "type": "integer"
  25188. },
  25189. "marketid": {
  25190. "description": "市场ID",
  25191. "type": "integer"
  25192. },
  25193. "marketname": {
  25194. "description": "市场名称",
  25195. "type": "string"
  25196. },
  25197. "openfreezecharge": {
  25198. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  25199. "type": "number"
  25200. },
  25201. "openqty": {
  25202. "description": "开仓数量(先建后平操作,需要记录)",
  25203. "type": "integer"
  25204. },
  25205. "opentradeqty": {
  25206. "description": "开仓成交数量(先建后平操作,需要记录)",
  25207. "type": "integer"
  25208. },
  25209. "openunfreezecharge": {
  25210. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  25211. "type": "number"
  25212. },
  25213. "operatetype": {
  25214. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  25215. "type": "integer"
  25216. },
  25217. "operatorid": {
  25218. "description": "登录账号(LoginID)",
  25219. "type": "integer"
  25220. },
  25221. "orderid": {
  25222. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25223. "type": "string"
  25224. },
  25225. "orderprice": {
  25226. "description": "委托价格",
  25227. "type": "number"
  25228. },
  25229. "orderqty": {
  25230. "description": "委托数量",
  25231. "type": "integer"
  25232. },
  25233. "ordersrc": {
  25234. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  25235. "type": "integer"
  25236. },
  25237. "orderstatus": {
  25238. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25239. "type": "integer"
  25240. },
  25241. "ordertime": {
  25242. "description": "委托时间",
  25243. "type": "string"
  25244. },
  25245. "preorderid": {
  25246. "description": "关联预埋单号(止盈止损单时填写)",
  25247. "type": "string"
  25248. },
  25249. "pricemode": {
  25250. "description": "取价方式 - 1:市价 2: 限价",
  25251. "type": "integer"
  25252. },
  25253. "relatedid": {
  25254. "description": "关联单号(交割单)",
  25255. "type": "string"
  25256. },
  25257. "tradedate": {
  25258. "description": "交易日(yyyyMMdd)",
  25259. "type": "string"
  25260. },
  25261. "trademode": {
  25262. "description": "交易模式",
  25263. "type": "integer"
  25264. },
  25265. "tradeqty": {
  25266. "description": "成交数量",
  25267. "type": "integer"
  25268. },
  25269. "unfreezecharge": {
  25270. "description": "解冻手续费",
  25271. "type": "number"
  25272. },
  25273. "unfreezemargin": {
  25274. "description": "解冻保证金",
  25275. "type": "number"
  25276. },
  25277. "validtime": {
  25278. "description": "有效期限",
  25279. "type": "string"
  25280. },
  25281. "validtype": {
  25282. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25283. "type": "integer"
  25284. },
  25285. "volumetype": {
  25286. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25287. "type": "integer"
  25288. }
  25289. }
  25290. },
  25291. "order.QueryTradePositionRsp": {
  25292. "type": "object",
  25293. "required": [
  25294. "goodsid"
  25295. ],
  25296. "properties": {
  25297. "accountid": {
  25298. "description": "资金账户",
  25299. "type": "integer"
  25300. },
  25301. "agreeunit": {
  25302. "description": "合约单位",
  25303. "type": "number"
  25304. },
  25305. "averageprice": {
  25306. "description": "持仓均价",
  25307. "type": "number"
  25308. },
  25309. "buyorsell": {
  25310. "description": "方向 - 0:买 1:卖",
  25311. "type": "integer"
  25312. },
  25313. "closetotalqty": {
  25314. "description": "平仓总数量",
  25315. "type": "integer"
  25316. },
  25317. "curholderamount": {
  25318. "description": "当前持仓总金额[商品币种]",
  25319. "type": "number"
  25320. },
  25321. "curpositionqty": {
  25322. "description": "当前持仓总数量",
  25323. "type": "integer"
  25324. },
  25325. "currencyid": {
  25326. "description": "报价货币ID",
  25327. "type": "integer"
  25328. },
  25329. "curtdposition": {
  25330. "description": "期末今日头寸",
  25331. "type": "integer"
  25332. },
  25333. "decimalplace": {
  25334. "description": "报价小数位",
  25335. "type": "integer"
  25336. },
  25337. "enableqty": {
  25338. "description": "可用量",
  25339. "type": "integer"
  25340. },
  25341. "fretdposition": {
  25342. "description": "冻结今日头寸",
  25343. "type": "integer"
  25344. },
  25345. "frozenqty": {
  25346. "description": "持仓冻结数量",
  25347. "type": "integer"
  25348. },
  25349. "goodscode": {
  25350. "description": "商品代码",
  25351. "type": "string"
  25352. },
  25353. "goodsid": {
  25354. "description": "商品Id",
  25355. "type": "integer"
  25356. },
  25357. "goodsname": {
  25358. "description": "商品名称",
  25359. "type": "string"
  25360. },
  25361. "goodunit": {
  25362. "description": "报价单位",
  25363. "type": "string"
  25364. },
  25365. "goodunitid": {
  25366. "description": "报价单位ID",
  25367. "type": "integer"
  25368. },
  25369. "holderamount": {
  25370. "description": "期初持仓总金额[商品币种]",
  25371. "type": "number"
  25372. },
  25373. "marketid": {
  25374. "description": "所属市场ID",
  25375. "type": "integer"
  25376. },
  25377. "openreqqty": {
  25378. "description": "开仓申请数量(用于比较最大持仓数量)",
  25379. "type": "integer"
  25380. },
  25381. "opentotalqty": {
  25382. "description": "开仓总数量",
  25383. "type": "integer"
  25384. },
  25385. "otherfrozenqty": {
  25386. "description": "持仓其他冻结数量(交割冻结)",
  25387. "type": "integer"
  25388. },
  25389. "positionqty": {
  25390. "description": "期初持仓数量",
  25391. "type": "integer"
  25392. },
  25393. "tnqty": {
  25394. "description": "T+N冻结总量",
  25395. "type": "integer"
  25396. },
  25397. "tnusedqty": {
  25398. "description": "T+N使用量(可以使用T+N的冻结数量)",
  25399. "type": "integer"
  25400. },
  25401. "trademode": {
  25402. "description": "交易模式",
  25403. "type": "integer"
  25404. },
  25405. "usedmargin": {
  25406. "description": "占用保证金[商品币种]",
  25407. "type": "number"
  25408. }
  25409. }
  25410. },
  25411. "quote.HistoryData": {
  25412. "type": "object",
  25413. "properties": {
  25414. "c": {
  25415. "description": "收盘价",
  25416. "type": "number"
  25417. },
  25418. "f": {
  25419. "description": "是否补充数据",
  25420. "type": "boolean"
  25421. },
  25422. "h": {
  25423. "description": "最高价",
  25424. "type": "number"
  25425. },
  25426. "hv": {
  25427. "description": "持仓量",
  25428. "type": "integer"
  25429. },
  25430. "l": {
  25431. "description": "最低价",
  25432. "type": "number"
  25433. },
  25434. "o": {
  25435. "description": "开盘价",
  25436. "type": "number"
  25437. },
  25438. "s": {
  25439. "description": "结算价,日线周期(包括)以上才有",
  25440. "type": "number"
  25441. },
  25442. "ts": {
  25443. "description": "时间",
  25444. "type": "string"
  25445. },
  25446. "tt": {
  25447. "description": "总金额",
  25448. "type": "number"
  25449. },
  25450. "tv": {
  25451. "description": "总量",
  25452. "type": "integer"
  25453. }
  25454. }
  25455. },
  25456. "quote.HistoryTikData": {
  25457. "type": "object",
  25458. "properties": {
  25459. "AV": {
  25460. "description": "卖量",
  25461. "type": "integer"
  25462. },
  25463. "Ask": {
  25464. "description": "卖价",
  25465. "type": "number"
  25466. },
  25467. "BV": {
  25468. "description": "买量",
  25469. "type": "integer"
  25470. },
  25471. "Bid": {
  25472. "description": "买价",
  25473. "type": "number"
  25474. },
  25475. "HI": {
  25476. "description": "单笔持仓",
  25477. "type": "integer"
  25478. },
  25479. "HV": {
  25480. "description": "持仓量",
  25481. "type": "integer"
  25482. },
  25483. "PE": {
  25484. "description": "现价",
  25485. "type": "number"
  25486. },
  25487. "TDR": {
  25488. "description": "交易方向,0:买 1:卖",
  25489. "type": "integer"
  25490. },
  25491. "TK": {
  25492. "description": "交易类型",
  25493. "type": "integer"
  25494. },
  25495. "TS": {
  25496. "description": "行情时间文本",
  25497. "type": "string"
  25498. },
  25499. "TT": {
  25500. "description": "现金额",
  25501. "type": "number"
  25502. },
  25503. "Vol": {
  25504. "description": "现量",
  25505. "type": "integer"
  25506. }
  25507. }
  25508. },
  25509. "quote.QueryQuoteDayRsp": {
  25510. "type": "object",
  25511. "properties": {
  25512. "ask": {
  25513. "description": "卖1",
  25514. "type": "number"
  25515. },
  25516. "ask10": {
  25517. "description": "卖10",
  25518. "type": "number"
  25519. },
  25520. "ask2": {
  25521. "description": "卖2",
  25522. "type": "number"
  25523. },
  25524. "ask3": {
  25525. "description": "卖3",
  25526. "type": "number"
  25527. },
  25528. "ask4": {
  25529. "description": "卖4",
  25530. "type": "number"
  25531. },
  25532. "ask5": {
  25533. "description": "卖5",
  25534. "type": "number"
  25535. },
  25536. "ask6": {
  25537. "description": "卖6",
  25538. "type": "number"
  25539. },
  25540. "ask7": {
  25541. "description": "卖7",
  25542. "type": "number"
  25543. },
  25544. "ask8": {
  25545. "description": "卖8",
  25546. "type": "number"
  25547. },
  25548. "ask9": {
  25549. "description": "卖9",
  25550. "type": "number"
  25551. },
  25552. "askorderid": {
  25553. "description": "卖单号1",
  25554. "type": "integer"
  25555. },
  25556. "askorderid2": {
  25557. "description": "卖单号2",
  25558. "type": "integer"
  25559. },
  25560. "askorderid3": {
  25561. "description": "卖单号3",
  25562. "type": "integer"
  25563. },
  25564. "askorderid4": {
  25565. "description": "卖单号4",
  25566. "type": "integer"
  25567. },
  25568. "askorderid5": {
  25569. "description": "卖单号5",
  25570. "type": "integer"
  25571. },
  25572. "askordervolume": {
  25573. "description": "卖单量1",
  25574. "type": "integer"
  25575. },
  25576. "askordervolume10": {
  25577. "description": "卖单量10",
  25578. "type": "integer"
  25579. },
  25580. "askordervolume2": {
  25581. "description": "卖单量2",
  25582. "type": "integer"
  25583. },
  25584. "askordervolume3": {
  25585. "description": "卖单量3",
  25586. "type": "integer"
  25587. },
  25588. "askordervolume4": {
  25589. "description": "卖单量4",
  25590. "type": "integer"
  25591. },
  25592. "askordervolume5": {
  25593. "description": "卖单量5",
  25594. "type": "integer"
  25595. },
  25596. "askordervolume6": {
  25597. "description": "卖单量6",
  25598. "type": "integer"
  25599. },
  25600. "askordervolume7": {
  25601. "description": "卖单量7",
  25602. "type": "integer"
  25603. },
  25604. "askordervolume8": {
  25605. "description": "卖单量8",
  25606. "type": "integer"
  25607. },
  25608. "askordervolume9": {
  25609. "description": "卖单量9",
  25610. "type": "integer"
  25611. },
  25612. "askqueueinfo": {
  25613. "description": "大利市卖港股用",
  25614. "type": "string"
  25615. },
  25616. "askvolume": {
  25617. "description": "卖量1",
  25618. "type": "integer"
  25619. },
  25620. "askvolume10": {
  25621. "description": "卖量10",
  25622. "type": "integer"
  25623. },
  25624. "askvolume2": {
  25625. "description": "卖量2",
  25626. "type": "integer"
  25627. },
  25628. "askvolume3": {
  25629. "description": "卖量3",
  25630. "type": "integer"
  25631. },
  25632. "askvolume4": {
  25633. "description": "卖量4",
  25634. "type": "integer"
  25635. },
  25636. "askvolume5": {
  25637. "description": "卖量5",
  25638. "type": "integer"
  25639. },
  25640. "askvolume6": {
  25641. "description": "卖量6",
  25642. "type": "integer"
  25643. },
  25644. "askvolume7": {
  25645. "description": "卖量7",
  25646. "type": "integer"
  25647. },
  25648. "askvolume8": {
  25649. "description": "卖量8",
  25650. "type": "integer"
  25651. },
  25652. "askvolume9": {
  25653. "description": "卖量9",
  25654. "type": "integer"
  25655. },
  25656. "averageprice": {
  25657. "description": "均价",
  25658. "type": "number"
  25659. },
  25660. "bid": {
  25661. "description": "买1",
  25662. "type": "number"
  25663. },
  25664. "bid10": {
  25665. "description": "买10",
  25666. "type": "number"
  25667. },
  25668. "bid2": {
  25669. "description": "买2",
  25670. "type": "number"
  25671. },
  25672. "bid3": {
  25673. "description": "买3",
  25674. "type": "number"
  25675. },
  25676. "bid4": {
  25677. "description": "买4",
  25678. "type": "number"
  25679. },
  25680. "bid5": {
  25681. "description": "买5",
  25682. "type": "number"
  25683. },
  25684. "bid6": {
  25685. "description": "买6",
  25686. "type": "number"
  25687. },
  25688. "bid7": {
  25689. "description": "买7",
  25690. "type": "number"
  25691. },
  25692. "bid8": {
  25693. "description": "买8",
  25694. "type": "number"
  25695. },
  25696. "bid9": {
  25697. "description": "买9",
  25698. "type": "number"
  25699. },
  25700. "bidorderid": {
  25701. "description": "买单号1",
  25702. "type": "integer"
  25703. },
  25704. "bidorderid2": {
  25705. "description": "买单号2",
  25706. "type": "integer"
  25707. },
  25708. "bidorderid3": {
  25709. "description": "买单号3",
  25710. "type": "integer"
  25711. },
  25712. "bidorderid4": {
  25713. "description": "买单号4",
  25714. "type": "integer"
  25715. },
  25716. "bidorderid5": {
  25717. "description": "买单号5",
  25718. "type": "integer"
  25719. },
  25720. "bidordervolume": {
  25721. "description": "买单量1",
  25722. "type": "integer"
  25723. },
  25724. "bidordervolume10": {
  25725. "description": "买单量10",
  25726. "type": "integer"
  25727. },
  25728. "bidordervolume2": {
  25729. "description": "买单量2",
  25730. "type": "integer"
  25731. },
  25732. "bidordervolume3": {
  25733. "description": "买单量3",
  25734. "type": "integer"
  25735. },
  25736. "bidordervolume4": {
  25737. "description": "买单量4",
  25738. "type": "integer"
  25739. },
  25740. "bidordervolume5": {
  25741. "description": "买单量5",
  25742. "type": "integer"
  25743. },
  25744. "bidordervolume6": {
  25745. "description": "买单量6",
  25746. "type": "integer"
  25747. },
  25748. "bidordervolume7": {
  25749. "description": "买单量7",
  25750. "type": "integer"
  25751. },
  25752. "bidordervolume8": {
  25753. "description": "买单量8",
  25754. "type": "integer"
  25755. },
  25756. "bidordervolume9": {
  25757. "description": "买单量9",
  25758. "type": "integer"
  25759. },
  25760. "bidqueueinfo": {
  25761. "description": "大利市买港股用",
  25762. "type": "string"
  25763. },
  25764. "bidvolume": {
  25765. "description": "买量1",
  25766. "type": "integer"
  25767. },
  25768. "bidvolume10": {
  25769. "description": "买量10",
  25770. "type": "integer"
  25771. },
  25772. "bidvolume2": {
  25773. "description": "买量2",
  25774. "type": "integer"
  25775. },
  25776. "bidvolume3": {
  25777. "description": "买量3",
  25778. "type": "integer"
  25779. },
  25780. "bidvolume4": {
  25781. "description": "买量4",
  25782. "type": "integer"
  25783. },
  25784. "bidvolume5": {
  25785. "description": "买量5",
  25786. "type": "integer"
  25787. },
  25788. "bidvolume6": {
  25789. "description": "买量6",
  25790. "type": "integer"
  25791. },
  25792. "bidvolume7": {
  25793. "description": "买量7",
  25794. "type": "integer"
  25795. },
  25796. "bidvolume8": {
  25797. "description": "买量8",
  25798. "type": "integer"
  25799. },
  25800. "bidvolume9": {
  25801. "description": "买量9",
  25802. "type": "integer"
  25803. },
  25804. "calloptionpremiums": {
  25805. "description": "认购期权1",
  25806. "type": "integer"
  25807. },
  25808. "calloptionpremiums2": {
  25809. "description": "认购期权2",
  25810. "type": "integer"
  25811. },
  25812. "calloptionpremiums3": {
  25813. "description": "认购期权3",
  25814. "type": "integer"
  25815. },
  25816. "calloptionpremiums4": {
  25817. "description": "认购期权4",
  25818. "type": "integer"
  25819. },
  25820. "calloptionpremiums5": {
  25821. "description": "认购期权5",
  25822. "type": "integer"
  25823. },
  25824. "cleartime": {
  25825. "description": "清盘时间",
  25826. "type": "integer"
  25827. },
  25828. "exchangecode": {
  25829. "description": "交易所代码",
  25830. "type": "integer"
  25831. },
  25832. "exchangedate": {
  25833. "description": "交易日",
  25834. "type": "integer"
  25835. },
  25836. "goodscode": {
  25837. "description": "商品代码",
  25838. "type": "string"
  25839. },
  25840. "grepmarketprice": {
  25841. "description": "暗盘价 港股专用",
  25842. "type": "number"
  25843. },
  25844. "highest": {
  25845. "description": "最高价",
  25846. "type": "number"
  25847. },
  25848. "holdincrement": {
  25849. "description": "单笔持仓",
  25850. "type": "integer"
  25851. },
  25852. "holdvolume": {
  25853. "description": "持仓",
  25854. "type": "integer"
  25855. },
  25856. "iep": {
  25857. "description": "平衡价 港股专用",
  25858. "type": "number"
  25859. },
  25860. "iev": {
  25861. "description": "平衡量 港股专用",
  25862. "type": "number"
  25863. },
  25864. "inventory": {
  25865. "description": "库存",
  25866. "type": "integer"
  25867. },
  25868. "iscleared": {
  25869. "description": "是否清盘标志",
  25870. "type": "integer"
  25871. },
  25872. "issettled": {
  25873. "description": "是否结算标志",
  25874. "type": "integer"
  25875. },
  25876. "last": {
  25877. "description": "最新价",
  25878. "type": "number"
  25879. },
  25880. "lastlot": {
  25881. "description": "最新成交手数",
  25882. "type": "integer"
  25883. },
  25884. "lasttime": {
  25885. "description": "行情时间(只有现价变化行情时间才变化)",
  25886. "type": "string"
  25887. },
  25888. "lastturnover": {
  25889. "description": "最新成交金额",
  25890. "type": "number"
  25891. },
  25892. "lastvolume": {
  25893. "description": "最新成交量",
  25894. "type": "integer"
  25895. },
  25896. "limitdown": {
  25897. "description": "跌停价",
  25898. "type": "number"
  25899. },
  25900. "limitup": {
  25901. "description": "涨停价",
  25902. "type": "number"
  25903. },
  25904. "lowest": {
  25905. "description": "最低价",
  25906. "type": "number"
  25907. },
  25908. "nontotalholdervolume": {
  25909. "description": "非交易持仓量",
  25910. "type": "integer"
  25911. },
  25912. "nontotallot": {
  25913. "description": "非交易总手数",
  25914. "type": "integer"
  25915. },
  25916. "nontotalturnover": {
  25917. "description": "非交易总金额",
  25918. "type": "integer"
  25919. },
  25920. "nontotalvolume": {
  25921. "description": "非交易总量",
  25922. "type": "integer"
  25923. },
  25924. "opened": {
  25925. "description": "开盘价",
  25926. "type": "number"
  25927. },
  25928. "opentime": {
  25929. "description": "开盘时间",
  25930. "type": "string"
  25931. },
  25932. "orderid": {
  25933. "description": "序号",
  25934. "type": "integer"
  25935. },
  25936. "preclose": {
  25937. "description": "昨收",
  25938. "type": "number"
  25939. },
  25940. "preholdvolume": {
  25941. "description": "昨持仓",
  25942. "type": "integer"
  25943. },
  25944. "presettle": {
  25945. "description": "昨结价",
  25946. "type": "number"
  25947. },
  25948. "publictradetype": {
  25949. "description": "公共交易标志类型 港股专用",
  25950. "type": "string"
  25951. },
  25952. "putoptionpremiums": {
  25953. "description": "认沽期权1",
  25954. "type": "integer"
  25955. },
  25956. "putoptionpremiums2": {
  25957. "description": "认沽期权2",
  25958. "type": "integer"
  25959. },
  25960. "putoptionpremiums3": {
  25961. "description": "认沽期权3",
  25962. "type": "integer"
  25963. },
  25964. "putoptionpremiums4": {
  25965. "description": "认沽期权4",
  25966. "type": "integer"
  25967. },
  25968. "putoptionpremiums5": {
  25969. "description": "认沽期权5",
  25970. "type": "integer"
  25971. },
  25972. "settle": {
  25973. "description": "结算价",
  25974. "type": "number"
  25975. },
  25976. "strikeprice": {
  25977. "description": "发行价",
  25978. "type": "number"
  25979. },
  25980. "totalaskvolume": {
  25981. "description": "内盘",
  25982. "type": "integer"
  25983. },
  25984. "totalbidvolume": {
  25985. "description": "外盘",
  25986. "type": "integer"
  25987. },
  25988. "totallot": {
  25989. "description": "总手数",
  25990. "type": "integer"
  25991. },
  25992. "totalturnover": {
  25993. "description": "总金额",
  25994. "type": "number"
  25995. },
  25996. "totalvolume": {
  25997. "description": "总量",
  25998. "type": "integer"
  25999. },
  26000. "utclasttime": {
  26001. "description": "utc的行情时间",
  26002. "type": "string"
  26003. }
  26004. }
  26005. },
  26006. "quote.QueryTSDataRsp": {
  26007. "type": "object",
  26008. "properties": {
  26009. "Count": {
  26010. "description": "交易日应有数据个数",
  26011. "type": "integer"
  26012. },
  26013. "decimalPlace": {
  26014. "description": "小数位",
  26015. "type": "integer"
  26016. },
  26017. "endTime": {
  26018. "description": "结束时间",
  26019. "type": "string"
  26020. },
  26021. "goodsCode": {
  26022. "description": "商品代码",
  26023. "type": "string"
  26024. },
  26025. "historyDatas": {
  26026. "description": "历史数据",
  26027. "type": "array",
  26028. "items": {
  26029. "$ref": "#/definitions/quote.HistoryData"
  26030. }
  26031. },
  26032. "outGoodsCode": {
  26033. "description": "外部商品代码",
  26034. "type": "string"
  26035. },
  26036. "preSettle": {
  26037. "description": "昨结价",
  26038. "type": "number"
  26039. },
  26040. "runSteps": {
  26041. "description": "交易日开休市计划",
  26042. "type": "array",
  26043. "items": {
  26044. "$ref": "#/definitions/quote.TSDataRunStep"
  26045. }
  26046. },
  26047. "startTime": {
  26048. "description": "开始时间",
  26049. "type": "string"
  26050. },
  26051. "tradeDate": {
  26052. "description": "交易日",
  26053. "type": "string"
  26054. }
  26055. }
  26056. },
  26057. "quote.TSDataRunStep": {
  26058. "type": "object",
  26059. "properties": {
  26060. "end": {
  26061. "description": "真实结束时间",
  26062. "type": "string"
  26063. },
  26064. "endflag": {
  26065. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  26066. "type": "integer"
  26067. },
  26068. "endtime": {
  26069. "description": "结束时间(HH:mm)",
  26070. "type": "string"
  26071. },
  26072. "endweekday": {
  26073. "description": "结束周几",
  26074. "type": "integer"
  26075. },
  26076. "groupid": {
  26077. "description": "分组ID",
  26078. "type": "integer"
  26079. },
  26080. "runstep": {
  26081. "description": "运行阶段 - 2:连续交易",
  26082. "type": "integer"
  26083. },
  26084. "sectionid": {
  26085. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  26086. "type": "integer"
  26087. },
  26088. "start": {
  26089. "description": "真实开始时间",
  26090. "type": "string"
  26091. },
  26092. "startflag": {
  26093. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  26094. "type": "integer"
  26095. },
  26096. "starttime": {
  26097. "description": "起始时间(HH:mm)",
  26098. "type": "string"
  26099. },
  26100. "startweekday": {
  26101. "description": "起始周几",
  26102. "type": "integer"
  26103. },
  26104. "tradeweekday": {
  26105. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  26106. "type": "integer"
  26107. }
  26108. }
  26109. },
  26110. "szdz.QueryConvertLogRsp": {
  26111. "type": "object",
  26112. "required": [
  26113. "logid"
  26114. ],
  26115. "properties": {
  26116. "accountid": {
  26117. "description": "资金账户ID",
  26118. "type": "integer"
  26119. },
  26120. "clientticket": {
  26121. "description": "客户端流水号",
  26122. "type": "string"
  26123. },
  26124. "converttype": {
  26125. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  26126. "type": "integer"
  26127. },
  26128. "createtime": {
  26129. "description": "记账时间",
  26130. "type": "string"
  26131. },
  26132. "daymaxvalue": {
  26133. "description": "配置当日最大转入限制",
  26134. "type": "number"
  26135. },
  26136. "daymaxvalue2": {
  26137. "description": "配置当日最大转入限制(转入)",
  26138. "type": "number"
  26139. },
  26140. "goodscode": {
  26141. "description": "商品代码",
  26142. "type": "string"
  26143. },
  26144. "goodsname": {
  26145. "description": "商品名称",
  26146. "type": "string"
  26147. },
  26148. "handlestatus": {
  26149. "description": "处理状态",
  26150. "type": "integer"
  26151. },
  26152. "innergoodsid": {
  26153. "description": "内部商品ID",
  26154. "type": "integer"
  26155. },
  26156. "inratio": {
  26157. "description": "配置转入比值",
  26158. "type": "integer"
  26159. },
  26160. "invalue": {
  26161. "description": "目标值",
  26162. "type": "number"
  26163. },
  26164. "logid": {
  26165. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26166. "type": "integer"
  26167. },
  26168. "mobile": {
  26169. "description": "手机号码(加密存储)",
  26170. "type": "string"
  26171. },
  26172. "outergoodscode": {
  26173. "description": "外部商品代码[JD\\PD]",
  26174. "type": "string"
  26175. },
  26176. "outratio": {
  26177. "description": "配置转出比值",
  26178. "type": "integer"
  26179. },
  26180. "outvalue": {
  26181. "description": "源值",
  26182. "type": "number"
  26183. },
  26184. "pddecimalplace": {
  26185. "description": "PD小数位",
  26186. "type": "integer"
  26187. },
  26188. "qty": {
  26189. "description": "数量",
  26190. "type": "string"
  26191. },
  26192. "remark": {
  26193. "description": "备注",
  26194. "type": "string"
  26195. },
  26196. "sessionid": {
  26197. "description": "会话ID",
  26198. "type": "integer"
  26199. },
  26200. "timemaxvalue": {
  26201. "description": "配置单次最大转入限制",
  26202. "type": "number"
  26203. },
  26204. "timemaxvalue2": {
  26205. "description": "配置单次最大转入限制(转入)",
  26206. "type": "number"
  26207. },
  26208. "timeminvalue": {
  26209. "description": "配置单次最小数量限制",
  26210. "type": "number"
  26211. },
  26212. "timeminvalue2": {
  26213. "description": "配置单次最小数量限制(转入)",
  26214. "type": "number"
  26215. },
  26216. "tradedate": {
  26217. "description": "交易日(yyyyMMdd)",
  26218. "type": "string"
  26219. },
  26220. "userid": {
  26221. "description": "用户ID",
  26222. "type": "integer"
  26223. }
  26224. }
  26225. },
  26226. "szdz.QueryGoodsPickupRsp": {
  26227. "type": "object",
  26228. "required": [
  26229. "takeorderid"
  26230. ],
  26231. "properties": {
  26232. "accountid": {
  26233. "description": "账户ID",
  26234. "type": "integer"
  26235. },
  26236. "address": {
  26237. "description": "提货人详细地址",
  26238. "type": "string"
  26239. },
  26240. "auditer": {
  26241. "description": "审核人",
  26242. "type": "integer"
  26243. },
  26244. "audittime": {
  26245. "description": "审核时间",
  26246. "type": "string"
  26247. },
  26248. "cardnum": {
  26249. "description": "提货人证件号码",
  26250. "type": "string"
  26251. },
  26252. "cardtypeid": {
  26253. "description": "提货人证件类型",
  26254. "type": "integer"
  26255. },
  26256. "checkremark": {
  26257. "description": "审核备注",
  26258. "type": "string"
  26259. },
  26260. "goodscode": {
  26261. "description": "商品代码",
  26262. "type": "string"
  26263. },
  26264. "goodsid": {
  26265. "description": "商品ID",
  26266. "type": "integer"
  26267. },
  26268. "goodsname": {
  26269. "description": "商品名称",
  26270. "type": "string"
  26271. },
  26272. "handlestatus": {
  26273. "description": "处理状态",
  26274. "type": "integer"
  26275. },
  26276. "marketid": {
  26277. "description": "市场ID",
  26278. "type": "integer"
  26279. },
  26280. "phonenum": {
  26281. "description": "提货人联系方式",
  26282. "type": "string"
  26283. },
  26284. "qty": {
  26285. "description": "提货数量",
  26286. "type": "number"
  26287. },
  26288. "recivername": {
  26289. "description": "提货人姓名",
  26290. "type": "string"
  26291. },
  26292. "reqtime": {
  26293. "description": "更新时间",
  26294. "type": "string"
  26295. },
  26296. "takemode": {
  26297. "description": "提货方式 - 2:自提 3:配送",
  26298. "type": "integer"
  26299. },
  26300. "takeorderid": {
  26301. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26302. "type": "string"
  26303. },
  26304. "takeorderstatus": {
  26305. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26306. "type": "integer"
  26307. },
  26308. "takeremark": {
  26309. "description": "提货备注",
  26310. "type": "string"
  26311. },
  26312. "tradedate": {
  26313. "description": "交易日(yyyyMMdd)",
  26314. "type": "string"
  26315. },
  26316. "userid": {
  26317. "description": "用户ID",
  26318. "type": "integer"
  26319. }
  26320. }
  26321. },
  26322. "szdz.QueryRecieptOrderRsp": {
  26323. "type": "object",
  26324. "required": [
  26325. "ordertime"
  26326. ],
  26327. "properties": {
  26328. "accountName": {
  26329. "description": "所属账号名称(已脱敏)",
  26330. "type": "string"
  26331. },
  26332. "accountid": {
  26333. "description": "资金账号",
  26334. "type": "integer"
  26335. },
  26336. "buyorsell": {
  26337. "description": "方向 - 0:买 1:卖",
  26338. "type": "integer"
  26339. },
  26340. "enableqty": {
  26341. "description": "可摘数量",
  26342. "type": "integer"
  26343. },
  26344. "goodscode": {
  26345. "description": "商品代码",
  26346. "type": "string"
  26347. },
  26348. "goodsid": {
  26349. "description": "商品ID",
  26350. "type": "integer"
  26351. },
  26352. "goodsname": {
  26353. "description": "商品名称",
  26354. "type": "string"
  26355. },
  26356. "orderid": {
  26357. "description": "委托单号",
  26358. "type": "string"
  26359. },
  26360. "orderprice": {
  26361. "description": "委托价格",
  26362. "type": "number"
  26363. },
  26364. "ordertime": {
  26365. "description": "委托时间",
  26366. "type": "string"
  26367. },
  26368. "tradedate": {
  26369. "description": "交易日(yyyyMMdd)",
  26370. "type": "string"
  26371. }
  26372. }
  26373. },
  26374. "szdz.QuerySZDZTradePositionRsp": {
  26375. "type": "object",
  26376. "properties": {
  26377. "accountid": {
  26378. "description": "账号Id",
  26379. "type": "integer"
  26380. },
  26381. "agreeunit": {
  26382. "description": "合约单位",
  26383. "type": "number"
  26384. },
  26385. "averageprice": {
  26386. "description": "持仓均价",
  26387. "type": "number"
  26388. },
  26389. "buyorsell": {
  26390. "description": "方向 - 0:买 1:卖",
  26391. "type": "integer"
  26392. },
  26393. "closetotalqty": {
  26394. "description": "平仓总数量",
  26395. "type": "integer"
  26396. },
  26397. "curholderamount": {
  26398. "description": "当前持仓总金额",
  26399. "type": "number"
  26400. },
  26401. "curpositionqty": {
  26402. "description": "当前持仓总数量",
  26403. "type": "integer"
  26404. },
  26405. "currencyid": {
  26406. "description": "报价货币ID",
  26407. "type": "integer"
  26408. },
  26409. "curtdposition": {
  26410. "description": "期末今日头寸",
  26411. "type": "integer"
  26412. },
  26413. "decimalplace": {
  26414. "description": "报价小数位",
  26415. "type": "integer"
  26416. },
  26417. "enableqty": {
  26418. "description": "可用量",
  26419. "type": "integer"
  26420. },
  26421. "fretdposition": {
  26422. "description": "冻结今日头寸",
  26423. "type": "integer"
  26424. },
  26425. "frozenqty": {
  26426. "description": "持仓冻结数量",
  26427. "type": "integer"
  26428. },
  26429. "goodscode": {
  26430. "description": "商品代码(内部)",
  26431. "type": "string"
  26432. },
  26433. "goodsid": {
  26434. "description": "商品Id",
  26435. "type": "integer"
  26436. },
  26437. "goodsname": {
  26438. "description": "商品名称",
  26439. "type": "string"
  26440. },
  26441. "goodunit": {
  26442. "description": "报价单位",
  26443. "type": "string"
  26444. },
  26445. "goodunitid": {
  26446. "description": "报价单位ID",
  26447. "type": "integer"
  26448. },
  26449. "holderamount": {
  26450. "description": "期初持仓总金额",
  26451. "type": "number"
  26452. },
  26453. "marketid": {
  26454. "description": "市场ID",
  26455. "type": "integer"
  26456. },
  26457. "openreqqty": {
  26458. "description": "开仓申请数量",
  26459. "type": "integer"
  26460. },
  26461. "opentotalqty": {
  26462. "description": "开仓总数量",
  26463. "type": "integer"
  26464. },
  26465. "otherfrozenqty": {
  26466. "description": "持仓其他冻结数量(交割冻结)",
  26467. "type": "integer"
  26468. },
  26469. "positionqty": {
  26470. "description": "期初持仓数量",
  26471. "type": "integer"
  26472. },
  26473. "szdz3freezqty": {
  26474. "description": "尚志大宗转换冻结总数量",
  26475. "type": "integer"
  26476. },
  26477. "tnqty": {
  26478. "description": "T+N冻结总量",
  26479. "type": "integer"
  26480. },
  26481. "tnusedqty": {
  26482. "description": "T+N使用量",
  26483. "type": "integer"
  26484. },
  26485. "trademode": {
  26486. "description": "交易模式",
  26487. "type": "integer"
  26488. },
  26489. "usedmargin": {
  26490. "description": "占用保证金",
  26491. "type": "number"
  26492. }
  26493. }
  26494. },
  26495. "taaccount.QueryAmountLogRsp": {
  26496. "type": "object",
  26497. "required": [
  26498. "accountid",
  26499. "amount",
  26500. "amountadjusttype",
  26501. "autoid",
  26502. "balance",
  26503. "createtime",
  26504. "currentbalance",
  26505. "operatetype"
  26506. ],
  26507. "properties": {
  26508. "OPERATETYPENAME": {
  26509. "description": "资金操作类型名称",
  26510. "type": "string"
  26511. },
  26512. "accountid": {
  26513. "description": "资金账户ID",
  26514. "type": "integer"
  26515. },
  26516. "agoodscode": {
  26517. "description": "竞拍商品代码",
  26518. "type": "string"
  26519. },
  26520. "agoodsname": {
  26521. "description": "竞拍商品名称",
  26522. "type": "string"
  26523. },
  26524. "amount": {
  26525. "description": "资金金额",
  26526. "type": "number"
  26527. },
  26528. "amountadjusttype": {
  26529. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26530. "type": "integer"
  26531. },
  26532. "autoid": {
  26533. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26534. "type": "integer"
  26535. },
  26536. "balance": {
  26537. "description": "期初余额",
  26538. "type": "number"
  26539. },
  26540. "businesscode": {
  26541. "description": "业务编号",
  26542. "type": "integer"
  26543. },
  26544. "createtime": {
  26545. "description": "发生时间",
  26546. "type": "string"
  26547. },
  26548. "currencyid": {
  26549. "description": "币种ID",
  26550. "type": "integer"
  26551. },
  26552. "currentbalance": {
  26553. "description": "期末余额(变动后金额)",
  26554. "type": "number"
  26555. },
  26556. "dgoodscode": {
  26557. "description": "交割商品代码",
  26558. "type": "string"
  26559. },
  26560. "dgoodsname": {
  26561. "description": "交割商品名称",
  26562. "type": "string"
  26563. },
  26564. "goodscode": {
  26565. "description": "商品代码",
  26566. "type": "string"
  26567. },
  26568. "goodsid": {
  26569. "description": "商品ID",
  26570. "type": "integer"
  26571. },
  26572. "goodsname": {
  26573. "description": "商品名称",
  26574. "type": "string"
  26575. },
  26576. "marketid": {
  26577. "description": "市场ID",
  26578. "type": "integer"
  26579. },
  26580. "marketname": {
  26581. "description": "市场名称",
  26582. "type": "string"
  26583. },
  26584. "moneyticket": {
  26585. "description": "资金流水号:银行端流水号",
  26586. "type": "integer"
  26587. },
  26588. "operatetype": {
  26589. "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:营销收款",
  26590. "type": "integer"
  26591. },
  26592. "relationorderid": {
  26593. "description": "关联单号",
  26594. "type": "string"
  26595. },
  26596. "remark": {
  26597. "description": "备注",
  26598. "type": "string"
  26599. },
  26600. "trademode": {
  26601. "description": "交易模式",
  26602. "type": "integer"
  26603. }
  26604. }
  26605. },
  26606. "taaccount.QueryHisAmountLogRsp": {
  26607. "type": "object",
  26608. "required": [
  26609. "accountid",
  26610. "amount",
  26611. "amountadjusttype",
  26612. "autoid",
  26613. "balance",
  26614. "createtime",
  26615. "currentbalance",
  26616. "histradedate",
  26617. "operatetype"
  26618. ],
  26619. "properties": {
  26620. "OPERATETYPENAME": {
  26621. "description": "资金操作类型名称",
  26622. "type": "string"
  26623. },
  26624. "accountid": {
  26625. "description": "资金账户ID",
  26626. "type": "integer"
  26627. },
  26628. "agoodscode": {
  26629. "description": "竞拍商品代码",
  26630. "type": "string"
  26631. },
  26632. "agoodsname": {
  26633. "description": "竞拍商品名称",
  26634. "type": "string"
  26635. },
  26636. "amount": {
  26637. "description": "资金金额",
  26638. "type": "number"
  26639. },
  26640. "amountadjusttype": {
  26641. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26642. "type": "integer"
  26643. },
  26644. "autoid": {
  26645. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26646. "type": "integer"
  26647. },
  26648. "balance": {
  26649. "description": "期初余额",
  26650. "type": "number"
  26651. },
  26652. "businesscode": {
  26653. "description": "业务编号",
  26654. "type": "integer"
  26655. },
  26656. "createtime": {
  26657. "description": "发生时间",
  26658. "type": "string"
  26659. },
  26660. "currencyid": {
  26661. "description": "币种ID",
  26662. "type": "integer"
  26663. },
  26664. "currentbalance": {
  26665. "description": "期末余额(变动后金额)",
  26666. "type": "number"
  26667. },
  26668. "dgoodscode": {
  26669. "description": "交割商品代码",
  26670. "type": "string"
  26671. },
  26672. "dgoodsname": {
  26673. "description": "交割商品名称",
  26674. "type": "string"
  26675. },
  26676. "goodscode": {
  26677. "description": "商品代码",
  26678. "type": "string"
  26679. },
  26680. "goodsid": {
  26681. "description": "商品ID",
  26682. "type": "integer"
  26683. },
  26684. "goodsname": {
  26685. "description": "商品名称",
  26686. "type": "string"
  26687. },
  26688. "histradedate": {
  26689. "description": "历史交易日",
  26690. "type": "string"
  26691. },
  26692. "isvaliddata": {
  26693. "description": "是否有效 - 0:无效 1:有效",
  26694. "type": "integer"
  26695. },
  26696. "marketid": {
  26697. "description": "市场ID",
  26698. "type": "integer"
  26699. },
  26700. "marketname": {
  26701. "description": "市场名称",
  26702. "type": "string"
  26703. },
  26704. "moneyticket": {
  26705. "description": "资金流水号:银行端流水号",
  26706. "type": "integer"
  26707. },
  26708. "operatetype": {
  26709. "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:营销收款",
  26710. "type": "integer"
  26711. },
  26712. "relationorderid": {
  26713. "description": "关联单号",
  26714. "type": "string"
  26715. },
  26716. "remark": {
  26717. "description": "备注",
  26718. "type": "string"
  26719. },
  26720. "trademode": {
  26721. "description": "交易模式",
  26722. "type": "integer"
  26723. }
  26724. }
  26725. },
  26726. "trade.QueryRecieptOrderRsp": {
  26727. "type": "object",
  26728. "required": [
  26729. "ordertime"
  26730. ],
  26731. "properties": {
  26732. "accountName": {
  26733. "description": "所属账号名称(已脱敏)",
  26734. "type": "string"
  26735. },
  26736. "accountid": {
  26737. "description": "资金账号",
  26738. "type": "integer"
  26739. },
  26740. "buyorsell": {
  26741. "description": "方向 - 0:买 1:卖",
  26742. "type": "integer"
  26743. },
  26744. "enableqty": {
  26745. "description": "可摘数量",
  26746. "type": "integer"
  26747. },
  26748. "goodscode": {
  26749. "description": "商品代码",
  26750. "type": "string"
  26751. },
  26752. "goodsid": {
  26753. "description": "商品ID",
  26754. "type": "integer"
  26755. },
  26756. "goodsname": {
  26757. "description": "商品名称",
  26758. "type": "string"
  26759. },
  26760. "orderid": {
  26761. "description": "委托单号",
  26762. "type": "string"
  26763. },
  26764. "orderprice": {
  26765. "description": "委托价格",
  26766. "type": "number"
  26767. },
  26768. "ordertime": {
  26769. "description": "委托时间",
  26770. "type": "string"
  26771. },
  26772. "tradedate": {
  26773. "description": "交易日(yyyyMMdd)",
  26774. "type": "string"
  26775. }
  26776. }
  26777. },
  26778. "user.LoginQueryRsp": {
  26779. "type": "object",
  26780. "properties": {
  26781. "areaRoles": {
  26782. "description": "所属角色信息",
  26783. "type": "array",
  26784. "items": {
  26785. "$ref": "#/definitions/models.Arearole"
  26786. }
  26787. },
  26788. "externalExchanges": {
  26789. "description": "外部交易所",
  26790. "type": "array",
  26791. "items": {
  26792. "$ref": "#/definitions/models.Externalexchange"
  26793. }
  26794. },
  26795. "goodsgroups": {
  26796. "description": "商品组",
  26797. "type": "array",
  26798. "items": {
  26799. "$ref": "#/definitions/models.Goodsgroup"
  26800. }
  26801. },
  26802. "loginAccount": {
  26803. "description": "登录账号",
  26804. "type": "object",
  26805. "$ref": "#/definitions/models.Loginaccount"
  26806. },
  26807. "markets": {
  26808. "description": "市场",
  26809. "type": "array",
  26810. "items": {
  26811. "$ref": "#/definitions/models.Market"
  26812. }
  26813. },
  26814. "systemParams": {
  26815. "description": "系统参数",
  26816. "type": "array",
  26817. "items": {
  26818. "$ref": "#/definitions/models.Systemparam"
  26819. }
  26820. },
  26821. "userAccount": {
  26822. "description": "用户账号",
  26823. "type": "object",
  26824. "$ref": "#/definitions/models.Useraccount"
  26825. },
  26826. "userInfo": {
  26827. "description": "用户信息",
  26828. "type": "object",
  26829. "$ref": "#/definitions/models.Userinfo"
  26830. },
  26831. "username": {
  26832. "description": "用户姓名",
  26833. "type": "string"
  26834. }
  26835. }
  26836. }
  26837. },
  26838. "securityDefinitions": {
  26839. "ApiKeyAuth": {
  26840. "type": "apiKey",
  26841. "name": "Authorization",
  26842. "in": "header"
  26843. }
  26844. }
  26845. }`
  26846. type swaggerInfo struct {
  26847. Version string
  26848. Host string
  26849. BasePath string
  26850. Schemes []string
  26851. Title string
  26852. Description string
  26853. }
  26854. // SwaggerInfo holds exported Swagger Info so clients can modify it
  26855. var SwaggerInfo = swaggerInfo{
  26856. Version: "1.0",
  26857. Host: "",
  26858. BasePath: "/api",
  26859. Schemes: []string{},
  26860. Title: "MTP2.0 查询服务 API",
  26861. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  26862. }
  26863. type s struct{}
  26864. func (s *s) ReadDoc() string {
  26865. sInfo := SwaggerInfo
  26866. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  26867. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  26868. "marshal": func(v interface{}) string {
  26869. a, _ := json.Marshal(v)
  26870. return string(a)
  26871. },
  26872. }).Parse(doc)
  26873. if err != nil {
  26874. return doc
  26875. }
  26876. var tpl bytes.Buffer
  26877. if err := t.Execute(&tpl, sInfo); err != nil {
  26878. return doc
  26879. }
  26880. return tpl.String()
  26881. }
  26882. func init() {
  26883. swag.Register(swag.Name, &s{})
  26884. }