docs.go 977 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115
  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/QueryRootUserAccount": {
  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. "responses": {
  4441. "200": {
  4442. "description": "OK",
  4443. "schema": {
  4444. "type": "array",
  4445. "items": {
  4446. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4447. }
  4448. }
  4449. },
  4450. "500": {
  4451. "description": "Internal Server Error",
  4452. "schema": {
  4453. "$ref": "#/definitions/app.Response"
  4454. }
  4455. }
  4456. }
  4457. }
  4458. },
  4459. "/Ermcp3/QuerySpotContract": {
  4460. "get": {
  4461. "security": [
  4462. {
  4463. "ApiKeyAuth": []
  4464. }
  4465. ],
  4466. "produces": [
  4467. "application/json"
  4468. ],
  4469. "tags": [
  4470. "企业风险管理v3(app)"
  4471. ],
  4472. "summary": "查询现货合同",
  4473. "parameters": [
  4474. {
  4475. "type": "integer",
  4476. "description": "用户id",
  4477. "name": "userid",
  4478. "in": "query",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "用户类型 2-机构 7-企业成员",
  4484. "name": "usertype",
  4485. "in": "query"
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4490. "name": "querytype",
  4491. "in": "query",
  4492. "required": true
  4493. },
  4494. {
  4495. "type": "string",
  4496. "description": "合同ID(SpotContractId)",
  4497. "name": "contractid",
  4498. "in": "query"
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3Contract"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QuerySpotContractBS": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询合同(采购/销售)",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户id",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "合同类型 1-采购, -1-销售",
  4551. "name": "contracttype",
  4552. "in": "query",
  4553. "required": true
  4554. },
  4555. {
  4556. "type": "integer",
  4557. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4558. "name": "querytype",
  4559. "in": "query",
  4560. "required": true
  4561. },
  4562. {
  4563. "type": "string",
  4564. "description": "合同ID(SpotContractId)",
  4565. "name": "contractid",
  4566. "in": "query"
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "type": "array",
  4574. "items": {
  4575. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4576. }
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Ermcp3/QuerySpotGoodsPrice": {
  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. "responses": {
  4612. "200": {
  4613. "description": "OK",
  4614. "schema": {
  4615. "type": "array",
  4616. "items": {
  4617. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4618. }
  4619. }
  4620. },
  4621. "500": {
  4622. "description": "Internal Server Error",
  4623. "schema": {
  4624. "$ref": "#/definitions/app.Response"
  4625. }
  4626. }
  4627. }
  4628. }
  4629. },
  4630. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4631. "get": {
  4632. "security": [
  4633. {
  4634. "ApiKeyAuth": []
  4635. }
  4636. ],
  4637. "produces": [
  4638. "application/json"
  4639. ],
  4640. "tags": [
  4641. "企业风险管理v3(app)"
  4642. ],
  4643. "summary": "查询现货市价详情(现货市价/详情)",
  4644. "parameters": [
  4645. {
  4646. "type": "integer",
  4647. "description": "用户ID",
  4648. "name": "userid",
  4649. "in": "query",
  4650. "required": true
  4651. },
  4652. {
  4653. "type": "integer",
  4654. "description": "现货商品ID",
  4655. "name": "deliverygoodsid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "品牌ID",
  4662. "name": "brandid",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "品类ID",
  4668. "name": "wrstandardid",
  4669. "in": "query"
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "type": "array",
  4677. "items": {
  4678. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4679. }
  4680. }
  4681. },
  4682. "500": {
  4683. "description": "Internal Server Error",
  4684. "schema": {
  4685. "$ref": "#/definitions/app.Response"
  4686. }
  4687. }
  4688. }
  4689. }
  4690. },
  4691. "/Erms2/QueryArbitrageStrategy": {
  4692. "get": {
  4693. "security": [
  4694. {
  4695. "ApiKeyAuth": []
  4696. }
  4697. ],
  4698. "produces": [
  4699. "application/json"
  4700. ],
  4701. "tags": [
  4702. "风险管理"
  4703. ],
  4704. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4705. "parameters": [
  4706. {
  4707. "type": "integer",
  4708. "description": "账户ID",
  4709. "name": "userid",
  4710. "in": "query",
  4711. "required": true
  4712. },
  4713. {
  4714. "type": "string",
  4715. "description": "商品组ID(品种ID)",
  4716. "name": "goodsgroupid",
  4717. "in": "query"
  4718. }
  4719. ],
  4720. "responses": {
  4721. "200": {
  4722. "description": "OK",
  4723. "schema": {
  4724. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4725. }
  4726. },
  4727. "500": {
  4728. "description": "Internal Server Error",
  4729. "schema": {
  4730. "$ref": "#/definitions/app.Response"
  4731. }
  4732. }
  4733. }
  4734. }
  4735. },
  4736. "/Erms2/QueryInnerTradeDetail": {
  4737. "get": {
  4738. "security": [
  4739. {
  4740. "ApiKeyAuth": []
  4741. }
  4742. ],
  4743. "produces": [
  4744. "application/json"
  4745. ],
  4746. "tags": [
  4747. "风险管理"
  4748. ],
  4749. "summary": "查询内部成交单信息",
  4750. "parameters": [
  4751. {
  4752. "type": "integer",
  4753. "description": "资金账户",
  4754. "name": "accountid",
  4755. "in": "query",
  4756. "required": true
  4757. }
  4758. ],
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/Erms2/QuerySpotContract": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "风险管理"
  4787. ],
  4788. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4789. "parameters": [
  4790. {
  4791. "type": "integer",
  4792. "description": "策略申请ID",
  4793. "name": "asapplyid",
  4794. "in": "query",
  4795. "required": true
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "现货合同ID",
  4800. "name": "spotcontractid",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4809. }
  4810. },
  4811. "500": {
  4812. "description": "Internal Server Error",
  4813. "schema": {
  4814. "$ref": "#/definitions/app.Response"
  4815. }
  4816. }
  4817. }
  4818. }
  4819. },
  4820. "/Erms3/AddErms2ASApply": {
  4821. "post": {
  4822. "security": [
  4823. {
  4824. "ApiKeyAuth": []
  4825. }
  4826. ],
  4827. "produces": [
  4828. "application/json"
  4829. ],
  4830. "tags": [
  4831. "风险管理v3"
  4832. ],
  4833. "summary": "新增期现套利业务申请",
  4834. "parameters": [
  4835. {
  4836. "description": "申请参数",
  4837. "name": "jsonBody",
  4838. "in": "body",
  4839. "required": true,
  4840. "schema": {
  4841. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4842. }
  4843. }
  4844. ],
  4845. "responses": {
  4846. "200": {
  4847. "description": "OK",
  4848. "schema": {
  4849. "$ref": "#/definitions/app.Response"
  4850. }
  4851. },
  4852. "500": {
  4853. "description": "Internal Server Error",
  4854. "schema": {
  4855. "$ref": "#/definitions/app.Response"
  4856. }
  4857. }
  4858. }
  4859. }
  4860. },
  4861. "/Erms3/AddErms2SpotTradeApply": {
  4862. "post": {
  4863. "security": [
  4864. {
  4865. "ApiKeyAuth": []
  4866. }
  4867. ],
  4868. "produces": [
  4869. "application/json"
  4870. ],
  4871. "tags": [
  4872. "风险管理v3"
  4873. ],
  4874. "summary": "新增现货贸易业务申请",
  4875. "parameters": [
  4876. {
  4877. "description": "申请参数",
  4878. "name": "jsonBody",
  4879. "in": "body",
  4880. "required": true,
  4881. "schema": {
  4882. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4883. }
  4884. }
  4885. ],
  4886. "responses": {
  4887. "200": {
  4888. "description": "OK",
  4889. "schema": {
  4890. "$ref": "#/definitions/app.Response"
  4891. }
  4892. },
  4893. "500": {
  4894. "description": "Internal Server Error",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. }
  4899. }
  4900. }
  4901. },
  4902. "/Erms3/AddSpotContractApply": {
  4903. "post": {
  4904. "security": [
  4905. {
  4906. "ApiKeyAuth": []
  4907. }
  4908. ],
  4909. "produces": [
  4910. "application/json"
  4911. ],
  4912. "tags": [
  4913. "风险管理v3"
  4914. ],
  4915. "summary": "新增现货合同申请",
  4916. "parameters": [
  4917. {
  4918. "description": "申请参数",
  4919. "name": "jsonBody",
  4920. "in": "body",
  4921. "required": true,
  4922. "schema": {
  4923. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4924. }
  4925. }
  4926. ],
  4927. "responses": {
  4928. "200": {
  4929. "description": "OK",
  4930. "schema": {
  4931. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4932. }
  4933. },
  4934. "500": {
  4935. "description": "Internal Server Error",
  4936. "schema": {
  4937. "$ref": "#/definitions/app.Response"
  4938. }
  4939. }
  4940. }
  4941. }
  4942. },
  4943. "/Erms3/AddUserInfoApply": {
  4944. "post": {
  4945. "security": [
  4946. {
  4947. "ApiKeyAuth": []
  4948. }
  4949. ],
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "风险管理v3"
  4955. ],
  4956. "summary": "新增客户申请",
  4957. "parameters": [
  4958. {
  4959. "description": "用户信息",
  4960. "name": "jsonBody",
  4961. "in": "body",
  4962. "required": true,
  4963. "schema": {
  4964. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4965. }
  4966. }
  4967. ],
  4968. "responses": {
  4969. "200": {
  4970. "description": "OK",
  4971. "schema": {
  4972. "$ref": "#/definitions/app.Response"
  4973. }
  4974. },
  4975. "500": {
  4976. "description": "Internal Server Error",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. }
  4981. }
  4982. }
  4983. },
  4984. "/Erms3/DeleteUserInfoApply": {
  4985. "get": {
  4986. "security": [
  4987. {
  4988. "ApiKeyAuth": []
  4989. }
  4990. ],
  4991. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4992. "produces": [
  4993. "application/json"
  4994. ],
  4995. "tags": [
  4996. "风险管理v3"
  4997. ],
  4998. "summary": "删除客户申请",
  4999. "parameters": [
  5000. {
  5001. "type": "integer",
  5002. "description": "用户ID",
  5003. "name": "userID",
  5004. "in": "query",
  5005. "required": true
  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/ModifyUserInfoApply": {
  5025. "post": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5032. "produces": [
  5033. "application/json"
  5034. ],
  5035. "tags": [
  5036. "风险管理v3"
  5037. ],
  5038. "summary": "修改客户申请",
  5039. "parameters": [
  5040. {
  5041. "description": "用户信息",
  5042. "name": "jsonBody",
  5043. "in": "body",
  5044. "required": true,
  5045. "schema": {
  5046. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5047. }
  5048. }
  5049. ],
  5050. "responses": {
  5051. "200": {
  5052. "description": "OK",
  5053. "schema": {
  5054. "$ref": "#/definitions/app.Response"
  5055. }
  5056. },
  5057. "500": {
  5058. "description": "Internal Server Error",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. }
  5063. }
  5064. }
  5065. },
  5066. "/Erms3/QueryBusinessInfo": {
  5067. "get": {
  5068. "security": [
  5069. {
  5070. "ApiKeyAuth": []
  5071. }
  5072. ],
  5073. "produces": [
  5074. "application/json"
  5075. ],
  5076. "tags": [
  5077. "风险管理v3"
  5078. ],
  5079. "summary": "查询业务表单数据",
  5080. "parameters": [
  5081. {
  5082. "type": "string",
  5083. "description": "资金账号ID列表,用逗号分隔",
  5084. "name": "accountids",
  5085. "in": "query",
  5086. "required": true
  5087. },
  5088. {
  5089. "type": "integer",
  5090. "description": "状态,0为未结束 1为已结束",
  5091. "name": "status",
  5092. "in": "query",
  5093. "required": true
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "type": "array",
  5101. "items": {
  5102. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5103. }
  5104. }
  5105. },
  5106. "500": {
  5107. "description": "Internal Server Error",
  5108. "schema": {
  5109. "$ref": "#/definitions/app.Response"
  5110. }
  5111. }
  5112. }
  5113. }
  5114. },
  5115. "/Erms3/QueryPendingAuditContract": {
  5116. "get": {
  5117. "security": [
  5118. {
  5119. "ApiKeyAuth": []
  5120. }
  5121. ],
  5122. "produces": [
  5123. "application/json"
  5124. ],
  5125. "tags": [
  5126. "风险管理v3"
  5127. ],
  5128. "summary": "查询待审核合同",
  5129. "parameters": [
  5130. {
  5131. "type": "string",
  5132. "description": "资金账号ID列表,逗号隔开",
  5133. "name": "accountids",
  5134. "in": "query",
  5135. "required": true
  5136. },
  5137. {
  5138. "type": "integer",
  5139. "description": "合同类型 1-采购 -1-销售",
  5140. "name": "contracttype",
  5141. "in": "query",
  5142. "required": true
  5143. },
  5144. {
  5145. "type": "integer",
  5146. "description": "合同模式 1-普通 2-回购",
  5147. "name": "contractmode",
  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.QryAuditContractRsp"
  5159. }
  5160. }
  5161. },
  5162. "500": {
  5163. "description": "Internal Server Error",
  5164. "schema": {
  5165. "$ref": "#/definitions/app.Response"
  5166. }
  5167. }
  5168. }
  5169. }
  5170. },
  5171. "/Erms3/QueryPendingBusiness": {
  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": "string",
  5188. "description": "资金账号ID列表,逗号隔开",
  5189. "name": "accountids",
  5190. "in": "query",
  5191. "required": true
  5192. }
  5193. ],
  5194. "responses": {
  5195. "200": {
  5196. "description": "OK",
  5197. "schema": {
  5198. "type": "array",
  5199. "items": {
  5200. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5201. }
  5202. }
  5203. },
  5204. "500": {
  5205. "description": "Internal Server Error",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. }
  5210. }
  5211. }
  5212. },
  5213. "/Erms3/QuerySpotContractAppleForm": {
  5214. "get": {
  5215. "security": [
  5216. {
  5217. "ApiKeyAuth": []
  5218. }
  5219. ],
  5220. "produces": [
  5221. "application/json"
  5222. ],
  5223. "tags": [
  5224. "风险管理v3"
  5225. ],
  5226. "summary": "查询合同申请表单数据",
  5227. "parameters": [
  5228. {
  5229. "type": "integer",
  5230. "description": "登录账号",
  5231. "name": "loginID",
  5232. "in": "query",
  5233. "required": true
  5234. }
  5235. ],
  5236. "responses": {
  5237. "200": {
  5238. "description": "OK",
  5239. "schema": {
  5240. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5241. }
  5242. },
  5243. "500": {
  5244. "description": "Internal Server Error",
  5245. "schema": {
  5246. "$ref": "#/definitions/app.Response"
  5247. }
  5248. }
  5249. }
  5250. }
  5251. },
  5252. "/Erms3/QuerySpotContractDetail": {
  5253. "get": {
  5254. "security": [
  5255. {
  5256. "ApiKeyAuth": []
  5257. }
  5258. ],
  5259. "produces": [
  5260. "application/json"
  5261. ],
  5262. "tags": [
  5263. "风险管理v3"
  5264. ],
  5265. "summary": "查询合同详细信息",
  5266. "parameters": [
  5267. {
  5268. "type": "string",
  5269. "description": "资金账号ID列表,用逗号分隔",
  5270. "name": "accountids",
  5271. "in": "query",
  5272. "required": true
  5273. },
  5274. {
  5275. "type": "integer",
  5276. "description": "合同类型,1为采购合同 -1为销售合同",
  5277. "name": "contracttype",
  5278. "in": "query",
  5279. "required": true
  5280. },
  5281. {
  5282. "type": "integer",
  5283. "description": "合同模式,1为普通合同 2为回购销售合同",
  5284. "name": "contractmode",
  5285. "in": "query",
  5286. "required": true
  5287. },
  5288. {
  5289. "type": "integer",
  5290. "description": "状态,0为履约中 1为已完成",
  5291. "name": "status",
  5292. "in": "query",
  5293. "required": true
  5294. }
  5295. ],
  5296. "responses": {
  5297. "200": {
  5298. "description": "OK",
  5299. "schema": {
  5300. "type": "array",
  5301. "items": {
  5302. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5303. }
  5304. }
  5305. },
  5306. "500": {
  5307. "description": "Internal Server Error",
  5308. "schema": {
  5309. "$ref": "#/definitions/app.Response"
  5310. }
  5311. }
  5312. }
  5313. }
  5314. },
  5315. "/Erms3/QueryUserInfoApplies": {
  5316. "get": {
  5317. "security": [
  5318. {
  5319. "ApiKeyAuth": []
  5320. }
  5321. ],
  5322. "produces": [
  5323. "application/json"
  5324. ],
  5325. "tags": [
  5326. "风险管理v3"
  5327. ],
  5328. "summary": "客户申请信息查询",
  5329. "parameters": [
  5330. {
  5331. "type": "integer",
  5332. "description": "页码",
  5333. "name": "page",
  5334. "in": "query"
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "每页条数",
  5339. "name": "pagesize",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "string",
  5344. "description": "客户名称,支持模糊查询",
  5345. "name": "userName",
  5346. "in": "query"
  5347. }
  5348. ],
  5349. "responses": {
  5350. "200": {
  5351. "description": "OK",
  5352. "schema": {
  5353. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5354. }
  5355. },
  5356. "500": {
  5357. "description": "Internal Server Error",
  5358. "schema": {
  5359. "$ref": "#/definitions/app.Response"
  5360. }
  5361. }
  5362. }
  5363. }
  5364. },
  5365. "/Erms3/QueryUserInfos": {
  5366. "get": {
  5367. "security": [
  5368. {
  5369. "ApiKeyAuth": []
  5370. }
  5371. ],
  5372. "produces": [
  5373. "application/json"
  5374. ],
  5375. "tags": [
  5376. "风险管理v3"
  5377. ],
  5378. "summary": "客户信息查询",
  5379. "parameters": [
  5380. {
  5381. "type": "integer",
  5382. "description": "页码",
  5383. "name": "page",
  5384. "in": "query"
  5385. },
  5386. {
  5387. "type": "integer",
  5388. "description": "每页条数",
  5389. "name": "pagesize",
  5390. "in": "query"
  5391. },
  5392. {
  5393. "type": "string",
  5394. "description": "客户名称,支持模糊查询",
  5395. "name": "userName",
  5396. "in": "query"
  5397. }
  5398. ],
  5399. "responses": {
  5400. "200": {
  5401. "description": "OK",
  5402. "schema": {
  5403. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/HSBY/GetHsbyMyCount": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "description": "说明: 不包括已完成的数量。",
  5423. "produces": [
  5424. "application/json"
  5425. ],
  5426. "tags": [
  5427. "定制【海商报业】"
  5428. ],
  5429. "summary": "获取我的订单与包裹数量",
  5430. "parameters": [
  5431. {
  5432. "type": "string",
  5433. "description": "资金账户列表,格式:1,2,3",
  5434. "name": "accountIDs",
  5435. "in": "query",
  5436. "required": true
  5437. }
  5438. ],
  5439. "responses": {
  5440. "200": {
  5441. "description": "OK",
  5442. "schema": {
  5443. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5444. }
  5445. },
  5446. "500": {
  5447. "description": "Internal Server Error",
  5448. "schema": {
  5449. "$ref": "#/definitions/app.Response"
  5450. }
  5451. }
  5452. }
  5453. }
  5454. },
  5455. "/HSBY/QueryClientFixedADConfigs": {
  5456. "get": {
  5457. "security": [
  5458. {
  5459. "ApiKeyAuth": []
  5460. }
  5461. ],
  5462. "produces": [
  5463. "application/json"
  5464. ],
  5465. "tags": [
  5466. "定制【海商报业】"
  5467. ],
  5468. "summary": "获取终端固定广告配置",
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "$ref": "#/definitions/models.Clientfixedadconfig"
  5474. }
  5475. },
  5476. "500": {
  5477. "description": "Internal Server Error",
  5478. "schema": {
  5479. "$ref": "#/definitions/app.Response"
  5480. }
  5481. }
  5482. }
  5483. }
  5484. },
  5485. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5486. "get": {
  5487. "security": [
  5488. {
  5489. "ApiKeyAuth": []
  5490. }
  5491. ],
  5492. "produces": [
  5493. "application/json"
  5494. ],
  5495. "tags": [
  5496. "定制【海商报业】"
  5497. ],
  5498. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5499. "parameters": [
  5500. {
  5501. "type": "integer",
  5502. "description": "页码",
  5503. "name": "page",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "integer",
  5508. "description": "每页条数",
  5509. "name": "pagesize",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "string",
  5514. "description": "资金账户列表,格式:1,2,3",
  5515. "name": "accountIDs",
  5516. "in": "query",
  5517. "required": true
  5518. }
  5519. ],
  5520. "responses": {
  5521. "200": {
  5522. "description": "OK",
  5523. "schema": {
  5524. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "说明:查询结果已按委托价格和委托时间排序",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "定制【海商报业】"
  5549. ],
  5550. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "商品ID",
  5555. "name": "goodsID",
  5556. "in": "query",
  5557. "required": true
  5558. },
  5559. {
  5560. "type": "string",
  5561. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5562. "name": "accountIDs",
  5563. "in": "query"
  5564. },
  5565. {
  5566. "type": "integer",
  5567. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5568. "name": "buyOrSell",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "number",
  5573. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5574. "name": "price",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "integer",
  5579. "description": "档位,不传则默认为3档",
  5580. "name": "speed",
  5581. "in": "query"
  5582. }
  5583. ],
  5584. "responses": {
  5585. "200": {
  5586. "description": "OK",
  5587. "schema": {
  5588. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5589. }
  5590. },
  5591. "500": {
  5592. "description": "Internal Server Error",
  5593. "schema": {
  5594. "$ref": "#/definitions/app.Response"
  5595. }
  5596. }
  5597. }
  5598. }
  5599. },
  5600. "/HSBY/QueryHsbyListingGoodsDetail": {
  5601. "get": {
  5602. "security": [
  5603. {
  5604. "ApiKeyAuth": []
  5605. }
  5606. ],
  5607. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5608. "produces": [
  5609. "application/json"
  5610. ],
  5611. "tags": [
  5612. "定制【海商报业】"
  5613. ],
  5614. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5615. "parameters": [
  5616. {
  5617. "type": "integer",
  5618. "description": "商品ID",
  5619. "name": "goodsID",
  5620. "in": "query",
  5621. "required": true
  5622. },
  5623. {
  5624. "type": "integer",
  5625. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5626. "name": "accountID",
  5627. "in": "query"
  5628. }
  5629. ],
  5630. "responses": {
  5631. "200": {
  5632. "description": "OK",
  5633. "schema": {
  5634. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5635. }
  5636. },
  5637. "500": {
  5638. "description": "Internal Server Error",
  5639. "schema": {
  5640. "$ref": "#/definitions/app.Response"
  5641. }
  5642. }
  5643. }
  5644. }
  5645. },
  5646. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5647. "get": {
  5648. "security": [
  5649. {
  5650. "ApiKeyAuth": []
  5651. }
  5652. ],
  5653. "produces": [
  5654. "application/json"
  5655. ],
  5656. "tags": [
  5657. "定制【海商报业】"
  5658. ],
  5659. "summary": "查询三级市场(商城)商品信息详情",
  5660. "parameters": [
  5661. {
  5662. "type": "integer",
  5663. "description": "委托单号",
  5664. "name": "orderID",
  5665. "in": "query",
  5666. "required": true
  5667. },
  5668. {
  5669. "type": "integer",
  5670. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5671. "name": "accountID",
  5672. "in": "query"
  5673. }
  5674. ],
  5675. "responses": {
  5676. "200": {
  5677. "description": "OK",
  5678. "schema": {
  5679. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5680. }
  5681. },
  5682. "500": {
  5683. "description": "Internal Server Error",
  5684. "schema": {
  5685. "$ref": "#/definitions/app.Response"
  5686. }
  5687. }
  5688. }
  5689. }
  5690. },
  5691. "/HSBY/QueryHsbyMarketGoodses": {
  5692. "get": {
  5693. "security": [
  5694. {
  5695. "ApiKeyAuth": []
  5696. }
  5697. ],
  5698. "produces": [
  5699. "application/json"
  5700. ],
  5701. "tags": [
  5702. "定制【海商报业】"
  5703. ],
  5704. "summary": "查询特卖商品列表(三级商城)",
  5705. "parameters": [
  5706. {
  5707. "type": "integer",
  5708. "description": "页码",
  5709. "name": "page",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "每页条数",
  5715. "name": "pagesize",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "string",
  5720. "description": "市场ID列表,格式:1,2,3",
  5721. "name": "marketIDs",
  5722. "in": "query",
  5723. "required": true
  5724. },
  5725. {
  5726. "type": "integer",
  5727. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5728. "name": "accountID",
  5729. "in": "query",
  5730. "required": true
  5731. },
  5732. {
  5733. "type": "integer",
  5734. "description": "类别ID",
  5735. "name": "categoryID",
  5736. "in": "query"
  5737. },
  5738. {
  5739. "type": "string",
  5740. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5741. "name": "goodsIDs",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5747. "name": "couponTypeID",
  5748. "in": "query"
  5749. }
  5750. ],
  5751. "responses": {
  5752. "200": {
  5753. "description": "OK",
  5754. "schema": {
  5755. "$ref": "#/definitions/models.HsbyMarketGoods"
  5756. }
  5757. },
  5758. "500": {
  5759. "description": "Internal Server Error",
  5760. "schema": {
  5761. "$ref": "#/definitions/app.Response"
  5762. }
  5763. }
  5764. }
  5765. }
  5766. },
  5767. "/HSBY/QueryHsbyMarkets": {
  5768. "get": {
  5769. "security": [
  5770. {
  5771. "ApiKeyAuth": []
  5772. }
  5773. ],
  5774. "produces": [
  5775. "application/json"
  5776. ],
  5777. "tags": [
  5778. "定制【海商报业】"
  5779. ],
  5780. "summary": "查询海商报业相关市场信息",
  5781. "responses": {
  5782. "200": {
  5783. "description": "OK",
  5784. "schema": {
  5785. "$ref": "#/definitions/models.HsbyMarketInfo"
  5786. }
  5787. },
  5788. "500": {
  5789. "description": "Internal Server Error",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. }
  5794. }
  5795. }
  5796. },
  5797. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5798. "get": {
  5799. "security": [
  5800. {
  5801. "ApiKeyAuth": []
  5802. }
  5803. ],
  5804. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "定制【海商报业】"
  5810. ],
  5811. "summary": "查询“我的订单”信息",
  5812. "parameters": [
  5813. {
  5814. "type": "string",
  5815. "description": "资金账户列表,格式:1,2,3",
  5816. "name": "accountIDs",
  5817. "in": "query",
  5818. "required": true
  5819. }
  5820. ],
  5821. "responses": {
  5822. "200": {
  5823. "description": "OK",
  5824. "schema": {
  5825. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5826. }
  5827. },
  5828. "500": {
  5829. "description": "Internal Server Error",
  5830. "schema": {
  5831. "$ref": "#/definitions/app.Response"
  5832. }
  5833. }
  5834. }
  5835. }
  5836. },
  5837. "/HSBY/QueryHsbyMyGoods": {
  5838. "get": {
  5839. "security": [
  5840. {
  5841. "ApiKeyAuth": []
  5842. }
  5843. ],
  5844. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5845. "produces": [
  5846. "application/json"
  5847. ],
  5848. "tags": [
  5849. "定制【海商报业】"
  5850. ],
  5851. "summary": "查询“我的商品”信息",
  5852. "parameters": [
  5853. {
  5854. "type": "string",
  5855. "description": "资金账户列表,格式:1,2,3",
  5856. "name": "accountIDs",
  5857. "in": "query",
  5858. "required": true
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "$ref": "#/definitions/models.HsbyMyGoods"
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/HSBY/QueryHsbyMyPackages": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "produces": [
  5885. "application/json"
  5886. ],
  5887. "tags": [
  5888. "定制【海商报业】"
  5889. ],
  5890. "summary": "查询我的包裹信息",
  5891. "parameters": [
  5892. {
  5893. "type": "string",
  5894. "description": "资金账户列表,格式:1,2,3",
  5895. "name": "accountIDs",
  5896. "in": "query",
  5897. "required": true
  5898. },
  5899. {
  5900. "type": "integer",
  5901. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5902. "name": "takeOrderStatus",
  5903. "in": "query"
  5904. }
  5905. ],
  5906. "responses": {
  5907. "200": {
  5908. "description": "OK",
  5909. "schema": {
  5910. "$ref": "#/definitions/models.HsbyMyPackage"
  5911. }
  5912. },
  5913. "500": {
  5914. "description": "Internal Server Error",
  5915. "schema": {
  5916. "$ref": "#/definitions/app.Response"
  5917. }
  5918. }
  5919. }
  5920. }
  5921. },
  5922. "/HSBY/QueryHsbyPreGoodsDetail": {
  5923. "get": {
  5924. "security": [
  5925. {
  5926. "ApiKeyAuth": []
  5927. }
  5928. ],
  5929. "produces": [
  5930. "application/json"
  5931. ],
  5932. "tags": [
  5933. "定制【海商报业】"
  5934. ],
  5935. "summary": "查询一级市场(预售)商品信息详情",
  5936. "parameters": [
  5937. {
  5938. "type": "integer",
  5939. "description": "商品ID",
  5940. "name": "goodsID",
  5941. "in": "query",
  5942. "required": true
  5943. },
  5944. {
  5945. "type": "integer",
  5946. "description": "资金账户,主要用于获取预售商品购买上限",
  5947. "name": "accountID",
  5948. "in": "query"
  5949. }
  5950. ],
  5951. "responses": {
  5952. "200": {
  5953. "description": "OK",
  5954. "schema": {
  5955. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5956. }
  5957. },
  5958. "500": {
  5959. "description": "Internal Server Error",
  5960. "schema": {
  5961. "$ref": "#/definitions/app.Response"
  5962. }
  5963. }
  5964. }
  5965. }
  5966. },
  5967. "/HSBY/QueryHsbyPreGoodses": {
  5968. "get": {
  5969. "security": [
  5970. {
  5971. "ApiKeyAuth": []
  5972. }
  5973. ],
  5974. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5975. "produces": [
  5976. "application/json"
  5977. ],
  5978. "tags": [
  5979. "定制【海商报业】"
  5980. ],
  5981. "summary": "查询新品上市商品列表(一级市场预售)",
  5982. "parameters": [
  5983. {
  5984. "type": "integer",
  5985. "description": "页码",
  5986. "name": "page",
  5987. "in": "query"
  5988. },
  5989. {
  5990. "type": "integer",
  5991. "description": "每页条数",
  5992. "name": "pagesize",
  5993. "in": "query"
  5994. },
  5995. {
  5996. "type": "string",
  5997. "description": "市场ID列表,格式:1,2,3",
  5998. "name": "marketIDs",
  5999. "in": "query",
  6000. "required": true
  6001. },
  6002. {
  6003. "type": "integer",
  6004. "description": "目的地(省)ID",
  6005. "name": "descProvinceID",
  6006. "in": "query"
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "目的地(市)ID",
  6011. "name": "descCityID",
  6012. "in": "query"
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "$ref": "#/definitions/models.HsbyPreGoods"
  6020. }
  6021. },
  6022. "500": {
  6023. "description": "Internal Server Error",
  6024. "schema": {
  6025. "$ref": "#/definitions/app.Response"
  6026. }
  6027. }
  6028. }
  6029. }
  6030. },
  6031. "/HSBY/QueryHsbySellMyDetails": {
  6032. "get": {
  6033. "security": [
  6034. {
  6035. "ApiKeyAuth": []
  6036. }
  6037. ],
  6038. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6039. "produces": [
  6040. "application/json"
  6041. ],
  6042. "tags": [
  6043. "定制【海商报业】"
  6044. ],
  6045. "summary": "查询\"我的闲置\"单据信息",
  6046. "parameters": [
  6047. {
  6048. "type": "integer",
  6049. "description": "页码",
  6050. "name": "page",
  6051. "in": "query"
  6052. },
  6053. {
  6054. "type": "integer",
  6055. "description": "每页条数",
  6056. "name": "pagesize",
  6057. "in": "query"
  6058. },
  6059. {
  6060. "type": "string",
  6061. "description": "资金账户列表,格式:1,2,3",
  6062. "name": "accountIDs",
  6063. "in": "query",
  6064. "required": true
  6065. },
  6066. {
  6067. "type": "integer",
  6068. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6069. "name": "orderType",
  6070. "in": "query"
  6071. }
  6072. ],
  6073. "responses": {
  6074. "200": {
  6075. "description": "OK",
  6076. "schema": {
  6077. "$ref": "#/definitions/models.HsbySellMyDetail"
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/HSBY/QueryHsbyTopGoodses": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6097. "produces": [
  6098. "application/json"
  6099. ],
  6100. "tags": [
  6101. "定制【海商报业】"
  6102. ],
  6103. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6104. "parameters": [
  6105. {
  6106. "type": "integer",
  6107. "description": "页码",
  6108. "name": "page",
  6109. "in": "query"
  6110. },
  6111. {
  6112. "type": "integer",
  6113. "description": "每页条数",
  6114. "name": "pagesize",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "string",
  6119. "description": "市场ID列表,格式:1,2,3",
  6120. "name": "marketIDs",
  6121. "in": "query",
  6122. "required": true
  6123. },
  6124. {
  6125. "type": "integer",
  6126. "description": "目的地(省)ID",
  6127. "name": "descProvinceID",
  6128. "in": "query"
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "目的地(市)ID",
  6133. "name": "descCityID",
  6134. "in": "query"
  6135. }
  6136. ],
  6137. "responses": {
  6138. "200": {
  6139. "description": "OK",
  6140. "schema": {
  6141. "$ref": "#/definitions/models.HsbyTopGoods"
  6142. }
  6143. },
  6144. "500": {
  6145. "description": "Internal Server Error",
  6146. "schema": {
  6147. "$ref": "#/definitions/app.Response"
  6148. }
  6149. }
  6150. }
  6151. }
  6152. },
  6153. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6154. "get": {
  6155. "security": [
  6156. {
  6157. "ApiKeyAuth": []
  6158. }
  6159. ],
  6160. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "定制【海商报业】"
  6166. ],
  6167. "summary": "查询游客三级市场(商城)商品信息详情",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "商品ID",
  6172. "name": "goodsID",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6182. }
  6183. },
  6184. "500": {
  6185. "description": "Internal Server Error",
  6186. "schema": {
  6187. "$ref": "#/definitions/app.Response"
  6188. }
  6189. }
  6190. }
  6191. }
  6192. },
  6193. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6194. "get": {
  6195. "security": [
  6196. {
  6197. "ApiKeyAuth": []
  6198. }
  6199. ],
  6200. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6201. "produces": [
  6202. "application/json"
  6203. ],
  6204. "tags": [
  6205. "定制【海商报业】"
  6206. ],
  6207. "summary": "查询游客特卖商品列表(三级商城)",
  6208. "parameters": [
  6209. {
  6210. "type": "integer",
  6211. "description": "页码",
  6212. "name": "page",
  6213. "in": "query"
  6214. },
  6215. {
  6216. "type": "integer",
  6217. "description": "每页条数",
  6218. "name": "pagesize",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "string",
  6223. "description": "市场ID列表,格式:1,2,3",
  6224. "name": "marketIDs",
  6225. "in": "query",
  6226. "required": true
  6227. },
  6228. {
  6229. "type": "integer",
  6230. "description": "类别ID",
  6231. "name": "categoryID",
  6232. "in": "query"
  6233. },
  6234. {
  6235. "type": "string",
  6236. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6237. "name": "goodsIDs",
  6238. "in": "query"
  6239. }
  6240. ],
  6241. "responses": {
  6242. "200": {
  6243. "description": "OK",
  6244. "schema": {
  6245. "$ref": "#/definitions/models.HsbyMarketGoods"
  6246. }
  6247. },
  6248. "500": {
  6249. "description": "Internal Server Error",
  6250. "schema": {
  6251. "$ref": "#/definitions/app.Response"
  6252. }
  6253. }
  6254. }
  6255. }
  6256. },
  6257. "/HSBY/QueryMyCollectionOrders": {
  6258. "get": {
  6259. "security": [
  6260. {
  6261. "ApiKeyAuth": []
  6262. }
  6263. ],
  6264. "produces": [
  6265. "application/json"
  6266. ],
  6267. "tags": [
  6268. "定制【海商报业】"
  6269. ],
  6270. "summary": "我的闲置中收款信息查询",
  6271. "parameters": [
  6272. {
  6273. "type": "integer",
  6274. "description": "页码",
  6275. "name": "page",
  6276. "in": "query"
  6277. },
  6278. {
  6279. "type": "integer",
  6280. "description": "每页条数",
  6281. "name": "pagesize",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "string",
  6286. "description": "资金账户,格式:1,2,3",
  6287. "name": "accountIDs",
  6288. "in": "query",
  6289. "required": true
  6290. }
  6291. ],
  6292. "responses": {
  6293. "200": {
  6294. "description": "OK",
  6295. "schema": {
  6296. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6297. }
  6298. },
  6299. "500": {
  6300. "description": "Internal Server Error",
  6301. "schema": {
  6302. "$ref": "#/definitions/app.Response"
  6303. }
  6304. }
  6305. }
  6306. }
  6307. },
  6308. "/HSBY/QueryMyCouponHolds": {
  6309. "get": {
  6310. "security": [
  6311. {
  6312. "ApiKeyAuth": []
  6313. }
  6314. ],
  6315. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6316. "produces": [
  6317. "application/json"
  6318. ],
  6319. "tags": [
  6320. "定制【海商报业】"
  6321. ],
  6322. "summary": "我的优惠卷持仓查询",
  6323. "parameters": [
  6324. {
  6325. "type": "string",
  6326. "description": "资金账户列表,格式:1,2,3",
  6327. "name": "accountIDs",
  6328. "in": "query",
  6329. "required": true
  6330. },
  6331. {
  6332. "type": "string",
  6333. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6334. "name": "holdStatus",
  6335. "in": "query"
  6336. }
  6337. ],
  6338. "responses": {
  6339. "200": {
  6340. "description": "OK",
  6341. "schema": {
  6342. "$ref": "#/definitions/models.MyCouponHold"
  6343. }
  6344. },
  6345. "500": {
  6346. "description": "Internal Server Error",
  6347. "schema": {
  6348. "$ref": "#/definitions/app.Response"
  6349. }
  6350. }
  6351. }
  6352. }
  6353. },
  6354. "/HSBY/QueryMyCoupons": {
  6355. "get": {
  6356. "security": [
  6357. {
  6358. "ApiKeyAuth": []
  6359. }
  6360. ],
  6361. "produces": [
  6362. "application/json"
  6363. ],
  6364. "tags": [
  6365. "定制【海商报业】"
  6366. ],
  6367. "summary": "我的优惠卷查询",
  6368. "parameters": [
  6369. {
  6370. "type": "string",
  6371. "description": "资金账户列表,格式:1,2,3",
  6372. "name": "accountIDs",
  6373. "in": "query",
  6374. "required": true
  6375. },
  6376. {
  6377. "type": "integer",
  6378. "description": "商品ID, 一般与sellUserID配套传入",
  6379. "name": "goodsID",
  6380. "in": "query"
  6381. },
  6382. {
  6383. "type": "integer",
  6384. "description": "卖方UserID",
  6385. "name": "sellUserID",
  6386. "in": "query"
  6387. }
  6388. ],
  6389. "responses": {
  6390. "200": {
  6391. "description": "OK",
  6392. "schema": {
  6393. "$ref": "#/definitions/models.MyCoupon"
  6394. }
  6395. },
  6396. "500": {
  6397. "description": "Internal Server Error",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. }
  6402. }
  6403. }
  6404. },
  6405. "/HSBY/QueryMyPayOrders": {
  6406. "get": {
  6407. "security": [
  6408. {
  6409. "ApiKeyAuth": []
  6410. }
  6411. ],
  6412. "produces": [
  6413. "application/json"
  6414. ],
  6415. "tags": [
  6416. "定制【海商报业】"
  6417. ],
  6418. "summary": "获取我的订单中待付款信息",
  6419. "parameters": [
  6420. {
  6421. "type": "integer",
  6422. "description": "页码",
  6423. "name": "page",
  6424. "in": "query"
  6425. },
  6426. {
  6427. "type": "integer",
  6428. "description": "每页条数",
  6429. "name": "pagesize",
  6430. "in": "query"
  6431. },
  6432. {
  6433. "type": "string",
  6434. "description": "资金账户列表,格式:1,2,3",
  6435. "name": "accountIDs",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "买方委托单号",
  6442. "name": "buyOrderID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "卖方委托单号",
  6448. "name": "sellOrderID",
  6449. "in": "query"
  6450. }
  6451. ],
  6452. "responses": {
  6453. "200": {
  6454. "description": "OK",
  6455. "schema": {
  6456. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6457. }
  6458. },
  6459. "500": {
  6460. "description": "Internal Server Error",
  6461. "schema": {
  6462. "$ref": "#/definitions/app.Response"
  6463. }
  6464. }
  6465. }
  6466. }
  6467. },
  6468. "/HSBY/QueryMyUsedCoupon": {
  6469. "get": {
  6470. "security": [
  6471. {
  6472. "ApiKeyAuth": []
  6473. }
  6474. ],
  6475. "produces": [
  6476. "application/json"
  6477. ],
  6478. "tags": [
  6479. "定制【海商报业】"
  6480. ],
  6481. "summary": "已使用优惠卷查询",
  6482. "parameters": [
  6483. {
  6484. "type": "string",
  6485. "description": "资金账户列表,格式:1,2,3",
  6486. "name": "accountIDs",
  6487. "in": "query",
  6488. "required": true
  6489. }
  6490. ],
  6491. "responses": {
  6492. "200": {
  6493. "description": "OK",
  6494. "schema": {
  6495. "$ref": "#/definitions/models.MyUsedCoupon"
  6496. }
  6497. },
  6498. "500": {
  6499. "description": "Internal Server Error",
  6500. "schema": {
  6501. "$ref": "#/definitions/app.Response"
  6502. }
  6503. }
  6504. }
  6505. }
  6506. },
  6507. "/HSBY/QueryProvincesAndCities": {
  6508. "get": {
  6509. "security": [
  6510. {
  6511. "ApiKeyAuth": []
  6512. }
  6513. ],
  6514. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6515. "produces": [
  6516. "application/json"
  6517. ],
  6518. "tags": [
  6519. "定制【海商报业】"
  6520. ],
  6521. "summary": "查询省市信息(不包括区)",
  6522. "parameters": [
  6523. {
  6524. "type": "integer",
  6525. "description": "省ID",
  6526. "name": "provinceID",
  6527. "in": "query"
  6528. }
  6529. ],
  6530. "responses": {
  6531. "200": {
  6532. "description": "OK",
  6533. "schema": {
  6534. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6535. }
  6536. },
  6537. "500": {
  6538. "description": "Internal Server Error",
  6539. "schema": {
  6540. "$ref": "#/definitions/app.Response"
  6541. }
  6542. }
  6543. }
  6544. }
  6545. },
  6546. "/HSBY/SetHsbyMyPackagesStatus": {
  6547. "post": {
  6548. "security": [
  6549. {
  6550. "ApiKeyAuth": []
  6551. }
  6552. ],
  6553. "produces": [
  6554. "application/json"
  6555. ],
  6556. "tags": [
  6557. "定制【海商报业】"
  6558. ],
  6559. "summary": "设置我的包裹已收货状态",
  6560. "parameters": [
  6561. {
  6562. "type": "string",
  6563. "description": "提货单号",
  6564. "name": "takeOrderID",
  6565. "in": "query",
  6566. "required": true
  6567. },
  6568. {
  6569. "type": "integer",
  6570. "description": "资金账号",
  6571. "name": "accountID",
  6572. "in": "query",
  6573. "required": true
  6574. }
  6575. ],
  6576. "responses": {
  6577. "200": {
  6578. "description": "OK",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. },
  6583. "500": {
  6584. "description": "Internal Server Error",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. }
  6589. }
  6590. }
  6591. },
  6592. "/Market/QueryGoodsesByLoginID": {
  6593. "get": {
  6594. "security": [
  6595. {
  6596. "ApiKeyAuth": []
  6597. }
  6598. ],
  6599. "produces": [
  6600. "application/json"
  6601. ],
  6602. "tags": [
  6603. "通用市场"
  6604. ],
  6605. "summary": "获取登录账号有权限的商品信息",
  6606. "parameters": [
  6607. {
  6608. "type": "integer",
  6609. "description": "登录账号",
  6610. "name": "loginID",
  6611. "in": "query",
  6612. "required": true
  6613. },
  6614. {
  6615. "type": "string",
  6616. "description": "市场ID列表,格式:1,2,3",
  6617. "name": "marketIDs",
  6618. "in": "query"
  6619. }
  6620. ],
  6621. "responses": {
  6622. "200": {
  6623. "description": "OK",
  6624. "schema": {
  6625. "$ref": "#/definitions/models.Goods"
  6626. }
  6627. },
  6628. "500": {
  6629. "description": "Internal Server Error",
  6630. "schema": {
  6631. "$ref": "#/definitions/app.Response"
  6632. }
  6633. }
  6634. }
  6635. }
  6636. },
  6637. "/Market/QueryMarketRun": {
  6638. "get": {
  6639. "security": [
  6640. {
  6641. "ApiKeyAuth": []
  6642. }
  6643. ],
  6644. "produces": [
  6645. "application/json"
  6646. ],
  6647. "tags": [
  6648. "通用市场"
  6649. ],
  6650. "summary": "查询市场运行信息",
  6651. "parameters": [
  6652. {
  6653. "type": "integer",
  6654. "description": "市场ID,不传返回所有",
  6655. "name": "marketID",
  6656. "in": "query"
  6657. }
  6658. ],
  6659. "responses": {
  6660. "200": {
  6661. "description": "OK",
  6662. "schema": {
  6663. "$ref": "#/definitions/models.Marketrun"
  6664. }
  6665. },
  6666. "500": {
  6667. "description": "Internal Server Error",
  6668. "schema": {
  6669. "$ref": "#/definitions/app.Response"
  6670. }
  6671. }
  6672. }
  6673. }
  6674. },
  6675. "/Market/QueryMarketsByLoginID": {
  6676. "get": {
  6677. "security": [
  6678. {
  6679. "ApiKeyAuth": []
  6680. }
  6681. ],
  6682. "produces": [
  6683. "application/json"
  6684. ],
  6685. "tags": [
  6686. "通用市场"
  6687. ],
  6688. "summary": "获取登录账号有权限的市场信息",
  6689. "parameters": [
  6690. {
  6691. "type": "integer",
  6692. "description": "登录账号",
  6693. "name": "loginID",
  6694. "in": "query",
  6695. "required": true
  6696. }
  6697. ],
  6698. "responses": {
  6699. "200": {
  6700. "description": "OK",
  6701. "schema": {
  6702. "$ref": "#/definitions/models.Market"
  6703. }
  6704. },
  6705. "500": {
  6706. "description": "Internal Server Error",
  6707. "schema": {
  6708. "$ref": "#/definitions/app.Response"
  6709. }
  6710. }
  6711. }
  6712. }
  6713. },
  6714. "/Order/QueryHisTradeDetail": {
  6715. "get": {
  6716. "security": [
  6717. {
  6718. "ApiKeyAuth": []
  6719. }
  6720. ],
  6721. "produces": [
  6722. "application/json"
  6723. ],
  6724. "tags": [
  6725. "通用单据"
  6726. ],
  6727. "summary": "历史成交单查询(合约市场)",
  6728. "parameters": [
  6729. {
  6730. "type": "string",
  6731. "description": "资金账户 - 格式:1,2,3",
  6732. "name": "accountID",
  6733. "in": "query",
  6734. "required": true
  6735. },
  6736. {
  6737. "type": "integer",
  6738. "description": "成交单号",
  6739. "name": "tradeID",
  6740. "in": "query"
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "委托单号",
  6745. "name": "orderID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "string",
  6750. "description": "交易模式 - 格式:1,2,3",
  6751. "name": "tradeMode",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "委托单据类型",
  6757. "name": "buildType",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "成交类别 - 格式:1,2,3",
  6763. "name": "tradeType",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "string",
  6768. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6769. "name": "startDate",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6775. "name": "endDate",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/Order/QueryHisTradeOrderDetail": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "produces": [
  6803. "application/json"
  6804. ],
  6805. "tags": [
  6806. "通用单据"
  6807. ],
  6808. "summary": "历史委托单查询请求(合约市场)",
  6809. "parameters": [
  6810. {
  6811. "type": "string",
  6812. "description": "资金账户 - 格式:1,2,3",
  6813. "name": "accountID",
  6814. "in": "query",
  6815. "required": true
  6816. },
  6817. {
  6818. "type": "string",
  6819. "description": "交易模式 - 格式:1,2,3",
  6820. "name": "tradeMode",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "委托状态 - 格式:1,2,3",
  6826. "name": "orderStatus",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "integer",
  6831. "description": "委托单号",
  6832. "name": "orderID",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6838. "name": "startDate",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "string",
  6843. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6844. "name": "endDate",
  6845. "in": "query"
  6846. }
  6847. ],
  6848. "responses": {
  6849. "200": {
  6850. "description": "OK",
  6851. "schema": {
  6852. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6853. }
  6854. },
  6855. "500": {
  6856. "description": "Internal Server Error",
  6857. "schema": {
  6858. "$ref": "#/definitions/app.Response"
  6859. }
  6860. }
  6861. }
  6862. }
  6863. },
  6864. "/Order/QueryTradeDetail": {
  6865. "get": {
  6866. "security": [
  6867. {
  6868. "ApiKeyAuth": []
  6869. }
  6870. ],
  6871. "produces": [
  6872. "application/json"
  6873. ],
  6874. "tags": [
  6875. "通用单据"
  6876. ],
  6877. "summary": "成交单查询(合约市场)",
  6878. "parameters": [
  6879. {
  6880. "type": "string",
  6881. "description": "资金账户 - 格式:1,2,3",
  6882. "name": "accountID",
  6883. "in": "query",
  6884. "required": true
  6885. },
  6886. {
  6887. "type": "integer",
  6888. "description": "成交单号",
  6889. "name": "tradeID",
  6890. "in": "query"
  6891. },
  6892. {
  6893. "type": "integer",
  6894. "description": "委托单号",
  6895. "name": "orderID",
  6896. "in": "query"
  6897. },
  6898. {
  6899. "type": "string",
  6900. "description": "交易模式 - 格式:1,2,3",
  6901. "name": "tradeMode",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单据类型",
  6907. "name": "buildType",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "成交类别 - 格式:1,2,3",
  6913. "name": "tradeType",
  6914. "in": "query"
  6915. }
  6916. ],
  6917. "responses": {
  6918. "200": {
  6919. "description": "OK",
  6920. "schema": {
  6921. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6922. }
  6923. },
  6924. "500": {
  6925. "description": "Internal Server Error",
  6926. "schema": {
  6927. "$ref": "#/definitions/app.Response"
  6928. }
  6929. }
  6930. }
  6931. }
  6932. },
  6933. "/Order/QueryTradeOrderDetail": {
  6934. "get": {
  6935. "security": [
  6936. {
  6937. "ApiKeyAuth": []
  6938. }
  6939. ],
  6940. "produces": [
  6941. "application/json"
  6942. ],
  6943. "tags": [
  6944. "通用单据"
  6945. ],
  6946. "summary": "委托单查询请求(合约市场)",
  6947. "parameters": [
  6948. {
  6949. "type": "string",
  6950. "description": "资金账户 - 格式:1,2,3",
  6951. "name": "accountID",
  6952. "in": "query",
  6953. "required": true
  6954. },
  6955. {
  6956. "type": "string",
  6957. "description": "交易模式 - 格式:1,2,3",
  6958. "name": "tradeMode",
  6959. "in": "query"
  6960. },
  6961. {
  6962. "type": "string",
  6963. "description": "委托状态 - 格式:1,2,3",
  6964. "name": "orderStatus",
  6965. "in": "query"
  6966. },
  6967. {
  6968. "type": "integer",
  6969. "description": "委托单号",
  6970. "name": "orderID",
  6971. "in": "query"
  6972. }
  6973. ],
  6974. "responses": {
  6975. "200": {
  6976. "description": "OK",
  6977. "schema": {
  6978. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6979. }
  6980. },
  6981. "500": {
  6982. "description": "Internal Server Error",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. }
  6987. }
  6988. }
  6989. },
  6990. "/Order/QueryTradePosition": {
  6991. "get": {
  6992. "security": [
  6993. {
  6994. "ApiKeyAuth": []
  6995. }
  6996. ],
  6997. "produces": [
  6998. "application/json"
  6999. ],
  7000. "tags": [
  7001. "通用单据"
  7002. ],
  7003. "summary": "持仓汇总查询(合约市场)",
  7004. "parameters": [
  7005. {
  7006. "type": "string",
  7007. "description": "资金账户 - 格式:1,2,3",
  7008. "name": "accountID",
  7009. "in": "query",
  7010. "required": true
  7011. },
  7012. {
  7013. "type": "string",
  7014. "description": "交易模式 - 格式:1,2,3",
  7015. "name": "tradeMode",
  7016. "in": "query"
  7017. }
  7018. ],
  7019. "responses": {
  7020. "200": {
  7021. "description": "OK",
  7022. "schema": {
  7023. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7024. }
  7025. },
  7026. "500": {
  7027. "description": "Internal Server Error",
  7028. "schema": {
  7029. "$ref": "#/definitions/app.Response"
  7030. }
  7031. }
  7032. }
  7033. }
  7034. },
  7035. "/Qhj/QueryAccountInOutApply": {
  7036. "get": {
  7037. "security": [
  7038. {
  7039. "ApiKeyAuth": []
  7040. }
  7041. ],
  7042. "produces": [
  7043. "application/json"
  7044. ],
  7045. "tags": [
  7046. "大连千海金"
  7047. ],
  7048. "summary": "查询充值提现",
  7049. "parameters": [
  7050. {
  7051. "type": "string",
  7052. "description": "申请起始日期(格式yyyymmdd)",
  7053. "name": "begindate",
  7054. "in": "query"
  7055. },
  7056. {
  7057. "type": "string",
  7058. "description": "申请截止日期(格式yyyymmdd)",
  7059. "name": "enddate",
  7060. "in": "query"
  7061. },
  7062. {
  7063. "type": "string",
  7064. "description": "模糊搜索名称",
  7065. "name": "likename",
  7066. "in": "query"
  7067. }
  7068. ],
  7069. "responses": {
  7070. "200": {
  7071. "description": "OK",
  7072. "schema": {
  7073. "type": "array",
  7074. "items": {
  7075. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7076. }
  7077. }
  7078. },
  7079. "500": {
  7080. "description": "Internal Server Error",
  7081. "schema": {
  7082. "$ref": "#/definitions/app.Response"
  7083. }
  7084. }
  7085. }
  7086. }
  7087. },
  7088. "/Qhj/QueryBankAccountSign": {
  7089. "get": {
  7090. "security": [
  7091. {
  7092. "ApiKeyAuth": []
  7093. }
  7094. ],
  7095. "produces": [
  7096. "application/json"
  7097. ],
  7098. "tags": [
  7099. "大连千海金"
  7100. ],
  7101. "summary": "查询签约银行信息(提现账户管理)",
  7102. "parameters": [
  7103. {
  7104. "type": "integer",
  7105. "description": "用户ID",
  7106. "name": "userid",
  7107. "in": "query",
  7108. "required": true
  7109. }
  7110. ],
  7111. "responses": {
  7112. "200": {
  7113. "description": "OK",
  7114. "schema": {
  7115. "type": "array",
  7116. "items": {
  7117. "$ref": "#/definitions/models.QhjBankAccountSign"
  7118. }
  7119. }
  7120. },
  7121. "500": {
  7122. "description": "Internal Server Error",
  7123. "schema": {
  7124. "$ref": "#/definitions/app.Response"
  7125. }
  7126. }
  7127. }
  7128. }
  7129. },
  7130. "/Qhj/QueryBankInfo": {
  7131. "get": {
  7132. "security": [
  7133. {
  7134. "ApiKeyAuth": []
  7135. }
  7136. ],
  7137. "produces": [
  7138. "application/json"
  7139. ],
  7140. "tags": [
  7141. "大连千海金"
  7142. ],
  7143. "summary": "查询开户行",
  7144. "responses": {
  7145. "200": {
  7146. "description": "OK",
  7147. "schema": {
  7148. "type": "array",
  7149. "items": {
  7150. "$ref": "#/definitions/models.QhjBankInfo"
  7151. }
  7152. }
  7153. },
  7154. "500": {
  7155. "description": "Internal Server Error",
  7156. "schema": {
  7157. "$ref": "#/definitions/app.Response"
  7158. }
  7159. }
  7160. }
  7161. }
  7162. },
  7163. "/Qhj/QueryContract": {
  7164. "get": {
  7165. "security": [
  7166. {
  7167. "ApiKeyAuth": []
  7168. }
  7169. ],
  7170. "produces": [
  7171. "application/json"
  7172. ],
  7173. "tags": [
  7174. "大连千海金"
  7175. ],
  7176. "summary": "查询融资明细(合同)",
  7177. "parameters": [
  7178. {
  7179. "type": "integer",
  7180. "description": "用户ID",
  7181. "name": "userid",
  7182. "in": "query",
  7183. "required": true
  7184. },
  7185. {
  7186. "type": "integer",
  7187. "description": "scf合同id",
  7188. "name": "scfcontractid",
  7189. "in": "query"
  7190. }
  7191. ],
  7192. "responses": {
  7193. "200": {
  7194. "description": "OK",
  7195. "schema": {
  7196. "type": "array",
  7197. "items": {
  7198. "$ref": "#/definitions/models.QhjContract"
  7199. }
  7200. }
  7201. },
  7202. "500": {
  7203. "description": "Internal Server Error",
  7204. "schema": {
  7205. "$ref": "#/definitions/app.Response"
  7206. }
  7207. }
  7208. }
  7209. }
  7210. },
  7211. "/Qhj/QueryContractLog": {
  7212. "get": {
  7213. "security": [
  7214. {
  7215. "ApiKeyAuth": []
  7216. }
  7217. ],
  7218. "produces": [
  7219. "application/json"
  7220. ],
  7221. "tags": [
  7222. "大连千海金"
  7223. ],
  7224. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7225. "parameters": [
  7226. {
  7227. "type": "integer",
  7228. "description": "scf合同id",
  7229. "name": "scfcontractid",
  7230. "in": "query",
  7231. "required": true
  7232. },
  7233. {
  7234. "type": "string",
  7235. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7236. "name": "amounttype",
  7237. "in": "query"
  7238. }
  7239. ],
  7240. "responses": {
  7241. "200": {
  7242. "description": "OK",
  7243. "schema": {
  7244. "type": "array",
  7245. "items": {
  7246. "$ref": "#/definitions/models.QhjContractLog"
  7247. }
  7248. }
  7249. },
  7250. "500": {
  7251. "description": "Internal Server Error",
  7252. "schema": {
  7253. "$ref": "#/definitions/app.Response"
  7254. }
  7255. }
  7256. }
  7257. }
  7258. },
  7259. "/Qhj/QueryCusBankSignBank": {
  7260. "get": {
  7261. "security": [
  7262. {
  7263. "ApiKeyAuth": []
  7264. }
  7265. ],
  7266. "produces": [
  7267. "application/json"
  7268. ],
  7269. "tags": [
  7270. "大连千海金"
  7271. ],
  7272. "summary": "查询托管银行",
  7273. "responses": {
  7274. "200": {
  7275. "description": "OK",
  7276. "schema": {
  7277. "type": "array",
  7278. "items": {
  7279. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7280. }
  7281. }
  7282. },
  7283. "500": {
  7284. "description": "Internal Server Error",
  7285. "schema": {
  7286. "$ref": "#/definitions/app.Response"
  7287. }
  7288. }
  7289. }
  7290. }
  7291. },
  7292. "/Qhj/QueryCustomerInfo": {
  7293. "get": {
  7294. "security": [
  7295. {
  7296. "ApiKeyAuth": []
  7297. }
  7298. ],
  7299. "produces": [
  7300. "application/json"
  7301. ],
  7302. "tags": [
  7303. "大连千海金"
  7304. ],
  7305. "summary": "查询客户资料",
  7306. "parameters": [
  7307. {
  7308. "type": "integer",
  7309. "description": "用户ID",
  7310. "name": "userid",
  7311. "in": "query",
  7312. "required": true
  7313. },
  7314. {
  7315. "type": "integer",
  7316. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7317. "name": "querytype",
  7318. "in": "query",
  7319. "required": true
  7320. },
  7321. {
  7322. "type": "integer",
  7323. "description": "客户类型 1-个人 2-企业",
  7324. "name": "userinfotype",
  7325. "in": "query"
  7326. },
  7327. {
  7328. "type": "string",
  7329. "description": "客户名称(模糊匹配)",
  7330. "name": "customername",
  7331. "in": "query"
  7332. },
  7333. {
  7334. "type": "string",
  7335. "description": "昵称(模糊匹配)",
  7336. "name": "nickname",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "integer",
  7341. "description": "是否包含子级 1-包含",
  7342. "name": "includesub",
  7343. "in": "query"
  7344. }
  7345. ],
  7346. "responses": {
  7347. "200": {
  7348. "description": "OK",
  7349. "schema": {
  7350. "type": "array",
  7351. "items": {
  7352. "$ref": "#/definitions/models.QhjCustomer"
  7353. }
  7354. }
  7355. },
  7356. "500": {
  7357. "description": "Internal Server Error",
  7358. "schema": {
  7359. "$ref": "#/definitions/app.Response"
  7360. }
  7361. }
  7362. }
  7363. }
  7364. },
  7365. "/Qhj/QueryGoodsEx": {
  7366. "get": {
  7367. "security": [
  7368. {
  7369. "ApiKeyAuth": []
  7370. }
  7371. ],
  7372. "produces": [
  7373. "application/json"
  7374. ],
  7375. "tags": [
  7376. "大连千海金"
  7377. ],
  7378. "summary": "交易商品扩展表",
  7379. "parameters": [
  7380. {
  7381. "type": "integer",
  7382. "description": "商品id",
  7383. "name": "goodsid",
  7384. "in": "query"
  7385. }
  7386. ],
  7387. "responses": {
  7388. "200": {
  7389. "description": "OK",
  7390. "schema": {
  7391. "type": "array",
  7392. "items": {
  7393. "$ref": "#/definitions/models.Qhjgoodsex"
  7394. }
  7395. }
  7396. },
  7397. "500": {
  7398. "description": "Internal Server Error",
  7399. "schema": {
  7400. "$ref": "#/definitions/app.Response"
  7401. }
  7402. }
  7403. }
  7404. }
  7405. },
  7406. "/Qhj/QueryPayOrder": {
  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": "accountid",
  7425. "in": "query",
  7426. "required": true
  7427. },
  7428. {
  7429. "type": "integer",
  7430. "description": "成交单号",
  7431. "name": "tradeid",
  7432. "in": "query"
  7433. },
  7434. {
  7435. "type": "integer",
  7436. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7437. "name": "payflag",
  7438. "in": "query"
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "type": "array",
  7446. "items": {
  7447. "$ref": "#/definitions/models.QhjPayOrder"
  7448. }
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/Qhj/QueryPickArea": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "produces": [
  7468. "application/json"
  7469. ],
  7470. "tags": [
  7471. "大连千海金"
  7472. ],
  7473. "summary": "查询提货门店",
  7474. "parameters": [
  7475. {
  7476. "type": "integer",
  7477. "description": "用户ID",
  7478. "name": "userid",
  7479. "in": "query"
  7480. }
  7481. ],
  7482. "responses": {
  7483. "200": {
  7484. "description": "OK",
  7485. "schema": {
  7486. "type": "array",
  7487. "items": {
  7488. "$ref": "#/definitions/models.QhjPickArea"
  7489. }
  7490. }
  7491. },
  7492. "500": {
  7493. "description": "Internal Server Error",
  7494. "schema": {
  7495. "$ref": "#/definitions/app.Response"
  7496. }
  7497. }
  7498. }
  7499. }
  7500. },
  7501. "/Qhj/QueryPickGoods": {
  7502. "get": {
  7503. "security": [
  7504. {
  7505. "ApiKeyAuth": []
  7506. }
  7507. ],
  7508. "produces": [
  7509. "application/json"
  7510. ],
  7511. "tags": [
  7512. "大连千海金"
  7513. ],
  7514. "summary": "查询提货商品",
  7515. "parameters": [
  7516. {
  7517. "type": "string",
  7518. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7519. "name": "status",
  7520. "in": "query"
  7521. }
  7522. ],
  7523. "responses": {
  7524. "200": {
  7525. "description": "OK",
  7526. "schema": {
  7527. "type": "array",
  7528. "items": {
  7529. "$ref": "#/definitions/models.QhjPickGoods"
  7530. }
  7531. }
  7532. },
  7533. "500": {
  7534. "description": "Internal Server Error",
  7535. "schema": {
  7536. "$ref": "#/definitions/app.Response"
  7537. }
  7538. }
  7539. }
  7540. }
  7541. },
  7542. "/Qhj/QueryRSTriggerLog": {
  7543. "get": {
  7544. "security": [
  7545. {
  7546. "ApiKeyAuth": []
  7547. }
  7548. ],
  7549. "produces": [
  7550. "application/json"
  7551. ],
  7552. "tags": [
  7553. "大连千海金"
  7554. ],
  7555. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7556. "parameters": [
  7557. {
  7558. "type": "integer",
  7559. "description": "用户ID",
  7560. "name": "userid",
  7561. "in": "query",
  7562. "required": true
  7563. },
  7564. {
  7565. "type": "integer",
  7566. "description": "定投策略id",
  7567. "name": "regularlystrategyid",
  7568. "in": "query"
  7569. }
  7570. ],
  7571. "responses": {
  7572. "200": {
  7573. "description": "OK",
  7574. "schema": {
  7575. "type": "array",
  7576. "items": {
  7577. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7578. }
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/Qhj/QueryRStrategy": {
  7591. "get": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "大连千海金"
  7602. ],
  7603. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7604. "parameters": [
  7605. {
  7606. "type": "integer",
  7607. "description": "用户ID",
  7608. "name": "userid",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "string",
  7614. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7615. "name": "status",
  7616. "in": "query"
  7617. }
  7618. ],
  7619. "responses": {
  7620. "200": {
  7621. "description": "OK",
  7622. "schema": {
  7623. "type": "array",
  7624. "items": {
  7625. "$ref": "#/definitions/models.QhjRStrategy"
  7626. }
  7627. }
  7628. },
  7629. "500": {
  7630. "description": "Internal Server Error",
  7631. "schema": {
  7632. "$ref": "#/definitions/app.Response"
  7633. }
  7634. }
  7635. }
  7636. }
  7637. },
  7638. "/Qhj/QueryReckonPriceLog": {
  7639. "get": {
  7640. "security": [
  7641. {
  7642. "ApiKeyAuth": []
  7643. }
  7644. ],
  7645. "produces": [
  7646. "application/json"
  7647. ],
  7648. "tags": [
  7649. "大连千海金"
  7650. ],
  7651. "summary": "查询定投价(结算价)",
  7652. "parameters": [
  7653. {
  7654. "type": "integer",
  7655. "description": "商品ID",
  7656. "name": "goodsid",
  7657. "in": "query"
  7658. },
  7659. {
  7660. "type": "string",
  7661. "description": "交易日 格式(yyyymmdd)",
  7662. "name": "tradedate",
  7663. "in": "query"
  7664. }
  7665. ],
  7666. "responses": {
  7667. "200": {
  7668. "description": "OK",
  7669. "schema": {
  7670. "type": "array",
  7671. "items": {
  7672. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7673. }
  7674. }
  7675. },
  7676. "500": {
  7677. "description": "Internal Server Error",
  7678. "schema": {
  7679. "$ref": "#/definitions/app.Response"
  7680. }
  7681. }
  7682. }
  7683. }
  7684. },
  7685. "/Qhj/QuerySiteColumnDetail": {
  7686. "get": {
  7687. "security": [
  7688. {
  7689. "ApiKeyAuth": []
  7690. }
  7691. ],
  7692. "produces": [
  7693. "application/json"
  7694. ],
  7695. "tags": [
  7696. "大连千海金"
  7697. ],
  7698. "summary": "查询资讯",
  7699. "parameters": [
  7700. {
  7701. "type": "integer",
  7702. "description": "用户ID",
  7703. "name": "userid",
  7704. "in": "query",
  7705. "required": true
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "type": "array",
  7713. "items": {
  7714. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7715. }
  7716. }
  7717. },
  7718. "500": {
  7719. "description": "Internal Server Error",
  7720. "schema": {
  7721. "$ref": "#/definitions/app.Response"
  7722. }
  7723. }
  7724. }
  7725. }
  7726. },
  7727. "/Qhj/QueryTradeGoodsPickup": {
  7728. "get": {
  7729. "security": [
  7730. {
  7731. "ApiKeyAuth": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "大连千海金"
  7739. ],
  7740. "summary": "查询提货",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "用户ID",
  7745. "name": "userid",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "type": "array",
  7755. "items": {
  7756. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7757. }
  7758. }
  7759. },
  7760. "500": {
  7761. "description": "Internal Server Error",
  7762. "schema": {
  7763. "$ref": "#/definitions/app.Response"
  7764. }
  7765. }
  7766. }
  7767. }
  7768. },
  7769. "/Qhj/QueryUserCollectConfig": {
  7770. "get": {
  7771. "security": [
  7772. {
  7773. "ApiKeyAuth": []
  7774. }
  7775. ],
  7776. "produces": [
  7777. "application/json"
  7778. ],
  7779. "tags": [
  7780. "大连千海金"
  7781. ],
  7782. "summary": "查询提现账户设置",
  7783. "parameters": [
  7784. {
  7785. "type": "integer",
  7786. "description": "用户ID",
  7787. "name": "userid",
  7788. "in": "query",
  7789. "required": true
  7790. }
  7791. ],
  7792. "responses": {
  7793. "200": {
  7794. "description": "OK",
  7795. "schema": {
  7796. "type": "array",
  7797. "items": {
  7798. "$ref": "#/definitions/models.UserCollectConfig"
  7799. }
  7800. }
  7801. },
  7802. "500": {
  7803. "description": "Internal Server Error",
  7804. "schema": {
  7805. "$ref": "#/definitions/app.Response"
  7806. }
  7807. }
  7808. }
  7809. }
  7810. },
  7811. "/Qhj/QueryUserReceiveInfo": {
  7812. "get": {
  7813. "security": [
  7814. {
  7815. "ApiKeyAuth": []
  7816. }
  7817. ],
  7818. "produces": [
  7819. "application/json"
  7820. ],
  7821. "tags": [
  7822. "大连千海金"
  7823. ],
  7824. "summary": "查询收货地址信息",
  7825. "parameters": [
  7826. {
  7827. "type": "integer",
  7828. "description": "用户ID",
  7829. "name": "userid",
  7830. "in": "query",
  7831. "required": true
  7832. }
  7833. ],
  7834. "responses": {
  7835. "200": {
  7836. "description": "OK",
  7837. "schema": {
  7838. "type": "array",
  7839. "items": {
  7840. "$ref": "#/definitions/models.UserReceiveInfo"
  7841. }
  7842. }
  7843. },
  7844. "500": {
  7845. "description": "Internal Server Error",
  7846. "schema": {
  7847. "$ref": "#/definitions/app.Response"
  7848. }
  7849. }
  7850. }
  7851. }
  7852. },
  7853. "/Quote/QueryHistoryDatas": {
  7854. "get": {
  7855. "security": [
  7856. {
  7857. "ApiKeyAuth": []
  7858. }
  7859. ],
  7860. "produces": [
  7861. "application/json"
  7862. ],
  7863. "tags": [
  7864. "行情服务"
  7865. ],
  7866. "summary": "查询行情历史数据",
  7867. "parameters": [
  7868. {
  7869. "type": "integer",
  7870. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7871. "name": "cycleType",
  7872. "in": "query",
  7873. "required": true
  7874. },
  7875. {
  7876. "type": "string",
  7877. "description": "商品代码",
  7878. "name": "goodsCode",
  7879. "in": "query",
  7880. "required": true
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7885. "name": "startTime",
  7886. "in": "query"
  7887. },
  7888. {
  7889. "type": "string",
  7890. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7891. "name": "endTime",
  7892. "in": "query"
  7893. },
  7894. {
  7895. "type": "integer",
  7896. "description": "条数",
  7897. "name": "count",
  7898. "in": "query"
  7899. },
  7900. {
  7901. "type": "boolean",
  7902. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7903. "name": "isAsc",
  7904. "in": "query"
  7905. }
  7906. ],
  7907. "responses": {
  7908. "200": {
  7909. "description": "OK",
  7910. "schema": {
  7911. "$ref": "#/definitions/quote.HistoryData"
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/Quote/QueryHistoryTikDatas": {
  7924. "get": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "行情服务"
  7935. ],
  7936. "summary": "查询行情Tik数据",
  7937. "parameters": [
  7938. {
  7939. "type": "string",
  7940. "description": "商品代码",
  7941. "name": "goodsCode",
  7942. "in": "query",
  7943. "required": true
  7944. },
  7945. {
  7946. "type": "string",
  7947. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7948. "name": "startTime",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "string",
  7953. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7954. "name": "endTime",
  7955. "in": "query"
  7956. },
  7957. {
  7958. "type": "integer",
  7959. "description": "条数",
  7960. "name": "count",
  7961. "in": "query"
  7962. },
  7963. {
  7964. "type": "boolean",
  7965. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7966. "name": "isAsc",
  7967. "in": "query"
  7968. }
  7969. ],
  7970. "responses": {
  7971. "200": {
  7972. "description": "OK",
  7973. "schema": {
  7974. "$ref": "#/definitions/quote.HistoryTikData"
  7975. }
  7976. },
  7977. "500": {
  7978. "description": "Internal Server Error",
  7979. "schema": {
  7980. "$ref": "#/definitions/app.Response"
  7981. }
  7982. }
  7983. }
  7984. }
  7985. },
  7986. "/Quote/QueryQuoteDay": {
  7987. "get": {
  7988. "security": [
  7989. {
  7990. "ApiKeyAuth": []
  7991. }
  7992. ],
  7993. "produces": [
  7994. "application/json"
  7995. ],
  7996. "tags": [
  7997. "行情服务"
  7998. ],
  7999. "summary": "获取商品盘面信息",
  8000. "parameters": [
  8001. {
  8002. "type": "string",
  8003. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8004. "name": "goodsCodes",
  8005. "in": "query",
  8006. "required": true
  8007. }
  8008. ],
  8009. "responses": {
  8010. "200": {
  8011. "description": "OK",
  8012. "schema": {
  8013. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8014. }
  8015. },
  8016. "500": {
  8017. "description": "Internal Server Error",
  8018. "schema": {
  8019. "$ref": "#/definitions/app.Response"
  8020. }
  8021. }
  8022. }
  8023. }
  8024. },
  8025. "/Quote/QueryTSData": {
  8026. "get": {
  8027. "security": [
  8028. {
  8029. "ApiKeyAuth": []
  8030. }
  8031. ],
  8032. "produces": [
  8033. "application/json"
  8034. ],
  8035. "tags": [
  8036. "行情服务"
  8037. ],
  8038. "summary": "分时图数据查询",
  8039. "parameters": [
  8040. {
  8041. "type": "string",
  8042. "description": "商品代码",
  8043. "name": "goodsCode",
  8044. "in": "query",
  8045. "required": true
  8046. }
  8047. ],
  8048. "responses": {
  8049. "200": {
  8050. "description": "OK",
  8051. "schema": {
  8052. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8053. }
  8054. },
  8055. "500": {
  8056. "description": "Internal Server Error",
  8057. "schema": {
  8058. "$ref": "#/definitions/app.Response"
  8059. }
  8060. }
  8061. }
  8062. }
  8063. },
  8064. "/SZDZ/QueryConvertConfig": {
  8065. "get": {
  8066. "security": [
  8067. {
  8068. "ApiKeyAuth": []
  8069. }
  8070. ],
  8071. "produces": [
  8072. "application/json"
  8073. ],
  8074. "tags": [
  8075. "定制【尚志大宗】"
  8076. ],
  8077. "summary": "查询交易系统转换设置",
  8078. "parameters": [
  8079. {
  8080. "type": "integer",
  8081. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8082. "name": "convertType",
  8083. "in": "query"
  8084. },
  8085. {
  8086. "type": "string",
  8087. "description": "外部商品代码[JD\\PD]",
  8088. "name": "outerGoodsCode",
  8089. "in": "query"
  8090. },
  8091. {
  8092. "type": "string",
  8093. "description": "内部商品ID列表[交易],格式:1,2,3",
  8094. "name": "innerGoodsIDs",
  8095. "in": "query"
  8096. }
  8097. ],
  8098. "responses": {
  8099. "200": {
  8100. "description": "OK",
  8101. "schema": {
  8102. "$ref": "#/definitions/models.Szdz3convertconfig"
  8103. }
  8104. },
  8105. "500": {
  8106. "description": "Internal Server Error",
  8107. "schema": {
  8108. "$ref": "#/definitions/app.Response"
  8109. }
  8110. }
  8111. }
  8112. }
  8113. },
  8114. "/SZDZ/QueryConvertLog": {
  8115. "get": {
  8116. "security": [
  8117. {
  8118. "ApiKeyAuth": []
  8119. }
  8120. ],
  8121. "produces": [
  8122. "application/json"
  8123. ],
  8124. "tags": [
  8125. "定制【尚志大宗】"
  8126. ],
  8127. "summary": "交易系统转换流水查询",
  8128. "parameters": [
  8129. {
  8130. "type": "string",
  8131. "description": "资金账户 - 格式:1,2,3",
  8132. "name": "accountID",
  8133. "in": "query",
  8134. "required": true
  8135. },
  8136. {
  8137. "type": "string",
  8138. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8139. "name": "startDate",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8145. "name": "endDate",
  8146. "in": "query"
  8147. }
  8148. ],
  8149. "responses": {
  8150. "200": {
  8151. "description": "OK",
  8152. "schema": {
  8153. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8154. }
  8155. },
  8156. "500": {
  8157. "description": "Internal Server Error",
  8158. "schema": {
  8159. "$ref": "#/definitions/app.Response"
  8160. }
  8161. }
  8162. }
  8163. }
  8164. },
  8165. "/SZDZ/QueryGoodsPickup": {
  8166. "get": {
  8167. "security": [
  8168. {
  8169. "ApiKeyAuth": []
  8170. }
  8171. ],
  8172. "produces": [
  8173. "application/json"
  8174. ],
  8175. "tags": [
  8176. "定制【尚志大宗】"
  8177. ],
  8178. "summary": "商品提货单查询",
  8179. "parameters": [
  8180. {
  8181. "type": "string",
  8182. "description": "资金账户 - 格式:1,2,3",
  8183. "name": "accountID",
  8184. "in": "query",
  8185. "required": true
  8186. },
  8187. {
  8188. "type": "integer",
  8189. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8190. "name": "takeOrderStatus",
  8191. "in": "query"
  8192. }
  8193. ],
  8194. "responses": {
  8195. "200": {
  8196. "description": "OK",
  8197. "schema": {
  8198. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8199. }
  8200. },
  8201. "500": {
  8202. "description": "Internal Server Error",
  8203. "schema": {
  8204. "$ref": "#/definitions/app.Response"
  8205. }
  8206. }
  8207. }
  8208. }
  8209. },
  8210. "/SZDZ/QueryRecieptOrder": {
  8211. "get": {
  8212. "security": [
  8213. {
  8214. "ApiKeyAuth": []
  8215. }
  8216. ],
  8217. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8218. "produces": [
  8219. "application/json"
  8220. ],
  8221. "tags": [
  8222. "定制【尚志大宗】"
  8223. ],
  8224. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8225. "parameters": [
  8226. {
  8227. "type": "integer",
  8228. "description": "页码",
  8229. "name": "page",
  8230. "in": "query"
  8231. },
  8232. {
  8233. "type": "integer",
  8234. "description": "每页条数",
  8235. "name": "pagesize",
  8236. "in": "query"
  8237. },
  8238. {
  8239. "type": "integer",
  8240. "description": "商品ID",
  8241. "name": "goodsID",
  8242. "in": "query",
  8243. "required": true
  8244. },
  8245. {
  8246. "type": "string",
  8247. "description": "所属账户名称",
  8248. "name": "accountName",
  8249. "in": "query"
  8250. },
  8251. {
  8252. "type": "integer",
  8253. "description": "市场ID",
  8254. "name": "marketID",
  8255. "in": "query"
  8256. },
  8257. {
  8258. "type": "integer",
  8259. "description": "方向 - 0:买 1:卖",
  8260. "name": "buyorsell",
  8261. "in": "query",
  8262. "required": true
  8263. }
  8264. ],
  8265. "responses": {
  8266. "200": {
  8267. "description": "OK",
  8268. "schema": {
  8269. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8270. }
  8271. },
  8272. "500": {
  8273. "description": "Internal Server Error",
  8274. "schema": {
  8275. "$ref": "#/definitions/app.Response"
  8276. }
  8277. }
  8278. }
  8279. }
  8280. },
  8281. "/SZDZ/QuerySZDZTradePosition": {
  8282. "get": {
  8283. "security": [
  8284. {
  8285. "ApiKeyAuth": []
  8286. }
  8287. ],
  8288. "produces": [
  8289. "application/json"
  8290. ],
  8291. "tags": [
  8292. "定制【尚志大宗】"
  8293. ],
  8294. "summary": "持仓汇总查询(尚志大宗)",
  8295. "parameters": [
  8296. {
  8297. "type": "integer",
  8298. "description": "资金账户",
  8299. "name": "accountID",
  8300. "in": "query",
  8301. "required": true
  8302. }
  8303. ],
  8304. "responses": {
  8305. "200": {
  8306. "description": "OK",
  8307. "schema": {
  8308. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8309. }
  8310. },
  8311. "500": {
  8312. "description": "Internal Server Error",
  8313. "schema": {
  8314. "$ref": "#/definitions/app.Response"
  8315. }
  8316. }
  8317. }
  8318. }
  8319. },
  8320. "/SZDZ/SearchWhite": {
  8321. "get": {
  8322. "security": [
  8323. {
  8324. "ApiKeyAuth": []
  8325. }
  8326. ],
  8327. "produces": [
  8328. "application/json"
  8329. ],
  8330. "tags": [
  8331. "定制【尚志大宗】"
  8332. ],
  8333. "summary": "搜索白名单",
  8334. "parameters": [
  8335. {
  8336. "type": "integer",
  8337. "description": "用户ID",
  8338. "name": "userID",
  8339. "in": "query",
  8340. "required": true
  8341. }
  8342. ],
  8343. "responses": {
  8344. "200": {
  8345. "description": "OK",
  8346. "schema": {
  8347. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/Search/SearchGoodses": {
  8360. "get": {
  8361. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8362. "produces": [
  8363. "application/json"
  8364. ],
  8365. "tags": [
  8366. "检索服务"
  8367. ],
  8368. "summary": "检索商品信息",
  8369. "parameters": [
  8370. {
  8371. "type": "string",
  8372. "description": "检索内容",
  8373. "name": "content",
  8374. "in": "query",
  8375. "required": true
  8376. },
  8377. {
  8378. "type": "string",
  8379. "description": "交易模式,格式:1,2,3",
  8380. "name": "tradeModes",
  8381. "in": "query"
  8382. }
  8383. ],
  8384. "responses": {
  8385. "200": {
  8386. "description": "OK",
  8387. "schema": {
  8388. "$ref": "#/definitions/models.SearchGoods"
  8389. }
  8390. },
  8391. "500": {
  8392. "description": "Internal Server Error",
  8393. "schema": {
  8394. "$ref": "#/definitions/app.Response"
  8395. }
  8396. }
  8397. }
  8398. }
  8399. },
  8400. "/TaAccount/GetTaAccounts": {
  8401. "get": {
  8402. "security": [
  8403. {
  8404. "ApiKeyAuth": []
  8405. }
  8406. ],
  8407. "produces": [
  8408. "application/json"
  8409. ],
  8410. "tags": [
  8411. "资金账户"
  8412. ],
  8413. "summary": "获取资金账户信息",
  8414. "parameters": [
  8415. {
  8416. "type": "integer",
  8417. "description": "登录账户",
  8418. "name": "loginID",
  8419. "in": "query",
  8420. "required": true
  8421. },
  8422. {
  8423. "type": "integer",
  8424. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8425. "name": "taAccountType",
  8426. "in": "query"
  8427. }
  8428. ],
  8429. "responses": {
  8430. "200": {
  8431. "description": "OK",
  8432. "schema": {
  8433. "$ref": "#/definitions/models.Taaccount"
  8434. }
  8435. },
  8436. "500": {
  8437. "description": "Internal Server Error",
  8438. "schema": {
  8439. "$ref": "#/definitions/app.Response"
  8440. }
  8441. }
  8442. }
  8443. }
  8444. },
  8445. "/TaAccount/QueryAmountLog": {
  8446. "get": {
  8447. "security": [
  8448. {
  8449. "ApiKeyAuth": []
  8450. }
  8451. ],
  8452. "produces": [
  8453. "application/json"
  8454. ],
  8455. "tags": [
  8456. "资金账户"
  8457. ],
  8458. "summary": "资金流水查询(当前)",
  8459. "parameters": [
  8460. {
  8461. "type": "integer",
  8462. "description": "页码",
  8463. "name": "page",
  8464. "in": "query"
  8465. },
  8466. {
  8467. "type": "integer",
  8468. "description": "每页条数",
  8469. "name": "pagesize",
  8470. "in": "query"
  8471. },
  8472. {
  8473. "type": "string",
  8474. "description": "资金账户 - 格式:1,2,3",
  8475. "name": "accountID",
  8476. "in": "query",
  8477. "required": true
  8478. },
  8479. {
  8480. "type": "string",
  8481. "description": "资金操作类型 - 格式:1,2,3",
  8482. "name": "OperateType",
  8483. "in": "query"
  8484. }
  8485. ],
  8486. "responses": {
  8487. "200": {
  8488. "description": "OK",
  8489. "schema": {
  8490. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8491. }
  8492. },
  8493. "500": {
  8494. "description": "Internal Server Error",
  8495. "schema": {
  8496. "$ref": "#/definitions/app.Response"
  8497. }
  8498. }
  8499. }
  8500. }
  8501. },
  8502. "/TaAccount/QueryHisAmountLog": {
  8503. "get": {
  8504. "security": [
  8505. {
  8506. "ApiKeyAuth": []
  8507. }
  8508. ],
  8509. "produces": [
  8510. "application/json"
  8511. ],
  8512. "tags": [
  8513. "资金账户"
  8514. ],
  8515. "summary": "资金流水查询(历史)",
  8516. "parameters": [
  8517. {
  8518. "type": "integer",
  8519. "description": "页码",
  8520. "name": "page",
  8521. "in": "query"
  8522. },
  8523. {
  8524. "type": "integer",
  8525. "description": "每页条数",
  8526. "name": "pagesize",
  8527. "in": "query"
  8528. },
  8529. {
  8530. "type": "string",
  8531. "description": "资金账户 - 格式:1,2,3",
  8532. "name": "accountID",
  8533. "in": "query",
  8534. "required": true
  8535. },
  8536. {
  8537. "type": "string",
  8538. "description": "资金操作类型 - 格式:1,2,3",
  8539. "name": "OperateType",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "string",
  8544. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8545. "name": "startDate",
  8546. "in": "query"
  8547. },
  8548. {
  8549. "type": "string",
  8550. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8551. "name": "endDate",
  8552. "in": "query"
  8553. }
  8554. ],
  8555. "responses": {
  8556. "200": {
  8557. "description": "OK",
  8558. "schema": {
  8559. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8560. }
  8561. },
  8562. "500": {
  8563. "description": "Internal Server Error",
  8564. "schema": {
  8565. "$ref": "#/definitions/app.Response"
  8566. }
  8567. }
  8568. }
  8569. }
  8570. },
  8571. "/Trade/QueryRecieptOrder": {
  8572. "get": {
  8573. "security": [
  8574. {
  8575. "ApiKeyAuth": []
  8576. }
  8577. ],
  8578. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8579. "produces": [
  8580. "application/json"
  8581. ],
  8582. "tags": [
  8583. "通用交易"
  8584. ],
  8585. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8586. "parameters": [
  8587. {
  8588. "type": "integer",
  8589. "description": "页码",
  8590. "name": "page",
  8591. "in": "query"
  8592. },
  8593. {
  8594. "type": "integer",
  8595. "description": "每页条数",
  8596. "name": "pagesize",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "商品ID",
  8602. "name": "goodsID",
  8603. "in": "query",
  8604. "required": true
  8605. },
  8606. {
  8607. "type": "string",
  8608. "description": "所属账户名称",
  8609. "name": "accountName",
  8610. "in": "query"
  8611. },
  8612. {
  8613. "type": "integer",
  8614. "description": "市场ID",
  8615. "name": "marketID",
  8616. "in": "query"
  8617. },
  8618. {
  8619. "type": "integer",
  8620. "description": "方向 - 0:买 1:卖",
  8621. "name": "buyorsell",
  8622. "in": "query",
  8623. "required": true
  8624. }
  8625. ],
  8626. "responses": {
  8627. "200": {
  8628. "description": "OK",
  8629. "schema": {
  8630. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8631. }
  8632. },
  8633. "500": {
  8634. "description": "Internal Server Error",
  8635. "schema": {
  8636. "$ref": "#/definitions/app.Response"
  8637. }
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "/User/AddMessageBoard": {
  8643. "post": {
  8644. "security": [
  8645. {
  8646. "ApiKeyAuth": []
  8647. }
  8648. ],
  8649. "produces": [
  8650. "application/json"
  8651. ],
  8652. "tags": [
  8653. "用户信息"
  8654. ],
  8655. "summary": "添加用户留言板信息",
  8656. "parameters": [
  8657. {
  8658. "type": "integer",
  8659. "description": "用户ID",
  8660. "name": "userID",
  8661. "in": "query",
  8662. "required": true
  8663. },
  8664. {
  8665. "type": "string",
  8666. "description": "留言信息",
  8667. "name": "message",
  8668. "in": "query",
  8669. "required": true
  8670. },
  8671. {
  8672. "type": "string",
  8673. "description": "联系电话",
  8674. "name": "contactNum",
  8675. "in": "query",
  8676. "required": true
  8677. }
  8678. ],
  8679. "responses": {
  8680. "200": {
  8681. "description": "OK",
  8682. "schema": {
  8683. "$ref": "#/definitions/app.Response"
  8684. }
  8685. },
  8686. "500": {
  8687. "description": "Internal Server Error",
  8688. "schema": {
  8689. "$ref": "#/definitions/app.Response"
  8690. }
  8691. }
  8692. }
  8693. }
  8694. },
  8695. "/User/AddUserFavoriteGoods": {
  8696. "post": {
  8697. "security": [
  8698. {
  8699. "ApiKeyAuth": []
  8700. }
  8701. ],
  8702. "produces": [
  8703. "application/json"
  8704. ],
  8705. "tags": [
  8706. "用户信息"
  8707. ],
  8708. "summary": "添加用户商品收藏信息",
  8709. "parameters": [
  8710. {
  8711. "type": "integer",
  8712. "description": "用户ID",
  8713. "name": "userID",
  8714. "in": "query",
  8715. "required": true
  8716. },
  8717. {
  8718. "type": "integer",
  8719. "description": "商品ID",
  8720. "name": "goodsID",
  8721. "in": "query",
  8722. "required": true
  8723. }
  8724. ],
  8725. "responses": {
  8726. "200": {
  8727. "description": "OK",
  8728. "schema": {
  8729. "$ref": "#/definitions/app.Response"
  8730. }
  8731. },
  8732. "500": {
  8733. "description": "Internal Server Error",
  8734. "schema": {
  8735. "$ref": "#/definitions/app.Response"
  8736. }
  8737. }
  8738. }
  8739. }
  8740. },
  8741. "/User/GetLoginID": {
  8742. "get": {
  8743. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8744. "produces": [
  8745. "application/json"
  8746. ],
  8747. "tags": [
  8748. "用户信息"
  8749. ],
  8750. "summary": "获取登录ID",
  8751. "parameters": [
  8752. {
  8753. "type": "string",
  8754. "description": "登录代码",
  8755. "name": "username",
  8756. "in": "query",
  8757. "required": true
  8758. }
  8759. ],
  8760. "responses": {
  8761. "200": {
  8762. "description": "OK",
  8763. "schema": {
  8764. "$ref": "#/definitions/app.Response"
  8765. }
  8766. },
  8767. "500": {
  8768. "description": "Internal Server Error",
  8769. "schema": {
  8770. "$ref": "#/definitions/app.Response"
  8771. }
  8772. }
  8773. }
  8774. }
  8775. },
  8776. "/User/GetUserAccount": {
  8777. "get": {
  8778. "security": [
  8779. {
  8780. "ApiKeyAuth": []
  8781. }
  8782. ],
  8783. "produces": [
  8784. "application/json"
  8785. ],
  8786. "tags": [
  8787. "用户信息"
  8788. ],
  8789. "summary": "获取用户账号信息",
  8790. "parameters": [
  8791. {
  8792. "type": "integer",
  8793. "description": "用户ID",
  8794. "name": "userID",
  8795. "in": "query",
  8796. "required": true
  8797. }
  8798. ],
  8799. "responses": {
  8800. "200": {
  8801. "description": "OK",
  8802. "schema": {
  8803. "$ref": "#/definitions/models.Useraccount"
  8804. }
  8805. },
  8806. "500": {
  8807. "description": "Internal Server Error",
  8808. "schema": {
  8809. "$ref": "#/definitions/app.Response"
  8810. }
  8811. }
  8812. }
  8813. }
  8814. },
  8815. "/User/GetUserAuthStatus": {
  8816. "get": {
  8817. "security": [
  8818. {
  8819. "ApiKeyAuth": []
  8820. }
  8821. ],
  8822. "produces": [
  8823. "application/json"
  8824. ],
  8825. "tags": [
  8826. "用户信息"
  8827. ],
  8828. "summary": "获取用户实名认证状态",
  8829. "parameters": [
  8830. {
  8831. "type": "integer",
  8832. "description": "用户ID",
  8833. "name": "userID",
  8834. "in": "query",
  8835. "required": true
  8836. }
  8837. ],
  8838. "responses": {
  8839. "200": {
  8840. "description": "OK",
  8841. "schema": {
  8842. "$ref": "#/definitions/app.Response"
  8843. }
  8844. },
  8845. "500": {
  8846. "description": "Internal Server Error",
  8847. "schema": {
  8848. "$ref": "#/definitions/app.Response"
  8849. }
  8850. }
  8851. }
  8852. }
  8853. },
  8854. "/User/LoginQuery": {
  8855. "get": {
  8856. "security": [
  8857. {
  8858. "ApiKeyAuth": []
  8859. }
  8860. ],
  8861. "produces": [
  8862. "application/json"
  8863. ],
  8864. "tags": [
  8865. "用户信息"
  8866. ],
  8867. "summary": "账户登录后信息查询",
  8868. "parameters": [
  8869. {
  8870. "type": "integer",
  8871. "description": "登录账号",
  8872. "name": "loginID",
  8873. "in": "query",
  8874. "required": true
  8875. }
  8876. ],
  8877. "responses": {
  8878. "200": {
  8879. "description": "OK",
  8880. "schema": {
  8881. "$ref": "#/definitions/user.LoginQueryRsp"
  8882. }
  8883. },
  8884. "500": {
  8885. "description": "Internal Server Error",
  8886. "schema": {
  8887. "$ref": "#/definitions/app.Response"
  8888. }
  8889. }
  8890. }
  8891. }
  8892. },
  8893. "/User/QueryMessageBoard": {
  8894. "get": {
  8895. "security": [
  8896. {
  8897. "ApiKeyAuth": []
  8898. }
  8899. ],
  8900. "produces": [
  8901. "application/json"
  8902. ],
  8903. "tags": [
  8904. "用户信息"
  8905. ],
  8906. "summary": "获取用户留言板信息",
  8907. "parameters": [
  8908. {
  8909. "type": "integer",
  8910. "description": "用户ID",
  8911. "name": "userID",
  8912. "in": "query",
  8913. "required": true
  8914. }
  8915. ],
  8916. "responses": {
  8917. "200": {
  8918. "description": "OK",
  8919. "schema": {
  8920. "$ref": "#/definitions/models.Messageboard"
  8921. }
  8922. },
  8923. "500": {
  8924. "description": "Internal Server Error",
  8925. "schema": {
  8926. "$ref": "#/definitions/app.Response"
  8927. }
  8928. }
  8929. }
  8930. }
  8931. },
  8932. "/User/QueryUserFavoriteGoodses": {
  8933. "get": {
  8934. "security": [
  8935. {
  8936. "ApiKeyAuth": []
  8937. }
  8938. ],
  8939. "produces": [
  8940. "application/json"
  8941. ],
  8942. "tags": [
  8943. "用户信息"
  8944. ],
  8945. "summary": "获取用户商品收藏信息",
  8946. "parameters": [
  8947. {
  8948. "type": "integer",
  8949. "description": "用户ID",
  8950. "name": "userID",
  8951. "in": "query",
  8952. "required": true
  8953. }
  8954. ],
  8955. "responses": {
  8956. "200": {
  8957. "description": "OK",
  8958. "schema": {
  8959. "$ref": "#/definitions/models.Userfavoritegoods"
  8960. }
  8961. },
  8962. "500": {
  8963. "description": "Internal Server Error",
  8964. "schema": {
  8965. "$ref": "#/definitions/app.Response"
  8966. }
  8967. }
  8968. }
  8969. }
  8970. },
  8971. "/User/QueryUserInfo": {
  8972. "get": {
  8973. "security": [
  8974. {
  8975. "ApiKeyAuth": []
  8976. }
  8977. ],
  8978. "produces": [
  8979. "application/json"
  8980. ],
  8981. "tags": [
  8982. "用户信息"
  8983. ],
  8984. "summary": "获取用户信息",
  8985. "parameters": [
  8986. {
  8987. "type": "integer",
  8988. "description": "用户ID",
  8989. "name": "userID",
  8990. "in": "query",
  8991. "required": true
  8992. },
  8993. {
  8994. "type": "boolean",
  8995. "description": "是否解密",
  8996. "name": "isDecrypt",
  8997. "in": "query"
  8998. }
  8999. ],
  9000. "responses": {
  9001. "200": {
  9002. "description": "OK",
  9003. "schema": {
  9004. "$ref": "#/definitions/models.Userinfo"
  9005. }
  9006. },
  9007. "500": {
  9008. "description": "Internal Server Error",
  9009. "schema": {
  9010. "$ref": "#/definitions/app.Response"
  9011. }
  9012. }
  9013. }
  9014. }
  9015. },
  9016. "/User/QueryUserReferNum": {
  9017. "get": {
  9018. "produces": [
  9019. "application/json"
  9020. ],
  9021. "tags": [
  9022. "用户信息"
  9023. ],
  9024. "summary": "获取用户邀请码",
  9025. "parameters": [
  9026. {
  9027. "type": "integer",
  9028. "description": "用户ID",
  9029. "name": "userID",
  9030. "in": "query",
  9031. "required": true
  9032. }
  9033. ],
  9034. "responses": {
  9035. "200": {
  9036. "description": "OK",
  9037. "schema": {
  9038. "$ref": "#/definitions/app.Response"
  9039. }
  9040. },
  9041. "500": {
  9042. "description": "Internal Server Error",
  9043. "schema": {
  9044. "$ref": "#/definitions/app.Response"
  9045. }
  9046. }
  9047. }
  9048. }
  9049. },
  9050. "/User/RemoveUserFavoriteGoods": {
  9051. "post": {
  9052. "security": [
  9053. {
  9054. "ApiKeyAuth": []
  9055. }
  9056. ],
  9057. "produces": [
  9058. "application/json"
  9059. ],
  9060. "tags": [
  9061. "用户信息"
  9062. ],
  9063. "summary": "移除用户商品收藏信息",
  9064. "parameters": [
  9065. {
  9066. "type": "integer",
  9067. "description": "用户ID",
  9068. "name": "userID",
  9069. "in": "query",
  9070. "required": true
  9071. },
  9072. {
  9073. "type": "integer",
  9074. "description": "商品ID",
  9075. "name": "goodsID",
  9076. "in": "query",
  9077. "required": true
  9078. }
  9079. ],
  9080. "responses": {
  9081. "200": {
  9082. "description": "OK",
  9083. "schema": {
  9084. "$ref": "#/definitions/app.Response"
  9085. }
  9086. },
  9087. "500": {
  9088. "description": "Internal Server Error",
  9089. "schema": {
  9090. "$ref": "#/definitions/app.Response"
  9091. }
  9092. }
  9093. }
  9094. }
  9095. },
  9096. "/User/UpdateUserAccountStatus": {
  9097. "post": {
  9098. "security": [
  9099. {
  9100. "ApiKeyAuth": []
  9101. }
  9102. ],
  9103. "produces": [
  9104. "application/json"
  9105. ],
  9106. "tags": [
  9107. "用户信息"
  9108. ],
  9109. "summary": "更新用户状态",
  9110. "parameters": [
  9111. {
  9112. "type": "integer",
  9113. "description": "用户ID",
  9114. "name": "userID",
  9115. "in": "query",
  9116. "required": true
  9117. },
  9118. {
  9119. "type": "integer",
  9120. "description": "账户状态 - 4:正常 6:注销(停用)",
  9121. "name": "accountStatus",
  9122. "in": "query",
  9123. "required": true
  9124. }
  9125. ],
  9126. "responses": {
  9127. "200": {
  9128. "description": "OK",
  9129. "schema": {
  9130. "$ref": "#/definitions/app.Response"
  9131. }
  9132. },
  9133. "500": {
  9134. "description": "Internal Server Error",
  9135. "schema": {
  9136. "$ref": "#/definitions/app.Response"
  9137. }
  9138. }
  9139. }
  9140. }
  9141. },
  9142. "/WRTrade/GetAllDeliveryGoods": {
  9143. "get": {
  9144. "security": [
  9145. {
  9146. "ApiKeyAuth": []
  9147. },
  9148. {
  9149. "ApiKeyAuth": []
  9150. }
  9151. ],
  9152. "produces": [
  9153. "application/json",
  9154. "application/json"
  9155. ],
  9156. "tags": [
  9157. "仓单贸易",
  9158. "仓单贸易"
  9159. ],
  9160. "summary": "获取带仓单分类的种类信息",
  9161. "responses": {
  9162. "200": {
  9163. "description": "OK",
  9164. "schema": {
  9165. "$ref": "#/definitions/app.Response"
  9166. }
  9167. },
  9168. "500": {
  9169. "description": "Internal Server Error",
  9170. "schema": {
  9171. "$ref": "#/definitions/app.Response"
  9172. }
  9173. }
  9174. }
  9175. }
  9176. }
  9177. },
  9178. "definitions": {
  9179. "app.Response": {
  9180. "type": "object",
  9181. "properties": {
  9182. "code": {
  9183. "type": "integer"
  9184. },
  9185. "data": {
  9186. "type": "object"
  9187. },
  9188. "msg": {
  9189. "type": "string"
  9190. },
  9191. "page": {
  9192. "description": "页码",
  9193. "type": "integer"
  9194. },
  9195. "pagesize": {
  9196. "description": "每页条数",
  9197. "type": "integer"
  9198. },
  9199. "total": {
  9200. "description": "总条数",
  9201. "type": "integer"
  9202. }
  9203. }
  9204. },
  9205. "common.ClientMenu": {
  9206. "type": "object",
  9207. "properties": {
  9208. "children": {
  9209. "description": "子菜单列表",
  9210. "type": "array",
  9211. "items": {
  9212. "$ref": "#/definitions/common.ClientMenu"
  9213. }
  9214. },
  9215. "code": {
  9216. "description": "ID",
  9217. "type": "string"
  9218. },
  9219. "isshow": {
  9220. "description": "是否显示",
  9221. "type": "boolean"
  9222. },
  9223. "rulekey": {
  9224. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9225. "type": "string"
  9226. },
  9227. "sort": {
  9228. "description": "排序",
  9229. "type": "integer"
  9230. },
  9231. "title": {
  9232. "description": "标题",
  9233. "type": "string"
  9234. },
  9235. "type": {
  9236. "description": "类型,1:菜单 2:按钮",
  9237. "type": "integer"
  9238. }
  9239. }
  9240. },
  9241. "common.QueryImageConfigsRsp": {
  9242. "type": "object",
  9243. "required": [
  9244. "configid"
  9245. ],
  9246. "properties": {
  9247. "areauserid": {
  9248. "description": "所属机构ID",
  9249. "type": "integer"
  9250. },
  9251. "configid": {
  9252. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9253. "type": "integer"
  9254. },
  9255. "createdate": {
  9256. "description": "创建时间",
  9257. "type": "string"
  9258. },
  9259. "creatorid": {
  9260. "description": "创建人",
  9261. "type": "integer"
  9262. },
  9263. "imagepath": {
  9264. "description": "图片",
  9265. "type": "string"
  9266. },
  9267. "imagetype": {
  9268. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9269. "type": "integer"
  9270. },
  9271. "isshow": {
  9272. "description": "是否展示 - 0:不展示 1:展示",
  9273. "type": "integer"
  9274. },
  9275. "marketid": {
  9276. "description": "市场ID",
  9277. "type": "integer"
  9278. },
  9279. "modifierid": {
  9280. "description": "操作人",
  9281. "type": "integer"
  9282. },
  9283. "sort": {
  9284. "description": "排序",
  9285. "type": "integer"
  9286. },
  9287. "title": {
  9288. "description": "标题",
  9289. "type": "string"
  9290. },
  9291. "trademode": {
  9292. "description": "交易模式",
  9293. "type": "integer"
  9294. },
  9295. "updatedate": {
  9296. "description": "修改时间",
  9297. "type": "string"
  9298. },
  9299. "url": {
  9300. "description": "链接(地址或商品ID)",
  9301. "type": "string"
  9302. },
  9303. "urltype": {
  9304. "description": "链接类型 - 1:直接地址 2:商品ID",
  9305. "type": "integer"
  9306. }
  9307. }
  9308. },
  9309. "common.QueryNoticeRsp": {
  9310. "type": "object",
  9311. "required": [
  9312. "autoid"
  9313. ],
  9314. "properties": {
  9315. "auditoruserid": {
  9316. "description": "审核人",
  9317. "type": "integer"
  9318. },
  9319. "auditremark": {
  9320. "description": "审核备注",
  9321. "type": "string"
  9322. },
  9323. "audittime": {
  9324. "description": "审核日期",
  9325. "type": "string"
  9326. },
  9327. "autoid": {
  9328. "description": "自增ID",
  9329. "type": "integer"
  9330. },
  9331. "content": {
  9332. "description": "内容",
  9333. "type": "string"
  9334. },
  9335. "createtime": {
  9336. "description": "创建时间",
  9337. "type": "string"
  9338. },
  9339. "creatorid": {
  9340. "description": "建仓人",
  9341. "type": "integer"
  9342. },
  9343. "endtime": {
  9344. "description": "结束时间",
  9345. "type": "string"
  9346. },
  9347. "istop": {
  9348. "description": "是否置顶 - 0:不置顶 1:置顶",
  9349. "type": "integer"
  9350. },
  9351. "msgiconurl": {
  9352. "description": "消息图标Url",
  9353. "type": "string"
  9354. },
  9355. "msgtype": {
  9356. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9357. "type": "integer"
  9358. },
  9359. "publisher": {
  9360. "description": "消息发布者",
  9361. "type": "string"
  9362. },
  9363. "readed": {
  9364. "description": "是否已读",
  9365. "type": "boolean"
  9366. },
  9367. "scheduletime": {
  9368. "description": "计划发送时间",
  9369. "type": "string"
  9370. },
  9371. "sendtype": {
  9372. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9373. "type": "integer"
  9374. },
  9375. "sentstatus": {
  9376. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9377. "type": "integer"
  9378. },
  9379. "title": {
  9380. "description": "标题",
  9381. "type": "string"
  9382. },
  9383. "userid": {
  9384. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9385. "type": "integer"
  9386. }
  9387. }
  9388. },
  9389. "common.QueryProvincesAndCitiesRsp": {
  9390. "type": "object",
  9391. "properties": {
  9392. "cities": {
  9393. "description": "市",
  9394. "type": "array",
  9395. "items": {
  9396. "$ref": "#/definitions/models.Division"
  9397. }
  9398. },
  9399. "province": {
  9400. "description": "省",
  9401. "type": "object",
  9402. "$ref": "#/definitions/models.Division"
  9403. }
  9404. }
  9405. },
  9406. "common.QueryTableDefineRsp": {
  9407. "type": "object",
  9408. "required": [
  9409. "tablekey"
  9410. ],
  9411. "properties": {
  9412. "columns": {
  9413. "description": "列头信息数组",
  9414. "type": "array",
  9415. "items": {
  9416. "$ref": "#/definitions/models.Tablecolumnconfig"
  9417. }
  9418. },
  9419. "remark": {
  9420. "description": "Remark",
  9421. "type": "string"
  9422. },
  9423. "tabelmenu": {
  9424. "description": "列表菜单",
  9425. "type": "string"
  9426. },
  9427. "tablekey": {
  9428. "description": "列表Key",
  9429. "type": "string"
  9430. },
  9431. "tablename": {
  9432. "description": "列表名称",
  9433. "type": "string"
  9434. },
  9435. "tabletype": {
  9436. "description": "列表类型 - 1:管理端 2:终端",
  9437. "type": "integer"
  9438. }
  9439. }
  9440. },
  9441. "common.QueryTraderMenuRsp": {
  9442. "type": "object",
  9443. "properties": {
  9444. "OperationMenu": {
  9445. "description": "功能菜单",
  9446. "type": "array",
  9447. "items": {
  9448. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9449. }
  9450. },
  9451. "QuoteMenu": {
  9452. "description": "报价牌分类菜单",
  9453. "type": "array",
  9454. "items": {
  9455. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9456. }
  9457. }
  9458. }
  9459. },
  9460. "cptrade.Cptradepositioncancel": {
  9461. "type": "object",
  9462. "required": [
  9463. "cancelid"
  9464. ],
  9465. "properties": {
  9466. "accountid": {
  9467. "description": "申请人账户ID",
  9468. "type": "integer"
  9469. },
  9470. "applystatus": {
  9471. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9472. "type": "integer"
  9473. },
  9474. "applytime": {
  9475. "description": "申请时间",
  9476. "type": "string"
  9477. },
  9478. "cancelid": {
  9479. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9480. "type": "integer"
  9481. },
  9482. "cancelqty": {
  9483. "description": "注销数量",
  9484. "type": "integer"
  9485. },
  9486. "createtime": {
  9487. "description": "创建时间",
  9488. "type": "string"
  9489. },
  9490. "creatorid": {
  9491. "description": "创建人ID",
  9492. "type": "integer"
  9493. },
  9494. "creatorname": {
  9495. "description": "创建人",
  9496. "type": "string"
  9497. },
  9498. "goodscode": {
  9499. "description": "订单商品代码",
  9500. "type": "string"
  9501. },
  9502. "goodsid": {
  9503. "description": "商品ID",
  9504. "type": "integer"
  9505. },
  9506. "goodsname": {
  9507. "description": "订单商品名称",
  9508. "type": "string"
  9509. },
  9510. "goodunit": {
  9511. "description": "报价单位",
  9512. "type": "string"
  9513. },
  9514. "handlestatus": {
  9515. "description": "处理状态",
  9516. "type": "integer"
  9517. },
  9518. "marketid": {
  9519. "description": "市场ID",
  9520. "type": "integer"
  9521. },
  9522. "marketname": {
  9523. "description": "市场名称",
  9524. "type": "string"
  9525. },
  9526. "tradedate": {
  9527. "description": "交易日(yyyyMMdd)",
  9528. "type": "string"
  9529. },
  9530. "userid": {
  9531. "description": "申请人ID",
  9532. "type": "integer"
  9533. }
  9534. }
  9535. },
  9536. "cptrade.Cptradepresaleapply": {
  9537. "type": "object",
  9538. "required": [
  9539. "applyid"
  9540. ],
  9541. "properties": {
  9542. "accountid": {
  9543. "description": "申请人账户ID",
  9544. "type": "integer"
  9545. },
  9546. "applyid": {
  9547. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9548. "type": "integer"
  9549. },
  9550. "applyremark": {
  9551. "description": "申请备注",
  9552. "type": "string"
  9553. },
  9554. "applystatus": {
  9555. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9556. "type": "integer"
  9557. },
  9558. "applytime": {
  9559. "description": "申请时间",
  9560. "type": "string"
  9561. },
  9562. "attachmenturl": {
  9563. "description": "附件地址",
  9564. "type": "string"
  9565. },
  9566. "endtime": {
  9567. "description": "预售结束时间",
  9568. "type": "string"
  9569. },
  9570. "goodscode": {
  9571. "description": "商品代码",
  9572. "type": "string"
  9573. },
  9574. "goodsid": {
  9575. "description": "商品ID",
  9576. "type": "integer"
  9577. },
  9578. "goodsname": {
  9579. "description": "商品名称",
  9580. "type": "string"
  9581. },
  9582. "goodunit": {
  9583. "description": "报价单位",
  9584. "type": "string"
  9585. },
  9586. "handlestatus": {
  9587. "description": "处理状态",
  9588. "type": "integer"
  9589. },
  9590. "marketid": {
  9591. "description": "预售市场ID",
  9592. "type": "integer"
  9593. },
  9594. "marketname": {
  9595. "description": "预售市场名称",
  9596. "type": "string"
  9597. },
  9598. "presaleqty": {
  9599. "description": "预售数量",
  9600. "type": "integer"
  9601. },
  9602. "relatedgoodscode": {
  9603. "description": "关联交易合约代码",
  9604. "type": "string"
  9605. },
  9606. "relatedgoodsid": {
  9607. "description": "关联交易合约ID",
  9608. "type": "integer"
  9609. },
  9610. "relatedgoodsname": {
  9611. "description": "关联交易合约名称",
  9612. "type": "string"
  9613. },
  9614. "starttime": {
  9615. "description": "预售开始时间",
  9616. "type": "string"
  9617. },
  9618. "tradedate": {
  9619. "description": "交易日(yyyyMMdd)",
  9620. "type": "string"
  9621. },
  9622. "trademode": {
  9623. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9624. "type": "integer"
  9625. },
  9626. "userid": {
  9627. "description": "申请人ID",
  9628. "type": "integer"
  9629. }
  9630. }
  9631. },
  9632. "cptrade.Cptradeusergoodsdata": {
  9633. "type": "object",
  9634. "required": [
  9635. "accountid",
  9636. "goodsid"
  9637. ],
  9638. "properties": {
  9639. "EnabledQty": {
  9640. "description": "可用量",
  9641. "type": "integer"
  9642. },
  9643. "GoodsCode": {
  9644. "description": "订单商品代码",
  9645. "type": "string"
  9646. },
  9647. "GoodsName": {
  9648. "description": "订单商品名称",
  9649. "type": "string"
  9650. },
  9651. "WRStandardCode": {
  9652. "description": "仓单标准代码",
  9653. "type": "string"
  9654. },
  9655. "WRStandardName": {
  9656. "description": "仓单标准名称",
  9657. "type": "string"
  9658. },
  9659. "accountid": {
  9660. "description": "账户ID",
  9661. "type": "integer"
  9662. },
  9663. "cancelqty": {
  9664. "description": "注销量",
  9665. "type": "integer"
  9666. },
  9667. "curpresaleqty": {
  9668. "description": "当前预售量",
  9669. "type": "integer"
  9670. },
  9671. "deliveryqty": {
  9672. "description": "交割量",
  9673. "type": "integer"
  9674. },
  9675. "freezeamount": {
  9676. "description": "冻结金额",
  9677. "type": "number"
  9678. },
  9679. "goodsid": {
  9680. "description": "商品ID",
  9681. "type": "integer"
  9682. },
  9683. "goodunit": {
  9684. "description": "报价单位",
  9685. "type": "string"
  9686. },
  9687. "hasspotfreeze": {
  9688. "description": "是否有现货冻结 - 0:否 1:有",
  9689. "type": "integer"
  9690. },
  9691. "inqty": {
  9692. "description": "转入量(总数量)",
  9693. "type": "integer"
  9694. },
  9695. "marketid": {
  9696. "description": "市场ID",
  9697. "type": "integer"
  9698. },
  9699. "presaledamount": {
  9700. "description": "已预售总金额",
  9701. "type": "integer"
  9702. },
  9703. "presaledqty": {
  9704. "description": "已预售量",
  9705. "type": "integer"
  9706. },
  9707. "userid": {
  9708. "description": "用户ID",
  9709. "type": "integer"
  9710. },
  9711. "wrstandardid": {
  9712. "description": "仓单标准ID",
  9713. "type": "integer"
  9714. }
  9715. }
  9716. },
  9717. "cptrade.QueryCPTradeMyBidRsp": {
  9718. "type": "object",
  9719. "required": [
  9720. "accountid",
  9721. "goodsid",
  9722. "marketid",
  9723. "orderid",
  9724. "orderqty",
  9725. "ordertime",
  9726. "tradeprice",
  9727. "tradeqty"
  9728. ],
  9729. "properties": {
  9730. "accountid": {
  9731. "description": "账户ID[报价币种]",
  9732. "type": "integer"
  9733. },
  9734. "goodsid": {
  9735. "description": "商品ID",
  9736. "type": "integer"
  9737. },
  9738. "goodunit": {
  9739. "description": "报价单位",
  9740. "type": "string"
  9741. },
  9742. "marketid": {
  9743. "description": "市场ID",
  9744. "type": "integer"
  9745. },
  9746. "orderid": {
  9747. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9748. "type": "integer"
  9749. },
  9750. "orderprice": {
  9751. "description": "委托价格",
  9752. "type": "number"
  9753. },
  9754. "orderqty": {
  9755. "description": "委托数量",
  9756. "type": "integer"
  9757. },
  9758. "ordertime": {
  9759. "description": "委托时间",
  9760. "type": "string"
  9761. },
  9762. "ordertotalprice": {
  9763. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9764. "type": "number"
  9765. },
  9766. "ordertotalweight": {
  9767. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9768. "type": "integer"
  9769. },
  9770. "totaltotalprice": {
  9771. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9772. "type": "number"
  9773. },
  9774. "tradeprice": {
  9775. "description": "成交价格",
  9776. "type": "number"
  9777. },
  9778. "tradeqty": {
  9779. "description": "成交数量",
  9780. "type": "integer"
  9781. }
  9782. }
  9783. },
  9784. "cptrade.QueryCPTradeOrderDetailRsq": {
  9785. "type": "object",
  9786. "required": [
  9787. "accountid",
  9788. "buildtype",
  9789. "buyorsell",
  9790. "goodsid",
  9791. "marketid",
  9792. "memberuserid",
  9793. "operatetype",
  9794. "orderqty",
  9795. "ordertime",
  9796. "pricemode",
  9797. "strorderid",
  9798. "tradedate",
  9799. "validtype"
  9800. ],
  9801. "properties": {
  9802. "accountid": {
  9803. "description": "账户ID[报价币种]",
  9804. "type": "integer"
  9805. },
  9806. "buildtype": {
  9807. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9808. "type": "integer"
  9809. },
  9810. "buyorsell": {
  9811. "description": "买卖 - 0:买 1:卖",
  9812. "type": "integer"
  9813. },
  9814. "cancelorderid": {
  9815. "description": "撤单单号(撤单时填写)",
  9816. "type": "integer"
  9817. },
  9818. "cancelqty": {
  9819. "description": "撤单数量",
  9820. "type": "integer"
  9821. },
  9822. "clientordertime": {
  9823. "description": "客户端委托时间",
  9824. "type": "string"
  9825. },
  9826. "clientticket": {
  9827. "description": "客户端流水号",
  9828. "type": "string"
  9829. },
  9830. "clienttype": {
  9831. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9832. "type": "integer"
  9833. },
  9834. "closeexchagechargevalue": {
  9835. "description": "平仓交易所手续费设置值",
  9836. "type": "number"
  9837. },
  9838. "closefeealgorithm": {
  9839. "description": "平仓手续费收取方式 1:比率 2:固定",
  9840. "type": "integer"
  9841. },
  9842. "closefreezecharge": {
  9843. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9844. "type": "number"
  9845. },
  9846. "closememberchargevalue": {
  9847. "description": "平仓会员手续费设置值",
  9848. "type": "number"
  9849. },
  9850. "closeqty": {
  9851. "description": "平仓数量(先建后平操作 需要记录)",
  9852. "type": "integer"
  9853. },
  9854. "closetradeqty": {
  9855. "description": "平仓成交数量(先建后平操作,需要记录)",
  9856. "type": "integer"
  9857. },
  9858. "closeunfreezecharge": {
  9859. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9860. "type": "number"
  9861. },
  9862. "delistingtype": {
  9863. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9864. "type": "integer"
  9865. },
  9866. "freezecharge": {
  9867. "description": "冻结手续费",
  9868. "type": "number"
  9869. },
  9870. "freezemargin": {
  9871. "description": "冻结保证金(冻结交易金额)",
  9872. "type": "number"
  9873. },
  9874. "gcaccountid": {
  9875. "description": "账户ID[合约币种]",
  9876. "type": "integer"
  9877. },
  9878. "goodsid": {
  9879. "description": "商品ID",
  9880. "type": "integer"
  9881. },
  9882. "isconfirmexercise": {
  9883. "description": "是否确认行权- 0:否 1:是",
  9884. "type": "integer"
  9885. },
  9886. "ispreexercise": {
  9887. "description": "是否预申报- 0:否 1:是",
  9888. "type": "integer"
  9889. },
  9890. "listingselecttype": {
  9891. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9892. "type": "integer"
  9893. },
  9894. "marginalgorithm": {
  9895. "description": "保证金收取方式 1:比率 2:固定",
  9896. "type": "integer"
  9897. },
  9898. "marginvalue": {
  9899. "description": "即市保证金设置值",
  9900. "type": "number"
  9901. },
  9902. "marketid": {
  9903. "description": "市场ID",
  9904. "type": "integer"
  9905. },
  9906. "marketmaxsub": {
  9907. "description": "市价最大偏移范围",
  9908. "type": "number"
  9909. },
  9910. "memberuserid": {
  9911. "description": "所属会员UserID",
  9912. "type": "integer"
  9913. },
  9914. "openexchagechargevalue": {
  9915. "description": "建仓交易所手续费设置值",
  9916. "type": "number"
  9917. },
  9918. "openfeealgorithm": {
  9919. "description": "建仓手续费收取方式 1:比率 2:固定",
  9920. "type": "integer"
  9921. },
  9922. "openfreezecharge": {
  9923. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9924. "type": "number"
  9925. },
  9926. "openmemberchargevalue": {
  9927. "description": "建仓会员手续费设置值",
  9928. "type": "number"
  9929. },
  9930. "openqty": {
  9931. "description": "开仓数量(先建后平操作,需要记录)",
  9932. "type": "integer"
  9933. },
  9934. "opentradeqty": {
  9935. "description": "开仓成交数量(先建后平操作,需要记录)",
  9936. "type": "integer"
  9937. },
  9938. "openunfreezecharge": {
  9939. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9940. "type": "number"
  9941. },
  9942. "operatetype": {
  9943. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9944. "type": "integer"
  9945. },
  9946. "operatorid": {
  9947. "description": "登录账号(LoginID)",
  9948. "type": "integer"
  9949. },
  9950. "optiontype": {
  9951. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9952. "type": "integer"
  9953. },
  9954. "orderprice": {
  9955. "description": "委托价格",
  9956. "type": "number"
  9957. },
  9958. "orderqty": {
  9959. "description": "委托数量",
  9960. "type": "integer"
  9961. },
  9962. "ordersrc": {
  9963. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9964. "type": "integer"
  9965. },
  9966. "orderstatus": {
  9967. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9968. "type": "integer"
  9969. },
  9970. "ordertime": {
  9971. "description": "委托时间",
  9972. "type": "string"
  9973. },
  9974. "preexerciseprice": {
  9975. "description": "预申报价格",
  9976. "type": "number"
  9977. },
  9978. "premium": {
  9979. "description": "权利金",
  9980. "type": "number"
  9981. },
  9982. "preorderid": {
  9983. "description": "关联预埋单号(止盈止损单时填写)",
  9984. "type": "integer"
  9985. },
  9986. "pricemode": {
  9987. "description": "取价方式 - 1:市价 2: 限价",
  9988. "type": "integer"
  9989. },
  9990. "quoteid": {
  9991. "description": "报价单ID",
  9992. "type": "integer"
  9993. },
  9994. "relatedid": {
  9995. "description": "关联单号(交割单)",
  9996. "type": "integer"
  9997. },
  9998. "retcode": {
  9999. "description": "错误代码",
  10000. "type": "integer"
  10001. },
  10002. "sessionid": {
  10003. "description": "会话ID",
  10004. "type": "integer"
  10005. },
  10006. "strorderid": {
  10007. "description": "委托单号",
  10008. "type": "string"
  10009. },
  10010. "tradedate": {
  10011. "description": "交易日(yyyyMMdd)",
  10012. "type": "string"
  10013. },
  10014. "tradeproperty": {
  10015. "description": "交易属性",
  10016. "type": "integer"
  10017. },
  10018. "tradeqty": {
  10019. "description": "成交数量",
  10020. "type": "integer"
  10021. },
  10022. "unfreezecharge": {
  10023. "description": "解冻手续费",
  10024. "type": "number"
  10025. },
  10026. "unfreezemargin": {
  10027. "description": "解冻保证金",
  10028. "type": "number"
  10029. },
  10030. "updatetime": {
  10031. "description": "更新时间",
  10032. "type": "string"
  10033. },
  10034. "uuid": {
  10035. "description": "发起端唯一id",
  10036. "type": "string"
  10037. },
  10038. "validtime": {
  10039. "description": "有效期限",
  10040. "type": "string"
  10041. },
  10042. "validtype": {
  10043. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10044. "type": "integer"
  10045. },
  10046. "volumetype": {
  10047. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10048. "type": "integer"
  10049. }
  10050. }
  10051. },
  10052. "cptrade.QueryMyCPTradeGoodsRsp": {
  10053. "type": "object",
  10054. "required": [
  10055. "goodscode",
  10056. "goodsid",
  10057. "goodsname",
  10058. "marketid",
  10059. "relatedgoodscode",
  10060. "relatedgoodsname"
  10061. ],
  10062. "properties": {
  10063. "accountid": {
  10064. "description": "卖方账户ID",
  10065. "type": "integer"
  10066. },
  10067. "agreeunit": {
  10068. "description": "合约单位",
  10069. "type": "number"
  10070. },
  10071. "applyid": {
  10072. "description": "关联申请ID",
  10073. "type": "integer"
  10074. },
  10075. "attachmenturl": {
  10076. "description": "附件地址",
  10077. "type": "string"
  10078. },
  10079. "createtime": {
  10080. "description": "创建时间",
  10081. "type": "string"
  10082. },
  10083. "currencyid": {
  10084. "description": "报价货币ID",
  10085. "type": "integer"
  10086. },
  10087. "decimalplace": {
  10088. "description": "报价小数位",
  10089. "type": "integer"
  10090. },
  10091. "endtime": {
  10092. "description": "预售结束时间",
  10093. "type": "string"
  10094. },
  10095. "floorprice": {
  10096. "description": "底价[大宗式竞拍]",
  10097. "type": "number"
  10098. },
  10099. "goodscode": {
  10100. "description": "商品代码(预售)",
  10101. "type": "string"
  10102. },
  10103. "goodsdetail": {
  10104. "description": "详情[大宗]",
  10105. "type": "string"
  10106. },
  10107. "goodsid": {
  10108. "description": "商品ID(自增ID SEQ_GOODS)",
  10109. "type": "integer"
  10110. },
  10111. "goodsname": {
  10112. "description": "商品名称(预售)",
  10113. "type": "string"
  10114. },
  10115. "goodunit": {
  10116. "description": "报价单位",
  10117. "type": "string"
  10118. },
  10119. "goodunitid": {
  10120. "description": "报价单位ID",
  10121. "type": "integer"
  10122. },
  10123. "marketid": {
  10124. "description": "所属市场ID",
  10125. "type": "integer"
  10126. },
  10127. "marketname": {
  10128. "description": "预售市场名称",
  10129. "type": "string"
  10130. },
  10131. "presaledamount": {
  10132. "description": "已预售总金额(预售结束时更新)",
  10133. "type": "number"
  10134. },
  10135. "presaledqty": {
  10136. "description": "已预售量(预售结束时更新)",
  10137. "type": "integer"
  10138. },
  10139. "presalemode": {
  10140. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10141. "type": "integer"
  10142. },
  10143. "presaleqty": {
  10144. "description": "预售数量",
  10145. "type": "integer"
  10146. },
  10147. "refprice": {
  10148. "description": "参考价格[一口价]",
  10149. "type": "number"
  10150. },
  10151. "relatedgoodscode": {
  10152. "description": "商品代码(订单)",
  10153. "type": "string"
  10154. },
  10155. "relatedgoodsid": {
  10156. "description": "关联交易合约ID",
  10157. "type": "integer"
  10158. },
  10159. "relatedgoodsname": {
  10160. "description": "商品名称(订单)",
  10161. "type": "string"
  10162. },
  10163. "relatedmarketid": {
  10164. "description": "关联交易合约市场ID",
  10165. "type": "integer"
  10166. },
  10167. "sellstatus": {
  10168. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10169. "type": "integer"
  10170. },
  10171. "startprice": {
  10172. "description": "起拍价[大宗式竞拍]",
  10173. "type": "number"
  10174. },
  10175. "starttime": {
  10176. "description": "预售开始时间",
  10177. "type": "string"
  10178. },
  10179. "tradedate": {
  10180. "description": "交易日(yyyyMMdd)",
  10181. "type": "string"
  10182. },
  10183. "tradeprice": {
  10184. "description": "成交价[大宗]",
  10185. "type": "number"
  10186. },
  10187. "userid": {
  10188. "description": "卖方用户ID",
  10189. "type": "integer"
  10190. }
  10191. }
  10192. },
  10193. "cptrade.QueryPresaleGoodsExRsp": {
  10194. "type": "object",
  10195. "required": [
  10196. "goodsid"
  10197. ],
  10198. "properties": {
  10199. "attachmenturl": {
  10200. "description": "附件地址",
  10201. "type": "string"
  10202. },
  10203. "createtime": {
  10204. "description": "创建时间",
  10205. "type": "string"
  10206. },
  10207. "endtime": {
  10208. "description": "预售结束时间",
  10209. "type": "string"
  10210. },
  10211. "floorprice": {
  10212. "description": "底价[大宗式竞拍]",
  10213. "type": "number"
  10214. },
  10215. "goodsdetail": {
  10216. "description": "详情[大宗]",
  10217. "type": "string"
  10218. },
  10219. "goodsid": {
  10220. "description": "商品ID(预售)",
  10221. "type": "integer"
  10222. },
  10223. "goodunit": {
  10224. "description": "报价单位",
  10225. "type": "string"
  10226. },
  10227. "marketid": {
  10228. "description": "预售市场ID - 根据预售模式选择市场",
  10229. "type": "integer"
  10230. },
  10231. "presaledamount": {
  10232. "description": "已预售总金额(预售结束时更新)",
  10233. "type": "number"
  10234. },
  10235. "presaledqty": {
  10236. "description": "已预售量(预售结束时更新)",
  10237. "type": "integer"
  10238. },
  10239. "presalemode": {
  10240. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10241. "type": "integer"
  10242. },
  10243. "presaleqty": {
  10244. "description": "预售数量",
  10245. "type": "integer"
  10246. },
  10247. "refprice": {
  10248. "description": "参考价格[一口价]",
  10249. "type": "number"
  10250. },
  10251. "relatedgoodsid": {
  10252. "description": "关联交易合约ID",
  10253. "type": "integer"
  10254. },
  10255. "relatedmarketid": {
  10256. "description": "关联交易合约市场ID",
  10257. "type": "integer"
  10258. },
  10259. "sellstatus": {
  10260. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10261. "type": "integer"
  10262. },
  10263. "startprice": {
  10264. "description": "起拍价[大宗式竞拍]",
  10265. "type": "number"
  10266. },
  10267. "starttime": {
  10268. "description": "预售开始时间",
  10269. "type": "string"
  10270. },
  10271. "tradedate": {
  10272. "description": "交易日(yyyyMMdd)",
  10273. "type": "string"
  10274. },
  10275. "tradeprice": {
  10276. "description": "成交价[大宗]",
  10277. "type": "number"
  10278. }
  10279. }
  10280. },
  10281. "delivery.QueryDeliveryRelationRsp": {
  10282. "type": "object",
  10283. "required": [
  10284. "begindate",
  10285. "enddate",
  10286. "goodsid",
  10287. "mindeliveryqty",
  10288. "xdeliveryratio"
  10289. ],
  10290. "properties": {
  10291. "begindate": {
  10292. "description": "起始日期(yyyyMMdd)",
  10293. "type": "string"
  10294. },
  10295. "buytemplateid": {
  10296. "description": "买履约计划模板ID",
  10297. "type": "integer"
  10298. },
  10299. "deliverygoodscode": {
  10300. "description": "品种代码",
  10301. "type": "string"
  10302. },
  10303. "deliverygoodsid": {
  10304. "description": "交割商品",
  10305. "type": "integer"
  10306. },
  10307. "deliverygoodsname": {
  10308. "description": "品种名称",
  10309. "type": "string"
  10310. },
  10311. "deliverymode": {
  10312. "description": "交割方式 - 1:点选式 2:申报式",
  10313. "type": "integer"
  10314. },
  10315. "deliverypricerule": {
  10316. "description": "交割价规则- 1:行情价 2:建仓价",
  10317. "type": "integer"
  10318. },
  10319. "deliverytype": {
  10320. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10321. "type": "integer"
  10322. },
  10323. "enddate": {
  10324. "description": "结束日期(yyyyMMdd)",
  10325. "type": "string"
  10326. },
  10327. "goodscode": {
  10328. "description": "商品代码",
  10329. "type": "string"
  10330. },
  10331. "goodsid": {
  10332. "description": "交易合约ID",
  10333. "type": "integer"
  10334. },
  10335. "goodsname": {
  10336. "description": "商品名称",
  10337. "type": "string"
  10338. },
  10339. "marketid": {
  10340. "description": "市场ID",
  10341. "type": "integer"
  10342. },
  10343. "mindeliveryqty": {
  10344. "description": "最小交割系数(K)",
  10345. "type": "integer"
  10346. },
  10347. "p2deliveryprice": {
  10348. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10349. "type": "number"
  10350. },
  10351. "p2deliveryratio": {
  10352. "description": "P2合约系数(p)",
  10353. "type": "integer"
  10354. },
  10355. "p2goodsid": {
  10356. "description": "P2合约ID",
  10357. "type": "integer"
  10358. },
  10359. "p2pricemode": {
  10360. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10361. "type": "integer"
  10362. },
  10363. "pdeliveryprice": {
  10364. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10365. "type": "number"
  10366. },
  10367. "pdeliveryratio": {
  10368. "description": "P合约系数(n)",
  10369. "type": "integer"
  10370. },
  10371. "pgoodsid": {
  10372. "description": "P合约ID",
  10373. "type": "integer"
  10374. },
  10375. "ppricemode": {
  10376. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10377. "type": "integer"
  10378. },
  10379. "rratio": {
  10380. "description": "兑换系数(R)",
  10381. "type": "integer"
  10382. },
  10383. "rratio1": {
  10384. "description": "兑换系数(交易合约)(R1)",
  10385. "type": "integer"
  10386. },
  10387. "rratio2": {
  10388. "description": "兑换系数(仓单标准)(R2)",
  10389. "type": "integer"
  10390. },
  10391. "selltemplateid": {
  10392. "description": "卖履约计划模板ID",
  10393. "type": "integer"
  10394. },
  10395. "wrstandardid": {
  10396. "description": "仓单标准ID",
  10397. "type": "integer"
  10398. },
  10399. "xdeliveryratio": {
  10400. "description": "交易合约系数(m)",
  10401. "type": "integer"
  10402. }
  10403. }
  10404. },
  10405. "ermcp.ExposureDetailRsp": {
  10406. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10407. },
  10408. "ermcp.ExposureHedgePosDetailRsp": {
  10409. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10410. },
  10411. "ermcp.ExposureHedgePositionRsp": {
  10412. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10413. },
  10414. "ermcp.ExposureSpotDetailRsp": {
  10415. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10416. },
  10417. "ermcp.ExposureSpotRsp": {
  10418. "$ref": "#/definitions/models.AreaSpotModel"
  10419. },
  10420. "ermcp.HisExposureRsp": {
  10421. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10422. },
  10423. "ermcp.PendingAuditCntRsp": {
  10424. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10425. },
  10426. "ermcp.QryAvalidGPRsp": {
  10427. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10428. },
  10429. "ermcp.QryBusinessDjRsp": {
  10430. "type": "object",
  10431. "properties": {
  10432. "amount": {
  10433. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10434. "type": "number"
  10435. },
  10436. "applyid": {
  10437. "description": "申请人",
  10438. "type": "string"
  10439. },
  10440. "applyname": {
  10441. "description": "申请人名称",
  10442. "type": "string"
  10443. },
  10444. "applystatus": {
  10445. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10446. "type": "integer"
  10447. },
  10448. "applytime": {
  10449. "description": "申请时间",
  10450. "type": "string"
  10451. },
  10452. "attachurl": {
  10453. "description": "附件",
  10454. "type": "string"
  10455. },
  10456. "auditid": {
  10457. "description": "审核人ID",
  10458. "type": "string"
  10459. },
  10460. "auditname": {
  10461. "description": "审核人名称",
  10462. "type": "string"
  10463. },
  10464. "audittime": {
  10465. "description": "审核时间",
  10466. "type": "string"
  10467. },
  10468. "buyusername": {
  10469. "description": "采购方名称",
  10470. "type": "string"
  10471. },
  10472. "contractno": {
  10473. "description": "合同编号",
  10474. "type": "string"
  10475. },
  10476. "contractstatus": {
  10477. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10478. "type": "integer"
  10479. },
  10480. "contracttype": {
  10481. "description": "现货合同类型 - 1:采购 -1:销售",
  10482. "type": "integer"
  10483. },
  10484. "deliverygoodscode": {
  10485. "description": "现货品种代码",
  10486. "type": "string"
  10487. },
  10488. "deliverygoodsid": {
  10489. "description": "现货商品ID",
  10490. "type": "integer"
  10491. },
  10492. "deliverygoodsname": {
  10493. "description": "现货品种名称",
  10494. "type": "string"
  10495. },
  10496. "enumdicname": {
  10497. "description": "单位名称",
  10498. "type": "string"
  10499. },
  10500. "goodscode": {
  10501. "description": "点价合约",
  10502. "type": "string"
  10503. },
  10504. "goodsname": {
  10505. "description": "商品名称",
  10506. "type": "string"
  10507. },
  10508. "operateapplyid": {
  10509. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10510. "type": "string"
  10511. },
  10512. "operateapplytype": {
  10513. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10514. "type": "integer"
  10515. },
  10516. "pricedPrice": {
  10517. "description": "点价价格(非必填)",
  10518. "type": "number"
  10519. },
  10520. "pricedQty": {
  10521. "description": "点价数量(非必填)",
  10522. "type": "number"
  10523. },
  10524. "pricemove": {
  10525. "description": "升贴水",
  10526. "type": "number"
  10527. },
  10528. "pricetype": {
  10529. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10530. "type": "integer"
  10531. },
  10532. "relatedid": {
  10533. "description": "现货合同ID",
  10534. "type": "string"
  10535. },
  10536. "sellusername": {
  10537. "description": "销售方名字",
  10538. "type": "string"
  10539. },
  10540. "userid": {
  10541. "description": "用户ID",
  10542. "type": "integer"
  10543. },
  10544. "wrstandardcode": {
  10545. "description": "品类代码",
  10546. "type": "string"
  10547. },
  10548. "wrstandardid": {
  10549. "description": "品类id",
  10550. "type": "integer"
  10551. },
  10552. "wrstandardname": {
  10553. "description": "品类名称",
  10554. "type": "string"
  10555. }
  10556. }
  10557. },
  10558. "ermcp.QryBussinessFpRsp": {
  10559. "type": "object",
  10560. "properties": {
  10561. "applyid": {
  10562. "description": "申请人",
  10563. "type": "string"
  10564. },
  10565. "applyname": {
  10566. "description": "申请人名称",
  10567. "type": "string"
  10568. },
  10569. "applystatus": {
  10570. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10571. "type": "integer"
  10572. },
  10573. "applytime": {
  10574. "description": "申请时间",
  10575. "type": "string"
  10576. },
  10577. "attachurl": {
  10578. "description": "附件",
  10579. "type": "string"
  10580. },
  10581. "auditid": {
  10582. "description": "审核人ID",
  10583. "type": "string"
  10584. },
  10585. "auditname": {
  10586. "description": "审核人名称",
  10587. "type": "string"
  10588. },
  10589. "audittime": {
  10590. "description": "审核时间",
  10591. "type": "string"
  10592. },
  10593. "buyusername": {
  10594. "description": "采购方名称",
  10595. "type": "string"
  10596. },
  10597. "contractno": {
  10598. "description": "合同编号",
  10599. "type": "string"
  10600. },
  10601. "contractstatus": {
  10602. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10603. "type": "integer"
  10604. },
  10605. "contracttype": {
  10606. "description": "现货合同类型 - 1:采购 -1:销售",
  10607. "type": "integer"
  10608. },
  10609. "deliverygoodscode": {
  10610. "description": "现货品种代码",
  10611. "type": "string"
  10612. },
  10613. "deliverygoodsid": {
  10614. "description": "现货商品ID",
  10615. "type": "integer"
  10616. },
  10617. "deliverygoodsname": {
  10618. "description": "现货品种名称",
  10619. "type": "string"
  10620. },
  10621. "enumdicname": {
  10622. "description": "单位名称",
  10623. "type": "string"
  10624. },
  10625. "goodscode": {
  10626. "description": "点价合约",
  10627. "type": "string"
  10628. },
  10629. "goodsname": {
  10630. "description": "商品名称",
  10631. "type": "string"
  10632. },
  10633. "invoiceAmount": {
  10634. "description": "已开收票金额(销售为开票,采购为收票)",
  10635. "type": "number"
  10636. },
  10637. "operateapplyid": {
  10638. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10639. "type": "string"
  10640. },
  10641. "operateapplytype": {
  10642. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10643. "type": "integer"
  10644. },
  10645. "pricemove": {
  10646. "description": "升贴水",
  10647. "type": "number"
  10648. },
  10649. "pricetype": {
  10650. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10651. "type": "integer"
  10652. },
  10653. "relatedid": {
  10654. "description": "现货合同ID",
  10655. "type": "string"
  10656. },
  10657. "sellusername": {
  10658. "description": "销售方名字",
  10659. "type": "string"
  10660. },
  10661. "userid": {
  10662. "description": "用户ID",
  10663. "type": "integer"
  10664. },
  10665. "wrstandardcode": {
  10666. "description": "品类代码",
  10667. "type": "string"
  10668. },
  10669. "wrstandardid": {
  10670. "description": "品类id",
  10671. "type": "integer"
  10672. },
  10673. "wrstandardname": {
  10674. "description": "品类名称",
  10675. "type": "string"
  10676. }
  10677. }
  10678. },
  10679. "ermcp.QryBussinessJsExRsp": {
  10680. "type": "object",
  10681. "properties": {
  10682. "applyid": {
  10683. "description": "申请人",
  10684. "type": "string"
  10685. },
  10686. "applyname": {
  10687. "description": "申请人名称",
  10688. "type": "string"
  10689. },
  10690. "applystatus": {
  10691. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10692. "type": "integer"
  10693. },
  10694. "applytime": {
  10695. "description": "申请时间",
  10696. "type": "string"
  10697. },
  10698. "attachurl": {
  10699. "description": "附件",
  10700. "type": "string"
  10701. },
  10702. "auditid": {
  10703. "description": "审核人ID",
  10704. "type": "string"
  10705. },
  10706. "auditname": {
  10707. "description": "审核人名称",
  10708. "type": "string"
  10709. },
  10710. "audittime": {
  10711. "description": "审核时间",
  10712. "type": "string"
  10713. },
  10714. "buyusername": {
  10715. "description": "采购方名称",
  10716. "type": "string"
  10717. },
  10718. "contractno": {
  10719. "description": "合同编号",
  10720. "type": "string"
  10721. },
  10722. "contractstatus": {
  10723. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10724. "type": "integer"
  10725. },
  10726. "contracttype": {
  10727. "description": "现货合同类型 - 1:采购 -1:销售",
  10728. "type": "integer"
  10729. },
  10730. "deliverygoodscode": {
  10731. "description": "现货品种代码",
  10732. "type": "string"
  10733. },
  10734. "deliverygoodsid": {
  10735. "description": "现货商品ID",
  10736. "type": "integer"
  10737. },
  10738. "deliverygoodsname": {
  10739. "description": "现货品种名称",
  10740. "type": "string"
  10741. },
  10742. "enumdicname": {
  10743. "description": "单位名称",
  10744. "type": "string"
  10745. },
  10746. "goodscode": {
  10747. "description": "点价合约",
  10748. "type": "string"
  10749. },
  10750. "goodsname": {
  10751. "description": "商品名称",
  10752. "type": "string"
  10753. },
  10754. "operateapplyid": {
  10755. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10756. "type": "string"
  10757. },
  10758. "operateapplytype": {
  10759. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10760. "type": "integer"
  10761. },
  10762. "pricemove": {
  10763. "description": "升贴水",
  10764. "type": "number"
  10765. },
  10766. "pricetype": {
  10767. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10768. "type": "integer"
  10769. },
  10770. "reckontype": {
  10771. "description": "结算类型",
  10772. "type": "string"
  10773. },
  10774. "reckonvalue": {
  10775. "description": "值",
  10776. "type": "number"
  10777. },
  10778. "relatedid": {
  10779. "description": "现货合同ID",
  10780. "type": "string"
  10781. },
  10782. "sellusername": {
  10783. "description": "销售方名字",
  10784. "type": "string"
  10785. },
  10786. "userid": {
  10787. "description": "用户ID",
  10788. "type": "integer"
  10789. },
  10790. "wrstandardcode": {
  10791. "description": "品类代码",
  10792. "type": "string"
  10793. },
  10794. "wrstandardid": {
  10795. "description": "品类id",
  10796. "type": "integer"
  10797. },
  10798. "wrstandardname": {
  10799. "description": "品类名称",
  10800. "type": "string"
  10801. }
  10802. }
  10803. },
  10804. "ermcp.QryBussinessJsRsp": {
  10805. "type": "object",
  10806. "properties": {
  10807. "addmargin": {
  10808. "description": "追加保证金(非必填)",
  10809. "type": "number"
  10810. },
  10811. "applyid": {
  10812. "description": "申请人",
  10813. "type": "string"
  10814. },
  10815. "applyname": {
  10816. "description": "申请人名称",
  10817. "type": "string"
  10818. },
  10819. "applystatus": {
  10820. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10821. "type": "integer"
  10822. },
  10823. "applytime": {
  10824. "description": "申请时间",
  10825. "type": "string"
  10826. },
  10827. "attachurl": {
  10828. "description": "附件",
  10829. "type": "string"
  10830. },
  10831. "auditid": {
  10832. "description": "审核人ID",
  10833. "type": "string"
  10834. },
  10835. "auditname": {
  10836. "description": "审核人名称",
  10837. "type": "string"
  10838. },
  10839. "audittime": {
  10840. "description": "审核时间",
  10841. "type": "string"
  10842. },
  10843. "buyusername": {
  10844. "description": "采购方名称",
  10845. "type": "string"
  10846. },
  10847. "contractno": {
  10848. "description": "合同编号",
  10849. "type": "string"
  10850. },
  10851. "contractstatus": {
  10852. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10853. "type": "integer"
  10854. },
  10855. "contracttype": {
  10856. "description": "现货合同类型 - 1:采购 -1:销售",
  10857. "type": "integer"
  10858. },
  10859. "decmargin": {
  10860. "description": "减少保证金(非必填)",
  10861. "type": "number"
  10862. },
  10863. "deliverygoodscode": {
  10864. "description": "现货品种代码",
  10865. "type": "string"
  10866. },
  10867. "deliverygoodsid": {
  10868. "description": "现货商品ID",
  10869. "type": "integer"
  10870. },
  10871. "deliverygoodsname": {
  10872. "description": "现货品种名称",
  10873. "type": "string"
  10874. },
  10875. "enumdicname": {
  10876. "description": "单位名称",
  10877. "type": "string"
  10878. },
  10879. "goodscode": {
  10880. "description": "点价合约",
  10881. "type": "string"
  10882. },
  10883. "goodsname": {
  10884. "description": "商品名称",
  10885. "type": "string"
  10886. },
  10887. "operateapplyid": {
  10888. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10889. "type": "string"
  10890. },
  10891. "operateapplytype": {
  10892. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10893. "type": "integer"
  10894. },
  10895. "pricemove": {
  10896. "description": "升贴水",
  10897. "type": "number"
  10898. },
  10899. "pricetype": {
  10900. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10901. "type": "integer"
  10902. },
  10903. "reckonadjustamount": {
  10904. "description": "结算调整金额(非必填)",
  10905. "type": "number"
  10906. },
  10907. "reckonosamount": {
  10908. "description": "结算溢短金额(非必填)",
  10909. "type": "number"
  10910. },
  10911. "reckonotheramount": {
  10912. "description": "结算其他费用(非必填)",
  10913. "type": "number"
  10914. },
  10915. "reckonrealqty": {
  10916. "description": "结算实际数量(非必填)",
  10917. "type": "number"
  10918. },
  10919. "relatedid": {
  10920. "description": "现货合同ID",
  10921. "type": "string"
  10922. },
  10923. "sellusername": {
  10924. "description": "销售方名字",
  10925. "type": "string"
  10926. },
  10927. "userid": {
  10928. "description": "用户ID",
  10929. "type": "integer"
  10930. },
  10931. "wrstandardcode": {
  10932. "description": "品类代码",
  10933. "type": "string"
  10934. },
  10935. "wrstandardid": {
  10936. "description": "品类id",
  10937. "type": "integer"
  10938. },
  10939. "wrstandardname": {
  10940. "description": "品类名称",
  10941. "type": "string"
  10942. }
  10943. }
  10944. },
  10945. "ermcp.QryBussinessKxRsp": {
  10946. "type": "object",
  10947. "properties": {
  10948. "applyid": {
  10949. "description": "申请人",
  10950. "type": "string"
  10951. },
  10952. "applyname": {
  10953. "description": "申请人名称",
  10954. "type": "string"
  10955. },
  10956. "applystatus": {
  10957. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10958. "type": "integer"
  10959. },
  10960. "applytime": {
  10961. "description": "申请时间",
  10962. "type": "string"
  10963. },
  10964. "attachurl": {
  10965. "description": "附件",
  10966. "type": "string"
  10967. },
  10968. "auditid": {
  10969. "description": "审核人ID",
  10970. "type": "string"
  10971. },
  10972. "auditname": {
  10973. "description": "审核人名称",
  10974. "type": "string"
  10975. },
  10976. "audittime": {
  10977. "description": "审核时间",
  10978. "type": "string"
  10979. },
  10980. "buyusername": {
  10981. "description": "采购方名称",
  10982. "type": "string"
  10983. },
  10984. "contractno": {
  10985. "description": "合同编号",
  10986. "type": "string"
  10987. },
  10988. "contractstatus": {
  10989. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10990. "type": "integer"
  10991. },
  10992. "contracttype": {
  10993. "description": "现货合同类型 - 1:采购 -1:销售",
  10994. "type": "integer"
  10995. },
  10996. "deductamount": {
  10997. "description": "退款(非必填)",
  10998. "type": "number"
  10999. },
  11000. "deliverygoodscode": {
  11001. "description": "现货品种代码",
  11002. "type": "string"
  11003. },
  11004. "deliverygoodsid": {
  11005. "description": "现货商品ID",
  11006. "type": "integer"
  11007. },
  11008. "deliverygoodsname": {
  11009. "description": "现货品种名称",
  11010. "type": "string"
  11011. },
  11012. "enumdicname": {
  11013. "description": "单位名称",
  11014. "type": "string"
  11015. },
  11016. "goodscode": {
  11017. "description": "点价合约",
  11018. "type": "string"
  11019. },
  11020. "goodsname": {
  11021. "description": "商品名称",
  11022. "type": "string"
  11023. },
  11024. "kxtype": {
  11025. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11026. "type": "integer"
  11027. },
  11028. "operateapplyid": {
  11029. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11030. "type": "string"
  11031. },
  11032. "operateapplytype": {
  11033. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11034. "type": "integer"
  11035. },
  11036. "payamount": {
  11037. "description": "收付款(非必填)",
  11038. "type": "number"
  11039. },
  11040. "pricemove": {
  11041. "description": "升贴水",
  11042. "type": "number"
  11043. },
  11044. "pricetype": {
  11045. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11046. "type": "integer"
  11047. },
  11048. "relatedid": {
  11049. "description": "现货合同ID",
  11050. "type": "string"
  11051. },
  11052. "sellusername": {
  11053. "description": "销售方名字",
  11054. "type": "string"
  11055. },
  11056. "userid": {
  11057. "description": "用户ID",
  11058. "type": "integer"
  11059. },
  11060. "wrstandardcode": {
  11061. "description": "品类代码",
  11062. "type": "string"
  11063. },
  11064. "wrstandardid": {
  11065. "description": "品类id",
  11066. "type": "integer"
  11067. },
  11068. "wrstandardname": {
  11069. "description": "品类名称",
  11070. "type": "string"
  11071. }
  11072. }
  11073. },
  11074. "ermcp.QryGGCovertCfgRsp": {
  11075. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11076. },
  11077. "ermcp.QryMGChangeLogRsp": {
  11078. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11079. },
  11080. "ermcp.QryMiddleGoodsDetailRsp": {
  11081. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11082. },
  11083. "ermcp.QryMiddleGoodsRsp": {
  11084. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11085. },
  11086. "ermcp.QryOPLogRsp": {
  11087. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11088. },
  11089. "ermcp.QryUserInfoRsp": {
  11090. "$ref": "#/definitions/models.ErmcpUserModel"
  11091. },
  11092. "ermcp.QryWarehouseRsp": {
  11093. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11094. },
  11095. "ermcp.QueryErmcpTradePositionRsp": {
  11096. "type": "object",
  11097. "properties": {
  11098. "agreeunit": {
  11099. "description": "合约单位",
  11100. "type": "number"
  11101. },
  11102. "buyorsell": {
  11103. "description": "方向 - 0:买 1:卖",
  11104. "type": "integer"
  11105. },
  11106. "curpositionqty": {
  11107. "description": "持仓(总仓数量, 期末头寸)",
  11108. "type": "integer"
  11109. },
  11110. "curtdposition": {
  11111. "description": "今仓数量(期末今日头寸)",
  11112. "type": "integer"
  11113. },
  11114. "curtdpositionenabled": {
  11115. "description": "今仓可用",
  11116. "type": "integer"
  11117. },
  11118. "decimalplace": {
  11119. "description": "报价小数位",
  11120. "type": "integer"
  11121. },
  11122. "enableqty": {
  11123. "description": "可用(总仓可用)",
  11124. "type": "integer"
  11125. },
  11126. "exexchangename": {
  11127. "description": "外部交易所名称",
  11128. "type": "string"
  11129. },
  11130. "goodscode": {
  11131. "description": "商品代码(内部)",
  11132. "type": "string"
  11133. },
  11134. "goodsid": {
  11135. "description": "商品ID(自增ID SEQ_GOODS)",
  11136. "type": "integer"
  11137. },
  11138. "goodsname": {
  11139. "description": "商品名称",
  11140. "type": "string"
  11141. },
  11142. "last": {
  11143. "description": "现价",
  11144. "type": "number"
  11145. },
  11146. "marketid": {
  11147. "description": "所属市场ID",
  11148. "type": "integer"
  11149. },
  11150. "openaverageprice": {
  11151. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11152. "type": "number"
  11153. },
  11154. "opencost": {
  11155. "description": "开仓成本",
  11156. "type": "number"
  11157. },
  11158. "openpl": {
  11159. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11160. "type": "number"
  11161. },
  11162. "outgoodscode": {
  11163. "description": "商品代码(外部)",
  11164. "type": "string"
  11165. },
  11166. "positionaverageprice": {
  11167. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11168. "type": "number"
  11169. },
  11170. "positioncost": {
  11171. "description": "持仓成本",
  11172. "type": "number"
  11173. },
  11174. "positionpl": {
  11175. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11176. "type": "number"
  11177. },
  11178. "positionplrate": {
  11179. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11180. "type": "number"
  11181. },
  11182. "usedmargin": {
  11183. "description": "占用保证金",
  11184. "type": "number"
  11185. }
  11186. }
  11187. },
  11188. "ermcp.RealtimeExposurePositionRsp": {
  11189. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11190. },
  11191. "ermcp.RealtimeExposureRsp": {
  11192. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11193. },
  11194. "erms2.QueryArbitrageStrategyRsp": {
  11195. "type": "object",
  11196. "required": [
  11197. "asapplyid"
  11198. ],
  11199. "properties": {
  11200. "applybasis": {
  11201. "description": "申请基差",
  11202. "type": "number"
  11203. },
  11204. "asapplyid": {
  11205. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11206. "type": "string"
  11207. },
  11208. "asname": {
  11209. "description": "策略名称",
  11210. "type": "string"
  11211. },
  11212. "asno": {
  11213. "description": "策略编号",
  11214. "type": "string"
  11215. },
  11216. "basischangepl": {
  11217. "description": "基差变动损益[结算更新]",
  11218. "type": "number"
  11219. },
  11220. "biztype": {
  11221. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11222. "type": "integer"
  11223. },
  11224. "closetradedate": {
  11225. "description": "完结交易日(yyyyMMdd)",
  11226. "type": "string"
  11227. },
  11228. "curbasis": {
  11229. "description": "当前基差[结算更新]",
  11230. "type": "number"
  11231. },
  11232. "deliverygoodsid": {
  11233. "description": "现货品种ID",
  11234. "type": "integer"
  11235. },
  11236. "futureavgprice": {
  11237. "description": "期货建仓均价",
  11238. "type": "number"
  11239. },
  11240. "futurecloseamount": {
  11241. "description": "期货平仓金额",
  11242. "type": "number"
  11243. },
  11244. "futurecloseqty": {
  11245. "description": "期货平仓数量",
  11246. "type": "number"
  11247. },
  11248. "futureopenamount": {
  11249. "description": "期货开仓金额",
  11250. "type": "number"
  11251. },
  11252. "futureopenqty": {
  11253. "description": "期货开仓数量",
  11254. "type": "number"
  11255. },
  11256. "futurepl": {
  11257. "description": "期货总盈亏[结算更新]",
  11258. "type": "number"
  11259. },
  11260. "futureqty": {
  11261. "description": "期货持仓数量",
  11262. "type": "number"
  11263. },
  11264. "futurequote": {
  11265. "description": "期货额度",
  11266. "type": "number"
  11267. },
  11268. "goodsgroupid": {
  11269. "description": "期货品种ID",
  11270. "type": "integer"
  11271. },
  11272. "marketid": {
  11273. "description": "市场ID",
  11274. "type": "integer"
  11275. },
  11276. "netexposure": {
  11277. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11278. "type": "number"
  11279. },
  11280. "netexposurepl": {
  11281. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11282. "type": "number"
  11283. },
  11284. "netexposurerate": {
  11285. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11286. "type": "number"
  11287. },
  11288. "openbasis": {
  11289. "description": "建仓基差",
  11290. "type": "number"
  11291. },
  11292. "pricedspotqty": {
  11293. "description": "已定价现货数量",
  11294. "type": "number"
  11295. },
  11296. "pricedspotqtynotax": {
  11297. "description": "已定价现货不含税数量",
  11298. "type": "number"
  11299. },
  11300. "remark": {
  11301. "description": "备注",
  11302. "type": "string"
  11303. },
  11304. "spotavgprice": {
  11305. "description": "现货均价",
  11306. "type": "number"
  11307. },
  11308. "spotbuyamount": {
  11309. "description": "现货采购金额",
  11310. "type": "number"
  11311. },
  11312. "spotbuyqty": {
  11313. "description": "现货采购数量",
  11314. "type": "number"
  11315. },
  11316. "spotpl": {
  11317. "description": "现货总盈亏[结算更新]",
  11318. "type": "number"
  11319. },
  11320. "spotquota": {
  11321. "description": "现货额度",
  11322. "type": "number"
  11323. },
  11324. "spotsellamount": {
  11325. "description": "现货销售金额",
  11326. "type": "number"
  11327. },
  11328. "spotsellqty": {
  11329. "description": "现货销售数量",
  11330. "type": "number"
  11331. },
  11332. "spotusedquota": {
  11333. "description": "现货占用资金",
  11334. "type": "number"
  11335. },
  11336. "strategystatus": {
  11337. "description": "策略状态 - 0:未结束 1:已结束",
  11338. "type": "integer"
  11339. },
  11340. "totalpl": {
  11341. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11342. "type": "number"
  11343. },
  11344. "tradedate": {
  11345. "description": "交易日(yyyyMMdd)",
  11346. "type": "string"
  11347. },
  11348. "updatetime": {
  11349. "description": "更新时间",
  11350. "type": "string"
  11351. },
  11352. "usedquota": {
  11353. "description": "已占用资金",
  11354. "type": "number"
  11355. },
  11356. "userid": {
  11357. "description": "所属机构",
  11358. "type": "integer"
  11359. }
  11360. }
  11361. },
  11362. "erms2.QueryInnerTradeDetailRsp": {
  11363. "type": "object",
  11364. "required": [
  11365. "asapplyid",
  11366. "buyorsell",
  11367. "goodscode",
  11368. "goodsgroupid",
  11369. "goodsgroupname",
  11370. "goodsname",
  11371. "tradeid"
  11372. ],
  11373. "properties": {
  11374. "accountid": {
  11375. "description": "账号ID",
  11376. "type": "integer"
  11377. },
  11378. "agreeunit": {
  11379. "description": "合约单位",
  11380. "type": "number"
  11381. },
  11382. "asapplyid": {
  11383. "description": "策略申请ID",
  11384. "type": "integer"
  11385. },
  11386. "asname": {
  11387. "description": "策略名称",
  11388. "type": "string"
  11389. },
  11390. "asno": {
  11391. "description": "策略编号",
  11392. "type": "string"
  11393. },
  11394. "buyorsell": {
  11395. "description": "方向 - 0:买 1:卖",
  11396. "type": "integer"
  11397. },
  11398. "channelbuildtype": {
  11399. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11400. "type": "integer"
  11401. },
  11402. "closetype": {
  11403. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11404. "type": "integer"
  11405. },
  11406. "decimalplace": {
  11407. "description": "报价小数位",
  11408. "type": "integer"
  11409. },
  11410. "detailtype": {
  11411. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11412. "type": "integer"
  11413. },
  11414. "exexchangecode": {
  11415. "description": "外部交易所代码",
  11416. "type": "string"
  11417. },
  11418. "exexchangename": {
  11419. "description": "外部交易所名称",
  11420. "type": "string"
  11421. },
  11422. "goodscode": {
  11423. "description": "商品代码(合约)",
  11424. "type": "string"
  11425. },
  11426. "goodsgroupid": {
  11427. "description": "商品组ID(品种ID)",
  11428. "type": "integer"
  11429. },
  11430. "goodsgroupname": {
  11431. "description": "商品组名称(品种)",
  11432. "type": "string"
  11433. },
  11434. "goodsid": {
  11435. "description": "商品ID",
  11436. "type": "integer"
  11437. },
  11438. "goodsname": {
  11439. "description": "商品名称(合约)",
  11440. "type": "string"
  11441. },
  11442. "goodunit": {
  11443. "description": "报价单位",
  11444. "type": "string"
  11445. },
  11446. "marketid": {
  11447. "description": "市场ID",
  11448. "type": "integer"
  11449. },
  11450. "orderid": {
  11451. "description": "委托单号",
  11452. "type": "string"
  11453. },
  11454. "outgoodscode": {
  11455. "description": "商品代码(外部)",
  11456. "type": "string"
  11457. },
  11458. "relatedouttradeid": {
  11459. "description": "关联外部成交单ID",
  11460. "type": "string"
  11461. },
  11462. "remark": {
  11463. "description": "备注",
  11464. "type": "string"
  11465. },
  11466. "spotcontractid": {
  11467. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11468. "type": "integer"
  11469. },
  11470. "spotcontractno": {
  11471. "description": "现货合同编号",
  11472. "type": "string"
  11473. },
  11474. "tradeid": {
  11475. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11476. "type": "string"
  11477. },
  11478. "tradeprice": {
  11479. "description": "成交价格",
  11480. "type": "number"
  11481. },
  11482. "tradeqty": {
  11483. "description": "成交数量",
  11484. "type": "integer"
  11485. },
  11486. "tradetime": {
  11487. "description": "成交时间",
  11488. "type": "string"
  11489. },
  11490. "updatetime": {
  11491. "description": "更新时间",
  11492. "type": "string"
  11493. }
  11494. }
  11495. },
  11496. "erms2.QuerySpotContractRsp": {
  11497. "type": "object",
  11498. "required": [
  11499. "spotcontractid"
  11500. ],
  11501. "properties": {
  11502. "accountid": {
  11503. "description": "资金账户ID",
  11504. "type": "integer"
  11505. },
  11506. "areauserid": {
  11507. "description": "所属机构",
  11508. "type": "integer"
  11509. },
  11510. "closedate": {
  11511. "description": "终止日期",
  11512. "type": "string"
  11513. },
  11514. "closeremark": {
  11515. "description": "结束备注",
  11516. "type": "string"
  11517. },
  11518. "closetradedate": {
  11519. "description": "完结交易日(yyyyMMdd)",
  11520. "type": "string"
  11521. },
  11522. "closetype": {
  11523. "description": "终止类型 - 1:违约 2:提前终止",
  11524. "type": "integer"
  11525. },
  11526. "contractamount": {
  11527. "description": "合同金额",
  11528. "type": "number"
  11529. },
  11530. "contractattachment": {
  11531. "description": "合同附件",
  11532. "type": "string"
  11533. },
  11534. "contractno": {
  11535. "description": "现货合同编号",
  11536. "type": "string"
  11537. },
  11538. "contractqty": {
  11539. "description": "合同数量(数值) (用于计算)",
  11540. "type": "number"
  11541. },
  11542. "contractqtychar": {
  11543. "description": "合同数量\\已订价数量 (用于显示)",
  11544. "type": "string"
  11545. },
  11546. "contractstatus": {
  11547. "description": "合同状态 - 0:未结束 1:已结束",
  11548. "type": "integer"
  11549. },
  11550. "contracttype": {
  11551. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11552. "type": "integer"
  11553. },
  11554. "customeraccountid": {
  11555. "description": "客户资金账户ID",
  11556. "type": "integer"
  11557. },
  11558. "customeruserid": {
  11559. "description": "客户ID",
  11560. "type": "integer"
  11561. },
  11562. "deliverygoodsdesc": {
  11563. "description": "品种说明",
  11564. "type": "string"
  11565. },
  11566. "deliverygoodsid": {
  11567. "description": "现货品种ID",
  11568. "type": "integer"
  11569. },
  11570. "handlestatus": {
  11571. "description": "处理状态",
  11572. "type": "integer"
  11573. },
  11574. "invoiceatt": {
  11575. "description": "发票附件",
  11576. "type": "string"
  11577. },
  11578. "invoicedatetime": {
  11579. "description": "开收票更新时间",
  11580. "type": "string"
  11581. },
  11582. "invoiceopentime": {
  11583. "description": "开票时间",
  11584. "type": "string"
  11585. },
  11586. "invoiceremark": {
  11587. "description": "发票备注",
  11588. "type": "string"
  11589. },
  11590. "invoicestatus": {
  11591. "description": "开收票状态 - 0:未开票 1:已开票",
  11592. "type": "integer"
  11593. },
  11594. "lastdate": {
  11595. "description": "交货时间",
  11596. "type": "string"
  11597. },
  11598. "marketid": {
  11599. "description": "市场ID",
  11600. "type": "integer"
  11601. },
  11602. "paydatetime": {
  11603. "description": "收付款更新时间",
  11604. "type": "string"
  11605. },
  11606. "payremark": {
  11607. "description": "收付款备注",
  11608. "type": "string"
  11609. },
  11610. "paystatus": {
  11611. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11612. "type": "integer"
  11613. },
  11614. "positionqty": {
  11615. "description": "头寸数量 - 合同数量去小数部分",
  11616. "type": "integer"
  11617. },
  11618. "producttype": {
  11619. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11620. "type": "integer"
  11621. },
  11622. "relatedqty": {
  11623. "description": "已关联数量",
  11624. "type": "number"
  11625. },
  11626. "relatedstatus": {
  11627. "description": "关联完结状态 - 0:未结束 1:已结束",
  11628. "type": "integer"
  11629. },
  11630. "remark": {
  11631. "description": "备注",
  11632. "type": "string"
  11633. },
  11634. "signdate": {
  11635. "description": "签订日期",
  11636. "type": "string"
  11637. },
  11638. "spotcontractid": {
  11639. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11640. "type": "string"
  11641. },
  11642. "spotdatetime": {
  11643. "description": "收发货更新时间",
  11644. "type": "string"
  11645. },
  11646. "spotprice": {
  11647. "description": "价格",
  11648. "type": "number"
  11649. },
  11650. "spotremark": {
  11651. "description": "收发货备注",
  11652. "type": "string"
  11653. },
  11654. "spotstatus": {
  11655. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11656. "type": "integer"
  11657. },
  11658. "tradedate": {
  11659. "description": "交易日(yyyyMMdd)",
  11660. "type": "string"
  11661. },
  11662. "userid": {
  11663. "description": "业务员用户ID",
  11664. "type": "integer"
  11665. },
  11666. "warehouseid": {
  11667. "description": "仓库ID",
  11668. "type": "integer"
  11669. },
  11670. "wrfactortypeid": {
  11671. "description": "仓单要素类型ID",
  11672. "type": "integer"
  11673. },
  11674. "wrstandardid": {
  11675. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11676. "type": "integer"
  11677. }
  11678. }
  11679. },
  11680. "erms3.AddErms2ASApplyReq": {
  11681. "type": "object",
  11682. "required": [
  11683. "asapplyid"
  11684. ],
  11685. "properties": {
  11686. "applybasis": {
  11687. "description": "申请基差",
  11688. "type": "number"
  11689. },
  11690. "applystatus": {
  11691. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11692. "type": "integer"
  11693. },
  11694. "asapplyid": {
  11695. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11696. "type": "integer"
  11697. },
  11698. "asname": {
  11699. "description": "策略名称",
  11700. "type": "string"
  11701. },
  11702. "asno": {
  11703. "description": "策略编号",
  11704. "type": "string"
  11705. },
  11706. "auditid": {
  11707. "description": "审核人",
  11708. "type": "integer"
  11709. },
  11710. "auditremark": {
  11711. "description": "审核备注",
  11712. "type": "string"
  11713. },
  11714. "audittime": {
  11715. "description": "审核时间",
  11716. "type": "string"
  11717. },
  11718. "biztype": {
  11719. "description": "业务类型 - 1:正向套利 2:反向套利",
  11720. "type": "integer"
  11721. },
  11722. "createtime": {
  11723. "description": "创建时间",
  11724. "type": "string"
  11725. },
  11726. "creatorid": {
  11727. "description": "创建人",
  11728. "type": "integer"
  11729. },
  11730. "deliverygoodsid": {
  11731. "description": "现货品种ID",
  11732. "type": "integer"
  11733. },
  11734. "futurequote": {
  11735. "description": "期货额度",
  11736. "type": "number"
  11737. },
  11738. "goodsgroupid": {
  11739. "description": "期货品种ID",
  11740. "type": "integer"
  11741. },
  11742. "marketid": {
  11743. "description": "市场ID",
  11744. "type": "integer"
  11745. },
  11746. "remark": {
  11747. "description": "备注",
  11748. "type": "string"
  11749. },
  11750. "spotquota": {
  11751. "description": "现货额度",
  11752. "type": "number"
  11753. },
  11754. "tradedate": {
  11755. "description": "交易日(yyyyMMdd)",
  11756. "type": "string"
  11757. },
  11758. "userid": {
  11759. "description": "所属机构",
  11760. "type": "integer"
  11761. }
  11762. }
  11763. },
  11764. "erms3.AddErms2SpotTradeApplyReq": {
  11765. "type": "object",
  11766. "required": [
  11767. "spottradeid"
  11768. ],
  11769. "properties": {
  11770. "applyjsondetail": {
  11771. "description": "申请明细(JSON)",
  11772. "type": "string"
  11773. },
  11774. "applystatus": {
  11775. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11776. "type": "integer"
  11777. },
  11778. "areauserid": {
  11779. "description": "所属机构",
  11780. "type": "integer"
  11781. },
  11782. "auditid": {
  11783. "description": "审核人",
  11784. "type": "integer"
  11785. },
  11786. "auditremark": {
  11787. "description": "审核备注",
  11788. "type": "string"
  11789. },
  11790. "audittime": {
  11791. "description": "审核时间",
  11792. "type": "string"
  11793. },
  11794. "createtime": {
  11795. "description": "创建时间",
  11796. "type": "string"
  11797. },
  11798. "creatorid": {
  11799. "description": "创建人",
  11800. "type": "integer"
  11801. },
  11802. "deliverygoodsid": {
  11803. "description": "现货品种ID",
  11804. "type": "integer"
  11805. },
  11806. "futureaccountid": {
  11807. "description": "期货资金账户",
  11808. "type": "integer"
  11809. },
  11810. "goodsgroupid": {
  11811. "description": "期货品种",
  11812. "type": "integer"
  11813. },
  11814. "marketid": {
  11815. "description": "市场ID",
  11816. "type": "integer"
  11817. },
  11818. "remark": {
  11819. "description": "备注",
  11820. "type": "string"
  11821. },
  11822. "spotaccountid": {
  11823. "description": "现货资金账户",
  11824. "type": "integer"
  11825. },
  11826. "spottradeid": {
  11827. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11828. "type": "integer"
  11829. },
  11830. "spottradename": {
  11831. "description": "业务名称",
  11832. "type": "string"
  11833. },
  11834. "spottradeno": {
  11835. "description": "业务编号",
  11836. "type": "string"
  11837. },
  11838. "tradedate": {
  11839. "description": "交易日(yyyyMMdd)",
  11840. "type": "string"
  11841. },
  11842. "wrstandardid": {
  11843. "description": "仓单标准ID",
  11844. "type": "integer"
  11845. }
  11846. }
  11847. },
  11848. "erms3.AddSpotContractApplyReq": {
  11849. "type": "object",
  11850. "required": [
  11851. "accountid",
  11852. "areauserid",
  11853. "contractno",
  11854. "contracttype",
  11855. "customeraccountid",
  11856. "customeruserid",
  11857. "details",
  11858. "orimargin",
  11859. "signdate"
  11860. ],
  11861. "properties": {
  11862. "accountid": {
  11863. "description": "资金账户ID",
  11864. "type": "integer"
  11865. },
  11866. "areauserid": {
  11867. "description": "所属机构",
  11868. "type": "integer"
  11869. },
  11870. "contractattachment": {
  11871. "description": "合同附件",
  11872. "type": "string"
  11873. },
  11874. "contractno": {
  11875. "description": "现货合同编号",
  11876. "type": "string"
  11877. },
  11878. "contracttype": {
  11879. "description": "现货合同类型 - 1:采购 -1:销售",
  11880. "type": "integer"
  11881. },
  11882. "creatorid": {
  11883. "description": "申请人",
  11884. "type": "integer"
  11885. },
  11886. "customeraccountid": {
  11887. "description": "客户资金账户ID",
  11888. "type": "integer"
  11889. },
  11890. "customeruserid": {
  11891. "description": "客户ID",
  11892. "type": "integer"
  11893. },
  11894. "details": {
  11895. "description": "明细",
  11896. "type": "array",
  11897. "items": {
  11898. "$ref": "#/definitions/erms3.SoptContractDetail"
  11899. }
  11900. },
  11901. "orimargin": {
  11902. "description": "初始保证金",
  11903. "type": "number"
  11904. },
  11905. "remark": {
  11906. "description": "备注",
  11907. "type": "string"
  11908. },
  11909. "signdate": {
  11910. "description": "签订日期",
  11911. "type": "string"
  11912. }
  11913. }
  11914. },
  11915. "erms3.AddSpotContractApplyRsp": {
  11916. "type": "object",
  11917. "required": [
  11918. "contractno"
  11919. ],
  11920. "properties": {
  11921. "contractno": {
  11922. "description": "现货合同编号",
  11923. "type": "string"
  11924. },
  11925. "spotcontractid": {
  11926. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11927. "type": "integer"
  11928. }
  11929. }
  11930. },
  11931. "erms3.AddUserInfoApplyReq": {
  11932. "type": "object",
  11933. "required": [
  11934. "userid"
  11935. ],
  11936. "properties": {
  11937. "accountid": {
  11938. "description": "交易系统帐号Id (加密存储)",
  11939. "type": "integer"
  11940. },
  11941. "areacode": {
  11942. "description": "机构代码",
  11943. "type": "string"
  11944. },
  11945. "areaid": {
  11946. "description": "机构Id",
  11947. "type": "integer"
  11948. },
  11949. "attachment1": {
  11950. "description": "附件1",
  11951. "type": "string"
  11952. },
  11953. "attachment2": {
  11954. "description": "附件2",
  11955. "type": "string"
  11956. },
  11957. "attachment3": {
  11958. "description": "附件3",
  11959. "type": "string"
  11960. },
  11961. "attachment4": {
  11962. "description": "附件4",
  11963. "type": "string"
  11964. },
  11965. "attachment5": {
  11966. "description": "附件5",
  11967. "type": "string"
  11968. },
  11969. "auditedby": {
  11970. "description": "审核人",
  11971. "type": "string"
  11972. },
  11973. "auditime": {
  11974. "description": "审核时间",
  11975. "type": "string"
  11976. },
  11977. "auditsrc": {
  11978. "description": "审核来源 - 1:管理端 2:终端",
  11979. "type": "integer"
  11980. },
  11981. "bankaccount": {
  11982. "description": "银行帐号 (加密存储)",
  11983. "type": "string"
  11984. },
  11985. "bankaccountname": {
  11986. "description": "收款人名称",
  11987. "type": "string"
  11988. },
  11989. "bankcardbackphotourl": {
  11990. "description": "银行卡背面照地址",
  11991. "type": "string"
  11992. },
  11993. "bankcardfrontphotourl": {
  11994. "description": "银行卡正面照地址",
  11995. "type": "string"
  11996. },
  11997. "bankid": {
  11998. "description": "银行编码",
  11999. "type": "string"
  12000. },
  12001. "bankname": {
  12002. "description": "银行名称",
  12003. "type": "string"
  12004. },
  12005. "bankpictureurl": {
  12006. "description": "银行卡正面地址",
  12007. "type": "string"
  12008. },
  12009. "biznature": {
  12010. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12011. "type": "integer"
  12012. },
  12013. "bizscope": {
  12014. "description": "企业经营范围(企业)",
  12015. "type": "string"
  12016. },
  12017. "biztype": {
  12018. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12019. "type": "integer"
  12020. },
  12021. "brokerid": {
  12022. "description": "经纪人ID(加密存储)",
  12023. "type": "string"
  12024. },
  12025. "cardaddress": {
  12026. "description": "证件地址 (加密存储)",
  12027. "type": "string"
  12028. },
  12029. "cardbackphotourl": {
  12030. "description": "背面证件照地址",
  12031. "type": "string"
  12032. },
  12033. "cardfrontphotourl": {
  12034. "description": "正面证件照地址",
  12035. "type": "string"
  12036. },
  12037. "cardnum": {
  12038. "description": "证件号码 (加密存储)",
  12039. "type": "string"
  12040. },
  12041. "cardtype": {
  12042. "description": "证件类型",
  12043. "type": "integer"
  12044. },
  12045. "cityid": {
  12046. "description": "市",
  12047. "type": "integer"
  12048. },
  12049. "company": {
  12050. "description": "公司(个人)",
  12051. "type": "string"
  12052. },
  12053. "contactcardbackphotourl": {
  12054. "description": "联系人证件背面图片地址",
  12055. "type": "string"
  12056. },
  12057. "contactcardfrontphotourl": {
  12058. "description": "联系人证件正面图片地址",
  12059. "type": "string"
  12060. },
  12061. "contactname": {
  12062. "description": "联系人",
  12063. "type": "string"
  12064. },
  12065. "countryid": {
  12066. "description": "国家",
  12067. "type": "integer"
  12068. },
  12069. "createtime": {
  12070. "description": "开户申请时间",
  12071. "type": "string"
  12072. },
  12073. "cusbankid": {
  12074. "description": "签约类型",
  12075. "type": "string"
  12076. },
  12077. "cusbankname": {
  12078. "description": "签约类型名称",
  12079. "type": "string"
  12080. },
  12081. "customername": {
  12082. "description": "客户名称(企业名称)",
  12083. "type": "string"
  12084. },
  12085. "districtid": {
  12086. "description": "地区",
  12087. "type": "integer"
  12088. },
  12089. "email": {
  12090. "description": "Email地址(加密存储)",
  12091. "type": "string"
  12092. },
  12093. "halfbodyphotourl": {
  12094. "description": "半身照地址",
  12095. "type": "string"
  12096. },
  12097. "headurl": {
  12098. "description": "头像地址",
  12099. "type": "string"
  12100. },
  12101. "ipaddress": {
  12102. "description": "IP地址",
  12103. "type": "string"
  12104. },
  12105. "isvalidate": {
  12106. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12107. "type": "string"
  12108. },
  12109. "legalcardbackphotourl": {
  12110. "description": "法人身份证背面照地址",
  12111. "type": "string"
  12112. },
  12113. "legalcardfrontphotourl": {
  12114. "description": "法人身份证正面照地址",
  12115. "type": "string"
  12116. },
  12117. "legalpersonname": {
  12118. "description": "法人姓名(企业)",
  12119. "type": "string"
  12120. },
  12121. "logincode": {
  12122. "description": "登录帐号 (加密存储)",
  12123. "type": "string"
  12124. },
  12125. "memberareaid": {
  12126. "description": "所属会员ID",
  12127. "type": "integer"
  12128. },
  12129. "mobile2": {
  12130. "description": "手机号码[明文-尚志]",
  12131. "type": "string"
  12132. },
  12133. "mobilephone": {
  12134. "description": "手机号码 (加密存储)",
  12135. "type": "string"
  12136. },
  12137. "modifiedby": {
  12138. "description": "修改人帐号",
  12139. "type": "integer"
  12140. },
  12141. "modifiedtime": {
  12142. "description": "修改时间",
  12143. "type": "string"
  12144. },
  12145. "nickname": {
  12146. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12147. "type": "string"
  12148. },
  12149. "openmode": {
  12150. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12151. "type": "integer"
  12152. },
  12153. "otherurl": {
  12154. "description": "其它图片地址[使用分号分隔]",
  12155. "type": "string"
  12156. },
  12157. "postalcode": {
  12158. "description": "邮政编码",
  12159. "type": "string"
  12160. },
  12161. "provinceid": {
  12162. "description": "省",
  12163. "type": "integer"
  12164. },
  12165. "proxystatementurl": {
  12166. "description": "授权委托书",
  12167. "type": "string"
  12168. },
  12169. "qq": {
  12170. "description": "QQ(加密存储",
  12171. "type": "string"
  12172. },
  12173. "referral": {
  12174. "description": "推荐人编码",
  12175. "type": "string"
  12176. },
  12177. "remark": {
  12178. "description": "备注",
  12179. "type": "string"
  12180. },
  12181. "removebeforestatus": {
  12182. "description": "REMOVEBEFORESTATUS",
  12183. "type": "integer"
  12184. },
  12185. "sex": {
  12186. "description": "性别 - 0:女 1:男",
  12187. "type": "integer"
  12188. },
  12189. "signedstatus": {
  12190. "description": "账户一号签签约状态",
  12191. "type": "integer"
  12192. },
  12193. "signpdfurl": {
  12194. "description": "签约pdf文件",
  12195. "type": "string"
  12196. },
  12197. "subbranch": {
  12198. "description": "开户支行",
  12199. "type": "string"
  12200. },
  12201. "taxpayernum": {
  12202. "description": "纳税人识别号",
  12203. "type": "string"
  12204. },
  12205. "telphone": {
  12206. "description": "联系电话(加密存储)",
  12207. "type": "string"
  12208. },
  12209. "userid": {
  12210. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12211. "type": "integer"
  12212. },
  12213. "userinfotype": {
  12214. "description": "用户信息类型 - 1:个人 2:企业",
  12215. "type": "integer"
  12216. },
  12217. "username": {
  12218. "description": "用户姓名",
  12219. "type": "string"
  12220. },
  12221. "userstate": {
  12222. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12223. "type": "integer"
  12224. },
  12225. "usertype": {
  12226. "description": "用户类型 - 1:投资者 2:机构",
  12227. "type": "integer"
  12228. },
  12229. "videourl": {
  12230. "description": "视频地址",
  12231. "type": "string"
  12232. },
  12233. "wechat": {
  12234. "description": "微信号 (加密存储)",
  12235. "type": "string"
  12236. }
  12237. }
  12238. },
  12239. "erms3.CustomerInfo": {
  12240. "type": "object",
  12241. "required": [
  12242. "userid"
  12243. ],
  12244. "properties": {
  12245. "accountids": {
  12246. "description": "资金账户ID列表",
  12247. "type": "array",
  12248. "items": {
  12249. "type": "integer"
  12250. }
  12251. },
  12252. "customername": {
  12253. "description": "名称(企业名称)",
  12254. "type": "string"
  12255. },
  12256. "mobile": {
  12257. "description": "手机号码",
  12258. "type": "string"
  12259. },
  12260. "userid": {
  12261. "description": "用户ID",
  12262. "type": "integer"
  12263. }
  12264. }
  12265. },
  12266. "erms3.ModifyUserInfoApplyReq": {
  12267. "type": "object",
  12268. "required": [
  12269. "userid"
  12270. ],
  12271. "properties": {
  12272. "accountid": {
  12273. "description": "交易系统帐号Id (加密存储)",
  12274. "type": "integer"
  12275. },
  12276. "areacode": {
  12277. "description": "机构代码",
  12278. "type": "string"
  12279. },
  12280. "areaid": {
  12281. "description": "机构Id",
  12282. "type": "integer"
  12283. },
  12284. "attachment1": {
  12285. "description": "附件1",
  12286. "type": "string"
  12287. },
  12288. "attachment2": {
  12289. "description": "附件2",
  12290. "type": "string"
  12291. },
  12292. "attachment3": {
  12293. "description": "附件3",
  12294. "type": "string"
  12295. },
  12296. "attachment4": {
  12297. "description": "附件4",
  12298. "type": "string"
  12299. },
  12300. "attachment5": {
  12301. "description": "附件5",
  12302. "type": "string"
  12303. },
  12304. "auditedby": {
  12305. "description": "审核人",
  12306. "type": "string"
  12307. },
  12308. "auditime": {
  12309. "description": "审核时间",
  12310. "type": "string"
  12311. },
  12312. "auditsrc": {
  12313. "description": "审核来源 - 1:管理端 2:终端",
  12314. "type": "integer"
  12315. },
  12316. "bankaccount": {
  12317. "description": "银行帐号 (加密存储)",
  12318. "type": "string"
  12319. },
  12320. "bankaccountname": {
  12321. "description": "收款人名称",
  12322. "type": "string"
  12323. },
  12324. "bankcardbackphotourl": {
  12325. "description": "银行卡背面照地址",
  12326. "type": "string"
  12327. },
  12328. "bankcardfrontphotourl": {
  12329. "description": "银行卡正面照地址",
  12330. "type": "string"
  12331. },
  12332. "bankid": {
  12333. "description": "银行编码",
  12334. "type": "string"
  12335. },
  12336. "bankname": {
  12337. "description": "银行名称",
  12338. "type": "string"
  12339. },
  12340. "bankpictureurl": {
  12341. "description": "银行卡正面地址",
  12342. "type": "string"
  12343. },
  12344. "biznature": {
  12345. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12346. "type": "integer"
  12347. },
  12348. "bizscope": {
  12349. "description": "企业经营范围(企业)",
  12350. "type": "string"
  12351. },
  12352. "biztype": {
  12353. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12354. "type": "integer"
  12355. },
  12356. "brokerid": {
  12357. "description": "经纪人ID(加密存储)",
  12358. "type": "string"
  12359. },
  12360. "cardaddress": {
  12361. "description": "证件地址 (加密存储)",
  12362. "type": "string"
  12363. },
  12364. "cardbackphotourl": {
  12365. "description": "背面证件照地址",
  12366. "type": "string"
  12367. },
  12368. "cardfrontphotourl": {
  12369. "description": "正面证件照地址",
  12370. "type": "string"
  12371. },
  12372. "cardnum": {
  12373. "description": "证件号码 (加密存储)",
  12374. "type": "string"
  12375. },
  12376. "cardtype": {
  12377. "description": "证件类型",
  12378. "type": "integer"
  12379. },
  12380. "cityid": {
  12381. "description": "市",
  12382. "type": "integer"
  12383. },
  12384. "company": {
  12385. "description": "公司(个人)",
  12386. "type": "string"
  12387. },
  12388. "contactcardbackphotourl": {
  12389. "description": "联系人证件背面图片地址",
  12390. "type": "string"
  12391. },
  12392. "contactcardfrontphotourl": {
  12393. "description": "联系人证件正面图片地址",
  12394. "type": "string"
  12395. },
  12396. "contactname": {
  12397. "description": "联系人",
  12398. "type": "string"
  12399. },
  12400. "countryid": {
  12401. "description": "国家",
  12402. "type": "integer"
  12403. },
  12404. "createtime": {
  12405. "description": "开户申请时间",
  12406. "type": "string"
  12407. },
  12408. "cusbankid": {
  12409. "description": "签约类型",
  12410. "type": "string"
  12411. },
  12412. "cusbankname": {
  12413. "description": "签约类型名称",
  12414. "type": "string"
  12415. },
  12416. "customername": {
  12417. "description": "客户名称(企业名称)",
  12418. "type": "string"
  12419. },
  12420. "districtid": {
  12421. "description": "地区",
  12422. "type": "integer"
  12423. },
  12424. "email": {
  12425. "description": "Email地址(加密存储)",
  12426. "type": "string"
  12427. },
  12428. "halfbodyphotourl": {
  12429. "description": "半身照地址",
  12430. "type": "string"
  12431. },
  12432. "headurl": {
  12433. "description": "头像地址",
  12434. "type": "string"
  12435. },
  12436. "ipaddress": {
  12437. "description": "IP地址",
  12438. "type": "string"
  12439. },
  12440. "isvalidate": {
  12441. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12442. "type": "string"
  12443. },
  12444. "legalcardbackphotourl": {
  12445. "description": "法人身份证背面照地址",
  12446. "type": "string"
  12447. },
  12448. "legalcardfrontphotourl": {
  12449. "description": "法人身份证正面照地址",
  12450. "type": "string"
  12451. },
  12452. "legalpersonname": {
  12453. "description": "法人姓名(企业)",
  12454. "type": "string"
  12455. },
  12456. "logincode": {
  12457. "description": "登录帐号 (加密存储)",
  12458. "type": "string"
  12459. },
  12460. "memberareaid": {
  12461. "description": "所属会员ID",
  12462. "type": "integer"
  12463. },
  12464. "mobile2": {
  12465. "description": "手机号码[明文-尚志]",
  12466. "type": "string"
  12467. },
  12468. "mobilephone": {
  12469. "description": "手机号码 (加密存储)",
  12470. "type": "string"
  12471. },
  12472. "modifiedby": {
  12473. "description": "修改人帐号",
  12474. "type": "integer"
  12475. },
  12476. "modifiedtime": {
  12477. "description": "修改时间",
  12478. "type": "string"
  12479. },
  12480. "nickname": {
  12481. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12482. "type": "string"
  12483. },
  12484. "openmode": {
  12485. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12486. "type": "integer"
  12487. },
  12488. "otherurl": {
  12489. "description": "其它图片地址[使用分号分隔]",
  12490. "type": "string"
  12491. },
  12492. "postalcode": {
  12493. "description": "邮政编码",
  12494. "type": "string"
  12495. },
  12496. "provinceid": {
  12497. "description": "省",
  12498. "type": "integer"
  12499. },
  12500. "proxystatementurl": {
  12501. "description": "授权委托书",
  12502. "type": "string"
  12503. },
  12504. "qq": {
  12505. "description": "QQ(加密存储",
  12506. "type": "string"
  12507. },
  12508. "referral": {
  12509. "description": "推荐人编码",
  12510. "type": "string"
  12511. },
  12512. "remark": {
  12513. "description": "备注",
  12514. "type": "string"
  12515. },
  12516. "removebeforestatus": {
  12517. "description": "REMOVEBEFORESTATUS",
  12518. "type": "integer"
  12519. },
  12520. "sex": {
  12521. "description": "性别 - 0:女 1:男",
  12522. "type": "integer"
  12523. },
  12524. "signedstatus": {
  12525. "description": "账户一号签签约状态",
  12526. "type": "integer"
  12527. },
  12528. "signpdfurl": {
  12529. "description": "签约pdf文件",
  12530. "type": "string"
  12531. },
  12532. "subbranch": {
  12533. "description": "开户支行",
  12534. "type": "string"
  12535. },
  12536. "taxpayernum": {
  12537. "description": "纳税人识别号",
  12538. "type": "string"
  12539. },
  12540. "telphone": {
  12541. "description": "联系电话(加密存储)",
  12542. "type": "string"
  12543. },
  12544. "userid": {
  12545. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12546. "type": "integer"
  12547. },
  12548. "userinfotype": {
  12549. "description": "用户信息类型 - 1:个人 2:企业",
  12550. "type": "integer"
  12551. },
  12552. "username": {
  12553. "description": "用户姓名",
  12554. "type": "string"
  12555. },
  12556. "userstate": {
  12557. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12558. "type": "integer"
  12559. },
  12560. "usertype": {
  12561. "description": "用户类型 - 1:投资者 2:机构",
  12562. "type": "integer"
  12563. },
  12564. "videourl": {
  12565. "description": "视频地址",
  12566. "type": "string"
  12567. },
  12568. "wechat": {
  12569. "description": "微信号 (加密存储)",
  12570. "type": "string"
  12571. }
  12572. }
  12573. },
  12574. "erms3.QryAuditContractRsp": {
  12575. "type": "object",
  12576. "required": [
  12577. "matchcustomername",
  12578. "spotcontractid"
  12579. ],
  12580. "properties": {
  12581. "accountid": {
  12582. "description": "交易员ID",
  12583. "type": "string"
  12584. },
  12585. "applystatus": {
  12586. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12587. "type": "integer"
  12588. },
  12589. "curdeliveryqty": {
  12590. "description": "未交收量",
  12591. "type": "integer"
  12592. },
  12593. "customername": {
  12594. "description": "采购方ID",
  12595. "type": "string"
  12596. },
  12597. "deliverygoodsid": {
  12598. "description": "品种ID",
  12599. "type": "string"
  12600. },
  12601. "deliveryqty": {
  12602. "description": "交收量",
  12603. "type": "integer"
  12604. },
  12605. "enumdicname": {
  12606. "description": "单位名称",
  12607. "type": "string"
  12608. },
  12609. "matchaccountid": {
  12610. "description": "业务员ID",
  12611. "type": "string"
  12612. },
  12613. "matchcustomername": {
  12614. "description": "销售方ID",
  12615. "type": "string"
  12616. },
  12617. "pricedqty": {
  12618. "description": "定价量",
  12619. "type": "number"
  12620. },
  12621. "signdate": {
  12622. "description": "签订日期",
  12623. "type": "string"
  12624. },
  12625. "spotcontractid": {
  12626. "description": "合同ID",
  12627. "type": "string"
  12628. },
  12629. "totaldqty": {
  12630. "description": "合同量",
  12631. "type": "number"
  12632. },
  12633. "unpricedqty": {
  12634. "description": "未定价量",
  12635. "type": "number"
  12636. },
  12637. "wrstandardname": {
  12638. "description": "商品名称",
  12639. "type": "string"
  12640. }
  12641. }
  12642. },
  12643. "erms3.QryPendingBizRsp": {
  12644. "$ref": "#/definitions/models.PendingAuditBizModel"
  12645. },
  12646. "erms3.QueryBusinessInfoRsp": {
  12647. "type": "object",
  12648. "properties": {
  12649. "businessid": {
  12650. "description": "业务ID.",
  12651. "type": "integer"
  12652. },
  12653. "buyamount": {
  12654. "description": "采购额.",
  12655. "type": "number"
  12656. },
  12657. "buyqty": {
  12658. "description": "采购量.",
  12659. "type": "string"
  12660. },
  12661. "futurepl": {
  12662. "description": "期货盈亏.",
  12663. "type": "number"
  12664. },
  12665. "futureqty": {
  12666. "description": "期货敞口.",
  12667. "type": "string"
  12668. },
  12669. "goodsid": {
  12670. "description": "商品名称/商品代码.",
  12671. "type": "string"
  12672. },
  12673. "hedgingqty": {
  12674. "description": "套保量.",
  12675. "type": "string"
  12676. },
  12677. "sellamount": {
  12678. "description": "销售额.",
  12679. "type": "number"
  12680. },
  12681. "sellqty": {
  12682. "description": "销售量.",
  12683. "type": "string"
  12684. },
  12685. "spotmarketvalue": {
  12686. "description": "现货市值.",
  12687. "type": "number"
  12688. },
  12689. "spotpl": {
  12690. "description": "浮动权益.",
  12691. "type": "number"
  12692. },
  12693. "spotqty": {
  12694. "description": "现货量.",
  12695. "type": "string"
  12696. },
  12697. "statu": {
  12698. "description": "状态,0-未结束 1-已结束.",
  12699. "type": "integer"
  12700. },
  12701. "totalpl": {
  12702. "description": "总盈亏.",
  12703. "type": "number"
  12704. },
  12705. "totalqty": {
  12706. "description": "总敞口.",
  12707. "type": "string"
  12708. },
  12709. "type": {
  12710. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12711. "type": "integer"
  12712. }
  12713. }
  12714. },
  12715. "erms3.QuerySpotContractAppleFormRsp": {
  12716. "type": "object",
  12717. "properties": {
  12718. "goodses": {
  12719. "description": "合约列表",
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.GoodsIDAndName"
  12723. }
  12724. },
  12725. "oppositeusers": {
  12726. "description": "对方账号列表",
  12727. "type": "array",
  12728. "items": {
  12729. "$ref": "#/definitions/erms3.CustomerInfo"
  12730. }
  12731. },
  12732. "ouruser": {
  12733. "description": "我方账号",
  12734. "type": "object",
  12735. "$ref": "#/definitions/erms3.CustomerInfo"
  12736. },
  12737. "warehouseinfos": {
  12738. "description": "仓库信息列表",
  12739. "type": "array",
  12740. "items": {
  12741. "$ref": "#/definitions/models.Warehouseinfo"
  12742. }
  12743. },
  12744. "wrstandards": {
  12745. "description": "仓单标准列表",
  12746. "type": "array",
  12747. "items": {
  12748. "$ref": "#/definitions/models.WRStandardInfo"
  12749. }
  12750. }
  12751. }
  12752. },
  12753. "erms3.QuerySpotContractInfoRsp": {
  12754. "type": "object",
  12755. "properties": {
  12756. "accountid": {
  12757. "description": "表示交易员ID.",
  12758. "type": "integer"
  12759. },
  12760. "curdeliveryqty": {
  12761. "description": "表示未交收量.",
  12762. "type": "number"
  12763. },
  12764. "customername": {
  12765. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12766. "type": "string"
  12767. },
  12768. "deliverygoodsid": {
  12769. "description": "表示品种ID.",
  12770. "type": "string"
  12771. },
  12772. "deliveryqty": {
  12773. "description": "表示交收量.",
  12774. "type": "number"
  12775. },
  12776. "matchaccountid": {
  12777. "description": "表示业务员ID.",
  12778. "type": "integer"
  12779. },
  12780. "matchcustomername": {
  12781. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12782. "type": "string"
  12783. },
  12784. "priceqty": {
  12785. "description": "表示定价量.",
  12786. "type": "number"
  12787. },
  12788. "relatedbizid": {
  12789. "description": "表示业务ID.",
  12790. "type": "string"
  12791. },
  12792. "signdate": {
  12793. "description": "表示签订日期.",
  12794. "type": "string"
  12795. },
  12796. "spotcontractid": {
  12797. "description": "合同ID",
  12798. "type": "string"
  12799. },
  12800. "status": {
  12801. "description": "表示状态,0-履约中 1-已完成.",
  12802. "type": "integer"
  12803. },
  12804. "totalqty": {
  12805. "description": "表示合同量.",
  12806. "type": "number"
  12807. },
  12808. "unpricedqty": {
  12809. "description": "表示未定价量.",
  12810. "type": "number"
  12811. },
  12812. "wrstandardname": {
  12813. "description": "表示商品ID.",
  12814. "type": "string"
  12815. }
  12816. }
  12817. },
  12818. "erms3.QueryUserInfoAppliesRsp": {
  12819. "type": "object",
  12820. "required": [
  12821. "userid"
  12822. ],
  12823. "properties": {
  12824. "biznature": {
  12825. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12826. "type": "integer"
  12827. },
  12828. "contactname": {
  12829. "description": "联系人",
  12830. "type": "string"
  12831. },
  12832. "createtime": {
  12833. "description": "开户申请时间",
  12834. "type": "string"
  12835. },
  12836. "userid": {
  12837. "description": "用户ID(自增ID)",
  12838. "type": "integer"
  12839. },
  12840. "userinfotype": {
  12841. "description": "用户信息类型 - 1:个人 2:企业",
  12842. "type": "integer"
  12843. },
  12844. "username": {
  12845. "description": "用户姓名",
  12846. "type": "string"
  12847. },
  12848. "userstate": {
  12849. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12850. "type": "integer"
  12851. }
  12852. }
  12853. },
  12854. "erms3.QueryUserInfosRsp": {
  12855. "type": "object",
  12856. "required": [
  12857. "userid"
  12858. ],
  12859. "properties": {
  12860. "biznature": {
  12861. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12862. "type": "integer"
  12863. },
  12864. "contactname": {
  12865. "description": "联系人",
  12866. "type": "string"
  12867. },
  12868. "customername": {
  12869. "description": "客户名称(企业名称)",
  12870. "type": "string"
  12871. },
  12872. "userid": {
  12873. "description": "用户ID",
  12874. "type": "integer"
  12875. },
  12876. "userinfotype": {
  12877. "description": "用户信息类型 - 1:个人 2:企业",
  12878. "type": "integer"
  12879. },
  12880. "userstatus": {
  12881. "description": "用户状态 - 1:正常 2:注销",
  12882. "type": "integer"
  12883. }
  12884. }
  12885. },
  12886. "erms3.SoptContractDetail": {
  12887. "type": "object",
  12888. "required": [
  12889. "deliverygoodsid",
  12890. "producttype",
  12891. "unitname",
  12892. "warehouseid",
  12893. "wrstandardid",
  12894. "wrstandardname"
  12895. ],
  12896. "properties": {
  12897. "deliverygoodsdesc": {
  12898. "description": "现货品种说明",
  12899. "type": "string"
  12900. },
  12901. "deliverygoodsid": {
  12902. "description": "现货品种ID",
  12903. "type": "integer"
  12904. },
  12905. "deliverygoodsname": {
  12906. "description": "现货品种名称",
  12907. "type": "string"
  12908. },
  12909. "pointdesc": {
  12910. "description": "点价描述",
  12911. "type": "string"
  12912. },
  12913. "producttype": {
  12914. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12915. "type": "integer"
  12916. },
  12917. "producttypename": {
  12918. "description": "产品类型名称",
  12919. "type": "string"
  12920. },
  12921. "spotPointOrderVoList": {
  12922. "description": "点价列表",
  12923. "type": "array",
  12924. "items": {
  12925. "$ref": "#/definitions/erms3.SpotPointOrder"
  12926. }
  12927. },
  12928. "spotPriceOrderList": {
  12929. "description": "定价列表",
  12930. "type": "array",
  12931. "items": {
  12932. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12933. }
  12934. },
  12935. "unitname": {
  12936. "description": "单位名称",
  12937. "type": "string"
  12938. },
  12939. "warehouseid": {
  12940. "description": "仓库ID",
  12941. "type": "integer"
  12942. },
  12943. "warehousename": {
  12944. "description": "仓库名称",
  12945. "type": "string"
  12946. },
  12947. "wrstandardid": {
  12948. "description": "交易标的ID",
  12949. "type": "integer"
  12950. },
  12951. "wrstandardname": {
  12952. "description": "交易标的名称",
  12953. "type": "string"
  12954. }
  12955. }
  12956. },
  12957. "erms3.SpotPointOrder": {
  12958. "type": "object",
  12959. "required": [
  12960. "basic",
  12961. "goodsid",
  12962. "qty"
  12963. ],
  12964. "properties": {
  12965. "basic": {
  12966. "description": "基差",
  12967. "type": "number"
  12968. },
  12969. "deliveryenddate": {
  12970. "description": "交收结束日期",
  12971. "type": "string"
  12972. },
  12973. "deliverystartdate": {
  12974. "description": "交收开始日期",
  12975. "type": "string"
  12976. },
  12977. "enddate": {
  12978. "description": "点价结束日期",
  12979. "type": "string"
  12980. },
  12981. "goodsid": {
  12982. "description": "商品ID",
  12983. "type": "integer"
  12984. },
  12985. "goodsname": {
  12986. "description": "商品名称",
  12987. "type": "string"
  12988. },
  12989. "qty": {
  12990. "description": "数量",
  12991. "type": "number"
  12992. },
  12993. "startdate": {
  12994. "description": "点价开始日期",
  12995. "type": "string"
  12996. }
  12997. }
  12998. },
  12999. "erms3.SpotPriceOrder": {
  13000. "type": "object",
  13001. "required": [
  13002. "amount",
  13003. "price",
  13004. "qty"
  13005. ],
  13006. "properties": {
  13007. "amount": {
  13008. "description": "金额",
  13009. "type": "number"
  13010. },
  13011. "deliveryenddate": {
  13012. "description": "交收结束日期",
  13013. "type": "string"
  13014. },
  13015. "deliverystartdate": {
  13016. "description": "交收开始日期",
  13017. "type": "string"
  13018. },
  13019. "price": {
  13020. "description": "价格",
  13021. "type": "number"
  13022. },
  13023. "qty": {
  13024. "description": "数量",
  13025. "type": "number"
  13026. }
  13027. }
  13028. },
  13029. "hsby.GetHsbyMyCountRsp": {
  13030. "type": "object",
  13031. "properties": {
  13032. "myCouponCount": {
  13033. "description": "我的优惠卷数量",
  13034. "type": "integer"
  13035. },
  13036. "myOrderDetailListingCount": {
  13037. "description": "我的订单求购中数量",
  13038. "type": "integer"
  13039. },
  13040. "myOrderDetailPreCount": {
  13041. "description": "我的订单抢购中数量",
  13042. "type": "integer"
  13043. },
  13044. "myPackageUnReceiveCount": {
  13045. "description": "我的包裹待收货数量",
  13046. "type": "integer"
  13047. },
  13048. "myPackageUnSendCount": {
  13049. "description": "我的包裹待发货数量",
  13050. "type": "integer"
  13051. },
  13052. "myPayOrderCount": {
  13053. "description": "我的订单待付款数量",
  13054. "type": "integer"
  13055. }
  13056. }
  13057. },
  13058. "hsby.QueryProvincesAndCitiesRsp": {
  13059. "type": "object",
  13060. "properties": {
  13061. "cities": {
  13062. "description": "市",
  13063. "type": "array",
  13064. "items": {
  13065. "$ref": "#/definitions/models.Division"
  13066. }
  13067. },
  13068. "province": {
  13069. "description": "省",
  13070. "type": "object",
  13071. "$ref": "#/definitions/models.Division"
  13072. }
  13073. }
  13074. },
  13075. "models.AreaSpotModel": {
  13076. "type": "object",
  13077. "properties": {
  13078. "areauserid": {
  13079. "description": "所属机构",
  13080. "type": "integer"
  13081. },
  13082. "decreaseqty": {
  13083. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13084. "type": "number"
  13085. },
  13086. "increaseqty": {
  13087. "description": "增加数量=销售计划数量+采购已定价数量",
  13088. "type": "number"
  13089. },
  13090. "oritoalspotqty": {
  13091. "description": "昨日数量",
  13092. "type": "number"
  13093. },
  13094. "totalspotqty": {
  13095. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13096. "type": "number"
  13097. },
  13098. "updatetime": {
  13099. "description": "更新时间",
  13100. "type": "string"
  13101. },
  13102. "wrstandardcode": {
  13103. "description": "现货品种代码",
  13104. "type": "string"
  13105. },
  13106. "wrstandardid": {
  13107. "description": "现货商品ID",
  13108. "type": "integer"
  13109. },
  13110. "wrstandardname": {
  13111. "description": "现货品种",
  13112. "type": "string"
  13113. }
  13114. }
  13115. },
  13116. "models.Arearole": {
  13117. "type": "object",
  13118. "required": [
  13119. "roletype",
  13120. "userid"
  13121. ],
  13122. "properties": {
  13123. "createtime": {
  13124. "description": "创建时间",
  13125. "type": "string"
  13126. },
  13127. "creatorid": {
  13128. "description": "创建人ID",
  13129. "type": "integer"
  13130. },
  13131. "fromuserid": {
  13132. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13133. "type": "integer"
  13134. },
  13135. "isreturnscore": {
  13136. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13137. "type": "integer"
  13138. },
  13139. "modifierid": {
  13140. "description": "修改人ID",
  13141. "type": "integer"
  13142. },
  13143. "modifytime": {
  13144. "description": "修改时间",
  13145. "type": "string"
  13146. },
  13147. "orgtype": {
  13148. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13149. "type": "integer"
  13150. },
  13151. "outuserid": {
  13152. "description": "外部账户[场外期权做市商]",
  13153. "type": "string"
  13154. },
  13155. "parentuserid": {
  13156. "description": "上级组织机构(组织机构)",
  13157. "type": "integer"
  13158. },
  13159. "roletype": {
  13160. "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:客户 98:代理 99:门店",
  13161. "type": "integer"
  13162. },
  13163. "rootuserid": {
  13164. "description": "顶级组织机构用户ID(组织机构)",
  13165. "type": "integer"
  13166. },
  13167. "shoppassword": {
  13168. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13169. "type": "string"
  13170. },
  13171. "sublevelpath": {
  13172. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13173. "type": "string"
  13174. },
  13175. "suborgtype": {
  13176. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13177. "type": "integer"
  13178. },
  13179. "tradeaccountid": {
  13180. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13181. "type": "integer"
  13182. },
  13183. "transurl": {
  13184. "description": "物流地址(物流机构)",
  13185. "type": "string"
  13186. },
  13187. "userid": {
  13188. "description": "机构用户ID其他做市关系,都设置为 1",
  13189. "type": "integer"
  13190. }
  13191. }
  13192. },
  13193. "models.Clientfixedadconfig": {
  13194. "type": "object",
  13195. "required": [
  13196. "adsort",
  13197. "adtype"
  13198. ],
  13199. "properties": {
  13200. "adsort": {
  13201. "description": "排序",
  13202. "type": "integer"
  13203. },
  13204. "adtype": {
  13205. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13206. "type": "integer"
  13207. },
  13208. "areauserid": {
  13209. "description": "所属机构ID",
  13210. "type": "integer"
  13211. },
  13212. "createdate": {
  13213. "description": "创建时间",
  13214. "type": "string"
  13215. },
  13216. "creatorid": {
  13217. "description": "创建人",
  13218. "type": "integer"
  13219. },
  13220. "imagepath": {
  13221. "description": "图片",
  13222. "type": "string"
  13223. },
  13224. "isshow": {
  13225. "description": "是否展示 - 0:不展示 1:展示",
  13226. "type": "integer"
  13227. },
  13228. "modifierid": {
  13229. "description": "操作人",
  13230. "type": "integer"
  13231. },
  13232. "recsize": {
  13233. "description": "推荐尺寸",
  13234. "type": "string"
  13235. },
  13236. "title": {
  13237. "description": "标题",
  13238. "type": "string"
  13239. },
  13240. "updatedate": {
  13241. "description": "更新时间",
  13242. "type": "string"
  13243. },
  13244. "urlcontent": {
  13245. "description": "链接(地址或商品ID)",
  13246. "type": "string"
  13247. },
  13248. "urltype": {
  13249. "description": "链接类型 - 1:直接地址 2:商品ID",
  13250. "type": "integer"
  13251. }
  13252. }
  13253. },
  13254. "models.Division": {
  13255. "type": "object",
  13256. "required": [
  13257. "autoid",
  13258. "divisioncode"
  13259. ],
  13260. "properties": {
  13261. "autoid": {
  13262. "description": "自增ID",
  13263. "type": "integer"
  13264. },
  13265. "divisioncode": {
  13266. "description": "行政代码",
  13267. "type": "string"
  13268. },
  13269. "divisionlevel": {
  13270. "description": "行政级别",
  13271. "type": "string"
  13272. },
  13273. "divisionname": {
  13274. "description": "行政名称",
  13275. "type": "string"
  13276. },
  13277. "modifierid": {
  13278. "description": "修改人",
  13279. "type": "integer"
  13280. },
  13281. "modifytime": {
  13282. "description": "修改时间",
  13283. "type": "string"
  13284. },
  13285. "parentcode": {
  13286. "description": "上级行政代码",
  13287. "type": "string"
  13288. },
  13289. "pathname": {
  13290. "description": "路径名称",
  13291. "type": "string"
  13292. },
  13293. "postcode": {
  13294. "description": "邮政编码",
  13295. "type": "string"
  13296. },
  13297. "separablename": {
  13298. "description": "可拆分的全称",
  13299. "type": "string"
  13300. },
  13301. "shortcode": {
  13302. "description": "地区简码",
  13303. "type": "string"
  13304. }
  13305. }
  13306. },
  13307. "models.Enumdicitem": {
  13308. "type": "object",
  13309. "required": [
  13310. "autoid",
  13311. "enumdiccode",
  13312. "enumdicid",
  13313. "enumitemname"
  13314. ],
  13315. "properties": {
  13316. "autoid": {
  13317. "description": "自增ID",
  13318. "type": "integer"
  13319. },
  13320. "bankmappedvalue": {
  13321. "description": "银行服务对应值",
  13322. "type": "string"
  13323. },
  13324. "enumdiccode": {
  13325. "description": "所属枚举代码",
  13326. "type": "string"
  13327. },
  13328. "enumdicid": {
  13329. "description": "所属枚举ID",
  13330. "type": "integer"
  13331. },
  13332. "enumdicname": {
  13333. "description": "枚举项名称",
  13334. "type": "string"
  13335. },
  13336. "enumitemname": {
  13337. "description": "枚举项值",
  13338. "type": "integer"
  13339. },
  13340. "enumitemstatus": {
  13341. "description": "枚举项状态 - 1.启用 2.不启用",
  13342. "type": "integer"
  13343. },
  13344. "enumitemvalue": {
  13345. "description": "通用值 - [币种通用简写]",
  13346. "type": "string"
  13347. },
  13348. "param1": {
  13349. "description": "参数1[币种:币种小数位]",
  13350. "type": "string"
  13351. },
  13352. "param2": {
  13353. "description": "参数1[币种:币种显示单位]",
  13354. "type": "string"
  13355. },
  13356. "remark": {
  13357. "description": "备注",
  13358. "type": "string"
  13359. }
  13360. }
  13361. },
  13362. "models.Ermcp3AreaSpot": {
  13363. "type": "object",
  13364. "properties": {
  13365. "areauserid": {
  13366. "description": "所属机构",
  13367. "type": "integer"
  13368. },
  13369. "decreaseqty": {
  13370. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13371. "type": "number"
  13372. },
  13373. "deliverygoodscode": {
  13374. "description": "现货品种代码",
  13375. "type": "string"
  13376. },
  13377. "deliverygoodsid": {
  13378. "description": "现货品种id",
  13379. "type": "integer"
  13380. },
  13381. "deliverygoodsname": {
  13382. "description": "现货品种名称",
  13383. "type": "string"
  13384. },
  13385. "enumdicname": {
  13386. "description": "单位名称",
  13387. "type": "string"
  13388. },
  13389. "goodsunitid": {
  13390. "description": "现货品种单位id",
  13391. "type": "integer"
  13392. },
  13393. "increaseqty": {
  13394. "description": "增加数量=销售计划数量+采购已定价数量",
  13395. "type": "number"
  13396. },
  13397. "oritoalspotqty": {
  13398. "description": "昨日数量",
  13399. "type": "number"
  13400. },
  13401. "totalspotqty": {
  13402. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13403. "type": "number"
  13404. },
  13405. "updatetime": {
  13406. "description": "更新时间",
  13407. "type": "string"
  13408. }
  13409. }
  13410. },
  13411. "models.Ermcp3AreaSpotDetail": {
  13412. "type": "object",
  13413. "properties": {
  13414. "contracttype": {
  13415. "description": "合同类型 1-采购 -1-销售",
  13416. "type": "integer"
  13417. },
  13418. "createtime": {
  13419. "description": "创建时间",
  13420. "type": "string"
  13421. },
  13422. "deliverygoodscode": {
  13423. "description": "现货品种代码",
  13424. "type": "string"
  13425. },
  13426. "deliverygoodsid": {
  13427. "description": "现货品种id",
  13428. "type": "integer"
  13429. },
  13430. "deliverygoodsname": {
  13431. "description": "现货品种名称",
  13432. "type": "string"
  13433. },
  13434. "enumdicname": {
  13435. "description": "现货商品单位名称",
  13436. "type": "string"
  13437. },
  13438. "logtype": {
  13439. "description": "记录类型 1-套保 2-现货合同",
  13440. "type": "integer"
  13441. },
  13442. "qty": {
  13443. "description": "数量",
  13444. "type": "number"
  13445. },
  13446. "recordname": {
  13447. "description": "类型名称",
  13448. "type": "string"
  13449. },
  13450. "relatedid": {
  13451. "description": "套保计划ID/现货合同ID",
  13452. "type": "string"
  13453. },
  13454. "relatedno": {
  13455. "description": "编号",
  13456. "type": "string"
  13457. },
  13458. "strtime": {
  13459. "description": "时间",
  13460. "type": "string"
  13461. }
  13462. }
  13463. },
  13464. "models.Ermcp3AreaSpotPLReport": {
  13465. "type": "object",
  13466. "properties": {
  13467. "accountid": {
  13468. "description": "期货账户ID (作废, 默认为0)",
  13469. "type": "integer"
  13470. },
  13471. "accountname": {
  13472. "description": "机构名称",
  13473. "type": "string"
  13474. },
  13475. "actualpl": {
  13476. "description": "现货损益",
  13477. "type": "number"
  13478. },
  13479. "areauserid": {
  13480. "description": "所属机构\\交易用户ID",
  13481. "type": "integer"
  13482. },
  13483. "begindate": {
  13484. "description": "开始交易日",
  13485. "type": "string"
  13486. },
  13487. "biztype": {
  13488. "description": "业务类型 - 1:套保 2:套利",
  13489. "type": "integer"
  13490. },
  13491. "brandname": {
  13492. "description": "品牌名称",
  13493. "type": "string"
  13494. },
  13495. "curamount": {
  13496. "description": "期末额",
  13497. "type": "number"
  13498. },
  13499. "curaverageprice": {
  13500. "description": "期末均价",
  13501. "type": "number"
  13502. },
  13503. "curbuyamount": {
  13504. "description": "期末采购总额",
  13505. "type": "number"
  13506. },
  13507. "curbuyqty": {
  13508. "description": "期末采购总量",
  13509. "type": "number"
  13510. },
  13511. "curmarketvalue": {
  13512. "description": "参考市值(期末市值)",
  13513. "type": "number"
  13514. },
  13515. "curqty": {
  13516. "description": "期末量",
  13517. "type": "number"
  13518. },
  13519. "currencyid": {
  13520. "description": "结算币种ID【原值】",
  13521. "type": "integer"
  13522. },
  13523. "currencyname": {
  13524. "description": "币种名称",
  13525. "type": "string"
  13526. },
  13527. "cursellamount": {
  13528. "description": "期末销售总额",
  13529. "type": "number"
  13530. },
  13531. "cursellqty": {
  13532. "description": "期末销售总量",
  13533. "type": "number"
  13534. },
  13535. "curspotprice": {
  13536. "description": "参考市价(最新价)",
  13537. "type": "number"
  13538. },
  13539. "cycletime": {
  13540. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13541. "type": "string"
  13542. },
  13543. "cycletype": {
  13544. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13545. "type": "integer"
  13546. },
  13547. "deliverygoodscode": {
  13548. "description": "现货商品代码",
  13549. "type": "string"
  13550. },
  13551. "deliverygoodsid": {
  13552. "description": "现货品种ID",
  13553. "type": "integer"
  13554. },
  13555. "deliverygoodsname": {
  13556. "description": "现货商品名称",
  13557. "type": "string"
  13558. },
  13559. "enddate": {
  13560. "description": "结束交易日",
  13561. "type": "string"
  13562. },
  13563. "enumdicname": {
  13564. "description": "现货商品单位名称",
  13565. "type": "string"
  13566. },
  13567. "floatpl": {
  13568. "description": "浮动损益",
  13569. "type": "number"
  13570. },
  13571. "goodsunitid": {
  13572. "description": "现货商品单位id",
  13573. "type": "integer"
  13574. },
  13575. "oriamount": {
  13576. "description": "期初额",
  13577. "type": "number"
  13578. },
  13579. "oriaverageprice": {
  13580. "description": "期初均价",
  13581. "type": "number"
  13582. },
  13583. "oribuyamount": {
  13584. "description": "期初采购总额",
  13585. "type": "number"
  13586. },
  13587. "oribuyqty": {
  13588. "description": "期初采购总量",
  13589. "type": "number"
  13590. },
  13591. "oriqty": {
  13592. "description": "期初量",
  13593. "type": "number"
  13594. },
  13595. "orisellamount": {
  13596. "description": "期初销售总额",
  13597. "type": "number"
  13598. },
  13599. "orisellqty": {
  13600. "description": "期初销售总量",
  13601. "type": "number"
  13602. },
  13603. "reckondate": {
  13604. "description": "日照时期(yyyyMMdd)",
  13605. "type": "string"
  13606. },
  13607. "spotgoodsbrandid": {
  13608. "description": "现货品牌ID",
  13609. "type": "integer"
  13610. },
  13611. "todaybuyamount": {
  13612. "description": "今日采购额(今采购额)",
  13613. "type": "number"
  13614. },
  13615. "todaybuyaverageprice": {
  13616. "description": "今日采购均价",
  13617. "type": "number"
  13618. },
  13619. "todaybuyqty": {
  13620. "description": "今日采购量(今采购量)",
  13621. "type": "number"
  13622. },
  13623. "todayinqty": {
  13624. "description": "今日入库量(今入库量)",
  13625. "type": "number"
  13626. },
  13627. "todayoutqty": {
  13628. "description": "今日出库量(今出库量)",
  13629. "type": "number"
  13630. },
  13631. "todaysellamount": {
  13632. "description": "今日销售额(今销售额)",
  13633. "type": "number"
  13634. },
  13635. "todaysellaverageprice": {
  13636. "description": "今日销售均价",
  13637. "type": "number"
  13638. },
  13639. "todaysellqty": {
  13640. "description": "今日销售量(今销售量)",
  13641. "type": "number"
  13642. },
  13643. "unitid": {
  13644. "description": "品类单位id",
  13645. "type": "integer"
  13646. },
  13647. "unitidname": {
  13648. "description": "品类单位名称",
  13649. "type": "string"
  13650. },
  13651. "updatetime": {
  13652. "description": "更新时间",
  13653. "type": "string"
  13654. },
  13655. "wrfactortypeid": {
  13656. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13657. "type": "integer"
  13658. },
  13659. "wrstandardcode": {
  13660. "description": "品类代码",
  13661. "type": "string"
  13662. },
  13663. "wrstandardid": {
  13664. "description": "现货品类ID",
  13665. "type": "integer"
  13666. },
  13667. "wrstandardname": {
  13668. "description": "品类名称",
  13669. "type": "string"
  13670. }
  13671. }
  13672. },
  13673. "models.Ermcp3AreaStock": {
  13674. "type": "object",
  13675. "required": [
  13676. "userid"
  13677. ],
  13678. "properties": {
  13679. "brandname": {
  13680. "description": "品牌名称",
  13681. "type": "string"
  13682. },
  13683. "curstock": {
  13684. "description": "期末库存量(今日量)",
  13685. "type": "number"
  13686. },
  13687. "deliverygoodscode": {
  13688. "description": "现货品种代码",
  13689. "type": "string"
  13690. },
  13691. "deliverygoodsid": {
  13692. "description": "现货品种id",
  13693. "type": "integer"
  13694. },
  13695. "deliverygoodsname": {
  13696. "description": "现货品种名称",
  13697. "type": "string"
  13698. },
  13699. "enumdicname": {
  13700. "description": "单位名称",
  13701. "type": "string"
  13702. },
  13703. "goodsunitid": {
  13704. "description": "现货商品单位id",
  13705. "type": "integer"
  13706. },
  13707. "oristock": {
  13708. "description": "期初库存量(昨日量)",
  13709. "type": "number"
  13710. },
  13711. "spotgoodsbrandid": {
  13712. "description": "现货品牌ID",
  13713. "type": "integer"
  13714. },
  13715. "todaybuyinqty": {
  13716. "description": "今日采购入库量",
  13717. "type": "number"
  13718. },
  13719. "todayproduceinqty": {
  13720. "description": "今日生产入库量",
  13721. "type": "number"
  13722. },
  13723. "todayproduceoutqty": {
  13724. "description": "今日生产出库量",
  13725. "type": "number"
  13726. },
  13727. "todayselloutqty": {
  13728. "description": "今日销售出库量",
  13729. "type": "number"
  13730. },
  13731. "unitid": {
  13732. "description": "单位id",
  13733. "type": "integer"
  13734. },
  13735. "updatetime": {
  13736. "description": "更新时间",
  13737. "type": "string"
  13738. },
  13739. "userid": {
  13740. "description": "机构ID",
  13741. "type": "integer"
  13742. },
  13743. "username": {
  13744. "description": "机构名称",
  13745. "type": "string"
  13746. },
  13747. "warehousecode": {
  13748. "description": "仓库代码",
  13749. "type": "string"
  13750. },
  13751. "warehouseinfoid": {
  13752. "description": "仓库ID",
  13753. "type": "string"
  13754. },
  13755. "warehousename": {
  13756. "description": "仓库名称",
  13757. "type": "string"
  13758. },
  13759. "warehousetype": {
  13760. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13761. "type": "integer"
  13762. },
  13763. "wrstandardcode": {
  13764. "description": "品类代码",
  13765. "type": "string"
  13766. },
  13767. "wrstandardid": {
  13768. "description": "品类ID",
  13769. "type": "string"
  13770. },
  13771. "wrstandardname": {
  13772. "description": "品类名称",
  13773. "type": "string"
  13774. }
  13775. }
  13776. },
  13777. "models.Ermcp3AreaStockApply": {
  13778. "type": "object",
  13779. "properties": {
  13780. "applyid": {
  13781. "description": "申请人",
  13782. "type": "integer"
  13783. },
  13784. "applyname": {
  13785. "description": "申请人名称",
  13786. "type": "string"
  13787. },
  13788. "applyremark": {
  13789. "description": "申请备注",
  13790. "type": "string"
  13791. },
  13792. "applysrc": {
  13793. "description": "申请来源 - 1:管理端 2:终端",
  13794. "type": "integer"
  13795. },
  13796. "applystatus": {
  13797. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13798. "type": "integer"
  13799. },
  13800. "applytime": {
  13801. "description": "申请时间",
  13802. "type": "string"
  13803. },
  13804. "auditid": {
  13805. "description": "审核人",
  13806. "type": "integer"
  13807. },
  13808. "auditname": {
  13809. "description": "审核人名称",
  13810. "type": "string"
  13811. },
  13812. "auditremark": {
  13813. "description": "审核备注",
  13814. "type": "string"
  13815. },
  13816. "auditsrc": {
  13817. "description": "审核来源 - 1:管理端 2:终端",
  13818. "type": "integer"
  13819. },
  13820. "audittime": {
  13821. "description": "审核时间",
  13822. "type": "string"
  13823. },
  13824. "audittradedate": {
  13825. "description": "审核交易日(yyyyMMdd)",
  13826. "type": "string"
  13827. },
  13828. "brandname": {
  13829. "description": "品牌名称",
  13830. "type": "string"
  13831. },
  13832. "buynickname": {
  13833. "description": "采购方昵称",
  13834. "type": "string"
  13835. },
  13836. "buyuserid": {
  13837. "description": "采购方userid",
  13838. "type": "integer"
  13839. },
  13840. "buyusername": {
  13841. "description": "采购方名称",
  13842. "type": "string"
  13843. },
  13844. "contractno": {
  13845. "description": "合同编号",
  13846. "type": "string"
  13847. },
  13848. "contractqty": {
  13849. "description": "合同量",
  13850. "type": "number"
  13851. },
  13852. "contracttype": {
  13853. "description": "现货合同类型 - 1:采购 -1:销售",
  13854. "type": "integer"
  13855. },
  13856. "deliverygoodscode": {
  13857. "description": "现货品种代码",
  13858. "type": "string"
  13859. },
  13860. "deliverygoodsid": {
  13861. "description": "现货品种id",
  13862. "type": "integer"
  13863. },
  13864. "deliverygoodsname": {
  13865. "description": "现货品种名称",
  13866. "type": "string"
  13867. },
  13868. "detailjson": {
  13869. "description": "明细数据",
  13870. "type": "string"
  13871. },
  13872. "enumdicname": {
  13873. "description": "现货商品单位名称",
  13874. "type": "string"
  13875. },
  13876. "inoutapplyid": {
  13877. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13878. "type": "string"
  13879. },
  13880. "inouttype": {
  13881. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13882. "type": "integer"
  13883. },
  13884. "pricetype": {
  13885. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13886. "type": "integer"
  13887. },
  13888. "qty": {
  13889. "description": "数量",
  13890. "type": "number"
  13891. },
  13892. "sellnickname": {
  13893. "description": "销售方昵称",
  13894. "type": "string"
  13895. },
  13896. "selluserid": {
  13897. "description": "销售方userid",
  13898. "type": "integer"
  13899. },
  13900. "sellusername": {
  13901. "description": "销售方名称",
  13902. "type": "string"
  13903. },
  13904. "spotcontractid": {
  13905. "description": "关联现货合同ID",
  13906. "type": "string"
  13907. },
  13908. "spotgoodsbrandid": {
  13909. "description": "现货品牌ID",
  13910. "type": "integer"
  13911. },
  13912. "unitid": {
  13913. "description": "单位id",
  13914. "type": "integer"
  13915. },
  13916. "userid": {
  13917. "description": "机构ID",
  13918. "type": "integer"
  13919. },
  13920. "warehousecode": {
  13921. "description": "仓库代码",
  13922. "type": "string"
  13923. },
  13924. "warehouseinfoid": {
  13925. "description": "现货仓库ID",
  13926. "type": "string"
  13927. },
  13928. "warehousename": {
  13929. "description": "仓库名称",
  13930. "type": "string"
  13931. },
  13932. "warehousetype": {
  13933. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13934. "type": "integer"
  13935. },
  13936. "wrstandardcode": {
  13937. "description": "品类代码",
  13938. "type": "string"
  13939. },
  13940. "wrstandardid": {
  13941. "description": "品类ID",
  13942. "type": "integer"
  13943. },
  13944. "wrstandardname": {
  13945. "description": "品类名称",
  13946. "type": "string"
  13947. }
  13948. }
  13949. },
  13950. "models.Ermcp3AreaStockApplySum": {
  13951. "type": "object",
  13952. "properties": {
  13953. "brandname": {
  13954. "description": "品牌名称",
  13955. "type": "string"
  13956. },
  13957. "inouttype": {
  13958. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13959. "type": "integer"
  13960. },
  13961. "spotcontractid": {
  13962. "description": "关联现货合同ID",
  13963. "type": "string"
  13964. },
  13965. "spotgoodsbrandid": {
  13966. "description": "品牌id",
  13967. "type": "integer"
  13968. },
  13969. "totalqty": {
  13970. "description": "总数量",
  13971. "type": "number"
  13972. },
  13973. "wrstandardid": {
  13974. "description": "品类id",
  13975. "type": "integer"
  13976. },
  13977. "wrstandardname": {
  13978. "description": "品类名称",
  13979. "type": "string"
  13980. }
  13981. }
  13982. },
  13983. "models.Ermcp3AreaStockReportEx": {
  13984. "type": "object",
  13985. "properties": {
  13986. "begindate": {
  13987. "description": "开始交易日",
  13988. "type": "string"
  13989. },
  13990. "brandname": {
  13991. "description": "品牌名称",
  13992. "type": "string"
  13993. },
  13994. "curstock": {
  13995. "description": "期末库存量",
  13996. "type": "number"
  13997. },
  13998. "cycletime": {
  13999. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14000. "type": "string"
  14001. },
  14002. "cycletype": {
  14003. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14004. "type": "integer"
  14005. },
  14006. "deliverygoodscode": {
  14007. "description": "现货品种代码",
  14008. "type": "string"
  14009. },
  14010. "deliverygoodsid": {
  14011. "description": "现货品种id",
  14012. "type": "integer"
  14013. },
  14014. "deliverygoodsname": {
  14015. "description": "现货品种名称",
  14016. "type": "string"
  14017. },
  14018. "diffqty": {
  14019. "description": "库存变化量 = 期末 - 期初",
  14020. "type": "number"
  14021. },
  14022. "enddate": {
  14023. "description": "结束交易日",
  14024. "type": "string"
  14025. },
  14026. "enumdicname": {
  14027. "description": "单位名称",
  14028. "type": "string"
  14029. },
  14030. "goodsunitid": {
  14031. "description": "现货单位id",
  14032. "type": "integer"
  14033. },
  14034. "oristock": {
  14035. "description": "期初库存量",
  14036. "type": "number"
  14037. },
  14038. "reckondate": {
  14039. "description": "日照时期(yyyyMMdd)",
  14040. "type": "string"
  14041. },
  14042. "spotgoodsbrandid": {
  14043. "description": "现货品牌ID",
  14044. "type": "integer"
  14045. },
  14046. "todaybuyinqty": {
  14047. "description": "今采购入库量",
  14048. "type": "number"
  14049. },
  14050. "todayproduceinqty": {
  14051. "description": "今内部入库量",
  14052. "type": "number"
  14053. },
  14054. "todayproduceoutqty": {
  14055. "description": "今内部出库量",
  14056. "type": "number"
  14057. },
  14058. "todayselloutqty": {
  14059. "description": "今销售出库量",
  14060. "type": "number"
  14061. },
  14062. "unbuyinqty": {
  14063. "description": "采购未入库量(数据库未找到相关字段?)",
  14064. "type": "number"
  14065. },
  14066. "unitid": {
  14067. "description": "品类单位id",
  14068. "type": "integer"
  14069. },
  14070. "unselloutqty": {
  14071. "description": "销售未出库量(数据库未找到相关字段?)",
  14072. "type": "number"
  14073. },
  14074. "updatetime": {
  14075. "description": "更新时间",
  14076. "type": "string"
  14077. },
  14078. "userid": {
  14079. "description": "机构ID",
  14080. "type": "integer"
  14081. },
  14082. "username": {
  14083. "description": "机构名称",
  14084. "type": "string"
  14085. },
  14086. "warehousecode": {
  14087. "description": "仓库代码",
  14088. "type": "string"
  14089. },
  14090. "warehouseinfoid": {
  14091. "description": "仓库ID",
  14092. "type": "string"
  14093. },
  14094. "warehousename": {
  14095. "description": "仓库名称",
  14096. "type": "string"
  14097. },
  14098. "warehousetype": {
  14099. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14100. "type": "integer"
  14101. },
  14102. "wrstandardcode": {
  14103. "description": "品类代码",
  14104. "type": "string"
  14105. },
  14106. "wrstandardid": {
  14107. "description": "品类ID",
  14108. "type": "integer"
  14109. },
  14110. "wrstandardname": {
  14111. "description": "品类名称",
  14112. "type": "string"
  14113. }
  14114. }
  14115. },
  14116. "models.Ermcp3ArealSumPL": {
  14117. "type": "object",
  14118. "properties": {
  14119. "accountname": {
  14120. "description": "机构名称",
  14121. "type": "string"
  14122. },
  14123. "areauserid": {
  14124. "description": "所属机构\\交易用户ID",
  14125. "type": "integer"
  14126. },
  14127. "begindate": {
  14128. "description": "开始交易日",
  14129. "type": "string"
  14130. },
  14131. "currencyid": {
  14132. "description": "结算币种ID",
  14133. "type": "integer"
  14134. },
  14135. "currencyname": {
  14136. "description": "币种名称",
  14137. "type": "string"
  14138. },
  14139. "cycletime": {
  14140. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14141. "type": "string"
  14142. },
  14143. "cycletype": {
  14144. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14145. "type": "integer"
  14146. },
  14147. "enddate": {
  14148. "description": "结束交易日",
  14149. "type": "string"
  14150. },
  14151. "enumdicname": {
  14152. "description": "单位名称(套保品种)",
  14153. "type": "string"
  14154. },
  14155. "futureactualpl": {
  14156. "description": "期货损益",
  14157. "type": "number"
  14158. },
  14159. "futurefloatpl": {
  14160. "description": "期货浮动损益",
  14161. "type": "number"
  14162. },
  14163. "goodsunitid": {
  14164. "description": "套保品种单位id",
  14165. "type": "integer"
  14166. },
  14167. "middlegoodscode": {
  14168. "description": "套保品种代码",
  14169. "type": "string"
  14170. },
  14171. "middlegoodsid": {
  14172. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14173. "type": "integer"
  14174. },
  14175. "middlegoodsname": {
  14176. "description": "套保品种名称",
  14177. "type": "string"
  14178. },
  14179. "reckondate": {
  14180. "description": "日照时期(yyyyMMdd)",
  14181. "type": "string"
  14182. },
  14183. "spotactualpl": {
  14184. "description": "现货损益",
  14185. "type": "number"
  14186. },
  14187. "spotfloatpl": {
  14188. "description": "现货浮动损益",
  14189. "type": "number"
  14190. },
  14191. "sumactualpl": {
  14192. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14193. "type": "number"
  14194. },
  14195. "sumpl": {
  14196. "description": "汇总损益",
  14197. "type": "number"
  14198. },
  14199. "updatetime": {
  14200. "description": "更新时间",
  14201. "type": "string"
  14202. }
  14203. }
  14204. },
  14205. "models.Ermcp3Brand": {
  14206. "type": "object",
  14207. "properties": {
  14208. "areauserid": {
  14209. "description": "用户id",
  14210. "type": "integer"
  14211. },
  14212. "brandid": {
  14213. "description": "品牌id",
  14214. "type": "integer"
  14215. },
  14216. "brandname": {
  14217. "description": "品牌名称",
  14218. "type": "string"
  14219. },
  14220. "deliverygoodsid": {
  14221. "description": "品种ID",
  14222. "type": "integer"
  14223. }
  14224. }
  14225. },
  14226. "models.Ermcp3Contract": {
  14227. "type": "object",
  14228. "properties": {
  14229. "accountid": {
  14230. "description": "期货账户id",
  14231. "type": "string"
  14232. },
  14233. "amount": {
  14234. "description": "金额 [1:一口价、3:暂定价]",
  14235. "type": "number"
  14236. },
  14237. "attachment": {
  14238. "description": "附件",
  14239. "type": "string"
  14240. },
  14241. "auditremark": {
  14242. "description": "审核意见",
  14243. "type": "string"
  14244. },
  14245. "audittime": {
  14246. "description": "审核时间",
  14247. "type": "string"
  14248. },
  14249. "biztype": {
  14250. "description": "业务类型 1-套保 2-套利",
  14251. "type": "integer"
  14252. },
  14253. "brandname": {
  14254. "description": "品牌名称",
  14255. "type": "string"
  14256. },
  14257. "buynickname": {
  14258. "description": "销售方昵称",
  14259. "type": "string"
  14260. },
  14261. "buyuserid": {
  14262. "description": "采购方ID",
  14263. "type": "integer"
  14264. },
  14265. "buyusername": {
  14266. "description": "采购方名称",
  14267. "type": "string"
  14268. },
  14269. "contracctstatus": {
  14270. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14271. "type": "integer"
  14272. },
  14273. "contractmargin": {
  14274. "description": "合同保证金",
  14275. "type": "number"
  14276. },
  14277. "contractno": {
  14278. "description": "现货合同编号",
  14279. "type": "string"
  14280. },
  14281. "contracttype": {
  14282. "description": "现货合同类型 - 1:采购 -1:销售",
  14283. "type": "integer"
  14284. },
  14285. "convertfactor": {
  14286. "description": "标仓系数(品类)",
  14287. "type": "number"
  14288. },
  14289. "createtime": {
  14290. "description": "创建时间",
  14291. "type": "string"
  14292. },
  14293. "currencyid": {
  14294. "description": "币种id",
  14295. "type": "integer"
  14296. },
  14297. "currencyname": {
  14298. "description": "币种名称",
  14299. "type": "string"
  14300. },
  14301. "deliveryenddate": {
  14302. "description": "交收期(结束)",
  14303. "type": "string"
  14304. },
  14305. "deliverygoodscode": {
  14306. "description": "现货品种代码",
  14307. "type": "string"
  14308. },
  14309. "deliverygoodsid": {
  14310. "description": "现货品种ID",
  14311. "type": "integer"
  14312. },
  14313. "deliverygoodsname": {
  14314. "description": "现货品种名称",
  14315. "type": "string"
  14316. },
  14317. "deliverystartdate": {
  14318. "description": "交收期(开始)",
  14319. "type": "string"
  14320. },
  14321. "enddate": {
  14322. "description": "点价结束日期 [2:点价 3:暂定价]",
  14323. "type": "string"
  14324. },
  14325. "enumdicname": {
  14326. "description": "单位名称",
  14327. "type": "string"
  14328. },
  14329. "goodscode": {
  14330. "description": "点价合约代码",
  14331. "type": "string"
  14332. },
  14333. "goodsid": {
  14334. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14335. "type": "integer"
  14336. },
  14337. "goodsname": {
  14338. "description": "点价商品名称",
  14339. "type": "string"
  14340. },
  14341. "margin": {
  14342. "description": "当前保证金",
  14343. "type": "number"
  14344. },
  14345. "meruserid": {
  14346. "description": "跟单员id",
  14347. "type": "integer"
  14348. },
  14349. "meruserlogincode": {
  14350. "description": "跟单员登录代码",
  14351. "type": "string"
  14352. },
  14353. "price": {
  14354. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14355. "type": "number"
  14356. },
  14357. "pricemove": {
  14358. "description": "升贴水 [2:点价 3:暂定价]",
  14359. "type": "number"
  14360. },
  14361. "pricetype": {
  14362. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14363. "type": "integer"
  14364. },
  14365. "producttype": {
  14366. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14367. "type": "integer"
  14368. },
  14369. "qty": {
  14370. "description": "数量",
  14371. "type": "number"
  14372. },
  14373. "remark": {
  14374. "description": "备注",
  14375. "type": "string"
  14376. },
  14377. "saleuserid": {
  14378. "description": "业务员id",
  14379. "type": "integer"
  14380. },
  14381. "saleuserlogincode": {
  14382. "description": "业务员登录代码",
  14383. "type": "string"
  14384. },
  14385. "sellnickname": {
  14386. "description": "采购方昵称",
  14387. "type": "string"
  14388. },
  14389. "selluserid": {
  14390. "description": "销售方ID",
  14391. "type": "integer"
  14392. },
  14393. "sellusername": {
  14394. "description": "销售方名称",
  14395. "type": "string"
  14396. },
  14397. "spotcontractid": {
  14398. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14399. "type": "string"
  14400. },
  14401. "spotgoodsbrandid": {
  14402. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14403. "type": "integer"
  14404. },
  14405. "spotgoodsdesc": {
  14406. "description": "商品型号",
  14407. "type": "string"
  14408. },
  14409. "startdate": {
  14410. "description": "点价开始日期 [2:点价 3:暂定价]",
  14411. "type": "string"
  14412. },
  14413. "tradeuserid": {
  14414. "description": "交易员id",
  14415. "type": "integer"
  14416. },
  14417. "tradeuserlogincode": {
  14418. "description": "交易员登录代码",
  14419. "type": "string"
  14420. },
  14421. "tradeusername": {
  14422. "description": "交易员名称",
  14423. "type": "string"
  14424. },
  14425. "unitid": {
  14426. "description": "单位id(取品类上的单位id)",
  14427. "type": "integer"
  14428. },
  14429. "updatetime": {
  14430. "description": "更新时间",
  14431. "type": "string"
  14432. },
  14433. "userid": {
  14434. "description": "所属机构ID",
  14435. "type": "integer"
  14436. },
  14437. "wrstandardcode": {
  14438. "description": "品类代码",
  14439. "type": "string"
  14440. },
  14441. "wrstandardid": {
  14442. "description": "品类ID",
  14443. "type": "integer"
  14444. },
  14445. "wrstandardname": {
  14446. "description": "品类名称",
  14447. "type": "string"
  14448. }
  14449. }
  14450. },
  14451. "models.Ermcp3ExposureContractDetail": {
  14452. "type": "object",
  14453. "properties": {
  14454. "biztype": {
  14455. "description": "业务类型 1-套保 2-套利",
  14456. "type": "integer"
  14457. },
  14458. "brandname": {
  14459. "description": "品牌名称",
  14460. "type": "string"
  14461. },
  14462. "buyuserid": {
  14463. "description": "采购方id",
  14464. "type": "integer"
  14465. },
  14466. "buyusername": {
  14467. "description": "采购方名称",
  14468. "type": "string"
  14469. },
  14470. "contractno": {
  14471. "description": "合同编号",
  14472. "type": "string"
  14473. },
  14474. "contracttype": {
  14475. "description": "现货合同类型 - 1:采购 -1:销售",
  14476. "type": "integer"
  14477. },
  14478. "convertfactor": {
  14479. "description": "标仓系数",
  14480. "type": "number"
  14481. },
  14482. "convertratio": {
  14483. "description": "折算系数(套保品种)",
  14484. "type": "number"
  14485. },
  14486. "curqty": {
  14487. "description": "今定价量",
  14488. "type": "number"
  14489. },
  14490. "deliverygoodscode": {
  14491. "description": "现货商品代码",
  14492. "type": "string"
  14493. },
  14494. "deliverygoodsid": {
  14495. "description": "现货商品id",
  14496. "type": "integer"
  14497. },
  14498. "deliverygoodsname": {
  14499. "description": "现货商品名称",
  14500. "type": "string"
  14501. },
  14502. "diffhedgeqty": {
  14503. "description": "套保变动量",
  14504. "type": "number"
  14505. },
  14506. "diffneedhedgeqty": {
  14507. "description": "应套保变动量",
  14508. "type": "number"
  14509. },
  14510. "diffqty": {
  14511. "description": "套保品种今变动量",
  14512. "type": "number"
  14513. },
  14514. "enumdicname": {
  14515. "description": "单位名称",
  14516. "type": "string"
  14517. },
  14518. "middlegoodscode": {
  14519. "description": "套保品种代码",
  14520. "type": "string"
  14521. },
  14522. "middlegoodsid": {
  14523. "description": "套保品种id",
  14524. "type": "integer"
  14525. },
  14526. "middlegoodsname": {
  14527. "description": "套保品种名称",
  14528. "type": "string"
  14529. },
  14530. "needarbitrageratio": {
  14531. "description": "应套利比例",
  14532. "type": "number"
  14533. },
  14534. "needhedgeratio": {
  14535. "description": "应套保比例",
  14536. "type": "number"
  14537. },
  14538. "pricedqty": {
  14539. "description": "已定价量",
  14540. "type": "number"
  14541. },
  14542. "qty": {
  14543. "description": "合同量",
  14544. "type": "number"
  14545. },
  14546. "selluserid": {
  14547. "description": "销售方id",
  14548. "type": "integer"
  14549. },
  14550. "sellusername": {
  14551. "description": "销售方名称",
  14552. "type": "string"
  14553. },
  14554. "spotcontractid": {
  14555. "description": "合同id",
  14556. "type": "string"
  14557. },
  14558. "todaypricedqty": {
  14559. "description": "今定价量",
  14560. "type": "number"
  14561. },
  14562. "tradedate": {
  14563. "description": "交易日",
  14564. "type": "string"
  14565. },
  14566. "unitid": {
  14567. "description": "品类单位id",
  14568. "type": "integer"
  14569. },
  14570. "userid": {
  14571. "description": "机构id",
  14572. "type": "integer"
  14573. },
  14574. "wrstandardcode": {
  14575. "description": "品类代码",
  14576. "type": "string"
  14577. },
  14578. "wrstandardid": {
  14579. "description": "品类id",
  14580. "type": "integer"
  14581. },
  14582. "wrstandardname": {
  14583. "description": "品类名称",
  14584. "type": "string"
  14585. }
  14586. }
  14587. },
  14588. "models.Ermcp3ExposureDetail": {
  14589. "type": "object",
  14590. "properties": {
  14591. "areauserid": {
  14592. "description": "机构ID",
  14593. "type": "integer"
  14594. },
  14595. "changeQty": {
  14596. "description": "套保变动量",
  14597. "type": "number"
  14598. },
  14599. "contracttype": {
  14600. "description": "现货合同类型 - 1:采购 -1:销售",
  14601. "type": "integer"
  14602. },
  14603. "convertfactor": {
  14604. "description": "标仓系数",
  14605. "type": "number"
  14606. },
  14607. "convertratio": {
  14608. "description": "套保系数",
  14609. "type": "number"
  14610. },
  14611. "createtime": {
  14612. "description": "时间",
  14613. "type": "string"
  14614. },
  14615. "deliverygoodscode": {
  14616. "description": "现货品种代码",
  14617. "type": "string"
  14618. },
  14619. "deliverygoodsid": {
  14620. "description": "现货品种id",
  14621. "type": "integer"
  14622. },
  14623. "deliverygoodsname": {
  14624. "description": "现货品种名称",
  14625. "type": "string"
  14626. },
  14627. "enumdicname": {
  14628. "description": "现货商品单位名称",
  14629. "type": "string"
  14630. },
  14631. "logtype": {
  14632. "description": "类型 - 1:套保计划 2:现货合同",
  14633. "type": "integer"
  14634. },
  14635. "mgunitid": {
  14636. "description": "套保品种单位id",
  14637. "type": "integer"
  14638. },
  14639. "mgunitidname": {
  14640. "description": "套保品种单位名称",
  14641. "type": "string"
  14642. },
  14643. "middlegoodsId": {
  14644. "description": "套保商品id",
  14645. "type": "integer"
  14646. },
  14647. "middlegoodscode": {
  14648. "description": "套保商品代码",
  14649. "type": "string"
  14650. },
  14651. "middlegoodsname": {
  14652. "description": "套保商品名称",
  14653. "type": "string"
  14654. },
  14655. "qty": {
  14656. "description": "数量",
  14657. "type": "number"
  14658. },
  14659. "relateNo": {
  14660. "description": "现货合同/套保计划编号",
  14661. "type": "string"
  14662. }
  14663. }
  14664. },
  14665. "models.Ermcp3ExposureFutuDetail": {
  14666. "type": "object",
  14667. "properties": {
  14668. "accountid": {
  14669. "description": "交易账户id",
  14670. "type": "integer"
  14671. },
  14672. "accountname": {
  14673. "description": "交易账户",
  14674. "type": "string"
  14675. },
  14676. "begindate": {
  14677. "description": "开始交易日",
  14678. "type": "string"
  14679. },
  14680. "buyorsell": {
  14681. "description": "方向 0-买 1-卖",
  14682. "type": "integer"
  14683. },
  14684. "diffmgqty": {
  14685. "description": "套保品种今变化量",
  14686. "type": "number"
  14687. },
  14688. "diffneedqty": {
  14689. "description": "应套保总量变化量",
  14690. "type": "number"
  14691. },
  14692. "difftradeqty": {
  14693. "description": "交易品种今变化量",
  14694. "type": "number"
  14695. },
  14696. "enddate": {
  14697. "description": "结束交易日",
  14698. "type": "string"
  14699. },
  14700. "enumdicname": {
  14701. "description": "单位名称",
  14702. "type": "string"
  14703. },
  14704. "goodscode": {
  14705. "description": "商品代码",
  14706. "type": "string"
  14707. },
  14708. "goodsid": {
  14709. "description": "商品id",
  14710. "type": "integer"
  14711. },
  14712. "goodsname": {
  14713. "description": "商品名称",
  14714. "type": "string"
  14715. },
  14716. "holdqty": {
  14717. "description": "期末持仓量",
  14718. "type": "number"
  14719. },
  14720. "middlegoodscode": {
  14721. "description": "套保商品代码",
  14722. "type": "string"
  14723. },
  14724. "middlegoodsid": {
  14725. "description": "套保商品id",
  14726. "type": "integer"
  14727. },
  14728. "middlegoodsname": {
  14729. "description": "套保商品名称",
  14730. "type": "string"
  14731. },
  14732. "oriholdqty": {
  14733. "description": "期初持仓量",
  14734. "type": "number"
  14735. },
  14736. "todaycloseqty": {
  14737. "description": "今平仓量",
  14738. "type": "number"
  14739. },
  14740. "todayopenqty": {
  14741. "description": "今开仓量",
  14742. "type": "number"
  14743. },
  14744. "tradedate": {
  14745. "description": "交易日",
  14746. "type": "string"
  14747. }
  14748. }
  14749. },
  14750. "models.Ermcp3ExposureHedgeplanDetail": {
  14751. "type": "object",
  14752. "properties": {
  14753. "biztype": {
  14754. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  14755. "type": "integer"
  14756. },
  14757. "changqty": {
  14758. "description": "应套保总量变化量",
  14759. "type": "number"
  14760. },
  14761. "contracttype": {
  14762. "description": "计划类型 - 1:采购 -1:销售",
  14763. "type": "integer"
  14764. },
  14765. "convertratio": {
  14766. "description": "折算系数(套保品种)",
  14767. "type": "number"
  14768. },
  14769. "deliverygoodscode": {
  14770. "description": "现货商品代码",
  14771. "type": "string"
  14772. },
  14773. "deliverygoodsid": {
  14774. "description": "现货商品id",
  14775. "type": "integer"
  14776. },
  14777. "deliverygoodsname": {
  14778. "description": "现货商吕名称",
  14779. "type": "string"
  14780. },
  14781. "dgunitid": {
  14782. "description": "现货商品单位id",
  14783. "type": "integer"
  14784. },
  14785. "dgunitidname": {
  14786. "description": "单位名称(现货商品)",
  14787. "type": "string"
  14788. },
  14789. "diffqty": {
  14790. "description": "套保品种今变动量",
  14791. "type": "number"
  14792. },
  14793. "enumdicname": {
  14794. "description": "单位名称(品类)",
  14795. "type": "string"
  14796. },
  14797. "hedgeplanid": {
  14798. "description": "套保计划id",
  14799. "type": "string"
  14800. },
  14801. "hedgeplanno": {
  14802. "description": "套保计划名称",
  14803. "type": "string"
  14804. },
  14805. "hedgeplanstatus": {
  14806. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14807. "type": "integer"
  14808. },
  14809. "mgunitidname": {
  14810. "description": "单位名称(套保商品)",
  14811. "type": "string"
  14812. },
  14813. "middlegoodscode": {
  14814. "description": "套保品种代码",
  14815. "type": "string"
  14816. },
  14817. "middlegoodsid": {
  14818. "description": "套保品种id",
  14819. "type": "integer"
  14820. },
  14821. "middlegoodsname": {
  14822. "description": "套保品种名称",
  14823. "type": "string"
  14824. },
  14825. "needarbitrageratio": {
  14826. "description": "应套利比例",
  14827. "type": "number"
  14828. },
  14829. "needhedgeratio": {
  14830. "description": "应套保比例",
  14831. "type": "number"
  14832. },
  14833. "pricedqty": {
  14834. "description": "已定价量",
  14835. "type": "number"
  14836. },
  14837. "qty": {
  14838. "description": "合同量",
  14839. "type": "number"
  14840. },
  14841. "tradedate": {
  14842. "description": "交易日(登记日)",
  14843. "type": "string"
  14844. },
  14845. "unitid": {
  14846. "description": "品类单位id",
  14847. "type": "integer"
  14848. },
  14849. "userid": {
  14850. "description": "机构id",
  14851. "type": "integer"
  14852. },
  14853. "wrstandardcode": {
  14854. "description": "品类代码",
  14855. "type": "string"
  14856. },
  14857. "wrstandardid": {
  14858. "description": "品类id",
  14859. "type": "integer"
  14860. },
  14861. "wrstandardname": {
  14862. "description": "品类名称",
  14863. "type": "string"
  14864. }
  14865. }
  14866. },
  14867. "models.Ermcp3ExpourseReport": {
  14868. "type": "object",
  14869. "properties": {
  14870. "accountid": {
  14871. "description": "期货账户ID (作废, 默认为0)",
  14872. "type": "integer"
  14873. },
  14874. "accountname": {
  14875. "description": "机构名称",
  14876. "type": "string"
  14877. },
  14878. "arbitrageqty": {
  14879. "description": "套利量",
  14880. "type": "number"
  14881. },
  14882. "areauserid": {
  14883. "description": "所属机构\\交易用户ID",
  14884. "type": "integer"
  14885. },
  14886. "begindate": {
  14887. "description": "开始交易日",
  14888. "type": "string"
  14889. },
  14890. "buyfutureqty": {
  14891. "description": "买入期货数量",
  14892. "type": "number"
  14893. },
  14894. "buyplanqty": {
  14895. "description": "采购计划数量",
  14896. "type": "number"
  14897. },
  14898. "buypricedqty": {
  14899. "description": "采购合同已定价数量",
  14900. "type": "number"
  14901. },
  14902. "cycletime": {
  14903. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14904. "type": "string"
  14905. },
  14906. "cycletype": {
  14907. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14908. "type": "integer"
  14909. },
  14910. "diffexposure": {
  14911. "description": "变动量(套保敞口)",
  14912. "type": "number"
  14913. },
  14914. "difffutuqty": {
  14915. "description": "变动量(期货)",
  14916. "type": "number"
  14917. },
  14918. "diffhedgeqty": {
  14919. "description": "变动量(现货应套保总量)",
  14920. "type": "number"
  14921. },
  14922. "diffmgqtya": {
  14923. "description": "套保变动量",
  14924. "type": "number"
  14925. },
  14926. "diffmgqtyb": {
  14927. "description": "套利变动量",
  14928. "type": "number"
  14929. },
  14930. "diffqty": {
  14931. "description": "变动量(总敞口)",
  14932. "type": "number"
  14933. },
  14934. "diffspotqty": {
  14935. "description": "变动量(现货)",
  14936. "type": "number"
  14937. },
  14938. "enddate": {
  14939. "description": "结束交易日",
  14940. "type": "string"
  14941. },
  14942. "enumdicname": {
  14943. "description": "单位名称",
  14944. "type": "string"
  14945. },
  14946. "hedgeqty": {
  14947. "description": "套保量",
  14948. "type": "number"
  14949. },
  14950. "mgneedhedgeratio": {
  14951. "description": "套保比例(套保品的)",
  14952. "type": "number"
  14953. },
  14954. "middlegoodsid": {
  14955. "description": "套保品种ID",
  14956. "type": "integer"
  14957. },
  14958. "middlegoodsname": {
  14959. "description": "套保商品名称",
  14960. "type": "string"
  14961. },
  14962. "middlgoodscode": {
  14963. "description": "套保商品代码",
  14964. "type": "string"
  14965. },
  14966. "needarbitrageqty": {
  14967. "description": "应套利量",
  14968. "type": "number"
  14969. },
  14970. "needarbitrageratio": {
  14971. "description": "套利比例(套保品的)",
  14972. "type": "number"
  14973. },
  14974. "needhedgeexposoure": {
  14975. "description": "应套保敞口(套保敞口)",
  14976. "type": "number"
  14977. },
  14978. "needhedgeqty": {
  14979. "description": "应套保量",
  14980. "type": "number"
  14981. },
  14982. "needhedgeratio": {
  14983. "description": "应套保敞口比例",
  14984. "type": "number"
  14985. },
  14986. "oriarbitrageqty": {
  14987. "description": "期初套利量",
  14988. "type": "number"
  14989. },
  14990. "oribuyfutureqty": {
  14991. "description": "期初买入期货数量",
  14992. "type": "number"
  14993. },
  14994. "oribuyplanqty": {
  14995. "description": "期初采购计划数量",
  14996. "type": "number"
  14997. },
  14998. "oribuypricedqty": {
  14999. "description": "期初采购合同已定价数量",
  15000. "type": "number"
  15001. },
  15002. "orihedgeqty": {
  15003. "description": "期初套保量",
  15004. "type": "number"
  15005. },
  15006. "orineedarbitrageqty": {
  15007. "description": "期初应套利量",
  15008. "type": "number"
  15009. },
  15010. "orineedhedgeexposoure": {
  15011. "description": "期初应套保敞口",
  15012. "type": "number"
  15013. },
  15014. "orineedhedgeqty": {
  15015. "description": "期初应套保量",
  15016. "type": "number"
  15017. },
  15018. "orisellfutureqty": {
  15019. "description": "期初卖出期货数量",
  15020. "type": "number"
  15021. },
  15022. "orisellplanqty": {
  15023. "description": "期初销售计划数量",
  15024. "type": "number"
  15025. },
  15026. "orisellpricedqty": {
  15027. "description": "期初销售合同已定价数量",
  15028. "type": "number"
  15029. },
  15030. "oritotalexposure": {
  15031. "description": "期初实时总敞口",
  15032. "type": "number"
  15033. },
  15034. "oritotalfutureqty": {
  15035. "description": "期初期货头寸总量",
  15036. "type": "number"
  15037. },
  15038. "oritotalneedhedgeqty": {
  15039. "description": "期初应套保总量",
  15040. "type": "number"
  15041. },
  15042. "oritotalspotqty": {
  15043. "description": "期初现货头寸总量",
  15044. "type": "number"
  15045. },
  15046. "reckondate": {
  15047. "description": "日照时期(yyyyMMdd)",
  15048. "type": "string"
  15049. },
  15050. "sellfutureqty": {
  15051. "description": "卖出期货数量",
  15052. "type": "number"
  15053. },
  15054. "sellplanqty": {
  15055. "description": "销售计划数量",
  15056. "type": "number"
  15057. },
  15058. "sellpricedqty": {
  15059. "description": "销售合同已定价数量",
  15060. "type": "number"
  15061. },
  15062. "totalexposure": {
  15063. "description": "实时总敞口(总敞口)",
  15064. "type": "number"
  15065. },
  15066. "totalfutureqty": {
  15067. "description": "期货头寸总量(期货总量)",
  15068. "type": "number"
  15069. },
  15070. "totalhedgeratio": {
  15071. "description": "敞口比例",
  15072. "type": "number"
  15073. },
  15074. "totalneedhedgeqty": {
  15075. "description": "应套保总量(现货应套保总量)",
  15076. "type": "number"
  15077. },
  15078. "totalspotqty": {
  15079. "description": "现货头寸总量",
  15080. "type": "number"
  15081. },
  15082. "unitid": {
  15083. "description": "单位id",
  15084. "type": "integer"
  15085. },
  15086. "updatetime": {
  15087. "description": "更新时间",
  15088. "type": "string"
  15089. }
  15090. }
  15091. },
  15092. "models.Ermcp3FinanceReport": {
  15093. "type": "object",
  15094. "properties": {
  15095. "accountname": {
  15096. "description": "机构名称",
  15097. "type": "string"
  15098. },
  15099. "areauserid": {
  15100. "description": "所属机构\\交易用户ID",
  15101. "type": "integer"
  15102. },
  15103. "begindate": {
  15104. "description": "开始交易日",
  15105. "type": "string"
  15106. },
  15107. "biztype": {
  15108. "description": "业务类型 - 1:套保 2:套利",
  15109. "type": "integer"
  15110. },
  15111. "brandname": {
  15112. "description": "品牌名称",
  15113. "type": "string"
  15114. },
  15115. "buypreinvoicedamount": {
  15116. "description": "采购预收票额(预收票额)",
  15117. "type": "number"
  15118. },
  15119. "buyprepaidamount": {
  15120. "description": "采购预付款额(预付货款额)",
  15121. "type": "number"
  15122. },
  15123. "buytodayinvoiceamount": {
  15124. "description": "采购今收票额(今收票额)",
  15125. "type": "number"
  15126. },
  15127. "buytodayrefundamount": {
  15128. "description": "采购今收退款额(今收退款额)",
  15129. "type": "number"
  15130. },
  15131. "buytodaysettleamount": {
  15132. "description": "采购今付款额(今付货款额)",
  15133. "type": "number"
  15134. },
  15135. "buyuninvoicedamount": {
  15136. "description": "采购应收票额(应收票额)",
  15137. "type": "number"
  15138. },
  15139. "buyunpaidamount": {
  15140. "description": "采购应付款额(应付货款额)",
  15141. "type": "number"
  15142. },
  15143. "currencyid": {
  15144. "description": "结算币种ID",
  15145. "type": "integer"
  15146. },
  15147. "currencyname": {
  15148. "description": "币种名称",
  15149. "type": "string"
  15150. },
  15151. "cycletime": {
  15152. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15153. "type": "string"
  15154. },
  15155. "cycletype": {
  15156. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15157. "type": "integer"
  15158. },
  15159. "deliverygoodscode": {
  15160. "description": "现货品种代码",
  15161. "type": "string"
  15162. },
  15163. "deliverygoodsid": {
  15164. "description": "现货品种ID",
  15165. "type": "integer"
  15166. },
  15167. "deliverygoodsname": {
  15168. "description": "现货品种名称",
  15169. "type": "string"
  15170. },
  15171. "enddate": {
  15172. "description": "结束交易日",
  15173. "type": "string"
  15174. },
  15175. "reckondate": {
  15176. "description": "日照时期(yyyyMMdd)",
  15177. "type": "string"
  15178. },
  15179. "sellpreinvoicedamount": {
  15180. "description": "销售预开票额(预开票额)",
  15181. "type": "number"
  15182. },
  15183. "sellprepaidamount": {
  15184. "description": "销售预收款额(预收货款额)",
  15185. "type": "number"
  15186. },
  15187. "selltodayinvoiceamount": {
  15188. "description": "销售今开票额(今开票额)",
  15189. "type": "number"
  15190. },
  15191. "selltodayrefundamount": {
  15192. "description": "销售今付退款额(今付退款额)",
  15193. "type": "number"
  15194. },
  15195. "selltodaysettleamount": {
  15196. "description": "销售今收款额(今收货款额)",
  15197. "type": "number"
  15198. },
  15199. "selluninvoicedamount": {
  15200. "description": "销售应开票额(应开票额)",
  15201. "type": "number"
  15202. },
  15203. "sellunpaidamount": {
  15204. "description": "销售应收款额(应收货款额)",
  15205. "type": "number"
  15206. },
  15207. "spotgoodsbrandid": {
  15208. "description": "现货品牌ID",
  15209. "type": "integer"
  15210. },
  15211. "todaypaysum": {
  15212. "description": "今付款合计",
  15213. "type": "number"
  15214. },
  15215. "todayreceivesum": {
  15216. "description": "今收款合计",
  15217. "type": "number"
  15218. },
  15219. "updatetime": {
  15220. "description": "更新时间",
  15221. "type": "string"
  15222. },
  15223. "wrfactortypeid": {
  15224. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15225. "type": "integer"
  15226. },
  15227. "wrstandardcode": {
  15228. "description": "品类代码",
  15229. "type": "string"
  15230. },
  15231. "wrstandardid": {
  15232. "description": "现货商品ID",
  15233. "type": "integer"
  15234. },
  15235. "wrstandardname": {
  15236. "description": "品类名称",
  15237. "type": "string"
  15238. }
  15239. }
  15240. },
  15241. "models.Ermcp3Goods": {
  15242. "type": "object",
  15243. "properties": {
  15244. "agreeunit": {
  15245. "description": "合约单位(合约乘数)",
  15246. "type": "number"
  15247. },
  15248. "enumdicname": {
  15249. "description": "单位名称",
  15250. "type": "string"
  15251. },
  15252. "exexchangecode": {
  15253. "description": "交易所代码",
  15254. "type": "string"
  15255. },
  15256. "goodscode": {
  15257. "description": "期货商品代码",
  15258. "type": "string"
  15259. },
  15260. "goodsid": {
  15261. "description": "期货商品id",
  15262. "type": "integer"
  15263. },
  15264. "goodsname": {
  15265. "description": "期货商品名称",
  15266. "type": "string"
  15267. }
  15268. }
  15269. },
  15270. "models.Ermcp3GoodsGroup": {
  15271. "type": "object",
  15272. "required": [
  15273. "areauserid"
  15274. ],
  15275. "properties": {
  15276. "agreeunit": {
  15277. "description": "合约单位",
  15278. "type": "number"
  15279. },
  15280. "areauserid": {
  15281. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15282. "type": "integer"
  15283. },
  15284. "canshort": {
  15285. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15286. "type": "integer"
  15287. },
  15288. "closepricemode": {
  15289. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15290. "type": "integer"
  15291. },
  15292. "createtime": {
  15293. "description": "创建时间",
  15294. "type": "string"
  15295. },
  15296. "creatorid": {
  15297. "description": "创建人",
  15298. "type": "integer"
  15299. },
  15300. "currencyid": {
  15301. "description": "报价货币ID",
  15302. "type": "integer"
  15303. },
  15304. "decimalplace": {
  15305. "description": "报价小数位",
  15306. "type": "integer"
  15307. },
  15308. "enumdicname": {
  15309. "description": "单位名称",
  15310. "type": "string"
  15311. },
  15312. "exchangefullname": {
  15313. "description": "交易所全称",
  15314. "type": "string"
  15315. },
  15316. "excludecfg": {
  15317. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15318. "type": "integer"
  15319. },
  15320. "exexchangecode": {
  15321. "description": "交易所代码",
  15322. "type": "string"
  15323. },
  15324. "exexchangeid": {
  15325. "description": "外部交易所ID[通道交易]",
  15326. "type": "integer"
  15327. },
  15328. "exexchangename": {
  15329. "description": "交易所名称",
  15330. "type": "string"
  15331. },
  15332. "goodsgroupid": {
  15333. "description": "商品组ID(自增ID)",
  15334. "type": "integer"
  15335. },
  15336. "goodsgroupname": {
  15337. "description": "商品组名称",
  15338. "type": "string"
  15339. },
  15340. "goodsgroupstatus": {
  15341. "description": "商品组状态 - 1:正常 2:注销",
  15342. "type": "integer"
  15343. },
  15344. "goodunitid": {
  15345. "description": "报价单位ID",
  15346. "type": "integer"
  15347. },
  15348. "groupcategroyid": {
  15349. "description": "品种分类ID",
  15350. "type": "integer"
  15351. },
  15352. "innerdealmode": {
  15353. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15354. "type": "integer"
  15355. },
  15356. "marketid": {
  15357. "description": "所属市场ID",
  15358. "type": "integer"
  15359. },
  15360. "modifierid": {
  15361. "description": "修改人",
  15362. "type": "integer"
  15363. },
  15364. "modifytime": {
  15365. "description": "修改时间",
  15366. "type": "string"
  15367. },
  15368. "outerdealmode": {
  15369. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15370. "type": "integer"
  15371. },
  15372. "outergroupcode": {
  15373. "description": "外部商品组代码[通道交易]",
  15374. "type": "string"
  15375. },
  15376. "quoteminunit": {
  15377. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15378. "type": "integer"
  15379. },
  15380. "quotesourcegroupid": {
  15381. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15382. "type": "integer"
  15383. },
  15384. "syncgoodsqty": {
  15385. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15386. "type": "integer"
  15387. }
  15388. }
  15389. },
  15390. "models.Ermcp3GoodsGroupEx": {
  15391. "type": "object",
  15392. "properties": {
  15393. "convertratio": {
  15394. "description": "折算系数(品种系数)",
  15395. "type": "number"
  15396. },
  15397. "enumdicname": {
  15398. "description": "单位名称",
  15399. "type": "string"
  15400. },
  15401. "exexchangecode": {
  15402. "description": "交易所代码",
  15403. "type": "string"
  15404. },
  15405. "glist": {
  15406. "description": "合约列表",
  15407. "type": "array",
  15408. "items": {
  15409. "$ref": "#/definitions/models.Ermcp3Goods"
  15410. }
  15411. },
  15412. "goodsgroupid": {
  15413. "description": "商品组id",
  15414. "type": "integer"
  15415. },
  15416. "goodsgroupname": {
  15417. "description": "商品组名称",
  15418. "type": "string"
  15419. },
  15420. "goodsunitid": {
  15421. "description": "单位id",
  15422. "type": "integer"
  15423. },
  15424. "middlegoodsid": {
  15425. "description": "套保商品id",
  15426. "type": "integer"
  15427. }
  15428. }
  15429. },
  15430. "models.Ermcp3HedgePlan": {
  15431. "type": "object",
  15432. "properties": {
  15433. "accountid": {
  15434. "description": "资金账号",
  15435. "type": "integer"
  15436. },
  15437. "areauserid": {
  15438. "description": "用户ID",
  15439. "type": "integer"
  15440. },
  15441. "audittime": {
  15442. "description": "审核时间",
  15443. "type": "string"
  15444. },
  15445. "contracttype": {
  15446. "description": "计划类型 - 1:采购 -1:销售",
  15447. "type": "integer"
  15448. },
  15449. "convertfactor": {
  15450. "description": "标仓系数",
  15451. "type": "number"
  15452. },
  15453. "createtime": {
  15454. "description": "创建时间",
  15455. "type": "string"
  15456. },
  15457. "currencyid": {
  15458. "description": "币种id",
  15459. "type": "integer"
  15460. },
  15461. "currencyname": {
  15462. "description": "币种名称",
  15463. "type": "string"
  15464. },
  15465. "deliverygoodscode": {
  15466. "description": "现货品种代码",
  15467. "type": "string"
  15468. },
  15469. "deliverygoodsid": {
  15470. "description": "现货品种ID",
  15471. "type": "integer"
  15472. },
  15473. "deliverygoodsname": {
  15474. "description": "现货品种名称",
  15475. "type": "string"
  15476. },
  15477. "enumdicname": {
  15478. "description": "单位名称(现货商品)",
  15479. "type": "string"
  15480. },
  15481. "hedgeplanid": {
  15482. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15483. "type": "string"
  15484. },
  15485. "hedgeplanno": {
  15486. "description": "套保计划编号(名称)",
  15487. "type": "string"
  15488. },
  15489. "hedgeplanstatus": {
  15490. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15491. "type": "integer"
  15492. },
  15493. "planqty": {
  15494. "description": "计划数量",
  15495. "type": "number"
  15496. },
  15497. "plantime": {
  15498. "description": "计划时间",
  15499. "type": "string"
  15500. },
  15501. "producttype": {
  15502. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15503. "type": "integer"
  15504. },
  15505. "remark": {
  15506. "description": "备注",
  15507. "type": "string"
  15508. },
  15509. "spotgoodsdesc": {
  15510. "description": "商品型号",
  15511. "type": "string"
  15512. },
  15513. "taaccountname": {
  15514. "description": "资金账号名称",
  15515. "type": "string"
  15516. },
  15517. "tradeuserid": {
  15518. "description": "交易用户id",
  15519. "type": "integer"
  15520. },
  15521. "tradeusername": {
  15522. "description": "交易用户名称",
  15523. "type": "string"
  15524. },
  15525. "unitid": {
  15526. "description": "单位id(现货商品)",
  15527. "type": "integer"
  15528. },
  15529. "updatetime": {
  15530. "description": "更新时间",
  15531. "type": "string"
  15532. },
  15533. "wrstandardcode": {
  15534. "description": "品类代码",
  15535. "type": "string"
  15536. },
  15537. "wrstandardid": {
  15538. "description": "品类id",
  15539. "type": "integer"
  15540. },
  15541. "wrstandardname": {
  15542. "description": "品类名称",
  15543. "type": "string"
  15544. },
  15545. "wrunitid": {
  15546. "description": "品类单位id",
  15547. "type": "integer"
  15548. },
  15549. "wrunitidame": {
  15550. "description": "品类单位名称",
  15551. "type": "string"
  15552. }
  15553. }
  15554. },
  15555. "models.Ermcp3MiddleGoodsDetail2": {
  15556. "type": "object",
  15557. "properties": {
  15558. "convertratio": {
  15559. "description": "套保系数(折算系数)",
  15560. "type": "number"
  15561. },
  15562. "gplist": {
  15563. "description": "关联商品组列表",
  15564. "type": "array",
  15565. "items": {
  15566. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15567. }
  15568. },
  15569. "mg": {
  15570. "description": "套保商品信息",
  15571. "type": "object",
  15572. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15573. }
  15574. }
  15575. },
  15576. "models.Ermcp3MiddleGoodsDetailEx": {
  15577. "type": "object",
  15578. "properties": {
  15579. "dglist": {
  15580. "description": "关联的现货品种列表",
  15581. "type": "array",
  15582. "items": {
  15583. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15584. }
  15585. },
  15586. "gplist": {
  15587. "description": "关联商品组列表",
  15588. "type": "array",
  15589. "items": {
  15590. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15591. }
  15592. },
  15593. "mg": {
  15594. "description": "套保商品信息",
  15595. "type": "object",
  15596. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15597. }
  15598. }
  15599. },
  15600. "models.Ermcp3RootUserAccount": {
  15601. "type": "object",
  15602. "properties": {
  15603. "accountname": {
  15604. "description": "账户名称(机构名称)",
  15605. "type": "string"
  15606. },
  15607. "accountstatus": {
  15608. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15609. "type": "integer"
  15610. },
  15611. "applysrc": {
  15612. "description": "申请来源 - 1:管理端 2:终端",
  15613. "type": "integer"
  15614. },
  15615. "auditremark": {
  15616. "description": "审核备注",
  15617. "type": "string"
  15618. },
  15619. "auditsrc": {
  15620. "description": "审核来源 - 1:管理端 2:终端",
  15621. "type": "integer"
  15622. },
  15623. "audittime": {
  15624. "description": "审核时间",
  15625. "type": "string"
  15626. },
  15627. "audituserid": {
  15628. "description": "审核人",
  15629. "type": "integer"
  15630. },
  15631. "broker": {
  15632. "description": "所属经纪人ID",
  15633. "type": "integer"
  15634. },
  15635. "canceltime": {
  15636. "description": "销户时间",
  15637. "type": "string"
  15638. },
  15639. "canceluserid": {
  15640. "description": "销户人",
  15641. "type": "integer"
  15642. },
  15643. "canrecommend": {
  15644. "description": "是否可推荐 - 0:不可 1;可",
  15645. "type": "integer"
  15646. },
  15647. "createtime": {
  15648. "description": "创建时间",
  15649. "type": "string"
  15650. },
  15651. "creatorid": {
  15652. "description": "创建人",
  15653. "type": "integer"
  15654. },
  15655. "hasauth": {
  15656. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15657. "type": "integer"
  15658. },
  15659. "isanonymous": {
  15660. "description": "是否匿名下单 - 0:否 1:是",
  15661. "type": "integer"
  15662. },
  15663. "maxinvestornum": {
  15664. "description": "最大用户数(经纪会员下投资者个数)",
  15665. "type": "integer"
  15666. },
  15667. "memberuserid": {
  15668. "description": "所属会员ID",
  15669. "type": "integer"
  15670. },
  15671. "modifierid": {
  15672. "description": "修改人",
  15673. "type": "integer"
  15674. },
  15675. "modifyremark": {
  15676. "description": "变更备注",
  15677. "type": "string"
  15678. },
  15679. "modifystatus": {
  15680. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15681. "type": "integer"
  15682. },
  15683. "modifytime": {
  15684. "description": "修改时间",
  15685. "type": "string"
  15686. },
  15687. "parenttopuser": {
  15688. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  15689. "type": "string"
  15690. },
  15691. "parentuserid": {
  15692. "description": "所属机构ID",
  15693. "type": "integer"
  15694. },
  15695. "reckonaccountid": {
  15696. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15697. "type": "integer"
  15698. },
  15699. "refercount": {
  15700. "description": "推荐总人数",
  15701. "type": "integer"
  15702. },
  15703. "refereeuserid": {
  15704. "description": "推荐人ID",
  15705. "type": "integer"
  15706. },
  15707. "refernum": {
  15708. "description": "推荐码",
  15709. "type": "string"
  15710. },
  15711. "rootuserid": {
  15712. "description": "根用户ID",
  15713. "type": "integer"
  15714. },
  15715. "subaccountlevel": {
  15716. "description": "子账户层数",
  15717. "type": "integer"
  15718. },
  15719. "subarealevelpath": {
  15720. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15721. "type": "string"
  15722. },
  15723. "userid": {
  15724. "description": "用户ID",
  15725. "type": "integer"
  15726. },
  15727. "usertype": {
  15728. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15729. "type": "integer"
  15730. }
  15731. }
  15732. },
  15733. "models.Ermcp3SellBuyContract": {
  15734. "type": "object",
  15735. "properties": {
  15736. "accountid": {
  15737. "description": "期货账户id",
  15738. "type": "string"
  15739. },
  15740. "accountname": {
  15741. "description": "账户名称",
  15742. "type": "string"
  15743. },
  15744. "attachment": {
  15745. "description": "附件",
  15746. "type": "string"
  15747. },
  15748. "audittime": {
  15749. "description": "审核时间",
  15750. "type": "string"
  15751. },
  15752. "biztype": {
  15753. "description": "业务类型 1-套保 2-套利",
  15754. "type": "integer"
  15755. },
  15756. "brandname": {
  15757. "description": "品牌名称",
  15758. "type": "string"
  15759. },
  15760. "contracctstatus": {
  15761. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15762. "type": "integer"
  15763. },
  15764. "contractmargin": {
  15765. "description": "合同保证金",
  15766. "type": "number"
  15767. },
  15768. "contractno": {
  15769. "description": "合同编号",
  15770. "type": "string"
  15771. },
  15772. "contracttype": {
  15773. "description": "合同类型 1-采购, -1-销售",
  15774. "type": "integer"
  15775. },
  15776. "convertfactor": {
  15777. "description": "标仓系数(品类)",
  15778. "type": "number"
  15779. },
  15780. "createtime": {
  15781. "description": "创建时间",
  15782. "type": "string"
  15783. },
  15784. "currencyid": {
  15785. "description": "币种id",
  15786. "type": "integer"
  15787. },
  15788. "currencyname": {
  15789. "description": "币种名称",
  15790. "type": "string"
  15791. },
  15792. "daikaiamount": {
  15793. "description": "应收(开)票额",
  15794. "type": "number"
  15795. },
  15796. "deliveryenddate": {
  15797. "description": "交割结束日",
  15798. "type": "string"
  15799. },
  15800. "deliverygoodscode": {
  15801. "description": "现货品种代码",
  15802. "type": "string"
  15803. },
  15804. "deliverygoodsid": {
  15805. "description": "现货商品ID",
  15806. "type": "integer"
  15807. },
  15808. "deliverygoodsname": {
  15809. "description": "现货品种名称",
  15810. "type": "string"
  15811. },
  15812. "deliverystartdate": {
  15813. "description": "交割开始日",
  15814. "type": "string"
  15815. },
  15816. "enddate": {
  15817. "description": "点价结束日",
  15818. "type": "string"
  15819. },
  15820. "enumdicname": {
  15821. "description": "单位名称",
  15822. "type": "string"
  15823. },
  15824. "goodscode": {
  15825. "description": "点价商品代码",
  15826. "type": "string"
  15827. },
  15828. "goodsid": {
  15829. "description": "点价商品ID",
  15830. "type": "integer"
  15831. },
  15832. "goodsname": {
  15833. "description": "点价商品名称",
  15834. "type": "string"
  15835. },
  15836. "invoiceamount": {
  15837. "description": "已开票额",
  15838. "type": "number"
  15839. },
  15840. "loanamount": {
  15841. "description": "贷款总额=已定价额+调整金额",
  15842. "type": "number"
  15843. },
  15844. "margin": {
  15845. "description": "保证金",
  15846. "type": "number"
  15847. },
  15848. "meruserid": {
  15849. "description": "跟单员id",
  15850. "type": "integer"
  15851. },
  15852. "meruserlogincode": {
  15853. "description": "跟单员登录代码",
  15854. "type": "string"
  15855. },
  15856. "nickname": {
  15857. "description": "账户昵称",
  15858. "type": "string"
  15859. },
  15860. "payamount": {
  15861. "description": "已收付额(收款或付款)",
  15862. "type": "number"
  15863. },
  15864. "preinvoiceamount": {
  15865. "description": "预收(开)票额",
  15866. "type": "number"
  15867. },
  15868. "prepayamount": {
  15869. "description": "预收付额",
  15870. "type": "number"
  15871. },
  15872. "price": {
  15873. "description": "价格",
  15874. "type": "number"
  15875. },
  15876. "pricedamount": {
  15877. "description": "已定价额",
  15878. "type": "number"
  15879. },
  15880. "pricedavg": {
  15881. "description": "已点均价",
  15882. "type": "number"
  15883. },
  15884. "pricedqty": {
  15885. "description": "已定价量",
  15886. "type": "number"
  15887. },
  15888. "pricemove": {
  15889. "description": "升贴水",
  15890. "type": "number"
  15891. },
  15892. "pricetype": {
  15893. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15894. "type": "integer"
  15895. },
  15896. "producttype": {
  15897. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15898. "type": "integer"
  15899. },
  15900. "qty": {
  15901. "description": "合同量",
  15902. "type": "number"
  15903. },
  15904. "reckonadjustamount": {
  15905. "description": "调整金额",
  15906. "type": "number"
  15907. },
  15908. "reckonedamount": {
  15909. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15910. "type": "number"
  15911. },
  15912. "reckonotheramount": {
  15913. "description": "其它费用",
  15914. "type": "number"
  15915. },
  15916. "reckonrealqty": {
  15917. "description": "已确定量",
  15918. "type": "number"
  15919. },
  15920. "remark": {
  15921. "description": "备注",
  15922. "type": "string"
  15923. },
  15924. "saleuserid": {
  15925. "description": "业务员id",
  15926. "type": "integer"
  15927. },
  15928. "saleuserlogincode": {
  15929. "description": "业务员登录代码",
  15930. "type": "string"
  15931. },
  15932. "spotcontractid": {
  15933. "description": "合同ID",
  15934. "type": "string"
  15935. },
  15936. "spotgoodsbrandid": {
  15937. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15938. "type": "integer"
  15939. },
  15940. "spotgoodsdesc": {
  15941. "description": "商品型号(商品规格)",
  15942. "type": "string"
  15943. },
  15944. "startdate": {
  15945. "description": "点价开始日",
  15946. "type": "string"
  15947. },
  15948. "totalamount": {
  15949. "description": "合计总额",
  15950. "type": "number"
  15951. },
  15952. "tradeuserid": {
  15953. "description": "交易员id",
  15954. "type": "integer"
  15955. },
  15956. "tradeuserlogincode": {
  15957. "description": "交易员登录代码",
  15958. "type": "string"
  15959. },
  15960. "tradeusername": {
  15961. "description": "交易员名称",
  15962. "type": "string"
  15963. },
  15964. "unpayamount": {
  15965. "description": "应收付款额(应支付或应收款)",
  15966. "type": "number"
  15967. },
  15968. "unpricedqty": {
  15969. "description": "未定价量",
  15970. "type": "number"
  15971. },
  15972. "unsureqty": {
  15973. "description": "未确定量",
  15974. "type": "number"
  15975. },
  15976. "userid": {
  15977. "description": "机构ID",
  15978. "type": "integer"
  15979. },
  15980. "wrstandardcode": {
  15981. "description": "品类代码",
  15982. "type": "string"
  15983. },
  15984. "wrstandardid": {
  15985. "description": "品类ID",
  15986. "type": "integer"
  15987. },
  15988. "wrstandardname": {
  15989. "description": "品类名称",
  15990. "type": "string"
  15991. }
  15992. }
  15993. },
  15994. "models.Ermcp3SpotGoodsPrice": {
  15995. "type": "object",
  15996. "properties": {
  15997. "areauserid": {
  15998. "description": "所属机构id",
  15999. "type": "integer"
  16000. },
  16001. "brandname": {
  16002. "description": "品牌名称",
  16003. "type": "string"
  16004. },
  16005. "currencyid": {
  16006. "description": "报价货币ID",
  16007. "type": "integer"
  16008. },
  16009. "currencyname": {
  16010. "description": "币种名称",
  16011. "type": "string"
  16012. },
  16013. "deliverygoodscode": {
  16014. "description": "现货商品代码",
  16015. "type": "string"
  16016. },
  16017. "deliverygoodsid": {
  16018. "description": "现货商品id",
  16019. "type": "integer"
  16020. },
  16021. "deliverygoodsname": {
  16022. "description": "现货商品名称",
  16023. "type": "string"
  16024. },
  16025. "enumdicname": {
  16026. "description": "现货商品单位名称",
  16027. "type": "string"
  16028. },
  16029. "gbenumdicname": {
  16030. "description": "品类单位名称",
  16031. "type": "string"
  16032. },
  16033. "gmunitid": {
  16034. "description": "品类单位id",
  16035. "type": "integer"
  16036. },
  16037. "isvalid": {
  16038. "description": "是否有效 - 0:无效 1:有效",
  16039. "type": "integer"
  16040. },
  16041. "operateid": {
  16042. "description": "最后操作人",
  16043. "type": "integer"
  16044. },
  16045. "operatesrc": {
  16046. "description": "最后操作来源 - 1:管理端 2:终端",
  16047. "type": "integer"
  16048. },
  16049. "operatetime": {
  16050. "description": "最后操作时间",
  16051. "type": "string"
  16052. },
  16053. "operatorname": {
  16054. "description": "操作人名称",
  16055. "type": "string"
  16056. },
  16057. "spotgoodsbrandid": {
  16058. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16059. "type": "integer"
  16060. },
  16061. "spotgoodsprice": {
  16062. "description": "现货价格",
  16063. "type": "number"
  16064. },
  16065. "tradedate": {
  16066. "description": "交易日(yyyyMMdd)",
  16067. "type": "string"
  16068. },
  16069. "unitid": {
  16070. "description": "现货商品单位id",
  16071. "type": "integer"
  16072. },
  16073. "wrstandardcode": {
  16074. "description": "品类代码",
  16075. "type": "string"
  16076. },
  16077. "wrstandardid": {
  16078. "description": "现货品类ID(通用则为0)",
  16079. "type": "integer"
  16080. },
  16081. "wrstandardname": {
  16082. "description": "品类名称",
  16083. "type": "string"
  16084. }
  16085. }
  16086. },
  16087. "models.Ermcp3SpotGoodsPriceLog": {
  16088. "type": "object",
  16089. "properties": {
  16090. "areauserid": {
  16091. "description": "所属机构id",
  16092. "type": "integer"
  16093. },
  16094. "brandname": {
  16095. "description": "品牌名称",
  16096. "type": "string"
  16097. },
  16098. "currencyid": {
  16099. "description": "报价货币ID",
  16100. "type": "integer"
  16101. },
  16102. "deliverygoodscode": {
  16103. "description": "现货商品代码",
  16104. "type": "string"
  16105. },
  16106. "deliverygoodsid": {
  16107. "description": "现货商品id",
  16108. "type": "integer"
  16109. },
  16110. "deliverygoodsname": {
  16111. "description": "现货商品名称",
  16112. "type": "string"
  16113. },
  16114. "enumdicname": {
  16115. "description": "现货商品单位名称",
  16116. "type": "string"
  16117. },
  16118. "gbenumdicname": {
  16119. "description": "品类单位名称",
  16120. "type": "string"
  16121. },
  16122. "gmunitid": {
  16123. "description": "品类单位id",
  16124. "type": "integer"
  16125. },
  16126. "logid": {
  16127. "description": "日志id",
  16128. "type": "integer"
  16129. },
  16130. "operateid": {
  16131. "description": "最后操作人",
  16132. "type": "integer"
  16133. },
  16134. "operatesrc": {
  16135. "description": "最后操作来源 - 1:管理端 2:终端",
  16136. "type": "integer"
  16137. },
  16138. "operatetime": {
  16139. "description": "最后操作时间",
  16140. "type": "string"
  16141. },
  16142. "operatorname": {
  16143. "description": "操作人名称",
  16144. "type": "string"
  16145. },
  16146. "spotgoodsbrandid": {
  16147. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16148. "type": "integer"
  16149. },
  16150. "spotgoodsprice": {
  16151. "description": "现货价格",
  16152. "type": "number"
  16153. },
  16154. "tradedate": {
  16155. "description": "交易日(yyyyMMdd)",
  16156. "type": "string"
  16157. },
  16158. "unitid": {
  16159. "description": "现货商品单位id",
  16160. "type": "integer"
  16161. },
  16162. "wrstandardcode": {
  16163. "description": "品类代码",
  16164. "type": "string"
  16165. },
  16166. "wrstandardid": {
  16167. "description": "现货品类ID(通用则为0)",
  16168. "type": "integer"
  16169. },
  16170. "wrstandardname": {
  16171. "description": "品类名称",
  16172. "type": "string"
  16173. }
  16174. }
  16175. },
  16176. "models.Ermcp3TaFutuReDataReport": {
  16177. "type": "object",
  16178. "properties": {
  16179. "accountid": {
  16180. "description": "交易账户",
  16181. "type": "integer"
  16182. },
  16183. "accountname": {
  16184. "description": "交易账号名称",
  16185. "type": "string"
  16186. },
  16187. "begindate": {
  16188. "description": "开始交易日",
  16189. "type": "string"
  16190. },
  16191. "buyorsell": {
  16192. "description": "持仓方向",
  16193. "type": "integer"
  16194. },
  16195. "charge": {
  16196. "description": "手续费",
  16197. "type": "number"
  16198. },
  16199. "closepl": {
  16200. "description": "平仓损益",
  16201. "type": "number"
  16202. },
  16203. "currencyid": {
  16204. "description": "结算币种ID",
  16205. "type": "integer"
  16206. },
  16207. "cycletime": {
  16208. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16209. "type": "string"
  16210. },
  16211. "cycletype": {
  16212. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16213. "type": "integer"
  16214. },
  16215. "enddate": {
  16216. "description": "结束交易日",
  16217. "type": "string"
  16218. },
  16219. "enumdicname": {
  16220. "description": "单位名称(现货商品)",
  16221. "type": "string"
  16222. },
  16223. "floatpl": {
  16224. "description": "浮动损益",
  16225. "type": "number"
  16226. },
  16227. "goodscode": {
  16228. "description": "交易合约代码",
  16229. "type": "string"
  16230. },
  16231. "goodsgroupid": {
  16232. "description": "交易品种",
  16233. "type": "integer"
  16234. },
  16235. "goodsgroupname": {
  16236. "description": "交易品种名称",
  16237. "type": "string"
  16238. },
  16239. "goodsgroupspotqty": {
  16240. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16241. "type": "number"
  16242. },
  16243. "goodsid": {
  16244. "description": "交易合约",
  16245. "type": "integer"
  16246. },
  16247. "goodsname": {
  16248. "description": "交易合约名称",
  16249. "type": "string"
  16250. },
  16251. "goodunitid": {
  16252. "description": "交易合约单位id",
  16253. "type": "integer"
  16254. },
  16255. "holdamount": {
  16256. "description": "期末持仓额",
  16257. "type": "number"
  16258. },
  16259. "holdqty": {
  16260. "description": "期末持仓量",
  16261. "type": "number"
  16262. },
  16263. "lastholdamount": {
  16264. "description": "当前持仓额",
  16265. "type": "number"
  16266. },
  16267. "lastprice": {
  16268. "description": "最新价",
  16269. "type": "number"
  16270. },
  16271. "middlegoodsqty": {
  16272. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16273. "type": "number"
  16274. },
  16275. "openamount": {
  16276. "description": "期末开仓额",
  16277. "type": "number"
  16278. },
  16279. "oriholdamount": {
  16280. "description": "期初持仓额",
  16281. "type": "number"
  16282. },
  16283. "oriholdqty": {
  16284. "description": "期初持仓量",
  16285. "type": "number"
  16286. },
  16287. "oriopenamount": {
  16288. "description": "期初开仓额",
  16289. "type": "number"
  16290. },
  16291. "outergroupcode": {
  16292. "description": "交易品种代码",
  16293. "type": "string"
  16294. },
  16295. "reckondate": {
  16296. "description": "日照时期(yyyyMMdd)",
  16297. "type": "string"
  16298. },
  16299. "reckonholdamount": {
  16300. "description": "结算持仓额",
  16301. "type": "number"
  16302. },
  16303. "reckonpl": {
  16304. "description": "结算损益",
  16305. "type": "number"
  16306. },
  16307. "reckonpl2": {
  16308. "description": "结算逐笔盈亏",
  16309. "type": "number"
  16310. },
  16311. "reckonprice": {
  16312. "description": "结算价",
  16313. "type": "number"
  16314. },
  16315. "relateduserid": {
  16316. "description": "账户关联用户ID",
  16317. "type": "integer"
  16318. },
  16319. "todaycloseamount": {
  16320. "description": "今平仓额",
  16321. "type": "number"
  16322. },
  16323. "todaycloseqty": {
  16324. "description": "今平仓量",
  16325. "type": "number"
  16326. },
  16327. "todaygoodsgroupspotqty": {
  16328. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16329. "type": "number"
  16330. },
  16331. "todaymiddlegoodsqty": {
  16332. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16333. "type": "number"
  16334. },
  16335. "todayopenamount": {
  16336. "description": "今开仓额",
  16337. "type": "number"
  16338. },
  16339. "todayopenqty": {
  16340. "description": "今开仓量",
  16341. "type": "number"
  16342. },
  16343. "userid": {
  16344. "description": "账户所属用户ID",
  16345. "type": "integer"
  16346. }
  16347. }
  16348. },
  16349. "models.Ermcp3Wrstandard": {
  16350. "type": "object",
  16351. "properties": {
  16352. "areauserid": {
  16353. "description": "所属机构",
  16354. "type": "integer"
  16355. },
  16356. "convertfactor": {
  16357. "description": "标仓系数",
  16358. "type": "number"
  16359. },
  16360. "createtime": {
  16361. "description": "创建时间",
  16362. "type": "string"
  16363. },
  16364. "creatorid": {
  16365. "description": "创建人",
  16366. "type": "integer"
  16367. },
  16368. "deliverygoodsid": {
  16369. "description": "现货品种ID",
  16370. "type": "integer"
  16371. },
  16372. "enumdicname": {
  16373. "description": "品类单位名称",
  16374. "type": "string"
  16375. },
  16376. "isvalid": {
  16377. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16378. "type": "integer"
  16379. },
  16380. "minivalue": {
  16381. "description": "最小变动值",
  16382. "type": "integer"
  16383. },
  16384. "minivaluedp": {
  16385. "description": "最小变动值小数位",
  16386. "type": "integer"
  16387. },
  16388. "realminivalue": {
  16389. "description": "实际最小变动值",
  16390. "type": "integer"
  16391. },
  16392. "realminivaluedp": {
  16393. "description": "实际最小变动值小数位",
  16394. "type": "integer"
  16395. },
  16396. "remark": {
  16397. "description": "备注",
  16398. "type": "string"
  16399. },
  16400. "unitid": {
  16401. "description": "品类单位ID",
  16402. "type": "integer"
  16403. },
  16404. "updatetime": {
  16405. "description": "更新时间",
  16406. "type": "string"
  16407. },
  16408. "wrstandardcode": {
  16409. "description": "品类代码",
  16410. "type": "string"
  16411. },
  16412. "wrstandardid": {
  16413. "description": "品类ID(SEQ_WRSTANDARD)",
  16414. "type": "integer"
  16415. },
  16416. "wrstandardname": {
  16417. "description": "品类名称",
  16418. "type": "string"
  16419. }
  16420. }
  16421. },
  16422. "models.ErmcpAreaSpotDetailModel": {
  16423. "type": "object",
  16424. "properties": {
  16425. "contracttype": {
  16426. "description": "合同类型 1-采购 -1-销售",
  16427. "type": "integer"
  16428. },
  16429. "createtime": {
  16430. "description": "创建时间",
  16431. "type": "string"
  16432. },
  16433. "enumdicname": {
  16434. "description": "现货商品单位名称",
  16435. "type": "string"
  16436. },
  16437. "logtype": {
  16438. "description": "记录类型 1-套保 2-现货合同",
  16439. "type": "integer"
  16440. },
  16441. "qty": {
  16442. "description": "数量",
  16443. "type": "number"
  16444. },
  16445. "recordname": {
  16446. "description": "类型名称",
  16447. "type": "string"
  16448. },
  16449. "relatedid": {
  16450. "description": "套保计划ID/现货合同ID",
  16451. "type": "string"
  16452. },
  16453. "relatedno": {
  16454. "description": "编号",
  16455. "type": "string"
  16456. },
  16457. "strtime": {
  16458. "description": "时间",
  16459. "type": "string"
  16460. },
  16461. "wrstandardcode": {
  16462. "description": "现货商品代码",
  16463. "type": "string"
  16464. },
  16465. "wrstandardname": {
  16466. "description": "现货商品名称",
  16467. "type": "string"
  16468. }
  16469. }
  16470. },
  16471. "models.ErmcpAvalidGoodsGroupModel": {
  16472. "type": "object",
  16473. "properties": {
  16474. "goodsgroupid": {
  16475. "description": "期货品种id",
  16476. "type": "integer"
  16477. },
  16478. "goodsgroupname": {
  16479. "description": "期货品种名称",
  16480. "type": "string"
  16481. },
  16482. "goodunitid": {
  16483. "description": "品种单位id",
  16484. "type": "integer"
  16485. },
  16486. "goodunitname": {
  16487. "description": "品种单位名称",
  16488. "type": "string"
  16489. },
  16490. "outergroupcode": {
  16491. "description": "期货品种代码",
  16492. "type": "string"
  16493. }
  16494. }
  16495. },
  16496. "models.ErmcpBizGroupEx": {
  16497. "type": "object",
  16498. "properties": {
  16499. "acclist": {
  16500. "description": "账号列表",
  16501. "type": "array",
  16502. "items": {
  16503. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16504. }
  16505. },
  16506. "bizgroupid": {
  16507. "description": "业务分组id",
  16508. "type": "integer"
  16509. },
  16510. "biztype": {
  16511. "description": "业务类型 1-套保 2-套利",
  16512. "type": "integer"
  16513. },
  16514. "wrlist": {
  16515. "description": "现货商品表",
  16516. "type": "array",
  16517. "items": {
  16518. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16519. }
  16520. }
  16521. }
  16522. },
  16523. "models.ErmcpBizGroupSpotGoods": {
  16524. "type": "object",
  16525. "properties": {
  16526. "areauserid": {
  16527. "description": "所属机构id",
  16528. "type": "integer"
  16529. },
  16530. "bizgroupid": {
  16531. "description": "分组id",
  16532. "type": "integer"
  16533. },
  16534. "biztype": {
  16535. "description": "业务类型 1-套保 2-套利",
  16536. "type": "integer"
  16537. },
  16538. "deliverygoodscode": {
  16539. "description": "现货商品代码",
  16540. "type": "string"
  16541. },
  16542. "deliverygoodsid": {
  16543. "description": "现货商品id",
  16544. "type": "integer"
  16545. },
  16546. "deliverygoodsname": {
  16547. "description": "现货商品名称",
  16548. "type": "string"
  16549. },
  16550. "unitid": {
  16551. "description": "现货商品单位id",
  16552. "type": "integer"
  16553. }
  16554. }
  16555. },
  16556. "models.ErmcpBizGroupTaAccount": {
  16557. "type": "object",
  16558. "properties": {
  16559. "accountid": {
  16560. "description": "账号id",
  16561. "type": "integer"
  16562. },
  16563. "accountname": {
  16564. "description": "账号名称",
  16565. "type": "string"
  16566. },
  16567. "areauserid": {
  16568. "description": "所属机构id",
  16569. "type": "integer"
  16570. },
  16571. "bizgroupid": {
  16572. "description": "业务分组id",
  16573. "type": "integer"
  16574. },
  16575. "ismain": {
  16576. "description": "是否主账号 1-是 0-否",
  16577. "type": "integer"
  16578. }
  16579. }
  16580. },
  16581. "models.ErmcpDGFactoryItem": {
  16582. "type": "object",
  16583. "properties": {
  16584. "areauserid": {
  16585. "description": "用户id",
  16586. "type": "integer"
  16587. },
  16588. "deliverygoodsid": {
  16589. "description": "现货品种ID",
  16590. "type": "integer"
  16591. },
  16592. "dgfactoryitemid": {
  16593. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16594. "type": "integer"
  16595. },
  16596. "dgfactoryitemtypeid": {
  16597. "description": "要素项类型",
  16598. "type": "integer"
  16599. },
  16600. "dgfactoryitemvalue": {
  16601. "description": "要素项值(类型为仓库时填写仓库名称)",
  16602. "type": "string"
  16603. },
  16604. "isvalid": {
  16605. "description": "是否有效 - 0:无效 1:有效",
  16606. "type": "integer"
  16607. },
  16608. "orderindex": {
  16609. "description": "顺序",
  16610. "type": "integer"
  16611. },
  16612. "warehouseid": {
  16613. "description": "仓库ID(类型为仓库时填写)",
  16614. "type": "integer"
  16615. }
  16616. }
  16617. },
  16618. "models.ErmcpDeliveryGoods": {
  16619. "type": "object",
  16620. "properties": {
  16621. "agreeunit": {
  16622. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16623. "type": "integer"
  16624. },
  16625. "areauserid": {
  16626. "description": "所属机构",
  16627. "type": "integer"
  16628. },
  16629. "auditflag": {
  16630. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16631. "type": "integer"
  16632. },
  16633. "categoryid": {
  16634. "description": "类别ID(SEQ_WRCATEGORY)",
  16635. "type": "integer"
  16636. },
  16637. "deliverygoodscode": {
  16638. "description": "现货品种代码",
  16639. "type": "string"
  16640. },
  16641. "deliverygoodsid": {
  16642. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16643. "type": "integer"
  16644. },
  16645. "deliverygoodsname": {
  16646. "description": "现货品种名称",
  16647. "type": "string"
  16648. },
  16649. "deliverygoodstype": {
  16650. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16651. "type": "integer"
  16652. },
  16653. "dgstatus": {
  16654. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16655. "type": "integer"
  16656. },
  16657. "enumdicname": {
  16658. "description": "现货品种单位名称",
  16659. "type": "string"
  16660. },
  16661. "goodsunitid": {
  16662. "description": "现货品种单位ID",
  16663. "type": "integer"
  16664. },
  16665. "isvalid": {
  16666. "description": "是否有效 - 0:无效 1:有效",
  16667. "type": "integer"
  16668. },
  16669. "qtydecimalplace": {
  16670. "description": "成交量小数位",
  16671. "type": "integer"
  16672. },
  16673. "remark": {
  16674. "description": "备注",
  16675. "type": "string"
  16676. },
  16677. "standardqty": {
  16678. "description": "标准数量(库位数量) [标准品特有]",
  16679. "type": "integer"
  16680. },
  16681. "standardqtyrange": {
  16682. "description": "标准数量偏差范围 [标准品特有]",
  16683. "type": "integer"
  16684. }
  16685. }
  16686. },
  16687. "models.ErmcpDeliveryGoodsDetail2": {
  16688. "type": "object",
  16689. "properties": {
  16690. "convertratio": {
  16691. "description": "套保系数(折算系数)",
  16692. "type": "number"
  16693. },
  16694. "data": {
  16695. "description": "现货商品基本信息(交割品种)",
  16696. "type": "object",
  16697. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16698. },
  16699. "gblist": {
  16700. "description": "品牌列表",
  16701. "type": "array",
  16702. "items": {
  16703. "$ref": "#/definitions/models.Ermcp3Brand"
  16704. }
  16705. },
  16706. "gmlist": {
  16707. "description": "品类列表(仓单标准)",
  16708. "type": "array",
  16709. "items": {
  16710. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16711. }
  16712. }
  16713. }
  16714. },
  16715. "models.ErmcpDeliveryGoodsDetailEx": {
  16716. "type": "object",
  16717. "properties": {
  16718. "data": {
  16719. "description": "现货商品基本信息(交割品种)",
  16720. "type": "object",
  16721. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16722. },
  16723. "gblist": {
  16724. "description": "品牌列表",
  16725. "type": "array",
  16726. "items": {
  16727. "$ref": "#/definitions/models.Ermcp3Brand"
  16728. }
  16729. },
  16730. "gmlist": {
  16731. "description": "品类列表(仓单标准)",
  16732. "type": "array",
  16733. "items": {
  16734. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16735. }
  16736. },
  16737. "mgList": {
  16738. "description": "套保列表",
  16739. "type": "array",
  16740. "items": {
  16741. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16742. }
  16743. }
  16744. }
  16745. },
  16746. "models.ErmcpExposureDetailModel": {
  16747. "type": "object",
  16748. "properties": {
  16749. "areauserid": {
  16750. "description": "机构ID",
  16751. "type": "integer"
  16752. },
  16753. "changeQty": {
  16754. "description": "套保变动量",
  16755. "type": "number"
  16756. },
  16757. "contracttype": {
  16758. "description": "现货合同类型 - 1:采购 -1:销售",
  16759. "type": "integer"
  16760. },
  16761. "convertfactor": {
  16762. "description": "标仓系数",
  16763. "type": "number"
  16764. },
  16765. "convertratio": {
  16766. "description": "套保系数",
  16767. "type": "number"
  16768. },
  16769. "createtime": {
  16770. "description": "时间",
  16771. "type": "string"
  16772. },
  16773. "enumdicname": {
  16774. "description": "现货商品单位名称",
  16775. "type": "string"
  16776. },
  16777. "logtype": {
  16778. "description": "类型 - 1:套保计划 2:现货合同",
  16779. "type": "integer"
  16780. },
  16781. "middlegoodsId": {
  16782. "description": "套保商品id",
  16783. "type": "integer"
  16784. },
  16785. "middlegoodscode": {
  16786. "description": "套保商品代码",
  16787. "type": "string"
  16788. },
  16789. "middlegoodsname": {
  16790. "description": "套保商品名称",
  16791. "type": "string"
  16792. },
  16793. "qty": {
  16794. "description": "数量",
  16795. "type": "number"
  16796. },
  16797. "relateNo": {
  16798. "description": "现货合同/套保计划编号",
  16799. "type": "string"
  16800. },
  16801. "wrstandardcode": {
  16802. "description": "现货商品代码",
  16803. "type": "string"
  16804. },
  16805. "wrstandardid": {
  16806. "description": "现货商品ID",
  16807. "type": "integer"
  16808. },
  16809. "wrstandardname": {
  16810. "description": "现货商品名称",
  16811. "type": "string"
  16812. }
  16813. }
  16814. },
  16815. "models.ErmcpExposurePostion": {
  16816. "type": "object",
  16817. "properties": {
  16818. "agreeunit": {
  16819. "description": "合约单位",
  16820. "type": "string"
  16821. },
  16822. "areauserid": {
  16823. "description": "所属机构id",
  16824. "type": "integer"
  16825. },
  16826. "convertratio": {
  16827. "description": "期货品种系数(折算系数)",
  16828. "type": "number"
  16829. },
  16830. "curqty": {
  16831. "description": "当前持仓",
  16832. "type": "integer"
  16833. },
  16834. "diffhedgeqty": {
  16835. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16836. "type": "number"
  16837. },
  16838. "diffqty": {
  16839. "description": "持仓变动量=当前持仓-昨日持仓",
  16840. "type": "integer"
  16841. },
  16842. "goodscode": {
  16843. "description": "商品代码",
  16844. "type": "string"
  16845. },
  16846. "goodsid": {
  16847. "description": "商品id",
  16848. "type": "integer"
  16849. },
  16850. "goodsname": {
  16851. "description": "商品名称",
  16852. "type": "string"
  16853. },
  16854. "middlegoodsid": {
  16855. "description": "套保商品id",
  16856. "type": "integer"
  16857. },
  16858. "ydqty": {
  16859. "description": "昨日持仓",
  16860. "type": "integer"
  16861. }
  16862. }
  16863. },
  16864. "models.ErmcpFuturesCompany": {
  16865. "type": "object",
  16866. "properties": {
  16867. "brokerid": {
  16868. "description": "经纪公司代码",
  16869. "type": "string"
  16870. },
  16871. "channeladdress": {
  16872. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16873. "type": "string"
  16874. },
  16875. "channelid": {
  16876. "description": "对冲渠道ID",
  16877. "type": "string"
  16878. },
  16879. "createtime": {
  16880. "description": "创建时间",
  16881. "type": "string"
  16882. },
  16883. "creatorid": {
  16884. "description": "创建人",
  16885. "type": "string"
  16886. },
  16887. "fcid": {
  16888. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16889. "type": "integer"
  16890. },
  16891. "fcname": {
  16892. "description": "期货公司名称",
  16893. "type": "string"
  16894. },
  16895. "isvalid": {
  16896. "description": "是否有效 - 0:无效 1:有效",
  16897. "type": "integer"
  16898. },
  16899. "mhpaddress": {
  16900. "description": "MHP服务地址(IP:Port)",
  16901. "type": "string"
  16902. },
  16903. "riskrulegroupid": {
  16904. "description": "风控规则组ID",
  16905. "type": "string"
  16906. },
  16907. "tradefeetmpid": {
  16908. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16909. "type": "string"
  16910. },
  16911. "trademargintmpid": {
  16912. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16913. "type": "string"
  16914. },
  16915. "traderatetmpid": {
  16916. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16917. "type": "string"
  16918. },
  16919. "updatetime": {
  16920. "description": "更新时间",
  16921. "type": "string"
  16922. },
  16923. "updatorid": {
  16924. "description": "更新人",
  16925. "type": "string"
  16926. }
  16927. }
  16928. },
  16929. "models.ErmcpGGConvertCfg": {
  16930. "type": "object",
  16931. "properties": {
  16932. "convertratio": {
  16933. "description": "折算系数",
  16934. "type": "number"
  16935. },
  16936. "destgoodsgroupid": {
  16937. "description": "目标品种ID",
  16938. "type": "integer"
  16939. },
  16940. "dstcode": {
  16941. "description": "目录品种代码",
  16942. "type": "string"
  16943. },
  16944. "dstexchangecode": {
  16945. "description": "目标期货交易所",
  16946. "type": "string"
  16947. },
  16948. "dstname": {
  16949. "description": "目标品种名称",
  16950. "type": "string"
  16951. },
  16952. "dstunitid": {
  16953. "description": "目标品种单位ID",
  16954. "type": "integer"
  16955. },
  16956. "dstunitidname": {
  16957. "description": "目标品种单位名称",
  16958. "type": "string"
  16959. },
  16960. "modifytime": {
  16961. "description": "修改时间",
  16962. "type": "string"
  16963. },
  16964. "srccode": {
  16965. "description": "源品种代码",
  16966. "type": "string"
  16967. },
  16968. "srcexchangecode": {
  16969. "description": "源期货交易所",
  16970. "type": "string"
  16971. },
  16972. "srcgoodsgroupid": {
  16973. "description": "源品种ID",
  16974. "type": "integer"
  16975. },
  16976. "srcname": {
  16977. "description": "源品种名称",
  16978. "type": "string"
  16979. },
  16980. "srcunitid": {
  16981. "description": "源品种单位ID",
  16982. "type": "integer"
  16983. },
  16984. "srcunitidname": {
  16985. "description": "源品种单位名称",
  16986. "type": "string"
  16987. }
  16988. }
  16989. },
  16990. "models.ErmcpGoods": {
  16991. "type": "object",
  16992. "required": [
  16993. "goodscode",
  16994. "goodsid",
  16995. "goodsname",
  16996. "marketid"
  16997. ],
  16998. "properties": {
  16999. "agreeunit": {
  17000. "description": "合约单位",
  17001. "type": "number"
  17002. },
  17003. "areauserid": {
  17004. "description": "所属机构",
  17005. "type": "integer"
  17006. },
  17007. "auditaccountid": {
  17008. "description": "审核操作员账号",
  17009. "type": "integer"
  17010. },
  17011. "audittime": {
  17012. "description": "审核时间",
  17013. "type": "string"
  17014. },
  17015. "cancelaccountid": {
  17016. "description": "注销操作员账号",
  17017. "type": "integer"
  17018. },
  17019. "canceltime": {
  17020. "description": "注销时间",
  17021. "type": "string"
  17022. },
  17023. "closepricemode": {
  17024. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17025. "type": "integer"
  17026. },
  17027. "closepriceparam": {
  17028. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17029. "type": "number"
  17030. },
  17031. "createtime": {
  17032. "description": "创建时间",
  17033. "type": "string"
  17034. },
  17035. "creatorid": {
  17036. "description": "创建人",
  17037. "type": "integer"
  17038. },
  17039. "currencyid": {
  17040. "description": "报价货币ID",
  17041. "type": "integer"
  17042. },
  17043. "cutmode": {
  17044. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17045. "type": "integer"
  17046. },
  17047. "decimalplace": {
  17048. "description": "报价小数位",
  17049. "type": "integer"
  17050. },
  17051. "delistingdate": {
  17052. "description": "商品退市时间(状态:退市) -- 已作废",
  17053. "type": "string"
  17054. },
  17055. "delistingmode": {
  17056. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17057. "type": "integer"
  17058. },
  17059. "deliveryflag": {
  17060. "description": "交割标志 - 0:不可交割 1:可交割",
  17061. "type": "integer"
  17062. },
  17063. "forceclosemode": {
  17064. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17065. "type": "integer"
  17066. },
  17067. "forceclosevalue": {
  17068. "description": "定期强平参数 [收益权]",
  17069. "type": "integer"
  17070. },
  17071. "goodscode": {
  17072. "description": "商品代码(内部)",
  17073. "type": "string"
  17074. },
  17075. "goodscurrencyid": {
  17076. "description": "合约货币ID",
  17077. "type": "integer"
  17078. },
  17079. "goodsgroupid": {
  17080. "description": "所属商品组ID",
  17081. "type": "integer"
  17082. },
  17083. "goodsid": {
  17084. "description": "商品ID(自增ID SEQ_GOODS)",
  17085. "type": "integer"
  17086. },
  17087. "goodsname": {
  17088. "description": "商品名称",
  17089. "type": "string"
  17090. },
  17091. "goodsquotetype": {
  17092. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17093. "type": "integer"
  17094. },
  17095. "goodsstatus": {
  17096. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17097. "type": "integer"
  17098. },
  17099. "goodstradetype": {
  17100. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17101. "type": "integer"
  17102. },
  17103. "goodunitid": {
  17104. "description": "报价单位ID",
  17105. "type": "integer"
  17106. },
  17107. "hasquoter": {
  17108. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17109. "type": "integer"
  17110. },
  17111. "hqprotecttime": {
  17112. "description": "行情保护时间(秒)",
  17113. "type": "integer"
  17114. },
  17115. "innerdealmode": {
  17116. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17117. "type": "integer"
  17118. },
  17119. "isbuylimited": {
  17120. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17121. "type": "integer"
  17122. },
  17123. "isvisible": {
  17124. "description": "游客是否可见 - 0:不可见 1:可见",
  17125. "type": "integer"
  17126. },
  17127. "lasttradedate": {
  17128. "description": "最后交易日期(状态:待退市)",
  17129. "type": "string"
  17130. },
  17131. "listingdate": {
  17132. "description": "交易开始日期",
  17133. "type": "string"
  17134. },
  17135. "marketid": {
  17136. "description": "所属市场ID",
  17137. "type": "integer"
  17138. },
  17139. "modifierid": {
  17140. "description": "修改人",
  17141. "type": "integer"
  17142. },
  17143. "modifystatus": {
  17144. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17145. "type": "integer"
  17146. },
  17147. "modifytime": {
  17148. "description": "修改时间",
  17149. "type": "string"
  17150. },
  17151. "outerdealmode": {
  17152. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17153. "type": "integer"
  17154. },
  17155. "outgoodscode": {
  17156. "description": "商品代码(外部)",
  17157. "type": "string"
  17158. },
  17159. "pictureurl": {
  17160. "description": "商品图片",
  17161. "type": "string"
  17162. },
  17163. "qtydecimalplace": {
  17164. "description": "成交量小数位",
  17165. "type": "integer"
  17166. },
  17167. "quotegear": {
  17168. "description": "行情档位(1-10)",
  17169. "type": "integer"
  17170. },
  17171. "quoteminunit": {
  17172. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17173. "type": "integer"
  17174. },
  17175. "quoteshowtype": {
  17176. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17177. "type": "integer"
  17178. },
  17179. "quoteshowtypeinterval": {
  17180. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17181. "type": "integer"
  17182. },
  17183. "relatedgoodsid": {
  17184. "description": "关联参考商品ID",
  17185. "type": "integer"
  17186. },
  17187. "remark": {
  17188. "description": "备注",
  17189. "type": "string"
  17190. },
  17191. "trademode": {
  17192. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17193. "type": "integer"
  17194. }
  17195. }
  17196. },
  17197. "models.ErmcpGoodsBrand": {
  17198. "type": "object",
  17199. "properties": {
  17200. "areauserid": {
  17201. "description": "所属机构",
  17202. "type": "integer"
  17203. },
  17204. "brandid": {
  17205. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17206. "type": "integer"
  17207. },
  17208. "brandname": {
  17209. "description": "品牌名称",
  17210. "type": "string"
  17211. },
  17212. "createtime": {
  17213. "description": "创建时间",
  17214. "type": "string"
  17215. },
  17216. "creatorid": {
  17217. "description": "创建人",
  17218. "type": "integer"
  17219. },
  17220. "creatorsrc": {
  17221. "description": "创建人来源 - 1:管理端 2:终端",
  17222. "type": "integer"
  17223. },
  17224. "deliverygoodsid": {
  17225. "description": "现货品种ID",
  17226. "type": "integer"
  17227. },
  17228. "isvalid": {
  17229. "description": "是否有效 - 0:无效 1:有效",
  17230. "type": "integer"
  17231. },
  17232. "updatetime": {
  17233. "description": "更新时间",
  17234. "type": "string"
  17235. },
  17236. "updatorid": {
  17237. "description": "更新人",
  17238. "type": "integer"
  17239. },
  17240. "updatorsrc": {
  17241. "description": "更新人来源 - 1:管理端 2:终端",
  17242. "type": "integer"
  17243. },
  17244. "wrstandardid": {
  17245. "description": "现货商品ID",
  17246. "type": "integer"
  17247. }
  17248. }
  17249. },
  17250. "models.ErmcpGoodsModel": {
  17251. "type": "object",
  17252. "properties": {
  17253. "areauserid": {
  17254. "description": "所属机构",
  17255. "type": "integer"
  17256. },
  17257. "convertfactor": {
  17258. "description": "标仓系数",
  17259. "type": "number"
  17260. },
  17261. "createtime": {
  17262. "description": "创建时间",
  17263. "type": "string"
  17264. },
  17265. "creatorid": {
  17266. "description": "创建人",
  17267. "type": "integer"
  17268. },
  17269. "creatorsrc": {
  17270. "description": "创建人来源 - 1:管理端 2:终端",
  17271. "type": "integer"
  17272. },
  17273. "deliverygoodsid": {
  17274. "description": "现货品种ID",
  17275. "type": "integer"
  17276. },
  17277. "isvalid": {
  17278. "description": "是否有效 - 0:无效 1:有效",
  17279. "type": "integer"
  17280. },
  17281. "modelid": {
  17282. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17283. "type": "integer"
  17284. },
  17285. "modelname": {
  17286. "description": "型号名称",
  17287. "type": "string"
  17288. },
  17289. "updatetime": {
  17290. "description": "更新时间",
  17291. "type": "string"
  17292. },
  17293. "updatorid": {
  17294. "description": "更新人",
  17295. "type": "integer"
  17296. },
  17297. "updatorsrc": {
  17298. "description": "更新人来源 - 1:管理端 2:终端",
  17299. "type": "integer"
  17300. },
  17301. "wrstandardid": {
  17302. "description": "现货商品ID",
  17303. "type": "integer"
  17304. }
  17305. }
  17306. },
  17307. "models.ErmcpHedgePosition": {
  17308. "type": "object",
  17309. "properties": {
  17310. "accountid": {
  17311. "description": "资金账号[外部母账户]",
  17312. "type": "integer"
  17313. },
  17314. "curbuyposition": {
  17315. "description": "期末买头寸",
  17316. "type": "integer"
  17317. },
  17318. "cursellposition": {
  17319. "description": "期末卖头寸",
  17320. "type": "integer"
  17321. },
  17322. "curtdbuyposition": {
  17323. "description": "期末今日买头寸",
  17324. "type": "integer"
  17325. },
  17326. "curtdsellposition": {
  17327. "description": "期末今日卖头寸",
  17328. "type": "integer"
  17329. },
  17330. "curydbuyposition": {
  17331. "description": "期末上日买头寸",
  17332. "type": "integer"
  17333. },
  17334. "curydsellposition": {
  17335. "description": "期末上日卖头寸",
  17336. "type": "integer"
  17337. },
  17338. "decreaseqty": {
  17339. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17340. "type": "integer"
  17341. },
  17342. "fretdbuyposition": {
  17343. "description": "冻结今日买头寸",
  17344. "type": "integer"
  17345. },
  17346. "fretdsellposition": {
  17347. "description": "冻结今日卖头寸",
  17348. "type": "integer"
  17349. },
  17350. "freydbuyposition": {
  17351. "description": "冻结上日买头寸",
  17352. "type": "integer"
  17353. },
  17354. "freydsellposition": {
  17355. "description": "冻结上日卖头寸",
  17356. "type": "integer"
  17357. },
  17358. "goodscode": {
  17359. "description": "商品代码",
  17360. "type": "string"
  17361. },
  17362. "goodsid": {
  17363. "description": "商品id",
  17364. "type": "integer"
  17365. },
  17366. "goodsname": {
  17367. "description": "商品名称",
  17368. "type": "string"
  17369. },
  17370. "hedgeaccountcode": {
  17371. "description": "对冲账号",
  17372. "type": "string"
  17373. },
  17374. "hedgegoodsid": {
  17375. "description": "对冲合约ID",
  17376. "type": "integer"
  17377. },
  17378. "increaseqty": {
  17379. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17380. "type": "integer"
  17381. },
  17382. "marketid": {
  17383. "description": "市场ID",
  17384. "type": "integer"
  17385. },
  17386. "relateduserid": {
  17387. "description": "关联用户id",
  17388. "type": "integer"
  17389. },
  17390. "totalcurqty": {
  17391. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17392. "type": "integer"
  17393. },
  17394. "totalydqty": {
  17395. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17396. "type": "integer"
  17397. },
  17398. "tradedate": {
  17399. "description": "交易日(yyyyMMdd)",
  17400. "type": "string"
  17401. },
  17402. "ydbuyposition": {
  17403. "description": "期初买头寸",
  17404. "type": "integer"
  17405. },
  17406. "ydsellposition": {
  17407. "description": "期初卖头寸",
  17408. "type": "integer"
  17409. }
  17410. }
  17411. },
  17412. "models.ErmcpHedgePositionDetail": {
  17413. "type": "object",
  17414. "properties": {
  17415. "buyorsell": {
  17416. "description": "买卖方向 0-买 1-卖",
  17417. "type": "integer"
  17418. },
  17419. "channelbuildtype": {
  17420. "description": "开平方向 1-建仓 2-平仓",
  17421. "type": "integer"
  17422. },
  17423. "goodscode": {
  17424. "description": "商品代码",
  17425. "type": "string"
  17426. },
  17427. "goodsname": {
  17428. "description": "商品名称",
  17429. "type": "string"
  17430. },
  17431. "hedgegoodsid": {
  17432. "description": "商品id",
  17433. "type": "integer"
  17434. },
  17435. "tradeqty": {
  17436. "description": "数量(成交数量)",
  17437. "type": "integer"
  17438. },
  17439. "tradetime": {
  17440. "description": "时间(成交时间)",
  17441. "type": "string"
  17442. }
  17443. }
  17444. },
  17445. "models.ErmcpHisExposure": {
  17446. "type": "object",
  17447. "properties": {
  17448. "needhedgeexposoure": {
  17449. "description": "应套保敞口",
  17450. "type": "number"
  17451. },
  17452. "reckondate": {
  17453. "description": "日照时期(yyyyMMdd)",
  17454. "type": "string"
  17455. },
  17456. "totalexposure": {
  17457. "description": "总敞口",
  17458. "type": "number"
  17459. }
  17460. }
  17461. },
  17462. "models.ErmcpHisExposureS": {
  17463. "type": "object",
  17464. "properties": {
  17465. "data": {
  17466. "description": "历史敞口",
  17467. "type": "array",
  17468. "items": {
  17469. "$ref": "#/definitions/models.ErmcpHisExposure"
  17470. }
  17471. },
  17472. "enumdicname": {
  17473. "description": "单位名称",
  17474. "type": "string"
  17475. },
  17476. "middlegoodscode": {
  17477. "description": "套保品种代码",
  17478. "type": "string"
  17479. },
  17480. "middlegoodsid": {
  17481. "description": "套保品种ID",
  17482. "type": "integer"
  17483. },
  17484. "middlegoodsname": {
  17485. "description": "套保品种名称",
  17486. "type": "string"
  17487. }
  17488. }
  17489. },
  17490. "models.ErmcpLoginTaAccount": {
  17491. "type": "object",
  17492. "properties": {
  17493. "accountid": {
  17494. "description": "账号id",
  17495. "type": "integer"
  17496. },
  17497. "accountname": {
  17498. "description": "账号名称",
  17499. "type": "string"
  17500. }
  17501. }
  17502. },
  17503. "models.ErmcpLoginUser": {
  17504. "type": "object",
  17505. "properties": {
  17506. "acclist": {
  17507. "description": "关联资金账号",
  17508. "type": "array",
  17509. "items": {
  17510. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17511. }
  17512. },
  17513. "accountname": {
  17514. "description": "用户名称",
  17515. "type": "string"
  17516. },
  17517. "clientroleid": {
  17518. "description": "角色id(usertype=2)",
  17519. "type": "integer"
  17520. },
  17521. "createtime": {
  17522. "description": "创建时间",
  17523. "type": "string"
  17524. },
  17525. "logincode": {
  17526. "description": "登录代码",
  17527. "type": "string"
  17528. },
  17529. "loginid": {
  17530. "description": "登录id(LOGINID)",
  17531. "type": "integer"
  17532. },
  17533. "loginname": {
  17534. "description": "登录名称(loginaccount表中的accountname字段)",
  17535. "type": "string"
  17536. },
  17537. "loginstatus": {
  17538. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17539. "type": "integer"
  17540. },
  17541. "memberuserid": {
  17542. "description": "所属会员id",
  17543. "type": "integer"
  17544. },
  17545. "mobile": {
  17546. "description": "手机号",
  17547. "type": "string"
  17548. },
  17549. "modifytime": {
  17550. "description": "修改时间",
  17551. "type": "string"
  17552. },
  17553. "password": {
  17554. "description": "密码(不可解密)",
  17555. "type": "string"
  17556. },
  17557. "rolename": {
  17558. "description": "角色名称",
  17559. "type": "string"
  17560. },
  17561. "rolestatus": {
  17562. "description": "角色状态 1-启用 2-停用",
  17563. "type": "integer"
  17564. },
  17565. "roletype": {
  17566. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17567. "type": "string"
  17568. },
  17569. "userid": {
  17570. "description": "用户id",
  17571. "type": "integer"
  17572. },
  17573. "usertype": {
  17574. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17575. "type": "integer"
  17576. }
  17577. }
  17578. },
  17579. "models.ErmcpLoginUserEx": {
  17580. "type": "object",
  17581. "properties": {
  17582. "accountstatus": {
  17583. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17584. "type": "integer"
  17585. },
  17586. "mobile": {
  17587. "description": "手机号",
  17588. "type": "string"
  17589. },
  17590. "querytype": {
  17591. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17592. "type": "integer"
  17593. },
  17594. "roleid": {
  17595. "description": "角色id(交易账户-\u003e用户id)",
  17596. "type": "integer"
  17597. },
  17598. "rolename": {
  17599. "description": "角色名称(交易账户-\u003e用户名称)",
  17600. "type": "string"
  17601. },
  17602. "userlist": {
  17603. "description": "用户列表",
  17604. "type": "array",
  17605. "items": {
  17606. "$ref": "#/definitions/models.ErmcpLoginUser"
  17607. }
  17608. },
  17609. "usertype": {
  17610. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17611. "type": "integer"
  17612. }
  17613. }
  17614. },
  17615. "models.ErmcpMiddleGoodsChangeLog": {
  17616. "type": "object",
  17617. "properties": {
  17618. "aftervalue": {
  17619. "description": "变更后",
  17620. "type": "number"
  17621. },
  17622. "applyid": {
  17623. "description": "操作人",
  17624. "type": "integer"
  17625. },
  17626. "applyname": {
  17627. "description": "操作人名称",
  17628. "type": "string"
  17629. },
  17630. "applysrc": {
  17631. "description": "操作来源 - 1:管理端 2:终端",
  17632. "type": "integer"
  17633. },
  17634. "beforevalue": {
  17635. "description": "变更前",
  17636. "type": "number"
  17637. },
  17638. "changelogtype": {
  17639. "description": "变更流水类型 - 1:套保比率变更",
  17640. "type": "integer"
  17641. },
  17642. "handlestatus": {
  17643. "description": "处理状态",
  17644. "type": "integer"
  17645. },
  17646. "logdatetime": {
  17647. "description": "流水日期",
  17648. "type": "string"
  17649. },
  17650. "logid": {
  17651. "description": "流水ID",
  17652. "type": "integer"
  17653. },
  17654. "logremark": {
  17655. "description": "流水备注",
  17656. "type": "string"
  17657. },
  17658. "middlegoodsid": {
  17659. "description": "套保品种ID",
  17660. "type": "integer"
  17661. },
  17662. "tradedate": {
  17663. "description": "交易日(yyyyMMdd)",
  17664. "type": "string"
  17665. },
  17666. "updatetime": {
  17667. "description": "更新时间",
  17668. "type": "string"
  17669. }
  17670. }
  17671. },
  17672. "models.ErmcpMiddleGoodsDetail": {
  17673. "type": "object",
  17674. "properties": {
  17675. "cvList": {
  17676. "description": "期货品种折算列表",
  17677. "type": "array",
  17678. "items": {
  17679. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17680. }
  17681. },
  17682. "mg": {
  17683. "description": "套保品种基本信息",
  17684. "type": "object",
  17685. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17686. },
  17687. "wrcList": {
  17688. "description": "现货品种列表(现货商品折算配置)",
  17689. "type": "array",
  17690. "items": {
  17691. "$ref": "#/definitions/models.WRSConverTDetail"
  17692. }
  17693. }
  17694. }
  17695. },
  17696. "models.ErmcpMiddleGoodsModel": {
  17697. "type": "object",
  17698. "properties": {
  17699. "areauserid": {
  17700. "description": "机构用户ID",
  17701. "type": "integer"
  17702. },
  17703. "createtime": {
  17704. "description": "修改时间",
  17705. "type": "string"
  17706. },
  17707. "enumdicname": {
  17708. "description": "单位名称",
  17709. "type": "string"
  17710. },
  17711. "evaluateratio": {
  17712. "description": "估价系数",
  17713. "type": "number"
  17714. },
  17715. "goodsgroupid": {
  17716. "description": "关联期货品种ID",
  17717. "type": "integer"
  17718. },
  17719. "goodsunitid": {
  17720. "description": "单位ID",
  17721. "type": "integer"
  17722. },
  17723. "isvalid": {
  17724. "description": "状态 0-无效(停用) 1-有效(正常)",
  17725. "type": "integer"
  17726. },
  17727. "middlegoodscode": {
  17728. "description": "套保品种代码",
  17729. "type": "string"
  17730. },
  17731. "middlegoodsid": {
  17732. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17733. "type": "integer"
  17734. },
  17735. "middlegoodsname": {
  17736. "description": "套保品种名称",
  17737. "type": "string"
  17738. },
  17739. "modifytime": {
  17740. "description": "修改时间",
  17741. "type": "string"
  17742. },
  17743. "needarbitrageratio": {
  17744. "description": "套利比例",
  17745. "type": "number"
  17746. },
  17747. "needhedgeratio": {
  17748. "description": "套保比率",
  17749. "type": "number"
  17750. },
  17751. "qtydecimalplace": {
  17752. "description": "数量小数位",
  17753. "type": "integer"
  17754. },
  17755. "relatedgoodsid": {
  17756. "description": "关联交易商品ID",
  17757. "type": "integer"
  17758. },
  17759. "relatedgoodstype": {
  17760. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17761. "type": "integer"
  17762. },
  17763. "remark": {
  17764. "description": "备注",
  17765. "type": "string"
  17766. }
  17767. }
  17768. },
  17769. "models.ErmcpMiddlegoodsRelateGoods": {
  17770. "type": "object",
  17771. "properties": {
  17772. "agreeunit": {
  17773. "description": "合约乘数",
  17774. "type": "number"
  17775. },
  17776. "convertratio": {
  17777. "description": "折算系数",
  17778. "type": "number"
  17779. },
  17780. "enumdicname": {
  17781. "description": "单位名称(交易商品)",
  17782. "type": "string"
  17783. },
  17784. "goodscode": {
  17785. "description": "交易商品代码",
  17786. "type": "string"
  17787. },
  17788. "goodsgroupid": {
  17789. "description": "交易品种id",
  17790. "type": "integer"
  17791. },
  17792. "goodsid": {
  17793. "description": "商品Id",
  17794. "type": "integer"
  17795. },
  17796. "goodsname": {
  17797. "description": "交易商品名称",
  17798. "type": "string"
  17799. },
  17800. "goodunitid": {
  17801. "description": "交易商品单位id",
  17802. "type": "integer"
  17803. },
  17804. "middlegoodsid": {
  17805. "description": "套保商品id",
  17806. "type": "integer"
  17807. },
  17808. "middlegoodsname": {
  17809. "description": "套保商品名称",
  17810. "type": "string"
  17811. },
  17812. "middlegoodsswcode": {
  17813. "description": "套保商品代码",
  17814. "type": "string"
  17815. },
  17816. "needarbitrageratio": {
  17817. "description": "应套利比例",
  17818. "type": "number"
  17819. },
  17820. "needhedgeratio": {
  17821. "description": "应套保比例",
  17822. "type": "number"
  17823. }
  17824. }
  17825. },
  17826. "models.ErmcpOPLogModel": {
  17827. "type": "object",
  17828. "properties": {
  17829. "aftervalue": {
  17830. "description": "变更后",
  17831. "type": "number"
  17832. },
  17833. "applyid": {
  17834. "description": "操作人ID",
  17835. "type": "string"
  17836. },
  17837. "applyname": {
  17838. "description": "操作人名称",
  17839. "type": "string"
  17840. },
  17841. "beforevalue": {
  17842. "description": "变更前",
  17843. "type": "number"
  17844. },
  17845. "biztype": {
  17846. "description": "业务类型 - 1:套保计划 2:现货合同",
  17847. "type": "integer"
  17848. },
  17849. "contracttype": {
  17850. "description": "现货合同类型 - 1:采购 -1:销售",
  17851. "type": "integer"
  17852. },
  17853. "logvalue": {
  17854. "description": "数值",
  17855. "type": "number"
  17856. },
  17857. "operatelogtype": {
  17858. "description": "操作流水类型",
  17859. "type": "integer"
  17860. },
  17861. "operatelogtypedesc": {
  17862. "description": "操作流水类型名称",
  17863. "type": "string"
  17864. },
  17865. "relatedid": {
  17866. "description": "现货合同ID\\套保计划",
  17867. "type": "string"
  17868. },
  17869. "updatetime": {
  17870. "description": "更新时间",
  17871. "type": "string"
  17872. }
  17873. }
  17874. },
  17875. "models.ErmcpPendingAudit": {
  17876. "type": "object",
  17877. "properties": {
  17878. "areastockqty": {
  17879. "description": "待审核数量: 库存申请",
  17880. "type": "integer"
  17881. },
  17882. "businessdjqty": {
  17883. "description": "待审核数量: 点价",
  17884. "type": "integer"
  17885. },
  17886. "businessfpqty": {
  17887. "description": "待审核数量: 发票",
  17888. "type": "integer"
  17889. },
  17890. "businessjsqty": {
  17891. "description": "待审核数量: 结算",
  17892. "type": "integer"
  17893. },
  17894. "businesskxqty": {
  17895. "description": "待审核数量: 款项",
  17896. "type": "integer"
  17897. },
  17898. "hedgeplanqty": {
  17899. "description": "待审核数量: 套保计划",
  17900. "type": "integer"
  17901. },
  17902. "spotcontractqty": {
  17903. "description": "待审核数量: 现货合同",
  17904. "type": "integer"
  17905. },
  17906. "userqty": {
  17907. "description": "待审核数量: 用户",
  17908. "type": "integer"
  17909. }
  17910. }
  17911. },
  17912. "models.ErmcpRealExposureModel": {
  17913. "type": "object",
  17914. "properties": {
  17915. "AreaUserID": {
  17916. "description": "所属机构",
  17917. "type": "integer"
  17918. },
  17919. "BuyFutureQty": {
  17920. "description": "买入期货数量",
  17921. "type": "number"
  17922. },
  17923. "BuyPlanQty": {
  17924. "description": "采购计划数量",
  17925. "type": "number"
  17926. },
  17927. "BuyPricedQty": {
  17928. "description": "采购合同已定价数量",
  17929. "type": "number"
  17930. },
  17931. "MiddleGoodsCode": {
  17932. "description": "套保品种代码",
  17933. "type": "string"
  17934. },
  17935. "MiddleGoodsHedgeRatio": {
  17936. "description": "套保比例",
  17937. "type": "number"
  17938. },
  17939. "MiddleGoodsID": {
  17940. "description": "套保品种",
  17941. "type": "integer"
  17942. },
  17943. "MiddleGoodsName": {
  17944. "description": "套保品种名称",
  17945. "type": "string"
  17946. },
  17947. "NeedHedgeExposoure": {
  17948. "description": "应套保敞口(套保敞口)",
  17949. "type": "number"
  17950. },
  17951. "NeedHedgeRatio": {
  17952. "description": "应套保敞口比例",
  17953. "type": "number"
  17954. },
  17955. "OriBuyFutureQty": {
  17956. "description": "期初买入期货数量",
  17957. "type": "number"
  17958. },
  17959. "OriBuyPlanQty": {
  17960. "description": "期初采购计划数量",
  17961. "type": "number"
  17962. },
  17963. "OriBuyPricedQty": {
  17964. "description": "期初采购合同已定价数量",
  17965. "type": "number"
  17966. },
  17967. "OriSellFutureQty": {
  17968. "description": "期初卖出期货数量",
  17969. "type": "number"
  17970. },
  17971. "OriSellPlanQty": {
  17972. "description": "期初销售计划数量",
  17973. "type": "number"
  17974. },
  17975. "OriSellPricedQty": {
  17976. "description": "期初销售合同已定价数量",
  17977. "type": "number"
  17978. },
  17979. "SellFutureQty": {
  17980. "description": "卖出期货数量",
  17981. "type": "number"
  17982. },
  17983. "SellPlanQty": {
  17984. "description": "销售计划数量",
  17985. "type": "number"
  17986. },
  17987. "SellPricedQty": {
  17988. "description": "销售合同已定价数量",
  17989. "type": "number"
  17990. },
  17991. "TotalExposure": {
  17992. "description": "总敞口",
  17993. "type": "number"
  17994. },
  17995. "TotalFutureQty": {
  17996. "description": "期货总量",
  17997. "type": "number"
  17998. },
  17999. "TotalHedgeRatio": {
  18000. "description": "敞口比例",
  18001. "type": "number"
  18002. },
  18003. "TotalNeedHedgeQty": {
  18004. "description": "应套保总量(现货应套保总量)",
  18005. "type": "number"
  18006. },
  18007. "TotalSpotQty": {
  18008. "description": "现货总量",
  18009. "type": "number"
  18010. },
  18011. "arbitrageqty": {
  18012. "description": "套利量",
  18013. "type": "number"
  18014. },
  18015. "diffArbitrageQty": {
  18016. "description": "套利变动量",
  18017. "type": "number"
  18018. },
  18019. "diffExposoureQty": {
  18020. "description": "变动量(套保敞口)",
  18021. "type": "number"
  18022. },
  18023. "diffFutuQty": {
  18024. "description": "变动量(期货总量)",
  18025. "type": "number"
  18026. },
  18027. "diffHedgeQty": {
  18028. "description": "套保变动量",
  18029. "type": "number"
  18030. },
  18031. "diffQty": {
  18032. "description": "变动量(总敞口)",
  18033. "type": "number"
  18034. },
  18035. "diffSpotHedgeQty": {
  18036. "description": "变动量(现货应套保总量)",
  18037. "type": "number"
  18038. },
  18039. "diffSpotQty": {
  18040. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18041. "type": "number"
  18042. },
  18043. "enumdicname": {
  18044. "description": "单位名称",
  18045. "type": "string"
  18046. },
  18047. "hedgeqty": {
  18048. "description": "套保量",
  18049. "type": "number"
  18050. },
  18051. "needarbitrageqty": {
  18052. "description": "应套利量",
  18053. "type": "number"
  18054. },
  18055. "needarbitrageratio": {
  18056. "description": "套利比例",
  18057. "type": "number"
  18058. },
  18059. "needhedgeqty": {
  18060. "description": "应套保量",
  18061. "type": "number"
  18062. },
  18063. "oriTotalFutuQty": {
  18064. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18065. "type": "number"
  18066. },
  18067. "oriTotalSpotQty": {
  18068. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18069. "type": "number"
  18070. },
  18071. "oriarbitrageqty": {
  18072. "description": "期初套利量",
  18073. "type": "number"
  18074. },
  18075. "orihedgeqty": {
  18076. "description": "期初套保量",
  18077. "type": "number"
  18078. },
  18079. "orineedhedgeexposoure": {
  18080. "description": "期初套保敞口",
  18081. "type": "number"
  18082. },
  18083. "oritotalexposure": {
  18084. "description": "期初总敞口",
  18085. "type": "number"
  18086. },
  18087. "oritotalfutureqty": {
  18088. "description": "期初期货总量",
  18089. "type": "number"
  18090. },
  18091. "oritotalneedhedgeqty": {
  18092. "description": "期初现货应套保量",
  18093. "type": "number"
  18094. }
  18095. }
  18096. },
  18097. "models.ErmcpRole": {
  18098. "type": "object",
  18099. "properties": {
  18100. "areauserid": {
  18101. "description": "所属机构",
  18102. "type": "integer"
  18103. },
  18104. "autoid": {
  18105. "description": "角色ID(自增ID)",
  18106. "type": "integer"
  18107. },
  18108. "modifierid": {
  18109. "description": "修改人(创建人)",
  18110. "type": "integer"
  18111. },
  18112. "modifiername": {
  18113. "description": "修改人名称",
  18114. "type": "string"
  18115. },
  18116. "modifytime": {
  18117. "description": "修改时间(创建时间)",
  18118. "type": "string"
  18119. },
  18120. "rolename": {
  18121. "description": "角色名称",
  18122. "type": "string"
  18123. },
  18124. "rolestatus": {
  18125. "description": "角色状态 - 1:启用 2:停用",
  18126. "type": "integer"
  18127. },
  18128. "roletype": {
  18129. "description": "角色类型 - 1- 管理端 2- 交易端",
  18130. "type": "integer"
  18131. }
  18132. }
  18133. },
  18134. "models.ErmcpRoleMenu": {
  18135. "type": "object",
  18136. "properties": {
  18137. "iconame": {
  18138. "description": "菜单图标",
  18139. "type": "string"
  18140. },
  18141. "ishadrole": {
  18142. "description": "是否有权限",
  18143. "type": "boolean"
  18144. },
  18145. "menutype": {
  18146. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18147. "type": "integer"
  18148. },
  18149. "parentcode": {
  18150. "description": "上级资源代码",
  18151. "type": "string"
  18152. },
  18153. "remark": {
  18154. "description": "菜单备注",
  18155. "type": "string"
  18156. },
  18157. "resourcecode": {
  18158. "description": "菜单代码",
  18159. "type": "string"
  18160. },
  18161. "resourcelevel": {
  18162. "description": "级别",
  18163. "type": "integer"
  18164. },
  18165. "resourcename": {
  18166. "description": "菜单名称",
  18167. "type": "string"
  18168. },
  18169. "roleid": {
  18170. "description": "角色id",
  18171. "type": "integer"
  18172. },
  18173. "sort": {
  18174. "description": "排序",
  18175. "type": "integer"
  18176. },
  18177. "url": {
  18178. "description": "URL",
  18179. "type": "string"
  18180. },
  18181. "userid": {
  18182. "description": "用户id",
  18183. "type": "integer"
  18184. }
  18185. }
  18186. },
  18187. "models.ErmcpRoleMenuEx": {
  18188. "type": "object",
  18189. "properties": {
  18190. "menu": {
  18191. "description": "父级菜单",
  18192. "type": "object",
  18193. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18194. },
  18195. "subMenu": {
  18196. "description": "子级菜单",
  18197. "type": "array",
  18198. "items": {
  18199. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18200. }
  18201. }
  18202. }
  18203. },
  18204. "models.ErmcpTaAccount": {
  18205. "type": "object",
  18206. "properties": {
  18207. "accountid": {
  18208. "description": "账户id",
  18209. "type": "integer"
  18210. },
  18211. "accountname": {
  18212. "description": "账户名称",
  18213. "type": "string"
  18214. },
  18215. "currencyid": {
  18216. "description": "币种id",
  18217. "type": "integer"
  18218. },
  18219. "hedgeaccountcode": {
  18220. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18221. "type": "string"
  18222. },
  18223. "ismain": {
  18224. "description": "是否主账户 0-否 1-是",
  18225. "type": "integer"
  18226. },
  18227. "parentaccountid": {
  18228. "description": "父账户id",
  18229. "type": "integer"
  18230. },
  18231. "relateduserid": {
  18232. "description": "关联userid",
  18233. "type": "integer"
  18234. },
  18235. "tradefeetmpid": {
  18236. "description": "手续费模板id",
  18237. "type": "integer"
  18238. },
  18239. "tradefeetmpname": {
  18240. "description": "手续费模板名称",
  18241. "type": "string"
  18242. },
  18243. "trademargintmpid": {
  18244. "description": "保证金模板id",
  18245. "type": "integer"
  18246. },
  18247. "trademargintmpname": {
  18248. "description": "保证金模板名称",
  18249. "type": "string"
  18250. },
  18251. "traderatetmpid": {
  18252. "description": "汇率模板id",
  18253. "type": "integer"
  18254. },
  18255. "traderatetmpname": {
  18256. "description": "汇率模板名称",
  18257. "type": "string"
  18258. },
  18259. "tradestatus": {
  18260. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18261. "type": "integer"
  18262. },
  18263. "userid": {
  18264. "description": "用户id",
  18265. "type": "integer"
  18266. }
  18267. }
  18268. },
  18269. "models.ErmcpTaAccountEx": {
  18270. "type": "object",
  18271. "properties": {
  18272. "mainAcc": {
  18273. "description": "主账号",
  18274. "type": "object",
  18275. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18276. },
  18277. "subacclist": {
  18278. "description": "子账号列表",
  18279. "type": "array",
  18280. "items": {
  18281. "$ref": "#/definitions/models.ErmcpTaAccount"
  18282. }
  18283. }
  18284. }
  18285. },
  18286. "models.ErmcpTaAccountInfo": {
  18287. "type": "object",
  18288. "properties": {
  18289. "accountid": {
  18290. "description": "资金账户ID",
  18291. "type": "integer"
  18292. },
  18293. "accountname": {
  18294. "description": "账户名称",
  18295. "type": "string"
  18296. },
  18297. "balance": {
  18298. "description": "期初余额",
  18299. "type": "number"
  18300. },
  18301. "capitalbalance": {
  18302. "description": "本金余额[外部子账户实际出入金余额]",
  18303. "type": "number"
  18304. },
  18305. "closepl": {
  18306. "description": "今日平仓盈亏",
  18307. "type": "number"
  18308. },
  18309. "creditdecrease": {
  18310. "description": "今日授信减少",
  18311. "type": "number"
  18312. },
  18313. "creditincrease": {
  18314. "description": "今日授信增加",
  18315. "type": "number"
  18316. },
  18317. "curdebt": {
  18318. "description": "期末欠款",
  18319. "type": "number"
  18320. },
  18321. "currencyid": {
  18322. "description": "货币ID",
  18323. "type": "integer"
  18324. },
  18325. "currentbalance": {
  18326. "description": "期末余额",
  18327. "type": "number"
  18328. },
  18329. "freezecharge": {
  18330. "description": "手续费冻结",
  18331. "type": "number"
  18332. },
  18333. "freezemargin": {
  18334. "description": "冻结保证金",
  18335. "type": "number"
  18336. },
  18337. "fromaccountid": {
  18338. "description": "所属上级账户",
  18339. "type": "integer"
  18340. },
  18341. "inamount": {
  18342. "description": "今日入金金额(包括三方入金)",
  18343. "type": "number"
  18344. },
  18345. "ismain": {
  18346. "description": "是否母账号 0:不是母账户 1:是母账户",
  18347. "type": "integer"
  18348. },
  18349. "mortgagecredit": {
  18350. "description": "授信金额",
  18351. "type": "number"
  18352. },
  18353. "oridebt": {
  18354. "description": "期初欠款",
  18355. "type": "number"
  18356. },
  18357. "orifreezecharge": {
  18358. "description": "期初手续费冻结",
  18359. "type": "number"
  18360. },
  18361. "orifreezemargin": {
  18362. "description": "期初冻结保证金",
  18363. "type": "number"
  18364. },
  18365. "orimortgagecredit": {
  18366. "description": "期初授信金额",
  18367. "type": "number"
  18368. },
  18369. "oriothercredit": {
  18370. "description": "期初其它授信金额",
  18371. "type": "number"
  18372. },
  18373. "oriotherfreezemargin": {
  18374. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18375. "type": "number"
  18376. },
  18377. "orioutamountfreeze": {
  18378. "description": "期初出金冻结",
  18379. "type": "number"
  18380. },
  18381. "oriusedmargin": {
  18382. "description": "期初占用保证金",
  18383. "type": "number"
  18384. },
  18385. "othercredit": {
  18386. "description": "其它授信金额",
  18387. "type": "number"
  18388. },
  18389. "othercreditdecrease": {
  18390. "description": "今日其它授信减少",
  18391. "type": "number"
  18392. },
  18393. "othercreditincrease": {
  18394. "description": "今日其它授信增加",
  18395. "type": "number"
  18396. },
  18397. "otherfreezemargin": {
  18398. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18399. "type": "number"
  18400. },
  18401. "outamount": {
  18402. "description": "今日出金金额(包括三方出金)",
  18403. "type": "number"
  18404. },
  18405. "outamountfreeze": {
  18406. "description": "出金冻结",
  18407. "type": "number"
  18408. },
  18409. "outthreshold": {
  18410. "description": "出金阈值",
  18411. "type": "number"
  18412. },
  18413. "parentaccountid": {
  18414. "description": "所属根账号",
  18415. "type": "integer"
  18416. },
  18417. "paycharge": {
  18418. "description": "今日手续费支出",
  18419. "type": "number"
  18420. },
  18421. "relateduserid": {
  18422. "description": "关联用户",
  18423. "type": "integer"
  18424. },
  18425. "signstatus": {
  18426. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18427. "type": "integer"
  18428. },
  18429. "sublevelpath": {
  18430. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18431. "type": "string"
  18432. },
  18433. "taaccounttype": {
  18434. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18435. "type": "integer"
  18436. },
  18437. "thirdinamount": {
  18438. "description": "今日三方入金",
  18439. "type": "number"
  18440. },
  18441. "thirdoutamount": {
  18442. "description": "今日三方出金",
  18443. "type": "number"
  18444. },
  18445. "tradestatus": {
  18446. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18447. "type": "integer"
  18448. },
  18449. "transferamount": {
  18450. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18451. "type": "number"
  18452. },
  18453. "usedmargin": {
  18454. "description": "占用保证金",
  18455. "type": "number"
  18456. },
  18457. "userid": {
  18458. "description": "用户ID",
  18459. "type": "integer"
  18460. }
  18461. }
  18462. },
  18463. "models.ErmcpTaAccountM": {
  18464. "type": "object",
  18465. "properties": {
  18466. "accountid": {
  18467. "description": "账户id",
  18468. "type": "integer"
  18469. },
  18470. "accountname": {
  18471. "description": "账户名称",
  18472. "type": "string"
  18473. },
  18474. "currencyid": {
  18475. "description": "币种id",
  18476. "type": "integer"
  18477. },
  18478. "fcid": {
  18479. "description": "期货公司id",
  18480. "type": "integer"
  18481. },
  18482. "fcname": {
  18483. "description": "期货公司代码",
  18484. "type": "string"
  18485. },
  18486. "hedgeaccountcode": {
  18487. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18488. "type": "string"
  18489. },
  18490. "ismain": {
  18491. "description": "是否主账户 0-否 1-是",
  18492. "type": "integer"
  18493. },
  18494. "parentaccountid": {
  18495. "description": "父账户id",
  18496. "type": "integer"
  18497. },
  18498. "relateduserid": {
  18499. "description": "关联userid",
  18500. "type": "integer"
  18501. },
  18502. "tradefeetmpid": {
  18503. "description": "手续费模板id",
  18504. "type": "integer"
  18505. },
  18506. "tradefeetmpname": {
  18507. "description": "手续费模板名称",
  18508. "type": "string"
  18509. },
  18510. "trademargintmpid": {
  18511. "description": "保证金模板id",
  18512. "type": "integer"
  18513. },
  18514. "trademargintmpname": {
  18515. "description": "保证金模板名称",
  18516. "type": "string"
  18517. },
  18518. "traderatetmpid": {
  18519. "description": "汇率模板id",
  18520. "type": "integer"
  18521. },
  18522. "traderatetmpname": {
  18523. "description": "汇率模板名称",
  18524. "type": "string"
  18525. },
  18526. "tradestatus": {
  18527. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18528. "type": "integer"
  18529. },
  18530. "userid": {
  18531. "description": "用户id",
  18532. "type": "integer"
  18533. }
  18534. }
  18535. },
  18536. "models.ErmcpTradeConfigTMP": {
  18537. "type": "object",
  18538. "properties": {
  18539. "areauserid": {
  18540. "description": "所属机构",
  18541. "type": "integer"
  18542. },
  18543. "basiccurrencyid": {
  18544. "description": "基本币种ID[汇率] - 目标币种",
  18545. "type": "integer"
  18546. },
  18547. "mainaccountid": {
  18548. "description": "主账户ID",
  18549. "type": "integer"
  18550. },
  18551. "modifierid": {
  18552. "description": "修改人",
  18553. "type": "integer"
  18554. },
  18555. "remark": {
  18556. "description": "备注",
  18557. "type": "string"
  18558. },
  18559. "tradeconfigtmpid": {
  18560. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18561. "type": "integer"
  18562. },
  18563. "tradeconfigtmpname": {
  18564. "description": "交易配置模板名称",
  18565. "type": "string"
  18566. },
  18567. "tradeconfigtmptype": {
  18568. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18569. "type": "integer"
  18570. },
  18571. "updatetime": {
  18572. "description": "更新时间",
  18573. "type": "string"
  18574. }
  18575. }
  18576. },
  18577. "models.ErmcpUserModel": {
  18578. "type": "object",
  18579. "properties": {
  18580. "address": {
  18581. "description": "通讯地址",
  18582. "type": "string"
  18583. },
  18584. "attachment1": {
  18585. "description": "附件1",
  18586. "type": "string"
  18587. },
  18588. "audittime": {
  18589. "description": "审核时间",
  18590. "type": "string"
  18591. },
  18592. "cardbackphotourl": {
  18593. "description": "证件反面图片地址",
  18594. "type": "string"
  18595. },
  18596. "cardfrontphotourl": {
  18597. "description": "证件正面图片地址",
  18598. "type": "string"
  18599. },
  18600. "cardnum": {
  18601. "description": "证件号码",
  18602. "type": "string"
  18603. },
  18604. "cardtype": {
  18605. "description": "证件类型",
  18606. "type": "integer"
  18607. },
  18608. "cardtypename": {
  18609. "description": "证件类型名称",
  18610. "type": "string"
  18611. },
  18612. "cityid": {
  18613. "description": "市",
  18614. "type": "integer"
  18615. },
  18616. "contactname": {
  18617. "description": "联系人",
  18618. "type": "string"
  18619. },
  18620. "countryid": {
  18621. "description": "国家",
  18622. "type": "integer"
  18623. },
  18624. "createtime": {
  18625. "description": "创建时间",
  18626. "type": "string"
  18627. },
  18628. "customername": {
  18629. "description": "企业名称",
  18630. "type": "string"
  18631. },
  18632. "districtid": {
  18633. "description": "区域",
  18634. "type": "integer"
  18635. },
  18636. "email": {
  18637. "description": "邮件",
  18638. "type": "string"
  18639. },
  18640. "legalpersonname": {
  18641. "description": "法人姓名(企业)",
  18642. "type": "string"
  18643. },
  18644. "memberuserid": {
  18645. "description": "所属机构ID",
  18646. "type": "integer"
  18647. },
  18648. "mobile": {
  18649. "description": "手机号码",
  18650. "type": "string"
  18651. },
  18652. "modifytime": {
  18653. "description": "修改时间",
  18654. "type": "string"
  18655. },
  18656. "nickname": {
  18657. "description": "昵称",
  18658. "type": "string"
  18659. },
  18660. "provinceid": {
  18661. "description": "省",
  18662. "type": "integer"
  18663. },
  18664. "remark": {
  18665. "description": "备注",
  18666. "type": "string"
  18667. },
  18668. "status": {
  18669. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18670. "type": "integer"
  18671. },
  18672. "statusdesc": {
  18673. "description": "账户状态中文描述",
  18674. "type": "string"
  18675. },
  18676. "taxpayernum": {
  18677. "description": "纳税人识别号",
  18678. "type": "string"
  18679. },
  18680. "telphone": {
  18681. "description": "联系电话",
  18682. "type": "string"
  18683. },
  18684. "userid": {
  18685. "description": "用户ID",
  18686. "type": "integer"
  18687. },
  18688. "userinfotype": {
  18689. "description": "客户类型",
  18690. "type": "string"
  18691. }
  18692. }
  18693. },
  18694. "models.ErmcpWareHouseInfo": {
  18695. "type": "object",
  18696. "properties": {
  18697. "address": {
  18698. "description": "详细地址",
  18699. "type": "string"
  18700. },
  18701. "areauserid": {
  18702. "description": "所属机构",
  18703. "type": "integer"
  18704. },
  18705. "autoid": {
  18706. "description": "自增ID(仓库ID)",
  18707. "type": "integer"
  18708. },
  18709. "cityid": {
  18710. "description": "市",
  18711. "type": "integer"
  18712. },
  18713. "contactname": {
  18714. "description": "联系人",
  18715. "type": "string"
  18716. },
  18717. "contactnum": {
  18718. "description": "联系电话",
  18719. "type": "string"
  18720. },
  18721. "countryid": {
  18722. "description": "国家",
  18723. "type": "integer"
  18724. },
  18725. "createtime": {
  18726. "description": "创建时间",
  18727. "type": "string"
  18728. },
  18729. "districtid": {
  18730. "description": "区",
  18731. "type": "integer"
  18732. },
  18733. "hasvideo": {
  18734. "description": "是否有视频 - 0:无 1:有",
  18735. "type": "integer"
  18736. },
  18737. "provinceid": {
  18738. "description": "省",
  18739. "type": "integer"
  18740. },
  18741. "remark": {
  18742. "description": "审核备注",
  18743. "type": "string"
  18744. },
  18745. "videourl": {
  18746. "description": "视频地址",
  18747. "type": "string"
  18748. },
  18749. "warehousecode": {
  18750. "description": "仓库代码",
  18751. "type": "string"
  18752. },
  18753. "warehousename": {
  18754. "description": "仓库名称",
  18755. "type": "string"
  18756. },
  18757. "warehousestatus": {
  18758. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18759. "type": "integer"
  18760. },
  18761. "warehousetype": {
  18762. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18763. "type": "integer"
  18764. }
  18765. }
  18766. },
  18767. "models.Externalexchange": {
  18768. "type": "object",
  18769. "required": [
  18770. "autoid"
  18771. ],
  18772. "properties": {
  18773. "autoid": {
  18774. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18775. "type": "integer"
  18776. },
  18777. "exchangefullname": {
  18778. "description": "外部交易所全称",
  18779. "type": "string"
  18780. },
  18781. "exexchangecode": {
  18782. "description": "外部交易所代码",
  18783. "type": "string"
  18784. },
  18785. "exexchangename": {
  18786. "description": "外部交易所名称(简称)",
  18787. "type": "string"
  18788. },
  18789. "ismarketprice": {
  18790. "description": "是否支持市价 - 0:不支持 1:支持",
  18791. "type": "integer"
  18792. },
  18793. "quotegear": {
  18794. "description": "行情档位(1-10)",
  18795. "type": "integer"
  18796. },
  18797. "showbrokerflag": {
  18798. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18799. "type": "integer"
  18800. },
  18801. "updatetime": {
  18802. "description": "更新时间",
  18803. "type": "string"
  18804. }
  18805. }
  18806. },
  18807. "models.Funcmenulist": {
  18808. "type": "object",
  18809. "required": [
  18810. "resourcecode"
  18811. ],
  18812. "properties": {
  18813. "iconame": {
  18814. "description": "菜单图标",
  18815. "type": "string"
  18816. },
  18817. "menutype": {
  18818. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18819. "type": "integer"
  18820. },
  18821. "parentcode": {
  18822. "description": "上级资源代码",
  18823. "type": "string"
  18824. },
  18825. "remark": {
  18826. "description": "备注",
  18827. "type": "string"
  18828. },
  18829. "resourcecode": {
  18830. "description": "资源代码",
  18831. "type": "string"
  18832. },
  18833. "resourcelevel": {
  18834. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18835. "type": "integer"
  18836. },
  18837. "resourcename": {
  18838. "description": "资源名",
  18839. "type": "string"
  18840. },
  18841. "sort": {
  18842. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18843. "type": "integer"
  18844. },
  18845. "url": {
  18846. "description": "URL",
  18847. "type": "string"
  18848. }
  18849. }
  18850. },
  18851. "models.Goods": {
  18852. "type": "object",
  18853. "required": [
  18854. "goodscode",
  18855. "goodsid",
  18856. "goodsname",
  18857. "marketid"
  18858. ],
  18859. "properties": {
  18860. "agreeunit": {
  18861. "description": "合约单位",
  18862. "type": "number"
  18863. },
  18864. "areauserid": {
  18865. "description": "所属机构",
  18866. "type": "integer"
  18867. },
  18868. "auditaccountid": {
  18869. "description": "审核操作员账号",
  18870. "type": "integer"
  18871. },
  18872. "audittime": {
  18873. "description": "审核时间",
  18874. "type": "string"
  18875. },
  18876. "cancelaccountid": {
  18877. "description": "注销操作员账号",
  18878. "type": "integer"
  18879. },
  18880. "canceltime": {
  18881. "description": "注销时间",
  18882. "type": "string"
  18883. },
  18884. "closepricemode": {
  18885. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18886. "type": "integer"
  18887. },
  18888. "closepriceparam": {
  18889. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18890. "type": "number"
  18891. },
  18892. "createtime": {
  18893. "description": "创建时间",
  18894. "type": "string"
  18895. },
  18896. "creatorid": {
  18897. "description": "创建人",
  18898. "type": "integer"
  18899. },
  18900. "currencyid": {
  18901. "description": "报价货币ID",
  18902. "type": "integer"
  18903. },
  18904. "cutmode": {
  18905. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18906. "type": "integer"
  18907. },
  18908. "decimalplace": {
  18909. "description": "报价小数位",
  18910. "type": "integer"
  18911. },
  18912. "delistingdate": {
  18913. "description": "商品退市时间(状态:退市) -- 已作废",
  18914. "type": "string"
  18915. },
  18916. "delistingmode": {
  18917. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18918. "type": "integer"
  18919. },
  18920. "deliveryflag": {
  18921. "description": "交割标志 - 0:不可交割 1:可交割",
  18922. "type": "integer"
  18923. },
  18924. "forceclosemode": {
  18925. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18926. "type": "integer"
  18927. },
  18928. "forceclosevalue": {
  18929. "description": "定期强平参数 [收益权]",
  18930. "type": "integer"
  18931. },
  18932. "goodscode": {
  18933. "description": "商品代码(内部)",
  18934. "type": "string"
  18935. },
  18936. "goodscurrencyid": {
  18937. "description": "合约货币ID",
  18938. "type": "integer"
  18939. },
  18940. "goodsgroupid": {
  18941. "description": "所属商品组ID",
  18942. "type": "integer"
  18943. },
  18944. "goodsid": {
  18945. "description": "商品ID(自增ID SEQ_GOODS)",
  18946. "type": "integer"
  18947. },
  18948. "goodsname": {
  18949. "description": "商品名称",
  18950. "type": "string"
  18951. },
  18952. "goodsquotetype": {
  18953. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18954. "type": "integer"
  18955. },
  18956. "goodsstatus": {
  18957. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18958. "type": "integer"
  18959. },
  18960. "goodstradetype": {
  18961. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18962. "type": "integer"
  18963. },
  18964. "goodunitid": {
  18965. "description": "报价单位ID",
  18966. "type": "integer"
  18967. },
  18968. "hasquoter": {
  18969. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18970. "type": "integer"
  18971. },
  18972. "hqprotecttime": {
  18973. "description": "行情保护时间(秒)",
  18974. "type": "integer"
  18975. },
  18976. "innerdealmode": {
  18977. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18978. "type": "integer"
  18979. },
  18980. "isbuylimited": {
  18981. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18982. "type": "integer"
  18983. },
  18984. "isvisible": {
  18985. "description": "游客是否可见 - 0:不可见 1:可见",
  18986. "type": "integer"
  18987. },
  18988. "lasttradedate": {
  18989. "description": "最后交易日期(状态:待退市)",
  18990. "type": "string"
  18991. },
  18992. "listingdate": {
  18993. "description": "交易开始日期",
  18994. "type": "string"
  18995. },
  18996. "marketid": {
  18997. "description": "所属市场ID",
  18998. "type": "integer"
  18999. },
  19000. "modifierid": {
  19001. "description": "修改人",
  19002. "type": "integer"
  19003. },
  19004. "modifystatus": {
  19005. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19006. "type": "integer"
  19007. },
  19008. "modifytime": {
  19009. "description": "修改时间",
  19010. "type": "string"
  19011. },
  19012. "outerdealmode": {
  19013. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19014. "type": "integer"
  19015. },
  19016. "outgoodscode": {
  19017. "description": "商品代码(外部)",
  19018. "type": "string"
  19019. },
  19020. "pictureurl": {
  19021. "description": "商品图片",
  19022. "type": "string"
  19023. },
  19024. "qtydecimalplace": {
  19025. "description": "成交量小数位",
  19026. "type": "integer"
  19027. },
  19028. "quotegear": {
  19029. "description": "行情档位(1-10)",
  19030. "type": "integer"
  19031. },
  19032. "quoteminunit": {
  19033. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19034. "type": "integer"
  19035. },
  19036. "quoteshowtype": {
  19037. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19038. "type": "integer"
  19039. },
  19040. "quoteshowtypeinterval": {
  19041. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19042. "type": "integer"
  19043. },
  19044. "remark": {
  19045. "description": "备注",
  19046. "type": "string"
  19047. }
  19048. }
  19049. },
  19050. "models.GoodsIDAndName": {
  19051. "type": "object",
  19052. "required": [
  19053. "goodscode",
  19054. "goodsid",
  19055. "goodsname",
  19056. "marketid"
  19057. ],
  19058. "properties": {
  19059. "goodscode": {
  19060. "description": "商品代码(内部)",
  19061. "type": "string"
  19062. },
  19063. "goodsid": {
  19064. "description": "商品ID(自增ID SEQ_GOODS)",
  19065. "type": "integer"
  19066. },
  19067. "goodsname": {
  19068. "description": "商品名称",
  19069. "type": "string"
  19070. },
  19071. "marketid": {
  19072. "description": "所属市场ID",
  19073. "type": "integer"
  19074. }
  19075. }
  19076. },
  19077. "models.Goodsgroup": {
  19078. "type": "object",
  19079. "required": [
  19080. "goodsgroupid",
  19081. "goodsgroupname",
  19082. "goodsgroupstatus",
  19083. "marketid"
  19084. ],
  19085. "properties": {
  19086. "agreeunit": {
  19087. "description": "合约单位",
  19088. "type": "number"
  19089. },
  19090. "canshort": {
  19091. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19092. "type": "integer"
  19093. },
  19094. "closepricemode": {
  19095. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19096. "type": "integer"
  19097. },
  19098. "closepriceparam": {
  19099. "description": "强平最新价浮动比例 - 方式为2时使用",
  19100. "type": "number"
  19101. },
  19102. "createtime": {
  19103. "description": "创建时间",
  19104. "type": "string"
  19105. },
  19106. "creatorid": {
  19107. "description": "创建人",
  19108. "type": "integer"
  19109. },
  19110. "currencyid": {
  19111. "description": "报价货币ID",
  19112. "type": "integer"
  19113. },
  19114. "decimalplace": {
  19115. "description": "报价小数位",
  19116. "type": "integer"
  19117. },
  19118. "exercisetype": {
  19119. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19120. "type": "integer"
  19121. },
  19122. "exexchangeid": {
  19123. "description": "外部交易所ID[通道交易]",
  19124. "type": "integer"
  19125. },
  19126. "goodsgroupid": {
  19127. "description": "商品组ID(自增ID)",
  19128. "type": "integer"
  19129. },
  19130. "goodsgroupname": {
  19131. "description": "商品组名称",
  19132. "type": "string"
  19133. },
  19134. "goodsgroupstatus": {
  19135. "description": "商品组状态 - 1:正常 2:注销",
  19136. "type": "integer"
  19137. },
  19138. "goodunitid": {
  19139. "description": "报价单位ID",
  19140. "type": "integer"
  19141. },
  19142. "innerdealmode": {
  19143. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19144. "type": "integer"
  19145. },
  19146. "isbuylimited": {
  19147. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19148. "type": "integer"
  19149. },
  19150. "marketid": {
  19151. "description": "所属市场ID",
  19152. "type": "integer"
  19153. },
  19154. "modifierid": {
  19155. "description": "修改人",
  19156. "type": "integer"
  19157. },
  19158. "modifytime": {
  19159. "description": "修改时间",
  19160. "type": "string"
  19161. },
  19162. "outerdealmode": {
  19163. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19164. "type": "integer"
  19165. },
  19166. "outergroupcode": {
  19167. "description": "外部商品组代码[通道交易]",
  19168. "type": "string"
  19169. },
  19170. "premiumdecimalplace": {
  19171. "description": "权利金小数位[场外期权]",
  19172. "type": "integer"
  19173. },
  19174. "premiumspreadalgorithm": {
  19175. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19176. "type": "integer"
  19177. },
  19178. "premiumspreadvalue": {
  19179. "description": "权利金点差值[场外期权]",
  19180. "type": "number"
  19181. },
  19182. "qtydecimalplace": {
  19183. "description": "成交量小数位",
  19184. "type": "integer"
  19185. },
  19186. "quotegear": {
  19187. "description": "行情档位(1-10)",
  19188. "type": "integer"
  19189. },
  19190. "quoteminunit": {
  19191. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19192. "type": "integer"
  19193. },
  19194. "quoterid": {
  19195. "description": "报价商ID[场外期权]",
  19196. "type": "integer"
  19197. },
  19198. "quotesourcegroupid": {
  19199. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19200. "type": "integer"
  19201. },
  19202. "syncgoodsqty": {
  19203. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19204. "type": "integer"
  19205. }
  19206. }
  19207. },
  19208. "models.Goodssortbypreposition": {
  19209. "type": "object",
  19210. "required": [
  19211. "goodscode",
  19212. "tradedate"
  19213. ],
  19214. "properties": {
  19215. "goodscode": {
  19216. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19217. "type": "string"
  19218. },
  19219. "goodsgroupcode": {
  19220. "description": "品种代码",
  19221. "type": "string"
  19222. },
  19223. "prepositionqty": {
  19224. "description": "昨持仓量",
  19225. "type": "integer"
  19226. },
  19227. "sortindex": {
  19228. "description": "排序",
  19229. "type": "integer"
  19230. },
  19231. "tradedate": {
  19232. "description": "交易日",
  19233. "type": "string"
  19234. },
  19235. "updatetime": {
  19236. "description": "更新时间",
  19237. "type": "string"
  19238. }
  19239. }
  19240. },
  19241. "models.Hedgeinnerholderdetail": {
  19242. "type": "object",
  19243. "required": [
  19244. "buyorsell",
  19245. "tradeid"
  19246. ],
  19247. "properties": {
  19248. "accountid": {
  19249. "description": "账号ID",
  19250. "type": "integer"
  19251. },
  19252. "buyorsell": {
  19253. "description": "方向 - 0:买 1:卖",
  19254. "type": "integer"
  19255. },
  19256. "freezeqty": {
  19257. "description": "冻结数量 - 按单平使用",
  19258. "type": "integer"
  19259. },
  19260. "goodsid": {
  19261. "description": "商品ID",
  19262. "type": "integer"
  19263. },
  19264. "holderamount": {
  19265. "description": "持仓金额 [商品币种]",
  19266. "type": "number"
  19267. },
  19268. "holderdays": {
  19269. "description": "剩余冻结天数",
  19270. "type": "integer"
  19271. },
  19272. "holderprice": {
  19273. "description": "持仓价格",
  19274. "type": "number"
  19275. },
  19276. "holderqty": {
  19277. "description": "持仓数量",
  19278. "type": "integer"
  19279. },
  19280. "marketid": {
  19281. "description": "市场ID",
  19282. "type": "integer"
  19283. },
  19284. "openprice": {
  19285. "description": "建仓价格",
  19286. "type": "number"
  19287. },
  19288. "openqty": {
  19289. "description": "建仓数量",
  19290. "type": "integer"
  19291. },
  19292. "parentaccountid": {
  19293. "description": "所属母账户",
  19294. "type": "integer"
  19295. },
  19296. "releaseamount": {
  19297. "description": "释放持仓金额[商品币种]",
  19298. "type": "number"
  19299. },
  19300. "tradeamount": {
  19301. "description": "成交金额[账户]",
  19302. "type": "number"
  19303. },
  19304. "tradedate": {
  19305. "description": "交易日(yyyyMMdd)",
  19306. "type": "string"
  19307. },
  19308. "tradeid": {
  19309. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19310. "type": "string"
  19311. },
  19312. "tradetime": {
  19313. "description": "交易时间",
  19314. "type": "string"
  19315. }
  19316. }
  19317. },
  19318. "models.Hedgemarketopenlog": {
  19319. "type": "object",
  19320. "required": [
  19321. "accountid"
  19322. ],
  19323. "properties": {
  19324. "accountid": {
  19325. "description": "资金账号[外部母账户]",
  19326. "type": "integer"
  19327. },
  19328. "fcname": {
  19329. "description": "期货公司名称",
  19330. "type": "string"
  19331. },
  19332. "handlestatus": {
  19333. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19334. "type": "integer"
  19335. },
  19336. "marketid": {
  19337. "description": "市场ID",
  19338. "type": "integer"
  19339. },
  19340. "status": {
  19341. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19342. "type": "integer"
  19343. },
  19344. "tradedate": {
  19345. "description": "交易日(yyyyMMdd)",
  19346. "type": "string"
  19347. },
  19348. "updatetime": {
  19349. "description": "更新时间",
  19350. "type": "string"
  19351. }
  19352. }
  19353. },
  19354. "models.HsbyBuyMyPayOrder": {
  19355. "type": "object",
  19356. "required": [
  19357. "goodscode",
  19358. "goodsname",
  19359. "tradeid",
  19360. "trademode"
  19361. ],
  19362. "properties": {
  19363. "agreeunit": {
  19364. "description": "合约单位",
  19365. "type": "number"
  19366. },
  19367. "buyaccountid": {
  19368. "description": "买方账号ID[报价币种]",
  19369. "type": "integer"
  19370. },
  19371. "buyorderid": {
  19372. "description": "买方委托单号",
  19373. "type": "string"
  19374. },
  19375. "createtime": {
  19376. "description": "创建时间",
  19377. "type": "string"
  19378. },
  19379. "currencysign": {
  19380. "description": "货币符号",
  19381. "type": "string"
  19382. },
  19383. "decimalplace": {
  19384. "description": "报价小数位",
  19385. "type": "integer"
  19386. },
  19387. "goodscode": {
  19388. "description": "商品代码(内部)",
  19389. "type": "string"
  19390. },
  19391. "goodsid": {
  19392. "description": "商品ID",
  19393. "type": "integer"
  19394. },
  19395. "goodsname": {
  19396. "description": "商品名称",
  19397. "type": "string"
  19398. },
  19399. "marketid": {
  19400. "description": "市场ID",
  19401. "type": "integer"
  19402. },
  19403. "offamount": {
  19404. "description": "优惠金额",
  19405. "type": "number"
  19406. },
  19407. "originalamount": {
  19408. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19409. "type": "number"
  19410. },
  19411. "payamount": {
  19412. "description": "支付金额 = TradeAmount + TradeCharge",
  19413. "type": "number"
  19414. },
  19415. "payflag": {
  19416. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19417. "type": "integer"
  19418. },
  19419. "paylimitedtime": {
  19420. "description": "支付期限",
  19421. "type": "string"
  19422. },
  19423. "paytime": {
  19424. "description": "付款时间",
  19425. "type": "string"
  19426. },
  19427. "picurls1": {
  19428. "description": "预售商品介绍图片[多张用逗号分隔]",
  19429. "type": "string"
  19430. },
  19431. "picurls2": {
  19432. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19433. "type": "string"
  19434. },
  19435. "sellaccountid": {
  19436. "description": "卖方账号ID[报价币种]",
  19437. "type": "integer"
  19438. },
  19439. "sellorderid": {
  19440. "description": "卖方委托单号",
  19441. "type": "string"
  19442. },
  19443. "tradeamount": {
  19444. "description": "成交金额",
  19445. "type": "number"
  19446. },
  19447. "tradecharge": {
  19448. "description": "成交手续费(买方)",
  19449. "type": "number"
  19450. },
  19451. "tradedate": {
  19452. "description": "交易日(yyyyMMdd)",
  19453. "type": "string"
  19454. },
  19455. "tradeid": {
  19456. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19457. "type": "string"
  19458. },
  19459. "trademode": {
  19460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19461. "type": "integer"
  19462. },
  19463. "tradeprice": {
  19464. "description": "成交价格",
  19465. "type": "number"
  19466. },
  19467. "tradeqty": {
  19468. "description": "成交数量",
  19469. "type": "integer"
  19470. },
  19471. "vendorname1": {
  19472. "description": "预售商品供应商名称",
  19473. "type": "string"
  19474. },
  19475. "vendorname2": {
  19476. "description": "挂牌商品供应商名称",
  19477. "type": "string"
  19478. }
  19479. }
  19480. },
  19481. "models.HsbyBuyMyTradeDetail": {
  19482. "type": "object",
  19483. "required": [
  19484. "accountid",
  19485. "buyorsell",
  19486. "goodscode",
  19487. "goodsid",
  19488. "goodsname",
  19489. "marketid",
  19490. "orderid",
  19491. "qty",
  19492. "time",
  19493. "trademode"
  19494. ],
  19495. "properties": {
  19496. "accountid": {
  19497. "description": "账户ID[报价币种]",
  19498. "type": "integer"
  19499. },
  19500. "agreeunit": {
  19501. "description": "合约单位",
  19502. "type": "number"
  19503. },
  19504. "amount": {
  19505. "description": "金额 = 价格 * 数量 * 合约单位",
  19506. "type": "number"
  19507. },
  19508. "buyorsell": {
  19509. "description": "买卖 - 0:买 1:卖",
  19510. "type": "integer"
  19511. },
  19512. "currencysign": {
  19513. "description": "货币符号",
  19514. "type": "string"
  19515. },
  19516. "decimalplace": {
  19517. "description": "报价小数位",
  19518. "type": "integer"
  19519. },
  19520. "goodscode": {
  19521. "description": "商品代码(内部)",
  19522. "type": "string"
  19523. },
  19524. "goodsid": {
  19525. "description": "商品ID",
  19526. "type": "integer"
  19527. },
  19528. "goodsname": {
  19529. "description": "商品名称",
  19530. "type": "string"
  19531. },
  19532. "marketid": {
  19533. "description": "市场ID",
  19534. "type": "integer"
  19535. },
  19536. "orderamount": {
  19537. "description": "委托金额",
  19538. "type": "number"
  19539. },
  19540. "orderid": {
  19541. "description": "单号(成交单号)",
  19542. "type": "string"
  19543. },
  19544. "picurls1": {
  19545. "description": "预售商品介绍图片[多张用逗号分隔]",
  19546. "type": "string"
  19547. },
  19548. "picurls2": {
  19549. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19550. "type": "string"
  19551. },
  19552. "price": {
  19553. "description": "价格",
  19554. "type": "number"
  19555. },
  19556. "qty": {
  19557. "description": "数量",
  19558. "type": "integer"
  19559. },
  19560. "time": {
  19561. "description": "时间",
  19562. "type": "string"
  19563. },
  19564. "trademode": {
  19565. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19566. "type": "integer"
  19567. },
  19568. "vendorname1": {
  19569. "description": "预售商品供应商名称",
  19570. "type": "string"
  19571. },
  19572. "vendorname2": {
  19573. "description": "挂牌商品供应商名称",
  19574. "type": "string"
  19575. }
  19576. }
  19577. },
  19578. "models.HsbyGoodsOrderDetail": {
  19579. "type": "object",
  19580. "required": [
  19581. "buyorsell",
  19582. "orderid",
  19583. "ordertime"
  19584. ],
  19585. "properties": {
  19586. "buyorsell": {
  19587. "description": "买卖 - 0:买 1:卖",
  19588. "type": "integer"
  19589. },
  19590. "currencysign": {
  19591. "description": "货币符号",
  19592. "type": "string"
  19593. },
  19594. "customername": {
  19595. "description": "客户名称(企业名称),已脱敏",
  19596. "type": "string"
  19597. },
  19598. "enableqty": {
  19599. "description": "可用数量",
  19600. "type": "integer"
  19601. },
  19602. "goodunit": {
  19603. "description": "报价单位",
  19604. "type": "string"
  19605. },
  19606. "orderid": {
  19607. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19608. "type": "string"
  19609. },
  19610. "orderprice": {
  19611. "description": "委托价格",
  19612. "type": "number"
  19613. },
  19614. "ordertime": {
  19615. "description": "委托时间",
  19616. "type": "string"
  19617. }
  19618. }
  19619. },
  19620. "models.HsbyListingGoodsDetail": {
  19621. "type": "object",
  19622. "required": [
  19623. "goodscode",
  19624. "goodsid",
  19625. "goodsname",
  19626. "marketid",
  19627. "trademode"
  19628. ],
  19629. "properties": {
  19630. "agreeunit": {
  19631. "description": "合约单位",
  19632. "type": "number"
  19633. },
  19634. "buymaxqty": {
  19635. "description": "购买上限 [71] - 0为不限",
  19636. "type": "integer"
  19637. },
  19638. "currency": {
  19639. "description": "货币",
  19640. "type": "string"
  19641. },
  19642. "currencysign": {
  19643. "description": "货币符号",
  19644. "type": "string"
  19645. },
  19646. "decimalplace": {
  19647. "description": "报价小数位",
  19648. "type": "integer"
  19649. },
  19650. "desccityid": {
  19651. "description": "目的地(市)ID",
  19652. "type": "integer"
  19653. },
  19654. "descprovinceid": {
  19655. "description": "目的地(省)ID",
  19656. "type": "integer"
  19657. },
  19658. "goodscode": {
  19659. "description": "商品代码(内部)",
  19660. "type": "string"
  19661. },
  19662. "goodsdesc": {
  19663. "description": "商品详情",
  19664. "type": "string"
  19665. },
  19666. "goodsid": {
  19667. "description": "商品ID(自增ID SEQ_GOODS)",
  19668. "type": "integer"
  19669. },
  19670. "goodsname": {
  19671. "description": "商品名称",
  19672. "type": "string"
  19673. },
  19674. "goodsprice": {
  19675. "description": "商品价格",
  19676. "type": "number"
  19677. },
  19678. "hotindex": {
  19679. "description": "景点热度",
  19680. "type": "integer"
  19681. },
  19682. "last": {
  19683. "description": "现价",
  19684. "type": "number"
  19685. },
  19686. "limitdown": {
  19687. "description": "跌停价",
  19688. "type": "number"
  19689. },
  19690. "limitup": {
  19691. "description": "涨停价",
  19692. "type": "number"
  19693. },
  19694. "lotsize": {
  19695. "description": "手数最小变动单位",
  19696. "type": "integer"
  19697. },
  19698. "marketid": {
  19699. "description": "所属市场ID",
  19700. "type": "integer"
  19701. },
  19702. "picurls": {
  19703. "description": "介绍图片[多张用逗号分隔]",
  19704. "type": "string"
  19705. },
  19706. "quoteminunit": {
  19707. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19708. "type": "integer"
  19709. },
  19710. "stepvalue": {
  19711. "description": "价格最小变动单位",
  19712. "type": "number"
  19713. },
  19714. "trademode": {
  19715. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19716. "type": "integer"
  19717. },
  19718. "vendorattr": {
  19719. "description": "供应商附件(多张,逗号分隔)",
  19720. "type": "string"
  19721. },
  19722. "vendorname": {
  19723. "description": "供应商名称",
  19724. "type": "string"
  19725. },
  19726. "vendorphone": {
  19727. "description": "供应商客服电话",
  19728. "type": "string"
  19729. },
  19730. "videourls": {
  19731. "description": "介绍视频[多张用逗号分隔]",
  19732. "type": "string"
  19733. }
  19734. }
  19735. },
  19736. "models.HsbyMarketGoods": {
  19737. "type": "object",
  19738. "required": [
  19739. "accountid",
  19740. "buyorsell",
  19741. "goodscode",
  19742. "goodsid",
  19743. "goodsname",
  19744. "marketid",
  19745. "orderid",
  19746. "trademode"
  19747. ],
  19748. "properties": {
  19749. "accountid": {
  19750. "description": "账户ID[报价币种]",
  19751. "type": "integer"
  19752. },
  19753. "agreeunit": {
  19754. "description": "合约单位",
  19755. "type": "number"
  19756. },
  19757. "buyorsell": {
  19758. "description": "买卖 - 0:买 1:卖",
  19759. "type": "integer"
  19760. },
  19761. "categoryid": {
  19762. "description": "类别ID(WRCATEGORY)",
  19763. "type": "integer"
  19764. },
  19765. "currency": {
  19766. "description": "货币",
  19767. "type": "string"
  19768. },
  19769. "currencysign": {
  19770. "description": "货币符号",
  19771. "type": "string"
  19772. },
  19773. "customername": {
  19774. "description": "卖家名称",
  19775. "type": "string"
  19776. },
  19777. "decimalplace": {
  19778. "description": "报价小数位",
  19779. "type": "integer"
  19780. },
  19781. "goodscode": {
  19782. "description": "商品代码(内部)",
  19783. "type": "string"
  19784. },
  19785. "goodsid": {
  19786. "description": "商品ID",
  19787. "type": "integer"
  19788. },
  19789. "goodsname": {
  19790. "description": "商品名称",
  19791. "type": "string"
  19792. },
  19793. "goodsprice": {
  19794. "description": "商品价格",
  19795. "type": "number"
  19796. },
  19797. "hascoupon": {
  19798. "description": "是否可用优惠卷",
  19799. "type": "boolean"
  19800. },
  19801. "hotindex": {
  19802. "description": "景点热度",
  19803. "type": "integer"
  19804. },
  19805. "marketid": {
  19806. "description": "市场ID",
  19807. "type": "integer"
  19808. },
  19809. "orderid": {
  19810. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19811. "type": "string"
  19812. },
  19813. "orderprice": {
  19814. "description": "委托价格",
  19815. "type": "number"
  19816. },
  19817. "orderstatus": {
  19818. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19819. "type": "integer"
  19820. },
  19821. "picurls": {
  19822. "description": "介绍图片[多张用逗号分隔]",
  19823. "type": "string"
  19824. },
  19825. "quoteminunit": {
  19826. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19827. "type": "integer"
  19828. },
  19829. "sellUserID": {
  19830. "description": "卖方UserID",
  19831. "type": "integer"
  19832. },
  19833. "trademode": {
  19834. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19835. "type": "integer"
  19836. },
  19837. "videourls": {
  19838. "description": "介绍视频[多张用逗号分隔]",
  19839. "type": "string"
  19840. }
  19841. }
  19842. },
  19843. "models.HsbyMarketGoodsDetail": {
  19844. "type": "object",
  19845. "required": [
  19846. "accountid",
  19847. "buyorsell",
  19848. "goodscode",
  19849. "goodsid",
  19850. "goodsname",
  19851. "marketid",
  19852. "orderid",
  19853. "orderqty",
  19854. "trademode"
  19855. ],
  19856. "properties": {
  19857. "accountid": {
  19858. "description": "账户ID[报价币种]",
  19859. "type": "integer"
  19860. },
  19861. "agreeunit": {
  19862. "description": "合约单位",
  19863. "type": "number"
  19864. },
  19865. "buymaxqty": {
  19866. "description": "购买上限 [71] - 0为不限",
  19867. "type": "integer"
  19868. },
  19869. "buyorsell": {
  19870. "description": "买卖 - 0:买 1:卖",
  19871. "type": "integer"
  19872. },
  19873. "cancelqty": {
  19874. "description": "撤单数量",
  19875. "type": "integer"
  19876. },
  19877. "categoryid": {
  19878. "description": "类别ID(WRCATEGORY)",
  19879. "type": "integer"
  19880. },
  19881. "currency": {
  19882. "description": "货币",
  19883. "type": "string"
  19884. },
  19885. "currencysign": {
  19886. "description": "货币符号",
  19887. "type": "string"
  19888. },
  19889. "customername": {
  19890. "description": "卖家名称",
  19891. "type": "string"
  19892. },
  19893. "decimalplace": {
  19894. "description": "报价小数位",
  19895. "type": "integer"
  19896. },
  19897. "goodscode": {
  19898. "description": "商品代码(内部)",
  19899. "type": "string"
  19900. },
  19901. "goodsdesc": {
  19902. "description": "商品详情",
  19903. "type": "string"
  19904. },
  19905. "goodsid": {
  19906. "description": "商品ID",
  19907. "type": "integer"
  19908. },
  19909. "goodsname": {
  19910. "description": "商品名称",
  19911. "type": "string"
  19912. },
  19913. "goodsprice": {
  19914. "description": "商品价格",
  19915. "type": "number"
  19916. },
  19917. "hotindex": {
  19918. "description": "景点热度",
  19919. "type": "integer"
  19920. },
  19921. "lotsize": {
  19922. "description": "手数最小变动单位",
  19923. "type": "integer"
  19924. },
  19925. "marketid": {
  19926. "description": "市场ID",
  19927. "type": "integer"
  19928. },
  19929. "orderid": {
  19930. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19931. "type": "string"
  19932. },
  19933. "orderprice": {
  19934. "description": "委托价格",
  19935. "type": "number"
  19936. },
  19937. "orderqty": {
  19938. "description": "委托数量",
  19939. "type": "integer"
  19940. },
  19941. "orderstatus": {
  19942. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19943. "type": "integer"
  19944. },
  19945. "picurls": {
  19946. "description": "介绍图片[多张用逗号分隔]",
  19947. "type": "string"
  19948. },
  19949. "quoteminunit": {
  19950. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19951. "type": "integer"
  19952. },
  19953. "sellUserID": {
  19954. "description": "卖方UserID",
  19955. "type": "integer"
  19956. },
  19957. "trademode": {
  19958. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19959. "type": "integer"
  19960. },
  19961. "tradeqty": {
  19962. "description": "成交数量",
  19963. "type": "integer"
  19964. },
  19965. "vendorattr": {
  19966. "description": "供应商附件(多张,逗号分隔)",
  19967. "type": "string"
  19968. },
  19969. "vendorname": {
  19970. "description": "供应商名称",
  19971. "type": "string"
  19972. },
  19973. "vendorphone": {
  19974. "description": "供应商客服电话",
  19975. "type": "string"
  19976. },
  19977. "videourls": {
  19978. "description": "介绍视频[多张用逗号分隔]",
  19979. "type": "string"
  19980. }
  19981. }
  19982. },
  19983. "models.HsbyMarketInfo": {
  19984. "type": "object",
  19985. "required": [
  19986. "marketid",
  19987. "marketstatus",
  19988. "trademode"
  19989. ],
  19990. "properties": {
  19991. "marketid": {
  19992. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19993. "type": "integer"
  19994. },
  19995. "marketname": {
  19996. "description": "市场名称",
  19997. "type": "string"
  19998. },
  19999. "marketstatus": {
  20000. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20001. "type": "integer"
  20002. },
  20003. "trademode": {
  20004. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20005. "type": "integer"
  20006. }
  20007. }
  20008. },
  20009. "models.HsbyMyGoods": {
  20010. "type": "object",
  20011. "required": [
  20012. "accountid",
  20013. "goodscode",
  20014. "goodsid",
  20015. "goodsname",
  20016. "marketid",
  20017. "trademode"
  20018. ],
  20019. "properties": {
  20020. "accountid": {
  20021. "description": "账号Id",
  20022. "type": "integer"
  20023. },
  20024. "agreeunit": {
  20025. "description": "合约单位",
  20026. "type": "number"
  20027. },
  20028. "buyaverageprice": {
  20029. "description": "持仓均价",
  20030. "type": "number"
  20031. },
  20032. "buycurholderamount": {
  20033. "description": "买当前持仓总金额[商品币种]",
  20034. "type": "number"
  20035. },
  20036. "buycurpositionqty": {
  20037. "description": "买当前持仓总数量",
  20038. "type": "integer"
  20039. },
  20040. "buymaxqty": {
  20041. "description": "购买上限 [71] - 0为不限",
  20042. "type": "integer"
  20043. },
  20044. "currencysign": {
  20045. "description": "货币符号",
  20046. "type": "string"
  20047. },
  20048. "decimalplace": {
  20049. "description": "报价小数位",
  20050. "type": "integer"
  20051. },
  20052. "enableqty": {
  20053. "description": "可用数量",
  20054. "type": "integer"
  20055. },
  20056. "goodscode": {
  20057. "description": "商品代码(内部)",
  20058. "type": "string"
  20059. },
  20060. "goodsid": {
  20061. "description": "商品Id",
  20062. "type": "integer"
  20063. },
  20064. "goodsname": {
  20065. "description": "商品名称",
  20066. "type": "string"
  20067. },
  20068. "goodsprice": {
  20069. "description": "商品价格",
  20070. "type": "number"
  20071. },
  20072. "goodsstatus": {
  20073. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20074. "type": "integer"
  20075. },
  20076. "last": {
  20077. "description": "现价(仅使用于挂牌点选)",
  20078. "type": "number"
  20079. },
  20080. "limitdown": {
  20081. "description": "跌停价(仅使用于挂牌点选)",
  20082. "type": "number"
  20083. },
  20084. "limitup": {
  20085. "description": "涨停价(仅使用于挂牌点选)",
  20086. "type": "number"
  20087. },
  20088. "lotsize": {
  20089. "description": "手数最小变动单位",
  20090. "type": "integer"
  20091. },
  20092. "marketid": {
  20093. "description": "所属市场ID",
  20094. "type": "integer"
  20095. },
  20096. "picurls": {
  20097. "description": "介绍图片[多张用逗号分隔]",
  20098. "type": "string"
  20099. },
  20100. "quoteminunit": {
  20101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20102. "type": "integer"
  20103. },
  20104. "stepvalue": {
  20105. "description": "价格最小变动单位",
  20106. "type": "number"
  20107. },
  20108. "trademode": {
  20109. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20110. "type": "integer"
  20111. }
  20112. }
  20113. },
  20114. "models.HsbyMyPackage": {
  20115. "type": "object",
  20116. "required": [
  20117. "goodscode",
  20118. "goodsname",
  20119. "takeorderid",
  20120. "trademode"
  20121. ],
  20122. "properties": {
  20123. "accountid": {
  20124. "description": "账户ID",
  20125. "type": "integer"
  20126. },
  20127. "address": {
  20128. "description": "提货人详细地址",
  20129. "type": "string"
  20130. },
  20131. "agreeunit": {
  20132. "description": "合约单位",
  20133. "type": "number"
  20134. },
  20135. "amount": {
  20136. "description": "提货金额",
  20137. "type": "number"
  20138. },
  20139. "auditer": {
  20140. "description": "审核人",
  20141. "type": "integer"
  20142. },
  20143. "audittime": {
  20144. "description": "审核时间",
  20145. "type": "string"
  20146. },
  20147. "averageprice": {
  20148. "description": "均价",
  20149. "type": "number"
  20150. },
  20151. "cardnum": {
  20152. "description": "提货人证件号码",
  20153. "type": "string"
  20154. },
  20155. "cardtypeid": {
  20156. "description": "提货人证件类型",
  20157. "type": "integer"
  20158. },
  20159. "checkremark": {
  20160. "description": "审核备注",
  20161. "type": "string"
  20162. },
  20163. "currencysign": {
  20164. "description": "货币符号",
  20165. "type": "string"
  20166. },
  20167. "decimalplace": {
  20168. "description": "报价小数位",
  20169. "type": "integer"
  20170. },
  20171. "goodscode": {
  20172. "description": "商品代码(内部)",
  20173. "type": "string"
  20174. },
  20175. "goodsid": {
  20176. "description": "商品ID",
  20177. "type": "integer"
  20178. },
  20179. "goodsname": {
  20180. "description": "商品名称",
  20181. "type": "string"
  20182. },
  20183. "handlestatus": {
  20184. "description": "处理状态",
  20185. "type": "integer"
  20186. },
  20187. "marketid": {
  20188. "description": "市场ID",
  20189. "type": "integer"
  20190. },
  20191. "phonenum": {
  20192. "description": "提货人联系方式",
  20193. "type": "string"
  20194. },
  20195. "picurls": {
  20196. "description": "介绍图片[多张用逗号分隔]",
  20197. "type": "string"
  20198. },
  20199. "qty": {
  20200. "description": "提货数量",
  20201. "type": "number"
  20202. },
  20203. "recivername": {
  20204. "description": "提货人姓名",
  20205. "type": "string"
  20206. },
  20207. "reqtime": {
  20208. "description": "更新时间",
  20209. "type": "string"
  20210. },
  20211. "takemode": {
  20212. "description": "提货方式 - 2:自提 3:配送",
  20213. "type": "integer"
  20214. },
  20215. "takeorderid": {
  20216. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20217. "type": "string"
  20218. },
  20219. "takeorderstatus": {
  20220. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20221. "type": "integer"
  20222. },
  20223. "takeremark": {
  20224. "description": "提货备注",
  20225. "type": "string"
  20226. },
  20227. "tradedate": {
  20228. "description": "交易日(yyyyMMdd)",
  20229. "type": "string"
  20230. },
  20231. "trademode": {
  20232. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20233. "type": "integer"
  20234. },
  20235. "userid": {
  20236. "description": "用户ID",
  20237. "type": "integer"
  20238. },
  20239. "vendorname": {
  20240. "description": "供应商名称",
  20241. "type": "string"
  20242. }
  20243. }
  20244. },
  20245. "models.HsbyPreGoods": {
  20246. "type": "object",
  20247. "required": [
  20248. "goodscode",
  20249. "goodsid",
  20250. "goodsname",
  20251. "marketid",
  20252. "trademode"
  20253. ],
  20254. "properties": {
  20255. "agreeunit": {
  20256. "description": "合约单位",
  20257. "type": "number"
  20258. },
  20259. "currency": {
  20260. "description": "货币",
  20261. "type": "string"
  20262. },
  20263. "currencysign": {
  20264. "description": "货币符号",
  20265. "type": "string"
  20266. },
  20267. "decimalplace": {
  20268. "description": "报价小数位",
  20269. "type": "integer"
  20270. },
  20271. "desccityid": {
  20272. "description": "目的地(市)",
  20273. "type": "integer"
  20274. },
  20275. "descprovinceid": {
  20276. "description": "目的地(省)",
  20277. "type": "integer"
  20278. },
  20279. "enableqty": {
  20280. "description": "剩余数量",
  20281. "type": "integer"
  20282. },
  20283. "goodscode": {
  20284. "description": "商品代码(内部)",
  20285. "type": "string"
  20286. },
  20287. "goodsid": {
  20288. "description": "商品ID(自增ID SEQ_GOODS)",
  20289. "type": "integer"
  20290. },
  20291. "goodsname": {
  20292. "description": "商品名称",
  20293. "type": "string"
  20294. },
  20295. "goodsstatus": {
  20296. "description": "商品状态- 2:未上市 3:上市",
  20297. "type": "integer"
  20298. },
  20299. "lasttradedate": {
  20300. "description": "最后交易日期(状态:待退市)",
  20301. "type": "string"
  20302. },
  20303. "listingdate": {
  20304. "description": "交易开始日期",
  20305. "type": "string"
  20306. },
  20307. "marketid": {
  20308. "description": "所属市场ID",
  20309. "type": "integer"
  20310. },
  20311. "picurls": {
  20312. "description": "介绍图片[多张用逗号分隔]",
  20313. "type": "string"
  20314. },
  20315. "presaledqty": {
  20316. "description": "已预售量(预售结束时更新)",
  20317. "type": "integer"
  20318. },
  20319. "presaleqty": {
  20320. "description": "预售数量",
  20321. "type": "integer"
  20322. },
  20323. "quoteminunit": {
  20324. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20325. "type": "integer"
  20326. },
  20327. "refprice": {
  20328. "description": "参考价格[一口价]",
  20329. "type": "number"
  20330. },
  20331. "relatedgoodsid": {
  20332. "description": "关联交易合约ID",
  20333. "type": "integer"
  20334. },
  20335. "trademode": {
  20336. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20337. "type": "integer"
  20338. },
  20339. "videourls": {
  20340. "description": "介绍视频[多张用逗号分隔]",
  20341. "type": "string"
  20342. }
  20343. }
  20344. },
  20345. "models.HsbyPreGoodsDetail": {
  20346. "type": "object",
  20347. "required": [
  20348. "goodscode",
  20349. "goodsid",
  20350. "goodsname",
  20351. "marketid",
  20352. "trademode"
  20353. ],
  20354. "properties": {
  20355. "agreeunit": {
  20356. "description": "合约单位",
  20357. "type": "number"
  20358. },
  20359. "buymaxqty": {
  20360. "description": "购买上限 [71] - 0为不限",
  20361. "type": "integer"
  20362. },
  20363. "currency": {
  20364. "description": "货币",
  20365. "type": "string"
  20366. },
  20367. "currencysign": {
  20368. "description": "货币符号",
  20369. "type": "string"
  20370. },
  20371. "customername": {
  20372. "description": "发行单位",
  20373. "type": "string"
  20374. },
  20375. "decimalplace": {
  20376. "description": "报价小数位",
  20377. "type": "integer"
  20378. },
  20379. "desccityid": {
  20380. "description": "目的地(市)ID",
  20381. "type": "integer"
  20382. },
  20383. "descprovinceid": {
  20384. "description": "目的地(省)ID",
  20385. "type": "integer"
  20386. },
  20387. "enableqty": {
  20388. "description": "剩余数量",
  20389. "type": "integer"
  20390. },
  20391. "goodscode": {
  20392. "description": "商品代码(内部)",
  20393. "type": "string"
  20394. },
  20395. "goodsdesc": {
  20396. "description": "商品详情",
  20397. "type": "string"
  20398. },
  20399. "goodsid": {
  20400. "description": "商品ID(自增ID SEQ_GOODS)",
  20401. "type": "integer"
  20402. },
  20403. "goodsname": {
  20404. "description": "商品名称",
  20405. "type": "string"
  20406. },
  20407. "goodsstatus": {
  20408. "description": "商品状态- 2:未上市 3:上市",
  20409. "type": "integer"
  20410. },
  20411. "goodunit": {
  20412. "description": "报价单位",
  20413. "type": "string"
  20414. },
  20415. "lasttradedate": {
  20416. "description": "最后交易日期(状态:待退市)",
  20417. "type": "string"
  20418. },
  20419. "listingdate": {
  20420. "description": "交易开始日期",
  20421. "type": "string"
  20422. },
  20423. "lotsize": {
  20424. "description": "手数最小变动单位",
  20425. "type": "integer"
  20426. },
  20427. "marketid": {
  20428. "description": "所属市场ID",
  20429. "type": "integer"
  20430. },
  20431. "picurls": {
  20432. "description": "介绍图片[多张用逗号分隔]",
  20433. "type": "string"
  20434. },
  20435. "presaledqty": {
  20436. "description": "已预售量(预售结束时更新)",
  20437. "type": "integer"
  20438. },
  20439. "presaleqty": {
  20440. "description": "预售数量",
  20441. "type": "integer"
  20442. },
  20443. "quoteminunit": {
  20444. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20445. "type": "integer"
  20446. },
  20447. "refprice": {
  20448. "description": "参考价格[一口价]",
  20449. "type": "number"
  20450. },
  20451. "relatedgoodsid": {
  20452. "description": "关联交易合约ID",
  20453. "type": "integer"
  20454. },
  20455. "stepvalue": {
  20456. "description": "价格最小变动单位",
  20457. "type": "number"
  20458. },
  20459. "trademode": {
  20460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20461. "type": "integer"
  20462. },
  20463. "vendorattr": {
  20464. "description": "供应商附件(多张,逗号分隔)",
  20465. "type": "string"
  20466. },
  20467. "vendorname": {
  20468. "description": "供应商名称",
  20469. "type": "string"
  20470. },
  20471. "vendorphone": {
  20472. "description": "供应商客服电话",
  20473. "type": "string"
  20474. },
  20475. "videourls": {
  20476. "description": "介绍视频[多张用逗号分隔]",
  20477. "type": "string"
  20478. }
  20479. }
  20480. },
  20481. "models.HsbySellCollectionOrder": {
  20482. "type": "object",
  20483. "required": [
  20484. "goodscode",
  20485. "goodsname",
  20486. "tradeid",
  20487. "trademode"
  20488. ],
  20489. "properties": {
  20490. "agreeunit": {
  20491. "description": "合约单位",
  20492. "type": "number"
  20493. },
  20494. "buyaccountid": {
  20495. "description": "买方账号ID[报价币种]",
  20496. "type": "integer"
  20497. },
  20498. "buyorderid": {
  20499. "description": "买方委托单号",
  20500. "type": "string"
  20501. },
  20502. "createtime": {
  20503. "description": "创建时间",
  20504. "type": "string"
  20505. },
  20506. "currencysign": {
  20507. "description": "货币符号",
  20508. "type": "string"
  20509. },
  20510. "decimalplace": {
  20511. "description": "报价小数位",
  20512. "type": "integer"
  20513. },
  20514. "goodscode": {
  20515. "description": "商品代码(内部)",
  20516. "type": "string"
  20517. },
  20518. "goodsid": {
  20519. "description": "商品ID",
  20520. "type": "integer"
  20521. },
  20522. "goodsname": {
  20523. "description": "商品名称",
  20524. "type": "string"
  20525. },
  20526. "marketid": {
  20527. "description": "市场ID",
  20528. "type": "integer"
  20529. },
  20530. "offamount": {
  20531. "description": "优惠金额",
  20532. "type": "number"
  20533. },
  20534. "payamount": {
  20535. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20536. "type": "number"
  20537. },
  20538. "payflag": {
  20539. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20540. "type": "integer"
  20541. },
  20542. "paylimitedtime": {
  20543. "description": "支付期限",
  20544. "type": "string"
  20545. },
  20546. "paytime": {
  20547. "description": "付款时间",
  20548. "type": "string"
  20549. },
  20550. "picurls": {
  20551. "description": "商品介绍图片[多张用逗号分隔]",
  20552. "type": "string"
  20553. },
  20554. "sellaccountid": {
  20555. "description": "卖方账号ID[报价币种]",
  20556. "type": "integer"
  20557. },
  20558. "sellorderid": {
  20559. "description": "卖方委托单号",
  20560. "type": "string"
  20561. },
  20562. "tradeamount": {
  20563. "description": "成交金额",
  20564. "type": "number"
  20565. },
  20566. "tradecharge": {
  20567. "description": "成交手续费(买方)",
  20568. "type": "number"
  20569. },
  20570. "tradedate": {
  20571. "description": "交易日(yyyyMMdd)",
  20572. "type": "string"
  20573. },
  20574. "tradeid": {
  20575. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20576. "type": "string"
  20577. },
  20578. "trademode": {
  20579. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20580. "type": "integer"
  20581. },
  20582. "tradeprice": {
  20583. "description": "成交价格",
  20584. "type": "number"
  20585. },
  20586. "tradeqty": {
  20587. "description": "成交数量",
  20588. "type": "integer"
  20589. }
  20590. }
  20591. },
  20592. "models.HsbySellMyDetail": {
  20593. "type": "object",
  20594. "required": [
  20595. "accountid",
  20596. "buyorsell",
  20597. "goodscode",
  20598. "goodsid",
  20599. "goodsname",
  20600. "marketid",
  20601. "orderid",
  20602. "time",
  20603. "trademode"
  20604. ],
  20605. "properties": {
  20606. "accountid": {
  20607. "description": "账户ID[报价币种]",
  20608. "type": "integer"
  20609. },
  20610. "agreeunit": {
  20611. "description": "合约单位",
  20612. "type": "number"
  20613. },
  20614. "buyorsell": {
  20615. "description": "买卖 - 0:买 1:卖",
  20616. "type": "integer"
  20617. },
  20618. "currencysign": {
  20619. "description": "货币符号",
  20620. "type": "string"
  20621. },
  20622. "decimalplace": {
  20623. "description": "报价小数位",
  20624. "type": "integer"
  20625. },
  20626. "goodscode": {
  20627. "description": "商品代码(内部)",
  20628. "type": "string"
  20629. },
  20630. "goodsid": {
  20631. "description": "商品ID",
  20632. "type": "integer"
  20633. },
  20634. "goodsname": {
  20635. "description": "商品名称",
  20636. "type": "string"
  20637. },
  20638. "marketid": {
  20639. "description": "市场ID",
  20640. "type": "integer"
  20641. },
  20642. "orderid": {
  20643. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20644. "type": "string"
  20645. },
  20646. "ordertype": {
  20647. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20648. "type": "integer"
  20649. },
  20650. "picurls": {
  20651. "description": "介绍图片[多张用逗号分隔]",
  20652. "type": "string"
  20653. },
  20654. "price": {
  20655. "description": "价格",
  20656. "type": "number"
  20657. },
  20658. "qty": {
  20659. "description": "数量",
  20660. "type": "integer"
  20661. },
  20662. "time": {
  20663. "description": "时间",
  20664. "type": "string"
  20665. },
  20666. "trademode": {
  20667. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20668. "type": "integer"
  20669. },
  20670. "vendorname": {
  20671. "description": "供应商名称",
  20672. "type": "string"
  20673. }
  20674. }
  20675. },
  20676. "models.HsbyTopGoods": {
  20677. "type": "object",
  20678. "required": [
  20679. "goodscode",
  20680. "goodsid",
  20681. "goodsname",
  20682. "marketid",
  20683. "trademode"
  20684. ],
  20685. "properties": {
  20686. "agreeunit": {
  20687. "description": "合约单位",
  20688. "type": "number"
  20689. },
  20690. "currency": {
  20691. "description": "货币",
  20692. "type": "string"
  20693. },
  20694. "currencysign": {
  20695. "description": "货币符号",
  20696. "type": "string"
  20697. },
  20698. "decimalplace": {
  20699. "description": "报价小数位",
  20700. "type": "integer"
  20701. },
  20702. "desccityid": {
  20703. "description": "目的地(市)",
  20704. "type": "integer"
  20705. },
  20706. "descprovinceid": {
  20707. "description": "目的地(省)",
  20708. "type": "integer"
  20709. },
  20710. "goodscode": {
  20711. "description": "商品代码(内部)",
  20712. "type": "string"
  20713. },
  20714. "goodsid": {
  20715. "description": "商品ID(自增ID SEQ_GOODS)",
  20716. "type": "integer"
  20717. },
  20718. "goodsname": {
  20719. "description": "商品名称",
  20720. "type": "string"
  20721. },
  20722. "hotindex": {
  20723. "description": "景点热度",
  20724. "type": "integer"
  20725. },
  20726. "last": {
  20727. "description": "现价",
  20728. "type": "number"
  20729. },
  20730. "marketid": {
  20731. "description": "所属市场ID",
  20732. "type": "integer"
  20733. },
  20734. "picurls": {
  20735. "description": "介绍图片[多张用逗号分隔]",
  20736. "type": "string"
  20737. },
  20738. "quoteminunit": {
  20739. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20740. "type": "integer"
  20741. },
  20742. "trademode": {
  20743. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20744. "type": "integer"
  20745. },
  20746. "videourls": {
  20747. "description": "介绍视频[多张用逗号分隔]",
  20748. "type": "string"
  20749. }
  20750. }
  20751. },
  20752. "models.HybsMyBuyOrderDetail": {
  20753. "type": "object",
  20754. "required": [
  20755. "accountid",
  20756. "buyorsell",
  20757. "goodscode",
  20758. "goodsid",
  20759. "goodsname",
  20760. "marketid",
  20761. "orderid",
  20762. "orderqty",
  20763. "ordertime",
  20764. "trademode"
  20765. ],
  20766. "properties": {
  20767. "accountid": {
  20768. "description": "账户ID[报价币种]",
  20769. "type": "integer"
  20770. },
  20771. "agreeunit": {
  20772. "description": "合约单位",
  20773. "type": "number"
  20774. },
  20775. "buyorsell": {
  20776. "description": "买卖 - 0:买 1:卖",
  20777. "type": "integer"
  20778. },
  20779. "cancelqty": {
  20780. "description": "撤单数量",
  20781. "type": "integer"
  20782. },
  20783. "currencysign": {
  20784. "description": "货币符号",
  20785. "type": "string"
  20786. },
  20787. "decimalplace": {
  20788. "description": "报价小数位",
  20789. "type": "integer"
  20790. },
  20791. "goodscode": {
  20792. "description": "商品代码(内部)",
  20793. "type": "string"
  20794. },
  20795. "goodsid": {
  20796. "description": "商品ID",
  20797. "type": "integer"
  20798. },
  20799. "goodsname": {
  20800. "description": "商品名称",
  20801. "type": "string"
  20802. },
  20803. "listingselecttype": {
  20804. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20805. "type": "integer"
  20806. },
  20807. "marketid": {
  20808. "description": "市场ID",
  20809. "type": "integer"
  20810. },
  20811. "mybuystatus": {
  20812. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20813. "type": "integer"
  20814. },
  20815. "orderamount": {
  20816. "description": "委托金额",
  20817. "type": "number"
  20818. },
  20819. "orderid": {
  20820. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20821. "type": "string"
  20822. },
  20823. "orderprice": {
  20824. "description": "委托价格",
  20825. "type": "number"
  20826. },
  20827. "orderqty": {
  20828. "description": "委托数量",
  20829. "type": "integer"
  20830. },
  20831. "orderstatus": {
  20832. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20833. "type": "integer"
  20834. },
  20835. "ordertime": {
  20836. "description": "委托时间",
  20837. "type": "string"
  20838. },
  20839. "picurls1": {
  20840. "description": "预售商品介绍图片[多张用逗号分隔]",
  20841. "type": "string"
  20842. },
  20843. "picurls2": {
  20844. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20845. "type": "string"
  20846. },
  20847. "trademode": {
  20848. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20849. "type": "integer"
  20850. },
  20851. "tradeqty": {
  20852. "description": "成交数量",
  20853. "type": "integer"
  20854. },
  20855. "vendorname1": {
  20856. "description": "预售商品供应商名称",
  20857. "type": "string"
  20858. },
  20859. "vendorname2": {
  20860. "description": "挂牌商品供应商名称",
  20861. "type": "string"
  20862. }
  20863. }
  20864. },
  20865. "models.Loginaccount": {
  20866. "type": "object",
  20867. "required": [
  20868. "loginid"
  20869. ],
  20870. "properties": {
  20871. "canoutin": {
  20872. "description": "是否可出入金 - 0:不可 1:可",
  20873. "type": "integer"
  20874. },
  20875. "clientroleid": {
  20876. "description": "终端角色ID",
  20877. "type": "integer"
  20878. },
  20879. "haslogined": {
  20880. "description": "是否已登录 - 0:未登录 1:已登录",
  20881. "type": "integer"
  20882. },
  20883. "hasupdatedpwd": {
  20884. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20885. "type": "integer"
  20886. },
  20887. "lastloginip": {
  20888. "description": "最新登录地址",
  20889. "type": "string"
  20890. },
  20891. "lastloginmode": {
  20892. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20893. "type": "integer"
  20894. },
  20895. "lastloginremark": {
  20896. "description": "最新登录描述",
  20897. "type": "string"
  20898. },
  20899. "lastlogintime": {
  20900. "description": "最新登录时间",
  20901. "type": "string"
  20902. },
  20903. "logincode": {
  20904. "description": "登录代码",
  20905. "type": "string"
  20906. },
  20907. "loginfailnum": {
  20908. "description": "连续登录失败次数(登录成功时清零)",
  20909. "type": "integer"
  20910. },
  20911. "loginid": {
  20912. "description": "登陆账号",
  20913. "type": "integer"
  20914. },
  20915. "loginport": {
  20916. "description": "最新登录端口",
  20917. "type": "integer"
  20918. },
  20919. "loginstatus": {
  20920. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20921. "type": "integer"
  20922. },
  20923. "loginusertype": {
  20924. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20925. "type": "integer"
  20926. },
  20927. "modifierid": {
  20928. "description": "修改人",
  20929. "type": "integer"
  20930. },
  20931. "modifytime": {
  20932. "description": "修改时间",
  20933. "type": "string"
  20934. },
  20935. "pwdwrongcount": {
  20936. "description": "密码错误次数",
  20937. "type": "integer"
  20938. },
  20939. "taaccountrighttype": {
  20940. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20941. "type": "integer"
  20942. },
  20943. "unfreezetime": {
  20944. "description": "账户解冻时间",
  20945. "type": "string"
  20946. },
  20947. "userid": {
  20948. "description": "用户ID",
  20949. "type": "integer"
  20950. }
  20951. }
  20952. },
  20953. "models.MainAccountInfo": {
  20954. "type": "object",
  20955. "properties": {
  20956. "accountid": {
  20957. "description": "账号id",
  20958. "type": "integer"
  20959. },
  20960. "accountname": {
  20961. "description": "账号名称(taaccount表中的名称)",
  20962. "type": "string"
  20963. },
  20964. "appid": {
  20965. "description": "AppID",
  20966. "type": "string"
  20967. },
  20968. "authcode": {
  20969. "description": "授权码",
  20970. "type": "string"
  20971. },
  20972. "brokerid": {
  20973. "description": "经纪商id",
  20974. "type": "string"
  20975. },
  20976. "fcid": {
  20977. "description": "期货公司id",
  20978. "type": "integer"
  20979. },
  20980. "fcname": {
  20981. "description": "期货公司代码",
  20982. "type": "string"
  20983. },
  20984. "hedgeaccountcode": {
  20985. "description": "外部账号代码(主账号登录代码)",
  20986. "type": "string"
  20987. },
  20988. "hedgeaccountpwd": {
  20989. "description": "密码",
  20990. "type": "string"
  20991. },
  20992. "ismain": {
  20993. "description": "是否主账号",
  20994. "type": "integer"
  20995. },
  20996. "relateduserid": {
  20997. "description": "关联用户id",
  20998. "type": "integer"
  20999. },
  21000. "userid": {
  21001. "description": "关联用户id",
  21002. "type": "integer"
  21003. }
  21004. }
  21005. },
  21006. "models.Market": {
  21007. "type": "object",
  21008. "required": [
  21009. "marketid",
  21010. "marketstatus",
  21011. "openmethod",
  21012. "reckonpricealgorithm",
  21013. "trademode",
  21014. "tradeproperty"
  21015. ],
  21016. "properties": {
  21017. "auctionwrtype": {
  21018. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21019. "type": "integer"
  21020. },
  21021. "canacceptquote": {
  21022. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21023. "type": "integer"
  21024. },
  21025. "cangoodsexercise": {
  21026. "description": "[期权]是否可现货行权- 0:否 1:是",
  21027. "type": "integer"
  21028. },
  21029. "cangoodsexercisetype": {
  21030. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21031. "type": "integer"
  21032. },
  21033. "canmanualquotestrike": {
  21034. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21035. "type": "integer"
  21036. },
  21037. "canmutistage": {
  21038. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21039. "type": "integer"
  21040. },
  21041. "canpreexercise": {
  21042. "description": "[期权]是否可预申报- 0:否 1:是",
  21043. "type": "integer"
  21044. },
  21045. "clearinterval": {
  21046. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21047. "type": "integer"
  21048. },
  21049. "contracttmp": {
  21050. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21051. "type": "string"
  21052. },
  21053. "exchareaid": {
  21054. "description": "所属交易所,可以没有",
  21055. "type": "integer"
  21056. },
  21057. "goodstype": {
  21058. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21059. "type": "integer"
  21060. },
  21061. "hasrebate": {
  21062. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21063. "type": "integer"
  21064. },
  21065. "hastradecredit": {
  21066. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21067. "type": "integer"
  21068. },
  21069. "haswr": {
  21070. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21071. "type": "integer"
  21072. },
  21073. "isdeductmargin": {
  21074. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21075. "type": "integer"
  21076. },
  21077. "isrecordsource": {
  21078. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21079. "type": "integer"
  21080. },
  21081. "isreleasemargin": {
  21082. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21083. "type": "integer"
  21084. },
  21085. "marginformula": {
  21086. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21087. "type": "integer"
  21088. },
  21089. "marginformula2": {
  21090. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21091. "type": "integer"
  21092. },
  21093. "marketid": {
  21094. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21095. "type": "integer"
  21096. },
  21097. "marketname": {
  21098. "description": "市场名称",
  21099. "type": "string"
  21100. },
  21101. "marketserviceid": {
  21102. "description": "市场服务ID",
  21103. "type": "integer"
  21104. },
  21105. "marketstatus": {
  21106. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21107. "type": "integer"
  21108. },
  21109. "markettype": {
  21110. "description": "市场类型- 1:非交易服务 2:交易服务",
  21111. "type": "integer"
  21112. },
  21113. "matchermode": {
  21114. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21115. "type": "integer"
  21116. },
  21117. "openmethod": {
  21118. "description": "开盘模式 - 0 自动 1手动",
  21119. "type": "integer"
  21120. },
  21121. "otcuserid": {
  21122. "description": "场外期权做市商[场外期权]",
  21123. "type": "integer"
  21124. },
  21125. "outersynctime": {
  21126. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21127. "type": "string"
  21128. },
  21129. "pendingflag": {
  21130. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21131. "type": "integer"
  21132. },
  21133. "pendingtime": {
  21134. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21135. "type": "string"
  21136. },
  21137. "performancetempid": {
  21138. "description": "履约计划模板ID - 作废",
  21139. "type": "integer"
  21140. },
  21141. "premiumquotemode": {
  21142. "description": "权利金报价方式 - 1:自动 2:手动",
  21143. "type": "integer"
  21144. },
  21145. "rebateratio": {
  21146. "description": "返利比率[竞价式]",
  21147. "type": "number"
  21148. },
  21149. "reckonorder": {
  21150. "description": "结算顺序",
  21151. "type": "integer"
  21152. },
  21153. "reckonpricealgorithm": {
  21154. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21155. "type": "integer"
  21156. },
  21157. "reckonpriceparam": {
  21158. "description": "结算价参数",
  21159. "type": "integer"
  21160. },
  21161. "reckontime": {
  21162. "description": "结算时间[通道交易-对冲](HH:mm)",
  21163. "type": "string"
  21164. },
  21165. "roleprioritytype": {
  21166. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21167. "type": "integer"
  21168. },
  21169. "selllistingauditflag": {
  21170. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21171. "type": "integer"
  21172. },
  21173. "trademarkettype": {
  21174. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21175. "type": "integer"
  21176. },
  21177. "trademode": {
  21178. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21179. "type": "integer"
  21180. },
  21181. "tradeproperty": {
  21182. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21183. "type": "integer"
  21184. },
  21185. "tradetype": {
  21186. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21187. "type": "integer"
  21188. }
  21189. }
  21190. },
  21191. "models.Marketrun": {
  21192. "type": "object",
  21193. "required": [
  21194. "marketid",
  21195. "nexttradedate",
  21196. "reckonflag",
  21197. "runstatus",
  21198. "tradedate",
  21199. "tradedate2"
  21200. ],
  21201. "properties": {
  21202. "afternexttradedate": {
  21203. "description": "下下交易日",
  21204. "type": "string"
  21205. },
  21206. "clearquoteflag": {
  21207. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21208. "type": "integer"
  21209. },
  21210. "lastreckondate": {
  21211. "description": "最新交易日(结算成功)",
  21212. "type": "string"
  21213. },
  21214. "machinedate": {
  21215. "description": "机器时间",
  21216. "type": "string"
  21217. },
  21218. "manualflag": {
  21219. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21220. "type": "integer"
  21221. },
  21222. "marketid": {
  21223. "description": "市场ID",
  21224. "type": "integer"
  21225. },
  21226. "nexttradedate": {
  21227. "description": "下一交易日",
  21228. "type": "string"
  21229. },
  21230. "pretradedate": {
  21231. "description": "上一交易日",
  21232. "type": "string"
  21233. },
  21234. "reckonflag": {
  21235. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21236. "type": "integer"
  21237. },
  21238. "runstatus": {
  21239. "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.今日免清算",
  21240. "type": "integer"
  21241. },
  21242. "sectionid": {
  21243. "description": "时间段号[多时段时用]",
  21244. "type": "integer"
  21245. },
  21246. "tradedate": {
  21247. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21248. "type": "string"
  21249. },
  21250. "tradedate2": {
  21251. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21252. "type": "string"
  21253. },
  21254. "updatetime": {
  21255. "description": "更新时间",
  21256. "type": "string"
  21257. }
  21258. }
  21259. },
  21260. "models.Messageboard": {
  21261. "type": "object",
  21262. "required": [
  21263. "messageboardid"
  21264. ],
  21265. "properties": {
  21266. "contactnum": {
  21267. "description": "联系电话",
  21268. "type": "string"
  21269. },
  21270. "createtime": {
  21271. "description": "创建时间",
  21272. "type": "string"
  21273. },
  21274. "message": {
  21275. "description": "留言信息",
  21276. "type": "string"
  21277. },
  21278. "messageboardid": {
  21279. "description": "留言簿ID(SEQ_MessageBoard)",
  21280. "type": "integer"
  21281. },
  21282. "userid": {
  21283. "description": "用户ID",
  21284. "type": "integer"
  21285. }
  21286. }
  21287. },
  21288. "models.MyCoupon": {
  21289. "type": "object",
  21290. "required": [
  21291. "accountid",
  21292. "coupontypeid"
  21293. ],
  21294. "properties": {
  21295. "accountid": {
  21296. "description": "资金账户ID",
  21297. "type": "integer"
  21298. },
  21299. "areauserid": {
  21300. "description": "所属机构",
  21301. "type": "integer"
  21302. },
  21303. "conditionvalue": {
  21304. "description": "条件阈值(可为0)",
  21305. "type": "number"
  21306. },
  21307. "couponcategroy": {
  21308. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21309. "type": "integer"
  21310. },
  21311. "couponname": {
  21312. "description": "优惠券名称",
  21313. "type": "string"
  21314. },
  21315. "coupontypeid": {
  21316. "description": "优惠券类型ID",
  21317. "type": "string"
  21318. },
  21319. "couponvalue": {
  21320. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21321. "type": "number"
  21322. },
  21323. "curfreezeqty": {
  21324. "description": "期末冻结数量",
  21325. "type": "integer"
  21326. },
  21327. "curqty": {
  21328. "description": "期末数量",
  21329. "type": "integer"
  21330. },
  21331. "isgeneral": {
  21332. "description": "是否通用券 - 0:否 1:是",
  21333. "type": "integer"
  21334. },
  21335. "isunusable": {
  21336. "description": "是否不可用",
  21337. "type": "boolean"
  21338. },
  21339. "limitedflag": {
  21340. "description": "是否指定商品 - 0:不限 1:限制",
  21341. "type": "integer"
  21342. },
  21343. "limitedgoodsids": {
  21344. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21345. "type": "string"
  21346. },
  21347. "orifreezeqty": {
  21348. "description": "期初冻结数量",
  21349. "type": "integer"
  21350. },
  21351. "oriqty": {
  21352. "description": "期初数量",
  21353. "type": "integer"
  21354. },
  21355. "reasontype": {
  21356. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21357. "type": "integer"
  21358. },
  21359. "todaydecrease": {
  21360. "description": "今日减少",
  21361. "type": "integer"
  21362. },
  21363. "todayincrease": {
  21364. "description": "今日增加",
  21365. "type": "integer"
  21366. },
  21367. "userid": {
  21368. "description": "用户ID",
  21369. "type": "integer"
  21370. },
  21371. "userscope": {
  21372. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21373. "type": "string"
  21374. }
  21375. }
  21376. },
  21377. "models.MyCouponHold": {
  21378. "type": "object",
  21379. "required": [
  21380. "couponholdid"
  21381. ],
  21382. "properties": {
  21383. "accountid": {
  21384. "description": "资金账户ID",
  21385. "type": "integer"
  21386. },
  21387. "conditionvalue": {
  21388. "description": "条件阈值(可为0)",
  21389. "type": "number"
  21390. },
  21391. "couponcategroy": {
  21392. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21393. "type": "integer"
  21394. },
  21395. "couponholdid": {
  21396. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21397. "type": "string"
  21398. },
  21399. "couponname": {
  21400. "description": "优惠券名称",
  21401. "type": "string"
  21402. },
  21403. "coupontypeid": {
  21404. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21405. "type": "string"
  21406. },
  21407. "couponvalue": {
  21408. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21409. "type": "number"
  21410. },
  21411. "createtime": {
  21412. "description": "创建时间",
  21413. "type": "string"
  21414. },
  21415. "enddate": {
  21416. "description": "结束日期",
  21417. "type": "string"
  21418. },
  21419. "giveapplyid": {
  21420. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21421. "type": "integer"
  21422. },
  21423. "holdstatus": {
  21424. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21425. "type": "integer"
  21426. },
  21427. "isgeneral": {
  21428. "description": "是否通用券 - 0:否 1:是",
  21429. "type": "integer"
  21430. },
  21431. "limitedflag": {
  21432. "description": "是否指定商品 - 0:不限 1:限制",
  21433. "type": "integer"
  21434. },
  21435. "limitedgoodsids": {
  21436. "description": "指定商品IDs[逗号分隔]",
  21437. "type": "string"
  21438. },
  21439. "qty": {
  21440. "description": "数量(按1平铺)",
  21441. "type": "integer"
  21442. },
  21443. "startdate": {
  21444. "description": "开始日期",
  21445. "type": "string"
  21446. },
  21447. "userid": {
  21448. "description": "用户ID",
  21449. "type": "integer"
  21450. },
  21451. "userscope": {
  21452. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21453. "type": "string"
  21454. }
  21455. }
  21456. },
  21457. "models.MyUsedCoupon": {
  21458. "type": "object",
  21459. "required": [
  21460. "coupontypeid",
  21461. "orderid"
  21462. ],
  21463. "properties": {
  21464. "accountid": {
  21465. "description": "资金账户ID(买方)",
  21466. "type": "integer"
  21467. },
  21468. "conditionvalue": {
  21469. "description": "条件阈值(可为0)",
  21470. "type": "number"
  21471. },
  21472. "couponcategroy": {
  21473. "description": "种类 - 1:现金券 2:折扣券",
  21474. "type": "integer"
  21475. },
  21476. "couponname": {
  21477. "description": "优惠券名称",
  21478. "type": "string"
  21479. },
  21480. "coupontypeid": {
  21481. "description": "优惠券类型ID(买方)",
  21482. "type": "string"
  21483. },
  21484. "couponvalue": {
  21485. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21486. "type": "number"
  21487. },
  21488. "createtime": {
  21489. "description": "创建时间",
  21490. "type": "string"
  21491. },
  21492. "goodsid": {
  21493. "description": "商品ID",
  21494. "type": "integer"
  21495. },
  21496. "handlestatus": {
  21497. "description": "处理状态",
  21498. "type": "integer"
  21499. },
  21500. "marketid": {
  21501. "description": "市场ID",
  21502. "type": "integer"
  21503. },
  21504. "offamount": {
  21505. "description": "优惠金额",
  21506. "type": "number"
  21507. },
  21508. "orderid": {
  21509. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21510. "type": "string"
  21511. },
  21512. "sellaccountid": {
  21513. "description": "资金账户ID(卖方)",
  21514. "type": "integer"
  21515. },
  21516. "tradeamount": {
  21517. "description": "成交金额",
  21518. "type": "number"
  21519. },
  21520. "tradeid": {
  21521. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21522. "type": "string"
  21523. },
  21524. "usedqty": {
  21525. "description": "使用数量",
  21526. "type": "integer"
  21527. }
  21528. }
  21529. },
  21530. "models.OperationPrimaryMenu": {
  21531. "type": "object",
  21532. "properties": {
  21533. "Children": {
  21534. "description": "二级功能菜单",
  21535. "type": "array",
  21536. "items": {
  21537. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21538. }
  21539. },
  21540. "Key": {
  21541. "description": "菜单KEY",
  21542. "type": "string"
  21543. },
  21544. "Label": {
  21545. "description": "菜单标题",
  21546. "type": "string"
  21547. }
  21548. }
  21549. },
  21550. "models.OperationSecondaryMenu": {
  21551. "type": "object",
  21552. "properties": {
  21553. "Key": {
  21554. "description": "菜单KEY",
  21555. "type": "string"
  21556. },
  21557. "Label": {
  21558. "description": "菜单标题",
  21559. "type": "string"
  21560. },
  21561. "TabList": {
  21562. "description": "三级功能菜单",
  21563. "type": "array",
  21564. "items": {
  21565. "$ref": "#/definitions/models.OperationTabMenu"
  21566. }
  21567. }
  21568. }
  21569. },
  21570. "models.OperationTabMenu": {
  21571. "type": "object",
  21572. "properties": {
  21573. "Key": {
  21574. "description": "菜单KEY",
  21575. "type": "string"
  21576. },
  21577. "Label": {
  21578. "description": "菜单标题",
  21579. "type": "string"
  21580. }
  21581. }
  21582. },
  21583. "models.PendingAuditBizModel": {
  21584. "type": "object",
  21585. "properties": {
  21586. "accountid": {
  21587. "description": "现货账户",
  21588. "type": "string"
  21589. },
  21590. "areaname": {
  21591. "description": "所属部门",
  21592. "type": "string"
  21593. },
  21594. "bizid": {
  21595. "description": "业务ID",
  21596. "type": "string"
  21597. },
  21598. "bizname": {
  21599. "description": "业务名称",
  21600. "type": "string"
  21601. },
  21602. "status": {
  21603. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21604. "type": "integer"
  21605. },
  21606. "type": {
  21607. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21608. "type": "integer"
  21609. }
  21610. }
  21611. },
  21612. "models.QhjAccountOutInApply": {
  21613. "type": "object",
  21614. "properties": {
  21615. "accountcode": {
  21616. "description": "资金账号",
  21617. "type": "string"
  21618. },
  21619. "accountname": {
  21620. "description": "用户名称(名称)",
  21621. "type": "string"
  21622. },
  21623. "accountpwd": {
  21624. "description": "资金密码",
  21625. "type": "string"
  21626. },
  21627. "accountticket": {
  21628. "description": "最新账户服务流水号",
  21629. "type": "string"
  21630. },
  21631. "amount": {
  21632. "description": "金额",
  21633. "type": "number"
  21634. },
  21635. "applyremark": {
  21636. "description": "申请备注",
  21637. "type": "string"
  21638. },
  21639. "applystatus": {
  21640. "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: 复审通过,账户冻结金额检查中;",
  21641. "type": "integer"
  21642. },
  21643. "auditid": {
  21644. "description": "审核人",
  21645. "type": "integer"
  21646. },
  21647. "audittime": {
  21648. "description": "审核时间",
  21649. "type": "string"
  21650. },
  21651. "bank_apply_ticket": {
  21652. "description": "银行申请流水",
  21653. "type": "string"
  21654. },
  21655. "bankaccountname": {
  21656. "description": "银行账户名",
  21657. "type": "string"
  21658. },
  21659. "bankaccountno": {
  21660. "description": "银行卡号",
  21661. "type": "string"
  21662. },
  21663. "bankid": {
  21664. "description": "银行编号",
  21665. "type": "string"
  21666. },
  21667. "bankticket": {
  21668. "description": "银行流水",
  21669. "type": "string"
  21670. },
  21671. "branchbankid": {
  21672. "description": "银行支行号",
  21673. "type": "string"
  21674. },
  21675. "branchbankname": {
  21676. "description": "银行支行名称",
  21677. "type": "string"
  21678. },
  21679. "capamountout": {
  21680. "description": "出金(劣后本金) - 外部子账户",
  21681. "type": "number"
  21682. },
  21683. "certificatephotourl": {
  21684. "description": "凭证地址",
  21685. "type": "string"
  21686. },
  21687. "charge": {
  21688. "description": "手续费",
  21689. "type": "number"
  21690. },
  21691. "checkerrorflag": {
  21692. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  21693. "type": "integer"
  21694. },
  21695. "currency": {
  21696. "description": "币种",
  21697. "type": "string"
  21698. },
  21699. "cusbankid": {
  21700. "description": "托管银行编号",
  21701. "type": "string"
  21702. },
  21703. "exchticket": {
  21704. "description": "银行服务流水号",
  21705. "type": "string"
  21706. },
  21707. "executetype": {
  21708. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  21709. "type": "integer"
  21710. },
  21711. "extendinfo": {
  21712. "description": "扩展信息",
  21713. "type": "string"
  21714. },
  21715. "extoperateid": {
  21716. "description": "交易服务流水号",
  21717. "type": "integer"
  21718. },
  21719. "infamount": {
  21720. "description": "劣后金额(自有)",
  21721. "type": "number"
  21722. },
  21723. "logincode": {
  21724. "description": "登录账号(账号)",
  21725. "type": "string"
  21726. },
  21727. "netaddr": {
  21728. "description": "调转网址",
  21729. "type": "string"
  21730. },
  21731. "priamount": {
  21732. "description": "优先金额(授信)",
  21733. "type": "number"
  21734. },
  21735. "reauditid": {
  21736. "description": "复审人",
  21737. "type": "integer"
  21738. },
  21739. "reauditremark": {
  21740. "description": "复审备注",
  21741. "type": "string"
  21742. },
  21743. "reaudittime": {
  21744. "description": "复审时间",
  21745. "type": "string"
  21746. },
  21747. "relatedorderid": {
  21748. "description": "三方关联ID",
  21749. "type": "string"
  21750. },
  21751. "remark": {
  21752. "description": "备注",
  21753. "type": "string"
  21754. },
  21755. "remark2": {
  21756. "description": "备注(失败原因)",
  21757. "type": "string"
  21758. },
  21759. "soucreamount": {
  21760. "description": "原始出入金金额",
  21761. "type": "number"
  21762. },
  21763. "soucrecurrencyid": {
  21764. "description": "原始出入金币种",
  21765. "type": "integer"
  21766. },
  21767. "tradedate": {
  21768. "description": "交易日(yyyyMMdd)",
  21769. "type": "string"
  21770. },
  21771. "updatetime": {
  21772. "description": "更新时间(申请时间)",
  21773. "type": "string"
  21774. },
  21775. "userid": {
  21776. "description": "用户id",
  21777. "type": "integer"
  21778. },
  21779. "userinfotype": {
  21780. "description": "账户类型 1-个人 2-企业",
  21781. "type": "integer"
  21782. }
  21783. }
  21784. },
  21785. "models.QhjBankAccountSign": {
  21786. "type": "object",
  21787. "properties": {
  21788. "accountcode": {
  21789. "description": "资金账号",
  21790. "type": "string"
  21791. },
  21792. "accountname": {
  21793. "description": "资金账号对应的账号名(UserName)",
  21794. "type": "string"
  21795. },
  21796. "accounttype": {
  21797. "description": "账户类型(UserType)",
  21798. "type": "integer"
  21799. },
  21800. "applicationtime": {
  21801. "description": "最后一次更新的时间",
  21802. "type": "string"
  21803. },
  21804. "applyexchticket": {
  21805. "description": "申请流水",
  21806. "type": "string"
  21807. },
  21808. "auditid": {
  21809. "description": "审核人",
  21810. "type": "integer"
  21811. },
  21812. "audittime": {
  21813. "description": "审核时间",
  21814. "type": "string"
  21815. },
  21816. "bankaccountname": {
  21817. "description": "签约银行卡账号名",
  21818. "type": "string"
  21819. },
  21820. "bankaccountno": {
  21821. "description": "银行卡号",
  21822. "type": "string"
  21823. },
  21824. "bankaccounttype": {
  21825. "description": "银行账户类型 - 1-对私; 2-对公",
  21826. "type": "integer"
  21827. },
  21828. "bankcardtype": {
  21829. "description": "银行卡类型",
  21830. "type": "integer"
  21831. },
  21832. "bankchildaccount": {
  21833. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  21834. "type": "string"
  21835. },
  21836. "bankcity": {
  21837. "description": "开户行城市",
  21838. "type": "string"
  21839. },
  21840. "bankid": {
  21841. "description": "签约银行ID",
  21842. "type": "string"
  21843. },
  21844. "bankprovince": {
  21845. "description": "开户行省份",
  21846. "type": "string"
  21847. },
  21848. "branchbankid": {
  21849. "description": "签约银行支行号",
  21850. "type": "string"
  21851. },
  21852. "branchbankname": {
  21853. "description": "签约银行支行名称",
  21854. "type": "string"
  21855. },
  21856. "cardno": {
  21857. "description": "证件号码",
  21858. "type": "string"
  21859. },
  21860. "cardtype": {
  21861. "description": "证件类型",
  21862. "type": "string"
  21863. },
  21864. "currency": {
  21865. "description": "币种",
  21866. "type": "string"
  21867. },
  21868. "cusbankid": {
  21869. "description": "托管银行编号",
  21870. "type": "string"
  21871. },
  21872. "direct": {
  21873. "description": "方向(可以判断那方先发起的签约)",
  21874. "type": "integer"
  21875. },
  21876. "exchticket": {
  21877. "description": "最后一次签约成功的流水号",
  21878. "type": "string"
  21879. },
  21880. "extendinfo": {
  21881. "description": "扩展信息(JSON字符串)",
  21882. "type": "string"
  21883. },
  21884. "mobilephone": {
  21885. "description": "手机号",
  21886. "type": "string"
  21887. },
  21888. "netaddr": {
  21889. "description": "调转网址",
  21890. "type": "string"
  21891. },
  21892. "relateduserid": {
  21893. "description": "关联使用者userid",
  21894. "type": "integer"
  21895. },
  21896. "signstatus": {
  21897. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  21898. "type": "integer"
  21899. },
  21900. "updatetime": {
  21901. "description": "更新时间(签解约更新时间)",
  21902. "type": "string"
  21903. }
  21904. }
  21905. },
  21906. "models.QhjBankInfo": {
  21907. "type": "object",
  21908. "properties": {
  21909. "bankid": {
  21910. "description": "银行ID",
  21911. "type": "string"
  21912. },
  21913. "bankname": {
  21914. "description": "银行名称",
  21915. "type": "string"
  21916. },
  21917. "clearbankno": {
  21918. "description": "清算系统银行编号",
  21919. "type": "string"
  21920. },
  21921. "orderindex": {
  21922. "description": "排序顺序",
  21923. "type": "integer"
  21924. },
  21925. "status": {
  21926. "description": "状态 - 0:正常 1:注销",
  21927. "type": "integer"
  21928. }
  21929. }
  21930. },
  21931. "models.QhjContract": {
  21932. "type": "object",
  21933. "properties": {
  21934. "contractconfirmtime": {
  21935. "description": "合同确认时间(时间)",
  21936. "type": "string"
  21937. },
  21938. "enumdicname": {
  21939. "description": "单位名称",
  21940. "type": "string"
  21941. },
  21942. "goodscode": {
  21943. "description": "商品代码",
  21944. "type": "string"
  21945. },
  21946. "goodsid": {
  21947. "description": "商品ID [5:融资单]",
  21948. "type": "integer"
  21949. },
  21950. "goodsname": {
  21951. "description": "商品名称",
  21952. "type": "string"
  21953. },
  21954. "goodunitid": {
  21955. "description": "商品单位id",
  21956. "type": "integer"
  21957. },
  21958. "initmargin": {
  21959. "description": "初始保证金(首付款)",
  21960. "type": "number"
  21961. },
  21962. "lenderamount": {
  21963. "description": "贷款金额(总额|订单总额)",
  21964. "type": "number"
  21965. },
  21966. "marginratio": {
  21967. "description": "保证金比率(首付比例)",
  21968. "type": "number"
  21969. },
  21970. "payamount": {
  21971. "description": "已付(已付货款)",
  21972. "type": "number"
  21973. },
  21974. "recoveredmargin": {
  21975. "description": "已追缴保证金",
  21976. "type": "number"
  21977. },
  21978. "remainamount": {
  21979. "description": "合同剩余金额(融资额)",
  21980. "type": "number"
  21981. },
  21982. "scfcontractid": {
  21983. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21984. "type": "integer"
  21985. },
  21986. "scfcontracttype": {
  21987. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  21988. "type": "integer"
  21989. },
  21990. "totalinterest": {
  21991. "description": "已计总利息(利息)",
  21992. "type": "number"
  21993. },
  21994. "tradeprice": {
  21995. "description": "成交价格(成本价格)",
  21996. "type": "number"
  21997. },
  21998. "userid": {
  21999. "description": "用户ID",
  22000. "type": "integer"
  22001. },
  22002. "username": {
  22003. "description": "用户名称",
  22004. "type": "string"
  22005. },
  22006. "wrqty": {
  22007. "description": "仓单数量(数量)",
  22008. "type": "integer"
  22009. }
  22010. }
  22011. },
  22012. "models.QhjContractLog": {
  22013. "type": "object",
  22014. "properties": {
  22015. "amount": {
  22016. "description": "支付金额",
  22017. "type": "number"
  22018. },
  22019. "amounttype": {
  22020. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22021. "type": "integer"
  22022. },
  22023. "logid": {
  22024. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22025. "type": "string"
  22026. },
  22027. "remainamount": {
  22028. "description": "剩余货款",
  22029. "type": "number"
  22030. },
  22031. "scfcontractid": {
  22032. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22033. "type": "integer"
  22034. },
  22035. "updatetime": {
  22036. "description": "更新时间",
  22037. "type": "string"
  22038. }
  22039. }
  22040. },
  22041. "models.QhjCusBankSignBankEx": {
  22042. "type": "object",
  22043. "properties": {
  22044. "banklst": {
  22045. "description": "银行列表",
  22046. "type": "array",
  22047. "items": {
  22048. "$ref": "#/definitions/models.QhjBankInfo"
  22049. }
  22050. },
  22051. "canallot": {
  22052. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22053. "type": "integer"
  22054. },
  22055. "canallotquery": {
  22056. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22057. "type": "integer"
  22058. },
  22059. "canbindcard": {
  22060. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22061. "type": "integer"
  22062. },
  22063. "caninamount": {
  22064. "description": "是否可入金 - 0:不可 1:可以",
  22065. "type": "integer"
  22066. },
  22067. "caninamount2": {
  22068. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22069. "type": "integer"
  22070. },
  22071. "canmodifybankcard": {
  22072. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22073. "type": "integer"
  22074. },
  22075. "canmodifyphone": {
  22076. "description": "是否可修改手机号 - 0:不可 1:可以",
  22077. "type": "integer"
  22078. },
  22079. "canmodifysigninfo": {
  22080. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22081. "type": "integer"
  22082. },
  22083. "canoutamount": {
  22084. "description": "是否可出金 - 0:不可 1:可以",
  22085. "type": "integer"
  22086. },
  22087. "canoutamount2": {
  22088. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22089. "type": "integer"
  22090. },
  22091. "canrelease": {
  22092. "description": "是否可解约 - 0:不可 1:可以",
  22093. "type": "integer"
  22094. },
  22095. "canrelease2": {
  22096. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22097. "type": "integer"
  22098. },
  22099. "cansign": {
  22100. "description": "是否可签约 - 0:不可 1:可以",
  22101. "type": "integer"
  22102. },
  22103. "cansign2": {
  22104. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22105. "type": "integer"
  22106. },
  22107. "currency": {
  22108. "description": "币种",
  22109. "type": "string"
  22110. },
  22111. "cusbankid": {
  22112. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22113. "type": "string"
  22114. },
  22115. "cusbankname": {
  22116. "description": "银行业务名称",
  22117. "type": "string"
  22118. },
  22119. "cusbankshortname": {
  22120. "description": "银行业务简称",
  22121. "type": "string"
  22122. },
  22123. "exchbankid": {
  22124. "description": "交易所开户银行ID",
  22125. "type": "string"
  22126. },
  22127. "exchpaybankaccname": {
  22128. "description": "交易所支出结算账户户名",
  22129. "type": "string"
  22130. },
  22131. "exchpaybankaccno": {
  22132. "description": "交易所支出结算账户",
  22133. "type": "string"
  22134. },
  22135. "isneedcheck": {
  22136. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22137. "type": "integer"
  22138. },
  22139. "isneedclear": {
  22140. "description": "是否需要清算 - 0:不需要 1:需要",
  22141. "type": "integer"
  22142. },
  22143. "riskinfo": {
  22144. "description": "签约风险提示书",
  22145. "type": "string"
  22146. }
  22147. }
  22148. },
  22149. "models.QhjCustomer": {
  22150. "type": "object",
  22151. "properties": {
  22152. "address": {
  22153. "description": "通讯地址",
  22154. "type": "string"
  22155. },
  22156. "attachment1": {
  22157. "description": "附件1",
  22158. "type": "string"
  22159. },
  22160. "audittime": {
  22161. "description": "审核时间",
  22162. "type": "string"
  22163. },
  22164. "cardbackphotourl": {
  22165. "description": "证件反面图片地址",
  22166. "type": "string"
  22167. },
  22168. "cardfrontphotourl": {
  22169. "description": "证件正面图片地址",
  22170. "type": "string"
  22171. },
  22172. "cardnum": {
  22173. "description": "证件号码",
  22174. "type": "string"
  22175. },
  22176. "cardtype": {
  22177. "description": "证件类型",
  22178. "type": "integer"
  22179. },
  22180. "cardtypename": {
  22181. "description": "证件类型名称",
  22182. "type": "string"
  22183. },
  22184. "cityid": {
  22185. "description": "市",
  22186. "type": "integer"
  22187. },
  22188. "cityname": {
  22189. "description": "城市名称",
  22190. "type": "string"
  22191. },
  22192. "contactname": {
  22193. "description": "联系人",
  22194. "type": "string"
  22195. },
  22196. "countryid": {
  22197. "description": "国家",
  22198. "type": "integer"
  22199. },
  22200. "countryname": {
  22201. "description": "国家名称",
  22202. "type": "string"
  22203. },
  22204. "createtime": {
  22205. "description": "创建时间",
  22206. "type": "string"
  22207. },
  22208. "customername": {
  22209. "description": "客户名称",
  22210. "type": "string"
  22211. },
  22212. "districtid": {
  22213. "description": "区域",
  22214. "type": "integer"
  22215. },
  22216. "districtname": {
  22217. "description": "地区名称",
  22218. "type": "string"
  22219. },
  22220. "email": {
  22221. "description": "邮件",
  22222. "type": "string"
  22223. },
  22224. "legalpersonname": {
  22225. "description": "法人姓名(企业)",
  22226. "type": "string"
  22227. },
  22228. "memberuserid": {
  22229. "description": "所属机构ID(所属会员)",
  22230. "type": "integer"
  22231. },
  22232. "memberusername": {
  22233. "description": "所属会员名称",
  22234. "type": "string"
  22235. },
  22236. "mobile": {
  22237. "description": "手机号码",
  22238. "type": "string"
  22239. },
  22240. "modifytime": {
  22241. "description": "修改时间",
  22242. "type": "string"
  22243. },
  22244. "nickname": {
  22245. "description": "昵称",
  22246. "type": "string"
  22247. },
  22248. "parentuserid": {
  22249. "description": "上级机构(所属机构)",
  22250. "type": "integer"
  22251. },
  22252. "parentusername": {
  22253. "description": "所属机构名称",
  22254. "type": "string"
  22255. },
  22256. "provinceid": {
  22257. "description": "省",
  22258. "type": "integer"
  22259. },
  22260. "provincename": {
  22261. "description": "省名称",
  22262. "type": "string"
  22263. },
  22264. "remark": {
  22265. "description": "备注",
  22266. "type": "string"
  22267. },
  22268. "status": {
  22269. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22270. "type": "integer"
  22271. },
  22272. "statusdesc": {
  22273. "description": "账户状态中文描述",
  22274. "type": "string"
  22275. },
  22276. "taxpayernum": {
  22277. "description": "纳税人识别号",
  22278. "type": "string"
  22279. },
  22280. "telphone": {
  22281. "description": "联系电话",
  22282. "type": "string"
  22283. },
  22284. "userid": {
  22285. "description": "用户ID",
  22286. "type": "integer"
  22287. },
  22288. "userinfotype": {
  22289. "description": "客户类型 1-个人 2-企业",
  22290. "type": "integer"
  22291. },
  22292. "username": {
  22293. "description": "用户名称",
  22294. "type": "string"
  22295. }
  22296. }
  22297. },
  22298. "models.QhjPayOrder": {
  22299. "type": "object",
  22300. "properties": {
  22301. "buyaccountid": {
  22302. "description": "买方账号ID[报价币种]",
  22303. "type": "integer"
  22304. },
  22305. "buyorderid": {
  22306. "description": "买方委托单号",
  22307. "type": "string"
  22308. },
  22309. "createtime": {
  22310. "description": "创建时间",
  22311. "type": "string"
  22312. },
  22313. "goodscode": {
  22314. "description": "商品代码",
  22315. "type": "string"
  22316. },
  22317. "goodsid": {
  22318. "description": "商品ID",
  22319. "type": "integer"
  22320. },
  22321. "goodsname": {
  22322. "description": "商品名称",
  22323. "type": "string"
  22324. },
  22325. "marketid": {
  22326. "description": "市场ID",
  22327. "type": "integer"
  22328. },
  22329. "offamount": {
  22330. "description": "优惠金额",
  22331. "type": "number"
  22332. },
  22333. "operatetype": {
  22334. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  22335. "type": "integer"
  22336. },
  22337. "payamount": {
  22338. "description": "支付金额=TradeAmount + TradeCharge",
  22339. "type": "number"
  22340. },
  22341. "payflag": {
  22342. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22343. "type": "integer"
  22344. },
  22345. "paylimitedtime": {
  22346. "description": "支付期限",
  22347. "type": "string"
  22348. },
  22349. "paytime": {
  22350. "description": "付款时间",
  22351. "type": "string"
  22352. },
  22353. "sellaccountid": {
  22354. "description": "卖方账号ID[报价币种]",
  22355. "type": "integer"
  22356. },
  22357. "sellorderid": {
  22358. "description": "卖方委托单号",
  22359. "type": "string"
  22360. },
  22361. "tradeamount": {
  22362. "description": "成交金额(优惠后金额)",
  22363. "type": "number"
  22364. },
  22365. "tradecharge": {
  22366. "description": "成交手续费(买方)",
  22367. "type": "number"
  22368. },
  22369. "tradedate": {
  22370. "description": "交易日(yyyyMMdd)",
  22371. "type": "string"
  22372. },
  22373. "tradeid": {
  22374. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22375. "type": "string"
  22376. },
  22377. "tradeprice": {
  22378. "description": "成交价格",
  22379. "type": "number"
  22380. },
  22381. "tradeqty": {
  22382. "description": "成交数量",
  22383. "type": "integer"
  22384. }
  22385. }
  22386. },
  22387. "models.QhjPickArea": {
  22388. "type": "object",
  22389. "properties": {
  22390. "cityid": {
  22391. "description": "市",
  22392. "type": "integer"
  22393. },
  22394. "cityname": {
  22395. "description": "城市名称",
  22396. "type": "string"
  22397. },
  22398. "countryid": {
  22399. "description": "国家",
  22400. "type": "integer"
  22401. },
  22402. "countryname": {
  22403. "description": "国家名称",
  22404. "type": "string"
  22405. },
  22406. "districtid": {
  22407. "description": "地区",
  22408. "type": "integer"
  22409. },
  22410. "districtname": {
  22411. "description": "地区名称",
  22412. "type": "string"
  22413. },
  22414. "fromuserid": {
  22415. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22416. "type": "integer"
  22417. },
  22418. "fromusername": {
  22419. "description": "所属机构名称",
  22420. "type": "string"
  22421. },
  22422. "provinceid": {
  22423. "description": "省",
  22424. "type": "integer"
  22425. },
  22426. "provincename": {
  22427. "description": "省名称",
  22428. "type": "string"
  22429. },
  22430. "suborgtype": {
  22431. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22432. "type": "integer"
  22433. },
  22434. "userid": {
  22435. "description": "机构用户ID 其他做市关系,都设置为 1",
  22436. "type": "integer"
  22437. },
  22438. "username": {
  22439. "description": "机构用户名称(门店门称)",
  22440. "type": "string"
  22441. }
  22442. }
  22443. },
  22444. "models.QhjPickGoods": {
  22445. "type": "object",
  22446. "properties": {
  22447. "imageaddress": {
  22448. "description": "图片",
  22449. "type": "string"
  22450. },
  22451. "modifierid": {
  22452. "description": "修改人",
  22453. "type": "integer"
  22454. },
  22455. "modifiername": {
  22456. "description": "修改人名称",
  22457. "type": "string"
  22458. },
  22459. "modifysrc": {
  22460. "description": "修改来源 - 1:管理端 2:终端",
  22461. "type": "integer"
  22462. },
  22463. "pickupgoodsagreeunit": {
  22464. "description": "合约乘数",
  22465. "type": "number"
  22466. },
  22467. "pickupgoodsdesc": {
  22468. "description": "描述",
  22469. "type": "string"
  22470. },
  22471. "pickupgoodsid": {
  22472. "description": "提货商品ID",
  22473. "type": "string"
  22474. },
  22475. "pickupgoodsname": {
  22476. "description": "提货商品名称",
  22477. "type": "string"
  22478. },
  22479. "pickupgoodsstatus": {
  22480. "description": "状态 - 1:正常 2:停用 3:注销",
  22481. "type": "integer"
  22482. },
  22483. "pickupgoodsunitid": {
  22484. "description": "单位ID",
  22485. "type": "integer"
  22486. },
  22487. "preparedays": {
  22488. "description": "备货期(天)",
  22489. "type": "integer"
  22490. },
  22491. "remark": {
  22492. "description": "备注",
  22493. "type": "string"
  22494. },
  22495. "updatetime": {
  22496. "description": "更新时间",
  22497. "type": "string"
  22498. }
  22499. }
  22500. },
  22501. "models.QhjRSTriggerLog": {
  22502. "type": "object",
  22503. "properties": {
  22504. "accountid": {
  22505. "description": "用户资金账户",
  22506. "type": "integer"
  22507. },
  22508. "accountname": {
  22509. "description": "账号名称(ACCOUNTID对应的名称)",
  22510. "type": "string"
  22511. },
  22512. "currencyid": {
  22513. "description": "币种id",
  22514. "type": "integer"
  22515. },
  22516. "currencyname": {
  22517. "description": "币种名称",
  22518. "type": "string"
  22519. },
  22520. "enumdicname": {
  22521. "description": "单位名称",
  22522. "type": "string"
  22523. },
  22524. "goodscode": {
  22525. "description": "定投商品代码",
  22526. "type": "string"
  22527. },
  22528. "goodsid": {
  22529. "description": "定投商品ID",
  22530. "type": "string"
  22531. },
  22532. "goodsname": {
  22533. "description": "定投商品名称",
  22534. "type": "string"
  22535. },
  22536. "goodunitid": {
  22537. "description": "定投商品单位id",
  22538. "type": "integer"
  22539. },
  22540. "logid": {
  22541. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  22542. "type": "string"
  22543. },
  22544. "regularlycycle": {
  22545. "description": "定投频率 - 1:每周 2:每月",
  22546. "type": "integer"
  22547. },
  22548. "regularlycyclevalue": {
  22549. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22550. "type": "string"
  22551. },
  22552. "regularlymode": {
  22553. "description": "定投方式 - 1:按数量 2:按金额",
  22554. "type": "integer"
  22555. },
  22556. "regularlymodevalue": {
  22557. "description": "定投方式值 - 数量或金额",
  22558. "type": "number"
  22559. },
  22560. "regularlystrategyid": {
  22561. "description": "定投策略ID",
  22562. "type": "integer"
  22563. },
  22564. "retcode": {
  22565. "description": "错误码",
  22566. "type": "string"
  22567. },
  22568. "tradeid": {
  22569. "description": "成交单ID",
  22570. "type": "string"
  22571. },
  22572. "triggeramount": {
  22573. "description": "触发金额",
  22574. "type": "number"
  22575. },
  22576. "triggerqty": {
  22577. "description": "触发数量",
  22578. "type": "number"
  22579. },
  22580. "triggerstatus": {
  22581. "description": "触发状态 - 1:成功 2:失败",
  22582. "type": "integer"
  22583. },
  22584. "triggertime": {
  22585. "description": "触发时间",
  22586. "type": "string"
  22587. },
  22588. "triggertradedate": {
  22589. "description": "触发交易日",
  22590. "type": "string"
  22591. },
  22592. "userid": {
  22593. "description": "所属用户ID",
  22594. "type": "integer"
  22595. },
  22596. "username": {
  22597. "description": "用户名称(userid对应的名称)",
  22598. "type": "string"
  22599. }
  22600. }
  22601. },
  22602. "models.QhjRStrategy": {
  22603. "type": "object",
  22604. "properties": {
  22605. "accountid": {
  22606. "description": "用户资金账户",
  22607. "type": "integer"
  22608. },
  22609. "accountname": {
  22610. "description": "账号名称(ACCOUNTID对应的名称)",
  22611. "type": "string"
  22612. },
  22613. "currencyid": {
  22614. "description": "币种id",
  22615. "type": "integer"
  22616. },
  22617. "currencyname": {
  22618. "description": "币种名称",
  22619. "type": "string"
  22620. },
  22621. "enumdicname": {
  22622. "description": "单位名称",
  22623. "type": "string"
  22624. },
  22625. "goodscode": {
  22626. "description": "定投商品代码",
  22627. "type": "string"
  22628. },
  22629. "goodsid": {
  22630. "description": "定投商品ID",
  22631. "type": "string"
  22632. },
  22633. "goodsname": {
  22634. "description": "定投商品名称",
  22635. "type": "string"
  22636. },
  22637. "goodunitid": {
  22638. "description": "定投商品单位id",
  22639. "type": "integer"
  22640. },
  22641. "lasteffecttradedate": {
  22642. "description": "最新生效交易日",
  22643. "type": "string"
  22644. },
  22645. "laststoptradedate": {
  22646. "description": "最新暂停交易日",
  22647. "type": "string"
  22648. },
  22649. "lasttriggertradedate": {
  22650. "description": "最新触发交易日",
  22651. "type": "string"
  22652. },
  22653. "nexttriggeramount": {
  22654. "description": "下次触发金额",
  22655. "type": "number"
  22656. },
  22657. "nexttriggerdate": {
  22658. "description": "下次触发日期",
  22659. "type": "string"
  22660. },
  22661. "nexttriggerqty": {
  22662. "description": "下次触发数量 [按小数位放大值]",
  22663. "type": "number"
  22664. },
  22665. "regularlycycle": {
  22666. "description": "定投频率 - 1:每周 2:每月",
  22667. "type": "integer"
  22668. },
  22669. "regularlycyclevalue": {
  22670. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22671. "type": "string"
  22672. },
  22673. "regularlymode": {
  22674. "description": "定投方式 - 1:按数量 2:按金额",
  22675. "type": "integer"
  22676. },
  22677. "regularlymodevalue": {
  22678. "description": "定投方式值 - 数量或金额",
  22679. "type": "number"
  22680. },
  22681. "regularlystrategyid": {
  22682. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  22683. "type": "integer"
  22684. },
  22685. "regularlystrategystatus": {
  22686. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  22687. "type": "integer"
  22688. },
  22689. "remark": {
  22690. "description": "备注",
  22691. "type": "string"
  22692. },
  22693. "triggersuccesstimes": {
  22694. "description": "累计定投成功次数",
  22695. "type": "string"
  22696. },
  22697. "triggertotalamount": {
  22698. "description": "累计定投金额(成功)",
  22699. "type": "number"
  22700. },
  22701. "triggertotalqty": {
  22702. "description": "累计定投数量(成功) [按小数位放大值]",
  22703. "type": "number"
  22704. },
  22705. "triggertotaltimes": {
  22706. "description": "累计定投总次数",
  22707. "type": "string"
  22708. },
  22709. "updatesrc": {
  22710. "description": "更新来源 - 1:管理端 2:终端",
  22711. "type": "integer"
  22712. },
  22713. "updatetime": {
  22714. "description": "更新时间",
  22715. "type": "string"
  22716. },
  22717. "updatorid": {
  22718. "description": "更新人",
  22719. "type": "string"
  22720. },
  22721. "userid": {
  22722. "description": "所属用户ID",
  22723. "type": "integer"
  22724. },
  22725. "username": {
  22726. "description": "用户名称(userid对应的名称)",
  22727. "type": "string"
  22728. }
  22729. }
  22730. },
  22731. "models.QhjReckonPriceLog": {
  22732. "type": "object",
  22733. "properties": {
  22734. "goodsid": {
  22735. "description": "商品ID",
  22736. "type": "integer"
  22737. },
  22738. "lastreckonprice": {
  22739. "description": "上日结算价",
  22740. "type": "number"
  22741. },
  22742. "nextdnlimitprice": {
  22743. "description": "下个交易日跌停价",
  22744. "type": "number"
  22745. },
  22746. "nexttrade": {
  22747. "description": "下个交易日",
  22748. "type": "string"
  22749. },
  22750. "nextuplimitprice": {
  22751. "description": "下个交易日涨停价",
  22752. "type": "number"
  22753. },
  22754. "reckonprice": {
  22755. "description": "今日结算价(定投价)",
  22756. "type": "number"
  22757. },
  22758. "reckontime": {
  22759. "description": "结算时间",
  22760. "type": "string"
  22761. },
  22762. "totalholderqty": {
  22763. "description": "总持仓数",
  22764. "type": "integer"
  22765. },
  22766. "totalstock": {
  22767. "description": "总库存",
  22768. "type": "integer"
  22769. },
  22770. "tradedate": {
  22771. "description": "交易日",
  22772. "type": "string"
  22773. },
  22774. "updowncount": {
  22775. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  22776. "type": "integer"
  22777. },
  22778. "updownflag": {
  22779. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  22780. "type": "integer"
  22781. },
  22782. "updownrate": {
  22783. "description": "今日涨跌幅",
  22784. "type": "number"
  22785. },
  22786. "updownrate_2d": {
  22787. "description": "连续两日涨跌幅",
  22788. "type": "number"
  22789. },
  22790. "updownrate_3d": {
  22791. "description": "连续三日涨跌幅",
  22792. "type": "number"
  22793. }
  22794. }
  22795. },
  22796. "models.QhjSiteColumnDetail": {
  22797. "type": "object",
  22798. "properties": {
  22799. "author": {
  22800. "description": "作者",
  22801. "type": "string"
  22802. },
  22803. "brief": {
  22804. "description": "简介",
  22805. "type": "string"
  22806. },
  22807. "columnid": {
  22808. "description": "所属栏目",
  22809. "type": "integer"
  22810. },
  22811. "context": {
  22812. "description": "内容",
  22813. "type": "string"
  22814. },
  22815. "coverimage": {
  22816. "description": "封面图片",
  22817. "type": "string"
  22818. },
  22819. "creaedate": {
  22820. "description": "创建时间",
  22821. "type": "string"
  22822. },
  22823. "creatorid": {
  22824. "description": "创建人",
  22825. "type": "integer"
  22826. },
  22827. "hits": {
  22828. "description": "点击数",
  22829. "type": "integer"
  22830. },
  22831. "id": {
  22832. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  22833. "type": "integer"
  22834. },
  22835. "isshow": {
  22836. "description": "是否展示 - 0:不展示 1:展示",
  22837. "type": "integer"
  22838. },
  22839. "istop": {
  22840. "description": "是否置顶 - 0:不置 1:置顶",
  22841. "type": "integer"
  22842. },
  22843. "modifierid": {
  22844. "description": "操作人",
  22845. "type": "integer"
  22846. },
  22847. "publishdate": {
  22848. "description": "发布日期",
  22849. "type": "string"
  22850. },
  22851. "status": {
  22852. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  22853. "type": "integer"
  22854. },
  22855. "title": {
  22856. "description": "标题",
  22857. "type": "string"
  22858. },
  22859. "updatedate": {
  22860. "description": "修改时间",
  22861. "type": "string"
  22862. },
  22863. "userid": {
  22864. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  22865. "type": "integer"
  22866. },
  22867. "username": {
  22868. "description": "用户名称",
  22869. "type": "string"
  22870. }
  22871. }
  22872. },
  22873. "models.QhjTradeGoodsPickup": {
  22874. "type": "object",
  22875. "properties": {
  22876. "accountid": {
  22877. "description": "账户ID",
  22878. "type": "integer"
  22879. },
  22880. "address": {
  22881. "description": "提货人详细地址",
  22882. "type": "string"
  22883. },
  22884. "amount": {
  22885. "description": "提货金额",
  22886. "type": "number"
  22887. },
  22888. "artradedate": {
  22889. "description": "自动收货交易日(yyyyMMdd)",
  22890. "type": "string"
  22891. },
  22892. "auditer": {
  22893. "description": "审核人",
  22894. "type": "integer"
  22895. },
  22896. "auditsrc": {
  22897. "description": "更新来源 - 1:管理端 2:终端",
  22898. "type": "integer"
  22899. },
  22900. "audittime": {
  22901. "description": "审核时间(发货时间)",
  22902. "type": "string"
  22903. },
  22904. "audittradedate": {
  22905. "description": "审核交易日(yyyyMMdd)",
  22906. "type": "string"
  22907. },
  22908. "cardnum": {
  22909. "description": "提货人证件号码",
  22910. "type": "string"
  22911. },
  22912. "cardtypeid": {
  22913. "description": "提货人证件类型",
  22914. "type": "integer"
  22915. },
  22916. "checkremark": {
  22917. "description": "审核备注",
  22918. "type": "string"
  22919. },
  22920. "cityid": {
  22921. "description": "市",
  22922. "type": "integer"
  22923. },
  22924. "cityname": {
  22925. "description": "城市名称",
  22926. "type": "string"
  22927. },
  22928. "countryid": {
  22929. "description": "国家",
  22930. "type": "integer"
  22931. },
  22932. "countryname": {
  22933. "description": "国家名称",
  22934. "type": "string"
  22935. },
  22936. "districtid": {
  22937. "description": "地区",
  22938. "type": "integer"
  22939. },
  22940. "districtname": {
  22941. "description": "地区名称",
  22942. "type": "string"
  22943. },
  22944. "enumdicname": {
  22945. "description": "单位名称(提货商品)",
  22946. "type": "string"
  22947. },
  22948. "expresscompany": {
  22949. "description": "物流公司",
  22950. "type": "string"
  22951. },
  22952. "expressnum": {
  22953. "description": "物流单号",
  22954. "type": "string"
  22955. },
  22956. "goodsagreeunit": {
  22957. "description": "交易商品乘数",
  22958. "type": "number"
  22959. },
  22960. "goodscode": {
  22961. "description": "商品代码",
  22962. "type": "string"
  22963. },
  22964. "goodsid": {
  22965. "description": "商品ID",
  22966. "type": "integer"
  22967. },
  22968. "goodsname": {
  22969. "description": "商品名称",
  22970. "type": "string"
  22971. },
  22972. "goodsqty": {
  22973. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  22974. "type": "number"
  22975. },
  22976. "handlestatus": {
  22977. "description": "处理状态",
  22978. "type": "integer"
  22979. },
  22980. "marketid": {
  22981. "description": "市场ID",
  22982. "type": "integer"
  22983. },
  22984. "phonenum": {
  22985. "description": "提货人联系方式",
  22986. "type": "string"
  22987. },
  22988. "pickupgoodsagreeunit": {
  22989. "description": "提货商品合约乘数",
  22990. "type": "number"
  22991. },
  22992. "pickupgoodsid": {
  22993. "description": "提货商品ID",
  22994. "type": "string"
  22995. },
  22996. "pickupgoodsname": {
  22997. "description": "提货商品名称",
  22998. "type": "string"
  22999. },
  23000. "pickupgoodsqty": {
  23001. "description": "提货商品手数(数量)",
  23002. "type": "number"
  23003. },
  23004. "pickupgoodsunitid": {
  23005. "description": "单位ID(提货商品)",
  23006. "type": "integer"
  23007. },
  23008. "pickupratio": {
  23009. "description": "提货系数",
  23010. "type": "number"
  23011. },
  23012. "preparedays": {
  23013. "description": "备货期(天)-提货单明细表",
  23014. "type": "integer"
  23015. },
  23016. "provinceid": {
  23017. "description": "省",
  23018. "type": "integer"
  23019. },
  23020. "provincename": {
  23021. "description": "省名称",
  23022. "type": "string"
  23023. },
  23024. "qty": {
  23025. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  23026. "type": "number"
  23027. },
  23028. "recivername": {
  23029. "description": "提货人姓名",
  23030. "type": "string"
  23031. },
  23032. "reqtime": {
  23033. "description": "提货申请时间",
  23034. "type": "string"
  23035. },
  23036. "storeuserid": {
  23037. "description": "门店用户ID (千海金)",
  23038. "type": "integer"
  23039. },
  23040. "storeusername": {
  23041. "description": "门店用户名称",
  23042. "type": "string"
  23043. },
  23044. "takemode": {
  23045. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  23046. "type": "integer"
  23047. },
  23048. "takeorderid": {
  23049. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23050. "type": "integer"
  23051. },
  23052. "takeorderstatus": {
  23053. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  23054. "type": "integer"
  23055. },
  23056. "takeremark": {
  23057. "description": "提货备注",
  23058. "type": "string"
  23059. },
  23060. "tradedate": {
  23061. "description": "交易日(yyyyMMdd)",
  23062. "type": "string"
  23063. },
  23064. "updatetime": {
  23065. "description": "更新时间",
  23066. "type": "string"
  23067. },
  23068. "userid": {
  23069. "description": "用户ID",
  23070. "type": "integer"
  23071. },
  23072. "username": {
  23073. "description": "用户名称",
  23074. "type": "string"
  23075. }
  23076. }
  23077. },
  23078. "models.Qhjgoodsex": {
  23079. "type": "object",
  23080. "properties": {
  23081. "canfinance": {
  23082. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  23083. "type": "integer"
  23084. },
  23085. "canregularlybuy": {
  23086. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  23087. "type": "integer"
  23088. },
  23089. "defaulttradeuserid": {
  23090. "description": "默认交易用户ID",
  23091. "type": "integer"
  23092. },
  23093. "deliverygoodsid": {
  23094. "description": "现货品种ID",
  23095. "type": "integer"
  23096. },
  23097. "goodsid": {
  23098. "description": "商品ID(自增ID SEQ_GOODS)",
  23099. "type": "integer"
  23100. },
  23101. "minamount": {
  23102. "description": "最小购买金额",
  23103. "type": "number"
  23104. },
  23105. "regularlybuyminamount": {
  23106. "description": "定投最小金额",
  23107. "type": "number"
  23108. },
  23109. "regularlybuyminqty": {
  23110. "description": "定投最小数量",
  23111. "type": "number"
  23112. },
  23113. "spotgoodsbrandid": {
  23114. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  23115. "type": "integer"
  23116. },
  23117. "wrstandardid": {
  23118. "description": "现货商品ID",
  23119. "type": "integer"
  23120. }
  23121. }
  23122. },
  23123. "models.QueryErrorInfosRsp": {
  23124. "type": "object",
  23125. "required": [
  23126. "errorid"
  23127. ],
  23128. "properties": {
  23129. "description": {
  23130. "description": "异常描述",
  23131. "type": "string"
  23132. },
  23133. "errorcode": {
  23134. "description": "异常代码",
  23135. "type": "string"
  23136. },
  23137. "errorid": {
  23138. "description": "异常ID",
  23139. "type": "integer"
  23140. },
  23141. "modulecode": {
  23142. "description": "所属模块",
  23143. "type": "string"
  23144. },
  23145. "operatecode": {
  23146. "description": "所属操作",
  23147. "type": "string"
  23148. },
  23149. "rownumber": {
  23150. "description": "行号",
  23151. "type": "string"
  23152. }
  23153. }
  23154. },
  23155. "models.QueryHedgeOrderDetailRsp": {
  23156. "type": "object",
  23157. "properties": {
  23158. "accountid": {
  23159. "description": "账户ID",
  23160. "type": "integer"
  23161. },
  23162. "buyorsell": {
  23163. "description": "买卖 - 0:买 1:卖",
  23164. "type": "integer"
  23165. },
  23166. "cancellogincode": {
  23167. "description": "撤单人",
  23168. "type": "string"
  23169. },
  23170. "channelbuildtype": {
  23171. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  23172. "type": "integer"
  23173. },
  23174. "channelinnerorderstatus": {
  23175. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  23176. "type": "integer"
  23177. },
  23178. "channeloperatetype": {
  23179. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  23180. "type": "integer"
  23181. },
  23182. "closetype": {
  23183. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23184. "type": "integer"
  23185. },
  23186. "curexchangerate": {
  23187. "description": "当前汇率",
  23188. "type": "number"
  23189. },
  23190. "exchangefullname": {
  23191. "description": "外部交易所全称",
  23192. "type": "string"
  23193. },
  23194. "goodscode": {
  23195. "description": "商品代码(内部)",
  23196. "type": "string"
  23197. },
  23198. "goodsid": {
  23199. "description": "商品ID",
  23200. "type": "integer"
  23201. },
  23202. "goodsname": {
  23203. "description": "商品名称",
  23204. "type": "string"
  23205. },
  23206. "marketid": {
  23207. "description": "市场ID",
  23208. "type": "integer"
  23209. },
  23210. "openfreezemargin": {
  23211. "description": "冻结保证金(冻结交易金额)",
  23212. "type": "number"
  23213. },
  23214. "orderid": {
  23215. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23216. "type": "string"
  23217. },
  23218. "orderlogincode": {
  23219. "description": "委托人",
  23220. "type": "string"
  23221. },
  23222. "orderprice": {
  23223. "description": "委托价格(账户)",
  23224. "type": "number"
  23225. },
  23226. "orderqty": {
  23227. "description": "委托数量",
  23228. "type": "integer"
  23229. },
  23230. "ordertime": {
  23231. "description": "委托时间",
  23232. "type": "string"
  23233. },
  23234. "pricemode": {
  23235. "description": "取价方式 - 1:市价 2: 限价",
  23236. "type": "integer"
  23237. },
  23238. "tradedate": {
  23239. "description": "交易日(yyyyMMdd)",
  23240. "type": "string"
  23241. },
  23242. "tradeqty": {
  23243. "description": "成交数量",
  23244. "type": "integer"
  23245. }
  23246. }
  23247. },
  23248. "models.QueryHedgeTradeDetailRsp": {
  23249. "type": "object",
  23250. "properties": {
  23251. "accountid": {
  23252. "description": "账号ID",
  23253. "type": "integer"
  23254. },
  23255. "buyorsell": {
  23256. "description": "方向 - 0:买 1:卖",
  23257. "type": "integer"
  23258. },
  23259. "channelbuildtype": {
  23260. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23261. "type": "integer"
  23262. },
  23263. "closecharge": {
  23264. "description": "平仓手续费(账户)",
  23265. "type": "number"
  23266. },
  23267. "closecharge2": {
  23268. "description": "平仓手续费(商品)",
  23269. "type": "number"
  23270. },
  23271. "closepl": {
  23272. "description": "平仓盈亏(账户)",
  23273. "type": "number"
  23274. },
  23275. "closepl2": {
  23276. "description": "平仓盈亏(商品)",
  23277. "type": "number"
  23278. },
  23279. "closepl3": {
  23280. "description": "平仓盈亏(账户)(逐笔)",
  23281. "type": "number"
  23282. },
  23283. "closepl4": {
  23284. "description": "平仓盈亏(商品)(逐笔)",
  23285. "type": "number"
  23286. },
  23287. "closetype": {
  23288. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23289. "type": "integer"
  23290. },
  23291. "curexchangerate": {
  23292. "description": "当前汇率",
  23293. "type": "number"
  23294. },
  23295. "exchangefullname": {
  23296. "description": "外部交易所全称",
  23297. "type": "string"
  23298. },
  23299. "goodscode": {
  23300. "description": "商品代码(内部)",
  23301. "type": "string"
  23302. },
  23303. "goodsid": {
  23304. "description": "商品ID",
  23305. "type": "integer"
  23306. },
  23307. "goodsname": {
  23308. "description": "商品名称",
  23309. "type": "string"
  23310. },
  23311. "marketid": {
  23312. "description": "市场ID",
  23313. "type": "integer"
  23314. },
  23315. "opencharge": {
  23316. "description": "建仓手续费(账户)",
  23317. "type": "number"
  23318. },
  23319. "opencharge2": {
  23320. "description": "建仓手续费(商品)",
  23321. "type": "number"
  23322. },
  23323. "orderid": {
  23324. "description": "委托单号",
  23325. "type": "string"
  23326. },
  23327. "orderlogincode": {
  23328. "description": "委托人",
  23329. "type": "string"
  23330. },
  23331. "tradeamount": {
  23332. "description": "成交金额(账户)",
  23333. "type": "number"
  23334. },
  23335. "tradedate": {
  23336. "description": "交易日(yyyyMMdd)",
  23337. "type": "string"
  23338. },
  23339. "tradeid": {
  23340. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23341. "type": "string"
  23342. },
  23343. "tradeprice": {
  23344. "description": "成交价格",
  23345. "type": "number"
  23346. },
  23347. "tradeqty": {
  23348. "description": "成交数量",
  23349. "type": "integer"
  23350. },
  23351. "tradetime": {
  23352. "description": "成交时间",
  23353. "type": "string"
  23354. },
  23355. "tradetype": {
  23356. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23357. "type": "integer"
  23358. }
  23359. }
  23360. },
  23361. "models.QuotePrimaryMenu": {
  23362. "type": "object",
  23363. "properties": {
  23364. "Index": {
  23365. "description": "序号",
  23366. "type": "integer"
  23367. },
  23368. "Key": {
  23369. "description": "键名",
  23370. "type": "string"
  23371. },
  23372. "Name": {
  23373. "description": "菜单名称",
  23374. "type": "string"
  23375. },
  23376. "SubMenus": {
  23377. "description": "子菜单",
  23378. "type": "array",
  23379. "items": {
  23380. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  23381. }
  23382. },
  23383. "SubTitleType": {
  23384. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  23385. "type": "integer"
  23386. },
  23387. "TradeModes": {
  23388. "description": "包含市场交易类型",
  23389. "type": "string"
  23390. }
  23391. }
  23392. },
  23393. "models.QuoteSecondaryMenu": {
  23394. "type": "object",
  23395. "properties": {
  23396. "ExExchangeCode": {
  23397. "description": "外部交易所代码",
  23398. "type": "string"
  23399. },
  23400. "ExExchangeID": {
  23401. "description": "外部交易所ID",
  23402. "type": "integer"
  23403. },
  23404. "GoodsGroupIDs": {
  23405. "description": "商品组ID列表",
  23406. "type": "array",
  23407. "items": {
  23408. "type": "integer"
  23409. }
  23410. },
  23411. "Index": {
  23412. "description": "序号",
  23413. "type": "integer"
  23414. },
  23415. "MarketID": {
  23416. "description": "市场ID",
  23417. "type": "integer"
  23418. },
  23419. "MenuTitle": {
  23420. "description": "菜单标题(市场名称或外部交易所名称)",
  23421. "type": "string"
  23422. },
  23423. "TradeMode": {
  23424. "description": "交易模式",
  23425. "type": "integer"
  23426. }
  23427. }
  23428. },
  23429. "models.SearchGoods": {
  23430. "type": "object",
  23431. "required": [
  23432. "goodscode",
  23433. "goodsid",
  23434. "goodsname",
  23435. "marketid",
  23436. "trademode"
  23437. ],
  23438. "properties": {
  23439. "goodscode": {
  23440. "description": "商品代码(内部)",
  23441. "type": "string"
  23442. },
  23443. "goodsid": {
  23444. "description": "商品ID(自增ID SEQ_GOODS)",
  23445. "type": "integer"
  23446. },
  23447. "goodsname": {
  23448. "description": "商品名称",
  23449. "type": "string"
  23450. },
  23451. "marketid": {
  23452. "description": "所属市场ID",
  23453. "type": "integer"
  23454. },
  23455. "marketname": {
  23456. "description": "市场名称",
  23457. "type": "string"
  23458. },
  23459. "trademode": {
  23460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23461. "type": "integer"
  23462. }
  23463. }
  23464. },
  23465. "models.Systemparam": {
  23466. "type": "object",
  23467. "required": [
  23468. "paramcode"
  23469. ],
  23470. "properties": {
  23471. "loginid": {
  23472. "description": "更新用户账号,登录账号",
  23473. "type": "string"
  23474. },
  23475. "modifyflag": {
  23476. "description": "修改标志0 不允许修改 1 允许修改",
  23477. "type": "integer"
  23478. },
  23479. "paramcode": {
  23480. "description": "参数代码",
  23481. "type": "string"
  23482. },
  23483. "paramname": {
  23484. "description": "参数名",
  23485. "type": "string"
  23486. },
  23487. "paramtype": {
  23488. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  23489. "type": "integer"
  23490. },
  23491. "paramvalue": {
  23492. "description": "参数值",
  23493. "type": "string"
  23494. },
  23495. "paramvalue2": {
  23496. "description": "参数值(CLOB)",
  23497. "type": "string"
  23498. },
  23499. "regexpress": {
  23500. "description": "正则表达式",
  23501. "type": "string"
  23502. },
  23503. "remark": {
  23504. "description": "备注",
  23505. "type": "string"
  23506. },
  23507. "serverip": {
  23508. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  23509. "type": "string"
  23510. },
  23511. "showflag": {
  23512. "description": "是否显示0 不显示 1 显示",
  23513. "type": "integer"
  23514. },
  23515. "updatetime": {
  23516. "description": "更新时间",
  23517. "type": "string"
  23518. },
  23519. "userid": {
  23520. "description": "更新用户ID",
  23521. "type": "integer"
  23522. }
  23523. }
  23524. },
  23525. "models.Szdz3convertconfig": {
  23526. "type": "object",
  23527. "required": [
  23528. "converttype",
  23529. "innergoodsid",
  23530. "outergoodscode"
  23531. ],
  23532. "properties": {
  23533. "canin": {
  23534. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  23535. "type": "integer"
  23536. },
  23537. "canout": {
  23538. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  23539. "type": "integer"
  23540. },
  23541. "converttype": {
  23542. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  23543. "type": "integer"
  23544. },
  23545. "createtime": {
  23546. "description": "创建时间",
  23547. "type": "string"
  23548. },
  23549. "creatorid": {
  23550. "description": "创建人",
  23551. "type": "integer"
  23552. },
  23553. "daymaxvalue": {
  23554. "description": "当日最大转入限制",
  23555. "type": "number"
  23556. },
  23557. "freezedays": {
  23558. "description": "冻结天数 [5:花生米转交易]",
  23559. "type": "integer"
  23560. },
  23561. "innergoodsid": {
  23562. "description": "内部商品ID[交易]",
  23563. "type": "integer"
  23564. },
  23565. "inratio": {
  23566. "description": "目标值",
  23567. "type": "integer"
  23568. },
  23569. "modifierid": {
  23570. "description": "修改人",
  23571. "type": "integer"
  23572. },
  23573. "modifytime": {
  23574. "description": "修改时间",
  23575. "type": "string"
  23576. },
  23577. "outergoodscode": {
  23578. "description": "外部商品代码[JD\\PD]",
  23579. "type": "string"
  23580. },
  23581. "outratio": {
  23582. "description": "源值",
  23583. "type": "integer"
  23584. },
  23585. "pddecimalplace": {
  23586. "description": "PD小数位",
  23587. "type": "integer"
  23588. },
  23589. "timemaxvalue": {
  23590. "description": "单次最大转入限制",
  23591. "type": "number"
  23592. },
  23593. "timeminvalue": {
  23594. "description": "单次最小转入限制",
  23595. "type": "number"
  23596. }
  23597. }
  23598. },
  23599. "models.Szdz3searchwhitelist": {
  23600. "type": "object",
  23601. "required": [
  23602. "userid"
  23603. ],
  23604. "properties": {
  23605. "createtime": {
  23606. "description": "创建时间",
  23607. "type": "string"
  23608. },
  23609. "creatorid": {
  23610. "description": "创建人",
  23611. "type": "integer"
  23612. },
  23613. "modifierid": {
  23614. "description": "修改人",
  23615. "type": "integer"
  23616. },
  23617. "modifytime": {
  23618. "description": "修改时间",
  23619. "type": "string"
  23620. },
  23621. "userid": {
  23622. "description": "用户ID",
  23623. "type": "integer"
  23624. }
  23625. }
  23626. },
  23627. "models.Taaccount": {
  23628. "type": "object",
  23629. "required": [
  23630. "accountid",
  23631. "userid"
  23632. ],
  23633. "properties": {
  23634. "accountflag": {
  23635. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  23636. "type": "integer"
  23637. },
  23638. "accountid": {
  23639. "description": "资金账户ID",
  23640. "type": "integer"
  23641. },
  23642. "accountname": {
  23643. "description": "账户名称",
  23644. "type": "string"
  23645. },
  23646. "balance": {
  23647. "description": "期初余额",
  23648. "type": "number"
  23649. },
  23650. "capitalbalance": {
  23651. "description": "本金余额[外部子账户实际出入金余额]",
  23652. "type": "number"
  23653. },
  23654. "changeflag": {
  23655. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  23656. "type": "integer"
  23657. },
  23658. "changetime": {
  23659. "description": "账户状态变更时间",
  23660. "type": "string"
  23661. },
  23662. "closepl": {
  23663. "description": "今日平仓盈亏",
  23664. "type": "number"
  23665. },
  23666. "creditdecrease": {
  23667. "description": "今日授信减少",
  23668. "type": "number"
  23669. },
  23670. "creditincrease": {
  23671. "description": "今日授信增加",
  23672. "type": "number"
  23673. },
  23674. "currencyid": {
  23675. "description": "货币ID",
  23676. "type": "integer"
  23677. },
  23678. "currentbalance": {
  23679. "description": "期末余额",
  23680. "type": "number"
  23681. },
  23682. "freezecharge": {
  23683. "description": "手续费冻结",
  23684. "type": "number"
  23685. },
  23686. "freezemargin": {
  23687. "description": "冻结保证金",
  23688. "type": "number"
  23689. },
  23690. "fromaccountid": {
  23691. "description": "所属上级账户",
  23692. "type": "integer"
  23693. },
  23694. "inamount": {
  23695. "description": "今日入金金额(包括三方入金)",
  23696. "type": "number"
  23697. },
  23698. "ismain": {
  23699. "description": "是否母账号 0:不是母账户 1:是母账户",
  23700. "type": "integer"
  23701. },
  23702. "ismarketaccount": {
  23703. "description": "是否机构接单账号 0:不是 1:是",
  23704. "type": "integer"
  23705. },
  23706. "isreckonaccount": {
  23707. "description": "是否机构分润账号 0:不是 1:是",
  23708. "type": "integer"
  23709. },
  23710. "mortgagecredit": {
  23711. "description": "授信金额",
  23712. "type": "number"
  23713. },
  23714. "orifreezecharge": {
  23715. "description": "期初手续费冻结",
  23716. "type": "number"
  23717. },
  23718. "orifreezemargin": {
  23719. "description": "期初冻结保证金",
  23720. "type": "number"
  23721. },
  23722. "orimortgagecredit": {
  23723. "description": "期初授信金额",
  23724. "type": "number"
  23725. },
  23726. "oriothercredit": {
  23727. "description": "期初其它授信金额",
  23728. "type": "number"
  23729. },
  23730. "oriotherfreezemargin": {
  23731. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  23732. "type": "number"
  23733. },
  23734. "orioutamountfreeze": {
  23735. "description": "期初出金冻结",
  23736. "type": "number"
  23737. },
  23738. "oriusedmargin": {
  23739. "description": "期初占用保证金",
  23740. "type": "number"
  23741. },
  23742. "othercredit": {
  23743. "description": "其它授信金额",
  23744. "type": "number"
  23745. },
  23746. "othercreditdecrease": {
  23747. "description": "今日其它授信减少",
  23748. "type": "number"
  23749. },
  23750. "othercreditincrease": {
  23751. "description": "今日其它授信增加",
  23752. "type": "number"
  23753. },
  23754. "otherfreezemargin": {
  23755. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  23756. "type": "number"
  23757. },
  23758. "otherincome": {
  23759. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  23760. "type": "number"
  23761. },
  23762. "otherpay": {
  23763. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  23764. "type": "number"
  23765. },
  23766. "outamount": {
  23767. "description": "今日出金金额(包括三方出金)",
  23768. "type": "number"
  23769. },
  23770. "outamountfreeze": {
  23771. "description": "出金冻结",
  23772. "type": "number"
  23773. },
  23774. "outthreshold": {
  23775. "description": "出金阈值",
  23776. "type": "number"
  23777. },
  23778. "parentaccountid": {
  23779. "description": "所属根账号",
  23780. "type": "integer"
  23781. },
  23782. "paycharge": {
  23783. "description": "今日手续费支出",
  23784. "type": "number"
  23785. },
  23786. "relatedaccountstatus": {
  23787. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  23788. "type": "integer"
  23789. },
  23790. "relateduserid": {
  23791. "description": "关联用户",
  23792. "type": "integer"
  23793. },
  23794. "serivcegroup": {
  23795. "description": "服务分组",
  23796. "type": "integer"
  23797. },
  23798. "signstatus": {
  23799. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23800. "type": "integer"
  23801. },
  23802. "sublevelpath": {
  23803. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23804. "type": "string"
  23805. },
  23806. "taaccounttype": {
  23807. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23808. "type": "integer"
  23809. },
  23810. "thirdinamount": {
  23811. "description": "今日三方入金",
  23812. "type": "number"
  23813. },
  23814. "thirdoutamount": {
  23815. "description": "今日三方出金",
  23816. "type": "number"
  23817. },
  23818. "tradestatus": {
  23819. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23820. "type": "integer"
  23821. },
  23822. "tradestatuschangetime": {
  23823. "description": "激活时间",
  23824. "type": "string"
  23825. },
  23826. "transferamount": {
  23827. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23828. "type": "number"
  23829. },
  23830. "usedmargin": {
  23831. "description": "占用保证金",
  23832. "type": "number"
  23833. },
  23834. "userid": {
  23835. "description": "用户ID",
  23836. "type": "integer"
  23837. }
  23838. }
  23839. },
  23840. "models.Tablecolumnconfig": {
  23841. "type": "object",
  23842. "required": [
  23843. "autoid"
  23844. ],
  23845. "properties": {
  23846. "aligntype": {
  23847. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23848. "type": "integer"
  23849. },
  23850. "autoid": {
  23851. "description": "AutoID",
  23852. "type": "integer"
  23853. },
  23854. "columnfield": {
  23855. "description": "列字段",
  23856. "type": "string"
  23857. },
  23858. "columntitle": {
  23859. "description": "列Title",
  23860. "type": "string"
  23861. },
  23862. "columnwidth": {
  23863. "description": "列宽",
  23864. "type": "string"
  23865. },
  23866. "formatterstring": {
  23867. "description": "格式化字符",
  23868. "type": "string"
  23869. },
  23870. "formattertype": {
  23871. "description": "格式化类型",
  23872. "type": "string"
  23873. },
  23874. "groupname": {
  23875. "description": "表头分组名称",
  23876. "type": "string"
  23877. },
  23878. "isshow": {
  23879. "description": "是否显示 - 0:不显示 1:显示",
  23880. "type": "integer"
  23881. },
  23882. "needsummary": {
  23883. "description": "是否需要汇总 - 0:不需要 1:需要",
  23884. "type": "integer"
  23885. },
  23886. "orderindex": {
  23887. "description": "顺序",
  23888. "type": "integer"
  23889. },
  23890. "remark": {
  23891. "description": "备注",
  23892. "type": "string"
  23893. },
  23894. "summarytype": {
  23895. "description": "汇总类型 - 1:加总 2:最后一个",
  23896. "type": "integer"
  23897. },
  23898. "tablekey": {
  23899. "description": "列表Key",
  23900. "type": "string"
  23901. }
  23902. }
  23903. },
  23904. "models.UserCollectConfig": {
  23905. "type": "object",
  23906. "properties": {
  23907. "accountstatus": {
  23908. "description": "账户状态 - 1:正常 2:停用 3:注销",
  23909. "type": "integer"
  23910. },
  23911. "collectaccountname": {
  23912. "description": "收款人账户名称",
  23913. "type": "string"
  23914. },
  23915. "collectaccountno": {
  23916. "description": "收款人账户",
  23917. "type": "string"
  23918. },
  23919. "collectbankname": {
  23920. "description": "收款人开户行",
  23921. "type": "string"
  23922. },
  23923. "collectbranchbankname": {
  23924. "description": "收款人开户支行",
  23925. "type": "string"
  23926. },
  23927. "collectconfigid": {
  23928. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  23929. "type": "string"
  23930. },
  23931. "remark": {
  23932. "description": "备注",
  23933. "type": "string"
  23934. },
  23935. "userid": {
  23936. "description": "收款人用户ID",
  23937. "type": "integer"
  23938. }
  23939. }
  23940. },
  23941. "models.UserReceiveInfo": {
  23942. "type": "object",
  23943. "properties": {
  23944. "address": {
  23945. "description": "提货人详细地址",
  23946. "type": "string"
  23947. },
  23948. "autoid": {
  23949. "description": "AutoID",
  23950. "type": "integer"
  23951. },
  23952. "cardnum": {
  23953. "description": "证件号码(加密存储)",
  23954. "type": "string"
  23955. },
  23956. "cardtypeid": {
  23957. "description": "证件类型",
  23958. "type": "integer"
  23959. },
  23960. "cityid": {
  23961. "description": "市",
  23962. "type": "integer"
  23963. },
  23964. "cityname": {
  23965. "description": "城市名称",
  23966. "type": "string"
  23967. },
  23968. "countryid": {
  23969. "description": "国家",
  23970. "type": "integer"
  23971. },
  23972. "countryname": {
  23973. "description": "国家名称",
  23974. "type": "string"
  23975. },
  23976. "districtid": {
  23977. "description": "地区",
  23978. "type": "integer"
  23979. },
  23980. "districtname": {
  23981. "description": "地区名称",
  23982. "type": "string"
  23983. },
  23984. "hasencrypt": {
  23985. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23986. "type": "integer"
  23987. },
  23988. "isdefault": {
  23989. "description": "是否默认地址 - 0:否 1:是",
  23990. "type": "integer"
  23991. },
  23992. "phonenum": {
  23993. "description": "提货人联系方式(加密存储)",
  23994. "type": "string"
  23995. },
  23996. "provinceid": {
  23997. "description": "省",
  23998. "type": "integer"
  23999. },
  24000. "provincename": {
  24001. "description": "省名称",
  24002. "type": "string"
  24003. },
  24004. "receivername": {
  24005. "description": "提货人姓名",
  24006. "type": "string"
  24007. },
  24008. "takeremark": {
  24009. "description": "提货备注",
  24010. "type": "string"
  24011. },
  24012. "userid": {
  24013. "description": "用户ID",
  24014. "type": "integer"
  24015. }
  24016. }
  24017. },
  24018. "models.Useraccount": {
  24019. "type": "object",
  24020. "required": [
  24021. "userid"
  24022. ],
  24023. "properties": {
  24024. "accountname": {
  24025. "description": "账户名称(机构名称)",
  24026. "type": "string"
  24027. },
  24028. "accountstatus": {
  24029. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24030. "type": "integer"
  24031. },
  24032. "applysrc": {
  24033. "description": "申请来源 - 1:管理端 2:终端",
  24034. "type": "integer"
  24035. },
  24036. "auditremark": {
  24037. "description": "审核备注",
  24038. "type": "string"
  24039. },
  24040. "auditsrc": {
  24041. "description": "审核来源 - 1:管理端 2:终端",
  24042. "type": "integer"
  24043. },
  24044. "audittime": {
  24045. "description": "审核时间",
  24046. "type": "string"
  24047. },
  24048. "audituserid": {
  24049. "description": "审核人",
  24050. "type": "integer"
  24051. },
  24052. "broker": {
  24053. "description": "所属经纪人ID",
  24054. "type": "integer"
  24055. },
  24056. "canceltime": {
  24057. "description": "销户时间",
  24058. "type": "string"
  24059. },
  24060. "canceluserid": {
  24061. "description": "销户人",
  24062. "type": "integer"
  24063. },
  24064. "canrecommend": {
  24065. "description": "是否可推荐 - 0:不可 1;可",
  24066. "type": "integer"
  24067. },
  24068. "createtime": {
  24069. "description": "创建时间",
  24070. "type": "string"
  24071. },
  24072. "creatorid": {
  24073. "description": "创建人",
  24074. "type": "integer"
  24075. },
  24076. "hasauth": {
  24077. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24078. "type": "integer"
  24079. },
  24080. "isanonymous": {
  24081. "description": "是否匿名下单 - 0:否 1:是",
  24082. "type": "integer"
  24083. },
  24084. "maxinvestornum": {
  24085. "description": "最大用户数(经纪会员下投资者个数)",
  24086. "type": "integer"
  24087. },
  24088. "memberuserid": {
  24089. "description": "所属会员ID",
  24090. "type": "integer"
  24091. },
  24092. "modifierid": {
  24093. "description": "修改人",
  24094. "type": "integer"
  24095. },
  24096. "modifyremark": {
  24097. "description": "变更备注",
  24098. "type": "string"
  24099. },
  24100. "modifystatus": {
  24101. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24102. "type": "integer"
  24103. },
  24104. "modifytime": {
  24105. "description": "修改时间",
  24106. "type": "string"
  24107. },
  24108. "parenttopuser": {
  24109. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24110. "type": "string"
  24111. },
  24112. "parentuserid": {
  24113. "description": "所属机构ID",
  24114. "type": "integer"
  24115. },
  24116. "reckonaccountid": {
  24117. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24118. "type": "integer"
  24119. },
  24120. "refercount": {
  24121. "description": "推荐总人数",
  24122. "type": "integer"
  24123. },
  24124. "refereeuserid": {
  24125. "description": "推荐人ID",
  24126. "type": "integer"
  24127. },
  24128. "refernum": {
  24129. "description": "推荐码",
  24130. "type": "string"
  24131. },
  24132. "rootuserid": {
  24133. "description": "根用户ID",
  24134. "type": "integer"
  24135. },
  24136. "subaccountlevel": {
  24137. "description": "子账户层数",
  24138. "type": "integer"
  24139. },
  24140. "subarealevelpath": {
  24141. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24142. "type": "string"
  24143. },
  24144. "userid": {
  24145. "description": "用户ID",
  24146. "type": "integer"
  24147. },
  24148. "usertype": {
  24149. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24150. "type": "integer"
  24151. }
  24152. }
  24153. },
  24154. "models.Userfavoritegoods": {
  24155. "type": "object",
  24156. "required": [
  24157. "goodsid"
  24158. ],
  24159. "properties": {
  24160. "goodsid": {
  24161. "description": "商品ID",
  24162. "type": "integer"
  24163. }
  24164. }
  24165. },
  24166. "models.Userinfo": {
  24167. "type": "object",
  24168. "required": [
  24169. "userid"
  24170. ],
  24171. "properties": {
  24172. "address": {
  24173. "description": "地址",
  24174. "type": "string"
  24175. },
  24176. "attachment1": {
  24177. "description": "附件1",
  24178. "type": "string"
  24179. },
  24180. "attachment2": {
  24181. "description": "附件2",
  24182. "type": "string"
  24183. },
  24184. "bankaccount": {
  24185. "description": "银行帐号 (加密存储)",
  24186. "type": "string"
  24187. },
  24188. "bankaccountname": {
  24189. "description": "收款人名称",
  24190. "type": "string"
  24191. },
  24192. "bankcardfrontphotourl": {
  24193. "description": "银行卡正面照地址",
  24194. "type": "string"
  24195. },
  24196. "bankid": {
  24197. "description": "银行编码",
  24198. "type": "string"
  24199. },
  24200. "bankname": {
  24201. "description": "银行名称",
  24202. "type": "string"
  24203. },
  24204. "biznature": {
  24205. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  24206. "type": "integer"
  24207. },
  24208. "bizscope": {
  24209. "description": "企业经营范围(企业)",
  24210. "type": "string"
  24211. },
  24212. "cardbackphotourl": {
  24213. "description": "证件背面图片地址",
  24214. "type": "string"
  24215. },
  24216. "cardfrontphotourl": {
  24217. "description": "证件正面图片地址",
  24218. "type": "string"
  24219. },
  24220. "cardnum": {
  24221. "description": "证件号码(加密存储)",
  24222. "type": "string"
  24223. },
  24224. "cardtypeid": {
  24225. "description": "证件类型ID",
  24226. "type": "integer"
  24227. },
  24228. "cityid": {
  24229. "description": "市",
  24230. "type": "integer"
  24231. },
  24232. "company": {
  24233. "description": "公司(个人)",
  24234. "type": "string"
  24235. },
  24236. "contactname": {
  24237. "description": "联系人",
  24238. "type": "string"
  24239. },
  24240. "countryid": {
  24241. "description": "国家",
  24242. "type": "integer"
  24243. },
  24244. "createtime": {
  24245. "description": "创建时间",
  24246. "type": "string"
  24247. },
  24248. "creatorid": {
  24249. "description": "创建人",
  24250. "type": "integer"
  24251. },
  24252. "customername": {
  24253. "description": "客户名称(企业名称)",
  24254. "type": "string"
  24255. },
  24256. "districtid": {
  24257. "description": "地区",
  24258. "type": "integer"
  24259. },
  24260. "email": {
  24261. "description": "邮件(加密存储)",
  24262. "type": "string"
  24263. },
  24264. "fax": {
  24265. "description": "传真(加密存储)",
  24266. "type": "string"
  24267. },
  24268. "halfbodyphotourl": {
  24269. "description": "半身照地址",
  24270. "type": "string"
  24271. },
  24272. "hasencrypt": {
  24273. "description": "数据是否已加密 - 0:未加密 1:已加密",
  24274. "type": "integer"
  24275. },
  24276. "headurl": {
  24277. "description": "头像地址",
  24278. "type": "string"
  24279. },
  24280. "legalcardbackphotourl": {
  24281. "description": "法人身份证背面照地址",
  24282. "type": "string"
  24283. },
  24284. "legalcardfrontphotourl": {
  24285. "description": "法人身份证正面照地址",
  24286. "type": "string"
  24287. },
  24288. "legalpersonname": {
  24289. "description": "法人姓名(企业)",
  24290. "type": "string"
  24291. },
  24292. "mobile": {
  24293. "description": "手机号码(加密存储)",
  24294. "type": "string"
  24295. },
  24296. "mobile2": {
  24297. "description": "手机号码[明文-尚志]",
  24298. "type": "string"
  24299. },
  24300. "modifierid": {
  24301. "description": "修改人",
  24302. "type": "integer"
  24303. },
  24304. "modifiertime": {
  24305. "description": "修改时间",
  24306. "type": "string"
  24307. },
  24308. "needinvoice": {
  24309. "description": "是否需要发票 - 0:不需要 1:需要",
  24310. "type": "integer"
  24311. },
  24312. "nickname": {
  24313. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  24314. "type": "string"
  24315. },
  24316. "openmode": {
  24317. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  24318. "type": "integer"
  24319. },
  24320. "otherurl": {
  24321. "description": "其它图片地址[使用分号分隔]",
  24322. "type": "string"
  24323. },
  24324. "postalcode": {
  24325. "description": "邮政编码",
  24326. "type": "string"
  24327. },
  24328. "provinceid": {
  24329. "description": "省",
  24330. "type": "integer"
  24331. },
  24332. "qq": {
  24333. "description": "QQ(加密存储",
  24334. "type": "string"
  24335. },
  24336. "remark": {
  24337. "description": "备注",
  24338. "type": "string"
  24339. },
  24340. "sex": {
  24341. "description": "用户性别 0: 女 1: 男",
  24342. "type": "integer"
  24343. },
  24344. "signpdfurl": {
  24345. "description": "签约pdf文件",
  24346. "type": "string"
  24347. },
  24348. "telphone": {
  24349. "description": "联系电话(加密存储)",
  24350. "type": "string"
  24351. },
  24352. "userid": {
  24353. "description": "用户ID",
  24354. "type": "integer"
  24355. },
  24356. "userinfotype": {
  24357. "description": "用户信息类型 - 1:个人 2:企业",
  24358. "type": "integer"
  24359. },
  24360. "userstatus": {
  24361. "description": "用户状态 - 1:正常 2:注销",
  24362. "type": "integer"
  24363. },
  24364. "usertype": {
  24365. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  24366. "type": "integer"
  24367. },
  24368. "wechat": {
  24369. "description": "微信(加密存储)",
  24370. "type": "string"
  24371. },
  24372. "wskhinfo": {
  24373. "description": "开户申请信息(JSON)",
  24374. "type": "string"
  24375. }
  24376. }
  24377. },
  24378. "models.WRSConverTDetail": {
  24379. "type": "object",
  24380. "properties": {
  24381. "convertratio": {
  24382. "description": "套保系数",
  24383. "type": "number"
  24384. },
  24385. "deliverygoodscode": {
  24386. "description": "现货商品代码",
  24387. "type": "string"
  24388. },
  24389. "deliverygoodsid": {
  24390. "description": "现货品种ID",
  24391. "type": "integer"
  24392. },
  24393. "deliverygoodsname": {
  24394. "description": "现货商品名称",
  24395. "type": "string"
  24396. },
  24397. "enumdicname": {
  24398. "description": "单位名称",
  24399. "type": "string"
  24400. },
  24401. "goodsunitid": {
  24402. "description": "套保品种单位id",
  24403. "type": "integer"
  24404. },
  24405. "middlegoodscode": {
  24406. "description": "套保品种代码",
  24407. "type": "string"
  24408. },
  24409. "middlegoodsid": {
  24410. "description": "套保品种ID",
  24411. "type": "integer"
  24412. },
  24413. "middlegoodsname": {
  24414. "description": "套保品种名称",
  24415. "type": "string"
  24416. },
  24417. "modifytime": {
  24418. "description": "修改时间",
  24419. "type": "string"
  24420. },
  24421. "wrstandardid": {
  24422. "description": "品类ID",
  24423. "type": "integer"
  24424. }
  24425. }
  24426. },
  24427. "models.WRStandardInfo": {
  24428. "type": "object",
  24429. "required": [
  24430. "wrstandardid"
  24431. ],
  24432. "properties": {
  24433. "areauserid": {
  24434. "description": "所属机构",
  24435. "type": "integer"
  24436. },
  24437. "convertfactor": {
  24438. "description": "标仓系数",
  24439. "type": "number"
  24440. },
  24441. "createtime": {
  24442. "description": "创建时间",
  24443. "type": "string"
  24444. },
  24445. "creatorid": {
  24446. "description": "创建人",
  24447. "type": "integer"
  24448. },
  24449. "deliverygoodsid": {
  24450. "description": "品种ID",
  24451. "type": "integer"
  24452. },
  24453. "deliverygoodsname": {
  24454. "description": "交割商品名称",
  24455. "type": "string"
  24456. },
  24457. "factoryitemjson": {
  24458. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  24459. "type": "string"
  24460. },
  24461. "isvalid": {
  24462. "description": "是否有效 - 0:无效 1:有效",
  24463. "type": "integer"
  24464. },
  24465. "minivalue": {
  24466. "description": "最小变动值",
  24467. "type": "integer"
  24468. },
  24469. "minivaluedp": {
  24470. "description": "最小变动值小数位",
  24471. "type": "integer"
  24472. },
  24473. "realminivalue": {
  24474. "description": "实际最小变动值",
  24475. "type": "integer"
  24476. },
  24477. "realminivaluedp": {
  24478. "description": "实际最小变动值小数位",
  24479. "type": "integer"
  24480. },
  24481. "remark": {
  24482. "description": "备注",
  24483. "type": "string"
  24484. },
  24485. "unitid": {
  24486. "description": "单位ID",
  24487. "type": "integer"
  24488. },
  24489. "unitname": {
  24490. "description": "单位",
  24491. "type": "string"
  24492. },
  24493. "updatetime": {
  24494. "description": "更新时间",
  24495. "type": "string"
  24496. },
  24497. "updatorid": {
  24498. "description": "更新人",
  24499. "type": "integer"
  24500. },
  24501. "wrsstatus": {
  24502. "description": "状态 - 作废 - 0:未激活 1:正常",
  24503. "type": "integer"
  24504. },
  24505. "wrstandardcode": {
  24506. "description": "现货品类代码",
  24507. "type": "string"
  24508. },
  24509. "wrstandardid": {
  24510. "description": "现货品类ID(SEQ_WRSTANDARD)",
  24511. "type": "integer"
  24512. },
  24513. "wrstandardname": {
  24514. "description": "现货品类名称",
  24515. "type": "string"
  24516. }
  24517. }
  24518. },
  24519. "models.Warehouseinfo": {
  24520. "type": "object",
  24521. "required": [
  24522. "autoid",
  24523. "warehousecode"
  24524. ],
  24525. "properties": {
  24526. "address": {
  24527. "description": "详细地址",
  24528. "type": "string"
  24529. },
  24530. "areauserid": {
  24531. "description": "所属机构",
  24532. "type": "integer"
  24533. },
  24534. "autoid": {
  24535. "description": "自增ID",
  24536. "type": "integer"
  24537. },
  24538. "cityid": {
  24539. "description": "市",
  24540. "type": "integer"
  24541. },
  24542. "contactname": {
  24543. "description": "联系人",
  24544. "type": "string"
  24545. },
  24546. "contactnum": {
  24547. "description": "联系电话",
  24548. "type": "string"
  24549. },
  24550. "countryid": {
  24551. "description": "国家",
  24552. "type": "integer"
  24553. },
  24554. "createtime": {
  24555. "description": "创建时间",
  24556. "type": "string"
  24557. },
  24558. "districtid": {
  24559. "description": "区",
  24560. "type": "integer"
  24561. },
  24562. "hasvideo": {
  24563. "description": "是否有视频 - 0:无 1:有",
  24564. "type": "integer"
  24565. },
  24566. "provinceid": {
  24567. "description": "省",
  24568. "type": "integer"
  24569. },
  24570. "remark": {
  24571. "description": "审核备注",
  24572. "type": "string"
  24573. },
  24574. "videourl": {
  24575. "description": "视频地址",
  24576. "type": "string"
  24577. },
  24578. "warehousecode": {
  24579. "description": "仓库代码",
  24580. "type": "string"
  24581. },
  24582. "warehousename": {
  24583. "description": "仓库名称",
  24584. "type": "string"
  24585. },
  24586. "warehousestatus": {
  24587. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  24588. "type": "integer"
  24589. },
  24590. "warehousetype": {
  24591. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24592. "type": "integer"
  24593. }
  24594. }
  24595. },
  24596. "order.QueryHisTradeDetailRsp": {
  24597. "type": "object",
  24598. "required": [
  24599. "accountid",
  24600. "buyorsell",
  24601. "goodsid",
  24602. "histradedate",
  24603. "marketid",
  24604. "memberuserid",
  24605. "orderid",
  24606. "tradeamount",
  24607. "tradedate",
  24608. "tradeid",
  24609. "tradeprice",
  24610. "tradeqty",
  24611. "tradetime"
  24612. ],
  24613. "properties": {
  24614. "accountid": {
  24615. "description": "账户ID[报价币种]",
  24616. "type": "integer"
  24617. },
  24618. "buildtype": {
  24619. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24620. "type": "integer"
  24621. },
  24622. "buyorsell": {
  24623. "description": "方向 - 0:买 1:卖",
  24624. "type": "integer"
  24625. },
  24626. "charge": {
  24627. "description": "手续费",
  24628. "type": "number"
  24629. },
  24630. "closecharge": {
  24631. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24632. "type": "number"
  24633. },
  24634. "closeexchagechargevalue": {
  24635. "description": "平仓交易所手续费设置值",
  24636. "type": "number"
  24637. },
  24638. "closefeealgorithm": {
  24639. "description": "平仓手续费收取方式 1:比率 2:固定",
  24640. "type": "integer"
  24641. },
  24642. "closememberchargevalue": {
  24643. "description": "平仓会员手续费设置值",
  24644. "type": "number"
  24645. },
  24646. "closepl": {
  24647. "description": "平仓盈亏",
  24648. "type": "number"
  24649. },
  24650. "closepl2": {
  24651. "description": "平仓盈亏[逐笔]",
  24652. "type": "number"
  24653. },
  24654. "closeqty": {
  24655. "description": "平仓数量(先建后平操作 需要记录)",
  24656. "type": "integer"
  24657. },
  24658. "creditamount": {
  24659. "description": "授信金额",
  24660. "type": "number"
  24661. },
  24662. "gcaccountid": {
  24663. "description": "账户ID[合约币种]",
  24664. "type": "integer"
  24665. },
  24666. "goodscode": {
  24667. "description": "商品代码",
  24668. "type": "string"
  24669. },
  24670. "goodsid": {
  24671. "description": "商品ID",
  24672. "type": "integer"
  24673. },
  24674. "goodsname": {
  24675. "description": "商品名称",
  24676. "type": "string"
  24677. },
  24678. "histradedate": {
  24679. "description": "历史交易日",
  24680. "type": "string"
  24681. },
  24682. "intclosepl": {
  24683. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24684. "type": "integer"
  24685. },
  24686. "isconfirmexercise": {
  24687. "description": "是否确认行权- 0:否 1:是",
  24688. "type": "integer"
  24689. },
  24690. "ismain": {
  24691. "description": "是否主单 - 0:不是 1:是",
  24692. "type": "integer"
  24693. },
  24694. "ispreexercise": {
  24695. "description": "是否预申报- 0:否 1:是",
  24696. "type": "integer"
  24697. },
  24698. "isreckoned": {
  24699. "description": "是否结算 - 0:未结算 1:已结算",
  24700. "type": "integer"
  24701. },
  24702. "isvaliddata": {
  24703. "description": "是否有效 - 0:无效 1:有效",
  24704. "type": "integer"
  24705. },
  24706. "listingselecttype": {
  24707. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24708. "type": "integer"
  24709. },
  24710. "marketid": {
  24711. "description": "市场ID",
  24712. "type": "integer"
  24713. },
  24714. "marketname": {
  24715. "description": "市场名称",
  24716. "type": "string"
  24717. },
  24718. "matchaccountid": {
  24719. "description": "对手账号id",
  24720. "type": "integer"
  24721. },
  24722. "memberuserid": {
  24723. "description": "会员id 个人投资者 需要填写",
  24724. "type": "integer"
  24725. },
  24726. "opencharge": {
  24727. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24728. "type": "number"
  24729. },
  24730. "openexchagechargevalue": {
  24731. "description": "建仓交易所手续费设置值",
  24732. "type": "number"
  24733. },
  24734. "openfeealgorithm": {
  24735. "description": "建仓手续费收取方式 1:比率 2:固定",
  24736. "type": "integer"
  24737. },
  24738. "openmemberchargevalue": {
  24739. "description": "建仓会员手续费设置值",
  24740. "type": "number"
  24741. },
  24742. "openqty": {
  24743. "description": "开仓数量(先建后平操作 需要记录)",
  24744. "type": "integer"
  24745. },
  24746. "optiontype": {
  24747. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24748. "type": "integer"
  24749. },
  24750. "orderid": {
  24751. "description": "委托单号",
  24752. "type": "string"
  24753. },
  24754. "performanceplanid": {
  24755. "description": "履约计划ID[期权]",
  24756. "type": "integer"
  24757. },
  24758. "performancestatus": {
  24759. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24760. "type": "integer"
  24761. },
  24762. "preexerciseprice": {
  24763. "description": "预申报价格",
  24764. "type": "number"
  24765. },
  24766. "premium": {
  24767. "description": "权利金 - [持仓单的权利金]",
  24768. "type": "number"
  24769. },
  24770. "relatedouttradeid": {
  24771. "description": "关联外部成交单ID",
  24772. "type": "integer"
  24773. },
  24774. "status": {
  24775. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24776. "type": "integer"
  24777. },
  24778. "tradeamount": {
  24779. "description": "成交金额[账户币种,用于所有权]",
  24780. "type": "number"
  24781. },
  24782. "tradedate": {
  24783. "description": "交易日(yyyyMMdd)",
  24784. "type": "string"
  24785. },
  24786. "tradeid": {
  24787. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24788. "type": "string"
  24789. },
  24790. "trademode": {
  24791. "description": "交易模式",
  24792. "type": "integer"
  24793. },
  24794. "tradeprice": {
  24795. "description": "成交价格",
  24796. "type": "number"
  24797. },
  24798. "tradeproperty": {
  24799. "description": "交易属性",
  24800. "type": "integer"
  24801. },
  24802. "tradeqty": {
  24803. "description": "成交数量",
  24804. "type": "integer"
  24805. },
  24806. "tradetime": {
  24807. "description": "成交时间",
  24808. "type": "string"
  24809. },
  24810. "tradetype": {
  24811. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24812. "type": "integer"
  24813. }
  24814. }
  24815. },
  24816. "order.QueryHisTradeOrderDetailRsp": {
  24817. "type": "object",
  24818. "required": [
  24819. "accountid",
  24820. "buildtype",
  24821. "buyorsell",
  24822. "goodsid",
  24823. "histradedate",
  24824. "marketid",
  24825. "memberuserid",
  24826. "operatetype",
  24827. "orderid",
  24828. "orderqty",
  24829. "ordertime",
  24830. "pricemode",
  24831. "tradedate",
  24832. "validtype"
  24833. ],
  24834. "properties": {
  24835. "accountid": {
  24836. "description": "账户ID[报价币种]",
  24837. "type": "integer"
  24838. },
  24839. "buildtype": {
  24840. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24841. "type": "integer"
  24842. },
  24843. "buyorsell": {
  24844. "description": "买卖 - 0:买 1:卖",
  24845. "type": "integer"
  24846. },
  24847. "cancelorderid": {
  24848. "description": "撤单单号(撤单时填写)",
  24849. "type": "string"
  24850. },
  24851. "cancelqty": {
  24852. "description": "撤单数量",
  24853. "type": "integer"
  24854. },
  24855. "clientordertime": {
  24856. "description": "客户端委托时间",
  24857. "type": "string"
  24858. },
  24859. "clientticket": {
  24860. "description": "客户端流水号",
  24861. "type": "string"
  24862. },
  24863. "clienttype": {
  24864. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24865. "type": "integer"
  24866. },
  24867. "closeexchagechargevalue": {
  24868. "description": "平仓交易所手续费设置值",
  24869. "type": "number"
  24870. },
  24871. "closefeealgorithm": {
  24872. "description": "平仓手续费收取方式 1:比率 2:固定",
  24873. "type": "integer"
  24874. },
  24875. "closefreezecharge": {
  24876. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24877. "type": "number"
  24878. },
  24879. "closememberchargevalue": {
  24880. "description": "平仓会员手续费设置值",
  24881. "type": "number"
  24882. },
  24883. "closeqty": {
  24884. "description": "平仓数量(先建后平操作 需要记录)",
  24885. "type": "integer"
  24886. },
  24887. "closetradeqty": {
  24888. "description": "平仓成交数量(先建后平操作,需要记录)",
  24889. "type": "integer"
  24890. },
  24891. "closeunfreezecharge": {
  24892. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24893. "type": "number"
  24894. },
  24895. "delistingtype": {
  24896. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24897. "type": "integer"
  24898. },
  24899. "freezecharge": {
  24900. "description": "冻结手续费",
  24901. "type": "number"
  24902. },
  24903. "freezemargin": {
  24904. "description": "冻结保证金(冻结交易金额)",
  24905. "type": "number"
  24906. },
  24907. "gcaccountid": {
  24908. "description": "账户ID[合约币种]",
  24909. "type": "integer"
  24910. },
  24911. "goodscode": {
  24912. "description": "商品代码",
  24913. "type": "string"
  24914. },
  24915. "goodsid": {
  24916. "description": "商品ID",
  24917. "type": "integer"
  24918. },
  24919. "goodsname": {
  24920. "description": "商品名称",
  24921. "type": "string"
  24922. },
  24923. "histradedate": {
  24924. "description": "历史交易日",
  24925. "type": "string"
  24926. },
  24927. "isconfirmexercise": {
  24928. "description": "是否确认行权- 0:否 1:是",
  24929. "type": "integer"
  24930. },
  24931. "ispreexercise": {
  24932. "description": "是否预申报- 0:否 1:是",
  24933. "type": "integer"
  24934. },
  24935. "isvaliddata": {
  24936. "description": "是否有效 - 0:无效 1:有效",
  24937. "type": "integer"
  24938. },
  24939. "listingselecttype": {
  24940. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24941. "type": "integer"
  24942. },
  24943. "marginalgorithm": {
  24944. "description": "保证金收取方式 1:比率 2:固定",
  24945. "type": "integer"
  24946. },
  24947. "marginvalue": {
  24948. "description": "即市保证金设置值",
  24949. "type": "number"
  24950. },
  24951. "marketid": {
  24952. "description": "市场ID",
  24953. "type": "integer"
  24954. },
  24955. "marketmaxsub": {
  24956. "description": "市价最大偏移范围",
  24957. "type": "number"
  24958. },
  24959. "marketname": {
  24960. "description": "市场名称",
  24961. "type": "string"
  24962. },
  24963. "memberuserid": {
  24964. "description": "所属会员UserID",
  24965. "type": "integer"
  24966. },
  24967. "openexchagechargevalue": {
  24968. "description": "建仓交易所手续费设置值",
  24969. "type": "number"
  24970. },
  24971. "openfeealgorithm": {
  24972. "description": "建仓手续费收取方式 1:比率 2:固定",
  24973. "type": "integer"
  24974. },
  24975. "openfreezecharge": {
  24976. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24977. "type": "number"
  24978. },
  24979. "openmemberchargevalue": {
  24980. "description": "建仓会员手续费设置值",
  24981. "type": "number"
  24982. },
  24983. "openqty": {
  24984. "description": "开仓数量(先建后平操作,需要记录)",
  24985. "type": "integer"
  24986. },
  24987. "opentradeqty": {
  24988. "description": "开仓成交数量(先建后平操作,需要记录)",
  24989. "type": "integer"
  24990. },
  24991. "openunfreezecharge": {
  24992. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24993. "type": "number"
  24994. },
  24995. "operatetype": {
  24996. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24997. "type": "integer"
  24998. },
  24999. "operatorid": {
  25000. "description": "登录账号(LoginID)",
  25001. "type": "integer"
  25002. },
  25003. "optiontype": {
  25004. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25005. "type": "integer"
  25006. },
  25007. "orderid": {
  25008. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25009. "type": "string"
  25010. },
  25011. "orderprice": {
  25012. "description": "委托价格",
  25013. "type": "number"
  25014. },
  25015. "orderqty": {
  25016. "description": "委托数量",
  25017. "type": "integer"
  25018. },
  25019. "ordersrc": {
  25020. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  25021. "type": "integer"
  25022. },
  25023. "orderstatus": {
  25024. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25025. "type": "integer"
  25026. },
  25027. "ordertime": {
  25028. "description": "委托时间",
  25029. "type": "string"
  25030. },
  25031. "preexerciseprice": {
  25032. "description": "预申报价格",
  25033. "type": "number"
  25034. },
  25035. "premium": {
  25036. "description": "权利金",
  25037. "type": "number"
  25038. },
  25039. "preorderid": {
  25040. "description": "关联预埋单号(止盈止损单时填写)",
  25041. "type": "string"
  25042. },
  25043. "pricemode": {
  25044. "description": "取价方式 - 1:市价 2: 限价",
  25045. "type": "integer"
  25046. },
  25047. "quoteid": {
  25048. "description": "报价单ID",
  25049. "type": "integer"
  25050. },
  25051. "relatedid": {
  25052. "description": "关联单号(交割单)",
  25053. "type": "string"
  25054. },
  25055. "retcode": {
  25056. "description": "错误代码",
  25057. "type": "integer"
  25058. },
  25059. "sessionid": {
  25060. "description": "会话ID",
  25061. "type": "integer"
  25062. },
  25063. "tradedate": {
  25064. "description": "交易日(yyyyMMdd)",
  25065. "type": "string"
  25066. },
  25067. "trademode": {
  25068. "description": "交易模式",
  25069. "type": "integer"
  25070. },
  25071. "tradeproperty": {
  25072. "description": "交易属性",
  25073. "type": "integer"
  25074. },
  25075. "tradeqty": {
  25076. "description": "成交数量",
  25077. "type": "integer"
  25078. },
  25079. "unfreezecharge": {
  25080. "description": "解冻手续费",
  25081. "type": "number"
  25082. },
  25083. "unfreezemargin": {
  25084. "description": "解冻保证金",
  25085. "type": "number"
  25086. },
  25087. "updatetime": {
  25088. "description": "更新时间",
  25089. "type": "string"
  25090. },
  25091. "uuid": {
  25092. "description": "发起端唯一id",
  25093. "type": "string"
  25094. },
  25095. "validtime": {
  25096. "description": "有效期限",
  25097. "type": "string"
  25098. },
  25099. "validtype": {
  25100. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25101. "type": "integer"
  25102. },
  25103. "volumetype": {
  25104. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25105. "type": "integer"
  25106. }
  25107. }
  25108. },
  25109. "order.QueryTradeDetailRsp": {
  25110. "type": "object",
  25111. "required": [
  25112. "accountid",
  25113. "buyorsell",
  25114. "goodsid",
  25115. "marketid",
  25116. "memberuserid",
  25117. "orderid",
  25118. "tradeamount",
  25119. "tradedate",
  25120. "tradeid",
  25121. "tradeprice",
  25122. "tradeqty",
  25123. "tradetime"
  25124. ],
  25125. "properties": {
  25126. "accountid": {
  25127. "description": "账户ID[报价币种]",
  25128. "type": "integer"
  25129. },
  25130. "buildtype": {
  25131. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25132. "type": "integer"
  25133. },
  25134. "buyorsell": {
  25135. "description": "方向 - 0:买 1:卖",
  25136. "type": "integer"
  25137. },
  25138. "charge": {
  25139. "description": "手续费",
  25140. "type": "number"
  25141. },
  25142. "closecharge": {
  25143. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25144. "type": "number"
  25145. },
  25146. "closeexchagechargevalue": {
  25147. "description": "平仓交易所手续费设置值",
  25148. "type": "number"
  25149. },
  25150. "closefeealgorithm": {
  25151. "description": "平仓手续费收取方式 1:比率 2:固定",
  25152. "type": "integer"
  25153. },
  25154. "closememberchargevalue": {
  25155. "description": "平仓会员手续费设置值",
  25156. "type": "number"
  25157. },
  25158. "closepl": {
  25159. "description": "平仓盈亏",
  25160. "type": "number"
  25161. },
  25162. "closepl2": {
  25163. "description": "平仓盈亏[逐笔]",
  25164. "type": "number"
  25165. },
  25166. "closeqty": {
  25167. "description": "平仓数量(先建后平操作 需要记录)",
  25168. "type": "integer"
  25169. },
  25170. "creditamount": {
  25171. "description": "授信金额",
  25172. "type": "number"
  25173. },
  25174. "gcaccountid": {
  25175. "description": "账户ID[合约币种]",
  25176. "type": "integer"
  25177. },
  25178. "goodscode": {
  25179. "description": "商品代码",
  25180. "type": "string"
  25181. },
  25182. "goodsid": {
  25183. "description": "商品ID",
  25184. "type": "integer"
  25185. },
  25186. "goodsname": {
  25187. "description": "商品名称",
  25188. "type": "string"
  25189. },
  25190. "intclosepl": {
  25191. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25192. "type": "integer"
  25193. },
  25194. "isconfirmexercise": {
  25195. "description": "是否确认行权- 0:否 1:是",
  25196. "type": "integer"
  25197. },
  25198. "ismain": {
  25199. "description": "是否主单 - 0:不是 1:是",
  25200. "type": "integer"
  25201. },
  25202. "ispreexercise": {
  25203. "description": "是否预申报- 0:否 1:是",
  25204. "type": "integer"
  25205. },
  25206. "isreckoned": {
  25207. "description": "是否结算 - 0:未结算 1:已结算",
  25208. "type": "integer"
  25209. },
  25210. "listingselecttype": {
  25211. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25212. "type": "integer"
  25213. },
  25214. "marketid": {
  25215. "description": "市场ID",
  25216. "type": "integer"
  25217. },
  25218. "marketname": {
  25219. "description": "市场名称",
  25220. "type": "string"
  25221. },
  25222. "matchaccountid": {
  25223. "description": "对手账号id",
  25224. "type": "integer"
  25225. },
  25226. "memberuserid": {
  25227. "description": "会员id 个人投资者 需要填写",
  25228. "type": "integer"
  25229. },
  25230. "opencharge": {
  25231. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25232. "type": "number"
  25233. },
  25234. "openexchagechargevalue": {
  25235. "description": "建仓交易所手续费设置值",
  25236. "type": "number"
  25237. },
  25238. "openfeealgorithm": {
  25239. "description": "建仓手续费收取方式 1:比率 2:固定",
  25240. "type": "integer"
  25241. },
  25242. "openmemberchargevalue": {
  25243. "description": "建仓会员手续费设置值",
  25244. "type": "number"
  25245. },
  25246. "openqty": {
  25247. "description": "开仓数量(先建后平操作 需要记录)",
  25248. "type": "integer"
  25249. },
  25250. "optiontype": {
  25251. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25252. "type": "integer"
  25253. },
  25254. "orderid": {
  25255. "description": "委托单号",
  25256. "type": "string"
  25257. },
  25258. "performanceplanid": {
  25259. "description": "履约计划ID[期权]",
  25260. "type": "integer"
  25261. },
  25262. "performancestatus": {
  25263. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25264. "type": "integer"
  25265. },
  25266. "preexerciseprice": {
  25267. "description": "预申报价格",
  25268. "type": "number"
  25269. },
  25270. "premium": {
  25271. "description": "权利金 - [持仓单的权利金]",
  25272. "type": "number"
  25273. },
  25274. "relatedouttradeid": {
  25275. "description": "关联外部成交单ID",
  25276. "type": "integer"
  25277. },
  25278. "status": {
  25279. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  25280. "type": "integer"
  25281. },
  25282. "tradeamount": {
  25283. "description": "成交金额[账户币种,用于所有权]",
  25284. "type": "number"
  25285. },
  25286. "tradedate": {
  25287. "description": "交易日(yyyyMMdd)",
  25288. "type": "string"
  25289. },
  25290. "tradeid": {
  25291. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25292. "type": "string"
  25293. },
  25294. "trademode": {
  25295. "description": "交易模式",
  25296. "type": "integer"
  25297. },
  25298. "tradeprice": {
  25299. "description": "成交价格",
  25300. "type": "number"
  25301. },
  25302. "tradeproperty": {
  25303. "description": "交易属性",
  25304. "type": "integer"
  25305. },
  25306. "tradeqty": {
  25307. "description": "成交数量",
  25308. "type": "integer"
  25309. },
  25310. "tradetime": {
  25311. "description": "成交时间",
  25312. "type": "string"
  25313. },
  25314. "tradetype": {
  25315. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  25316. "type": "integer"
  25317. }
  25318. }
  25319. },
  25320. "order.QueryTradeOrderDetailRsp": {
  25321. "type": "object",
  25322. "required": [
  25323. "accountid",
  25324. "buildtype",
  25325. "buyorsell",
  25326. "goodsid",
  25327. "marketid",
  25328. "operatetype",
  25329. "orderqty",
  25330. "ordertime",
  25331. "pricemode",
  25332. "tradedate",
  25333. "validtype"
  25334. ],
  25335. "properties": {
  25336. "accountid": {
  25337. "description": "账户ID[报价币种]",
  25338. "type": "integer"
  25339. },
  25340. "buildtype": {
  25341. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  25342. "type": "integer"
  25343. },
  25344. "buyorsell": {
  25345. "description": "买卖 - 0:买 1:卖",
  25346. "type": "integer"
  25347. },
  25348. "cancelorderid": {
  25349. "description": "撤单单号(撤单时填写)",
  25350. "type": "string"
  25351. },
  25352. "cancelqty": {
  25353. "description": "撤单数量",
  25354. "type": "integer"
  25355. },
  25356. "clienttype": {
  25357. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25358. "type": "integer"
  25359. },
  25360. "closefreezecharge": {
  25361. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  25362. "type": "number"
  25363. },
  25364. "closeqty": {
  25365. "description": "平仓数量(先建后平操作 需要记录)",
  25366. "type": "integer"
  25367. },
  25368. "closetradeqty": {
  25369. "description": "平仓成交数量(先建后平操作,需要记录)",
  25370. "type": "integer"
  25371. },
  25372. "closeunfreezecharge": {
  25373. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  25374. "type": "number"
  25375. },
  25376. "delistingtype": {
  25377. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  25378. "type": "integer"
  25379. },
  25380. "enableqty": {
  25381. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  25382. "type": "integer"
  25383. },
  25384. "freezecharge": {
  25385. "description": "冻结手续费",
  25386. "type": "number"
  25387. },
  25388. "freezemargin": {
  25389. "description": "冻结保证金(冻结交易金额)",
  25390. "type": "number"
  25391. },
  25392. "goodscode": {
  25393. "description": "商品代码",
  25394. "type": "string"
  25395. },
  25396. "goodsid": {
  25397. "description": "商品ID",
  25398. "type": "integer"
  25399. },
  25400. "goodsname": {
  25401. "description": "商品名称",
  25402. "type": "string"
  25403. },
  25404. "listingselecttype": {
  25405. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25406. "type": "integer"
  25407. },
  25408. "marketid": {
  25409. "description": "市场ID",
  25410. "type": "integer"
  25411. },
  25412. "marketname": {
  25413. "description": "市场名称",
  25414. "type": "string"
  25415. },
  25416. "openfreezecharge": {
  25417. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  25418. "type": "number"
  25419. },
  25420. "openqty": {
  25421. "description": "开仓数量(先建后平操作,需要记录)",
  25422. "type": "integer"
  25423. },
  25424. "opentradeqty": {
  25425. "description": "开仓成交数量(先建后平操作,需要记录)",
  25426. "type": "integer"
  25427. },
  25428. "openunfreezecharge": {
  25429. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  25430. "type": "number"
  25431. },
  25432. "operatetype": {
  25433. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  25434. "type": "integer"
  25435. },
  25436. "operatorid": {
  25437. "description": "登录账号(LoginID)",
  25438. "type": "integer"
  25439. },
  25440. "orderid": {
  25441. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25442. "type": "string"
  25443. },
  25444. "orderprice": {
  25445. "description": "委托价格",
  25446. "type": "number"
  25447. },
  25448. "orderqty": {
  25449. "description": "委托数量",
  25450. "type": "integer"
  25451. },
  25452. "ordersrc": {
  25453. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  25454. "type": "integer"
  25455. },
  25456. "orderstatus": {
  25457. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25458. "type": "integer"
  25459. },
  25460. "ordertime": {
  25461. "description": "委托时间",
  25462. "type": "string"
  25463. },
  25464. "preorderid": {
  25465. "description": "关联预埋单号(止盈止损单时填写)",
  25466. "type": "string"
  25467. },
  25468. "pricemode": {
  25469. "description": "取价方式 - 1:市价 2: 限价",
  25470. "type": "integer"
  25471. },
  25472. "relatedid": {
  25473. "description": "关联单号(交割单)",
  25474. "type": "string"
  25475. },
  25476. "tradedate": {
  25477. "description": "交易日(yyyyMMdd)",
  25478. "type": "string"
  25479. },
  25480. "trademode": {
  25481. "description": "交易模式",
  25482. "type": "integer"
  25483. },
  25484. "tradeqty": {
  25485. "description": "成交数量",
  25486. "type": "integer"
  25487. },
  25488. "unfreezecharge": {
  25489. "description": "解冻手续费",
  25490. "type": "number"
  25491. },
  25492. "unfreezemargin": {
  25493. "description": "解冻保证金",
  25494. "type": "number"
  25495. },
  25496. "validtime": {
  25497. "description": "有效期限",
  25498. "type": "string"
  25499. },
  25500. "validtype": {
  25501. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25502. "type": "integer"
  25503. },
  25504. "volumetype": {
  25505. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25506. "type": "integer"
  25507. }
  25508. }
  25509. },
  25510. "order.QueryTradePositionRsp": {
  25511. "type": "object",
  25512. "required": [
  25513. "goodsid"
  25514. ],
  25515. "properties": {
  25516. "accountid": {
  25517. "description": "资金账户",
  25518. "type": "integer"
  25519. },
  25520. "agreeunit": {
  25521. "description": "合约单位",
  25522. "type": "number"
  25523. },
  25524. "averageprice": {
  25525. "description": "持仓均价",
  25526. "type": "number"
  25527. },
  25528. "buyorsell": {
  25529. "description": "方向 - 0:买 1:卖",
  25530. "type": "integer"
  25531. },
  25532. "closetotalqty": {
  25533. "description": "平仓总数量",
  25534. "type": "integer"
  25535. },
  25536. "curholderamount": {
  25537. "description": "当前持仓总金额[商品币种]",
  25538. "type": "number"
  25539. },
  25540. "curpositionqty": {
  25541. "description": "当前持仓总数量",
  25542. "type": "integer"
  25543. },
  25544. "currencyid": {
  25545. "description": "报价货币ID",
  25546. "type": "integer"
  25547. },
  25548. "curtdposition": {
  25549. "description": "期末今日头寸",
  25550. "type": "integer"
  25551. },
  25552. "decimalplace": {
  25553. "description": "报价小数位",
  25554. "type": "integer"
  25555. },
  25556. "enableqty": {
  25557. "description": "可用量",
  25558. "type": "integer"
  25559. },
  25560. "fretdposition": {
  25561. "description": "冻结今日头寸",
  25562. "type": "integer"
  25563. },
  25564. "frozenqty": {
  25565. "description": "持仓冻结数量",
  25566. "type": "integer"
  25567. },
  25568. "goodscode": {
  25569. "description": "商品代码",
  25570. "type": "string"
  25571. },
  25572. "goodsid": {
  25573. "description": "商品Id",
  25574. "type": "integer"
  25575. },
  25576. "goodsname": {
  25577. "description": "商品名称",
  25578. "type": "string"
  25579. },
  25580. "goodunit": {
  25581. "description": "报价单位",
  25582. "type": "string"
  25583. },
  25584. "goodunitid": {
  25585. "description": "报价单位ID",
  25586. "type": "integer"
  25587. },
  25588. "holderamount": {
  25589. "description": "期初持仓总金额[商品币种]",
  25590. "type": "number"
  25591. },
  25592. "marketid": {
  25593. "description": "所属市场ID",
  25594. "type": "integer"
  25595. },
  25596. "openreqqty": {
  25597. "description": "开仓申请数量(用于比较最大持仓数量)",
  25598. "type": "integer"
  25599. },
  25600. "opentotalqty": {
  25601. "description": "开仓总数量",
  25602. "type": "integer"
  25603. },
  25604. "otherfrozenqty": {
  25605. "description": "持仓其他冻结数量(交割冻结)",
  25606. "type": "integer"
  25607. },
  25608. "positionqty": {
  25609. "description": "期初持仓数量",
  25610. "type": "integer"
  25611. },
  25612. "tnqty": {
  25613. "description": "T+N冻结总量",
  25614. "type": "integer"
  25615. },
  25616. "tnusedqty": {
  25617. "description": "T+N使用量(可以使用T+N的冻结数量)",
  25618. "type": "integer"
  25619. },
  25620. "trademode": {
  25621. "description": "交易模式",
  25622. "type": "integer"
  25623. },
  25624. "usedmargin": {
  25625. "description": "占用保证金[商品币种]",
  25626. "type": "number"
  25627. }
  25628. }
  25629. },
  25630. "quote.HistoryData": {
  25631. "type": "object",
  25632. "properties": {
  25633. "c": {
  25634. "description": "收盘价",
  25635. "type": "number"
  25636. },
  25637. "f": {
  25638. "description": "是否补充数据",
  25639. "type": "boolean"
  25640. },
  25641. "h": {
  25642. "description": "最高价",
  25643. "type": "number"
  25644. },
  25645. "hv": {
  25646. "description": "持仓量",
  25647. "type": "integer"
  25648. },
  25649. "l": {
  25650. "description": "最低价",
  25651. "type": "number"
  25652. },
  25653. "o": {
  25654. "description": "开盘价",
  25655. "type": "number"
  25656. },
  25657. "s": {
  25658. "description": "结算价,日线周期(包括)以上才有",
  25659. "type": "number"
  25660. },
  25661. "ts": {
  25662. "description": "时间",
  25663. "type": "string"
  25664. },
  25665. "tt": {
  25666. "description": "总金额",
  25667. "type": "number"
  25668. },
  25669. "tv": {
  25670. "description": "总量",
  25671. "type": "integer"
  25672. }
  25673. }
  25674. },
  25675. "quote.HistoryTikData": {
  25676. "type": "object",
  25677. "properties": {
  25678. "AV": {
  25679. "description": "卖量",
  25680. "type": "integer"
  25681. },
  25682. "Ask": {
  25683. "description": "卖价",
  25684. "type": "number"
  25685. },
  25686. "BV": {
  25687. "description": "买量",
  25688. "type": "integer"
  25689. },
  25690. "Bid": {
  25691. "description": "买价",
  25692. "type": "number"
  25693. },
  25694. "HI": {
  25695. "description": "单笔持仓",
  25696. "type": "integer"
  25697. },
  25698. "HV": {
  25699. "description": "持仓量",
  25700. "type": "integer"
  25701. },
  25702. "PE": {
  25703. "description": "现价",
  25704. "type": "number"
  25705. },
  25706. "TDR": {
  25707. "description": "交易方向,0:买 1:卖",
  25708. "type": "integer"
  25709. },
  25710. "TK": {
  25711. "description": "交易类型",
  25712. "type": "integer"
  25713. },
  25714. "TS": {
  25715. "description": "行情时间文本",
  25716. "type": "string"
  25717. },
  25718. "TT": {
  25719. "description": "现金额",
  25720. "type": "number"
  25721. },
  25722. "Vol": {
  25723. "description": "现量",
  25724. "type": "integer"
  25725. }
  25726. }
  25727. },
  25728. "quote.QueryQuoteDayRsp": {
  25729. "type": "object",
  25730. "properties": {
  25731. "ask": {
  25732. "description": "卖1",
  25733. "type": "number"
  25734. },
  25735. "ask10": {
  25736. "description": "卖10",
  25737. "type": "number"
  25738. },
  25739. "ask2": {
  25740. "description": "卖2",
  25741. "type": "number"
  25742. },
  25743. "ask3": {
  25744. "description": "卖3",
  25745. "type": "number"
  25746. },
  25747. "ask4": {
  25748. "description": "卖4",
  25749. "type": "number"
  25750. },
  25751. "ask5": {
  25752. "description": "卖5",
  25753. "type": "number"
  25754. },
  25755. "ask6": {
  25756. "description": "卖6",
  25757. "type": "number"
  25758. },
  25759. "ask7": {
  25760. "description": "卖7",
  25761. "type": "number"
  25762. },
  25763. "ask8": {
  25764. "description": "卖8",
  25765. "type": "number"
  25766. },
  25767. "ask9": {
  25768. "description": "卖9",
  25769. "type": "number"
  25770. },
  25771. "askorderid": {
  25772. "description": "卖单号1",
  25773. "type": "integer"
  25774. },
  25775. "askorderid2": {
  25776. "description": "卖单号2",
  25777. "type": "integer"
  25778. },
  25779. "askorderid3": {
  25780. "description": "卖单号3",
  25781. "type": "integer"
  25782. },
  25783. "askorderid4": {
  25784. "description": "卖单号4",
  25785. "type": "integer"
  25786. },
  25787. "askorderid5": {
  25788. "description": "卖单号5",
  25789. "type": "integer"
  25790. },
  25791. "askordervolume": {
  25792. "description": "卖单量1",
  25793. "type": "integer"
  25794. },
  25795. "askordervolume10": {
  25796. "description": "卖单量10",
  25797. "type": "integer"
  25798. },
  25799. "askordervolume2": {
  25800. "description": "卖单量2",
  25801. "type": "integer"
  25802. },
  25803. "askordervolume3": {
  25804. "description": "卖单量3",
  25805. "type": "integer"
  25806. },
  25807. "askordervolume4": {
  25808. "description": "卖单量4",
  25809. "type": "integer"
  25810. },
  25811. "askordervolume5": {
  25812. "description": "卖单量5",
  25813. "type": "integer"
  25814. },
  25815. "askordervolume6": {
  25816. "description": "卖单量6",
  25817. "type": "integer"
  25818. },
  25819. "askordervolume7": {
  25820. "description": "卖单量7",
  25821. "type": "integer"
  25822. },
  25823. "askordervolume8": {
  25824. "description": "卖单量8",
  25825. "type": "integer"
  25826. },
  25827. "askordervolume9": {
  25828. "description": "卖单量9",
  25829. "type": "integer"
  25830. },
  25831. "askqueueinfo": {
  25832. "description": "大利市卖港股用",
  25833. "type": "string"
  25834. },
  25835. "askvolume": {
  25836. "description": "卖量1",
  25837. "type": "integer"
  25838. },
  25839. "askvolume10": {
  25840. "description": "卖量10",
  25841. "type": "integer"
  25842. },
  25843. "askvolume2": {
  25844. "description": "卖量2",
  25845. "type": "integer"
  25846. },
  25847. "askvolume3": {
  25848. "description": "卖量3",
  25849. "type": "integer"
  25850. },
  25851. "askvolume4": {
  25852. "description": "卖量4",
  25853. "type": "integer"
  25854. },
  25855. "askvolume5": {
  25856. "description": "卖量5",
  25857. "type": "integer"
  25858. },
  25859. "askvolume6": {
  25860. "description": "卖量6",
  25861. "type": "integer"
  25862. },
  25863. "askvolume7": {
  25864. "description": "卖量7",
  25865. "type": "integer"
  25866. },
  25867. "askvolume8": {
  25868. "description": "卖量8",
  25869. "type": "integer"
  25870. },
  25871. "askvolume9": {
  25872. "description": "卖量9",
  25873. "type": "integer"
  25874. },
  25875. "averageprice": {
  25876. "description": "均价",
  25877. "type": "number"
  25878. },
  25879. "bid": {
  25880. "description": "买1",
  25881. "type": "number"
  25882. },
  25883. "bid10": {
  25884. "description": "买10",
  25885. "type": "number"
  25886. },
  25887. "bid2": {
  25888. "description": "买2",
  25889. "type": "number"
  25890. },
  25891. "bid3": {
  25892. "description": "买3",
  25893. "type": "number"
  25894. },
  25895. "bid4": {
  25896. "description": "买4",
  25897. "type": "number"
  25898. },
  25899. "bid5": {
  25900. "description": "买5",
  25901. "type": "number"
  25902. },
  25903. "bid6": {
  25904. "description": "买6",
  25905. "type": "number"
  25906. },
  25907. "bid7": {
  25908. "description": "买7",
  25909. "type": "number"
  25910. },
  25911. "bid8": {
  25912. "description": "买8",
  25913. "type": "number"
  25914. },
  25915. "bid9": {
  25916. "description": "买9",
  25917. "type": "number"
  25918. },
  25919. "bidorderid": {
  25920. "description": "买单号1",
  25921. "type": "integer"
  25922. },
  25923. "bidorderid2": {
  25924. "description": "买单号2",
  25925. "type": "integer"
  25926. },
  25927. "bidorderid3": {
  25928. "description": "买单号3",
  25929. "type": "integer"
  25930. },
  25931. "bidorderid4": {
  25932. "description": "买单号4",
  25933. "type": "integer"
  25934. },
  25935. "bidorderid5": {
  25936. "description": "买单号5",
  25937. "type": "integer"
  25938. },
  25939. "bidordervolume": {
  25940. "description": "买单量1",
  25941. "type": "integer"
  25942. },
  25943. "bidordervolume10": {
  25944. "description": "买单量10",
  25945. "type": "integer"
  25946. },
  25947. "bidordervolume2": {
  25948. "description": "买单量2",
  25949. "type": "integer"
  25950. },
  25951. "bidordervolume3": {
  25952. "description": "买单量3",
  25953. "type": "integer"
  25954. },
  25955. "bidordervolume4": {
  25956. "description": "买单量4",
  25957. "type": "integer"
  25958. },
  25959. "bidordervolume5": {
  25960. "description": "买单量5",
  25961. "type": "integer"
  25962. },
  25963. "bidordervolume6": {
  25964. "description": "买单量6",
  25965. "type": "integer"
  25966. },
  25967. "bidordervolume7": {
  25968. "description": "买单量7",
  25969. "type": "integer"
  25970. },
  25971. "bidordervolume8": {
  25972. "description": "买单量8",
  25973. "type": "integer"
  25974. },
  25975. "bidordervolume9": {
  25976. "description": "买单量9",
  25977. "type": "integer"
  25978. },
  25979. "bidqueueinfo": {
  25980. "description": "大利市买港股用",
  25981. "type": "string"
  25982. },
  25983. "bidvolume": {
  25984. "description": "买量1",
  25985. "type": "integer"
  25986. },
  25987. "bidvolume10": {
  25988. "description": "买量10",
  25989. "type": "integer"
  25990. },
  25991. "bidvolume2": {
  25992. "description": "买量2",
  25993. "type": "integer"
  25994. },
  25995. "bidvolume3": {
  25996. "description": "买量3",
  25997. "type": "integer"
  25998. },
  25999. "bidvolume4": {
  26000. "description": "买量4",
  26001. "type": "integer"
  26002. },
  26003. "bidvolume5": {
  26004. "description": "买量5",
  26005. "type": "integer"
  26006. },
  26007. "bidvolume6": {
  26008. "description": "买量6",
  26009. "type": "integer"
  26010. },
  26011. "bidvolume7": {
  26012. "description": "买量7",
  26013. "type": "integer"
  26014. },
  26015. "bidvolume8": {
  26016. "description": "买量8",
  26017. "type": "integer"
  26018. },
  26019. "bidvolume9": {
  26020. "description": "买量9",
  26021. "type": "integer"
  26022. },
  26023. "calloptionpremiums": {
  26024. "description": "认购期权1",
  26025. "type": "integer"
  26026. },
  26027. "calloptionpremiums2": {
  26028. "description": "认购期权2",
  26029. "type": "integer"
  26030. },
  26031. "calloptionpremiums3": {
  26032. "description": "认购期权3",
  26033. "type": "integer"
  26034. },
  26035. "calloptionpremiums4": {
  26036. "description": "认购期权4",
  26037. "type": "integer"
  26038. },
  26039. "calloptionpremiums5": {
  26040. "description": "认购期权5",
  26041. "type": "integer"
  26042. },
  26043. "cleartime": {
  26044. "description": "清盘时间",
  26045. "type": "integer"
  26046. },
  26047. "exchangecode": {
  26048. "description": "交易所代码",
  26049. "type": "integer"
  26050. },
  26051. "exchangedate": {
  26052. "description": "交易日",
  26053. "type": "integer"
  26054. },
  26055. "goodscode": {
  26056. "description": "商品代码",
  26057. "type": "string"
  26058. },
  26059. "grepmarketprice": {
  26060. "description": "暗盘价 港股专用",
  26061. "type": "number"
  26062. },
  26063. "highest": {
  26064. "description": "最高价",
  26065. "type": "number"
  26066. },
  26067. "holdincrement": {
  26068. "description": "单笔持仓",
  26069. "type": "integer"
  26070. },
  26071. "holdvolume": {
  26072. "description": "持仓",
  26073. "type": "integer"
  26074. },
  26075. "iep": {
  26076. "description": "平衡价 港股专用",
  26077. "type": "number"
  26078. },
  26079. "iev": {
  26080. "description": "平衡量 港股专用",
  26081. "type": "number"
  26082. },
  26083. "inventory": {
  26084. "description": "库存",
  26085. "type": "integer"
  26086. },
  26087. "iscleared": {
  26088. "description": "是否清盘标志",
  26089. "type": "integer"
  26090. },
  26091. "issettled": {
  26092. "description": "是否结算标志",
  26093. "type": "integer"
  26094. },
  26095. "last": {
  26096. "description": "最新价",
  26097. "type": "number"
  26098. },
  26099. "lastlot": {
  26100. "description": "最新成交手数",
  26101. "type": "integer"
  26102. },
  26103. "lasttime": {
  26104. "description": "行情时间(只有现价变化行情时间才变化)",
  26105. "type": "string"
  26106. },
  26107. "lastturnover": {
  26108. "description": "最新成交金额",
  26109. "type": "number"
  26110. },
  26111. "lastvolume": {
  26112. "description": "最新成交量",
  26113. "type": "integer"
  26114. },
  26115. "limitdown": {
  26116. "description": "跌停价",
  26117. "type": "number"
  26118. },
  26119. "limitup": {
  26120. "description": "涨停价",
  26121. "type": "number"
  26122. },
  26123. "lowest": {
  26124. "description": "最低价",
  26125. "type": "number"
  26126. },
  26127. "nontotalholdervolume": {
  26128. "description": "非交易持仓量",
  26129. "type": "integer"
  26130. },
  26131. "nontotallot": {
  26132. "description": "非交易总手数",
  26133. "type": "integer"
  26134. },
  26135. "nontotalturnover": {
  26136. "description": "非交易总金额",
  26137. "type": "integer"
  26138. },
  26139. "nontotalvolume": {
  26140. "description": "非交易总量",
  26141. "type": "integer"
  26142. },
  26143. "opened": {
  26144. "description": "开盘价",
  26145. "type": "number"
  26146. },
  26147. "opentime": {
  26148. "description": "开盘时间",
  26149. "type": "string"
  26150. },
  26151. "orderid": {
  26152. "description": "序号",
  26153. "type": "integer"
  26154. },
  26155. "preclose": {
  26156. "description": "昨收",
  26157. "type": "number"
  26158. },
  26159. "preholdvolume": {
  26160. "description": "昨持仓",
  26161. "type": "integer"
  26162. },
  26163. "presettle": {
  26164. "description": "昨结价",
  26165. "type": "number"
  26166. },
  26167. "publictradetype": {
  26168. "description": "公共交易标志类型 港股专用",
  26169. "type": "string"
  26170. },
  26171. "putoptionpremiums": {
  26172. "description": "认沽期权1",
  26173. "type": "integer"
  26174. },
  26175. "putoptionpremiums2": {
  26176. "description": "认沽期权2",
  26177. "type": "integer"
  26178. },
  26179. "putoptionpremiums3": {
  26180. "description": "认沽期权3",
  26181. "type": "integer"
  26182. },
  26183. "putoptionpremiums4": {
  26184. "description": "认沽期权4",
  26185. "type": "integer"
  26186. },
  26187. "putoptionpremiums5": {
  26188. "description": "认沽期权5",
  26189. "type": "integer"
  26190. },
  26191. "settle": {
  26192. "description": "结算价",
  26193. "type": "number"
  26194. },
  26195. "strikeprice": {
  26196. "description": "发行价",
  26197. "type": "number"
  26198. },
  26199. "totalaskvolume": {
  26200. "description": "内盘",
  26201. "type": "integer"
  26202. },
  26203. "totalbidvolume": {
  26204. "description": "外盘",
  26205. "type": "integer"
  26206. },
  26207. "totallot": {
  26208. "description": "总手数",
  26209. "type": "integer"
  26210. },
  26211. "totalturnover": {
  26212. "description": "总金额",
  26213. "type": "number"
  26214. },
  26215. "totalvolume": {
  26216. "description": "总量",
  26217. "type": "integer"
  26218. },
  26219. "utclasttime": {
  26220. "description": "utc的行情时间",
  26221. "type": "string"
  26222. }
  26223. }
  26224. },
  26225. "quote.QueryTSDataRsp": {
  26226. "type": "object",
  26227. "properties": {
  26228. "Count": {
  26229. "description": "交易日应有数据个数",
  26230. "type": "integer"
  26231. },
  26232. "decimalPlace": {
  26233. "description": "小数位",
  26234. "type": "integer"
  26235. },
  26236. "endTime": {
  26237. "description": "结束时间",
  26238. "type": "string"
  26239. },
  26240. "goodsCode": {
  26241. "description": "商品代码",
  26242. "type": "string"
  26243. },
  26244. "historyDatas": {
  26245. "description": "历史数据",
  26246. "type": "array",
  26247. "items": {
  26248. "$ref": "#/definitions/quote.HistoryData"
  26249. }
  26250. },
  26251. "outGoodsCode": {
  26252. "description": "外部商品代码",
  26253. "type": "string"
  26254. },
  26255. "preSettle": {
  26256. "description": "昨结价",
  26257. "type": "number"
  26258. },
  26259. "runSteps": {
  26260. "description": "交易日开休市计划",
  26261. "type": "array",
  26262. "items": {
  26263. "$ref": "#/definitions/quote.TSDataRunStep"
  26264. }
  26265. },
  26266. "startTime": {
  26267. "description": "开始时间",
  26268. "type": "string"
  26269. },
  26270. "tradeDate": {
  26271. "description": "交易日",
  26272. "type": "string"
  26273. }
  26274. }
  26275. },
  26276. "quote.TSDataRunStep": {
  26277. "type": "object",
  26278. "properties": {
  26279. "end": {
  26280. "description": "真实结束时间",
  26281. "type": "string"
  26282. },
  26283. "endflag": {
  26284. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  26285. "type": "integer"
  26286. },
  26287. "endtime": {
  26288. "description": "结束时间(HH:mm)",
  26289. "type": "string"
  26290. },
  26291. "endweekday": {
  26292. "description": "结束周几",
  26293. "type": "integer"
  26294. },
  26295. "groupid": {
  26296. "description": "分组ID",
  26297. "type": "integer"
  26298. },
  26299. "runstep": {
  26300. "description": "运行阶段 - 2:连续交易",
  26301. "type": "integer"
  26302. },
  26303. "sectionid": {
  26304. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  26305. "type": "integer"
  26306. },
  26307. "start": {
  26308. "description": "真实开始时间",
  26309. "type": "string"
  26310. },
  26311. "startflag": {
  26312. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  26313. "type": "integer"
  26314. },
  26315. "starttime": {
  26316. "description": "起始时间(HH:mm)",
  26317. "type": "string"
  26318. },
  26319. "startweekday": {
  26320. "description": "起始周几",
  26321. "type": "integer"
  26322. },
  26323. "tradeweekday": {
  26324. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  26325. "type": "integer"
  26326. }
  26327. }
  26328. },
  26329. "szdz.QueryConvertLogRsp": {
  26330. "type": "object",
  26331. "required": [
  26332. "logid"
  26333. ],
  26334. "properties": {
  26335. "accountid": {
  26336. "description": "资金账户ID",
  26337. "type": "integer"
  26338. },
  26339. "clientticket": {
  26340. "description": "客户端流水号",
  26341. "type": "string"
  26342. },
  26343. "converttype": {
  26344. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  26345. "type": "integer"
  26346. },
  26347. "createtime": {
  26348. "description": "记账时间",
  26349. "type": "string"
  26350. },
  26351. "daymaxvalue": {
  26352. "description": "配置当日最大转入限制",
  26353. "type": "number"
  26354. },
  26355. "daymaxvalue2": {
  26356. "description": "配置当日最大转入限制(转入)",
  26357. "type": "number"
  26358. },
  26359. "goodscode": {
  26360. "description": "商品代码",
  26361. "type": "string"
  26362. },
  26363. "goodsname": {
  26364. "description": "商品名称",
  26365. "type": "string"
  26366. },
  26367. "handlestatus": {
  26368. "description": "处理状态",
  26369. "type": "integer"
  26370. },
  26371. "innergoodsid": {
  26372. "description": "内部商品ID",
  26373. "type": "integer"
  26374. },
  26375. "inratio": {
  26376. "description": "配置转入比值",
  26377. "type": "integer"
  26378. },
  26379. "invalue": {
  26380. "description": "目标值",
  26381. "type": "number"
  26382. },
  26383. "logid": {
  26384. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26385. "type": "integer"
  26386. },
  26387. "mobile": {
  26388. "description": "手机号码(加密存储)",
  26389. "type": "string"
  26390. },
  26391. "outergoodscode": {
  26392. "description": "外部商品代码[JD\\PD]",
  26393. "type": "string"
  26394. },
  26395. "outratio": {
  26396. "description": "配置转出比值",
  26397. "type": "integer"
  26398. },
  26399. "outvalue": {
  26400. "description": "源值",
  26401. "type": "number"
  26402. },
  26403. "pddecimalplace": {
  26404. "description": "PD小数位",
  26405. "type": "integer"
  26406. },
  26407. "qty": {
  26408. "description": "数量",
  26409. "type": "string"
  26410. },
  26411. "remark": {
  26412. "description": "备注",
  26413. "type": "string"
  26414. },
  26415. "sessionid": {
  26416. "description": "会话ID",
  26417. "type": "integer"
  26418. },
  26419. "timemaxvalue": {
  26420. "description": "配置单次最大转入限制",
  26421. "type": "number"
  26422. },
  26423. "timemaxvalue2": {
  26424. "description": "配置单次最大转入限制(转入)",
  26425. "type": "number"
  26426. },
  26427. "timeminvalue": {
  26428. "description": "配置单次最小数量限制",
  26429. "type": "number"
  26430. },
  26431. "timeminvalue2": {
  26432. "description": "配置单次最小数量限制(转入)",
  26433. "type": "number"
  26434. },
  26435. "tradedate": {
  26436. "description": "交易日(yyyyMMdd)",
  26437. "type": "string"
  26438. },
  26439. "userid": {
  26440. "description": "用户ID",
  26441. "type": "integer"
  26442. }
  26443. }
  26444. },
  26445. "szdz.QueryGoodsPickupRsp": {
  26446. "type": "object",
  26447. "required": [
  26448. "takeorderid"
  26449. ],
  26450. "properties": {
  26451. "accountid": {
  26452. "description": "账户ID",
  26453. "type": "integer"
  26454. },
  26455. "address": {
  26456. "description": "提货人详细地址",
  26457. "type": "string"
  26458. },
  26459. "auditer": {
  26460. "description": "审核人",
  26461. "type": "integer"
  26462. },
  26463. "audittime": {
  26464. "description": "审核时间",
  26465. "type": "string"
  26466. },
  26467. "cardnum": {
  26468. "description": "提货人证件号码",
  26469. "type": "string"
  26470. },
  26471. "cardtypeid": {
  26472. "description": "提货人证件类型",
  26473. "type": "integer"
  26474. },
  26475. "checkremark": {
  26476. "description": "审核备注",
  26477. "type": "string"
  26478. },
  26479. "goodscode": {
  26480. "description": "商品代码",
  26481. "type": "string"
  26482. },
  26483. "goodsid": {
  26484. "description": "商品ID",
  26485. "type": "integer"
  26486. },
  26487. "goodsname": {
  26488. "description": "商品名称",
  26489. "type": "string"
  26490. },
  26491. "handlestatus": {
  26492. "description": "处理状态",
  26493. "type": "integer"
  26494. },
  26495. "marketid": {
  26496. "description": "市场ID",
  26497. "type": "integer"
  26498. },
  26499. "phonenum": {
  26500. "description": "提货人联系方式",
  26501. "type": "string"
  26502. },
  26503. "qty": {
  26504. "description": "提货数量",
  26505. "type": "number"
  26506. },
  26507. "recivername": {
  26508. "description": "提货人姓名",
  26509. "type": "string"
  26510. },
  26511. "reqtime": {
  26512. "description": "更新时间",
  26513. "type": "string"
  26514. },
  26515. "takemode": {
  26516. "description": "提货方式 - 2:自提 3:配送",
  26517. "type": "integer"
  26518. },
  26519. "takeorderid": {
  26520. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26521. "type": "string"
  26522. },
  26523. "takeorderstatus": {
  26524. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26525. "type": "integer"
  26526. },
  26527. "takeremark": {
  26528. "description": "提货备注",
  26529. "type": "string"
  26530. },
  26531. "tradedate": {
  26532. "description": "交易日(yyyyMMdd)",
  26533. "type": "string"
  26534. },
  26535. "userid": {
  26536. "description": "用户ID",
  26537. "type": "integer"
  26538. }
  26539. }
  26540. },
  26541. "szdz.QueryRecieptOrderRsp": {
  26542. "type": "object",
  26543. "required": [
  26544. "ordertime"
  26545. ],
  26546. "properties": {
  26547. "accountName": {
  26548. "description": "所属账号名称(已脱敏)",
  26549. "type": "string"
  26550. },
  26551. "accountid": {
  26552. "description": "资金账号",
  26553. "type": "integer"
  26554. },
  26555. "buyorsell": {
  26556. "description": "方向 - 0:买 1:卖",
  26557. "type": "integer"
  26558. },
  26559. "enableqty": {
  26560. "description": "可摘数量",
  26561. "type": "integer"
  26562. },
  26563. "goodscode": {
  26564. "description": "商品代码",
  26565. "type": "string"
  26566. },
  26567. "goodsid": {
  26568. "description": "商品ID",
  26569. "type": "integer"
  26570. },
  26571. "goodsname": {
  26572. "description": "商品名称",
  26573. "type": "string"
  26574. },
  26575. "orderid": {
  26576. "description": "委托单号",
  26577. "type": "string"
  26578. },
  26579. "orderprice": {
  26580. "description": "委托价格",
  26581. "type": "number"
  26582. },
  26583. "ordertime": {
  26584. "description": "委托时间",
  26585. "type": "string"
  26586. },
  26587. "tradedate": {
  26588. "description": "交易日(yyyyMMdd)",
  26589. "type": "string"
  26590. }
  26591. }
  26592. },
  26593. "szdz.QuerySZDZTradePositionRsp": {
  26594. "type": "object",
  26595. "properties": {
  26596. "accountid": {
  26597. "description": "账号Id",
  26598. "type": "integer"
  26599. },
  26600. "agreeunit": {
  26601. "description": "合约单位",
  26602. "type": "number"
  26603. },
  26604. "averageprice": {
  26605. "description": "持仓均价",
  26606. "type": "number"
  26607. },
  26608. "buyorsell": {
  26609. "description": "方向 - 0:买 1:卖",
  26610. "type": "integer"
  26611. },
  26612. "closetotalqty": {
  26613. "description": "平仓总数量",
  26614. "type": "integer"
  26615. },
  26616. "curholderamount": {
  26617. "description": "当前持仓总金额",
  26618. "type": "number"
  26619. },
  26620. "curpositionqty": {
  26621. "description": "当前持仓总数量",
  26622. "type": "integer"
  26623. },
  26624. "currencyid": {
  26625. "description": "报价货币ID",
  26626. "type": "integer"
  26627. },
  26628. "curtdposition": {
  26629. "description": "期末今日头寸",
  26630. "type": "integer"
  26631. },
  26632. "decimalplace": {
  26633. "description": "报价小数位",
  26634. "type": "integer"
  26635. },
  26636. "enableqty": {
  26637. "description": "可用量",
  26638. "type": "integer"
  26639. },
  26640. "fretdposition": {
  26641. "description": "冻结今日头寸",
  26642. "type": "integer"
  26643. },
  26644. "frozenqty": {
  26645. "description": "持仓冻结数量",
  26646. "type": "integer"
  26647. },
  26648. "goodscode": {
  26649. "description": "商品代码(内部)",
  26650. "type": "string"
  26651. },
  26652. "goodsid": {
  26653. "description": "商品Id",
  26654. "type": "integer"
  26655. },
  26656. "goodsname": {
  26657. "description": "商品名称",
  26658. "type": "string"
  26659. },
  26660. "goodunit": {
  26661. "description": "报价单位",
  26662. "type": "string"
  26663. },
  26664. "goodunitid": {
  26665. "description": "报价单位ID",
  26666. "type": "integer"
  26667. },
  26668. "holderamount": {
  26669. "description": "期初持仓总金额",
  26670. "type": "number"
  26671. },
  26672. "marketid": {
  26673. "description": "市场ID",
  26674. "type": "integer"
  26675. },
  26676. "openreqqty": {
  26677. "description": "开仓申请数量",
  26678. "type": "integer"
  26679. },
  26680. "opentotalqty": {
  26681. "description": "开仓总数量",
  26682. "type": "integer"
  26683. },
  26684. "otherfrozenqty": {
  26685. "description": "持仓其他冻结数量(交割冻结)",
  26686. "type": "integer"
  26687. },
  26688. "positionqty": {
  26689. "description": "期初持仓数量",
  26690. "type": "integer"
  26691. },
  26692. "szdz3freezqty": {
  26693. "description": "尚志大宗转换冻结总数量",
  26694. "type": "integer"
  26695. },
  26696. "tnqty": {
  26697. "description": "T+N冻结总量",
  26698. "type": "integer"
  26699. },
  26700. "tnusedqty": {
  26701. "description": "T+N使用量",
  26702. "type": "integer"
  26703. },
  26704. "trademode": {
  26705. "description": "交易模式",
  26706. "type": "integer"
  26707. },
  26708. "usedmargin": {
  26709. "description": "占用保证金",
  26710. "type": "number"
  26711. }
  26712. }
  26713. },
  26714. "taaccount.QueryAmountLogRsp": {
  26715. "type": "object",
  26716. "required": [
  26717. "accountid",
  26718. "amount",
  26719. "amountadjusttype",
  26720. "autoid",
  26721. "balance",
  26722. "createtime",
  26723. "currentbalance",
  26724. "operatetype"
  26725. ],
  26726. "properties": {
  26727. "OPERATETYPENAME": {
  26728. "description": "资金操作类型名称",
  26729. "type": "string"
  26730. },
  26731. "accountid": {
  26732. "description": "资金账户ID",
  26733. "type": "integer"
  26734. },
  26735. "agoodscode": {
  26736. "description": "竞拍商品代码",
  26737. "type": "string"
  26738. },
  26739. "agoodsname": {
  26740. "description": "竞拍商品名称",
  26741. "type": "string"
  26742. },
  26743. "amount": {
  26744. "description": "资金金额",
  26745. "type": "number"
  26746. },
  26747. "amountadjusttype": {
  26748. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26749. "type": "integer"
  26750. },
  26751. "autoid": {
  26752. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26753. "type": "integer"
  26754. },
  26755. "balance": {
  26756. "description": "期初余额",
  26757. "type": "number"
  26758. },
  26759. "businesscode": {
  26760. "description": "业务编号",
  26761. "type": "integer"
  26762. },
  26763. "createtime": {
  26764. "description": "发生时间",
  26765. "type": "string"
  26766. },
  26767. "currencyid": {
  26768. "description": "币种ID",
  26769. "type": "integer"
  26770. },
  26771. "currentbalance": {
  26772. "description": "期末余额(变动后金额)",
  26773. "type": "number"
  26774. },
  26775. "dgoodscode": {
  26776. "description": "交割商品代码",
  26777. "type": "string"
  26778. },
  26779. "dgoodsname": {
  26780. "description": "交割商品名称",
  26781. "type": "string"
  26782. },
  26783. "goodscode": {
  26784. "description": "商品代码",
  26785. "type": "string"
  26786. },
  26787. "goodsid": {
  26788. "description": "商品ID",
  26789. "type": "integer"
  26790. },
  26791. "goodsname": {
  26792. "description": "商品名称",
  26793. "type": "string"
  26794. },
  26795. "marketid": {
  26796. "description": "市场ID",
  26797. "type": "integer"
  26798. },
  26799. "marketname": {
  26800. "description": "市场名称",
  26801. "type": "string"
  26802. },
  26803. "moneyticket": {
  26804. "description": "资金流水号:银行端流水号",
  26805. "type": "integer"
  26806. },
  26807. "operatetype": {
  26808. "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:营销收款",
  26809. "type": "integer"
  26810. },
  26811. "relationorderid": {
  26812. "description": "关联单号",
  26813. "type": "string"
  26814. },
  26815. "remark": {
  26816. "description": "备注",
  26817. "type": "string"
  26818. },
  26819. "trademode": {
  26820. "description": "交易模式",
  26821. "type": "integer"
  26822. }
  26823. }
  26824. },
  26825. "taaccount.QueryHisAmountLogRsp": {
  26826. "type": "object",
  26827. "required": [
  26828. "accountid",
  26829. "amount",
  26830. "amountadjusttype",
  26831. "autoid",
  26832. "balance",
  26833. "createtime",
  26834. "currentbalance",
  26835. "histradedate",
  26836. "operatetype"
  26837. ],
  26838. "properties": {
  26839. "OPERATETYPENAME": {
  26840. "description": "资金操作类型名称",
  26841. "type": "string"
  26842. },
  26843. "accountid": {
  26844. "description": "资金账户ID",
  26845. "type": "integer"
  26846. },
  26847. "agoodscode": {
  26848. "description": "竞拍商品代码",
  26849. "type": "string"
  26850. },
  26851. "agoodsname": {
  26852. "description": "竞拍商品名称",
  26853. "type": "string"
  26854. },
  26855. "amount": {
  26856. "description": "资金金额",
  26857. "type": "number"
  26858. },
  26859. "amountadjusttype": {
  26860. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26861. "type": "integer"
  26862. },
  26863. "autoid": {
  26864. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26865. "type": "integer"
  26866. },
  26867. "balance": {
  26868. "description": "期初余额",
  26869. "type": "number"
  26870. },
  26871. "businesscode": {
  26872. "description": "业务编号",
  26873. "type": "integer"
  26874. },
  26875. "createtime": {
  26876. "description": "发生时间",
  26877. "type": "string"
  26878. },
  26879. "currencyid": {
  26880. "description": "币种ID",
  26881. "type": "integer"
  26882. },
  26883. "currentbalance": {
  26884. "description": "期末余额(变动后金额)",
  26885. "type": "number"
  26886. },
  26887. "dgoodscode": {
  26888. "description": "交割商品代码",
  26889. "type": "string"
  26890. },
  26891. "dgoodsname": {
  26892. "description": "交割商品名称",
  26893. "type": "string"
  26894. },
  26895. "goodscode": {
  26896. "description": "商品代码",
  26897. "type": "string"
  26898. },
  26899. "goodsid": {
  26900. "description": "商品ID",
  26901. "type": "integer"
  26902. },
  26903. "goodsname": {
  26904. "description": "商品名称",
  26905. "type": "string"
  26906. },
  26907. "histradedate": {
  26908. "description": "历史交易日",
  26909. "type": "string"
  26910. },
  26911. "isvaliddata": {
  26912. "description": "是否有效 - 0:无效 1:有效",
  26913. "type": "integer"
  26914. },
  26915. "marketid": {
  26916. "description": "市场ID",
  26917. "type": "integer"
  26918. },
  26919. "marketname": {
  26920. "description": "市场名称",
  26921. "type": "string"
  26922. },
  26923. "moneyticket": {
  26924. "description": "资金流水号:银行端流水号",
  26925. "type": "integer"
  26926. },
  26927. "operatetype": {
  26928. "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:营销收款",
  26929. "type": "integer"
  26930. },
  26931. "relationorderid": {
  26932. "description": "关联单号",
  26933. "type": "string"
  26934. },
  26935. "remark": {
  26936. "description": "备注",
  26937. "type": "string"
  26938. },
  26939. "trademode": {
  26940. "description": "交易模式",
  26941. "type": "integer"
  26942. }
  26943. }
  26944. },
  26945. "trade.QueryRecieptOrderRsp": {
  26946. "type": "object",
  26947. "required": [
  26948. "ordertime"
  26949. ],
  26950. "properties": {
  26951. "accountName": {
  26952. "description": "所属账号名称(已脱敏)",
  26953. "type": "string"
  26954. },
  26955. "accountid": {
  26956. "description": "资金账号",
  26957. "type": "integer"
  26958. },
  26959. "buyorsell": {
  26960. "description": "方向 - 0:买 1:卖",
  26961. "type": "integer"
  26962. },
  26963. "enableqty": {
  26964. "description": "可摘数量",
  26965. "type": "integer"
  26966. },
  26967. "goodscode": {
  26968. "description": "商品代码",
  26969. "type": "string"
  26970. },
  26971. "goodsid": {
  26972. "description": "商品ID",
  26973. "type": "integer"
  26974. },
  26975. "goodsname": {
  26976. "description": "商品名称",
  26977. "type": "string"
  26978. },
  26979. "orderid": {
  26980. "description": "委托单号",
  26981. "type": "string"
  26982. },
  26983. "orderprice": {
  26984. "description": "委托价格",
  26985. "type": "number"
  26986. },
  26987. "ordertime": {
  26988. "description": "委托时间",
  26989. "type": "string"
  26990. },
  26991. "tradedate": {
  26992. "description": "交易日(yyyyMMdd)",
  26993. "type": "string"
  26994. }
  26995. }
  26996. },
  26997. "user.LoginQueryRsp": {
  26998. "type": "object",
  26999. "properties": {
  27000. "areaRoles": {
  27001. "description": "所属角色信息",
  27002. "type": "array",
  27003. "items": {
  27004. "$ref": "#/definitions/models.Arearole"
  27005. }
  27006. },
  27007. "externalExchanges": {
  27008. "description": "外部交易所",
  27009. "type": "array",
  27010. "items": {
  27011. "$ref": "#/definitions/models.Externalexchange"
  27012. }
  27013. },
  27014. "goodsgroups": {
  27015. "description": "商品组",
  27016. "type": "array",
  27017. "items": {
  27018. "$ref": "#/definitions/models.Goodsgroup"
  27019. }
  27020. },
  27021. "loginAccount": {
  27022. "description": "登录账号",
  27023. "type": "object",
  27024. "$ref": "#/definitions/models.Loginaccount"
  27025. },
  27026. "markets": {
  27027. "description": "市场",
  27028. "type": "array",
  27029. "items": {
  27030. "$ref": "#/definitions/models.Market"
  27031. }
  27032. },
  27033. "systemParams": {
  27034. "description": "系统参数",
  27035. "type": "array",
  27036. "items": {
  27037. "$ref": "#/definitions/models.Systemparam"
  27038. }
  27039. },
  27040. "userAccount": {
  27041. "description": "用户账号",
  27042. "type": "object",
  27043. "$ref": "#/definitions/models.Useraccount"
  27044. },
  27045. "userInfo": {
  27046. "description": "用户信息",
  27047. "type": "object",
  27048. "$ref": "#/definitions/models.Userinfo"
  27049. },
  27050. "username": {
  27051. "description": "用户姓名",
  27052. "type": "string"
  27053. }
  27054. }
  27055. }
  27056. },
  27057. "securityDefinitions": {
  27058. "ApiKeyAuth": {
  27059. "type": "apiKey",
  27060. "name": "Authorization",
  27061. "in": "header"
  27062. }
  27063. }
  27064. }`
  27065. type swaggerInfo struct {
  27066. Version string
  27067. Host string
  27068. BasePath string
  27069. Schemes []string
  27070. Title string
  27071. Description string
  27072. }
  27073. // SwaggerInfo holds exported Swagger Info so clients can modify it
  27074. var SwaggerInfo = swaggerInfo{
  27075. Version: "1.0",
  27076. Host: "",
  27077. BasePath: "/api",
  27078. Schemes: []string{},
  27079. Title: "MTP2.0 查询服务 API",
  27080. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  27081. }
  27082. type s struct{}
  27083. func (s *s) ReadDoc() string {
  27084. sInfo := SwaggerInfo
  27085. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  27086. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  27087. "marshal": func(v interface{}) string {
  27088. a, _ := json.Marshal(v)
  27089. return string(a)
  27090. },
  27091. }).Parse(doc)
  27092. if err != nil {
  27093. return doc
  27094. }
  27095. var tpl bytes.Buffer
  27096. if err := t.Execute(&tpl, sInfo); err != nil {
  27097. return doc
  27098. }
  27099. return tpl.String()
  27100. }
  27101. func init() {
  27102. swag.Register(swag.Name, &s{})
  27103. }