docs.go 1.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152
  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": "用户id",
  593. "name": "userId",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "类型 - 1:App首页轮播 2:我的",
  599. "name": "imageType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryNotice": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "通知公告系统消息查询",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "页码",
  637. "name": "page",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "每页条数",
  643. "name": "pagesize",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "登录账号",
  649. "name": "loginID",
  650. "in": "query",
  651. "required": true
  652. },
  653. {
  654. "type": "integer",
  655. "description": "消息类型 - 1:公告通知 2:系统消息",
  656. "name": "msgType",
  657. "in": "query"
  658. },
  659. {
  660. "type": "boolean",
  661. "description": "是否只获取未读信息",
  662. "name": "onlyUnRead",
  663. "in": "query"
  664. },
  665. {
  666. "type": "integer",
  667. "description": "自增ID,传入后会返回这个ID后面的记录",
  668. "name": "lastID",
  669. "in": "query"
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "OK",
  675. "schema": {
  676. "$ref": "#/definitions/common.QueryNoticeRsp"
  677. }
  678. },
  679. "500": {
  680. "description": "Internal Server Error",
  681. "schema": {
  682. "$ref": "#/definitions/app.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/Common/QueryProvincesAndCities": {
  689. "get": {
  690. "produces": [
  691. "application/json"
  692. ],
  693. "tags": [
  694. "通用服务"
  695. ],
  696. "summary": "查询省市信息(不包括区)",
  697. "parameters": [
  698. {
  699. "type": "integer",
  700. "description": "省ID",
  701. "name": "provinceID",
  702. "in": "query"
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Common/QueryTableDefine": {
  722. "get": {
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "通用服务"
  728. ],
  729. "summary": "查询交易端列表头信息",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": "表key",
  734. "name": "tableKey",
  735. "in": "query"
  736. },
  737. {
  738. "type": "integer",
  739. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  740. "name": "tableType",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "$ref": "#/definitions/common.QueryTableDefineRsp"
  749. }
  750. },
  751. "500": {
  752. "description": "Internal Server Error",
  753. "schema": {
  754. "$ref": "#/definitions/app.Response"
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "/Common/QueryTraderMenu": {
  761. "get": {
  762. "produces": [
  763. "application/json"
  764. ],
  765. "tags": [
  766. "通用服务"
  767. ],
  768. "summary": "查询交易端菜单",
  769. "parameters": [
  770. {
  771. "type": "integer",
  772. "description": "登录账号",
  773. "name": "loginid",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Delivery/QueryDeliveryRelation": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "交割服务"
  806. ],
  807. "summary": "查询商品交割关系表",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "商品ID",
  812. "name": "goodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "品种ID",
  818. "name": "deliverygoodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "市场ID",
  824. "name": "marketid",
  825. "in": "query"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  833. }
  834. },
  835. "500": {
  836. "description": "Internal Server Error",
  837. "schema": {
  838. "$ref": "#/definitions/app.Response"
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "/Ermcp/GetErmcpGoods": {
  845. "get": {
  846. "security": [
  847. {
  848. "ApiKeyAuth": []
  849. }
  850. ],
  851. "produces": [
  852. "application/json"
  853. ],
  854. "tags": [
  855. "企业风险管理(app)"
  856. ],
  857. "summary": "查询企业风管期货商品信息",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  862. "name": "lastUpdateTime",
  863. "in": "query"
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/models.ErmcpGoods"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/app.Response"
  877. }
  878. }
  879. }
  880. }
  881. },
  882. "/Ermcp/GetErmcpGoodsSortByPosition": {
  883. "get": {
  884. "security": [
  885. {
  886. "ApiKeyAuth": []
  887. }
  888. ],
  889. "produces": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "企业风险管理(app)"
  894. ],
  895. "summary": "查询企业风管期货主力、次主力商品信息",
  896. "parameters": [
  897. {
  898. "type": "string",
  899. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  900. "name": "sortIndex",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/models.Goodssortbypreposition"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Ermcp/GetErmcpOutAccountStatus": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "企业风险管理(app)"
  932. ],
  933. "summary": "获取目标登录账号当前对冲账号在线状态",
  934. "parameters": [
  935. {
  936. "type": "integer",
  937. "description": "登录账号",
  938. "name": "loginID",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.Hedgemarketopenlog"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "企业风险管理(app)"
  971. ],
  972. "summary": "获取企业风管终端权限",
  973. "parameters": [
  974. {
  975. "type": "integer",
  976. "description": "登录账号",
  977. "name": "loginID",
  978. "in": "query",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "OK",
  985. "schema": {
  986. "$ref": "#/definitions/models.Funcmenulist"
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryAccMgrBizGroupSet": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询业务类型分组(账户管理/账户设置)",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "用户ID",
  1016. "name": "userid",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "现货商品id",
  1023. "name": "deliverygoodsid",
  1024. "in": "query"
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "OK",
  1030. "schema": {
  1031. "type": "array",
  1032. "items": {
  1033. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1034. }
  1035. }
  1036. },
  1037. "500": {
  1038. "description": "Internal Server Error",
  1039. "schema": {
  1040. "$ref": "#/definitions/app.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/Ermcp/QueryAccMgrLoginUser": {
  1047. "get": {
  1048. "security": [
  1049. {
  1050. "ApiKeyAuth": []
  1051. }
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "企业风险管理(app)"
  1058. ],
  1059. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1060. "parameters": [
  1061. {
  1062. "type": "integer",
  1063. "description": "用户ID",
  1064. "name": "userid",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "用户类型 2-机构 7-企业成员",
  1071. "name": "usertype",
  1072. "in": "query"
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1077. "name": "querytype",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "主账号id",
  1125. "name": "accountid",
  1126. "in": "query"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.MainAccountInfo"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrRole": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/models.ErmcpRole"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Ermcp/QueryAccMgrRoleMenu": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "企业风险管理(app)"
  1202. ],
  1203. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "用户ID",
  1208. "name": "userid",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "角色id(可多个,逗号隔开)",
  1215. "name": "roleid",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "type": "array",
  1224. "items": {
  1225. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1226. }
  1227. }
  1228. },
  1229. "500": {
  1230. "description": "Internal Server Error",
  1231. "schema": {
  1232. "$ref": "#/definitions/app.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1239. "get": {
  1240. "security": [
  1241. {
  1242. "ApiKeyAuth": []
  1243. }
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "企业风险管理(app)"
  1250. ],
  1251. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1252. "parameters": [
  1253. {
  1254. "type": "integer",
  1255. "description": "用户ID",
  1256. "name": "userid",
  1257. "in": "query",
  1258. "required": true
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "账号id",
  1263. "name": "accountid",
  1264. "in": "query"
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryAccMgrTaaccount": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "用户ID",
  1304. "name": "userid",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QueryAvaildGoodsGroup": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "所属机构ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1358. }
  1359. }
  1360. },
  1361. "500": {
  1362. "description": "Internal Server Error",
  1363. "schema": {
  1364. "$ref": "#/definitions/app.Response"
  1365. }
  1366. }
  1367. }
  1368. }
  1369. },
  1370. "/Ermcp/QueryBusinessDj": {
  1371. "get": {
  1372. "security": [
  1373. {
  1374. "ApiKeyAuth": []
  1375. }
  1376. ],
  1377. "produces": [
  1378. "application/json"
  1379. ],
  1380. "tags": [
  1381. "企业风险管理(app)"
  1382. ],
  1383. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1384. "parameters": [
  1385. {
  1386. "type": "integer",
  1387. "description": "用户ID",
  1388. "name": "UserId",
  1389. "in": "query",
  1390. "required": true
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "用户类型 2-机构 7-企业成员",
  1395. "name": "usertype",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "现货合同ID, 不填则查所有",
  1401. "name": "relatedid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1407. "name": "applystatus",
  1408. "in": "query"
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryBusinessFp": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "UserId",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "用户类型 2-机构 7-企业成员",
  1455. "name": "usertype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1467. "name": "applystatus",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "type": "array",
  1476. "items": {
  1477. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1478. }
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/Ermcp/QueryBusinessJs": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "produces": [
  1498. "application/json"
  1499. ],
  1500. "tags": [
  1501. "企业风险管理(app)"
  1502. ],
  1503. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1504. "parameters": [
  1505. {
  1506. "type": "integer",
  1507. "description": "用户ID",
  1508. "name": "UserId",
  1509. "in": "query",
  1510. "required": true
  1511. },
  1512. {
  1513. "type": "integer",
  1514. "description": "用户类型 2-机构 7-企业成员",
  1515. "name": "usertype",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "现货合同ID, 不填则查所有",
  1521. "name": "relatedid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "操作申请id",
  1527. "name": "operateapplyid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1533. "name": "applystatus",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessJsEx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "integer",
  1580. "description": "用户类型 2-机构 7-企业成员",
  1581. "name": "usertype",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "现货合同ID, 不填则查所有",
  1587. "name": "relatedid",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1593. "name": "applystatus",
  1594. "in": "query"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "type": "array",
  1602. "items": {
  1603. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1604. }
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryBusinessKx": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "用户ID",
  1634. "name": "UserId",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "用户类型 2-机构 7-企业成员",
  1641. "name": "usertype",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "现货合同ID, 不填则查所有",
  1647. "name": "relatedid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1653. "name": "applystatus",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryErmcpHisOrderDetails": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "获取企业风管期货历史委托单信息",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户ID",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "startDate",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "endDate",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Ermcp/QueryErmcpHisTradeDetails": {
  1770. "get": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "企业风险管理(app)"
  1781. ],
  1782. "summary": "获取企业风管期货历史成交单信息",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户ID",
  1787. "name": "accountID",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "商品ID",
  1794. "name": "goodsID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "买卖方向,0:买 1:卖",
  1800. "name": "buyOrSell",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "关联委托单号",
  1806. "name": "orderID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "startDate",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "endDate",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "获取企业风管期货内部持仓单信息",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "资金账户ID",
  1856. "name": "accountID",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "商品ID",
  1863. "name": "goodsID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "买卖方向,0:买 1:卖",
  1869. "name": "buyOrSell",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryErmcpOrderDetails": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "获取企业风管期货委托单信息",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "资金账户ID",
  1907. "name": "accountID",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryErmcpTradeDetails": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "获取企业风管期货成交单信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户ID",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "商品ID",
  1953. "name": "goodsID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "买卖方向,0:买 1:卖",
  1959. "name": "buyOrSell",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "关联委托单号",
  1965. "name": "orderID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/Ermcp/QueryErmcpTradePosition": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "获取企业风管期货持仓头寸信息",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账户ID",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "所属市场ID",
  2011. "name": "marketID",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryExposureDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询敞口现货明细",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "areaUserId",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "套保商品",
  2056. "name": "middleGoodsId",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryExposureGoods": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询敞口主力合约",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "套保商品id",
  2098. "name": "middlegoodsid",
  2099. "in": "query",
  2100. "required": true
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "type": "array",
  2108. "items": {
  2109. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2110. }
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/Ermcp/QueryExposureHedgePosition": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "企业风险管理(app)"
  2134. ],
  2135. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2136. "parameters": [
  2137. {
  2138. "type": "integer",
  2139. "description": "用户id",
  2140. "name": "userid",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureHedgePositionDetail": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "userid",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品id",
  2189. "name": "goodsId",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "type": "array",
  2199. "items": {
  2200. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2201. }
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Ermcp/QueryExposureSpot": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "企业风险管理(app)"
  2225. ],
  2226. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "所属机构ID",
  2231. "name": "areaUserId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryExposureSpotDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "areaUserId",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "现货品种ID",
  2280. "name": "wrstandardId",
  2281. "in": "query",
  2282. "required": true
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2292. }
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/Ermcp/QueryFuturesCompany": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "企业风险管理(app)"
  2316. ],
  2317. "summary": "查询期货公司",
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryGGConvertConfig": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "品种id(不填则查所有)",
  2355. "name": "goodsgroupid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsBrand": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品品牌",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. },
  2400. {
  2401. "type": "integer",
  2402. "description": "现货商品ID",
  2403. "name": "wrstandardid",
  2404. "in": "query"
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryGoodsModel": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询商品型号",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "用户ID",
  2444. "name": "userid",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryHisExposure": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "用户id",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "每个品种记录数",
  2493. "name": "lastNum",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoods": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种(菜单:套保品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "状态 0-停用 1-正常",
  2542. "name": "status",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query",
  2593. "required": true
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryMiddleGoodsDetail": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "所属机构ID",
  2633. "name": "userid",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "套保品种id",
  2640. "name": "middlegoodsid",
  2641. "in": "query"
  2642. }
  2643. ],
  2644. "responses": {
  2645. "200": {
  2646. "description": "OK",
  2647. "schema": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2651. }
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Ermcp/QueryPendingAuditInfo": {
  2664. "get": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "企业风险管理(app)"
  2675. ],
  2676. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "UserId",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryRealtimeExposure": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询实时敞口",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryRealtimeExposurePosition": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "用户id",
  2765. "name": "userid",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "套保商品ID",
  2772. "name": "middleGoodsId",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryTradeConfigTMP": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询交易模板配置",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "所属机构id",
  2814. "name": "areauserid",
  2815. "in": "query"
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryUserInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询客户资料",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "所属机构用户ID",
  2855. "name": "MemberUserID",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "integer",
  2861. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2862. "name": "queryType",
  2863. "in": "query",
  2864. "required": true
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp/QueryWarehouseInfo": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理(app)"
  2898. ],
  2899. "summary": "查询仓库信息",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "string",
  2910. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2911. "name": "status",
  2912. "in": "query"
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp3/QryAreaExpourseContractDetail": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理v3(app)"
  2946. ],
  2947. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "用户ID",
  2952. "name": "userid",
  2953. "in": "query",
  2954. "required": true
  2955. },
  2956. {
  2957. "type": "integer",
  2958. "description": "套保商品id",
  2959. "name": "middlegoodsid",
  2960. "in": "query",
  2961. "required": true
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2966. "name": "cycletype",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2973. "name": "cycletime",
  2974. "in": "query",
  2975. "required": true
  2976. }
  2977. ],
  2978. "responses": {
  2979. "200": {
  2980. "description": "OK",
  2981. "schema": {
  2982. "type": "array",
  2983. "items": {
  2984. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2985. }
  2986. }
  2987. },
  2988. "500": {
  2989. "description": "Internal Server Error",
  2990. "schema": {
  2991. "$ref": "#/definitions/app.Response"
  2992. }
  2993. }
  2994. }
  2995. }
  2996. },
  2997. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2998. "get": {
  2999. "security": [
  3000. {
  3001. "ApiKeyAuth": []
  3002. }
  3003. ],
  3004. "produces": [
  3005. "application/json"
  3006. ],
  3007. "tags": [
  3008. "企业风险管理v3(app)"
  3009. ],
  3010. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3011. "parameters": [
  3012. {
  3013. "type": "integer",
  3014. "description": "用户ID",
  3015. "name": "userid",
  3016. "in": "query",
  3017. "required": true
  3018. },
  3019. {
  3020. "type": "integer",
  3021. "description": "套保商品id",
  3022. "name": "middlegoodsid",
  3023. "in": "query",
  3024. "required": true
  3025. },
  3026. {
  3027. "type": "integer",
  3028. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3029. "name": "cycletype",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "string",
  3035. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3036. "name": "cycletime",
  3037. "in": "query",
  3038. "required": true
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "type": "array",
  3046. "items": {
  3047. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3048. }
  3049. }
  3050. },
  3051. "500": {
  3052. "description": "Internal Server Error",
  3053. "schema": {
  3054. "$ref": "#/definitions/app.Response"
  3055. }
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3061. "get": {
  3062. "security": [
  3063. {
  3064. "ApiKeyAuth": []
  3065. }
  3066. ],
  3067. "produces": [
  3068. "application/json"
  3069. ],
  3070. "tags": [
  3071. "企业风险管理v3(app)"
  3072. ],
  3073. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3074. "parameters": [
  3075. {
  3076. "type": "integer",
  3077. "description": "用户ID",
  3078. "name": "userid",
  3079. "in": "query",
  3080. "required": true
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "套保商品id",
  3085. "name": "middlegoodsid",
  3086. "in": "query",
  3087. "required": true
  3088. },
  3089. {
  3090. "type": "integer",
  3091. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3092. "name": "cycletype",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "string",
  3098. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3099. "name": "cycletime",
  3100. "in": "query",
  3101. "required": true
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理v3(app)"
  3135. ],
  3136. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. },
  3145. {
  3146. "type": "integer",
  3147. "description": "套保商品id",
  3148. "name": "middlegoodsid",
  3149. "in": "query",
  3150. "required": true
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3155. "name": "cycletype",
  3156. "in": "query",
  3157. "required": true
  3158. },
  3159. {
  3160. "type": "string",
  3161. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3162. "name": "cycletime",
  3163. "in": "query",
  3164. "required": true
  3165. }
  3166. ],
  3167. "responses": {
  3168. "200": {
  3169. "description": "OK",
  3170. "schema": {
  3171. "type": "array",
  3172. "items": {
  3173. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3174. }
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "Internal Server Error",
  3179. "schema": {
  3180. "$ref": "#/definitions/app.Response"
  3181. }
  3182. }
  3183. }
  3184. }
  3185. },
  3186. "/Ermcp3/QryAreaExpourseReport": {
  3187. "get": {
  3188. "security": [
  3189. {
  3190. "ApiKeyAuth": []
  3191. }
  3192. ],
  3193. "produces": [
  3194. "application/json"
  3195. ],
  3196. "tags": [
  3197. "企业风险管理v3(app)"
  3198. ],
  3199. "summary": "查询敞口报表",
  3200. "parameters": [
  3201. {
  3202. "type": "integer",
  3203. "description": "用户ID",
  3204. "name": "userid",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "integer",
  3210. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3211. "name": "querytype",
  3212. "in": "query",
  3213. "required": true
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3218. "name": "cycletype",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3225. "name": "cycletime",
  3226. "in": "query",
  3227. "required": true
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSpotplReport": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询现货报表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货品种id(明细必填)",
  3295. "name": "deliverygoodsid",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "integer",
  3300. "description": "币种id(明细必填)",
  3301. "name": "currencyid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "type": "array",
  3310. "items": {
  3311. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3312. }
  3313. }
  3314. },
  3315. "500": {
  3316. "description": "Internal Server Error",
  3317. "schema": {
  3318. "$ref": "#/definitions/app.Response"
  3319. }
  3320. }
  3321. }
  3322. }
  3323. },
  3324. "/Ermcp3/QryAreaStockReport": {
  3325. "get": {
  3326. "security": [
  3327. {
  3328. "ApiKeyAuth": []
  3329. }
  3330. ],
  3331. "produces": [
  3332. "application/json"
  3333. ],
  3334. "tags": [
  3335. "企业风险管理v3(app)"
  3336. ],
  3337. "summary": "查询库存报表",
  3338. "parameters": [
  3339. {
  3340. "type": "integer",
  3341. "description": "用户ID",
  3342. "name": "userid",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "查询类型 1-报表 2-报表明细",
  3349. "name": "querytype",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3356. "name": "cycletype",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3363. "name": "cycletime",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品种ID",
  3376. "name": "deliverygoodsid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "品类ID",
  3382. "name": "wrstandardid",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "品牌ID",
  3388. "name": "spotgoodsbrandid",
  3389. "in": "query"
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "仓库ID",
  3394. "name": "warehouseinfoid",
  3395. "in": "query"
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Ermcp3/QryAreaSumPL": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "企业风险管理v3(app)"
  3429. ],
  3430. "summary": "查询汇总损益表",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userid",
  3436. "in": "query",
  3437. "required": true
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "查询类型 1-报表 2-报表明细",
  3442. "name": "querytype",
  3443. "in": "query",
  3444. "required": true
  3445. },
  3446. {
  3447. "type": "integer",
  3448. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3449. "name": "cycletype",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "string",
  3455. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3456. "name": "cycletime",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "币种id(明细必填)",
  3463. "name": "currencyid",
  3464. "in": "query"
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "type": "array",
  3472. "items": {
  3473. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3474. }
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Ermcp3/QryFinanceReport": {
  3487. "get": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "企业风险管理v3(app)"
  3498. ],
  3499. "summary": "查询财务报表",
  3500. "parameters": [
  3501. {
  3502. "type": "integer",
  3503. "description": "用户ID",
  3504. "name": "userid",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "查询类型 1-报表 2-报表明细",
  3511. "name": "querytype",
  3512. "in": "query",
  3513. "required": true
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3518. "name": "cycletype",
  3519. "in": "query",
  3520. "required": true
  3521. },
  3522. {
  3523. "type": "string",
  3524. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3525. "name": "cycletime",
  3526. "in": "query",
  3527. "required": true
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "币种id(报表明细必填)",
  3532. "name": "currencyid",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3538. "name": "sumfields",
  3539. "in": "query"
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3549. }
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/Ermcp3/QryTaFutureDataReport": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "企业风险管理v3(app)"
  3573. ],
  3574. "summary": "查询期货报表",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "用户ID",
  3579. "name": "userid",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "查询类型 1-报表 2-报表明细",
  3586. "name": "querytype",
  3587. "in": "query",
  3588. "required": true
  3589. },
  3590. {
  3591. "type": "integer",
  3592. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3593. "name": "cycletype",
  3594. "in": "query",
  3595. "required": true
  3596. },
  3597. {
  3598. "type": "string",
  3599. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3600. "name": "cycletime",
  3601. "in": "query",
  3602. "required": true
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "币种id(查明细必填)",
  3607. "name": "currencyid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "品种id(查明细必填)",
  3613. "name": "goodsgroupid",
  3614. "in": "query"
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "商品id(查明细必填)",
  3619. "name": "goodsid",
  3620. "in": "query"
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "买卖方向(查明细必填)",
  3625. "name": "buyorsell",
  3626. "in": "query"
  3627. }
  3628. ],
  3629. "responses": {
  3630. "200": {
  3631. "description": "OK",
  3632. "schema": {
  3633. "type": "array",
  3634. "items": {
  3635. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3636. }
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/Ermcp3/QueryAreaStock": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "企业风险管理v3(app)"
  3660. ],
  3661. "summary": "查询机构库存(库存管理/当前库存)",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userid",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3678. }
  3679. }
  3680. },
  3681. "500": {
  3682. "description": "Internal Server Error",
  3683. "schema": {
  3684. "$ref": "#/definitions/app.Response"
  3685. }
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "/Ermcp3/QueryAreaStockApply": {
  3691. "get": {
  3692. "security": [
  3693. {
  3694. "ApiKeyAuth": []
  3695. }
  3696. ],
  3697. "produces": [
  3698. "application/json"
  3699. ],
  3700. "tags": [
  3701. "企业风险管理v3(app)"
  3702. ],
  3703. "summary": "查询库存申请(出入库记录|库存审核)",
  3704. "parameters": [
  3705. {
  3706. "type": "integer",
  3707. "description": "用户ID",
  3708. "name": "userid",
  3709. "in": "query",
  3710. "required": true
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "用户类型 2-机构 7-企业成员",
  3715. "name": "usertype",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "现货商品ID",
  3721. "name": "deliverygoodsid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3727. "name": "inouttype",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "合同ID",
  3733. "name": "spotcontractid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "品类ID",
  3739. "name": "wrstandardid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "品牌ID",
  3745. "name": "spotgoodsbrandid",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "仓库ID",
  3751. "name": "warehouseinfoid",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3757. "name": "applystatus",
  3758. "in": "query"
  3759. }
  3760. ],
  3761. "responses": {
  3762. "200": {
  3763. "description": "OK",
  3764. "schema": {
  3765. "type": "array",
  3766. "items": {
  3767. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3768. }
  3769. }
  3770. },
  3771. "500": {
  3772. "description": "Internal Server Error",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. }
  3777. }
  3778. }
  3779. },
  3780. "/Ermcp3/QueryAreaStockApplySum": {
  3781. "get": {
  3782. "security": [
  3783. {
  3784. "ApiKeyAuth": []
  3785. }
  3786. ],
  3787. "produces": [
  3788. "application/json"
  3789. ],
  3790. "tags": [
  3791. "企业风险管理v3(app)"
  3792. ],
  3793. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3794. "parameters": [
  3795. {
  3796. "type": "integer",
  3797. "description": "合同ID",
  3798. "name": "spotcontractid",
  3799. "in": "query"
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "type": "array",
  3807. "items": {
  3808. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3809. }
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/Ermcp3/QueryDGFactoryItem": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "企业风险管理v3(app)"
  3833. ],
  3834. "summary": "查询品种要素定义项",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "用户id",
  3839. "name": "userid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "用户类型 2-机构 7-企业成员",
  3845. "name": "usertype",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3851. "name": "dgfactoryitemid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "现货品种ID",
  3857. "name": "deliverygoodsid",
  3858. "in": "query"
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "要素项类型",
  3863. "name": "dgfactoryitemtypeid",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "顺序",
  3869. "name": "orderindex",
  3870. "in": "query"
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "type": "array",
  3878. "items": {
  3879. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3880. }
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/Ermcp3/QueryDeliveryGoods": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "企业风险管理v3(app)"
  3904. ],
  3905. "summary": "查询现货商品",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "用户id",
  3910. "name": "userid",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "用户类型 2-机构 7-企业成员",
  3917. "name": "usertype",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3923. "name": "excludecfg",
  3924. "in": "query"
  3925. }
  3926. ],
  3927. "responses": {
  3928. "200": {
  3929. "description": "OK",
  3930. "schema": {
  3931. "type": "array",
  3932. "items": {
  3933. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3934. }
  3935. }
  3936. },
  3937. "500": {
  3938. "description": "Internal Server Error",
  3939. "schema": {
  3940. "$ref": "#/definitions/app.Response"
  3941. }
  3942. }
  3943. }
  3944. }
  3945. },
  3946. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3947. "get": {
  3948. "security": [
  3949. {
  3950. "ApiKeyAuth": []
  3951. }
  3952. ],
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "企业风险管理v3(app)"
  3958. ],
  3959. "summary": "查询现货商品详情",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "用户id",
  3964. "name": "userid",
  3965. "in": "query",
  3966. "required": true
  3967. },
  3968. {
  3969. "type": "integer",
  3970. "description": "用户类型 2-机构 7-企业成员",
  3971. "name": "usertype",
  3972. "in": "query"
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "现货商品id",
  3977. "name": "deliverygoodsid",
  3978. "in": "query"
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp3/QueryExposureDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理v3(app)"
  4012. ],
  4013. "summary": "查询敞口现货明细",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "用户id",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "用户类型 2-机构 7-企业成员",
  4025. "name": "usertype",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保商品",
  4031. "name": "middlegoodsid",
  4032. "in": "query",
  4033. "required": true
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureSpot": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "type": "array",
  4089. "items": {
  4090. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4091. }
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/Ermcp3/QueryExposureSpotDetail": {
  4104. "get": {
  4105. "security": [
  4106. {
  4107. "ApiKeyAuth": []
  4108. }
  4109. ],
  4110. "produces": [
  4111. "application/json"
  4112. ],
  4113. "tags": [
  4114. "企业风险管理v3(app)"
  4115. ],
  4116. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4117. "parameters": [
  4118. {
  4119. "type": "integer",
  4120. "description": "用户id",
  4121. "name": "userid",
  4122. "in": "query",
  4123. "required": true
  4124. },
  4125. {
  4126. "type": "integer",
  4127. "description": "用户类型 2-机构 7-企业成员",
  4128. "name": "usertype",
  4129. "in": "query"
  4130. },
  4131. {
  4132. "type": "integer",
  4133. "description": "现货品种ID",
  4134. "name": "deliverygoodsid",
  4135. "in": "query",
  4136. "required": true
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryGoodsGroup": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询期货商品组",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "排除套保品中已关联的商品组 1-排除",
  4189. "name": "excludecfg",
  4190. "in": "query"
  4191. }
  4192. ],
  4193. "responses": {
  4194. "200": {
  4195. "description": "OK",
  4196. "schema": {
  4197. "type": "array",
  4198. "items": {
  4199. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4200. }
  4201. }
  4202. },
  4203. "500": {
  4204. "description": "Internal Server Error",
  4205. "schema": {
  4206. "$ref": "#/definitions/app.Response"
  4207. }
  4208. }
  4209. }
  4210. }
  4211. },
  4212. "/Ermcp3/QueryGoodsWrstandard": {
  4213. "get": {
  4214. "security": [
  4215. {
  4216. "ApiKeyAuth": []
  4217. }
  4218. ],
  4219. "produces": [
  4220. "application/json"
  4221. ],
  4222. "tags": [
  4223. "企业风险管理v3(app)"
  4224. ],
  4225. "summary": "查询商品品类",
  4226. "parameters": [
  4227. {
  4228. "type": "integer",
  4229. "description": "用户id",
  4230. "name": "userid",
  4231. "in": "query",
  4232. "required": true
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "用户类型 2-机构 7-企业成员",
  4237. "name": "usertype",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "现货商品id",
  4243. "name": "deliverygoodsid",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "type": "array",
  4252. "items": {
  4253. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4254. }
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/Ermcp3/QueryGoodsbrand": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "企业风险管理v3(app)"
  4278. ],
  4279. "summary": "查询商品品牌",
  4280. "parameters": [
  4281. {
  4282. "type": "integer",
  4283. "description": "用户id",
  4284. "name": "userid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "用户类型 2-机构 7-企业成员",
  4291. "name": "usertype",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "type": "array",
  4300. "items": {
  4301. "$ref": "#/definitions/models.Ermcp3Brand"
  4302. }
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/Ermcp3/QueryHedgePlan": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "企业风险管理v3(app)"
  4326. ],
  4327. "summary": "查询套保计划",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "用户ID",
  4332. "name": "userid",
  4333. "in": "query",
  4334. "required": true
  4335. },
  4336. {
  4337. "type": "integer",
  4338. "description": "用户类型 2-机构 7-企业成员",
  4339. "name": "usertype",
  4340. "in": "query"
  4341. },
  4342. {
  4343. "type": "string",
  4344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4345. "name": "hedgeplanstatus",
  4346. "in": "query",
  4347. "required": true
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryMiddleGoodsDetail": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保品种详情(套保品种/商品详情)",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户id",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "套保品种id",
  4400. "name": "middlegoodsid",
  4401. "in": "query"
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "type": "array",
  4409. "items": {
  4410. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4411. }
  4412. }
  4413. },
  4414. "500": {
  4415. "description": "Internal Server Error",
  4416. "schema": {
  4417. "$ref": "#/definitions/app.Response"
  4418. }
  4419. }
  4420. }
  4421. }
  4422. },
  4423. "/Ermcp3/QueryRootUserAccount": {
  4424. "get": {
  4425. "security": [
  4426. {
  4427. "ApiKeyAuth": []
  4428. }
  4429. ],
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "企业风险管理v3(app)"
  4435. ],
  4436. "summary": "查询顶级用户信息",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "用户ID",
  4441. "name": "userid",
  4442. "in": "query",
  4443. "required": true
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "type": "array",
  4451. "items": {
  4452. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4453. }
  4454. }
  4455. },
  4456. "500": {
  4457. "description": "Internal Server Error",
  4458. "schema": {
  4459. "$ref": "#/definitions/app.Response"
  4460. }
  4461. }
  4462. }
  4463. }
  4464. },
  4465. "/Ermcp3/QuerySpotContract": {
  4466. "get": {
  4467. "security": [
  4468. {
  4469. "ApiKeyAuth": []
  4470. }
  4471. ],
  4472. "produces": [
  4473. "application/json"
  4474. ],
  4475. "tags": [
  4476. "企业风险管理v3(app)"
  4477. ],
  4478. "summary": "查询现货合同",
  4479. "parameters": [
  4480. {
  4481. "type": "integer",
  4482. "description": "用户id",
  4483. "name": "userid",
  4484. "in": "query",
  4485. "required": true
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "用户类型 2-机构 7-企业成员",
  4490. "name": "usertype",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4496. "name": "querytype",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "string",
  4502. "description": "合同ID(SpotContractId)",
  4503. "name": "contractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3Contract"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContractBS": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询合同(采购/销售)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "合同类型 1-采购, -1-销售",
  4557. "name": "contracttype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "integer",
  4563. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4564. "name": "querytype",
  4565. "in": "query",
  4566. "required": true
  4567. },
  4568. {
  4569. "type": "string",
  4570. "description": "合同ID(SpotContractId)",
  4571. "name": "contractid",
  4572. "in": "query"
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "type": "array",
  4580. "items": {
  4581. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4582. }
  4583. }
  4584. },
  4585. "500": {
  4586. "description": "Internal Server Error",
  4587. "schema": {
  4588. "$ref": "#/definitions/app.Response"
  4589. }
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "/Ermcp3/QuerySpotGoodsPrice": {
  4595. "get": {
  4596. "security": [
  4597. {
  4598. "ApiKeyAuth": []
  4599. }
  4600. ],
  4601. "produces": [
  4602. "application/json"
  4603. ],
  4604. "tags": [
  4605. "企业风险管理v3(app)"
  4606. ],
  4607. "summary": "查询现货市价(现货市价)",
  4608. "parameters": [
  4609. {
  4610. "type": "integer",
  4611. "description": "用户ID",
  4612. "name": "userid",
  4613. "in": "query",
  4614. "required": true
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "type": "array",
  4622. "items": {
  4623. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4624. }
  4625. }
  4626. },
  4627. "500": {
  4628. "description": "Internal Server Error",
  4629. "schema": {
  4630. "$ref": "#/definitions/app.Response"
  4631. }
  4632. }
  4633. }
  4634. }
  4635. },
  4636. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4637. "get": {
  4638. "security": [
  4639. {
  4640. "ApiKeyAuth": []
  4641. }
  4642. ],
  4643. "produces": [
  4644. "application/json"
  4645. ],
  4646. "tags": [
  4647. "企业风险管理v3(app)"
  4648. ],
  4649. "summary": "查询现货市价详情(现货市价/详情)",
  4650. "parameters": [
  4651. {
  4652. "type": "integer",
  4653. "description": "用户ID",
  4654. "name": "userid",
  4655. "in": "query",
  4656. "required": true
  4657. },
  4658. {
  4659. "type": "integer",
  4660. "description": "现货商品ID",
  4661. "name": "deliverygoodsid",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "品牌ID",
  4668. "name": "brandid",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "品类ID",
  4674. "name": "wrstandardid",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Erms2/QueryArbitrageStrategy": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "风险管理"
  4709. ],
  4710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "账户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "商品组ID(品种ID)",
  4722. "name": "goodsgroupid",
  4723. "in": "query"
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4731. }
  4732. },
  4733. "500": {
  4734. "description": "Internal Server Error",
  4735. "schema": {
  4736. "$ref": "#/definitions/app.Response"
  4737. }
  4738. }
  4739. }
  4740. }
  4741. },
  4742. "/Erms2/QueryInnerTradeDetail": {
  4743. "get": {
  4744. "security": [
  4745. {
  4746. "ApiKeyAuth": []
  4747. }
  4748. ],
  4749. "produces": [
  4750. "application/json"
  4751. ],
  4752. "tags": [
  4753. "风险管理"
  4754. ],
  4755. "summary": "查询内部成交单信息",
  4756. "parameters": [
  4757. {
  4758. "type": "integer",
  4759. "description": "资金账户",
  4760. "name": "accountid",
  4761. "in": "query",
  4762. "required": true
  4763. }
  4764. ],
  4765. "responses": {
  4766. "200": {
  4767. "description": "OK",
  4768. "schema": {
  4769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4770. }
  4771. },
  4772. "500": {
  4773. "description": "Internal Server Error",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. }
  4778. }
  4779. }
  4780. },
  4781. "/Erms2/QuerySpotContract": {
  4782. "get": {
  4783. "security": [
  4784. {
  4785. "ApiKeyAuth": []
  4786. }
  4787. ],
  4788. "produces": [
  4789. "application/json"
  4790. ],
  4791. "tags": [
  4792. "风险管理"
  4793. ],
  4794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4795. "parameters": [
  4796. {
  4797. "type": "integer",
  4798. "description": "策略申请ID",
  4799. "name": "asapplyid",
  4800. "in": "query",
  4801. "required": true
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "现货合同ID",
  4806. "name": "spotcontractid",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Erms3/AddErms2ASApply": {
  4827. "post": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "风险管理v3"
  4838. ],
  4839. "summary": "新增期现套利业务申请",
  4840. "parameters": [
  4841. {
  4842. "description": "申请参数",
  4843. "name": "jsonBody",
  4844. "in": "body",
  4845. "required": true,
  4846. "schema": {
  4847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4848. }
  4849. }
  4850. ],
  4851. "responses": {
  4852. "200": {
  4853. "description": "OK",
  4854. "schema": {
  4855. "$ref": "#/definitions/app.Response"
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Erms3/AddErms2SpotTradeApply": {
  4868. "post": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "风险管理v3"
  4879. ],
  4880. "summary": "新增现货贸易业务申请",
  4881. "parameters": [
  4882. {
  4883. "description": "申请参数",
  4884. "name": "jsonBody",
  4885. "in": "body",
  4886. "required": true,
  4887. "schema": {
  4888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4889. }
  4890. }
  4891. ],
  4892. "responses": {
  4893. "200": {
  4894. "description": "OK",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. },
  4899. "500": {
  4900. "description": "Internal Server Error",
  4901. "schema": {
  4902. "$ref": "#/definitions/app.Response"
  4903. }
  4904. }
  4905. }
  4906. }
  4907. },
  4908. "/Erms3/AddSpotContractApply": {
  4909. "post": {
  4910. "security": [
  4911. {
  4912. "ApiKeyAuth": []
  4913. }
  4914. ],
  4915. "produces": [
  4916. "application/json"
  4917. ],
  4918. "tags": [
  4919. "风险管理v3"
  4920. ],
  4921. "summary": "新增现货合同申请",
  4922. "parameters": [
  4923. {
  4924. "description": "申请参数",
  4925. "name": "jsonBody",
  4926. "in": "body",
  4927. "required": true,
  4928. "schema": {
  4929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4930. }
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms3/AddUserInfoApply": {
  4950. "post": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理v3"
  4961. ],
  4962. "summary": "新增客户申请",
  4963. "parameters": [
  4964. {
  4965. "description": "用户信息",
  4966. "name": "jsonBody",
  4967. "in": "body",
  4968. "required": true,
  4969. "schema": {
  4970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4971. }
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Erms3/DeleteUserInfoApply": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "风险管理v3"
  5003. ],
  5004. "summary": "删除客户申请",
  5005. "parameters": [
  5006. {
  5007. "type": "integer",
  5008. "description": "用户ID",
  5009. "name": "userID",
  5010. "in": "query",
  5011. "required": true
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/ModifyUserInfoApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "风险管理v3"
  5043. ],
  5044. "summary": "修改客户申请",
  5045. "parameters": [
  5046. {
  5047. "description": "用户信息",
  5048. "name": "jsonBody",
  5049. "in": "body",
  5050. "required": true,
  5051. "schema": {
  5052. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5053. }
  5054. }
  5055. ],
  5056. "responses": {
  5057. "200": {
  5058. "description": "OK",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "Internal Server Error",
  5065. "schema": {
  5066. "$ref": "#/definitions/app.Response"
  5067. }
  5068. }
  5069. }
  5070. }
  5071. },
  5072. "/Erms3/QueryBusinessInfo": {
  5073. "get": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "风险管理v3"
  5084. ],
  5085. "summary": "查询业务表单数据",
  5086. "parameters": [
  5087. {
  5088. "type": "string",
  5089. "description": "资金账号ID列表,用逗号分隔",
  5090. "name": "accountids",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "integer",
  5096. "description": "状态,0为未结束 1为已结束",
  5097. "name": "status",
  5098. "in": "query",
  5099. "required": true
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "type": "array",
  5107. "items": {
  5108. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5109. }
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "Internal Server Error",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. }
  5118. }
  5119. }
  5120. },
  5121. "/Erms3/QueryPendingAuditContract": {
  5122. "get": {
  5123. "security": [
  5124. {
  5125. "ApiKeyAuth": []
  5126. }
  5127. ],
  5128. "produces": [
  5129. "application/json"
  5130. ],
  5131. "tags": [
  5132. "风险管理v3"
  5133. ],
  5134. "summary": "查询待审核合同",
  5135. "parameters": [
  5136. {
  5137. "type": "string",
  5138. "description": "资金账号ID列表,逗号隔开",
  5139. "name": "accountids",
  5140. "in": "query",
  5141. "required": true
  5142. },
  5143. {
  5144. "type": "integer",
  5145. "description": "合同类型 1-采购 -1-销售",
  5146. "name": "contracttype",
  5147. "in": "query",
  5148. "required": true
  5149. },
  5150. {
  5151. "type": "integer",
  5152. "description": "合同模式 1-普通 2-回购",
  5153. "name": "contractmode",
  5154. "in": "query",
  5155. "required": true
  5156. }
  5157. ],
  5158. "responses": {
  5159. "200": {
  5160. "description": "OK",
  5161. "schema": {
  5162. "type": "array",
  5163. "items": {
  5164. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5165. }
  5166. }
  5167. },
  5168. "500": {
  5169. "description": "Internal Server Error",
  5170. "schema": {
  5171. "$ref": "#/definitions/app.Response"
  5172. }
  5173. }
  5174. }
  5175. }
  5176. },
  5177. "/Erms3/QueryPendingBusiness": {
  5178. "get": {
  5179. "security": [
  5180. {
  5181. "ApiKeyAuth": []
  5182. }
  5183. ],
  5184. "produces": [
  5185. "application/json"
  5186. ],
  5187. "tags": [
  5188. "风险管理v3"
  5189. ],
  5190. "summary": "查询待审核基差贸易业务",
  5191. "parameters": [
  5192. {
  5193. "type": "string",
  5194. "description": "资金账号ID列表,逗号隔开",
  5195. "name": "accountids",
  5196. "in": "query",
  5197. "required": true
  5198. }
  5199. ],
  5200. "responses": {
  5201. "200": {
  5202. "description": "OK",
  5203. "schema": {
  5204. "type": "array",
  5205. "items": {
  5206. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5207. }
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Erms3/QuerySpotContractAppleForm": {
  5220. "get": {
  5221. "security": [
  5222. {
  5223. "ApiKeyAuth": []
  5224. }
  5225. ],
  5226. "produces": [
  5227. "application/json"
  5228. ],
  5229. "tags": [
  5230. "风险管理v3"
  5231. ],
  5232. "summary": "查询合同申请表单数据",
  5233. "parameters": [
  5234. {
  5235. "type": "integer",
  5236. "description": "登录账号",
  5237. "name": "loginID",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Erms3/QuerySpotContractDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "风险管理v3"
  5270. ],
  5271. "summary": "查询合同详细信息",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "资金账号ID列表,用逗号分隔",
  5276. "name": "accountids",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "合同类型,1为采购合同 -1为销售合同",
  5283. "name": "contracttype",
  5284. "in": "query",
  5285. "required": true
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "合同模式,1为普通合同 2为回购销售合同",
  5290. "name": "contractmode",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "状态,0为履约中 1为已完成",
  5297. "name": "status",
  5298. "in": "query",
  5299. "required": true
  5300. }
  5301. ],
  5302. "responses": {
  5303. "200": {
  5304. "description": "OK",
  5305. "schema": {
  5306. "type": "array",
  5307. "items": {
  5308. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5309. }
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Erms3/QueryUserInfoApplies": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "风险管理v3"
  5333. ],
  5334. "summary": "客户申请信息查询",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "页码",
  5339. "name": "page",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "每页条数",
  5345. "name": "pagesize",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "string",
  5350. "description": "客户名称,支持模糊查询",
  5351. "name": "userName",
  5352. "in": "query"
  5353. }
  5354. ],
  5355. "responses": {
  5356. "200": {
  5357. "description": "OK",
  5358. "schema": {
  5359. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5360. }
  5361. },
  5362. "500": {
  5363. "description": "Internal Server Error",
  5364. "schema": {
  5365. "$ref": "#/definitions/app.Response"
  5366. }
  5367. }
  5368. }
  5369. }
  5370. },
  5371. "/Erms3/QueryUserInfos": {
  5372. "get": {
  5373. "security": [
  5374. {
  5375. "ApiKeyAuth": []
  5376. }
  5377. ],
  5378. "produces": [
  5379. "application/json"
  5380. ],
  5381. "tags": [
  5382. "风险管理v3"
  5383. ],
  5384. "summary": "客户信息查询",
  5385. "parameters": [
  5386. {
  5387. "type": "integer",
  5388. "description": "页码",
  5389. "name": "page",
  5390. "in": "query"
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "每页条数",
  5395. "name": "pagesize",
  5396. "in": "query"
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "客户名称,支持模糊查询",
  5401. "name": "userName",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/HSBY/GetHsbyMyCount": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "description": "说明: 不包括已完成的数量。",
  5429. "produces": [
  5430. "application/json"
  5431. ],
  5432. "tags": [
  5433. "定制【海商报业】"
  5434. ],
  5435. "summary": "获取我的订单与包裹数量",
  5436. "parameters": [
  5437. {
  5438. "type": "string",
  5439. "description": "资金账户列表,格式:1,2,3",
  5440. "name": "accountIDs",
  5441. "in": "query",
  5442. "required": true
  5443. }
  5444. ],
  5445. "responses": {
  5446. "200": {
  5447. "description": "OK",
  5448. "schema": {
  5449. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/HSBY/QueryClientFixedADConfigs": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "定制【海商报业】"
  5473. ],
  5474. "summary": "获取终端固定广告配置",
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/models.Clientfixedadconfig"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "定制【海商报业】"
  5503. ],
  5504. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "页码",
  5509. "name": "page",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "每页条数",
  5515. "name": "pagesize",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "资金账户列表,格式:1,2,3",
  5521. "name": "accountIDs",
  5522. "in": "query",
  5523. "required": true
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "description": "说明:查询结果已按委托价格和委托时间排序",
  5550. "produces": [
  5551. "application/json"
  5552. ],
  5553. "tags": [
  5554. "定制【海商报业】"
  5555. ],
  5556. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5557. "parameters": [
  5558. {
  5559. "type": "integer",
  5560. "description": "商品ID",
  5561. "name": "goodsID",
  5562. "in": "query",
  5563. "required": true
  5564. },
  5565. {
  5566. "type": "string",
  5567. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5568. "name": "accountIDs",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5574. "name": "buyOrSell",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "number",
  5579. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5580. "name": "price",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "integer",
  5585. "description": "档位,不传则默认为3档",
  5586. "name": "speed",
  5587. "in": "query"
  5588. }
  5589. ],
  5590. "responses": {
  5591. "200": {
  5592. "description": "OK",
  5593. "schema": {
  5594. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5595. }
  5596. },
  5597. "500": {
  5598. "description": "Internal Server Error",
  5599. "schema": {
  5600. "$ref": "#/definitions/app.Response"
  5601. }
  5602. }
  5603. }
  5604. }
  5605. },
  5606. "/HSBY/QueryHsbyListingGoodsDetail": {
  5607. "get": {
  5608. "security": [
  5609. {
  5610. "ApiKeyAuth": []
  5611. }
  5612. ],
  5613. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5614. "produces": [
  5615. "application/json"
  5616. ],
  5617. "tags": [
  5618. "定制【海商报业】"
  5619. ],
  5620. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5621. "parameters": [
  5622. {
  5623. "type": "integer",
  5624. "description": "商品ID",
  5625. "name": "goodsID",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5632. "name": "accountID",
  5633. "in": "query"
  5634. }
  5635. ],
  5636. "responses": {
  5637. "200": {
  5638. "description": "OK",
  5639. "schema": {
  5640. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5653. "get": {
  5654. "security": [
  5655. {
  5656. "ApiKeyAuth": []
  5657. }
  5658. ],
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "定制【海商报业】"
  5664. ],
  5665. "summary": "查询三级市场(商城)商品信息详情",
  5666. "parameters": [
  5667. {
  5668. "type": "integer",
  5669. "description": "委托单号",
  5670. "name": "orderID",
  5671. "in": "query",
  5672. "required": true
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5677. "name": "accountID",
  5678. "in": "query"
  5679. }
  5680. ],
  5681. "responses": {
  5682. "200": {
  5683. "description": "OK",
  5684. "schema": {
  5685. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5686. }
  5687. },
  5688. "500": {
  5689. "description": "Internal Server Error",
  5690. "schema": {
  5691. "$ref": "#/definitions/app.Response"
  5692. }
  5693. }
  5694. }
  5695. }
  5696. },
  5697. "/HSBY/QueryHsbyMarketGoodses": {
  5698. "get": {
  5699. "security": [
  5700. {
  5701. "ApiKeyAuth": []
  5702. }
  5703. ],
  5704. "produces": [
  5705. "application/json"
  5706. ],
  5707. "tags": [
  5708. "定制【海商报业】"
  5709. ],
  5710. "summary": "查询特卖商品列表(三级商城)",
  5711. "parameters": [
  5712. {
  5713. "type": "integer",
  5714. "description": "页码",
  5715. "name": "page",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "每页条数",
  5721. "name": "pagesize",
  5722. "in": "query"
  5723. },
  5724. {
  5725. "type": "string",
  5726. "description": "市场ID列表,格式:1,2,3",
  5727. "name": "marketIDs",
  5728. "in": "query",
  5729. "required": true
  5730. },
  5731. {
  5732. "type": "integer",
  5733. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5734. "name": "accountID",
  5735. "in": "query",
  5736. "required": true
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "类别ID",
  5741. "name": "categoryID",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "string",
  5746. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5747. "name": "goodsIDs",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5753. "name": "couponTypeID",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "$ref": "#/definitions/models.HsbyMarketGoods"
  5762. }
  5763. },
  5764. "500": {
  5765. "description": "Internal Server Error",
  5766. "schema": {
  5767. "$ref": "#/definitions/app.Response"
  5768. }
  5769. }
  5770. }
  5771. }
  5772. },
  5773. "/HSBY/QueryHsbyMarkets": {
  5774. "get": {
  5775. "security": [
  5776. {
  5777. "ApiKeyAuth": []
  5778. }
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "定制【海商报业】"
  5785. ],
  5786. "summary": "查询海商报业相关市场信息",
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.HsbyMarketInfo"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5811. "produces": [
  5812. "application/json"
  5813. ],
  5814. "tags": [
  5815. "定制【海商报业】"
  5816. ],
  5817. "summary": "查询“我的订单”信息",
  5818. "parameters": [
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户列表,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryHsbyMyGoods": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "查询“我的商品”信息",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账户列表,格式:1,2,3",
  5862. "name": "accountIDs",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "$ref": "#/definitions/models.HsbyMyGoods"
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/HSBY/QueryHsbyMyPackages": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "定制【海商报业】"
  5895. ],
  5896. "summary": "查询我的包裹信息",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "资金账户列表,格式:1,2,3",
  5901. "name": "accountIDs",
  5902. "in": "query",
  5903. "required": true
  5904. },
  5905. {
  5906. "type": "integer",
  5907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5908. "name": "takeOrderStatus",
  5909. "in": "query"
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "$ref": "#/definitions/models.HsbyMyPackage"
  5917. }
  5918. },
  5919. "500": {
  5920. "description": "Internal Server Error",
  5921. "schema": {
  5922. "$ref": "#/definitions/app.Response"
  5923. }
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "/HSBY/QueryHsbyPreGoodsDetail": {
  5929. "get": {
  5930. "security": [
  5931. {
  5932. "ApiKeyAuth": []
  5933. }
  5934. ],
  5935. "produces": [
  5936. "application/json"
  5937. ],
  5938. "tags": [
  5939. "定制【海商报业】"
  5940. ],
  5941. "summary": "查询一级市场(预售)商品信息详情",
  5942. "parameters": [
  5943. {
  5944. "type": "integer",
  5945. "description": "商品ID",
  5946. "name": "goodsID",
  5947. "in": "query",
  5948. "required": true
  5949. },
  5950. {
  5951. "type": "integer",
  5952. "description": "资金账户,主要用于获取预售商品购买上限",
  5953. "name": "accountID",
  5954. "in": "query"
  5955. }
  5956. ],
  5957. "responses": {
  5958. "200": {
  5959. "description": "OK",
  5960. "schema": {
  5961. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/HSBY/QueryHsbyPreGoodses": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5981. "produces": [
  5982. "application/json"
  5983. ],
  5984. "tags": [
  5985. "定制【海商报业】"
  5986. ],
  5987. "summary": "查询新品上市商品列表(一级市场预售)",
  5988. "parameters": [
  5989. {
  5990. "type": "integer",
  5991. "description": "页码",
  5992. "name": "page",
  5993. "in": "query"
  5994. },
  5995. {
  5996. "type": "integer",
  5997. "description": "每页条数",
  5998. "name": "pagesize",
  5999. "in": "query"
  6000. },
  6001. {
  6002. "type": "string",
  6003. "description": "市场ID列表,格式:1,2,3",
  6004. "name": "marketIDs",
  6005. "in": "query",
  6006. "required": true
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "目的地(省)ID",
  6011. "name": "descProvinceID",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "目的地(市)ID",
  6017. "name": "descCityID",
  6018. "in": "query"
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.HsbyPreGoods"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/HSBY/QueryHsbySellMyDetails": {
  6038. "get": {
  6039. "security": [
  6040. {
  6041. "ApiKeyAuth": []
  6042. }
  6043. ],
  6044. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6045. "produces": [
  6046. "application/json"
  6047. ],
  6048. "tags": [
  6049. "定制【海商报业】"
  6050. ],
  6051. "summary": "查询\"我的闲置\"单据信息",
  6052. "parameters": [
  6053. {
  6054. "type": "integer",
  6055. "description": "页码",
  6056. "name": "page",
  6057. "in": "query"
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "每页条数",
  6062. "name": "pagesize",
  6063. "in": "query"
  6064. },
  6065. {
  6066. "type": "string",
  6067. "description": "资金账户列表,格式:1,2,3",
  6068. "name": "accountIDs",
  6069. "in": "query",
  6070. "required": true
  6071. },
  6072. {
  6073. "type": "integer",
  6074. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6075. "name": "orderType",
  6076. "in": "query"
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "$ref": "#/definitions/models.HsbySellMyDetail"
  6084. }
  6085. },
  6086. "500": {
  6087. "description": "Internal Server Error",
  6088. "schema": {
  6089. "$ref": "#/definitions/app.Response"
  6090. }
  6091. }
  6092. }
  6093. }
  6094. },
  6095. "/HSBY/QueryHsbyTopGoodses": {
  6096. "get": {
  6097. "security": [
  6098. {
  6099. "ApiKeyAuth": []
  6100. }
  6101. ],
  6102. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "页码",
  6114. "name": "page",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "每页条数",
  6120. "name": "pagesize",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "string",
  6125. "description": "市场ID列表,格式:1,2,3",
  6126. "name": "marketIDs",
  6127. "in": "query",
  6128. "required": true
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "目的地(省)ID",
  6133. "name": "descProvinceID",
  6134. "in": "query"
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "目的地(市)ID",
  6139. "name": "descCityID",
  6140. "in": "query"
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.HsbyTopGoods"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "定制【海商报业】"
  6172. ],
  6173. "summary": "查询游客三级市场(商城)商品信息详情",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "商品ID",
  6178. "name": "goodsID",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询游客特卖商品列表(三级商城)",
  6214. "parameters": [
  6215. {
  6216. "type": "integer",
  6217. "description": "页码",
  6218. "name": "page",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "integer",
  6223. "description": "每页条数",
  6224. "name": "pagesize",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "string",
  6229. "description": "市场ID列表,格式:1,2,3",
  6230. "name": "marketIDs",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "integer",
  6236. "description": "类别ID",
  6237. "name": "categoryID",
  6238. "in": "query"
  6239. },
  6240. {
  6241. "type": "string",
  6242. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6243. "name": "goodsIDs",
  6244. "in": "query"
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "$ref": "#/definitions/models.HsbyMarketGoods"
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/HSBY/QueryMyCollectionOrders": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "定制【海商报业】"
  6275. ],
  6276. "summary": "我的闲置中收款信息查询",
  6277. "parameters": [
  6278. {
  6279. "type": "integer",
  6280. "description": "页码",
  6281. "name": "page",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "integer",
  6286. "description": "每页条数",
  6287. "name": "pagesize",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "资金账户,格式:1,2,3",
  6293. "name": "accountIDs",
  6294. "in": "query",
  6295. "required": true
  6296. }
  6297. ],
  6298. "responses": {
  6299. "200": {
  6300. "description": "OK",
  6301. "schema": {
  6302. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6303. }
  6304. },
  6305. "500": {
  6306. "description": "Internal Server Error",
  6307. "schema": {
  6308. "$ref": "#/definitions/app.Response"
  6309. }
  6310. }
  6311. }
  6312. }
  6313. },
  6314. "/HSBY/QueryMyCouponHolds": {
  6315. "get": {
  6316. "security": [
  6317. {
  6318. "ApiKeyAuth": []
  6319. }
  6320. ],
  6321. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "定制【海商报业】"
  6327. ],
  6328. "summary": "我的优惠卷持仓查询",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "资金账户列表,格式:1,2,3",
  6333. "name": "accountIDs",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6340. "name": "holdStatus",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/models.MyCouponHold"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/HSBY/QueryMyCoupons": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "定制【海商报业】"
  6372. ],
  6373. "summary": "我的优惠卷查询",
  6374. "parameters": [
  6375. {
  6376. "type": "string",
  6377. "description": "资金账户列表,格式:1,2,3",
  6378. "name": "accountIDs",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "integer",
  6384. "description": "商品ID, 一般与sellUserID配套传入",
  6385. "name": "goodsID",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "卖方UserID",
  6391. "name": "sellUserID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.MyCoupon"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryMyPayOrders": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "获取我的订单中待付款信息",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "页码",
  6429. "name": "page",
  6430. "in": "query"
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "每页条数",
  6435. "name": "pagesize",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户列表,格式:1,2,3",
  6441. "name": "accountIDs",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "买方委托单号",
  6448. "name": "buyOrderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "卖方委托单号",
  6454. "name": "sellOrderID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryMyUsedCoupon": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "已使用优惠卷查询",
  6488. "parameters": [
  6489. {
  6490. "type": "string",
  6491. "description": "资金账户列表,格式:1,2,3",
  6492. "name": "accountIDs",
  6493. "in": "query",
  6494. "required": true
  6495. }
  6496. ],
  6497. "responses": {
  6498. "200": {
  6499. "description": "OK",
  6500. "schema": {
  6501. "$ref": "#/definitions/models.MyUsedCoupon"
  6502. }
  6503. },
  6504. "500": {
  6505. "description": "Internal Server Error",
  6506. "schema": {
  6507. "$ref": "#/definitions/app.Response"
  6508. }
  6509. }
  6510. }
  6511. }
  6512. },
  6513. "/HSBY/QueryProvincesAndCities": {
  6514. "get": {
  6515. "security": [
  6516. {
  6517. "ApiKeyAuth": []
  6518. }
  6519. ],
  6520. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "定制【海商报业】"
  6526. ],
  6527. "summary": "查询省市信息(不包括区)",
  6528. "parameters": [
  6529. {
  6530. "type": "integer",
  6531. "description": "省ID",
  6532. "name": "provinceID",
  6533. "in": "query"
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/SetHsbyMyPackagesStatus": {
  6553. "post": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "设置我的包裹已收货状态",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "提货单号",
  6570. "name": "takeOrderID",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "资金账号",
  6577. "name": "accountID",
  6578. "in": "query",
  6579. "required": true
  6580. }
  6581. ],
  6582. "responses": {
  6583. "200": {
  6584. "description": "OK",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. },
  6589. "500": {
  6590. "description": "Internal Server Error",
  6591. "schema": {
  6592. "$ref": "#/definitions/app.Response"
  6593. }
  6594. }
  6595. }
  6596. }
  6597. },
  6598. "/Market/QueryGoodsesByLoginID": {
  6599. "get": {
  6600. "security": [
  6601. {
  6602. "ApiKeyAuth": []
  6603. }
  6604. ],
  6605. "produces": [
  6606. "application/json"
  6607. ],
  6608. "tags": [
  6609. "通用市场"
  6610. ],
  6611. "summary": "获取登录账号有权限的商品信息",
  6612. "parameters": [
  6613. {
  6614. "type": "integer",
  6615. "description": "登录账号",
  6616. "name": "loginID",
  6617. "in": "query",
  6618. "required": true
  6619. },
  6620. {
  6621. "type": "string",
  6622. "description": "市场ID列表,格式:1,2,3",
  6623. "name": "marketIDs",
  6624. "in": "query"
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.Goods"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/Market/QueryMarketRun": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "通用市场"
  6655. ],
  6656. "summary": "查询市场运行信息",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "市场ID,不传返回所有",
  6661. "name": "marketID",
  6662. "in": "query"
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/models.Marketrun"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/Market/QueryMarketsByLoginID": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "通用市场"
  6693. ],
  6694. "summary": "获取登录账号有权限的市场信息",
  6695. "parameters": [
  6696. {
  6697. "type": "integer",
  6698. "description": "登录账号",
  6699. "name": "loginID",
  6700. "in": "query",
  6701. "required": true
  6702. }
  6703. ],
  6704. "responses": {
  6705. "200": {
  6706. "description": "OK",
  6707. "schema": {
  6708. "$ref": "#/definitions/models.Market"
  6709. }
  6710. },
  6711. "500": {
  6712. "description": "Internal Server Error",
  6713. "schema": {
  6714. "$ref": "#/definitions/app.Response"
  6715. }
  6716. }
  6717. }
  6718. }
  6719. },
  6720. "/Order/QueryHisTradeDetail": {
  6721. "get": {
  6722. "security": [
  6723. {
  6724. "ApiKeyAuth": []
  6725. }
  6726. ],
  6727. "produces": [
  6728. "application/json"
  6729. ],
  6730. "tags": [
  6731. "通用单据"
  6732. ],
  6733. "summary": "历史成交单查询(合约市场)",
  6734. "parameters": [
  6735. {
  6736. "type": "string",
  6737. "description": "资金账户 - 格式:1,2,3",
  6738. "name": "accountID",
  6739. "in": "query",
  6740. "required": true
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "成交单号",
  6745. "name": "tradeID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "integer",
  6750. "description": "委托单号",
  6751. "name": "orderID",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "商品ID",
  6757. "name": "goodsID",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "交易模式 - 格式:1,2,3",
  6763. "name": "tradeMode",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "委托单据类型",
  6769. "name": "buildType",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "成交类别 - 格式:1,2,3",
  6775. "name": "tradeType",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6781. "name": "startDate",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "string",
  6786. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6787. "name": "endDate",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/Order/QueryHisTradeOrderDetail": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "produces": [
  6815. "application/json"
  6816. ],
  6817. "tags": [
  6818. "通用单据"
  6819. ],
  6820. "summary": "历史委托单查询请求(合约市场)",
  6821. "parameters": [
  6822. {
  6823. "type": "string",
  6824. "description": "资金账户 - 格式:1,2,3",
  6825. "name": "accountID",
  6826. "in": "query",
  6827. "required": true
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "交易模式 - 格式:1,2,3",
  6832. "name": "tradeMode",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "委托状态 - 格式:1,2,3",
  6838. "name": "orderStatus",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "integer",
  6843. "description": "委托单号",
  6844. "name": "orderID",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "string",
  6849. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6850. "name": "startDate",
  6851. "in": "query"
  6852. },
  6853. {
  6854. "type": "string",
  6855. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6856. "name": "endDate",
  6857. "in": "query"
  6858. }
  6859. ],
  6860. "responses": {
  6861. "200": {
  6862. "description": "OK",
  6863. "schema": {
  6864. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6865. }
  6866. },
  6867. "500": {
  6868. "description": "Internal Server Error",
  6869. "schema": {
  6870. "$ref": "#/definitions/app.Response"
  6871. }
  6872. }
  6873. }
  6874. }
  6875. },
  6876. "/Order/QueryTradeDetail": {
  6877. "get": {
  6878. "security": [
  6879. {
  6880. "ApiKeyAuth": []
  6881. }
  6882. ],
  6883. "produces": [
  6884. "application/json"
  6885. ],
  6886. "tags": [
  6887. "通用单据"
  6888. ],
  6889. "summary": "成交单查询(合约市场)",
  6890. "parameters": [
  6891. {
  6892. "type": "string",
  6893. "description": "资金账户 - 格式:1,2,3",
  6894. "name": "accountID",
  6895. "in": "query",
  6896. "required": true
  6897. },
  6898. {
  6899. "type": "integer",
  6900. "description": "成交单号",
  6901. "name": "tradeID",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单号",
  6907. "name": "orderID",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "交易模式 - 格式:1,2,3",
  6913. "name": "tradeMode",
  6914. "in": "query"
  6915. },
  6916. {
  6917. "type": "integer",
  6918. "description": "委托单据类型",
  6919. "name": "buildType",
  6920. "in": "query"
  6921. },
  6922. {
  6923. "type": "string",
  6924. "description": "成交类别 - 格式:1,2,3",
  6925. "name": "tradeType",
  6926. "in": "query"
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": "商品ID",
  6931. "name": "goodsID",
  6932. "in": "query"
  6933. }
  6934. ],
  6935. "responses": {
  6936. "200": {
  6937. "description": "OK",
  6938. "schema": {
  6939. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6940. }
  6941. },
  6942. "500": {
  6943. "description": "Internal Server Error",
  6944. "schema": {
  6945. "$ref": "#/definitions/app.Response"
  6946. }
  6947. }
  6948. }
  6949. }
  6950. },
  6951. "/Order/QueryTradeOrderDetail": {
  6952. "get": {
  6953. "security": [
  6954. {
  6955. "ApiKeyAuth": []
  6956. }
  6957. ],
  6958. "produces": [
  6959. "application/json"
  6960. ],
  6961. "tags": [
  6962. "通用单据"
  6963. ],
  6964. "summary": "委托单查询请求(合约市场)",
  6965. "parameters": [
  6966. {
  6967. "type": "string",
  6968. "description": "资金账户 - 格式:1,2,3",
  6969. "name": "accountID",
  6970. "in": "query",
  6971. "required": true
  6972. },
  6973. {
  6974. "type": "string",
  6975. "description": "交易模式 - 格式:1,2,3",
  6976. "name": "tradeMode",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "string",
  6981. "description": "委托状态 - 格式:1,2,3",
  6982. "name": "orderStatus",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "委托单号",
  6988. "name": "orderID",
  6989. "in": "query"
  6990. }
  6991. ],
  6992. "responses": {
  6993. "200": {
  6994. "description": "OK",
  6995. "schema": {
  6996. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6997. }
  6998. },
  6999. "500": {
  7000. "description": "Internal Server Error",
  7001. "schema": {
  7002. "$ref": "#/definitions/app.Response"
  7003. }
  7004. }
  7005. }
  7006. }
  7007. },
  7008. "/Order/QueryTradePosition": {
  7009. "get": {
  7010. "security": [
  7011. {
  7012. "ApiKeyAuth": []
  7013. }
  7014. ],
  7015. "produces": [
  7016. "application/json"
  7017. ],
  7018. "tags": [
  7019. "通用单据"
  7020. ],
  7021. "summary": "持仓汇总查询(合约市场)",
  7022. "parameters": [
  7023. {
  7024. "type": "string",
  7025. "description": "资金账户 - 格式:1,2,3",
  7026. "name": "accountID",
  7027. "in": "query",
  7028. "required": true
  7029. },
  7030. {
  7031. "type": "string",
  7032. "description": "交易模式 - 格式:1,2,3",
  7033. "name": "tradeMode",
  7034. "in": "query"
  7035. }
  7036. ],
  7037. "responses": {
  7038. "200": {
  7039. "description": "OK",
  7040. "schema": {
  7041. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7042. }
  7043. },
  7044. "500": {
  7045. "description": "Internal Server Error",
  7046. "schema": {
  7047. "$ref": "#/definitions/app.Response"
  7048. }
  7049. }
  7050. }
  7051. }
  7052. },
  7053. "/Qhj/QueryAccountInOutApply": {
  7054. "get": {
  7055. "security": [
  7056. {
  7057. "ApiKeyAuth": []
  7058. }
  7059. ],
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "大连千海金"
  7065. ],
  7066. "summary": "查询充值提现",
  7067. "parameters": [
  7068. {
  7069. "type": "integer",
  7070. "description": "用户ID",
  7071. "name": "userid",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "string",
  7077. "description": "申请起始日期(格式yyyymmdd)",
  7078. "name": "begindate",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "string",
  7083. "description": "申请截止日期(格式yyyymmdd)",
  7084. "name": "enddate",
  7085. "in": "query"
  7086. },
  7087. {
  7088. "type": "string",
  7089. "description": "模糊搜索名称",
  7090. "name": "likename",
  7091. "in": "query"
  7092. }
  7093. ],
  7094. "responses": {
  7095. "200": {
  7096. "description": "OK",
  7097. "schema": {
  7098. "type": "array",
  7099. "items": {
  7100. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7101. }
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/Qhj/QueryAreaFinanceConfig": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "大连千海金"
  7125. ],
  7126. "summary": "查询企业配置表",
  7127. "parameters": [
  7128. {
  7129. "type": "integer",
  7130. "description": "机构用户ID 其他做市关系,都设置为 1",
  7131. "name": "userid",
  7132. "in": "query"
  7133. }
  7134. ],
  7135. "responses": {
  7136. "200": {
  7137. "description": "OK",
  7138. "schema": {
  7139. "type": "array",
  7140. "items": {
  7141. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7142. }
  7143. }
  7144. },
  7145. "500": {
  7146. "description": "Internal Server Error",
  7147. "schema": {
  7148. "$ref": "#/definitions/app.Response"
  7149. }
  7150. }
  7151. }
  7152. }
  7153. },
  7154. "/Qhj/QueryBankAccountSign": {
  7155. "get": {
  7156. "security": [
  7157. {
  7158. "ApiKeyAuth": []
  7159. }
  7160. ],
  7161. "produces": [
  7162. "application/json"
  7163. ],
  7164. "tags": [
  7165. "大连千海金"
  7166. ],
  7167. "summary": "查询签约银行信息(提现账户管理)",
  7168. "parameters": [
  7169. {
  7170. "type": "integer",
  7171. "description": "用户ID",
  7172. "name": "userid",
  7173. "in": "query",
  7174. "required": true
  7175. }
  7176. ],
  7177. "responses": {
  7178. "200": {
  7179. "description": "OK",
  7180. "schema": {
  7181. "type": "array",
  7182. "items": {
  7183. "$ref": "#/definitions/models.QhjBankAccountSign"
  7184. }
  7185. }
  7186. },
  7187. "500": {
  7188. "description": "Internal Server Error",
  7189. "schema": {
  7190. "$ref": "#/definitions/app.Response"
  7191. }
  7192. }
  7193. }
  7194. }
  7195. },
  7196. "/Qhj/QueryBankInfo": {
  7197. "get": {
  7198. "security": [
  7199. {
  7200. "ApiKeyAuth": []
  7201. }
  7202. ],
  7203. "produces": [
  7204. "application/json"
  7205. ],
  7206. "tags": [
  7207. "大连千海金"
  7208. ],
  7209. "summary": "查询开户行",
  7210. "responses": {
  7211. "200": {
  7212. "description": "OK",
  7213. "schema": {
  7214. "type": "array",
  7215. "items": {
  7216. "$ref": "#/definitions/models.QhjBankInfo"
  7217. }
  7218. }
  7219. },
  7220. "500": {
  7221. "description": "Internal Server Error",
  7222. "schema": {
  7223. "$ref": "#/definitions/app.Response"
  7224. }
  7225. }
  7226. }
  7227. }
  7228. },
  7229. "/Qhj/QueryContract": {
  7230. "get": {
  7231. "security": [
  7232. {
  7233. "ApiKeyAuth": []
  7234. }
  7235. ],
  7236. "produces": [
  7237. "application/json"
  7238. ],
  7239. "tags": [
  7240. "大连千海金"
  7241. ],
  7242. "summary": "查询融资明细(合同)",
  7243. "parameters": [
  7244. {
  7245. "type": "integer",
  7246. "description": "用户ID",
  7247. "name": "userid",
  7248. "in": "query"
  7249. },
  7250. {
  7251. "type": "integer",
  7252. "description": "scf合同id",
  7253. "name": "scfcontractid",
  7254. "in": "query"
  7255. }
  7256. ],
  7257. "responses": {
  7258. "200": {
  7259. "description": "OK",
  7260. "schema": {
  7261. "type": "array",
  7262. "items": {
  7263. "$ref": "#/definitions/models.QhjContract"
  7264. }
  7265. }
  7266. },
  7267. "500": {
  7268. "description": "Internal Server Error",
  7269. "schema": {
  7270. "$ref": "#/definitions/app.Response"
  7271. }
  7272. }
  7273. }
  7274. }
  7275. },
  7276. "/Qhj/QueryContractLog": {
  7277. "get": {
  7278. "security": [
  7279. {
  7280. "ApiKeyAuth": []
  7281. }
  7282. ],
  7283. "produces": [
  7284. "application/json"
  7285. ],
  7286. "tags": [
  7287. "大连千海金"
  7288. ],
  7289. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7290. "parameters": [
  7291. {
  7292. "type": "integer",
  7293. "description": "scf合同id",
  7294. "name": "scfcontractid",
  7295. "in": "query",
  7296. "required": true
  7297. },
  7298. {
  7299. "type": "string",
  7300. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7301. "name": "amounttype",
  7302. "in": "query"
  7303. }
  7304. ],
  7305. "responses": {
  7306. "200": {
  7307. "description": "OK",
  7308. "schema": {
  7309. "type": "array",
  7310. "items": {
  7311. "$ref": "#/definitions/models.QhjContractLog"
  7312. }
  7313. }
  7314. },
  7315. "500": {
  7316. "description": "Internal Server Error",
  7317. "schema": {
  7318. "$ref": "#/definitions/app.Response"
  7319. }
  7320. }
  7321. }
  7322. }
  7323. },
  7324. "/Qhj/QueryCusBankSignBank": {
  7325. "get": {
  7326. "security": [
  7327. {
  7328. "ApiKeyAuth": []
  7329. }
  7330. ],
  7331. "produces": [
  7332. "application/json"
  7333. ],
  7334. "tags": [
  7335. "大连千海金"
  7336. ],
  7337. "summary": "查询托管银行",
  7338. "responses": {
  7339. "200": {
  7340. "description": "OK",
  7341. "schema": {
  7342. "type": "array",
  7343. "items": {
  7344. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7345. }
  7346. }
  7347. },
  7348. "500": {
  7349. "description": "Internal Server Error",
  7350. "schema": {
  7351. "$ref": "#/definitions/app.Response"
  7352. }
  7353. }
  7354. }
  7355. }
  7356. },
  7357. "/Qhj/QueryCustomerInfo": {
  7358. "get": {
  7359. "security": [
  7360. {
  7361. "ApiKeyAuth": []
  7362. }
  7363. ],
  7364. "produces": [
  7365. "application/json"
  7366. ],
  7367. "tags": [
  7368. "大连千海金"
  7369. ],
  7370. "summary": "查询客户资料",
  7371. "parameters": [
  7372. {
  7373. "type": "integer",
  7374. "description": "用户ID",
  7375. "name": "userid",
  7376. "in": "query",
  7377. "required": true
  7378. },
  7379. {
  7380. "type": "integer",
  7381. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7382. "name": "querytype",
  7383. "in": "query",
  7384. "required": true
  7385. },
  7386. {
  7387. "type": "integer",
  7388. "description": "客户类型 1-个人 2-企业",
  7389. "name": "userinfotype",
  7390. "in": "query"
  7391. },
  7392. {
  7393. "type": "string",
  7394. "description": "客户名称(模糊匹配)",
  7395. "name": "customername",
  7396. "in": "query"
  7397. },
  7398. {
  7399. "type": "string",
  7400. "description": "昵称(模糊匹配)",
  7401. "name": "nickname",
  7402. "in": "query"
  7403. },
  7404. {
  7405. "type": "integer",
  7406. "description": "是否包含子级 1-包含",
  7407. "name": "includesub",
  7408. "in": "query"
  7409. }
  7410. ],
  7411. "responses": {
  7412. "200": {
  7413. "description": "OK",
  7414. "schema": {
  7415. "type": "array",
  7416. "items": {
  7417. "$ref": "#/definitions/models.QhjCustomer"
  7418. }
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/Qhj/QueryGoodsEx": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "大连千海金"
  7442. ],
  7443. "summary": "交易商品扩展表",
  7444. "parameters": [
  7445. {
  7446. "type": "integer",
  7447. "description": "商品id",
  7448. "name": "goodsid",
  7449. "in": "query"
  7450. }
  7451. ],
  7452. "responses": {
  7453. "200": {
  7454. "description": "OK",
  7455. "schema": {
  7456. "type": "array",
  7457. "items": {
  7458. "$ref": "#/definitions/models.Qhjgoodsex"
  7459. }
  7460. }
  7461. },
  7462. "500": {
  7463. "description": "Internal Server Error",
  7464. "schema": {
  7465. "$ref": "#/definitions/app.Response"
  7466. }
  7467. }
  7468. }
  7469. }
  7470. },
  7471. "/Qhj/QueryParentAreaList": {
  7472. "get": {
  7473. "security": [
  7474. {
  7475. "ApiKeyAuth": []
  7476. }
  7477. ],
  7478. "produces": [
  7479. "application/json"
  7480. ],
  7481. "tags": [
  7482. "大连千海金"
  7483. ],
  7484. "summary": "查询所属机构列表",
  7485. "parameters": [
  7486. {
  7487. "type": "integer",
  7488. "description": "用户ID",
  7489. "name": "userid",
  7490. "in": "query",
  7491. "required": true
  7492. }
  7493. ],
  7494. "responses": {
  7495. "200": {
  7496. "description": "OK",
  7497. "schema": {
  7498. "type": "array",
  7499. "items": {
  7500. "$ref": "#/definitions/models.QhjParentAreaList"
  7501. }
  7502. }
  7503. },
  7504. "500": {
  7505. "description": "Internal Server Error",
  7506. "schema": {
  7507. "$ref": "#/definitions/app.Response"
  7508. }
  7509. }
  7510. }
  7511. }
  7512. },
  7513. "/Qhj/QueryPayOrder": {
  7514. "get": {
  7515. "security": [
  7516. {
  7517. "ApiKeyAuth": []
  7518. }
  7519. ],
  7520. "produces": [
  7521. "application/json"
  7522. ],
  7523. "tags": [
  7524. "大连千海金"
  7525. ],
  7526. "summary": "查询待付款单据",
  7527. "parameters": [
  7528. {
  7529. "type": "integer",
  7530. "description": "资金账号id",
  7531. "name": "accountid",
  7532. "in": "query",
  7533. "required": true
  7534. },
  7535. {
  7536. "type": "integer",
  7537. "description": "成交单号",
  7538. "name": "tradeid",
  7539. "in": "query"
  7540. },
  7541. {
  7542. "type": "string",
  7543. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7544. "name": "payflag",
  7545. "in": "query"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "type": "array",
  7553. "items": {
  7554. "$ref": "#/definitions/models.QhjPayOrder"
  7555. }
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/Qhj/QueryPickArea": {
  7568. "get": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "大连千海金"
  7579. ],
  7580. "summary": "查询提货门店",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "用户ID",
  7585. "name": "userid",
  7586. "in": "query"
  7587. }
  7588. ],
  7589. "responses": {
  7590. "200": {
  7591. "description": "OK",
  7592. "schema": {
  7593. "type": "array",
  7594. "items": {
  7595. "$ref": "#/definitions/models.QhjPickArea"
  7596. }
  7597. }
  7598. },
  7599. "500": {
  7600. "description": "Internal Server Error",
  7601. "schema": {
  7602. "$ref": "#/definitions/app.Response"
  7603. }
  7604. }
  7605. }
  7606. }
  7607. },
  7608. "/Qhj/QueryPickGoods": {
  7609. "get": {
  7610. "security": [
  7611. {
  7612. "ApiKeyAuth": []
  7613. }
  7614. ],
  7615. "produces": [
  7616. "application/json"
  7617. ],
  7618. "tags": [
  7619. "大连千海金"
  7620. ],
  7621. "summary": "查询提货商品",
  7622. "parameters": [
  7623. {
  7624. "type": "integer",
  7625. "description": "交易商品id",
  7626. "name": "goodsid",
  7627. "in": "query",
  7628. "required": true
  7629. },
  7630. {
  7631. "type": "string",
  7632. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7633. "name": "status",
  7634. "in": "query"
  7635. }
  7636. ],
  7637. "responses": {
  7638. "200": {
  7639. "description": "OK",
  7640. "schema": {
  7641. "type": "array",
  7642. "items": {
  7643. "$ref": "#/definitions/models.QhjPickGoods"
  7644. }
  7645. }
  7646. },
  7647. "500": {
  7648. "description": "Internal Server Error",
  7649. "schema": {
  7650. "$ref": "#/definitions/app.Response"
  7651. }
  7652. }
  7653. }
  7654. }
  7655. },
  7656. "/Qhj/QueryRSTriggerLog": {
  7657. "get": {
  7658. "security": [
  7659. {
  7660. "ApiKeyAuth": []
  7661. }
  7662. ],
  7663. "produces": [
  7664. "application/json"
  7665. ],
  7666. "tags": [
  7667. "大连千海金"
  7668. ],
  7669. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7670. "parameters": [
  7671. {
  7672. "type": "integer",
  7673. "description": "用户ID",
  7674. "name": "userid",
  7675. "in": "query"
  7676. },
  7677. {
  7678. "type": "integer",
  7679. "description": "定投策略id",
  7680. "name": "regularlystrategyid",
  7681. "in": "query"
  7682. },
  7683. {
  7684. "type": "integer",
  7685. "description": "商品id",
  7686. "name": "goodsid",
  7687. "in": "query"
  7688. },
  7689. {
  7690. "type": "string",
  7691. "description": "开始交易日(yyyymmdd)",
  7692. "name": "begindate",
  7693. "in": "query"
  7694. },
  7695. {
  7696. "type": "string",
  7697. "description": "结束交易日(yyyymmdd)",
  7698. "name": "enddate",
  7699. "in": "query"
  7700. },
  7701. {
  7702. "type": "string",
  7703. "description": "名称(模糊搜索账户)",
  7704. "name": "filtername",
  7705. "in": "query"
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "type": "array",
  7713. "items": {
  7714. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7715. }
  7716. }
  7717. },
  7718. "500": {
  7719. "description": "Internal Server Error",
  7720. "schema": {
  7721. "$ref": "#/definitions/app.Response"
  7722. }
  7723. }
  7724. }
  7725. }
  7726. },
  7727. "/Qhj/QueryRStrategy": {
  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. },
  7748. {
  7749. "type": "integer",
  7750. "description": "商品id",
  7751. "name": "goodsid",
  7752. "in": "query"
  7753. },
  7754. {
  7755. "type": "string",
  7756. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7757. "name": "status",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "名称(模糊搜索账户)",
  7763. "name": "filtername",
  7764. "in": "query"
  7765. }
  7766. ],
  7767. "responses": {
  7768. "200": {
  7769. "description": "OK",
  7770. "schema": {
  7771. "type": "array",
  7772. "items": {
  7773. "$ref": "#/definitions/models.QhjRStrategy"
  7774. }
  7775. }
  7776. },
  7777. "500": {
  7778. "description": "Internal Server Error",
  7779. "schema": {
  7780. "$ref": "#/definitions/app.Response"
  7781. }
  7782. }
  7783. }
  7784. }
  7785. },
  7786. "/Qhj/QueryReckonPriceLog": {
  7787. "get": {
  7788. "security": [
  7789. {
  7790. "ApiKeyAuth": []
  7791. }
  7792. ],
  7793. "produces": [
  7794. "application/json"
  7795. ],
  7796. "tags": [
  7797. "大连千海金"
  7798. ],
  7799. "summary": "查询定投价(结算价)",
  7800. "parameters": [
  7801. {
  7802. "type": "integer",
  7803. "description": "商品ID",
  7804. "name": "goodsid",
  7805. "in": "query"
  7806. },
  7807. {
  7808. "type": "string",
  7809. "description": "交易日 格式(yyyymmdd)",
  7810. "name": "tradedate",
  7811. "in": "query"
  7812. }
  7813. ],
  7814. "responses": {
  7815. "200": {
  7816. "description": "OK",
  7817. "schema": {
  7818. "type": "array",
  7819. "items": {
  7820. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7821. }
  7822. }
  7823. },
  7824. "500": {
  7825. "description": "Internal Server Error",
  7826. "schema": {
  7827. "$ref": "#/definitions/app.Response"
  7828. }
  7829. }
  7830. }
  7831. }
  7832. },
  7833. "/Qhj/QuerySiteColumnDetail": {
  7834. "get": {
  7835. "security": [
  7836. {
  7837. "ApiKeyAuth": []
  7838. }
  7839. ],
  7840. "produces": [
  7841. "application/json"
  7842. ],
  7843. "tags": [
  7844. "大连千海金"
  7845. ],
  7846. "summary": "查询资讯",
  7847. "parameters": [
  7848. {
  7849. "type": "integer",
  7850. "description": "用户ID",
  7851. "name": "userid",
  7852. "in": "query",
  7853. "required": true
  7854. }
  7855. ],
  7856. "responses": {
  7857. "200": {
  7858. "description": "OK",
  7859. "schema": {
  7860. "type": "array",
  7861. "items": {
  7862. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7863. }
  7864. }
  7865. },
  7866. "500": {
  7867. "description": "Internal Server Error",
  7868. "schema": {
  7869. "$ref": "#/definitions/app.Response"
  7870. }
  7871. }
  7872. }
  7873. }
  7874. },
  7875. "/Qhj/QueryTradeGoodsPickup": {
  7876. "get": {
  7877. "security": [
  7878. {
  7879. "ApiKeyAuth": []
  7880. }
  7881. ],
  7882. "produces": [
  7883. "application/json"
  7884. ],
  7885. "tags": [
  7886. "大连千海金"
  7887. ],
  7888. "summary": "查询提货",
  7889. "parameters": [
  7890. {
  7891. "type": "integer",
  7892. "description": "用户ID",
  7893. "name": "userid",
  7894. "in": "query",
  7895. "required": true
  7896. },
  7897. {
  7898. "type": "integer",
  7899. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7900. "name": "takeorderstatus",
  7901. "in": "query"
  7902. }
  7903. ],
  7904. "responses": {
  7905. "200": {
  7906. "description": "OK",
  7907. "schema": {
  7908. "type": "array",
  7909. "items": {
  7910. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7911. }
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/Qhj/QueryUserCollectConfig": {
  7924. "get": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "大连千海金"
  7935. ],
  7936. "summary": "查询提现账户设置",
  7937. "parameters": [
  7938. {
  7939. "type": "integer",
  7940. "description": "用户ID",
  7941. "name": "userid",
  7942. "in": "query",
  7943. "required": true
  7944. }
  7945. ],
  7946. "responses": {
  7947. "200": {
  7948. "description": "OK",
  7949. "schema": {
  7950. "type": "array",
  7951. "items": {
  7952. "$ref": "#/definitions/models.UserCollectConfig"
  7953. }
  7954. }
  7955. },
  7956. "500": {
  7957. "description": "Internal Server Error",
  7958. "schema": {
  7959. "$ref": "#/definitions/app.Response"
  7960. }
  7961. }
  7962. }
  7963. }
  7964. },
  7965. "/Qhj/QueryUserReceiveInfo": {
  7966. "get": {
  7967. "security": [
  7968. {
  7969. "ApiKeyAuth": []
  7970. }
  7971. ],
  7972. "produces": [
  7973. "application/json"
  7974. ],
  7975. "tags": [
  7976. "大连千海金"
  7977. ],
  7978. "summary": "查询收货地址信息",
  7979. "parameters": [
  7980. {
  7981. "type": "integer",
  7982. "description": "用户ID",
  7983. "name": "userid",
  7984. "in": "query",
  7985. "required": true
  7986. }
  7987. ],
  7988. "responses": {
  7989. "200": {
  7990. "description": "OK",
  7991. "schema": {
  7992. "type": "array",
  7993. "items": {
  7994. "$ref": "#/definitions/models.UserReceiveInfo"
  7995. }
  7996. }
  7997. },
  7998. "500": {
  7999. "description": "Internal Server Error",
  8000. "schema": {
  8001. "$ref": "#/definitions/app.Response"
  8002. }
  8003. }
  8004. }
  8005. }
  8006. },
  8007. "/QhjMgr/QueryAccountInOutApply": {
  8008. "get": {
  8009. "security": [
  8010. {
  8011. "ApiKeyAuth": []
  8012. }
  8013. ],
  8014. "produces": [
  8015. "application/json"
  8016. ],
  8017. "tags": [
  8018. "大连千海金(PCWeb)"
  8019. ],
  8020. "summary": "查询充值提现",
  8021. "parameters": [
  8022. {
  8023. "type": "integer",
  8024. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8025. "name": "querytype",
  8026. "in": "query",
  8027. "required": true
  8028. },
  8029. {
  8030. "type": "integer",
  8031. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8032. "name": "applystatus",
  8033. "in": "query"
  8034. },
  8035. {
  8036. "type": "string",
  8037. "description": "申请起始日期(格式yyyymmdd)",
  8038. "name": "begindate",
  8039. "in": "query"
  8040. },
  8041. {
  8042. "type": "string",
  8043. "description": "申请截止日期(格式yyyymmdd)",
  8044. "name": "enddate",
  8045. "in": "query"
  8046. },
  8047. {
  8048. "type": "string",
  8049. "description": "模糊搜索名称",
  8050. "name": "likename",
  8051. "in": "query"
  8052. }
  8053. ],
  8054. "responses": {
  8055. "200": {
  8056. "description": "OK",
  8057. "schema": {
  8058. "type": "array",
  8059. "items": {
  8060. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8061. }
  8062. }
  8063. },
  8064. "500": {
  8065. "description": "Internal Server Error",
  8066. "schema": {
  8067. "$ref": "#/definitions/app.Response"
  8068. }
  8069. }
  8070. }
  8071. }
  8072. },
  8073. "/QhjMgr/QueryBrokerApply": {
  8074. "get": {
  8075. "security": [
  8076. {
  8077. "ApiKeyAuth": []
  8078. }
  8079. ],
  8080. "produces": [
  8081. "application/json"
  8082. ],
  8083. "tags": [
  8084. "大连千海金(PCWeb)"
  8085. ],
  8086. "summary": "查询经纪人申请",
  8087. "parameters": [
  8088. {
  8089. "type": "integer",
  8090. "description": "所属机构ID",
  8091. "name": "userid",
  8092. "in": "query"
  8093. },
  8094. {
  8095. "type": "string",
  8096. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8097. "name": "filterstatus",
  8098. "in": "query"
  8099. },
  8100. {
  8101. "type": "string",
  8102. "description": "名称(模糊匹配)",
  8103. "name": "filtername",
  8104. "in": "query"
  8105. },
  8106. {
  8107. "type": "integer",
  8108. "description": "是否包含子级 1-包含",
  8109. "name": "includesub",
  8110. "in": "query"
  8111. }
  8112. ],
  8113. "responses": {
  8114. "200": {
  8115. "description": "OK",
  8116. "schema": {
  8117. "type": "array",
  8118. "items": {
  8119. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8120. }
  8121. }
  8122. },
  8123. "500": {
  8124. "description": "Internal Server Error",
  8125. "schema": {
  8126. "$ref": "#/definitions/app.Response"
  8127. }
  8128. }
  8129. }
  8130. }
  8131. },
  8132. "/QhjMgr/QueryContract": {
  8133. "get": {
  8134. "security": [
  8135. {
  8136. "ApiKeyAuth": []
  8137. }
  8138. ],
  8139. "produces": [
  8140. "application/json"
  8141. ],
  8142. "tags": [
  8143. "大连千海金(PCWeb)"
  8144. ],
  8145. "summary": "查询融资信息(合同)",
  8146. "parameters": [
  8147. {
  8148. "type": "integer",
  8149. "description": "用户ID",
  8150. "name": "userid",
  8151. "in": "query"
  8152. },
  8153. {
  8154. "type": "integer",
  8155. "description": "商品id",
  8156. "name": "goodsid",
  8157. "in": "query"
  8158. },
  8159. {
  8160. "type": "string",
  8161. "description": "名称(模糊搜索账户)",
  8162. "name": "filtername",
  8163. "in": "query"
  8164. },
  8165. {
  8166. "type": "string",
  8167. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8168. "name": "risklevel",
  8169. "in": "query"
  8170. },
  8171. {
  8172. "type": "string",
  8173. "description": "开始交易日(yyyymmdd)",
  8174. "name": "begindate",
  8175. "in": "query"
  8176. },
  8177. {
  8178. "type": "string",
  8179. "description": "结束交易日(yyyymmdd)",
  8180. "name": "enddate",
  8181. "in": "query"
  8182. }
  8183. ],
  8184. "responses": {
  8185. "200": {
  8186. "description": "OK",
  8187. "schema": {
  8188. "type": "array",
  8189. "items": {
  8190. "$ref": "#/definitions/models.QhjMgrContract"
  8191. }
  8192. }
  8193. },
  8194. "500": {
  8195. "description": "Internal Server Error",
  8196. "schema": {
  8197. "$ref": "#/definitions/app.Response"
  8198. }
  8199. }
  8200. }
  8201. }
  8202. },
  8203. "/QhjMgr/QueryCustomerInfo": {
  8204. "get": {
  8205. "security": [
  8206. {
  8207. "ApiKeyAuth": []
  8208. }
  8209. ],
  8210. "produces": [
  8211. "application/json"
  8212. ],
  8213. "tags": [
  8214. "大连千海金(PCWeb)"
  8215. ],
  8216. "summary": "查询客户资料",
  8217. "parameters": [
  8218. {
  8219. "type": "integer",
  8220. "description": "用户ID",
  8221. "name": "userid",
  8222. "in": "query",
  8223. "required": true
  8224. },
  8225. {
  8226. "type": "integer",
  8227. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8228. "name": "querytype",
  8229. "in": "query",
  8230. "required": true
  8231. },
  8232. {
  8233. "type": "integer",
  8234. "description": "客户类型 1-个人 2-企业",
  8235. "name": "userinfotype",
  8236. "in": "query"
  8237. },
  8238. {
  8239. "type": "string",
  8240. "description": "客户名称(模糊匹配)",
  8241. "name": "customername",
  8242. "in": "query"
  8243. },
  8244. {
  8245. "type": "string",
  8246. "description": "昵称(模糊匹配)",
  8247. "name": "nickname",
  8248. "in": "query"
  8249. },
  8250. {
  8251. "type": "integer",
  8252. "description": "是否包含子级 1-包含",
  8253. "name": "includesub",
  8254. "in": "query"
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.QhjMgrCustomer"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/QhjMgr/QueryPickGoods": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金(PCWeb)"
  8288. ],
  8289. "summary": "查询提货商品",
  8290. "parameters": [
  8291. {
  8292. "type": "string",
  8293. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8294. "name": "status",
  8295. "in": "query"
  8296. }
  8297. ],
  8298. "responses": {
  8299. "200": {
  8300. "description": "OK",
  8301. "schema": {
  8302. "type": "array",
  8303. "items": {
  8304. "$ref": "#/definitions/models.QhjPickGoods"
  8305. }
  8306. }
  8307. },
  8308. "500": {
  8309. "description": "Internal Server Error",
  8310. "schema": {
  8311. "$ref": "#/definitions/app.Response"
  8312. }
  8313. }
  8314. }
  8315. }
  8316. },
  8317. "/QhjMgr/QuerySubArea": {
  8318. "get": {
  8319. "security": [
  8320. {
  8321. "ApiKeyAuth": []
  8322. }
  8323. ],
  8324. "produces": [
  8325. "application/json"
  8326. ],
  8327. "tags": [
  8328. "大连千海金(PCWeb)"
  8329. ],
  8330. "summary": "查询子机构列表",
  8331. "parameters": [
  8332. {
  8333. "type": "integer",
  8334. "description": "用户ID",
  8335. "name": "userid",
  8336. "in": "query",
  8337. "required": true
  8338. }
  8339. ],
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "type": "array",
  8345. "items": {
  8346. "$ref": "#/definitions/models.QhjMgrSubArea"
  8347. }
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/QhjMgr/QueryTradeDetail": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "大连千海金(PCWeb)"
  8371. ],
  8372. "summary": "查询成交明细",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "用户ID",
  8377. "name": "userid",
  8378. "in": "query",
  8379. "required": true
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "用户类型 1-个人 2-企业",
  8384. "name": "userinfotype",
  8385. "in": "query"
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "交易模式",
  8390. "name": "trademode",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "integer",
  8395. "description": "商品id",
  8396. "name": "goodsid",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "名称(模糊搜索账户)",
  8402. "name": "filtername",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "开始交易日(yyyymmdd)",
  8408. "name": "begindate",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "string",
  8413. "description": "结束交易日(yyyymmdd)",
  8414. "name": "enddate",
  8415. "in": "query"
  8416. },
  8417. {
  8418. "type": "integer",
  8419. "description": "是否包含子级 1-包含",
  8420. "name": "includesub",
  8421. "in": "query"
  8422. }
  8423. ],
  8424. "responses": {
  8425. "200": {
  8426. "description": "OK",
  8427. "schema": {
  8428. "type": "array",
  8429. "items": {
  8430. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8431. }
  8432. }
  8433. },
  8434. "500": {
  8435. "description": "Internal Server Error",
  8436. "schema": {
  8437. "$ref": "#/definitions/app.Response"
  8438. }
  8439. }
  8440. }
  8441. }
  8442. },
  8443. "/QhjMgr/QueryTradeOrderDetail": {
  8444. "get": {
  8445. "security": [
  8446. {
  8447. "ApiKeyAuth": []
  8448. }
  8449. ],
  8450. "produces": [
  8451. "application/json"
  8452. ],
  8453. "tags": [
  8454. "大连千海金(PCWeb)"
  8455. ],
  8456. "summary": "查询委托明细",
  8457. "parameters": [
  8458. {
  8459. "type": "integer",
  8460. "description": "用户ID",
  8461. "name": "userid",
  8462. "in": "query",
  8463. "required": true
  8464. },
  8465. {
  8466. "type": "integer",
  8467. "description": "用户类型 1-个人 2-企业",
  8468. "name": "userinfotype",
  8469. "in": "query"
  8470. },
  8471. {
  8472. "type": "integer",
  8473. "description": "交易模式",
  8474. "name": "trademode",
  8475. "in": "query"
  8476. },
  8477. {
  8478. "type": "integer",
  8479. "description": "商品id",
  8480. "name": "goodsid",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "名称(模糊搜索账户)",
  8486. "name": "filtername",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "开始交易日(yyyymmdd)",
  8492. "name": "begindate",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "结束交易日(yyyymmdd)",
  8498. "name": "enddate",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "是否包含子级 1-包含",
  8504. "name": "includesub",
  8505. "in": "query"
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/QhjMgr/QueryTradePayOrder": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金(PCWeb)"
  8539. ],
  8540. "summary": "查询待付款单",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "用户ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "string",
  8551. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8552. "name": "payflag",
  8553. "in": "query"
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "用户类型 1-个人 2-企业",
  8558. "name": "userinfotype",
  8559. "in": "query"
  8560. },
  8561. {
  8562. "type": "integer",
  8563. "description": "交易模式",
  8564. "name": "trademode",
  8565. "in": "query"
  8566. },
  8567. {
  8568. "type": "integer",
  8569. "description": "商品id",
  8570. "name": "goodsid",
  8571. "in": "query"
  8572. },
  8573. {
  8574. "type": "string",
  8575. "description": "名称(模糊搜索账户)",
  8576. "name": "filtername",
  8577. "in": "query"
  8578. },
  8579. {
  8580. "type": "string",
  8581. "description": "开始交易日(yyyymmdd)",
  8582. "name": "begindate",
  8583. "in": "query"
  8584. },
  8585. {
  8586. "type": "string",
  8587. "description": "结束交易日(yyyymmdd)",
  8588. "name": "enddate",
  8589. "in": "query"
  8590. },
  8591. {
  8592. "type": "integer",
  8593. "description": "是否包含子级 1-包含",
  8594. "name": "includesub",
  8595. "in": "query"
  8596. }
  8597. ],
  8598. "responses": {
  8599. "200": {
  8600. "description": "OK",
  8601. "schema": {
  8602. "type": "array",
  8603. "items": {
  8604. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8605. }
  8606. }
  8607. },
  8608. "500": {
  8609. "description": "Internal Server Error",
  8610. "schema": {
  8611. "$ref": "#/definitions/app.Response"
  8612. }
  8613. }
  8614. }
  8615. }
  8616. },
  8617. "/QhjMgr/QueryTradePosition": {
  8618. "get": {
  8619. "security": [
  8620. {
  8621. "ApiKeyAuth": []
  8622. }
  8623. ],
  8624. "produces": [
  8625. "application/json"
  8626. ],
  8627. "tags": [
  8628. "大连千海金(PCWeb)"
  8629. ],
  8630. "summary": "查询持仓汇总",
  8631. "parameters": [
  8632. {
  8633. "type": "integer",
  8634. "description": "用户ID",
  8635. "name": "userid",
  8636. "in": "query",
  8637. "required": true
  8638. },
  8639. {
  8640. "type": "integer",
  8641. "description": "用户类型 1-个人 2-企业",
  8642. "name": "userinfotype",
  8643. "in": "query"
  8644. },
  8645. {
  8646. "type": "integer",
  8647. "description": "交易模式",
  8648. "name": "trademode",
  8649. "in": "query"
  8650. },
  8651. {
  8652. "type": "integer",
  8653. "description": "商品id",
  8654. "name": "goodsid",
  8655. "in": "query"
  8656. },
  8657. {
  8658. "type": "string",
  8659. "description": "名称(模糊搜索账户)",
  8660. "name": "filtername",
  8661. "in": "query"
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "是否包含子级 1-包含",
  8666. "name": "includesub",
  8667. "in": "query"
  8668. }
  8669. ],
  8670. "responses": {
  8671. "200": {
  8672. "description": "OK",
  8673. "schema": {
  8674. "type": "array",
  8675. "items": {
  8676. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8677. }
  8678. }
  8679. },
  8680. "500": {
  8681. "description": "Internal Server Error",
  8682. "schema": {
  8683. "$ref": "#/definitions/app.Response"
  8684. }
  8685. }
  8686. }
  8687. }
  8688. },
  8689. "/QhjSys/QueryAgreementChangeLog": {
  8690. "get": {
  8691. "security": [
  8692. {
  8693. "ApiKeyAuth": []
  8694. }
  8695. ],
  8696. "produces": [
  8697. "application/json"
  8698. ],
  8699. "tags": [
  8700. "大连千海金(协议和签约信息)"
  8701. ],
  8702. "summary": "查询协议配置变更流水",
  8703. "parameters": [
  8704. {
  8705. "type": "integer",
  8706. "description": "协议ID",
  8707. "name": "agreementid",
  8708. "in": "query"
  8709. },
  8710. {
  8711. "type": "integer",
  8712. "description": "协议版本号",
  8713. "name": "agreementversion",
  8714. "in": "query"
  8715. },
  8716. {
  8717. "type": "integer",
  8718. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8719. "name": "agreementtype",
  8720. "in": "query"
  8721. },
  8722. {
  8723. "type": "string",
  8724. "description": "协议编号(模糊匹配)",
  8725. "name": "agreementno",
  8726. "in": "query"
  8727. },
  8728. {
  8729. "type": "string",
  8730. "description": "协议名称(模糊匹配)",
  8731. "name": "agreementname",
  8732. "in": "query"
  8733. }
  8734. ],
  8735. "responses": {
  8736. "200": {
  8737. "description": "OK",
  8738. "schema": {
  8739. "type": "array",
  8740. "items": {
  8741. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  8742. }
  8743. }
  8744. },
  8745. "500": {
  8746. "description": "Internal Server Error",
  8747. "schema": {
  8748. "$ref": "#/definitions/app.Response"
  8749. }
  8750. }
  8751. }
  8752. }
  8753. },
  8754. "/QhjSys/QueryAgreementConfig": {
  8755. "get": {
  8756. "security": [
  8757. {
  8758. "ApiKeyAuth": []
  8759. }
  8760. ],
  8761. "produces": [
  8762. "application/json"
  8763. ],
  8764. "tags": [
  8765. "大连千海金(协议和签约信息)"
  8766. ],
  8767. "summary": "查询协议配置",
  8768. "parameters": [
  8769. {
  8770. "type": "integer",
  8771. "description": "协议ID",
  8772. "name": "agreementid",
  8773. "in": "query"
  8774. },
  8775. {
  8776. "type": "integer",
  8777. "description": "协议版本号",
  8778. "name": "agreementversion",
  8779. "in": "query"
  8780. },
  8781. {
  8782. "type": "integer",
  8783. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8784. "name": "agreementtype",
  8785. "in": "query"
  8786. },
  8787. {
  8788. "type": "integer",
  8789. "description": "是否有效 - 0:无效 1:有效",
  8790. "name": "isvalid",
  8791. "in": "query"
  8792. },
  8793. {
  8794. "type": "string",
  8795. "description": "协议编号(模糊匹配)",
  8796. "name": "agreementno",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "string",
  8801. "description": "协议名称(模糊匹配)",
  8802. "name": "agreementname",
  8803. "in": "query"
  8804. }
  8805. ],
  8806. "responses": {
  8807. "200": {
  8808. "description": "OK",
  8809. "schema": {
  8810. "type": "array",
  8811. "items": {
  8812. "$ref": "#/definitions/models.QhjAgreementConfig"
  8813. }
  8814. }
  8815. },
  8816. "500": {
  8817. "description": "Internal Server Error",
  8818. "schema": {
  8819. "$ref": "#/definitions/app.Response"
  8820. }
  8821. }
  8822. }
  8823. }
  8824. },
  8825. "/QhjSys/QueryCustomerSignStatus": {
  8826. "get": {
  8827. "security": [
  8828. {
  8829. "ApiKeyAuth": []
  8830. }
  8831. ],
  8832. "produces": [
  8833. "application/json"
  8834. ],
  8835. "tags": [
  8836. "大连千海金(协议和签约信息)"
  8837. ],
  8838. "summary": "查询客户协议签约状态",
  8839. "parameters": [
  8840. {
  8841. "type": "integer",
  8842. "description": "客户ID",
  8843. "name": "userid",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "integer",
  8848. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  8849. "name": "nodetype",
  8850. "in": "query"
  8851. },
  8852. {
  8853. "type": "integer",
  8854. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8855. "name": "goodsid",
  8856. "in": "query"
  8857. },
  8858. {
  8859. "type": "string",
  8860. "description": "创建交易日(yyyyMMdd)",
  8861. "name": "tradedate",
  8862. "in": "query"
  8863. },
  8864. {
  8865. "type": "string",
  8866. "description": "用户名称(模糊匹配)",
  8867. "name": "username",
  8868. "in": "query"
  8869. }
  8870. ],
  8871. "responses": {
  8872. "200": {
  8873. "description": "OK",
  8874. "schema": {
  8875. "type": "array",
  8876. "items": {
  8877. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  8878. }
  8879. }
  8880. },
  8881. "500": {
  8882. "description": "Internal Server Error",
  8883. "schema": {
  8884. "$ref": "#/definitions/app.Response"
  8885. }
  8886. }
  8887. }
  8888. }
  8889. },
  8890. "/QhjSys/QueryNodeAgreementConfig": {
  8891. "get": {
  8892. "security": [
  8893. {
  8894. "ApiKeyAuth": []
  8895. }
  8896. ],
  8897. "produces": [
  8898. "application/json"
  8899. ],
  8900. "tags": [
  8901. "大连千海金(协议和签约信息)"
  8902. ],
  8903. "summary": "查询协议节点配置",
  8904. "parameters": [
  8905. {
  8906. "type": "integer",
  8907. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  8908. "name": "configid",
  8909. "in": "query"
  8910. },
  8911. {
  8912. "type": "integer",
  8913. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8914. "name": "nodetype",
  8915. "in": "query"
  8916. },
  8917. {
  8918. "type": "integer",
  8919. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8920. "name": "goodsid",
  8921. "in": "query"
  8922. },
  8923. {
  8924. "type": "integer",
  8925. "description": "协议ID",
  8926. "name": "agreementid",
  8927. "in": "query"
  8928. },
  8929. {
  8930. "type": "integer",
  8931. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8932. "name": "agreementtype",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "integer",
  8937. "description": "协议版本号",
  8938. "name": "agreementversion",
  8939. "in": "query"
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "协议编号(模糊匹配)",
  8944. "name": "agreementno",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "协议名称(模糊匹配)",
  8950. "name": "agreementname",
  8951. "in": "query"
  8952. }
  8953. ],
  8954. "responses": {
  8955. "200": {
  8956. "description": "OK",
  8957. "schema": {
  8958. "type": "array",
  8959. "items": {
  8960. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  8961. }
  8962. }
  8963. },
  8964. "500": {
  8965. "description": "Internal Server Error",
  8966. "schema": {
  8967. "$ref": "#/definitions/app.Response"
  8968. }
  8969. }
  8970. }
  8971. }
  8972. },
  8973. "/QhjSys/QueryQhjCustomerSignLog": {
  8974. "get": {
  8975. "security": [
  8976. {
  8977. "ApiKeyAuth": []
  8978. }
  8979. ],
  8980. "produces": [
  8981. "application/json"
  8982. ],
  8983. "tags": [
  8984. "大连千海金(协议和签约信息)"
  8985. ],
  8986. "summary": "查询客户协议签约流水",
  8987. "parameters": [
  8988. {
  8989. "type": "integer",
  8990. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  8991. "name": "logid",
  8992. "in": "query"
  8993. },
  8994. {
  8995. "type": "integer",
  8996. "description": "客户ID",
  8997. "name": "userid",
  8998. "in": "query"
  8999. },
  9000. {
  9001. "type": "integer",
  9002. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9003. "name": "nodetype",
  9004. "in": "query"
  9005. },
  9006. {
  9007. "type": "integer",
  9008. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9009. "name": "goodsid",
  9010. "in": "query"
  9011. },
  9012. {
  9013. "type": "integer",
  9014. "description": "协议ID",
  9015. "name": "agreementid",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "string",
  9020. "description": "用户名称(模糊匹配)",
  9021. "name": "username",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "string",
  9026. "description": "协议编号(模糊匹配)",
  9027. "name": "agreementno",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "string",
  9032. "description": "协议名称(模糊匹配)",
  9033. "name": "agreementname",
  9034. "in": "query"
  9035. }
  9036. ],
  9037. "responses": {
  9038. "200": {
  9039. "description": "OK",
  9040. "schema": {
  9041. "type": "array",
  9042. "items": {
  9043. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9044. }
  9045. }
  9046. },
  9047. "500": {
  9048. "description": "Internal Server Error",
  9049. "schema": {
  9050. "$ref": "#/definitions/app.Response"
  9051. }
  9052. }
  9053. }
  9054. }
  9055. },
  9056. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9057. "get": {
  9058. "security": [
  9059. {
  9060. "ApiKeyAuth": []
  9061. }
  9062. ],
  9063. "produces": [
  9064. "application/json"
  9065. ],
  9066. "tags": [
  9067. "大连千海金(协议和签约信息)"
  9068. ],
  9069. "summary": "查询用户协议节点配置和状态",
  9070. "parameters": [
  9071. {
  9072. "type": "integer",
  9073. "description": "客户ID",
  9074. "name": "userid",
  9075. "in": "query"
  9076. },
  9077. {
  9078. "type": "integer",
  9079. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9080. "name": "configid",
  9081. "in": "query"
  9082. },
  9083. {
  9084. "type": "string",
  9085. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9086. "name": "nodetype",
  9087. "in": "query"
  9088. },
  9089. {
  9090. "type": "integer",
  9091. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9092. "name": "goodsid",
  9093. "in": "query"
  9094. },
  9095. {
  9096. "type": "integer",
  9097. "description": "协议ID",
  9098. "name": "agreementid",
  9099. "in": "query"
  9100. },
  9101. {
  9102. "type": "integer",
  9103. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9104. "name": "agreementtype",
  9105. "in": "query"
  9106. },
  9107. {
  9108. "type": "integer",
  9109. "description": "协议版本号",
  9110. "name": "agreementversion",
  9111. "in": "query"
  9112. },
  9113. {
  9114. "type": "string",
  9115. "description": "协议编号(模糊匹配)",
  9116. "name": "agreementno",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "string",
  9121. "description": "协议名称(模糊匹配)",
  9122. "name": "agreementname",
  9123. "in": "query"
  9124. }
  9125. ],
  9126. "responses": {
  9127. "200": {
  9128. "description": "OK",
  9129. "schema": {
  9130. "type": "array",
  9131. "items": {
  9132. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9133. }
  9134. }
  9135. },
  9136. "500": {
  9137. "description": "Internal Server Error",
  9138. "schema": {
  9139. "$ref": "#/definitions/app.Response"
  9140. }
  9141. }
  9142. }
  9143. }
  9144. },
  9145. "/Quote/QueryHistoryDatas": {
  9146. "get": {
  9147. "security": [
  9148. {
  9149. "ApiKeyAuth": []
  9150. }
  9151. ],
  9152. "produces": [
  9153. "application/json"
  9154. ],
  9155. "tags": [
  9156. "行情服务"
  9157. ],
  9158. "summary": "查询行情历史数据",
  9159. "parameters": [
  9160. {
  9161. "type": "integer",
  9162. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9163. "name": "cycleType",
  9164. "in": "query",
  9165. "required": true
  9166. },
  9167. {
  9168. "type": "string",
  9169. "description": "商品代码",
  9170. "name": "goodsCode",
  9171. "in": "query",
  9172. "required": true
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9177. "name": "startTime",
  9178. "in": "query"
  9179. },
  9180. {
  9181. "type": "string",
  9182. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9183. "name": "endTime",
  9184. "in": "query"
  9185. },
  9186. {
  9187. "type": "integer",
  9188. "description": "条数",
  9189. "name": "count",
  9190. "in": "query"
  9191. },
  9192. {
  9193. "type": "boolean",
  9194. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9195. "name": "isAsc",
  9196. "in": "query"
  9197. }
  9198. ],
  9199. "responses": {
  9200. "200": {
  9201. "description": "OK",
  9202. "schema": {
  9203. "$ref": "#/definitions/quote.HistoryData"
  9204. }
  9205. },
  9206. "500": {
  9207. "description": "Internal Server Error",
  9208. "schema": {
  9209. "$ref": "#/definitions/app.Response"
  9210. }
  9211. }
  9212. }
  9213. }
  9214. },
  9215. "/Quote/QueryHistoryTikDatas": {
  9216. "get": {
  9217. "security": [
  9218. {
  9219. "ApiKeyAuth": []
  9220. }
  9221. ],
  9222. "produces": [
  9223. "application/json"
  9224. ],
  9225. "tags": [
  9226. "行情服务"
  9227. ],
  9228. "summary": "查询行情Tik数据",
  9229. "parameters": [
  9230. {
  9231. "type": "string",
  9232. "description": "商品代码",
  9233. "name": "goodsCode",
  9234. "in": "query",
  9235. "required": true
  9236. },
  9237. {
  9238. "type": "string",
  9239. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9240. "name": "startTime",
  9241. "in": "query"
  9242. },
  9243. {
  9244. "type": "string",
  9245. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9246. "name": "endTime",
  9247. "in": "query"
  9248. },
  9249. {
  9250. "type": "integer",
  9251. "description": "条数",
  9252. "name": "count",
  9253. "in": "query"
  9254. },
  9255. {
  9256. "type": "boolean",
  9257. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9258. "name": "isAsc",
  9259. "in": "query"
  9260. }
  9261. ],
  9262. "responses": {
  9263. "200": {
  9264. "description": "OK",
  9265. "schema": {
  9266. "$ref": "#/definitions/quote.HistoryTikData"
  9267. }
  9268. },
  9269. "500": {
  9270. "description": "Internal Server Error",
  9271. "schema": {
  9272. "$ref": "#/definitions/app.Response"
  9273. }
  9274. }
  9275. }
  9276. }
  9277. },
  9278. "/Quote/QueryQuoteDay": {
  9279. "get": {
  9280. "security": [
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json"
  9287. ],
  9288. "tags": [
  9289. "行情服务"
  9290. ],
  9291. "summary": "获取商品盘面信息",
  9292. "parameters": [
  9293. {
  9294. "type": "string",
  9295. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9296. "name": "goodsCodes",
  9297. "in": "query",
  9298. "required": true
  9299. }
  9300. ],
  9301. "responses": {
  9302. "200": {
  9303. "description": "OK",
  9304. "schema": {
  9305. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9306. }
  9307. },
  9308. "500": {
  9309. "description": "Internal Server Error",
  9310. "schema": {
  9311. "$ref": "#/definitions/app.Response"
  9312. }
  9313. }
  9314. }
  9315. }
  9316. },
  9317. "/Quote/QueryTSData": {
  9318. "get": {
  9319. "security": [
  9320. {
  9321. "ApiKeyAuth": []
  9322. }
  9323. ],
  9324. "produces": [
  9325. "application/json"
  9326. ],
  9327. "tags": [
  9328. "行情服务"
  9329. ],
  9330. "summary": "分时图数据查询",
  9331. "parameters": [
  9332. {
  9333. "type": "string",
  9334. "description": "商品代码",
  9335. "name": "goodsCode",
  9336. "in": "query",
  9337. "required": true
  9338. }
  9339. ],
  9340. "responses": {
  9341. "200": {
  9342. "description": "OK",
  9343. "schema": {
  9344. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9345. }
  9346. },
  9347. "500": {
  9348. "description": "Internal Server Error",
  9349. "schema": {
  9350. "$ref": "#/definitions/app.Response"
  9351. }
  9352. }
  9353. }
  9354. }
  9355. },
  9356. "/SZDZ/QueryConvertConfig": {
  9357. "get": {
  9358. "security": [
  9359. {
  9360. "ApiKeyAuth": []
  9361. }
  9362. ],
  9363. "produces": [
  9364. "application/json"
  9365. ],
  9366. "tags": [
  9367. "定制【尚志大宗】"
  9368. ],
  9369. "summary": "查询交易系统转换设置",
  9370. "parameters": [
  9371. {
  9372. "type": "integer",
  9373. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9374. "name": "convertType",
  9375. "in": "query"
  9376. },
  9377. {
  9378. "type": "string",
  9379. "description": "外部商品代码[JD\\PD]",
  9380. "name": "outerGoodsCode",
  9381. "in": "query"
  9382. },
  9383. {
  9384. "type": "string",
  9385. "description": "内部商品ID列表[交易],格式:1,2,3",
  9386. "name": "innerGoodsIDs",
  9387. "in": "query"
  9388. }
  9389. ],
  9390. "responses": {
  9391. "200": {
  9392. "description": "OK",
  9393. "schema": {
  9394. "$ref": "#/definitions/models.Szdz3convertconfig"
  9395. }
  9396. },
  9397. "500": {
  9398. "description": "Internal Server Error",
  9399. "schema": {
  9400. "$ref": "#/definitions/app.Response"
  9401. }
  9402. }
  9403. }
  9404. }
  9405. },
  9406. "/SZDZ/QueryConvertLog": {
  9407. "get": {
  9408. "security": [
  9409. {
  9410. "ApiKeyAuth": []
  9411. }
  9412. ],
  9413. "produces": [
  9414. "application/json"
  9415. ],
  9416. "tags": [
  9417. "定制【尚志大宗】"
  9418. ],
  9419. "summary": "交易系统转换流水查询",
  9420. "parameters": [
  9421. {
  9422. "type": "string",
  9423. "description": "资金账户 - 格式:1,2,3",
  9424. "name": "accountID",
  9425. "in": "query",
  9426. "required": true
  9427. },
  9428. {
  9429. "type": "string",
  9430. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9431. "name": "startDate",
  9432. "in": "query"
  9433. },
  9434. {
  9435. "type": "string",
  9436. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9437. "name": "endDate",
  9438. "in": "query"
  9439. }
  9440. ],
  9441. "responses": {
  9442. "200": {
  9443. "description": "OK",
  9444. "schema": {
  9445. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9446. }
  9447. },
  9448. "500": {
  9449. "description": "Internal Server Error",
  9450. "schema": {
  9451. "$ref": "#/definitions/app.Response"
  9452. }
  9453. }
  9454. }
  9455. }
  9456. },
  9457. "/SZDZ/QueryGoodsPickup": {
  9458. "get": {
  9459. "security": [
  9460. {
  9461. "ApiKeyAuth": []
  9462. }
  9463. ],
  9464. "produces": [
  9465. "application/json"
  9466. ],
  9467. "tags": [
  9468. "定制【尚志大宗】"
  9469. ],
  9470. "summary": "商品提货单查询",
  9471. "parameters": [
  9472. {
  9473. "type": "string",
  9474. "description": "资金账户 - 格式:1,2,3",
  9475. "name": "accountID",
  9476. "in": "query",
  9477. "required": true
  9478. },
  9479. {
  9480. "type": "integer",
  9481. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9482. "name": "takeOrderStatus",
  9483. "in": "query"
  9484. }
  9485. ],
  9486. "responses": {
  9487. "200": {
  9488. "description": "OK",
  9489. "schema": {
  9490. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9491. }
  9492. },
  9493. "500": {
  9494. "description": "Internal Server Error",
  9495. "schema": {
  9496. "$ref": "#/definitions/app.Response"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/SZDZ/QueryRecieptOrder": {
  9503. "get": {
  9504. "security": [
  9505. {
  9506. "ApiKeyAuth": []
  9507. }
  9508. ],
  9509. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9510. "produces": [
  9511. "application/json"
  9512. ],
  9513. "tags": [
  9514. "定制【尚志大宗】"
  9515. ],
  9516. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9517. "parameters": [
  9518. {
  9519. "type": "integer",
  9520. "description": "页码",
  9521. "name": "page",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "integer",
  9526. "description": "每页条数",
  9527. "name": "pagesize",
  9528. "in": "query"
  9529. },
  9530. {
  9531. "type": "integer",
  9532. "description": "商品ID",
  9533. "name": "goodsID",
  9534. "in": "query",
  9535. "required": true
  9536. },
  9537. {
  9538. "type": "string",
  9539. "description": "所属账户名称",
  9540. "name": "accountName",
  9541. "in": "query"
  9542. },
  9543. {
  9544. "type": "integer",
  9545. "description": "市场ID",
  9546. "name": "marketID",
  9547. "in": "query"
  9548. },
  9549. {
  9550. "type": "integer",
  9551. "description": "方向 - 0:买 1:卖",
  9552. "name": "buyorsell",
  9553. "in": "query",
  9554. "required": true
  9555. }
  9556. ],
  9557. "responses": {
  9558. "200": {
  9559. "description": "OK",
  9560. "schema": {
  9561. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9562. }
  9563. },
  9564. "500": {
  9565. "description": "Internal Server Error",
  9566. "schema": {
  9567. "$ref": "#/definitions/app.Response"
  9568. }
  9569. }
  9570. }
  9571. }
  9572. },
  9573. "/SZDZ/QuerySZDZTradePosition": {
  9574. "get": {
  9575. "security": [
  9576. {
  9577. "ApiKeyAuth": []
  9578. }
  9579. ],
  9580. "produces": [
  9581. "application/json"
  9582. ],
  9583. "tags": [
  9584. "定制【尚志大宗】"
  9585. ],
  9586. "summary": "持仓汇总查询(尚志大宗)",
  9587. "parameters": [
  9588. {
  9589. "type": "integer",
  9590. "description": "资金账户",
  9591. "name": "accountID",
  9592. "in": "query",
  9593. "required": true
  9594. }
  9595. ],
  9596. "responses": {
  9597. "200": {
  9598. "description": "OK",
  9599. "schema": {
  9600. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9601. }
  9602. },
  9603. "500": {
  9604. "description": "Internal Server Error",
  9605. "schema": {
  9606. "$ref": "#/definitions/app.Response"
  9607. }
  9608. }
  9609. }
  9610. }
  9611. },
  9612. "/SZDZ/SearchWhite": {
  9613. "get": {
  9614. "security": [
  9615. {
  9616. "ApiKeyAuth": []
  9617. }
  9618. ],
  9619. "produces": [
  9620. "application/json"
  9621. ],
  9622. "tags": [
  9623. "定制【尚志大宗】"
  9624. ],
  9625. "summary": "搜索白名单",
  9626. "parameters": [
  9627. {
  9628. "type": "integer",
  9629. "description": "用户ID",
  9630. "name": "userID",
  9631. "in": "query",
  9632. "required": true
  9633. }
  9634. ],
  9635. "responses": {
  9636. "200": {
  9637. "description": "OK",
  9638. "schema": {
  9639. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9640. }
  9641. },
  9642. "500": {
  9643. "description": "Internal Server Error",
  9644. "schema": {
  9645. "$ref": "#/definitions/app.Response"
  9646. }
  9647. }
  9648. }
  9649. }
  9650. },
  9651. "/Search/SearchGoodses": {
  9652. "get": {
  9653. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9654. "produces": [
  9655. "application/json"
  9656. ],
  9657. "tags": [
  9658. "检索服务"
  9659. ],
  9660. "summary": "检索商品信息",
  9661. "parameters": [
  9662. {
  9663. "type": "string",
  9664. "description": "检索内容",
  9665. "name": "content",
  9666. "in": "query",
  9667. "required": true
  9668. },
  9669. {
  9670. "type": "string",
  9671. "description": "交易模式,格式:1,2,3",
  9672. "name": "tradeModes",
  9673. "in": "query"
  9674. }
  9675. ],
  9676. "responses": {
  9677. "200": {
  9678. "description": "OK",
  9679. "schema": {
  9680. "$ref": "#/definitions/models.SearchGoods"
  9681. }
  9682. },
  9683. "500": {
  9684. "description": "Internal Server Error",
  9685. "schema": {
  9686. "$ref": "#/definitions/app.Response"
  9687. }
  9688. }
  9689. }
  9690. }
  9691. },
  9692. "/TaAccount/GetTaAccounts": {
  9693. "get": {
  9694. "security": [
  9695. {
  9696. "ApiKeyAuth": []
  9697. }
  9698. ],
  9699. "produces": [
  9700. "application/json"
  9701. ],
  9702. "tags": [
  9703. "资金账户"
  9704. ],
  9705. "summary": "获取资金账户信息",
  9706. "parameters": [
  9707. {
  9708. "type": "integer",
  9709. "description": "登录账户",
  9710. "name": "loginID",
  9711. "in": "query",
  9712. "required": true
  9713. },
  9714. {
  9715. "type": "integer",
  9716. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9717. "name": "taAccountType",
  9718. "in": "query"
  9719. }
  9720. ],
  9721. "responses": {
  9722. "200": {
  9723. "description": "OK",
  9724. "schema": {
  9725. "$ref": "#/definitions/models.Taaccount"
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/TaAccount/QueryAmountLog": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "资金账户"
  9749. ],
  9750. "summary": "资金流水查询(当前)",
  9751. "parameters": [
  9752. {
  9753. "type": "integer",
  9754. "description": "页码",
  9755. "name": "page",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "integer",
  9760. "description": "每页条数",
  9761. "name": "pagesize",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "string",
  9766. "description": "资金账户 - 格式:1,2,3",
  9767. "name": "accountID",
  9768. "in": "query",
  9769. "required": true
  9770. },
  9771. {
  9772. "type": "string",
  9773. "description": "资金操作类型 - 格式:1,2,3",
  9774. "name": "OperateType",
  9775. "in": "query"
  9776. }
  9777. ],
  9778. "responses": {
  9779. "200": {
  9780. "description": "OK",
  9781. "schema": {
  9782. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9783. }
  9784. },
  9785. "500": {
  9786. "description": "Internal Server Error",
  9787. "schema": {
  9788. "$ref": "#/definitions/app.Response"
  9789. }
  9790. }
  9791. }
  9792. }
  9793. },
  9794. "/TaAccount/QueryHisAmountLog": {
  9795. "get": {
  9796. "security": [
  9797. {
  9798. "ApiKeyAuth": []
  9799. }
  9800. ],
  9801. "produces": [
  9802. "application/json"
  9803. ],
  9804. "tags": [
  9805. "资金账户"
  9806. ],
  9807. "summary": "资金流水查询(历史)",
  9808. "parameters": [
  9809. {
  9810. "type": "integer",
  9811. "description": "页码",
  9812. "name": "page",
  9813. "in": "query"
  9814. },
  9815. {
  9816. "type": "integer",
  9817. "description": "每页条数",
  9818. "name": "pagesize",
  9819. "in": "query"
  9820. },
  9821. {
  9822. "type": "string",
  9823. "description": "资金账户 - 格式:1,2,3",
  9824. "name": "accountID",
  9825. "in": "query",
  9826. "required": true
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "资金操作类型 - 格式:1,2,3",
  9831. "name": "OperateType",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9837. "name": "startDate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9843. "name": "endDate",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9852. }
  9853. },
  9854. "500": {
  9855. "description": "Internal Server Error",
  9856. "schema": {
  9857. "$ref": "#/definitions/app.Response"
  9858. }
  9859. }
  9860. }
  9861. }
  9862. },
  9863. "/Trade/QueryRecieptOrder": {
  9864. "get": {
  9865. "security": [
  9866. {
  9867. "ApiKeyAuth": []
  9868. }
  9869. ],
  9870. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9871. "produces": [
  9872. "application/json"
  9873. ],
  9874. "tags": [
  9875. "通用交易"
  9876. ],
  9877. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9878. "parameters": [
  9879. {
  9880. "type": "integer",
  9881. "description": "页码",
  9882. "name": "page",
  9883. "in": "query"
  9884. },
  9885. {
  9886. "type": "integer",
  9887. "description": "每页条数",
  9888. "name": "pagesize",
  9889. "in": "query"
  9890. },
  9891. {
  9892. "type": "integer",
  9893. "description": "商品ID",
  9894. "name": "goodsID",
  9895. "in": "query",
  9896. "required": true
  9897. },
  9898. {
  9899. "type": "string",
  9900. "description": "所属账户名称",
  9901. "name": "accountName",
  9902. "in": "query"
  9903. },
  9904. {
  9905. "type": "integer",
  9906. "description": "市场ID",
  9907. "name": "marketID",
  9908. "in": "query"
  9909. },
  9910. {
  9911. "type": "integer",
  9912. "description": "方向 - 0:买 1:卖",
  9913. "name": "buyorsell",
  9914. "in": "query",
  9915. "required": true
  9916. }
  9917. ],
  9918. "responses": {
  9919. "200": {
  9920. "description": "OK",
  9921. "schema": {
  9922. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9923. }
  9924. },
  9925. "500": {
  9926. "description": "Internal Server Error",
  9927. "schema": {
  9928. "$ref": "#/definitions/app.Response"
  9929. }
  9930. }
  9931. }
  9932. }
  9933. },
  9934. "/User/AddMessageBoard": {
  9935. "post": {
  9936. "security": [
  9937. {
  9938. "ApiKeyAuth": []
  9939. }
  9940. ],
  9941. "produces": [
  9942. "application/json"
  9943. ],
  9944. "tags": [
  9945. "用户信息"
  9946. ],
  9947. "summary": "添加用户留言板信息",
  9948. "parameters": [
  9949. {
  9950. "type": "integer",
  9951. "description": "用户ID",
  9952. "name": "userID",
  9953. "in": "query",
  9954. "required": true
  9955. },
  9956. {
  9957. "type": "string",
  9958. "description": "留言信息",
  9959. "name": "message",
  9960. "in": "query",
  9961. "required": true
  9962. },
  9963. {
  9964. "type": "string",
  9965. "description": "联系电话",
  9966. "name": "contactNum",
  9967. "in": "query",
  9968. "required": true
  9969. }
  9970. ],
  9971. "responses": {
  9972. "200": {
  9973. "description": "OK",
  9974. "schema": {
  9975. "$ref": "#/definitions/app.Response"
  9976. }
  9977. },
  9978. "500": {
  9979. "description": "Internal Server Error",
  9980. "schema": {
  9981. "$ref": "#/definitions/app.Response"
  9982. }
  9983. }
  9984. }
  9985. }
  9986. },
  9987. "/User/AddUserFavoriteGoods": {
  9988. "post": {
  9989. "security": [
  9990. {
  9991. "ApiKeyAuth": []
  9992. }
  9993. ],
  9994. "produces": [
  9995. "application/json"
  9996. ],
  9997. "tags": [
  9998. "用户信息"
  9999. ],
  10000. "summary": "添加用户商品收藏信息",
  10001. "parameters": [
  10002. {
  10003. "type": "integer",
  10004. "description": "用户ID",
  10005. "name": "userID",
  10006. "in": "query",
  10007. "required": true
  10008. },
  10009. {
  10010. "type": "integer",
  10011. "description": "商品ID",
  10012. "name": "goodsID",
  10013. "in": "query",
  10014. "required": true
  10015. }
  10016. ],
  10017. "responses": {
  10018. "200": {
  10019. "description": "OK",
  10020. "schema": {
  10021. "$ref": "#/definitions/app.Response"
  10022. }
  10023. },
  10024. "500": {
  10025. "description": "Internal Server Error",
  10026. "schema": {
  10027. "$ref": "#/definitions/app.Response"
  10028. }
  10029. }
  10030. }
  10031. }
  10032. },
  10033. "/User/GetLoginID": {
  10034. "get": {
  10035. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10036. "produces": [
  10037. "application/json"
  10038. ],
  10039. "tags": [
  10040. "用户信息"
  10041. ],
  10042. "summary": "获取登录ID",
  10043. "parameters": [
  10044. {
  10045. "type": "string",
  10046. "description": "登录代码",
  10047. "name": "username",
  10048. "in": "query",
  10049. "required": true
  10050. }
  10051. ],
  10052. "responses": {
  10053. "200": {
  10054. "description": "OK",
  10055. "schema": {
  10056. "$ref": "#/definitions/app.Response"
  10057. }
  10058. },
  10059. "500": {
  10060. "description": "Internal Server Error",
  10061. "schema": {
  10062. "$ref": "#/definitions/app.Response"
  10063. }
  10064. }
  10065. }
  10066. }
  10067. },
  10068. "/User/GetUserAccount": {
  10069. "get": {
  10070. "security": [
  10071. {
  10072. "ApiKeyAuth": []
  10073. }
  10074. ],
  10075. "produces": [
  10076. "application/json"
  10077. ],
  10078. "tags": [
  10079. "用户信息"
  10080. ],
  10081. "summary": "获取用户账号信息",
  10082. "parameters": [
  10083. {
  10084. "type": "integer",
  10085. "description": "用户ID",
  10086. "name": "userID",
  10087. "in": "query",
  10088. "required": true
  10089. }
  10090. ],
  10091. "responses": {
  10092. "200": {
  10093. "description": "OK",
  10094. "schema": {
  10095. "$ref": "#/definitions/models.Useraccount"
  10096. }
  10097. },
  10098. "500": {
  10099. "description": "Internal Server Error",
  10100. "schema": {
  10101. "$ref": "#/definitions/app.Response"
  10102. }
  10103. }
  10104. }
  10105. }
  10106. },
  10107. "/User/GetUserAuthStatus": {
  10108. "get": {
  10109. "security": [
  10110. {
  10111. "ApiKeyAuth": []
  10112. }
  10113. ],
  10114. "produces": [
  10115. "application/json"
  10116. ],
  10117. "tags": [
  10118. "用户信息"
  10119. ],
  10120. "summary": "获取用户实名认证状态",
  10121. "parameters": [
  10122. {
  10123. "type": "integer",
  10124. "description": "用户ID",
  10125. "name": "userID",
  10126. "in": "query",
  10127. "required": true
  10128. }
  10129. ],
  10130. "responses": {
  10131. "200": {
  10132. "description": "OK",
  10133. "schema": {
  10134. "$ref": "#/definitions/app.Response"
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/User/LoginQuery": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "用户信息"
  10158. ],
  10159. "summary": "账户登录后信息查询",
  10160. "parameters": [
  10161. {
  10162. "type": "integer",
  10163. "description": "登录账号",
  10164. "name": "loginID",
  10165. "in": "query",
  10166. "required": true
  10167. }
  10168. ],
  10169. "responses": {
  10170. "200": {
  10171. "description": "OK",
  10172. "schema": {
  10173. "$ref": "#/definitions/user.LoginQueryRsp"
  10174. }
  10175. },
  10176. "500": {
  10177. "description": "Internal Server Error",
  10178. "schema": {
  10179. "$ref": "#/definitions/app.Response"
  10180. }
  10181. }
  10182. }
  10183. }
  10184. },
  10185. "/User/QueryMessageBoard": {
  10186. "get": {
  10187. "security": [
  10188. {
  10189. "ApiKeyAuth": []
  10190. }
  10191. ],
  10192. "produces": [
  10193. "application/json"
  10194. ],
  10195. "tags": [
  10196. "用户信息"
  10197. ],
  10198. "summary": "获取用户留言板信息",
  10199. "parameters": [
  10200. {
  10201. "type": "integer",
  10202. "description": "用户ID",
  10203. "name": "userID",
  10204. "in": "query",
  10205. "required": true
  10206. }
  10207. ],
  10208. "responses": {
  10209. "200": {
  10210. "description": "OK",
  10211. "schema": {
  10212. "$ref": "#/definitions/models.Messageboard"
  10213. }
  10214. },
  10215. "500": {
  10216. "description": "Internal Server Error",
  10217. "schema": {
  10218. "$ref": "#/definitions/app.Response"
  10219. }
  10220. }
  10221. }
  10222. }
  10223. },
  10224. "/User/QueryUserFavoriteGoodses": {
  10225. "get": {
  10226. "security": [
  10227. {
  10228. "ApiKeyAuth": []
  10229. }
  10230. ],
  10231. "produces": [
  10232. "application/json"
  10233. ],
  10234. "tags": [
  10235. "用户信息"
  10236. ],
  10237. "summary": "获取用户商品收藏信息",
  10238. "parameters": [
  10239. {
  10240. "type": "integer",
  10241. "description": "用户ID",
  10242. "name": "userID",
  10243. "in": "query",
  10244. "required": true
  10245. }
  10246. ],
  10247. "responses": {
  10248. "200": {
  10249. "description": "OK",
  10250. "schema": {
  10251. "$ref": "#/definitions/models.Userfavoritegoods"
  10252. }
  10253. },
  10254. "500": {
  10255. "description": "Internal Server Error",
  10256. "schema": {
  10257. "$ref": "#/definitions/app.Response"
  10258. }
  10259. }
  10260. }
  10261. }
  10262. },
  10263. "/User/QueryUserInfo": {
  10264. "get": {
  10265. "security": [
  10266. {
  10267. "ApiKeyAuth": []
  10268. }
  10269. ],
  10270. "produces": [
  10271. "application/json"
  10272. ],
  10273. "tags": [
  10274. "用户信息"
  10275. ],
  10276. "summary": "获取用户信息",
  10277. "parameters": [
  10278. {
  10279. "type": "integer",
  10280. "description": "用户ID",
  10281. "name": "userID",
  10282. "in": "query",
  10283. "required": true
  10284. },
  10285. {
  10286. "type": "boolean",
  10287. "description": "是否解密",
  10288. "name": "isDecrypt",
  10289. "in": "query"
  10290. }
  10291. ],
  10292. "responses": {
  10293. "200": {
  10294. "description": "OK",
  10295. "schema": {
  10296. "$ref": "#/definitions/models.Userinfo"
  10297. }
  10298. },
  10299. "500": {
  10300. "description": "Internal Server Error",
  10301. "schema": {
  10302. "$ref": "#/definitions/app.Response"
  10303. }
  10304. }
  10305. }
  10306. }
  10307. },
  10308. "/User/QueryUserReferNum": {
  10309. "get": {
  10310. "produces": [
  10311. "application/json"
  10312. ],
  10313. "tags": [
  10314. "用户信息"
  10315. ],
  10316. "summary": "获取用户邀请码",
  10317. "parameters": [
  10318. {
  10319. "type": "integer",
  10320. "description": "用户ID",
  10321. "name": "userID",
  10322. "in": "query",
  10323. "required": true
  10324. }
  10325. ],
  10326. "responses": {
  10327. "200": {
  10328. "description": "OK",
  10329. "schema": {
  10330. "$ref": "#/definitions/app.Response"
  10331. }
  10332. },
  10333. "500": {
  10334. "description": "Internal Server Error",
  10335. "schema": {
  10336. "$ref": "#/definitions/app.Response"
  10337. }
  10338. }
  10339. }
  10340. }
  10341. },
  10342. "/User/RemoveUserFavoriteGoods": {
  10343. "post": {
  10344. "security": [
  10345. {
  10346. "ApiKeyAuth": []
  10347. }
  10348. ],
  10349. "produces": [
  10350. "application/json"
  10351. ],
  10352. "tags": [
  10353. "用户信息"
  10354. ],
  10355. "summary": "移除用户商品收藏信息",
  10356. "parameters": [
  10357. {
  10358. "type": "integer",
  10359. "description": "用户ID",
  10360. "name": "userID",
  10361. "in": "query",
  10362. "required": true
  10363. },
  10364. {
  10365. "type": "integer",
  10366. "description": "商品ID",
  10367. "name": "goodsID",
  10368. "in": "query",
  10369. "required": true
  10370. }
  10371. ],
  10372. "responses": {
  10373. "200": {
  10374. "description": "OK",
  10375. "schema": {
  10376. "$ref": "#/definitions/app.Response"
  10377. }
  10378. },
  10379. "500": {
  10380. "description": "Internal Server Error",
  10381. "schema": {
  10382. "$ref": "#/definitions/app.Response"
  10383. }
  10384. }
  10385. }
  10386. }
  10387. },
  10388. "/User/UpdateUserAccountStatus": {
  10389. "post": {
  10390. "security": [
  10391. {
  10392. "ApiKeyAuth": []
  10393. }
  10394. ],
  10395. "produces": [
  10396. "application/json"
  10397. ],
  10398. "tags": [
  10399. "用户信息"
  10400. ],
  10401. "summary": "更新用户状态",
  10402. "parameters": [
  10403. {
  10404. "type": "integer",
  10405. "description": "用户ID",
  10406. "name": "userID",
  10407. "in": "query",
  10408. "required": true
  10409. },
  10410. {
  10411. "type": "integer",
  10412. "description": "账户状态 - 4:正常 6:注销(停用)",
  10413. "name": "accountStatus",
  10414. "in": "query",
  10415. "required": true
  10416. }
  10417. ],
  10418. "responses": {
  10419. "200": {
  10420. "description": "OK",
  10421. "schema": {
  10422. "$ref": "#/definitions/app.Response"
  10423. }
  10424. },
  10425. "500": {
  10426. "description": "Internal Server Error",
  10427. "schema": {
  10428. "$ref": "#/definitions/app.Response"
  10429. }
  10430. }
  10431. }
  10432. }
  10433. },
  10434. "/WRTrade/GetAllDeliveryGoods": {
  10435. "get": {
  10436. "security": [
  10437. {
  10438. "ApiKeyAuth": []
  10439. },
  10440. {
  10441. "ApiKeyAuth": []
  10442. }
  10443. ],
  10444. "produces": [
  10445. "application/json",
  10446. "application/json"
  10447. ],
  10448. "tags": [
  10449. "仓单贸易",
  10450. "仓单贸易"
  10451. ],
  10452. "summary": "获取带仓单分类的种类信息",
  10453. "responses": {
  10454. "200": {
  10455. "description": "OK",
  10456. "schema": {
  10457. "$ref": "#/definitions/app.Response"
  10458. }
  10459. },
  10460. "500": {
  10461. "description": "Internal Server Error",
  10462. "schema": {
  10463. "$ref": "#/definitions/app.Response"
  10464. }
  10465. }
  10466. }
  10467. }
  10468. }
  10469. },
  10470. "definitions": {
  10471. "app.Response": {
  10472. "type": "object",
  10473. "properties": {
  10474. "code": {
  10475. "type": "integer"
  10476. },
  10477. "data": {
  10478. "type": "object"
  10479. },
  10480. "msg": {
  10481. "type": "string"
  10482. },
  10483. "page": {
  10484. "description": "页码",
  10485. "type": "integer"
  10486. },
  10487. "pagesize": {
  10488. "description": "每页条数",
  10489. "type": "integer"
  10490. },
  10491. "total": {
  10492. "description": "总条数",
  10493. "type": "integer"
  10494. }
  10495. }
  10496. },
  10497. "common.ClientMenu": {
  10498. "type": "object",
  10499. "properties": {
  10500. "children": {
  10501. "description": "子菜单列表",
  10502. "type": "array",
  10503. "items": {
  10504. "$ref": "#/definitions/common.ClientMenu"
  10505. }
  10506. },
  10507. "code": {
  10508. "description": "ID",
  10509. "type": "string"
  10510. },
  10511. "isshow": {
  10512. "description": "是否显示",
  10513. "type": "boolean"
  10514. },
  10515. "rulekey": {
  10516. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10517. "type": "string"
  10518. },
  10519. "sort": {
  10520. "description": "排序",
  10521. "type": "integer"
  10522. },
  10523. "title": {
  10524. "description": "标题",
  10525. "type": "string"
  10526. },
  10527. "type": {
  10528. "description": "类型,1:菜单 2:按钮",
  10529. "type": "integer"
  10530. }
  10531. }
  10532. },
  10533. "common.QueryImageConfigsRsp": {
  10534. "type": "object",
  10535. "required": [
  10536. "configid"
  10537. ],
  10538. "properties": {
  10539. "areauserid": {
  10540. "description": "所属机构ID",
  10541. "type": "integer"
  10542. },
  10543. "configid": {
  10544. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10545. "type": "integer"
  10546. },
  10547. "createdate": {
  10548. "description": "创建时间",
  10549. "type": "string"
  10550. },
  10551. "creatorid": {
  10552. "description": "创建人",
  10553. "type": "integer"
  10554. },
  10555. "imagepath": {
  10556. "description": "图片",
  10557. "type": "string"
  10558. },
  10559. "imagetype": {
  10560. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10561. "type": "integer"
  10562. },
  10563. "isshow": {
  10564. "description": "是否展示 - 0:不展示 1:展示",
  10565. "type": "integer"
  10566. },
  10567. "marketid": {
  10568. "description": "市场ID",
  10569. "type": "integer"
  10570. },
  10571. "modifierid": {
  10572. "description": "操作人",
  10573. "type": "integer"
  10574. },
  10575. "sort": {
  10576. "description": "排序",
  10577. "type": "integer"
  10578. },
  10579. "title": {
  10580. "description": "标题",
  10581. "type": "string"
  10582. },
  10583. "trademode": {
  10584. "description": "交易模式",
  10585. "type": "integer"
  10586. },
  10587. "updatedate": {
  10588. "description": "修改时间",
  10589. "type": "string"
  10590. },
  10591. "url": {
  10592. "description": "链接(地址或商品ID)",
  10593. "type": "string"
  10594. },
  10595. "urltype": {
  10596. "description": "链接类型 - 1:直接地址 2:商品ID",
  10597. "type": "integer"
  10598. }
  10599. }
  10600. },
  10601. "common.QueryNoticeRsp": {
  10602. "type": "object",
  10603. "required": [
  10604. "autoid"
  10605. ],
  10606. "properties": {
  10607. "auditoruserid": {
  10608. "description": "审核人",
  10609. "type": "integer"
  10610. },
  10611. "auditremark": {
  10612. "description": "审核备注",
  10613. "type": "string"
  10614. },
  10615. "audittime": {
  10616. "description": "审核日期",
  10617. "type": "string"
  10618. },
  10619. "autoid": {
  10620. "description": "自增ID",
  10621. "type": "integer"
  10622. },
  10623. "content": {
  10624. "description": "内容",
  10625. "type": "string"
  10626. },
  10627. "createtime": {
  10628. "description": "创建时间",
  10629. "type": "string"
  10630. },
  10631. "creatorid": {
  10632. "description": "建仓人",
  10633. "type": "integer"
  10634. },
  10635. "endtime": {
  10636. "description": "结束时间",
  10637. "type": "string"
  10638. },
  10639. "istop": {
  10640. "description": "是否置顶 - 0:不置顶 1:置顶",
  10641. "type": "integer"
  10642. },
  10643. "msgiconurl": {
  10644. "description": "消息图标Url",
  10645. "type": "string"
  10646. },
  10647. "msgtype": {
  10648. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10649. "type": "integer"
  10650. },
  10651. "publisher": {
  10652. "description": "消息发布者",
  10653. "type": "string"
  10654. },
  10655. "readed": {
  10656. "description": "是否已读",
  10657. "type": "boolean"
  10658. },
  10659. "scheduletime": {
  10660. "description": "计划发送时间",
  10661. "type": "string"
  10662. },
  10663. "sendtype": {
  10664. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10665. "type": "integer"
  10666. },
  10667. "sentstatus": {
  10668. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10669. "type": "integer"
  10670. },
  10671. "title": {
  10672. "description": "标题",
  10673. "type": "string"
  10674. },
  10675. "userid": {
  10676. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10677. "type": "integer"
  10678. }
  10679. }
  10680. },
  10681. "common.QueryProvincesAndCitiesRsp": {
  10682. "type": "object",
  10683. "properties": {
  10684. "cities": {
  10685. "description": "市",
  10686. "type": "array",
  10687. "items": {
  10688. "$ref": "#/definitions/models.Division"
  10689. }
  10690. },
  10691. "province": {
  10692. "description": "省",
  10693. "type": "object",
  10694. "$ref": "#/definitions/models.Division"
  10695. }
  10696. }
  10697. },
  10698. "common.QueryTableDefineRsp": {
  10699. "type": "object",
  10700. "required": [
  10701. "tablekey"
  10702. ],
  10703. "properties": {
  10704. "columns": {
  10705. "description": "列头信息数组",
  10706. "type": "array",
  10707. "items": {
  10708. "$ref": "#/definitions/models.Tablecolumnconfig"
  10709. }
  10710. },
  10711. "remark": {
  10712. "description": "Remark",
  10713. "type": "string"
  10714. },
  10715. "tabelmenu": {
  10716. "description": "列表菜单",
  10717. "type": "string"
  10718. },
  10719. "tablekey": {
  10720. "description": "列表Key",
  10721. "type": "string"
  10722. },
  10723. "tablename": {
  10724. "description": "列表名称",
  10725. "type": "string"
  10726. },
  10727. "tabletype": {
  10728. "description": "列表类型 - 1:管理端 2:终端",
  10729. "type": "integer"
  10730. }
  10731. }
  10732. },
  10733. "common.QueryTraderMenuRsp": {
  10734. "type": "object",
  10735. "properties": {
  10736. "OperationMenu": {
  10737. "description": "功能菜单",
  10738. "type": "array",
  10739. "items": {
  10740. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10741. }
  10742. },
  10743. "QuoteMenu": {
  10744. "description": "报价牌分类菜单",
  10745. "type": "array",
  10746. "items": {
  10747. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10748. }
  10749. }
  10750. }
  10751. },
  10752. "cptrade.Cptradepositioncancel": {
  10753. "type": "object",
  10754. "required": [
  10755. "cancelid"
  10756. ],
  10757. "properties": {
  10758. "accountid": {
  10759. "description": "申请人账户ID",
  10760. "type": "integer"
  10761. },
  10762. "applystatus": {
  10763. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10764. "type": "integer"
  10765. },
  10766. "applytime": {
  10767. "description": "申请时间",
  10768. "type": "string"
  10769. },
  10770. "cancelid": {
  10771. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10772. "type": "integer"
  10773. },
  10774. "cancelqty": {
  10775. "description": "注销数量",
  10776. "type": "integer"
  10777. },
  10778. "createtime": {
  10779. "description": "创建时间",
  10780. "type": "string"
  10781. },
  10782. "creatorid": {
  10783. "description": "创建人ID",
  10784. "type": "integer"
  10785. },
  10786. "creatorname": {
  10787. "description": "创建人",
  10788. "type": "string"
  10789. },
  10790. "goodscode": {
  10791. "description": "订单商品代码",
  10792. "type": "string"
  10793. },
  10794. "goodsid": {
  10795. "description": "商品ID",
  10796. "type": "integer"
  10797. },
  10798. "goodsname": {
  10799. "description": "订单商品名称",
  10800. "type": "string"
  10801. },
  10802. "goodunit": {
  10803. "description": "报价单位",
  10804. "type": "string"
  10805. },
  10806. "handlestatus": {
  10807. "description": "处理状态",
  10808. "type": "integer"
  10809. },
  10810. "marketid": {
  10811. "description": "市场ID",
  10812. "type": "integer"
  10813. },
  10814. "marketname": {
  10815. "description": "市场名称",
  10816. "type": "string"
  10817. },
  10818. "tradedate": {
  10819. "description": "交易日(yyyyMMdd)",
  10820. "type": "string"
  10821. },
  10822. "userid": {
  10823. "description": "申请人ID",
  10824. "type": "integer"
  10825. }
  10826. }
  10827. },
  10828. "cptrade.Cptradepresaleapply": {
  10829. "type": "object",
  10830. "required": [
  10831. "applyid"
  10832. ],
  10833. "properties": {
  10834. "accountid": {
  10835. "description": "申请人账户ID",
  10836. "type": "integer"
  10837. },
  10838. "applyid": {
  10839. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10840. "type": "integer"
  10841. },
  10842. "applyremark": {
  10843. "description": "申请备注",
  10844. "type": "string"
  10845. },
  10846. "applystatus": {
  10847. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10848. "type": "integer"
  10849. },
  10850. "applytime": {
  10851. "description": "申请时间",
  10852. "type": "string"
  10853. },
  10854. "attachmenturl": {
  10855. "description": "附件地址",
  10856. "type": "string"
  10857. },
  10858. "endtime": {
  10859. "description": "预售结束时间",
  10860. "type": "string"
  10861. },
  10862. "goodscode": {
  10863. "description": "商品代码",
  10864. "type": "string"
  10865. },
  10866. "goodsid": {
  10867. "description": "商品ID",
  10868. "type": "integer"
  10869. },
  10870. "goodsname": {
  10871. "description": "商品名称",
  10872. "type": "string"
  10873. },
  10874. "goodunit": {
  10875. "description": "报价单位",
  10876. "type": "string"
  10877. },
  10878. "handlestatus": {
  10879. "description": "处理状态",
  10880. "type": "integer"
  10881. },
  10882. "marketid": {
  10883. "description": "预售市场ID",
  10884. "type": "integer"
  10885. },
  10886. "marketname": {
  10887. "description": "预售市场名称",
  10888. "type": "string"
  10889. },
  10890. "presaleqty": {
  10891. "description": "预售数量",
  10892. "type": "integer"
  10893. },
  10894. "relatedgoodscode": {
  10895. "description": "关联交易合约代码",
  10896. "type": "string"
  10897. },
  10898. "relatedgoodsid": {
  10899. "description": "关联交易合约ID",
  10900. "type": "integer"
  10901. },
  10902. "relatedgoodsname": {
  10903. "description": "关联交易合约名称",
  10904. "type": "string"
  10905. },
  10906. "starttime": {
  10907. "description": "预售开始时间",
  10908. "type": "string"
  10909. },
  10910. "tradedate": {
  10911. "description": "交易日(yyyyMMdd)",
  10912. "type": "string"
  10913. },
  10914. "trademode": {
  10915. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10916. "type": "integer"
  10917. },
  10918. "userid": {
  10919. "description": "申请人ID",
  10920. "type": "integer"
  10921. }
  10922. }
  10923. },
  10924. "cptrade.Cptradeusergoodsdata": {
  10925. "type": "object",
  10926. "required": [
  10927. "accountid",
  10928. "goodsid"
  10929. ],
  10930. "properties": {
  10931. "EnabledQty": {
  10932. "description": "可用量",
  10933. "type": "integer"
  10934. },
  10935. "GoodsCode": {
  10936. "description": "订单商品代码",
  10937. "type": "string"
  10938. },
  10939. "GoodsName": {
  10940. "description": "订单商品名称",
  10941. "type": "string"
  10942. },
  10943. "WRStandardCode": {
  10944. "description": "仓单标准代码",
  10945. "type": "string"
  10946. },
  10947. "WRStandardName": {
  10948. "description": "仓单标准名称",
  10949. "type": "string"
  10950. },
  10951. "accountid": {
  10952. "description": "账户ID",
  10953. "type": "integer"
  10954. },
  10955. "cancelqty": {
  10956. "description": "注销量",
  10957. "type": "integer"
  10958. },
  10959. "curpresaleqty": {
  10960. "description": "当前预售量",
  10961. "type": "integer"
  10962. },
  10963. "deliveryqty": {
  10964. "description": "交割量",
  10965. "type": "integer"
  10966. },
  10967. "freezeamount": {
  10968. "description": "冻结金额",
  10969. "type": "number"
  10970. },
  10971. "goodsid": {
  10972. "description": "商品ID",
  10973. "type": "integer"
  10974. },
  10975. "goodunit": {
  10976. "description": "报价单位",
  10977. "type": "string"
  10978. },
  10979. "hasspotfreeze": {
  10980. "description": "是否有现货冻结 - 0:否 1:有",
  10981. "type": "integer"
  10982. },
  10983. "inqty": {
  10984. "description": "转入量(总数量)",
  10985. "type": "integer"
  10986. },
  10987. "marketid": {
  10988. "description": "市场ID",
  10989. "type": "integer"
  10990. },
  10991. "presaledamount": {
  10992. "description": "已预售总金额",
  10993. "type": "integer"
  10994. },
  10995. "presaledqty": {
  10996. "description": "已预售量",
  10997. "type": "integer"
  10998. },
  10999. "userid": {
  11000. "description": "用户ID",
  11001. "type": "integer"
  11002. },
  11003. "wrstandardid": {
  11004. "description": "仓单标准ID",
  11005. "type": "integer"
  11006. }
  11007. }
  11008. },
  11009. "cptrade.QueryCPTradeMyBidRsp": {
  11010. "type": "object",
  11011. "required": [
  11012. "accountid",
  11013. "goodsid",
  11014. "marketid",
  11015. "orderid",
  11016. "orderqty",
  11017. "ordertime",
  11018. "tradeprice",
  11019. "tradeqty"
  11020. ],
  11021. "properties": {
  11022. "accountid": {
  11023. "description": "账户ID[报价币种]",
  11024. "type": "integer"
  11025. },
  11026. "goodsid": {
  11027. "description": "商品ID",
  11028. "type": "integer"
  11029. },
  11030. "goodunit": {
  11031. "description": "报价单位",
  11032. "type": "string"
  11033. },
  11034. "marketid": {
  11035. "description": "市场ID",
  11036. "type": "integer"
  11037. },
  11038. "orderid": {
  11039. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11040. "type": "integer"
  11041. },
  11042. "orderprice": {
  11043. "description": "委托价格",
  11044. "type": "number"
  11045. },
  11046. "orderqty": {
  11047. "description": "委托数量",
  11048. "type": "integer"
  11049. },
  11050. "ordertime": {
  11051. "description": "委托时间",
  11052. "type": "string"
  11053. },
  11054. "ordertotalprice": {
  11055. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11056. "type": "number"
  11057. },
  11058. "ordertotalweight": {
  11059. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11060. "type": "integer"
  11061. },
  11062. "totaltotalprice": {
  11063. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11064. "type": "number"
  11065. },
  11066. "tradeprice": {
  11067. "description": "成交价格",
  11068. "type": "number"
  11069. },
  11070. "tradeqty": {
  11071. "description": "成交数量",
  11072. "type": "integer"
  11073. }
  11074. }
  11075. },
  11076. "cptrade.QueryCPTradeOrderDetailRsq": {
  11077. "type": "object",
  11078. "required": [
  11079. "accountid",
  11080. "buildtype",
  11081. "buyorsell",
  11082. "goodsid",
  11083. "marketid",
  11084. "memberuserid",
  11085. "operatetype",
  11086. "orderqty",
  11087. "ordertime",
  11088. "pricemode",
  11089. "strorderid",
  11090. "tradedate",
  11091. "validtype"
  11092. ],
  11093. "properties": {
  11094. "accountid": {
  11095. "description": "账户ID[报价币种]",
  11096. "type": "integer"
  11097. },
  11098. "buildtype": {
  11099. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11100. "type": "integer"
  11101. },
  11102. "buyorsell": {
  11103. "description": "买卖 - 0:买 1:卖",
  11104. "type": "integer"
  11105. },
  11106. "cancelorderid": {
  11107. "description": "撤单单号(撤单时填写)",
  11108. "type": "integer"
  11109. },
  11110. "cancelqty": {
  11111. "description": "撤单数量",
  11112. "type": "integer"
  11113. },
  11114. "clientordertime": {
  11115. "description": "客户端委托时间",
  11116. "type": "string"
  11117. },
  11118. "clientticket": {
  11119. "description": "客户端流水号",
  11120. "type": "string"
  11121. },
  11122. "clienttype": {
  11123. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11124. "type": "integer"
  11125. },
  11126. "closeexchagechargevalue": {
  11127. "description": "平仓交易所手续费设置值",
  11128. "type": "number"
  11129. },
  11130. "closefeealgorithm": {
  11131. "description": "平仓手续费收取方式 1:比率 2:固定",
  11132. "type": "integer"
  11133. },
  11134. "closefreezecharge": {
  11135. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11136. "type": "number"
  11137. },
  11138. "closememberchargevalue": {
  11139. "description": "平仓会员手续费设置值",
  11140. "type": "number"
  11141. },
  11142. "closeqty": {
  11143. "description": "平仓数量(先建后平操作 需要记录)",
  11144. "type": "integer"
  11145. },
  11146. "closetradeqty": {
  11147. "description": "平仓成交数量(先建后平操作,需要记录)",
  11148. "type": "integer"
  11149. },
  11150. "closeunfreezecharge": {
  11151. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11152. "type": "number"
  11153. },
  11154. "delistingtype": {
  11155. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11156. "type": "integer"
  11157. },
  11158. "freezecharge": {
  11159. "description": "冻结手续费",
  11160. "type": "number"
  11161. },
  11162. "freezemargin": {
  11163. "description": "冻结保证金(冻结交易金额)",
  11164. "type": "number"
  11165. },
  11166. "gcaccountid": {
  11167. "description": "账户ID[合约币种]",
  11168. "type": "integer"
  11169. },
  11170. "goodsid": {
  11171. "description": "商品ID",
  11172. "type": "integer"
  11173. },
  11174. "isconfirmexercise": {
  11175. "description": "是否确认行权- 0:否 1:是",
  11176. "type": "integer"
  11177. },
  11178. "ispreexercise": {
  11179. "description": "是否预申报- 0:否 1:是",
  11180. "type": "integer"
  11181. },
  11182. "listingselecttype": {
  11183. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11184. "type": "integer"
  11185. },
  11186. "marginalgorithm": {
  11187. "description": "保证金收取方式 1:比率 2:固定",
  11188. "type": "integer"
  11189. },
  11190. "marginvalue": {
  11191. "description": "即市保证金设置值",
  11192. "type": "number"
  11193. },
  11194. "marketid": {
  11195. "description": "市场ID",
  11196. "type": "integer"
  11197. },
  11198. "marketmaxsub": {
  11199. "description": "市价最大偏移范围",
  11200. "type": "number"
  11201. },
  11202. "memberuserid": {
  11203. "description": "所属会员UserID",
  11204. "type": "integer"
  11205. },
  11206. "openexchagechargevalue": {
  11207. "description": "建仓交易所手续费设置值",
  11208. "type": "number"
  11209. },
  11210. "openfeealgorithm": {
  11211. "description": "建仓手续费收取方式 1:比率 2:固定",
  11212. "type": "integer"
  11213. },
  11214. "openfreezecharge": {
  11215. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11216. "type": "number"
  11217. },
  11218. "openmemberchargevalue": {
  11219. "description": "建仓会员手续费设置值",
  11220. "type": "number"
  11221. },
  11222. "openqty": {
  11223. "description": "开仓数量(先建后平操作,需要记录)",
  11224. "type": "integer"
  11225. },
  11226. "opentradeqty": {
  11227. "description": "开仓成交数量(先建后平操作,需要记录)",
  11228. "type": "integer"
  11229. },
  11230. "openunfreezecharge": {
  11231. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11232. "type": "number"
  11233. },
  11234. "operatetype": {
  11235. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11236. "type": "integer"
  11237. },
  11238. "operatorid": {
  11239. "description": "登录账号(LoginID)",
  11240. "type": "integer"
  11241. },
  11242. "optiontype": {
  11243. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11244. "type": "integer"
  11245. },
  11246. "orderprice": {
  11247. "description": "委托价格",
  11248. "type": "number"
  11249. },
  11250. "orderqty": {
  11251. "description": "委托数量",
  11252. "type": "integer"
  11253. },
  11254. "ordersrc": {
  11255. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11256. "type": "integer"
  11257. },
  11258. "orderstatus": {
  11259. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11260. "type": "integer"
  11261. },
  11262. "ordertime": {
  11263. "description": "委托时间",
  11264. "type": "string"
  11265. },
  11266. "preexerciseprice": {
  11267. "description": "预申报价格",
  11268. "type": "number"
  11269. },
  11270. "premium": {
  11271. "description": "权利金",
  11272. "type": "number"
  11273. },
  11274. "preorderid": {
  11275. "description": "关联预埋单号(止盈止损单时填写)",
  11276. "type": "integer"
  11277. },
  11278. "pricemode": {
  11279. "description": "取价方式 - 1:市价 2: 限价",
  11280. "type": "integer"
  11281. },
  11282. "quoteid": {
  11283. "description": "报价单ID",
  11284. "type": "integer"
  11285. },
  11286. "relatedid": {
  11287. "description": "关联单号(交割单)",
  11288. "type": "integer"
  11289. },
  11290. "retcode": {
  11291. "description": "错误代码",
  11292. "type": "integer"
  11293. },
  11294. "sessionid": {
  11295. "description": "会话ID",
  11296. "type": "integer"
  11297. },
  11298. "strorderid": {
  11299. "description": "委托单号",
  11300. "type": "string"
  11301. },
  11302. "tradedate": {
  11303. "description": "交易日(yyyyMMdd)",
  11304. "type": "string"
  11305. },
  11306. "tradeproperty": {
  11307. "description": "交易属性",
  11308. "type": "integer"
  11309. },
  11310. "tradeqty": {
  11311. "description": "成交数量",
  11312. "type": "integer"
  11313. },
  11314. "unfreezecharge": {
  11315. "description": "解冻手续费",
  11316. "type": "number"
  11317. },
  11318. "unfreezemargin": {
  11319. "description": "解冻保证金",
  11320. "type": "number"
  11321. },
  11322. "updatetime": {
  11323. "description": "更新时间",
  11324. "type": "string"
  11325. },
  11326. "uuid": {
  11327. "description": "发起端唯一id",
  11328. "type": "string"
  11329. },
  11330. "validtime": {
  11331. "description": "有效期限",
  11332. "type": "string"
  11333. },
  11334. "validtype": {
  11335. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11336. "type": "integer"
  11337. },
  11338. "volumetype": {
  11339. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11340. "type": "integer"
  11341. }
  11342. }
  11343. },
  11344. "cptrade.QueryMyCPTradeGoodsRsp": {
  11345. "type": "object",
  11346. "required": [
  11347. "goodscode",
  11348. "goodsid",
  11349. "goodsname",
  11350. "marketid",
  11351. "relatedgoodscode",
  11352. "relatedgoodsname"
  11353. ],
  11354. "properties": {
  11355. "accountid": {
  11356. "description": "卖方账户ID",
  11357. "type": "integer"
  11358. },
  11359. "agreeunit": {
  11360. "description": "合约单位",
  11361. "type": "number"
  11362. },
  11363. "applyid": {
  11364. "description": "关联申请ID",
  11365. "type": "integer"
  11366. },
  11367. "attachmenturl": {
  11368. "description": "附件地址",
  11369. "type": "string"
  11370. },
  11371. "createtime": {
  11372. "description": "创建时间",
  11373. "type": "string"
  11374. },
  11375. "currencyid": {
  11376. "description": "报价货币ID",
  11377. "type": "integer"
  11378. },
  11379. "decimalplace": {
  11380. "description": "报价小数位",
  11381. "type": "integer"
  11382. },
  11383. "endtime": {
  11384. "description": "预售结束时间",
  11385. "type": "string"
  11386. },
  11387. "floorprice": {
  11388. "description": "底价[大宗式竞拍]",
  11389. "type": "number"
  11390. },
  11391. "goodscode": {
  11392. "description": "商品代码(预售)",
  11393. "type": "string"
  11394. },
  11395. "goodsdetail": {
  11396. "description": "详情[大宗]",
  11397. "type": "string"
  11398. },
  11399. "goodsid": {
  11400. "description": "商品ID(自增ID SEQ_GOODS)",
  11401. "type": "integer"
  11402. },
  11403. "goodsname": {
  11404. "description": "商品名称(预售)",
  11405. "type": "string"
  11406. },
  11407. "goodunit": {
  11408. "description": "报价单位",
  11409. "type": "string"
  11410. },
  11411. "goodunitid": {
  11412. "description": "报价单位ID",
  11413. "type": "integer"
  11414. },
  11415. "marketid": {
  11416. "description": "所属市场ID",
  11417. "type": "integer"
  11418. },
  11419. "marketname": {
  11420. "description": "预售市场名称",
  11421. "type": "string"
  11422. },
  11423. "presaledamount": {
  11424. "description": "已预售总金额(预售结束时更新)",
  11425. "type": "number"
  11426. },
  11427. "presaledqty": {
  11428. "description": "已预售量(预售结束时更新)",
  11429. "type": "integer"
  11430. },
  11431. "presalemode": {
  11432. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11433. "type": "integer"
  11434. },
  11435. "presaleqty": {
  11436. "description": "预售数量",
  11437. "type": "integer"
  11438. },
  11439. "refprice": {
  11440. "description": "参考价格[一口价]",
  11441. "type": "number"
  11442. },
  11443. "relatedgoodscode": {
  11444. "description": "商品代码(订单)",
  11445. "type": "string"
  11446. },
  11447. "relatedgoodsid": {
  11448. "description": "关联交易合约ID",
  11449. "type": "integer"
  11450. },
  11451. "relatedgoodsname": {
  11452. "description": "商品名称(订单)",
  11453. "type": "string"
  11454. },
  11455. "relatedmarketid": {
  11456. "description": "关联交易合约市场ID",
  11457. "type": "integer"
  11458. },
  11459. "sellstatus": {
  11460. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11461. "type": "integer"
  11462. },
  11463. "startprice": {
  11464. "description": "起拍价[大宗式竞拍]",
  11465. "type": "number"
  11466. },
  11467. "starttime": {
  11468. "description": "预售开始时间",
  11469. "type": "string"
  11470. },
  11471. "tradedate": {
  11472. "description": "交易日(yyyyMMdd)",
  11473. "type": "string"
  11474. },
  11475. "tradeprice": {
  11476. "description": "成交价[大宗]",
  11477. "type": "number"
  11478. },
  11479. "userid": {
  11480. "description": "卖方用户ID",
  11481. "type": "integer"
  11482. }
  11483. }
  11484. },
  11485. "cptrade.QueryPresaleGoodsExRsp": {
  11486. "type": "object",
  11487. "required": [
  11488. "goodsid"
  11489. ],
  11490. "properties": {
  11491. "attachmenturl": {
  11492. "description": "附件地址",
  11493. "type": "string"
  11494. },
  11495. "createtime": {
  11496. "description": "创建时间",
  11497. "type": "string"
  11498. },
  11499. "endtime": {
  11500. "description": "预售结束时间",
  11501. "type": "string"
  11502. },
  11503. "floorprice": {
  11504. "description": "底价[大宗式竞拍]",
  11505. "type": "number"
  11506. },
  11507. "goodsdetail": {
  11508. "description": "详情[大宗]",
  11509. "type": "string"
  11510. },
  11511. "goodsid": {
  11512. "description": "商品ID(预售)",
  11513. "type": "integer"
  11514. },
  11515. "goodunit": {
  11516. "description": "报价单位",
  11517. "type": "string"
  11518. },
  11519. "marketid": {
  11520. "description": "预售市场ID - 根据预售模式选择市场",
  11521. "type": "integer"
  11522. },
  11523. "presaledamount": {
  11524. "description": "已预售总金额(预售结束时更新)",
  11525. "type": "number"
  11526. },
  11527. "presaledqty": {
  11528. "description": "已预售量(预售结束时更新)",
  11529. "type": "integer"
  11530. },
  11531. "presalemode": {
  11532. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11533. "type": "integer"
  11534. },
  11535. "presaleqty": {
  11536. "description": "预售数量",
  11537. "type": "integer"
  11538. },
  11539. "refprice": {
  11540. "description": "参考价格[一口价]",
  11541. "type": "number"
  11542. },
  11543. "relatedgoodsid": {
  11544. "description": "关联交易合约ID",
  11545. "type": "integer"
  11546. },
  11547. "relatedmarketid": {
  11548. "description": "关联交易合约市场ID",
  11549. "type": "integer"
  11550. },
  11551. "sellstatus": {
  11552. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11553. "type": "integer"
  11554. },
  11555. "startprice": {
  11556. "description": "起拍价[大宗式竞拍]",
  11557. "type": "number"
  11558. },
  11559. "starttime": {
  11560. "description": "预售开始时间",
  11561. "type": "string"
  11562. },
  11563. "tradedate": {
  11564. "description": "交易日(yyyyMMdd)",
  11565. "type": "string"
  11566. },
  11567. "tradeprice": {
  11568. "description": "成交价[大宗]",
  11569. "type": "number"
  11570. }
  11571. }
  11572. },
  11573. "delivery.QueryDeliveryRelationRsp": {
  11574. "type": "object",
  11575. "required": [
  11576. "begindate",
  11577. "enddate",
  11578. "goodsid",
  11579. "mindeliveryqty",
  11580. "xdeliveryratio"
  11581. ],
  11582. "properties": {
  11583. "begindate": {
  11584. "description": "起始日期(yyyyMMdd)",
  11585. "type": "string"
  11586. },
  11587. "buytemplateid": {
  11588. "description": "买履约计划模板ID",
  11589. "type": "integer"
  11590. },
  11591. "deliverygoodscode": {
  11592. "description": "品种代码",
  11593. "type": "string"
  11594. },
  11595. "deliverygoodsid": {
  11596. "description": "交割商品",
  11597. "type": "integer"
  11598. },
  11599. "deliverygoodsname": {
  11600. "description": "品种名称",
  11601. "type": "string"
  11602. },
  11603. "deliverymode": {
  11604. "description": "交割方式 - 1:点选式 2:申报式",
  11605. "type": "integer"
  11606. },
  11607. "deliverypricerule": {
  11608. "description": "交割价规则- 1:行情价 2:建仓价",
  11609. "type": "integer"
  11610. },
  11611. "deliverytype": {
  11612. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11613. "type": "integer"
  11614. },
  11615. "enddate": {
  11616. "description": "结束日期(yyyyMMdd)",
  11617. "type": "string"
  11618. },
  11619. "goodscode": {
  11620. "description": "商品代码",
  11621. "type": "string"
  11622. },
  11623. "goodsid": {
  11624. "description": "交易合约ID",
  11625. "type": "integer"
  11626. },
  11627. "goodsname": {
  11628. "description": "商品名称",
  11629. "type": "string"
  11630. },
  11631. "marketid": {
  11632. "description": "市场ID",
  11633. "type": "integer"
  11634. },
  11635. "mindeliveryqty": {
  11636. "description": "最小交割系数(K)",
  11637. "type": "integer"
  11638. },
  11639. "p2deliveryprice": {
  11640. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11641. "type": "number"
  11642. },
  11643. "p2deliveryratio": {
  11644. "description": "P2合约系数(p)",
  11645. "type": "integer"
  11646. },
  11647. "p2goodsid": {
  11648. "description": "P2合约ID",
  11649. "type": "integer"
  11650. },
  11651. "p2pricemode": {
  11652. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11653. "type": "integer"
  11654. },
  11655. "pdeliveryprice": {
  11656. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11657. "type": "number"
  11658. },
  11659. "pdeliveryratio": {
  11660. "description": "P合约系数(n)",
  11661. "type": "integer"
  11662. },
  11663. "pgoodsid": {
  11664. "description": "P合约ID",
  11665. "type": "integer"
  11666. },
  11667. "ppricemode": {
  11668. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11669. "type": "integer"
  11670. },
  11671. "rratio": {
  11672. "description": "兑换系数(R)",
  11673. "type": "integer"
  11674. },
  11675. "rratio1": {
  11676. "description": "兑换系数(交易合约)(R1)",
  11677. "type": "integer"
  11678. },
  11679. "rratio2": {
  11680. "description": "兑换系数(仓单标准)(R2)",
  11681. "type": "integer"
  11682. },
  11683. "selltemplateid": {
  11684. "description": "卖履约计划模板ID",
  11685. "type": "integer"
  11686. },
  11687. "wrstandardid": {
  11688. "description": "仓单标准ID",
  11689. "type": "integer"
  11690. },
  11691. "xdeliveryratio": {
  11692. "description": "交易合约系数(m)",
  11693. "type": "integer"
  11694. }
  11695. }
  11696. },
  11697. "ermcp.ExposureDetailRsp": {
  11698. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11699. },
  11700. "ermcp.ExposureHedgePosDetailRsp": {
  11701. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11702. },
  11703. "ermcp.ExposureHedgePositionRsp": {
  11704. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11705. },
  11706. "ermcp.ExposureSpotDetailRsp": {
  11707. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11708. },
  11709. "ermcp.ExposureSpotRsp": {
  11710. "$ref": "#/definitions/models.AreaSpotModel"
  11711. },
  11712. "ermcp.HisExposureRsp": {
  11713. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11714. },
  11715. "ermcp.PendingAuditCntRsp": {
  11716. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11717. },
  11718. "ermcp.QryAvalidGPRsp": {
  11719. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11720. },
  11721. "ermcp.QryBusinessDjRsp": {
  11722. "type": "object",
  11723. "properties": {
  11724. "amount": {
  11725. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11726. "type": "number"
  11727. },
  11728. "applyid": {
  11729. "description": "申请人",
  11730. "type": "string"
  11731. },
  11732. "applyname": {
  11733. "description": "申请人名称",
  11734. "type": "string"
  11735. },
  11736. "applystatus": {
  11737. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11738. "type": "integer"
  11739. },
  11740. "applytime": {
  11741. "description": "申请时间",
  11742. "type": "string"
  11743. },
  11744. "attachurl": {
  11745. "description": "附件",
  11746. "type": "string"
  11747. },
  11748. "auditid": {
  11749. "description": "审核人ID",
  11750. "type": "string"
  11751. },
  11752. "auditname": {
  11753. "description": "审核人名称",
  11754. "type": "string"
  11755. },
  11756. "audittime": {
  11757. "description": "审核时间",
  11758. "type": "string"
  11759. },
  11760. "buyusername": {
  11761. "description": "采购方名称",
  11762. "type": "string"
  11763. },
  11764. "contractno": {
  11765. "description": "合同编号",
  11766. "type": "string"
  11767. },
  11768. "contractstatus": {
  11769. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11770. "type": "integer"
  11771. },
  11772. "contracttype": {
  11773. "description": "现货合同类型 - 1:采购 -1:销售",
  11774. "type": "integer"
  11775. },
  11776. "deliverygoodscode": {
  11777. "description": "现货品种代码",
  11778. "type": "string"
  11779. },
  11780. "deliverygoodsid": {
  11781. "description": "现货商品ID",
  11782. "type": "integer"
  11783. },
  11784. "deliverygoodsname": {
  11785. "description": "现货品种名称",
  11786. "type": "string"
  11787. },
  11788. "enumdicname": {
  11789. "description": "单位名称",
  11790. "type": "string"
  11791. },
  11792. "goodscode": {
  11793. "description": "点价合约",
  11794. "type": "string"
  11795. },
  11796. "goodsname": {
  11797. "description": "商品名称",
  11798. "type": "string"
  11799. },
  11800. "operateapplyid": {
  11801. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11802. "type": "string"
  11803. },
  11804. "operateapplytype": {
  11805. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11806. "type": "integer"
  11807. },
  11808. "pricedPrice": {
  11809. "description": "点价价格(非必填)",
  11810. "type": "number"
  11811. },
  11812. "pricedQty": {
  11813. "description": "点价数量(非必填)",
  11814. "type": "number"
  11815. },
  11816. "pricemove": {
  11817. "description": "升贴水",
  11818. "type": "number"
  11819. },
  11820. "pricetype": {
  11821. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11822. "type": "integer"
  11823. },
  11824. "relatedid": {
  11825. "description": "现货合同ID",
  11826. "type": "string"
  11827. },
  11828. "sellusername": {
  11829. "description": "销售方名字",
  11830. "type": "string"
  11831. },
  11832. "userid": {
  11833. "description": "用户ID",
  11834. "type": "integer"
  11835. },
  11836. "wrstandardcode": {
  11837. "description": "品类代码",
  11838. "type": "string"
  11839. },
  11840. "wrstandardid": {
  11841. "description": "品类id",
  11842. "type": "integer"
  11843. },
  11844. "wrstandardname": {
  11845. "description": "品类名称",
  11846. "type": "string"
  11847. }
  11848. }
  11849. },
  11850. "ermcp.QryBussinessFpRsp": {
  11851. "type": "object",
  11852. "properties": {
  11853. "applyid": {
  11854. "description": "申请人",
  11855. "type": "string"
  11856. },
  11857. "applyname": {
  11858. "description": "申请人名称",
  11859. "type": "string"
  11860. },
  11861. "applystatus": {
  11862. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11863. "type": "integer"
  11864. },
  11865. "applytime": {
  11866. "description": "申请时间",
  11867. "type": "string"
  11868. },
  11869. "attachurl": {
  11870. "description": "附件",
  11871. "type": "string"
  11872. },
  11873. "auditid": {
  11874. "description": "审核人ID",
  11875. "type": "string"
  11876. },
  11877. "auditname": {
  11878. "description": "审核人名称",
  11879. "type": "string"
  11880. },
  11881. "audittime": {
  11882. "description": "审核时间",
  11883. "type": "string"
  11884. },
  11885. "buyusername": {
  11886. "description": "采购方名称",
  11887. "type": "string"
  11888. },
  11889. "contractno": {
  11890. "description": "合同编号",
  11891. "type": "string"
  11892. },
  11893. "contractstatus": {
  11894. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11895. "type": "integer"
  11896. },
  11897. "contracttype": {
  11898. "description": "现货合同类型 - 1:采购 -1:销售",
  11899. "type": "integer"
  11900. },
  11901. "deliverygoodscode": {
  11902. "description": "现货品种代码",
  11903. "type": "string"
  11904. },
  11905. "deliverygoodsid": {
  11906. "description": "现货商品ID",
  11907. "type": "integer"
  11908. },
  11909. "deliverygoodsname": {
  11910. "description": "现货品种名称",
  11911. "type": "string"
  11912. },
  11913. "enumdicname": {
  11914. "description": "单位名称",
  11915. "type": "string"
  11916. },
  11917. "goodscode": {
  11918. "description": "点价合约",
  11919. "type": "string"
  11920. },
  11921. "goodsname": {
  11922. "description": "商品名称",
  11923. "type": "string"
  11924. },
  11925. "invoiceAmount": {
  11926. "description": "已开收票金额(销售为开票,采购为收票)",
  11927. "type": "number"
  11928. },
  11929. "operateapplyid": {
  11930. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11931. "type": "string"
  11932. },
  11933. "operateapplytype": {
  11934. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11935. "type": "integer"
  11936. },
  11937. "pricemove": {
  11938. "description": "升贴水",
  11939. "type": "number"
  11940. },
  11941. "pricetype": {
  11942. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11943. "type": "integer"
  11944. },
  11945. "relatedid": {
  11946. "description": "现货合同ID",
  11947. "type": "string"
  11948. },
  11949. "sellusername": {
  11950. "description": "销售方名字",
  11951. "type": "string"
  11952. },
  11953. "userid": {
  11954. "description": "用户ID",
  11955. "type": "integer"
  11956. },
  11957. "wrstandardcode": {
  11958. "description": "品类代码",
  11959. "type": "string"
  11960. },
  11961. "wrstandardid": {
  11962. "description": "品类id",
  11963. "type": "integer"
  11964. },
  11965. "wrstandardname": {
  11966. "description": "品类名称",
  11967. "type": "string"
  11968. }
  11969. }
  11970. },
  11971. "ermcp.QryBussinessJsExRsp": {
  11972. "type": "object",
  11973. "properties": {
  11974. "applyid": {
  11975. "description": "申请人",
  11976. "type": "string"
  11977. },
  11978. "applyname": {
  11979. "description": "申请人名称",
  11980. "type": "string"
  11981. },
  11982. "applystatus": {
  11983. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11984. "type": "integer"
  11985. },
  11986. "applytime": {
  11987. "description": "申请时间",
  11988. "type": "string"
  11989. },
  11990. "attachurl": {
  11991. "description": "附件",
  11992. "type": "string"
  11993. },
  11994. "auditid": {
  11995. "description": "审核人ID",
  11996. "type": "string"
  11997. },
  11998. "auditname": {
  11999. "description": "审核人名称",
  12000. "type": "string"
  12001. },
  12002. "audittime": {
  12003. "description": "审核时间",
  12004. "type": "string"
  12005. },
  12006. "buyusername": {
  12007. "description": "采购方名称",
  12008. "type": "string"
  12009. },
  12010. "contractno": {
  12011. "description": "合同编号",
  12012. "type": "string"
  12013. },
  12014. "contractstatus": {
  12015. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12016. "type": "integer"
  12017. },
  12018. "contracttype": {
  12019. "description": "现货合同类型 - 1:采购 -1:销售",
  12020. "type": "integer"
  12021. },
  12022. "deliverygoodscode": {
  12023. "description": "现货品种代码",
  12024. "type": "string"
  12025. },
  12026. "deliverygoodsid": {
  12027. "description": "现货商品ID",
  12028. "type": "integer"
  12029. },
  12030. "deliverygoodsname": {
  12031. "description": "现货品种名称",
  12032. "type": "string"
  12033. },
  12034. "enumdicname": {
  12035. "description": "单位名称",
  12036. "type": "string"
  12037. },
  12038. "goodscode": {
  12039. "description": "点价合约",
  12040. "type": "string"
  12041. },
  12042. "goodsname": {
  12043. "description": "商品名称",
  12044. "type": "string"
  12045. },
  12046. "operateapplyid": {
  12047. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12048. "type": "string"
  12049. },
  12050. "operateapplytype": {
  12051. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12052. "type": "integer"
  12053. },
  12054. "pricemove": {
  12055. "description": "升贴水",
  12056. "type": "number"
  12057. },
  12058. "pricetype": {
  12059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12060. "type": "integer"
  12061. },
  12062. "reckontype": {
  12063. "description": "结算类型",
  12064. "type": "string"
  12065. },
  12066. "reckonvalue": {
  12067. "description": "值",
  12068. "type": "number"
  12069. },
  12070. "relatedid": {
  12071. "description": "现货合同ID",
  12072. "type": "string"
  12073. },
  12074. "sellusername": {
  12075. "description": "销售方名字",
  12076. "type": "string"
  12077. },
  12078. "userid": {
  12079. "description": "用户ID",
  12080. "type": "integer"
  12081. },
  12082. "wrstandardcode": {
  12083. "description": "品类代码",
  12084. "type": "string"
  12085. },
  12086. "wrstandardid": {
  12087. "description": "品类id",
  12088. "type": "integer"
  12089. },
  12090. "wrstandardname": {
  12091. "description": "品类名称",
  12092. "type": "string"
  12093. }
  12094. }
  12095. },
  12096. "ermcp.QryBussinessJsRsp": {
  12097. "type": "object",
  12098. "properties": {
  12099. "addmargin": {
  12100. "description": "追加保证金(非必填)",
  12101. "type": "number"
  12102. },
  12103. "applyid": {
  12104. "description": "申请人",
  12105. "type": "string"
  12106. },
  12107. "applyname": {
  12108. "description": "申请人名称",
  12109. "type": "string"
  12110. },
  12111. "applystatus": {
  12112. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12113. "type": "integer"
  12114. },
  12115. "applytime": {
  12116. "description": "申请时间",
  12117. "type": "string"
  12118. },
  12119. "attachurl": {
  12120. "description": "附件",
  12121. "type": "string"
  12122. },
  12123. "auditid": {
  12124. "description": "审核人ID",
  12125. "type": "string"
  12126. },
  12127. "auditname": {
  12128. "description": "审核人名称",
  12129. "type": "string"
  12130. },
  12131. "audittime": {
  12132. "description": "审核时间",
  12133. "type": "string"
  12134. },
  12135. "buyusername": {
  12136. "description": "采购方名称",
  12137. "type": "string"
  12138. },
  12139. "contractno": {
  12140. "description": "合同编号",
  12141. "type": "string"
  12142. },
  12143. "contractstatus": {
  12144. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12145. "type": "integer"
  12146. },
  12147. "contracttype": {
  12148. "description": "现货合同类型 - 1:采购 -1:销售",
  12149. "type": "integer"
  12150. },
  12151. "decmargin": {
  12152. "description": "减少保证金(非必填)",
  12153. "type": "number"
  12154. },
  12155. "deliverygoodscode": {
  12156. "description": "现货品种代码",
  12157. "type": "string"
  12158. },
  12159. "deliverygoodsid": {
  12160. "description": "现货商品ID",
  12161. "type": "integer"
  12162. },
  12163. "deliverygoodsname": {
  12164. "description": "现货品种名称",
  12165. "type": "string"
  12166. },
  12167. "enumdicname": {
  12168. "description": "单位名称",
  12169. "type": "string"
  12170. },
  12171. "goodscode": {
  12172. "description": "点价合约",
  12173. "type": "string"
  12174. },
  12175. "goodsname": {
  12176. "description": "商品名称",
  12177. "type": "string"
  12178. },
  12179. "operateapplyid": {
  12180. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12181. "type": "string"
  12182. },
  12183. "operateapplytype": {
  12184. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12185. "type": "integer"
  12186. },
  12187. "pricemove": {
  12188. "description": "升贴水",
  12189. "type": "number"
  12190. },
  12191. "pricetype": {
  12192. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12193. "type": "integer"
  12194. },
  12195. "reckonadjustamount": {
  12196. "description": "结算调整金额(非必填)",
  12197. "type": "number"
  12198. },
  12199. "reckonosamount": {
  12200. "description": "结算溢短金额(非必填)",
  12201. "type": "number"
  12202. },
  12203. "reckonotheramount": {
  12204. "description": "结算其他费用(非必填)",
  12205. "type": "number"
  12206. },
  12207. "reckonrealqty": {
  12208. "description": "结算实际数量(非必填)",
  12209. "type": "number"
  12210. },
  12211. "relatedid": {
  12212. "description": "现货合同ID",
  12213. "type": "string"
  12214. },
  12215. "sellusername": {
  12216. "description": "销售方名字",
  12217. "type": "string"
  12218. },
  12219. "userid": {
  12220. "description": "用户ID",
  12221. "type": "integer"
  12222. },
  12223. "wrstandardcode": {
  12224. "description": "品类代码",
  12225. "type": "string"
  12226. },
  12227. "wrstandardid": {
  12228. "description": "品类id",
  12229. "type": "integer"
  12230. },
  12231. "wrstandardname": {
  12232. "description": "品类名称",
  12233. "type": "string"
  12234. }
  12235. }
  12236. },
  12237. "ermcp.QryBussinessKxRsp": {
  12238. "type": "object",
  12239. "properties": {
  12240. "applyid": {
  12241. "description": "申请人",
  12242. "type": "string"
  12243. },
  12244. "applyname": {
  12245. "description": "申请人名称",
  12246. "type": "string"
  12247. },
  12248. "applystatus": {
  12249. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12250. "type": "integer"
  12251. },
  12252. "applytime": {
  12253. "description": "申请时间",
  12254. "type": "string"
  12255. },
  12256. "attachurl": {
  12257. "description": "附件",
  12258. "type": "string"
  12259. },
  12260. "auditid": {
  12261. "description": "审核人ID",
  12262. "type": "string"
  12263. },
  12264. "auditname": {
  12265. "description": "审核人名称",
  12266. "type": "string"
  12267. },
  12268. "audittime": {
  12269. "description": "审核时间",
  12270. "type": "string"
  12271. },
  12272. "buyusername": {
  12273. "description": "采购方名称",
  12274. "type": "string"
  12275. },
  12276. "contractno": {
  12277. "description": "合同编号",
  12278. "type": "string"
  12279. },
  12280. "contractstatus": {
  12281. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12282. "type": "integer"
  12283. },
  12284. "contracttype": {
  12285. "description": "现货合同类型 - 1:采购 -1:销售",
  12286. "type": "integer"
  12287. },
  12288. "deductamount": {
  12289. "description": "退款(非必填)",
  12290. "type": "number"
  12291. },
  12292. "deliverygoodscode": {
  12293. "description": "现货品种代码",
  12294. "type": "string"
  12295. },
  12296. "deliverygoodsid": {
  12297. "description": "现货商品ID",
  12298. "type": "integer"
  12299. },
  12300. "deliverygoodsname": {
  12301. "description": "现货品种名称",
  12302. "type": "string"
  12303. },
  12304. "enumdicname": {
  12305. "description": "单位名称",
  12306. "type": "string"
  12307. },
  12308. "goodscode": {
  12309. "description": "点价合约",
  12310. "type": "string"
  12311. },
  12312. "goodsname": {
  12313. "description": "商品名称",
  12314. "type": "string"
  12315. },
  12316. "kxtype": {
  12317. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12318. "type": "integer"
  12319. },
  12320. "operateapplyid": {
  12321. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12322. "type": "string"
  12323. },
  12324. "operateapplytype": {
  12325. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12326. "type": "integer"
  12327. },
  12328. "payamount": {
  12329. "description": "收付款(非必填)",
  12330. "type": "number"
  12331. },
  12332. "pricemove": {
  12333. "description": "升贴水",
  12334. "type": "number"
  12335. },
  12336. "pricetype": {
  12337. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12338. "type": "integer"
  12339. },
  12340. "relatedid": {
  12341. "description": "现货合同ID",
  12342. "type": "string"
  12343. },
  12344. "sellusername": {
  12345. "description": "销售方名字",
  12346. "type": "string"
  12347. },
  12348. "userid": {
  12349. "description": "用户ID",
  12350. "type": "integer"
  12351. },
  12352. "wrstandardcode": {
  12353. "description": "品类代码",
  12354. "type": "string"
  12355. },
  12356. "wrstandardid": {
  12357. "description": "品类id",
  12358. "type": "integer"
  12359. },
  12360. "wrstandardname": {
  12361. "description": "品类名称",
  12362. "type": "string"
  12363. }
  12364. }
  12365. },
  12366. "ermcp.QryGGCovertCfgRsp": {
  12367. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12368. },
  12369. "ermcp.QryMGChangeLogRsp": {
  12370. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12371. },
  12372. "ermcp.QryMiddleGoodsDetailRsp": {
  12373. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12374. },
  12375. "ermcp.QryMiddleGoodsRsp": {
  12376. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12377. },
  12378. "ermcp.QryOPLogRsp": {
  12379. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12380. },
  12381. "ermcp.QryUserInfoRsp": {
  12382. "$ref": "#/definitions/models.ErmcpUserModel"
  12383. },
  12384. "ermcp.QryWarehouseRsp": {
  12385. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12386. },
  12387. "ermcp.QueryErmcpTradePositionRsp": {
  12388. "type": "object",
  12389. "properties": {
  12390. "agreeunit": {
  12391. "description": "合约单位",
  12392. "type": "number"
  12393. },
  12394. "buyorsell": {
  12395. "description": "方向 - 0:买 1:卖",
  12396. "type": "integer"
  12397. },
  12398. "curpositionqty": {
  12399. "description": "持仓(总仓数量, 期末头寸)",
  12400. "type": "integer"
  12401. },
  12402. "curtdposition": {
  12403. "description": "今仓数量(期末今日头寸)",
  12404. "type": "integer"
  12405. },
  12406. "curtdpositionenabled": {
  12407. "description": "今仓可用",
  12408. "type": "integer"
  12409. },
  12410. "decimalplace": {
  12411. "description": "报价小数位",
  12412. "type": "integer"
  12413. },
  12414. "enableqty": {
  12415. "description": "可用(总仓可用)",
  12416. "type": "integer"
  12417. },
  12418. "exexchangename": {
  12419. "description": "外部交易所名称",
  12420. "type": "string"
  12421. },
  12422. "goodscode": {
  12423. "description": "商品代码(内部)",
  12424. "type": "string"
  12425. },
  12426. "goodsid": {
  12427. "description": "商品ID(自增ID SEQ_GOODS)",
  12428. "type": "integer"
  12429. },
  12430. "goodsname": {
  12431. "description": "商品名称",
  12432. "type": "string"
  12433. },
  12434. "last": {
  12435. "description": "现价",
  12436. "type": "number"
  12437. },
  12438. "marketid": {
  12439. "description": "所属市场ID",
  12440. "type": "integer"
  12441. },
  12442. "openaverageprice": {
  12443. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12444. "type": "number"
  12445. },
  12446. "opencost": {
  12447. "description": "开仓成本",
  12448. "type": "number"
  12449. },
  12450. "openpl": {
  12451. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12452. "type": "number"
  12453. },
  12454. "outgoodscode": {
  12455. "description": "商品代码(外部)",
  12456. "type": "string"
  12457. },
  12458. "positionaverageprice": {
  12459. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12460. "type": "number"
  12461. },
  12462. "positioncost": {
  12463. "description": "持仓成本",
  12464. "type": "number"
  12465. },
  12466. "positionpl": {
  12467. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12468. "type": "number"
  12469. },
  12470. "positionplrate": {
  12471. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12472. "type": "number"
  12473. },
  12474. "usedmargin": {
  12475. "description": "占用保证金",
  12476. "type": "number"
  12477. }
  12478. }
  12479. },
  12480. "ermcp.RealtimeExposurePositionRsp": {
  12481. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12482. },
  12483. "ermcp.RealtimeExposureRsp": {
  12484. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12485. },
  12486. "erms2.QueryArbitrageStrategyRsp": {
  12487. "type": "object",
  12488. "required": [
  12489. "asapplyid"
  12490. ],
  12491. "properties": {
  12492. "applybasis": {
  12493. "description": "申请基差",
  12494. "type": "number"
  12495. },
  12496. "asapplyid": {
  12497. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12498. "type": "string"
  12499. },
  12500. "asname": {
  12501. "description": "策略名称",
  12502. "type": "string"
  12503. },
  12504. "asno": {
  12505. "description": "策略编号",
  12506. "type": "string"
  12507. },
  12508. "basischangepl": {
  12509. "description": "基差变动损益[结算更新]",
  12510. "type": "number"
  12511. },
  12512. "biztype": {
  12513. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12514. "type": "integer"
  12515. },
  12516. "closetradedate": {
  12517. "description": "完结交易日(yyyyMMdd)",
  12518. "type": "string"
  12519. },
  12520. "curbasis": {
  12521. "description": "当前基差[结算更新]",
  12522. "type": "number"
  12523. },
  12524. "deliverygoodsid": {
  12525. "description": "现货品种ID",
  12526. "type": "integer"
  12527. },
  12528. "futureavgprice": {
  12529. "description": "期货建仓均价",
  12530. "type": "number"
  12531. },
  12532. "futurecloseamount": {
  12533. "description": "期货平仓金额",
  12534. "type": "number"
  12535. },
  12536. "futurecloseqty": {
  12537. "description": "期货平仓数量",
  12538. "type": "number"
  12539. },
  12540. "futureopenamount": {
  12541. "description": "期货开仓金额",
  12542. "type": "number"
  12543. },
  12544. "futureopenqty": {
  12545. "description": "期货开仓数量",
  12546. "type": "number"
  12547. },
  12548. "futurepl": {
  12549. "description": "期货总盈亏[结算更新]",
  12550. "type": "number"
  12551. },
  12552. "futureqty": {
  12553. "description": "期货持仓数量",
  12554. "type": "number"
  12555. },
  12556. "futurequote": {
  12557. "description": "期货额度",
  12558. "type": "number"
  12559. },
  12560. "goodsgroupid": {
  12561. "description": "期货品种ID",
  12562. "type": "integer"
  12563. },
  12564. "marketid": {
  12565. "description": "市场ID",
  12566. "type": "integer"
  12567. },
  12568. "netexposure": {
  12569. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12570. "type": "number"
  12571. },
  12572. "netexposurepl": {
  12573. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12574. "type": "number"
  12575. },
  12576. "netexposurerate": {
  12577. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12578. "type": "number"
  12579. },
  12580. "openbasis": {
  12581. "description": "建仓基差",
  12582. "type": "number"
  12583. },
  12584. "pricedspotqty": {
  12585. "description": "已定价现货数量",
  12586. "type": "number"
  12587. },
  12588. "pricedspotqtynotax": {
  12589. "description": "已定价现货不含税数量",
  12590. "type": "number"
  12591. },
  12592. "remark": {
  12593. "description": "备注",
  12594. "type": "string"
  12595. },
  12596. "spotavgprice": {
  12597. "description": "现货均价",
  12598. "type": "number"
  12599. },
  12600. "spotbuyamount": {
  12601. "description": "现货采购金额",
  12602. "type": "number"
  12603. },
  12604. "spotbuyqty": {
  12605. "description": "现货采购数量",
  12606. "type": "number"
  12607. },
  12608. "spotpl": {
  12609. "description": "现货总盈亏[结算更新]",
  12610. "type": "number"
  12611. },
  12612. "spotquota": {
  12613. "description": "现货额度",
  12614. "type": "number"
  12615. },
  12616. "spotsellamount": {
  12617. "description": "现货销售金额",
  12618. "type": "number"
  12619. },
  12620. "spotsellqty": {
  12621. "description": "现货销售数量",
  12622. "type": "number"
  12623. },
  12624. "spotusedquota": {
  12625. "description": "现货占用资金",
  12626. "type": "number"
  12627. },
  12628. "strategystatus": {
  12629. "description": "策略状态 - 0:未结束 1:已结束",
  12630. "type": "integer"
  12631. },
  12632. "totalpl": {
  12633. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12634. "type": "number"
  12635. },
  12636. "tradedate": {
  12637. "description": "交易日(yyyyMMdd)",
  12638. "type": "string"
  12639. },
  12640. "updatetime": {
  12641. "description": "更新时间",
  12642. "type": "string"
  12643. },
  12644. "usedquota": {
  12645. "description": "已占用资金",
  12646. "type": "number"
  12647. },
  12648. "userid": {
  12649. "description": "所属机构",
  12650. "type": "integer"
  12651. }
  12652. }
  12653. },
  12654. "erms2.QueryInnerTradeDetailRsp": {
  12655. "type": "object",
  12656. "required": [
  12657. "asapplyid",
  12658. "buyorsell",
  12659. "goodscode",
  12660. "goodsgroupid",
  12661. "goodsgroupname",
  12662. "goodsname",
  12663. "tradeid"
  12664. ],
  12665. "properties": {
  12666. "accountid": {
  12667. "description": "账号ID",
  12668. "type": "integer"
  12669. },
  12670. "agreeunit": {
  12671. "description": "合约单位",
  12672. "type": "number"
  12673. },
  12674. "asapplyid": {
  12675. "description": "策略申请ID",
  12676. "type": "integer"
  12677. },
  12678. "asname": {
  12679. "description": "策略名称",
  12680. "type": "string"
  12681. },
  12682. "asno": {
  12683. "description": "策略编号",
  12684. "type": "string"
  12685. },
  12686. "buyorsell": {
  12687. "description": "方向 - 0:买 1:卖",
  12688. "type": "integer"
  12689. },
  12690. "channelbuildtype": {
  12691. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12692. "type": "integer"
  12693. },
  12694. "closetype": {
  12695. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12696. "type": "integer"
  12697. },
  12698. "decimalplace": {
  12699. "description": "报价小数位",
  12700. "type": "integer"
  12701. },
  12702. "detailtype": {
  12703. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12704. "type": "integer"
  12705. },
  12706. "exexchangecode": {
  12707. "description": "外部交易所代码",
  12708. "type": "string"
  12709. },
  12710. "exexchangename": {
  12711. "description": "外部交易所名称",
  12712. "type": "string"
  12713. },
  12714. "goodscode": {
  12715. "description": "商品代码(合约)",
  12716. "type": "string"
  12717. },
  12718. "goodsgroupid": {
  12719. "description": "商品组ID(品种ID)",
  12720. "type": "integer"
  12721. },
  12722. "goodsgroupname": {
  12723. "description": "商品组名称(品种)",
  12724. "type": "string"
  12725. },
  12726. "goodsid": {
  12727. "description": "商品ID",
  12728. "type": "integer"
  12729. },
  12730. "goodsname": {
  12731. "description": "商品名称(合约)",
  12732. "type": "string"
  12733. },
  12734. "goodunit": {
  12735. "description": "报价单位",
  12736. "type": "string"
  12737. },
  12738. "marketid": {
  12739. "description": "市场ID",
  12740. "type": "integer"
  12741. },
  12742. "orderid": {
  12743. "description": "委托单号",
  12744. "type": "string"
  12745. },
  12746. "outgoodscode": {
  12747. "description": "商品代码(外部)",
  12748. "type": "string"
  12749. },
  12750. "relatedouttradeid": {
  12751. "description": "关联外部成交单ID",
  12752. "type": "string"
  12753. },
  12754. "remark": {
  12755. "description": "备注",
  12756. "type": "string"
  12757. },
  12758. "spotcontractid": {
  12759. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12760. "type": "integer"
  12761. },
  12762. "spotcontractno": {
  12763. "description": "现货合同编号",
  12764. "type": "string"
  12765. },
  12766. "tradeid": {
  12767. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12768. "type": "string"
  12769. },
  12770. "tradeprice": {
  12771. "description": "成交价格",
  12772. "type": "number"
  12773. },
  12774. "tradeqty": {
  12775. "description": "成交数量",
  12776. "type": "integer"
  12777. },
  12778. "tradetime": {
  12779. "description": "成交时间",
  12780. "type": "string"
  12781. },
  12782. "updatetime": {
  12783. "description": "更新时间",
  12784. "type": "string"
  12785. }
  12786. }
  12787. },
  12788. "erms2.QuerySpotContractRsp": {
  12789. "type": "object",
  12790. "required": [
  12791. "spotcontractid"
  12792. ],
  12793. "properties": {
  12794. "accountid": {
  12795. "description": "资金账户ID",
  12796. "type": "integer"
  12797. },
  12798. "areauserid": {
  12799. "description": "所属机构",
  12800. "type": "integer"
  12801. },
  12802. "closedate": {
  12803. "description": "终止日期",
  12804. "type": "string"
  12805. },
  12806. "closeremark": {
  12807. "description": "结束备注",
  12808. "type": "string"
  12809. },
  12810. "closetradedate": {
  12811. "description": "完结交易日(yyyyMMdd)",
  12812. "type": "string"
  12813. },
  12814. "closetype": {
  12815. "description": "终止类型 - 1:违约 2:提前终止",
  12816. "type": "integer"
  12817. },
  12818. "contractamount": {
  12819. "description": "合同金额",
  12820. "type": "number"
  12821. },
  12822. "contractattachment": {
  12823. "description": "合同附件",
  12824. "type": "string"
  12825. },
  12826. "contractno": {
  12827. "description": "现货合同编号",
  12828. "type": "string"
  12829. },
  12830. "contractqty": {
  12831. "description": "合同数量(数值) (用于计算)",
  12832. "type": "number"
  12833. },
  12834. "contractqtychar": {
  12835. "description": "合同数量\\已订价数量 (用于显示)",
  12836. "type": "string"
  12837. },
  12838. "contractstatus": {
  12839. "description": "合同状态 - 0:未结束 1:已结束",
  12840. "type": "integer"
  12841. },
  12842. "contracttype": {
  12843. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12844. "type": "integer"
  12845. },
  12846. "customeraccountid": {
  12847. "description": "客户资金账户ID",
  12848. "type": "integer"
  12849. },
  12850. "customeruserid": {
  12851. "description": "客户ID",
  12852. "type": "integer"
  12853. },
  12854. "deliverygoodsdesc": {
  12855. "description": "品种说明",
  12856. "type": "string"
  12857. },
  12858. "deliverygoodsid": {
  12859. "description": "现货品种ID",
  12860. "type": "integer"
  12861. },
  12862. "handlestatus": {
  12863. "description": "处理状态",
  12864. "type": "integer"
  12865. },
  12866. "invoiceatt": {
  12867. "description": "发票附件",
  12868. "type": "string"
  12869. },
  12870. "invoicedatetime": {
  12871. "description": "开收票更新时间",
  12872. "type": "string"
  12873. },
  12874. "invoiceopentime": {
  12875. "description": "开票时间",
  12876. "type": "string"
  12877. },
  12878. "invoiceremark": {
  12879. "description": "发票备注",
  12880. "type": "string"
  12881. },
  12882. "invoicestatus": {
  12883. "description": "开收票状态 - 0:未开票 1:已开票",
  12884. "type": "integer"
  12885. },
  12886. "lastdate": {
  12887. "description": "交货时间",
  12888. "type": "string"
  12889. },
  12890. "marketid": {
  12891. "description": "市场ID",
  12892. "type": "integer"
  12893. },
  12894. "paydatetime": {
  12895. "description": "收付款更新时间",
  12896. "type": "string"
  12897. },
  12898. "payremark": {
  12899. "description": "收付款备注",
  12900. "type": "string"
  12901. },
  12902. "paystatus": {
  12903. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12904. "type": "integer"
  12905. },
  12906. "positionqty": {
  12907. "description": "头寸数量 - 合同数量去小数部分",
  12908. "type": "integer"
  12909. },
  12910. "producttype": {
  12911. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12912. "type": "integer"
  12913. },
  12914. "relatedqty": {
  12915. "description": "已关联数量",
  12916. "type": "number"
  12917. },
  12918. "relatedstatus": {
  12919. "description": "关联完结状态 - 0:未结束 1:已结束",
  12920. "type": "integer"
  12921. },
  12922. "remark": {
  12923. "description": "备注",
  12924. "type": "string"
  12925. },
  12926. "signdate": {
  12927. "description": "签订日期",
  12928. "type": "string"
  12929. },
  12930. "spotcontractid": {
  12931. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12932. "type": "string"
  12933. },
  12934. "spotdatetime": {
  12935. "description": "收发货更新时间",
  12936. "type": "string"
  12937. },
  12938. "spotprice": {
  12939. "description": "价格",
  12940. "type": "number"
  12941. },
  12942. "spotremark": {
  12943. "description": "收发货备注",
  12944. "type": "string"
  12945. },
  12946. "spotstatus": {
  12947. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12948. "type": "integer"
  12949. },
  12950. "tradedate": {
  12951. "description": "交易日(yyyyMMdd)",
  12952. "type": "string"
  12953. },
  12954. "userid": {
  12955. "description": "业务员用户ID",
  12956. "type": "integer"
  12957. },
  12958. "warehouseid": {
  12959. "description": "仓库ID",
  12960. "type": "integer"
  12961. },
  12962. "wrfactortypeid": {
  12963. "description": "仓单要素类型ID",
  12964. "type": "integer"
  12965. },
  12966. "wrstandardid": {
  12967. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12968. "type": "integer"
  12969. }
  12970. }
  12971. },
  12972. "erms3.AddErms2ASApplyReq": {
  12973. "type": "object",
  12974. "required": [
  12975. "asapplyid"
  12976. ],
  12977. "properties": {
  12978. "applybasis": {
  12979. "description": "申请基差",
  12980. "type": "number"
  12981. },
  12982. "applystatus": {
  12983. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12984. "type": "integer"
  12985. },
  12986. "asapplyid": {
  12987. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12988. "type": "integer"
  12989. },
  12990. "asname": {
  12991. "description": "策略名称",
  12992. "type": "string"
  12993. },
  12994. "asno": {
  12995. "description": "策略编号",
  12996. "type": "string"
  12997. },
  12998. "auditid": {
  12999. "description": "审核人",
  13000. "type": "integer"
  13001. },
  13002. "auditremark": {
  13003. "description": "审核备注",
  13004. "type": "string"
  13005. },
  13006. "audittime": {
  13007. "description": "审核时间",
  13008. "type": "string"
  13009. },
  13010. "biztype": {
  13011. "description": "业务类型 - 1:正向套利 2:反向套利",
  13012. "type": "integer"
  13013. },
  13014. "createtime": {
  13015. "description": "创建时间",
  13016. "type": "string"
  13017. },
  13018. "creatorid": {
  13019. "description": "创建人",
  13020. "type": "integer"
  13021. },
  13022. "deliverygoodsid": {
  13023. "description": "现货品种ID",
  13024. "type": "integer"
  13025. },
  13026. "futurequote": {
  13027. "description": "期货额度",
  13028. "type": "number"
  13029. },
  13030. "goodsgroupid": {
  13031. "description": "期货品种ID",
  13032. "type": "integer"
  13033. },
  13034. "marketid": {
  13035. "description": "市场ID",
  13036. "type": "integer"
  13037. },
  13038. "remark": {
  13039. "description": "备注",
  13040. "type": "string"
  13041. },
  13042. "spotquota": {
  13043. "description": "现货额度",
  13044. "type": "number"
  13045. },
  13046. "tradedate": {
  13047. "description": "交易日(yyyyMMdd)",
  13048. "type": "string"
  13049. },
  13050. "userid": {
  13051. "description": "所属机构",
  13052. "type": "integer"
  13053. }
  13054. }
  13055. },
  13056. "erms3.AddErms2SpotTradeApplyReq": {
  13057. "type": "object",
  13058. "required": [
  13059. "spottradeid"
  13060. ],
  13061. "properties": {
  13062. "applyjsondetail": {
  13063. "description": "申请明细(JSON)",
  13064. "type": "string"
  13065. },
  13066. "applystatus": {
  13067. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13068. "type": "integer"
  13069. },
  13070. "areauserid": {
  13071. "description": "所属机构",
  13072. "type": "integer"
  13073. },
  13074. "auditid": {
  13075. "description": "审核人",
  13076. "type": "integer"
  13077. },
  13078. "auditremark": {
  13079. "description": "审核备注",
  13080. "type": "string"
  13081. },
  13082. "audittime": {
  13083. "description": "审核时间",
  13084. "type": "string"
  13085. },
  13086. "createtime": {
  13087. "description": "创建时间",
  13088. "type": "string"
  13089. },
  13090. "creatorid": {
  13091. "description": "创建人",
  13092. "type": "integer"
  13093. },
  13094. "deliverygoodsid": {
  13095. "description": "现货品种ID",
  13096. "type": "integer"
  13097. },
  13098. "futureaccountid": {
  13099. "description": "期货资金账户",
  13100. "type": "integer"
  13101. },
  13102. "goodsgroupid": {
  13103. "description": "期货品种",
  13104. "type": "integer"
  13105. },
  13106. "marketid": {
  13107. "description": "市场ID",
  13108. "type": "integer"
  13109. },
  13110. "remark": {
  13111. "description": "备注",
  13112. "type": "string"
  13113. },
  13114. "spotaccountid": {
  13115. "description": "现货资金账户",
  13116. "type": "integer"
  13117. },
  13118. "spottradeid": {
  13119. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13120. "type": "integer"
  13121. },
  13122. "spottradename": {
  13123. "description": "业务名称",
  13124. "type": "string"
  13125. },
  13126. "spottradeno": {
  13127. "description": "业务编号",
  13128. "type": "string"
  13129. },
  13130. "tradedate": {
  13131. "description": "交易日(yyyyMMdd)",
  13132. "type": "string"
  13133. },
  13134. "wrstandardid": {
  13135. "description": "仓单标准ID",
  13136. "type": "integer"
  13137. }
  13138. }
  13139. },
  13140. "erms3.AddSpotContractApplyReq": {
  13141. "type": "object",
  13142. "required": [
  13143. "accountid",
  13144. "areauserid",
  13145. "contractno",
  13146. "contracttype",
  13147. "customeraccountid",
  13148. "customeruserid",
  13149. "details",
  13150. "orimargin",
  13151. "signdate"
  13152. ],
  13153. "properties": {
  13154. "accountid": {
  13155. "description": "资金账户ID",
  13156. "type": "integer"
  13157. },
  13158. "areauserid": {
  13159. "description": "所属机构",
  13160. "type": "integer"
  13161. },
  13162. "contractattachment": {
  13163. "description": "合同附件",
  13164. "type": "string"
  13165. },
  13166. "contractno": {
  13167. "description": "现货合同编号",
  13168. "type": "string"
  13169. },
  13170. "contracttype": {
  13171. "description": "现货合同类型 - 1:采购 -1:销售",
  13172. "type": "integer"
  13173. },
  13174. "creatorid": {
  13175. "description": "申请人",
  13176. "type": "integer"
  13177. },
  13178. "customeraccountid": {
  13179. "description": "客户资金账户ID",
  13180. "type": "integer"
  13181. },
  13182. "customeruserid": {
  13183. "description": "客户ID",
  13184. "type": "integer"
  13185. },
  13186. "details": {
  13187. "description": "明细",
  13188. "type": "array",
  13189. "items": {
  13190. "$ref": "#/definitions/erms3.SoptContractDetail"
  13191. }
  13192. },
  13193. "orimargin": {
  13194. "description": "初始保证金",
  13195. "type": "number"
  13196. },
  13197. "remark": {
  13198. "description": "备注",
  13199. "type": "string"
  13200. },
  13201. "signdate": {
  13202. "description": "签订日期",
  13203. "type": "string"
  13204. }
  13205. }
  13206. },
  13207. "erms3.AddSpotContractApplyRsp": {
  13208. "type": "object",
  13209. "required": [
  13210. "contractno"
  13211. ],
  13212. "properties": {
  13213. "contractno": {
  13214. "description": "现货合同编号",
  13215. "type": "string"
  13216. },
  13217. "spotcontractid": {
  13218. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13219. "type": "integer"
  13220. }
  13221. }
  13222. },
  13223. "erms3.AddUserInfoApplyReq": {
  13224. "type": "object",
  13225. "required": [
  13226. "userid"
  13227. ],
  13228. "properties": {
  13229. "accountid": {
  13230. "description": "交易系统帐号Id (加密存储)",
  13231. "type": "integer"
  13232. },
  13233. "areacode": {
  13234. "description": "机构代码",
  13235. "type": "string"
  13236. },
  13237. "areaid": {
  13238. "description": "机构Id",
  13239. "type": "integer"
  13240. },
  13241. "attachment1": {
  13242. "description": "附件1",
  13243. "type": "string"
  13244. },
  13245. "attachment2": {
  13246. "description": "附件2",
  13247. "type": "string"
  13248. },
  13249. "attachment3": {
  13250. "description": "附件3",
  13251. "type": "string"
  13252. },
  13253. "attachment4": {
  13254. "description": "附件4",
  13255. "type": "string"
  13256. },
  13257. "attachment5": {
  13258. "description": "附件5",
  13259. "type": "string"
  13260. },
  13261. "auditedby": {
  13262. "description": "审核人",
  13263. "type": "string"
  13264. },
  13265. "auditime": {
  13266. "description": "审核时间",
  13267. "type": "string"
  13268. },
  13269. "auditsrc": {
  13270. "description": "审核来源 - 1:管理端 2:终端",
  13271. "type": "integer"
  13272. },
  13273. "bankaccount": {
  13274. "description": "银行帐号 (加密存储)",
  13275. "type": "string"
  13276. },
  13277. "bankaccountname": {
  13278. "description": "收款人名称",
  13279. "type": "string"
  13280. },
  13281. "bankcardbackphotourl": {
  13282. "description": "银行卡背面照地址",
  13283. "type": "string"
  13284. },
  13285. "bankcardfrontphotourl": {
  13286. "description": "银行卡正面照地址",
  13287. "type": "string"
  13288. },
  13289. "bankid": {
  13290. "description": "银行编码",
  13291. "type": "string"
  13292. },
  13293. "bankname": {
  13294. "description": "银行名称",
  13295. "type": "string"
  13296. },
  13297. "bankpictureurl": {
  13298. "description": "银行卡正面地址",
  13299. "type": "string"
  13300. },
  13301. "biznature": {
  13302. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13303. "type": "integer"
  13304. },
  13305. "bizscope": {
  13306. "description": "企业经营范围(企业)",
  13307. "type": "string"
  13308. },
  13309. "biztype": {
  13310. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13311. "type": "integer"
  13312. },
  13313. "brokerid": {
  13314. "description": "经纪人ID(加密存储)",
  13315. "type": "string"
  13316. },
  13317. "cardaddress": {
  13318. "description": "证件地址 (加密存储)",
  13319. "type": "string"
  13320. },
  13321. "cardbackphotourl": {
  13322. "description": "背面证件照地址",
  13323. "type": "string"
  13324. },
  13325. "cardfrontphotourl": {
  13326. "description": "正面证件照地址",
  13327. "type": "string"
  13328. },
  13329. "cardnum": {
  13330. "description": "证件号码 (加密存储)",
  13331. "type": "string"
  13332. },
  13333. "cardtype": {
  13334. "description": "证件类型",
  13335. "type": "integer"
  13336. },
  13337. "cityid": {
  13338. "description": "市",
  13339. "type": "integer"
  13340. },
  13341. "company": {
  13342. "description": "公司(个人)",
  13343. "type": "string"
  13344. },
  13345. "contactcardbackphotourl": {
  13346. "description": "联系人证件背面图片地址",
  13347. "type": "string"
  13348. },
  13349. "contactcardfrontphotourl": {
  13350. "description": "联系人证件正面图片地址",
  13351. "type": "string"
  13352. },
  13353. "contactname": {
  13354. "description": "联系人",
  13355. "type": "string"
  13356. },
  13357. "countryid": {
  13358. "description": "国家",
  13359. "type": "integer"
  13360. },
  13361. "createtime": {
  13362. "description": "开户申请时间",
  13363. "type": "string"
  13364. },
  13365. "cusbankid": {
  13366. "description": "签约类型",
  13367. "type": "string"
  13368. },
  13369. "cusbankname": {
  13370. "description": "签约类型名称",
  13371. "type": "string"
  13372. },
  13373. "customername": {
  13374. "description": "客户名称(企业名称)",
  13375. "type": "string"
  13376. },
  13377. "districtid": {
  13378. "description": "地区",
  13379. "type": "integer"
  13380. },
  13381. "email": {
  13382. "description": "Email地址(加密存储)",
  13383. "type": "string"
  13384. },
  13385. "halfbodyphotourl": {
  13386. "description": "半身照地址",
  13387. "type": "string"
  13388. },
  13389. "headurl": {
  13390. "description": "头像地址",
  13391. "type": "string"
  13392. },
  13393. "ipaddress": {
  13394. "description": "IP地址",
  13395. "type": "string"
  13396. },
  13397. "isvalidate": {
  13398. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13399. "type": "string"
  13400. },
  13401. "legalcardbackphotourl": {
  13402. "description": "法人身份证背面照地址",
  13403. "type": "string"
  13404. },
  13405. "legalcardfrontphotourl": {
  13406. "description": "法人身份证正面照地址",
  13407. "type": "string"
  13408. },
  13409. "legalpersonname": {
  13410. "description": "法人姓名(企业)",
  13411. "type": "string"
  13412. },
  13413. "logincode": {
  13414. "description": "登录帐号 (加密存储)",
  13415. "type": "string"
  13416. },
  13417. "memberareaid": {
  13418. "description": "所属会员ID",
  13419. "type": "integer"
  13420. },
  13421. "mobile2": {
  13422. "description": "手机号码[明文-尚志]",
  13423. "type": "string"
  13424. },
  13425. "mobilephone": {
  13426. "description": "手机号码 (加密存储)",
  13427. "type": "string"
  13428. },
  13429. "modifiedby": {
  13430. "description": "修改人帐号",
  13431. "type": "integer"
  13432. },
  13433. "modifiedtime": {
  13434. "description": "修改时间",
  13435. "type": "string"
  13436. },
  13437. "nickname": {
  13438. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13439. "type": "string"
  13440. },
  13441. "openmode": {
  13442. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13443. "type": "integer"
  13444. },
  13445. "otherurl": {
  13446. "description": "其它图片地址[使用分号分隔]",
  13447. "type": "string"
  13448. },
  13449. "postalcode": {
  13450. "description": "邮政编码",
  13451. "type": "string"
  13452. },
  13453. "provinceid": {
  13454. "description": "省",
  13455. "type": "integer"
  13456. },
  13457. "proxystatementurl": {
  13458. "description": "授权委托书",
  13459. "type": "string"
  13460. },
  13461. "qq": {
  13462. "description": "QQ(加密存储",
  13463. "type": "string"
  13464. },
  13465. "referral": {
  13466. "description": "推荐人编码",
  13467. "type": "string"
  13468. },
  13469. "remark": {
  13470. "description": "备注",
  13471. "type": "string"
  13472. },
  13473. "removebeforestatus": {
  13474. "description": "REMOVEBEFORESTATUS",
  13475. "type": "integer"
  13476. },
  13477. "sex": {
  13478. "description": "性别 - 0:女 1:男",
  13479. "type": "integer"
  13480. },
  13481. "signedstatus": {
  13482. "description": "账户一号签签约状态",
  13483. "type": "integer"
  13484. },
  13485. "signpdfurl": {
  13486. "description": "签约pdf文件",
  13487. "type": "string"
  13488. },
  13489. "subbranch": {
  13490. "description": "开户支行",
  13491. "type": "string"
  13492. },
  13493. "taxpayernum": {
  13494. "description": "纳税人识别号",
  13495. "type": "string"
  13496. },
  13497. "telphone": {
  13498. "description": "联系电话(加密存储)",
  13499. "type": "string"
  13500. },
  13501. "userid": {
  13502. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13503. "type": "integer"
  13504. },
  13505. "userinfotype": {
  13506. "description": "用户信息类型 - 1:个人 2:企业",
  13507. "type": "integer"
  13508. },
  13509. "username": {
  13510. "description": "用户姓名",
  13511. "type": "string"
  13512. },
  13513. "userstate": {
  13514. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13515. "type": "integer"
  13516. },
  13517. "usertype": {
  13518. "description": "用户类型 - 1:投资者 2:机构",
  13519. "type": "integer"
  13520. },
  13521. "videourl": {
  13522. "description": "视频地址",
  13523. "type": "string"
  13524. },
  13525. "wechat": {
  13526. "description": "微信号 (加密存储)",
  13527. "type": "string"
  13528. }
  13529. }
  13530. },
  13531. "erms3.CustomerInfo": {
  13532. "type": "object",
  13533. "required": [
  13534. "userid"
  13535. ],
  13536. "properties": {
  13537. "accountids": {
  13538. "description": "资金账户ID列表",
  13539. "type": "array",
  13540. "items": {
  13541. "type": "integer"
  13542. }
  13543. },
  13544. "customername": {
  13545. "description": "名称(企业名称)",
  13546. "type": "string"
  13547. },
  13548. "mobile": {
  13549. "description": "手机号码",
  13550. "type": "string"
  13551. },
  13552. "userid": {
  13553. "description": "用户ID",
  13554. "type": "integer"
  13555. }
  13556. }
  13557. },
  13558. "erms3.ModifyUserInfoApplyReq": {
  13559. "type": "object",
  13560. "required": [
  13561. "userid"
  13562. ],
  13563. "properties": {
  13564. "accountid": {
  13565. "description": "交易系统帐号Id (加密存储)",
  13566. "type": "integer"
  13567. },
  13568. "areacode": {
  13569. "description": "机构代码",
  13570. "type": "string"
  13571. },
  13572. "areaid": {
  13573. "description": "机构Id",
  13574. "type": "integer"
  13575. },
  13576. "attachment1": {
  13577. "description": "附件1",
  13578. "type": "string"
  13579. },
  13580. "attachment2": {
  13581. "description": "附件2",
  13582. "type": "string"
  13583. },
  13584. "attachment3": {
  13585. "description": "附件3",
  13586. "type": "string"
  13587. },
  13588. "attachment4": {
  13589. "description": "附件4",
  13590. "type": "string"
  13591. },
  13592. "attachment5": {
  13593. "description": "附件5",
  13594. "type": "string"
  13595. },
  13596. "auditedby": {
  13597. "description": "审核人",
  13598. "type": "string"
  13599. },
  13600. "auditime": {
  13601. "description": "审核时间",
  13602. "type": "string"
  13603. },
  13604. "auditsrc": {
  13605. "description": "审核来源 - 1:管理端 2:终端",
  13606. "type": "integer"
  13607. },
  13608. "bankaccount": {
  13609. "description": "银行帐号 (加密存储)",
  13610. "type": "string"
  13611. },
  13612. "bankaccountname": {
  13613. "description": "收款人名称",
  13614. "type": "string"
  13615. },
  13616. "bankcardbackphotourl": {
  13617. "description": "银行卡背面照地址",
  13618. "type": "string"
  13619. },
  13620. "bankcardfrontphotourl": {
  13621. "description": "银行卡正面照地址",
  13622. "type": "string"
  13623. },
  13624. "bankid": {
  13625. "description": "银行编码",
  13626. "type": "string"
  13627. },
  13628. "bankname": {
  13629. "description": "银行名称",
  13630. "type": "string"
  13631. },
  13632. "bankpictureurl": {
  13633. "description": "银行卡正面地址",
  13634. "type": "string"
  13635. },
  13636. "biznature": {
  13637. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13638. "type": "integer"
  13639. },
  13640. "bizscope": {
  13641. "description": "企业经营范围(企业)",
  13642. "type": "string"
  13643. },
  13644. "biztype": {
  13645. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13646. "type": "integer"
  13647. },
  13648. "brokerid": {
  13649. "description": "经纪人ID(加密存储)",
  13650. "type": "string"
  13651. },
  13652. "cardaddress": {
  13653. "description": "证件地址 (加密存储)",
  13654. "type": "string"
  13655. },
  13656. "cardbackphotourl": {
  13657. "description": "背面证件照地址",
  13658. "type": "string"
  13659. },
  13660. "cardfrontphotourl": {
  13661. "description": "正面证件照地址",
  13662. "type": "string"
  13663. },
  13664. "cardnum": {
  13665. "description": "证件号码 (加密存储)",
  13666. "type": "string"
  13667. },
  13668. "cardtype": {
  13669. "description": "证件类型",
  13670. "type": "integer"
  13671. },
  13672. "cityid": {
  13673. "description": "市",
  13674. "type": "integer"
  13675. },
  13676. "company": {
  13677. "description": "公司(个人)",
  13678. "type": "string"
  13679. },
  13680. "contactcardbackphotourl": {
  13681. "description": "联系人证件背面图片地址",
  13682. "type": "string"
  13683. },
  13684. "contactcardfrontphotourl": {
  13685. "description": "联系人证件正面图片地址",
  13686. "type": "string"
  13687. },
  13688. "contactname": {
  13689. "description": "联系人",
  13690. "type": "string"
  13691. },
  13692. "countryid": {
  13693. "description": "国家",
  13694. "type": "integer"
  13695. },
  13696. "createtime": {
  13697. "description": "开户申请时间",
  13698. "type": "string"
  13699. },
  13700. "cusbankid": {
  13701. "description": "签约类型",
  13702. "type": "string"
  13703. },
  13704. "cusbankname": {
  13705. "description": "签约类型名称",
  13706. "type": "string"
  13707. },
  13708. "customername": {
  13709. "description": "客户名称(企业名称)",
  13710. "type": "string"
  13711. },
  13712. "districtid": {
  13713. "description": "地区",
  13714. "type": "integer"
  13715. },
  13716. "email": {
  13717. "description": "Email地址(加密存储)",
  13718. "type": "string"
  13719. },
  13720. "halfbodyphotourl": {
  13721. "description": "半身照地址",
  13722. "type": "string"
  13723. },
  13724. "headurl": {
  13725. "description": "头像地址",
  13726. "type": "string"
  13727. },
  13728. "ipaddress": {
  13729. "description": "IP地址",
  13730. "type": "string"
  13731. },
  13732. "isvalidate": {
  13733. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13734. "type": "string"
  13735. },
  13736. "legalcardbackphotourl": {
  13737. "description": "法人身份证背面照地址",
  13738. "type": "string"
  13739. },
  13740. "legalcardfrontphotourl": {
  13741. "description": "法人身份证正面照地址",
  13742. "type": "string"
  13743. },
  13744. "legalpersonname": {
  13745. "description": "法人姓名(企业)",
  13746. "type": "string"
  13747. },
  13748. "logincode": {
  13749. "description": "登录帐号 (加密存储)",
  13750. "type": "string"
  13751. },
  13752. "memberareaid": {
  13753. "description": "所属会员ID",
  13754. "type": "integer"
  13755. },
  13756. "mobile2": {
  13757. "description": "手机号码[明文-尚志]",
  13758. "type": "string"
  13759. },
  13760. "mobilephone": {
  13761. "description": "手机号码 (加密存储)",
  13762. "type": "string"
  13763. },
  13764. "modifiedby": {
  13765. "description": "修改人帐号",
  13766. "type": "integer"
  13767. },
  13768. "modifiedtime": {
  13769. "description": "修改时间",
  13770. "type": "string"
  13771. },
  13772. "nickname": {
  13773. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13774. "type": "string"
  13775. },
  13776. "openmode": {
  13777. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13778. "type": "integer"
  13779. },
  13780. "otherurl": {
  13781. "description": "其它图片地址[使用分号分隔]",
  13782. "type": "string"
  13783. },
  13784. "postalcode": {
  13785. "description": "邮政编码",
  13786. "type": "string"
  13787. },
  13788. "provinceid": {
  13789. "description": "省",
  13790. "type": "integer"
  13791. },
  13792. "proxystatementurl": {
  13793. "description": "授权委托书",
  13794. "type": "string"
  13795. },
  13796. "qq": {
  13797. "description": "QQ(加密存储",
  13798. "type": "string"
  13799. },
  13800. "referral": {
  13801. "description": "推荐人编码",
  13802. "type": "string"
  13803. },
  13804. "remark": {
  13805. "description": "备注",
  13806. "type": "string"
  13807. },
  13808. "removebeforestatus": {
  13809. "description": "REMOVEBEFORESTATUS",
  13810. "type": "integer"
  13811. },
  13812. "sex": {
  13813. "description": "性别 - 0:女 1:男",
  13814. "type": "integer"
  13815. },
  13816. "signedstatus": {
  13817. "description": "账户一号签签约状态",
  13818. "type": "integer"
  13819. },
  13820. "signpdfurl": {
  13821. "description": "签约pdf文件",
  13822. "type": "string"
  13823. },
  13824. "subbranch": {
  13825. "description": "开户支行",
  13826. "type": "string"
  13827. },
  13828. "taxpayernum": {
  13829. "description": "纳税人识别号",
  13830. "type": "string"
  13831. },
  13832. "telphone": {
  13833. "description": "联系电话(加密存储)",
  13834. "type": "string"
  13835. },
  13836. "userid": {
  13837. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13838. "type": "integer"
  13839. },
  13840. "userinfotype": {
  13841. "description": "用户信息类型 - 1:个人 2:企业",
  13842. "type": "integer"
  13843. },
  13844. "username": {
  13845. "description": "用户姓名",
  13846. "type": "string"
  13847. },
  13848. "userstate": {
  13849. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13850. "type": "integer"
  13851. },
  13852. "usertype": {
  13853. "description": "用户类型 - 1:投资者 2:机构",
  13854. "type": "integer"
  13855. },
  13856. "videourl": {
  13857. "description": "视频地址",
  13858. "type": "string"
  13859. },
  13860. "wechat": {
  13861. "description": "微信号 (加密存储)",
  13862. "type": "string"
  13863. }
  13864. }
  13865. },
  13866. "erms3.QryAuditContractRsp": {
  13867. "type": "object",
  13868. "required": [
  13869. "matchcustomername",
  13870. "spotcontractid"
  13871. ],
  13872. "properties": {
  13873. "accountid": {
  13874. "description": "交易员ID",
  13875. "type": "string"
  13876. },
  13877. "applystatus": {
  13878. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13879. "type": "integer"
  13880. },
  13881. "curdeliveryqty": {
  13882. "description": "未交收量",
  13883. "type": "integer"
  13884. },
  13885. "customername": {
  13886. "description": "采购方ID",
  13887. "type": "string"
  13888. },
  13889. "deliverygoodsid": {
  13890. "description": "品种ID",
  13891. "type": "string"
  13892. },
  13893. "deliveryqty": {
  13894. "description": "交收量",
  13895. "type": "integer"
  13896. },
  13897. "enumdicname": {
  13898. "description": "单位名称",
  13899. "type": "string"
  13900. },
  13901. "matchaccountid": {
  13902. "description": "业务员ID",
  13903. "type": "string"
  13904. },
  13905. "matchcustomername": {
  13906. "description": "销售方ID",
  13907. "type": "string"
  13908. },
  13909. "pricedqty": {
  13910. "description": "定价量",
  13911. "type": "number"
  13912. },
  13913. "signdate": {
  13914. "description": "签订日期",
  13915. "type": "string"
  13916. },
  13917. "spotcontractid": {
  13918. "description": "合同ID",
  13919. "type": "string"
  13920. },
  13921. "totaldqty": {
  13922. "description": "合同量",
  13923. "type": "number"
  13924. },
  13925. "unpricedqty": {
  13926. "description": "未定价量",
  13927. "type": "number"
  13928. },
  13929. "wrstandardname": {
  13930. "description": "商品名称",
  13931. "type": "string"
  13932. }
  13933. }
  13934. },
  13935. "erms3.QryPendingBizRsp": {
  13936. "$ref": "#/definitions/models.PendingAuditBizModel"
  13937. },
  13938. "erms3.QueryBusinessInfoRsp": {
  13939. "type": "object",
  13940. "properties": {
  13941. "businessid": {
  13942. "description": "业务ID.",
  13943. "type": "integer"
  13944. },
  13945. "buyamount": {
  13946. "description": "采购额.",
  13947. "type": "number"
  13948. },
  13949. "buyqty": {
  13950. "description": "采购量.",
  13951. "type": "string"
  13952. },
  13953. "futurepl": {
  13954. "description": "期货盈亏.",
  13955. "type": "number"
  13956. },
  13957. "futureqty": {
  13958. "description": "期货敞口.",
  13959. "type": "string"
  13960. },
  13961. "goodsid": {
  13962. "description": "商品名称/商品代码.",
  13963. "type": "string"
  13964. },
  13965. "hedgingqty": {
  13966. "description": "套保量.",
  13967. "type": "string"
  13968. },
  13969. "sellamount": {
  13970. "description": "销售额.",
  13971. "type": "number"
  13972. },
  13973. "sellqty": {
  13974. "description": "销售量.",
  13975. "type": "string"
  13976. },
  13977. "spotmarketvalue": {
  13978. "description": "现货市值.",
  13979. "type": "number"
  13980. },
  13981. "spotpl": {
  13982. "description": "浮动权益.",
  13983. "type": "number"
  13984. },
  13985. "spotqty": {
  13986. "description": "现货量.",
  13987. "type": "string"
  13988. },
  13989. "statu": {
  13990. "description": "状态,0-未结束 1-已结束.",
  13991. "type": "integer"
  13992. },
  13993. "totalpl": {
  13994. "description": "总盈亏.",
  13995. "type": "number"
  13996. },
  13997. "totalqty": {
  13998. "description": "总敞口.",
  13999. "type": "string"
  14000. },
  14001. "type": {
  14002. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14003. "type": "integer"
  14004. }
  14005. }
  14006. },
  14007. "erms3.QuerySpotContractAppleFormRsp": {
  14008. "type": "object",
  14009. "properties": {
  14010. "goodses": {
  14011. "description": "合约列表",
  14012. "type": "array",
  14013. "items": {
  14014. "$ref": "#/definitions/models.GoodsIDAndName"
  14015. }
  14016. },
  14017. "oppositeusers": {
  14018. "description": "对方账号列表",
  14019. "type": "array",
  14020. "items": {
  14021. "$ref": "#/definitions/erms3.CustomerInfo"
  14022. }
  14023. },
  14024. "ouruser": {
  14025. "description": "我方账号",
  14026. "type": "object",
  14027. "$ref": "#/definitions/erms3.CustomerInfo"
  14028. },
  14029. "warehouseinfos": {
  14030. "description": "仓库信息列表",
  14031. "type": "array",
  14032. "items": {
  14033. "$ref": "#/definitions/models.Warehouseinfo"
  14034. }
  14035. },
  14036. "wrstandards": {
  14037. "description": "仓单标准列表",
  14038. "type": "array",
  14039. "items": {
  14040. "$ref": "#/definitions/models.WRStandardInfo"
  14041. }
  14042. }
  14043. }
  14044. },
  14045. "erms3.QuerySpotContractInfoRsp": {
  14046. "type": "object",
  14047. "properties": {
  14048. "accountid": {
  14049. "description": "表示交易员ID.",
  14050. "type": "integer"
  14051. },
  14052. "curdeliveryqty": {
  14053. "description": "表示未交收量.",
  14054. "type": "number"
  14055. },
  14056. "customername": {
  14057. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14058. "type": "string"
  14059. },
  14060. "deliverygoodsid": {
  14061. "description": "表示品种ID.",
  14062. "type": "string"
  14063. },
  14064. "deliveryqty": {
  14065. "description": "表示交收量.",
  14066. "type": "number"
  14067. },
  14068. "matchaccountid": {
  14069. "description": "表示业务员ID.",
  14070. "type": "integer"
  14071. },
  14072. "matchcustomername": {
  14073. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14074. "type": "string"
  14075. },
  14076. "priceqty": {
  14077. "description": "表示定价量.",
  14078. "type": "number"
  14079. },
  14080. "relatedbizid": {
  14081. "description": "表示业务ID.",
  14082. "type": "string"
  14083. },
  14084. "signdate": {
  14085. "description": "表示签订日期.",
  14086. "type": "string"
  14087. },
  14088. "spotcontractid": {
  14089. "description": "合同ID",
  14090. "type": "string"
  14091. },
  14092. "status": {
  14093. "description": "表示状态,0-履约中 1-已完成.",
  14094. "type": "integer"
  14095. },
  14096. "totalqty": {
  14097. "description": "表示合同量.",
  14098. "type": "number"
  14099. },
  14100. "unpricedqty": {
  14101. "description": "表示未定价量.",
  14102. "type": "number"
  14103. },
  14104. "wrstandardname": {
  14105. "description": "表示商品ID.",
  14106. "type": "string"
  14107. }
  14108. }
  14109. },
  14110. "erms3.QueryUserInfoAppliesRsp": {
  14111. "type": "object",
  14112. "required": [
  14113. "userid"
  14114. ],
  14115. "properties": {
  14116. "biznature": {
  14117. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14118. "type": "integer"
  14119. },
  14120. "contactname": {
  14121. "description": "联系人",
  14122. "type": "string"
  14123. },
  14124. "createtime": {
  14125. "description": "开户申请时间",
  14126. "type": "string"
  14127. },
  14128. "userid": {
  14129. "description": "用户ID(自增ID)",
  14130. "type": "integer"
  14131. },
  14132. "userinfotype": {
  14133. "description": "用户信息类型 - 1:个人 2:企业",
  14134. "type": "integer"
  14135. },
  14136. "username": {
  14137. "description": "用户姓名",
  14138. "type": "string"
  14139. },
  14140. "userstate": {
  14141. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14142. "type": "integer"
  14143. }
  14144. }
  14145. },
  14146. "erms3.QueryUserInfosRsp": {
  14147. "type": "object",
  14148. "required": [
  14149. "userid"
  14150. ],
  14151. "properties": {
  14152. "biznature": {
  14153. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14154. "type": "integer"
  14155. },
  14156. "contactname": {
  14157. "description": "联系人",
  14158. "type": "string"
  14159. },
  14160. "customername": {
  14161. "description": "客户名称(企业名称)",
  14162. "type": "string"
  14163. },
  14164. "userid": {
  14165. "description": "用户ID",
  14166. "type": "integer"
  14167. },
  14168. "userinfotype": {
  14169. "description": "用户信息类型 - 1:个人 2:企业",
  14170. "type": "integer"
  14171. },
  14172. "userstatus": {
  14173. "description": "用户状态 - 1:正常 2:注销",
  14174. "type": "integer"
  14175. }
  14176. }
  14177. },
  14178. "erms3.SoptContractDetail": {
  14179. "type": "object",
  14180. "required": [
  14181. "deliverygoodsid",
  14182. "producttype",
  14183. "unitname",
  14184. "warehouseid",
  14185. "wrstandardid",
  14186. "wrstandardname"
  14187. ],
  14188. "properties": {
  14189. "deliverygoodsdesc": {
  14190. "description": "现货品种说明",
  14191. "type": "string"
  14192. },
  14193. "deliverygoodsid": {
  14194. "description": "现货品种ID",
  14195. "type": "integer"
  14196. },
  14197. "deliverygoodsname": {
  14198. "description": "现货品种名称",
  14199. "type": "string"
  14200. },
  14201. "pointdesc": {
  14202. "description": "点价描述",
  14203. "type": "string"
  14204. },
  14205. "producttype": {
  14206. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14207. "type": "integer"
  14208. },
  14209. "producttypename": {
  14210. "description": "产品类型名称",
  14211. "type": "string"
  14212. },
  14213. "spotPointOrderVoList": {
  14214. "description": "点价列表",
  14215. "type": "array",
  14216. "items": {
  14217. "$ref": "#/definitions/erms3.SpotPointOrder"
  14218. }
  14219. },
  14220. "spotPriceOrderList": {
  14221. "description": "定价列表",
  14222. "type": "array",
  14223. "items": {
  14224. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14225. }
  14226. },
  14227. "unitname": {
  14228. "description": "单位名称",
  14229. "type": "string"
  14230. },
  14231. "warehouseid": {
  14232. "description": "仓库ID",
  14233. "type": "integer"
  14234. },
  14235. "warehousename": {
  14236. "description": "仓库名称",
  14237. "type": "string"
  14238. },
  14239. "wrstandardid": {
  14240. "description": "交易标的ID",
  14241. "type": "integer"
  14242. },
  14243. "wrstandardname": {
  14244. "description": "交易标的名称",
  14245. "type": "string"
  14246. }
  14247. }
  14248. },
  14249. "erms3.SpotPointOrder": {
  14250. "type": "object",
  14251. "required": [
  14252. "basic",
  14253. "goodsid",
  14254. "qty"
  14255. ],
  14256. "properties": {
  14257. "basic": {
  14258. "description": "基差",
  14259. "type": "number"
  14260. },
  14261. "deliveryenddate": {
  14262. "description": "交收结束日期",
  14263. "type": "string"
  14264. },
  14265. "deliverystartdate": {
  14266. "description": "交收开始日期",
  14267. "type": "string"
  14268. },
  14269. "enddate": {
  14270. "description": "点价结束日期",
  14271. "type": "string"
  14272. },
  14273. "goodsid": {
  14274. "description": "商品ID",
  14275. "type": "integer"
  14276. },
  14277. "goodsname": {
  14278. "description": "商品名称",
  14279. "type": "string"
  14280. },
  14281. "qty": {
  14282. "description": "数量",
  14283. "type": "number"
  14284. },
  14285. "startdate": {
  14286. "description": "点价开始日期",
  14287. "type": "string"
  14288. }
  14289. }
  14290. },
  14291. "erms3.SpotPriceOrder": {
  14292. "type": "object",
  14293. "required": [
  14294. "amount",
  14295. "price",
  14296. "qty"
  14297. ],
  14298. "properties": {
  14299. "amount": {
  14300. "description": "金额",
  14301. "type": "number"
  14302. },
  14303. "deliveryenddate": {
  14304. "description": "交收结束日期",
  14305. "type": "string"
  14306. },
  14307. "deliverystartdate": {
  14308. "description": "交收开始日期",
  14309. "type": "string"
  14310. },
  14311. "price": {
  14312. "description": "价格",
  14313. "type": "number"
  14314. },
  14315. "qty": {
  14316. "description": "数量",
  14317. "type": "number"
  14318. }
  14319. }
  14320. },
  14321. "hsby.GetHsbyMyCountRsp": {
  14322. "type": "object",
  14323. "properties": {
  14324. "myCouponCount": {
  14325. "description": "我的优惠卷数量",
  14326. "type": "integer"
  14327. },
  14328. "myOrderDetailListingCount": {
  14329. "description": "我的订单求购中数量",
  14330. "type": "integer"
  14331. },
  14332. "myOrderDetailPreCount": {
  14333. "description": "我的订单抢购中数量",
  14334. "type": "integer"
  14335. },
  14336. "myPackageUnReceiveCount": {
  14337. "description": "我的包裹待收货数量",
  14338. "type": "integer"
  14339. },
  14340. "myPackageUnSendCount": {
  14341. "description": "我的包裹待发货数量",
  14342. "type": "integer"
  14343. },
  14344. "myPayOrderCount": {
  14345. "description": "我的订单待付款数量",
  14346. "type": "integer"
  14347. }
  14348. }
  14349. },
  14350. "hsby.QueryProvincesAndCitiesRsp": {
  14351. "type": "object",
  14352. "properties": {
  14353. "cities": {
  14354. "description": "市",
  14355. "type": "array",
  14356. "items": {
  14357. "$ref": "#/definitions/models.Division"
  14358. }
  14359. },
  14360. "province": {
  14361. "description": "省",
  14362. "type": "object",
  14363. "$ref": "#/definitions/models.Division"
  14364. }
  14365. }
  14366. },
  14367. "models.AreaSpotModel": {
  14368. "type": "object",
  14369. "properties": {
  14370. "areauserid": {
  14371. "description": "所属机构",
  14372. "type": "integer"
  14373. },
  14374. "decreaseqty": {
  14375. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14376. "type": "number"
  14377. },
  14378. "increaseqty": {
  14379. "description": "增加数量=销售计划数量+采购已定价数量",
  14380. "type": "number"
  14381. },
  14382. "oritoalspotqty": {
  14383. "description": "昨日数量",
  14384. "type": "number"
  14385. },
  14386. "totalspotqty": {
  14387. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14388. "type": "number"
  14389. },
  14390. "updatetime": {
  14391. "description": "更新时间",
  14392. "type": "string"
  14393. },
  14394. "wrstandardcode": {
  14395. "description": "现货品种代码",
  14396. "type": "string"
  14397. },
  14398. "wrstandardid": {
  14399. "description": "现货商品ID",
  14400. "type": "integer"
  14401. },
  14402. "wrstandardname": {
  14403. "description": "现货品种",
  14404. "type": "string"
  14405. }
  14406. }
  14407. },
  14408. "models.Arearole": {
  14409. "type": "object",
  14410. "required": [
  14411. "roletype",
  14412. "userid"
  14413. ],
  14414. "properties": {
  14415. "createtime": {
  14416. "description": "创建时间",
  14417. "type": "string"
  14418. },
  14419. "creatorid": {
  14420. "description": "创建人ID",
  14421. "type": "integer"
  14422. },
  14423. "fromuserid": {
  14424. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14425. "type": "integer"
  14426. },
  14427. "isreturnscore": {
  14428. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14429. "type": "integer"
  14430. },
  14431. "modifierid": {
  14432. "description": "修改人ID",
  14433. "type": "integer"
  14434. },
  14435. "modifytime": {
  14436. "description": "修改时间",
  14437. "type": "string"
  14438. },
  14439. "orgtype": {
  14440. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14441. "type": "integer"
  14442. },
  14443. "outuserid": {
  14444. "description": "外部账户[场外期权做市商]",
  14445. "type": "string"
  14446. },
  14447. "parentuserid": {
  14448. "description": "上级组织机构(组织机构)",
  14449. "type": "integer"
  14450. },
  14451. "roletype": {
  14452. "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:门店",
  14453. "type": "integer"
  14454. },
  14455. "rootuserid": {
  14456. "description": "顶级组织机构用户ID(组织机构)",
  14457. "type": "integer"
  14458. },
  14459. "shoppassword": {
  14460. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14461. "type": "string"
  14462. },
  14463. "sublevelpath": {
  14464. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14465. "type": "string"
  14466. },
  14467. "suborgtype": {
  14468. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14469. "type": "integer"
  14470. },
  14471. "tradeaccountid": {
  14472. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14473. "type": "integer"
  14474. },
  14475. "transurl": {
  14476. "description": "物流地址(物流机构)",
  14477. "type": "string"
  14478. },
  14479. "userid": {
  14480. "description": "机构用户ID其他做市关系,都设置为 1",
  14481. "type": "integer"
  14482. }
  14483. }
  14484. },
  14485. "models.Clientfixedadconfig": {
  14486. "type": "object",
  14487. "required": [
  14488. "adsort",
  14489. "adtype"
  14490. ],
  14491. "properties": {
  14492. "adsort": {
  14493. "description": "排序",
  14494. "type": "integer"
  14495. },
  14496. "adtype": {
  14497. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14498. "type": "integer"
  14499. },
  14500. "areauserid": {
  14501. "description": "所属机构ID",
  14502. "type": "integer"
  14503. },
  14504. "createdate": {
  14505. "description": "创建时间",
  14506. "type": "string"
  14507. },
  14508. "creatorid": {
  14509. "description": "创建人",
  14510. "type": "integer"
  14511. },
  14512. "imagepath": {
  14513. "description": "图片",
  14514. "type": "string"
  14515. },
  14516. "isshow": {
  14517. "description": "是否展示 - 0:不展示 1:展示",
  14518. "type": "integer"
  14519. },
  14520. "modifierid": {
  14521. "description": "操作人",
  14522. "type": "integer"
  14523. },
  14524. "recsize": {
  14525. "description": "推荐尺寸",
  14526. "type": "string"
  14527. },
  14528. "title": {
  14529. "description": "标题",
  14530. "type": "string"
  14531. },
  14532. "updatedate": {
  14533. "description": "更新时间",
  14534. "type": "string"
  14535. },
  14536. "urlcontent": {
  14537. "description": "链接(地址或商品ID)",
  14538. "type": "string"
  14539. },
  14540. "urltype": {
  14541. "description": "链接类型 - 1:直接地址 2:商品ID",
  14542. "type": "integer"
  14543. }
  14544. }
  14545. },
  14546. "models.Division": {
  14547. "type": "object",
  14548. "required": [
  14549. "autoid",
  14550. "divisioncode"
  14551. ],
  14552. "properties": {
  14553. "autoid": {
  14554. "description": "自增ID",
  14555. "type": "integer"
  14556. },
  14557. "divisioncode": {
  14558. "description": "行政代码",
  14559. "type": "string"
  14560. },
  14561. "divisionlevel": {
  14562. "description": "行政级别",
  14563. "type": "string"
  14564. },
  14565. "divisionname": {
  14566. "description": "行政名称",
  14567. "type": "string"
  14568. },
  14569. "modifierid": {
  14570. "description": "修改人",
  14571. "type": "integer"
  14572. },
  14573. "modifytime": {
  14574. "description": "修改时间",
  14575. "type": "string"
  14576. },
  14577. "parentcode": {
  14578. "description": "上级行政代码",
  14579. "type": "string"
  14580. },
  14581. "pathname": {
  14582. "description": "路径名称",
  14583. "type": "string"
  14584. },
  14585. "postcode": {
  14586. "description": "邮政编码",
  14587. "type": "string"
  14588. },
  14589. "separablename": {
  14590. "description": "可拆分的全称",
  14591. "type": "string"
  14592. },
  14593. "shortcode": {
  14594. "description": "地区简码",
  14595. "type": "string"
  14596. }
  14597. }
  14598. },
  14599. "models.Enumdicitem": {
  14600. "type": "object",
  14601. "required": [
  14602. "autoid",
  14603. "enumdiccode",
  14604. "enumdicid",
  14605. "enumitemname"
  14606. ],
  14607. "properties": {
  14608. "autoid": {
  14609. "description": "自增ID",
  14610. "type": "integer"
  14611. },
  14612. "bankmappedvalue": {
  14613. "description": "银行服务对应值",
  14614. "type": "string"
  14615. },
  14616. "enumdiccode": {
  14617. "description": "所属枚举代码",
  14618. "type": "string"
  14619. },
  14620. "enumdicid": {
  14621. "description": "所属枚举ID",
  14622. "type": "integer"
  14623. },
  14624. "enumdicname": {
  14625. "description": "枚举项名称",
  14626. "type": "string"
  14627. },
  14628. "enumitemname": {
  14629. "description": "枚举项值",
  14630. "type": "integer"
  14631. },
  14632. "enumitemstatus": {
  14633. "description": "枚举项状态 - 1.启用 2.不启用",
  14634. "type": "integer"
  14635. },
  14636. "enumitemvalue": {
  14637. "description": "通用值 - [币种通用简写]",
  14638. "type": "string"
  14639. },
  14640. "param1": {
  14641. "description": "参数1[币种:币种小数位]",
  14642. "type": "string"
  14643. },
  14644. "param2": {
  14645. "description": "参数1[币种:币种显示单位]",
  14646. "type": "string"
  14647. },
  14648. "remark": {
  14649. "description": "备注",
  14650. "type": "string"
  14651. }
  14652. }
  14653. },
  14654. "models.Ermcp3AreaSpot": {
  14655. "type": "object",
  14656. "properties": {
  14657. "areauserid": {
  14658. "description": "所属机构",
  14659. "type": "integer"
  14660. },
  14661. "decreaseqty": {
  14662. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14663. "type": "number"
  14664. },
  14665. "deliverygoodscode": {
  14666. "description": "现货品种代码",
  14667. "type": "string"
  14668. },
  14669. "deliverygoodsid": {
  14670. "description": "现货品种id",
  14671. "type": "integer"
  14672. },
  14673. "deliverygoodsname": {
  14674. "description": "现货品种名称",
  14675. "type": "string"
  14676. },
  14677. "enumdicname": {
  14678. "description": "单位名称",
  14679. "type": "string"
  14680. },
  14681. "goodsunitid": {
  14682. "description": "现货品种单位id",
  14683. "type": "integer"
  14684. },
  14685. "increaseqty": {
  14686. "description": "增加数量=销售计划数量+采购已定价数量",
  14687. "type": "number"
  14688. },
  14689. "oritoalspotqty": {
  14690. "description": "昨日数量",
  14691. "type": "number"
  14692. },
  14693. "totalspotqty": {
  14694. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14695. "type": "number"
  14696. },
  14697. "updatetime": {
  14698. "description": "更新时间",
  14699. "type": "string"
  14700. }
  14701. }
  14702. },
  14703. "models.Ermcp3AreaSpotDetail": {
  14704. "type": "object",
  14705. "properties": {
  14706. "contracttype": {
  14707. "description": "合同类型 1-采购 -1-销售",
  14708. "type": "integer"
  14709. },
  14710. "createtime": {
  14711. "description": "创建时间",
  14712. "type": "string"
  14713. },
  14714. "deliverygoodscode": {
  14715. "description": "现货品种代码",
  14716. "type": "string"
  14717. },
  14718. "deliverygoodsid": {
  14719. "description": "现货品种id",
  14720. "type": "integer"
  14721. },
  14722. "deliverygoodsname": {
  14723. "description": "现货品种名称",
  14724. "type": "string"
  14725. },
  14726. "enumdicname": {
  14727. "description": "现货商品单位名称",
  14728. "type": "string"
  14729. },
  14730. "logtype": {
  14731. "description": "记录类型 1-套保 2-现货合同",
  14732. "type": "integer"
  14733. },
  14734. "qty": {
  14735. "description": "数量",
  14736. "type": "number"
  14737. },
  14738. "recordname": {
  14739. "description": "类型名称",
  14740. "type": "string"
  14741. },
  14742. "relatedid": {
  14743. "description": "套保计划ID/现货合同ID",
  14744. "type": "string"
  14745. },
  14746. "relatedno": {
  14747. "description": "编号",
  14748. "type": "string"
  14749. },
  14750. "strtime": {
  14751. "description": "时间",
  14752. "type": "string"
  14753. }
  14754. }
  14755. },
  14756. "models.Ermcp3AreaSpotPLReport": {
  14757. "type": "object",
  14758. "properties": {
  14759. "accountid": {
  14760. "description": "期货账户ID (作废, 默认为0)",
  14761. "type": "integer"
  14762. },
  14763. "accountname": {
  14764. "description": "机构名称",
  14765. "type": "string"
  14766. },
  14767. "actualpl": {
  14768. "description": "现货损益",
  14769. "type": "number"
  14770. },
  14771. "areauserid": {
  14772. "description": "所属机构\\交易用户ID",
  14773. "type": "integer"
  14774. },
  14775. "begindate": {
  14776. "description": "开始交易日",
  14777. "type": "string"
  14778. },
  14779. "biztype": {
  14780. "description": "业务类型 - 1:套保 2:套利",
  14781. "type": "integer"
  14782. },
  14783. "brandname": {
  14784. "description": "品牌名称",
  14785. "type": "string"
  14786. },
  14787. "curamount": {
  14788. "description": "期末额",
  14789. "type": "number"
  14790. },
  14791. "curaverageprice": {
  14792. "description": "期末均价",
  14793. "type": "number"
  14794. },
  14795. "curbuyamount": {
  14796. "description": "期末采购总额",
  14797. "type": "number"
  14798. },
  14799. "curbuyqty": {
  14800. "description": "期末采购总量",
  14801. "type": "number"
  14802. },
  14803. "curmarketvalue": {
  14804. "description": "参考市值(期末市值)",
  14805. "type": "number"
  14806. },
  14807. "curqty": {
  14808. "description": "期末量",
  14809. "type": "number"
  14810. },
  14811. "currencyid": {
  14812. "description": "结算币种ID【原值】",
  14813. "type": "integer"
  14814. },
  14815. "currencyname": {
  14816. "description": "币种名称",
  14817. "type": "string"
  14818. },
  14819. "cursellamount": {
  14820. "description": "期末销售总额",
  14821. "type": "number"
  14822. },
  14823. "cursellqty": {
  14824. "description": "期末销售总量",
  14825. "type": "number"
  14826. },
  14827. "curspotprice": {
  14828. "description": "参考市价(最新价)",
  14829. "type": "number"
  14830. },
  14831. "cycletime": {
  14832. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14833. "type": "string"
  14834. },
  14835. "cycletype": {
  14836. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14837. "type": "integer"
  14838. },
  14839. "deliverygoodscode": {
  14840. "description": "现货商品代码",
  14841. "type": "string"
  14842. },
  14843. "deliverygoodsid": {
  14844. "description": "现货品种ID",
  14845. "type": "integer"
  14846. },
  14847. "deliverygoodsname": {
  14848. "description": "现货商品名称",
  14849. "type": "string"
  14850. },
  14851. "enddate": {
  14852. "description": "结束交易日",
  14853. "type": "string"
  14854. },
  14855. "enumdicname": {
  14856. "description": "现货商品单位名称",
  14857. "type": "string"
  14858. },
  14859. "floatpl": {
  14860. "description": "浮动损益",
  14861. "type": "number"
  14862. },
  14863. "goodsunitid": {
  14864. "description": "现货商品单位id",
  14865. "type": "integer"
  14866. },
  14867. "oriamount": {
  14868. "description": "期初额",
  14869. "type": "number"
  14870. },
  14871. "oriaverageprice": {
  14872. "description": "期初均价",
  14873. "type": "number"
  14874. },
  14875. "oribuyamount": {
  14876. "description": "期初采购总额",
  14877. "type": "number"
  14878. },
  14879. "oribuyqty": {
  14880. "description": "期初采购总量",
  14881. "type": "number"
  14882. },
  14883. "oriqty": {
  14884. "description": "期初量",
  14885. "type": "number"
  14886. },
  14887. "orisellamount": {
  14888. "description": "期初销售总额",
  14889. "type": "number"
  14890. },
  14891. "orisellqty": {
  14892. "description": "期初销售总量",
  14893. "type": "number"
  14894. },
  14895. "reckondate": {
  14896. "description": "日照时期(yyyyMMdd)",
  14897. "type": "string"
  14898. },
  14899. "spotgoodsbrandid": {
  14900. "description": "现货品牌ID",
  14901. "type": "integer"
  14902. },
  14903. "todaybuyamount": {
  14904. "description": "今日采购额(今采购额)",
  14905. "type": "number"
  14906. },
  14907. "todaybuyaverageprice": {
  14908. "description": "今日采购均价",
  14909. "type": "number"
  14910. },
  14911. "todaybuyqty": {
  14912. "description": "今日采购量(今采购量)",
  14913. "type": "number"
  14914. },
  14915. "todayinqty": {
  14916. "description": "今日入库量(今入库量)",
  14917. "type": "number"
  14918. },
  14919. "todayoutqty": {
  14920. "description": "今日出库量(今出库量)",
  14921. "type": "number"
  14922. },
  14923. "todaysellamount": {
  14924. "description": "今日销售额(今销售额)",
  14925. "type": "number"
  14926. },
  14927. "todaysellaverageprice": {
  14928. "description": "今日销售均价",
  14929. "type": "number"
  14930. },
  14931. "todaysellqty": {
  14932. "description": "今日销售量(今销售量)",
  14933. "type": "number"
  14934. },
  14935. "unitid": {
  14936. "description": "品类单位id",
  14937. "type": "integer"
  14938. },
  14939. "unitidname": {
  14940. "description": "品类单位名称",
  14941. "type": "string"
  14942. },
  14943. "updatetime": {
  14944. "description": "更新时间",
  14945. "type": "string"
  14946. },
  14947. "wrfactortypeid": {
  14948. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14949. "type": "integer"
  14950. },
  14951. "wrstandardcode": {
  14952. "description": "品类代码",
  14953. "type": "string"
  14954. },
  14955. "wrstandardid": {
  14956. "description": "现货品类ID",
  14957. "type": "integer"
  14958. },
  14959. "wrstandardname": {
  14960. "description": "品类名称",
  14961. "type": "string"
  14962. }
  14963. }
  14964. },
  14965. "models.Ermcp3AreaStock": {
  14966. "type": "object",
  14967. "required": [
  14968. "userid"
  14969. ],
  14970. "properties": {
  14971. "brandname": {
  14972. "description": "品牌名称",
  14973. "type": "string"
  14974. },
  14975. "curstock": {
  14976. "description": "期末库存量(今日量)",
  14977. "type": "number"
  14978. },
  14979. "deliverygoodscode": {
  14980. "description": "现货品种代码",
  14981. "type": "string"
  14982. },
  14983. "deliverygoodsid": {
  14984. "description": "现货品种id",
  14985. "type": "integer"
  14986. },
  14987. "deliverygoodsname": {
  14988. "description": "现货品种名称",
  14989. "type": "string"
  14990. },
  14991. "enumdicname": {
  14992. "description": "单位名称",
  14993. "type": "string"
  14994. },
  14995. "goodsunitid": {
  14996. "description": "现货商品单位id",
  14997. "type": "integer"
  14998. },
  14999. "oristock": {
  15000. "description": "期初库存量(昨日量)",
  15001. "type": "number"
  15002. },
  15003. "spotgoodsbrandid": {
  15004. "description": "现货品牌ID",
  15005. "type": "integer"
  15006. },
  15007. "todaybuyinqty": {
  15008. "description": "今日采购入库量",
  15009. "type": "number"
  15010. },
  15011. "todayproduceinqty": {
  15012. "description": "今日生产入库量",
  15013. "type": "number"
  15014. },
  15015. "todayproduceoutqty": {
  15016. "description": "今日生产出库量",
  15017. "type": "number"
  15018. },
  15019. "todayselloutqty": {
  15020. "description": "今日销售出库量",
  15021. "type": "number"
  15022. },
  15023. "unitid": {
  15024. "description": "单位id",
  15025. "type": "integer"
  15026. },
  15027. "updatetime": {
  15028. "description": "更新时间",
  15029. "type": "string"
  15030. },
  15031. "userid": {
  15032. "description": "机构ID",
  15033. "type": "integer"
  15034. },
  15035. "username": {
  15036. "description": "机构名称",
  15037. "type": "string"
  15038. },
  15039. "warehousecode": {
  15040. "description": "仓库代码",
  15041. "type": "string"
  15042. },
  15043. "warehouseinfoid": {
  15044. "description": "仓库ID",
  15045. "type": "string"
  15046. },
  15047. "warehousename": {
  15048. "description": "仓库名称",
  15049. "type": "string"
  15050. },
  15051. "warehousetype": {
  15052. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15053. "type": "integer"
  15054. },
  15055. "wrstandardcode": {
  15056. "description": "品类代码",
  15057. "type": "string"
  15058. },
  15059. "wrstandardid": {
  15060. "description": "品类ID",
  15061. "type": "string"
  15062. },
  15063. "wrstandardname": {
  15064. "description": "品类名称",
  15065. "type": "string"
  15066. }
  15067. }
  15068. },
  15069. "models.Ermcp3AreaStockApply": {
  15070. "type": "object",
  15071. "properties": {
  15072. "applyid": {
  15073. "description": "申请人",
  15074. "type": "integer"
  15075. },
  15076. "applyname": {
  15077. "description": "申请人名称",
  15078. "type": "string"
  15079. },
  15080. "applyremark": {
  15081. "description": "申请备注",
  15082. "type": "string"
  15083. },
  15084. "applysrc": {
  15085. "description": "申请来源 - 1:管理端 2:终端",
  15086. "type": "integer"
  15087. },
  15088. "applystatus": {
  15089. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15090. "type": "integer"
  15091. },
  15092. "applytime": {
  15093. "description": "申请时间",
  15094. "type": "string"
  15095. },
  15096. "auditid": {
  15097. "description": "审核人",
  15098. "type": "integer"
  15099. },
  15100. "auditname": {
  15101. "description": "审核人名称",
  15102. "type": "string"
  15103. },
  15104. "auditremark": {
  15105. "description": "审核备注",
  15106. "type": "string"
  15107. },
  15108. "auditsrc": {
  15109. "description": "审核来源 - 1:管理端 2:终端",
  15110. "type": "integer"
  15111. },
  15112. "audittime": {
  15113. "description": "审核时间",
  15114. "type": "string"
  15115. },
  15116. "audittradedate": {
  15117. "description": "审核交易日(yyyyMMdd)",
  15118. "type": "string"
  15119. },
  15120. "brandname": {
  15121. "description": "品牌名称",
  15122. "type": "string"
  15123. },
  15124. "buynickname": {
  15125. "description": "采购方昵称",
  15126. "type": "string"
  15127. },
  15128. "buyuserid": {
  15129. "description": "采购方userid",
  15130. "type": "integer"
  15131. },
  15132. "buyusername": {
  15133. "description": "采购方名称",
  15134. "type": "string"
  15135. },
  15136. "contractno": {
  15137. "description": "合同编号",
  15138. "type": "string"
  15139. },
  15140. "contractqty": {
  15141. "description": "合同量",
  15142. "type": "number"
  15143. },
  15144. "contracttype": {
  15145. "description": "现货合同类型 - 1:采购 -1:销售",
  15146. "type": "integer"
  15147. },
  15148. "deliverygoodscode": {
  15149. "description": "现货品种代码",
  15150. "type": "string"
  15151. },
  15152. "deliverygoodsid": {
  15153. "description": "现货品种id",
  15154. "type": "integer"
  15155. },
  15156. "deliverygoodsname": {
  15157. "description": "现货品种名称",
  15158. "type": "string"
  15159. },
  15160. "detailjson": {
  15161. "description": "明细数据",
  15162. "type": "string"
  15163. },
  15164. "enumdicname": {
  15165. "description": "现货商品单位名称",
  15166. "type": "string"
  15167. },
  15168. "inoutapplyid": {
  15169. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15170. "type": "string"
  15171. },
  15172. "inouttype": {
  15173. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15174. "type": "integer"
  15175. },
  15176. "pricetype": {
  15177. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15178. "type": "integer"
  15179. },
  15180. "qty": {
  15181. "description": "数量",
  15182. "type": "number"
  15183. },
  15184. "sellnickname": {
  15185. "description": "销售方昵称",
  15186. "type": "string"
  15187. },
  15188. "selluserid": {
  15189. "description": "销售方userid",
  15190. "type": "integer"
  15191. },
  15192. "sellusername": {
  15193. "description": "销售方名称",
  15194. "type": "string"
  15195. },
  15196. "spotcontractid": {
  15197. "description": "关联现货合同ID",
  15198. "type": "string"
  15199. },
  15200. "spotgoodsbrandid": {
  15201. "description": "现货品牌ID",
  15202. "type": "integer"
  15203. },
  15204. "unitid": {
  15205. "description": "单位id",
  15206. "type": "integer"
  15207. },
  15208. "userid": {
  15209. "description": "机构ID",
  15210. "type": "integer"
  15211. },
  15212. "warehousecode": {
  15213. "description": "仓库代码",
  15214. "type": "string"
  15215. },
  15216. "warehouseinfoid": {
  15217. "description": "现货仓库ID",
  15218. "type": "string"
  15219. },
  15220. "warehousename": {
  15221. "description": "仓库名称",
  15222. "type": "string"
  15223. },
  15224. "warehousetype": {
  15225. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15226. "type": "integer"
  15227. },
  15228. "wrstandardcode": {
  15229. "description": "品类代码",
  15230. "type": "string"
  15231. },
  15232. "wrstandardid": {
  15233. "description": "品类ID",
  15234. "type": "integer"
  15235. },
  15236. "wrstandardname": {
  15237. "description": "品类名称",
  15238. "type": "string"
  15239. }
  15240. }
  15241. },
  15242. "models.Ermcp3AreaStockApplySum": {
  15243. "type": "object",
  15244. "properties": {
  15245. "brandname": {
  15246. "description": "品牌名称",
  15247. "type": "string"
  15248. },
  15249. "inouttype": {
  15250. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15251. "type": "integer"
  15252. },
  15253. "spotcontractid": {
  15254. "description": "关联现货合同ID",
  15255. "type": "string"
  15256. },
  15257. "spotgoodsbrandid": {
  15258. "description": "品牌id",
  15259. "type": "integer"
  15260. },
  15261. "totalqty": {
  15262. "description": "总数量",
  15263. "type": "number"
  15264. },
  15265. "wrstandardid": {
  15266. "description": "品类id",
  15267. "type": "integer"
  15268. },
  15269. "wrstandardname": {
  15270. "description": "品类名称",
  15271. "type": "string"
  15272. }
  15273. }
  15274. },
  15275. "models.Ermcp3AreaStockReportEx": {
  15276. "type": "object",
  15277. "properties": {
  15278. "begindate": {
  15279. "description": "开始交易日",
  15280. "type": "string"
  15281. },
  15282. "brandname": {
  15283. "description": "品牌名称",
  15284. "type": "string"
  15285. },
  15286. "curstock": {
  15287. "description": "期末库存量",
  15288. "type": "number"
  15289. },
  15290. "cycletime": {
  15291. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15292. "type": "string"
  15293. },
  15294. "cycletype": {
  15295. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15296. "type": "integer"
  15297. },
  15298. "deliverygoodscode": {
  15299. "description": "现货品种代码",
  15300. "type": "string"
  15301. },
  15302. "deliverygoodsid": {
  15303. "description": "现货品种id",
  15304. "type": "integer"
  15305. },
  15306. "deliverygoodsname": {
  15307. "description": "现货品种名称",
  15308. "type": "string"
  15309. },
  15310. "diffqty": {
  15311. "description": "库存变化量 = 期末 - 期初",
  15312. "type": "number"
  15313. },
  15314. "enddate": {
  15315. "description": "结束交易日",
  15316. "type": "string"
  15317. },
  15318. "enumdicname": {
  15319. "description": "单位名称",
  15320. "type": "string"
  15321. },
  15322. "goodsunitid": {
  15323. "description": "现货单位id",
  15324. "type": "integer"
  15325. },
  15326. "oristock": {
  15327. "description": "期初库存量",
  15328. "type": "number"
  15329. },
  15330. "reckondate": {
  15331. "description": "日照时期(yyyyMMdd)",
  15332. "type": "string"
  15333. },
  15334. "spotgoodsbrandid": {
  15335. "description": "现货品牌ID",
  15336. "type": "integer"
  15337. },
  15338. "todaybuyinqty": {
  15339. "description": "今采购入库量",
  15340. "type": "number"
  15341. },
  15342. "todayproduceinqty": {
  15343. "description": "今内部入库量",
  15344. "type": "number"
  15345. },
  15346. "todayproduceoutqty": {
  15347. "description": "今内部出库量",
  15348. "type": "number"
  15349. },
  15350. "todayselloutqty": {
  15351. "description": "今销售出库量",
  15352. "type": "number"
  15353. },
  15354. "unbuyinqty": {
  15355. "description": "采购未入库量(数据库未找到相关字段?)",
  15356. "type": "number"
  15357. },
  15358. "unitid": {
  15359. "description": "品类单位id",
  15360. "type": "integer"
  15361. },
  15362. "unselloutqty": {
  15363. "description": "销售未出库量(数据库未找到相关字段?)",
  15364. "type": "number"
  15365. },
  15366. "updatetime": {
  15367. "description": "更新时间",
  15368. "type": "string"
  15369. },
  15370. "userid": {
  15371. "description": "机构ID",
  15372. "type": "integer"
  15373. },
  15374. "username": {
  15375. "description": "机构名称",
  15376. "type": "string"
  15377. },
  15378. "warehousecode": {
  15379. "description": "仓库代码",
  15380. "type": "string"
  15381. },
  15382. "warehouseinfoid": {
  15383. "description": "仓库ID",
  15384. "type": "string"
  15385. },
  15386. "warehousename": {
  15387. "description": "仓库名称",
  15388. "type": "string"
  15389. },
  15390. "warehousetype": {
  15391. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15392. "type": "integer"
  15393. },
  15394. "wrstandardcode": {
  15395. "description": "品类代码",
  15396. "type": "string"
  15397. },
  15398. "wrstandardid": {
  15399. "description": "品类ID",
  15400. "type": "integer"
  15401. },
  15402. "wrstandardname": {
  15403. "description": "品类名称",
  15404. "type": "string"
  15405. }
  15406. }
  15407. },
  15408. "models.Ermcp3ArealSumPL": {
  15409. "type": "object",
  15410. "properties": {
  15411. "accountname": {
  15412. "description": "机构名称",
  15413. "type": "string"
  15414. },
  15415. "areauserid": {
  15416. "description": "所属机构\\交易用户ID",
  15417. "type": "integer"
  15418. },
  15419. "begindate": {
  15420. "description": "开始交易日",
  15421. "type": "string"
  15422. },
  15423. "currencyid": {
  15424. "description": "结算币种ID",
  15425. "type": "integer"
  15426. },
  15427. "currencyname": {
  15428. "description": "币种名称",
  15429. "type": "string"
  15430. },
  15431. "cycletime": {
  15432. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15433. "type": "string"
  15434. },
  15435. "cycletype": {
  15436. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15437. "type": "integer"
  15438. },
  15439. "enddate": {
  15440. "description": "结束交易日",
  15441. "type": "string"
  15442. },
  15443. "enumdicname": {
  15444. "description": "单位名称(套保品种)",
  15445. "type": "string"
  15446. },
  15447. "futureactualpl": {
  15448. "description": "期货损益",
  15449. "type": "number"
  15450. },
  15451. "futurefloatpl": {
  15452. "description": "期货浮动损益",
  15453. "type": "number"
  15454. },
  15455. "goodsunitid": {
  15456. "description": "套保品种单位id",
  15457. "type": "integer"
  15458. },
  15459. "middlegoodscode": {
  15460. "description": "套保品种代码",
  15461. "type": "string"
  15462. },
  15463. "middlegoodsid": {
  15464. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15465. "type": "integer"
  15466. },
  15467. "middlegoodsname": {
  15468. "description": "套保品种名称",
  15469. "type": "string"
  15470. },
  15471. "reckondate": {
  15472. "description": "日照时期(yyyyMMdd)",
  15473. "type": "string"
  15474. },
  15475. "spotactualpl": {
  15476. "description": "现货损益",
  15477. "type": "number"
  15478. },
  15479. "spotfloatpl": {
  15480. "description": "现货浮动损益",
  15481. "type": "number"
  15482. },
  15483. "sumactualpl": {
  15484. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15485. "type": "number"
  15486. },
  15487. "sumpl": {
  15488. "description": "汇总损益",
  15489. "type": "number"
  15490. },
  15491. "updatetime": {
  15492. "description": "更新时间",
  15493. "type": "string"
  15494. }
  15495. }
  15496. },
  15497. "models.Ermcp3Brand": {
  15498. "type": "object",
  15499. "properties": {
  15500. "areauserid": {
  15501. "description": "用户id",
  15502. "type": "integer"
  15503. },
  15504. "brandid": {
  15505. "description": "品牌id",
  15506. "type": "integer"
  15507. },
  15508. "brandname": {
  15509. "description": "品牌名称",
  15510. "type": "string"
  15511. },
  15512. "deliverygoodsid": {
  15513. "description": "品种ID",
  15514. "type": "integer"
  15515. }
  15516. }
  15517. },
  15518. "models.Ermcp3Contract": {
  15519. "type": "object",
  15520. "properties": {
  15521. "accountid": {
  15522. "description": "期货账户id",
  15523. "type": "string"
  15524. },
  15525. "amount": {
  15526. "description": "金额 [1:一口价、3:暂定价]",
  15527. "type": "number"
  15528. },
  15529. "attachment": {
  15530. "description": "附件",
  15531. "type": "string"
  15532. },
  15533. "auditremark": {
  15534. "description": "审核意见",
  15535. "type": "string"
  15536. },
  15537. "audittime": {
  15538. "description": "审核时间",
  15539. "type": "string"
  15540. },
  15541. "biztype": {
  15542. "description": "业务类型 1-套保 2-套利",
  15543. "type": "integer"
  15544. },
  15545. "brandname": {
  15546. "description": "品牌名称",
  15547. "type": "string"
  15548. },
  15549. "buynickname": {
  15550. "description": "销售方昵称",
  15551. "type": "string"
  15552. },
  15553. "buyuserid": {
  15554. "description": "采购方ID",
  15555. "type": "integer"
  15556. },
  15557. "buyusername": {
  15558. "description": "采购方名称",
  15559. "type": "string"
  15560. },
  15561. "contracctstatus": {
  15562. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15563. "type": "integer"
  15564. },
  15565. "contractmargin": {
  15566. "description": "合同保证金",
  15567. "type": "number"
  15568. },
  15569. "contractno": {
  15570. "description": "现货合同编号",
  15571. "type": "string"
  15572. },
  15573. "contracttype": {
  15574. "description": "现货合同类型 - 1:采购 -1:销售",
  15575. "type": "integer"
  15576. },
  15577. "convertfactor": {
  15578. "description": "标仓系数(品类)",
  15579. "type": "number"
  15580. },
  15581. "createtime": {
  15582. "description": "创建时间",
  15583. "type": "string"
  15584. },
  15585. "currencyid": {
  15586. "description": "币种id",
  15587. "type": "integer"
  15588. },
  15589. "currencyname": {
  15590. "description": "币种名称",
  15591. "type": "string"
  15592. },
  15593. "deliveryenddate": {
  15594. "description": "交收期(结束)",
  15595. "type": "string"
  15596. },
  15597. "deliverygoodscode": {
  15598. "description": "现货品种代码",
  15599. "type": "string"
  15600. },
  15601. "deliverygoodsid": {
  15602. "description": "现货品种ID",
  15603. "type": "integer"
  15604. },
  15605. "deliverygoodsname": {
  15606. "description": "现货品种名称",
  15607. "type": "string"
  15608. },
  15609. "deliverystartdate": {
  15610. "description": "交收期(开始)",
  15611. "type": "string"
  15612. },
  15613. "enddate": {
  15614. "description": "点价结束日期 [2:点价 3:暂定价]",
  15615. "type": "string"
  15616. },
  15617. "enumdicname": {
  15618. "description": "单位名称",
  15619. "type": "string"
  15620. },
  15621. "goodscode": {
  15622. "description": "点价合约代码",
  15623. "type": "string"
  15624. },
  15625. "goodsid": {
  15626. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15627. "type": "integer"
  15628. },
  15629. "goodsname": {
  15630. "description": "点价商品名称",
  15631. "type": "string"
  15632. },
  15633. "margin": {
  15634. "description": "当前保证金",
  15635. "type": "number"
  15636. },
  15637. "meruserid": {
  15638. "description": "跟单员id",
  15639. "type": "integer"
  15640. },
  15641. "meruserlogincode": {
  15642. "description": "跟单员登录代码",
  15643. "type": "string"
  15644. },
  15645. "price": {
  15646. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15647. "type": "number"
  15648. },
  15649. "pricemove": {
  15650. "description": "升贴水 [2:点价 3:暂定价]",
  15651. "type": "number"
  15652. },
  15653. "pricetype": {
  15654. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15655. "type": "integer"
  15656. },
  15657. "producttype": {
  15658. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15659. "type": "integer"
  15660. },
  15661. "qty": {
  15662. "description": "数量",
  15663. "type": "number"
  15664. },
  15665. "remark": {
  15666. "description": "备注",
  15667. "type": "string"
  15668. },
  15669. "saleuserid": {
  15670. "description": "业务员id",
  15671. "type": "integer"
  15672. },
  15673. "saleuserlogincode": {
  15674. "description": "业务员登录代码",
  15675. "type": "string"
  15676. },
  15677. "sellnickname": {
  15678. "description": "采购方昵称",
  15679. "type": "string"
  15680. },
  15681. "selluserid": {
  15682. "description": "销售方ID",
  15683. "type": "integer"
  15684. },
  15685. "sellusername": {
  15686. "description": "销售方名称",
  15687. "type": "string"
  15688. },
  15689. "spotcontractid": {
  15690. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15691. "type": "string"
  15692. },
  15693. "spotgoodsbrandid": {
  15694. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15695. "type": "integer"
  15696. },
  15697. "spotgoodsdesc": {
  15698. "description": "商品型号",
  15699. "type": "string"
  15700. },
  15701. "startdate": {
  15702. "description": "点价开始日期 [2:点价 3:暂定价]",
  15703. "type": "string"
  15704. },
  15705. "tradeuserid": {
  15706. "description": "交易员id",
  15707. "type": "integer"
  15708. },
  15709. "tradeuserlogincode": {
  15710. "description": "交易员登录代码",
  15711. "type": "string"
  15712. },
  15713. "tradeusername": {
  15714. "description": "交易员名称",
  15715. "type": "string"
  15716. },
  15717. "unitid": {
  15718. "description": "单位id(取品类上的单位id)",
  15719. "type": "integer"
  15720. },
  15721. "updatetime": {
  15722. "description": "更新时间",
  15723. "type": "string"
  15724. },
  15725. "userid": {
  15726. "description": "所属机构ID",
  15727. "type": "integer"
  15728. },
  15729. "wrstandardcode": {
  15730. "description": "品类代码",
  15731. "type": "string"
  15732. },
  15733. "wrstandardid": {
  15734. "description": "品类ID",
  15735. "type": "integer"
  15736. },
  15737. "wrstandardname": {
  15738. "description": "品类名称",
  15739. "type": "string"
  15740. }
  15741. }
  15742. },
  15743. "models.Ermcp3ExposureContractDetail": {
  15744. "type": "object",
  15745. "properties": {
  15746. "biztype": {
  15747. "description": "业务类型 1-套保 2-套利",
  15748. "type": "integer"
  15749. },
  15750. "brandname": {
  15751. "description": "品牌名称",
  15752. "type": "string"
  15753. },
  15754. "buyuserid": {
  15755. "description": "采购方id",
  15756. "type": "integer"
  15757. },
  15758. "buyusername": {
  15759. "description": "采购方名称",
  15760. "type": "string"
  15761. },
  15762. "contractno": {
  15763. "description": "合同编号",
  15764. "type": "string"
  15765. },
  15766. "contracttype": {
  15767. "description": "现货合同类型 - 1:采购 -1:销售",
  15768. "type": "integer"
  15769. },
  15770. "convertfactor": {
  15771. "description": "标仓系数",
  15772. "type": "number"
  15773. },
  15774. "convertratio": {
  15775. "description": "折算系数(套保品种)",
  15776. "type": "number"
  15777. },
  15778. "curqty": {
  15779. "description": "今定价量",
  15780. "type": "number"
  15781. },
  15782. "deliverygoodscode": {
  15783. "description": "现货商品代码",
  15784. "type": "string"
  15785. },
  15786. "deliverygoodsid": {
  15787. "description": "现货商品id",
  15788. "type": "integer"
  15789. },
  15790. "deliverygoodsname": {
  15791. "description": "现货商品名称",
  15792. "type": "string"
  15793. },
  15794. "diffhedgeqty": {
  15795. "description": "套保变动量",
  15796. "type": "number"
  15797. },
  15798. "diffneedhedgeqty": {
  15799. "description": "应套保变动量",
  15800. "type": "number"
  15801. },
  15802. "diffqty": {
  15803. "description": "套保品种今变动量",
  15804. "type": "number"
  15805. },
  15806. "enumdicname": {
  15807. "description": "单位名称",
  15808. "type": "string"
  15809. },
  15810. "middlegoodscode": {
  15811. "description": "套保品种代码",
  15812. "type": "string"
  15813. },
  15814. "middlegoodsid": {
  15815. "description": "套保品种id",
  15816. "type": "integer"
  15817. },
  15818. "middlegoodsname": {
  15819. "description": "套保品种名称",
  15820. "type": "string"
  15821. },
  15822. "needarbitrageratio": {
  15823. "description": "应套利比例",
  15824. "type": "number"
  15825. },
  15826. "needhedgeratio": {
  15827. "description": "应套保比例",
  15828. "type": "number"
  15829. },
  15830. "pricedqty": {
  15831. "description": "已定价量",
  15832. "type": "number"
  15833. },
  15834. "qty": {
  15835. "description": "合同量",
  15836. "type": "number"
  15837. },
  15838. "selluserid": {
  15839. "description": "销售方id",
  15840. "type": "integer"
  15841. },
  15842. "sellusername": {
  15843. "description": "销售方名称",
  15844. "type": "string"
  15845. },
  15846. "spotcontractid": {
  15847. "description": "合同id",
  15848. "type": "string"
  15849. },
  15850. "todaypricedqty": {
  15851. "description": "今定价量",
  15852. "type": "number"
  15853. },
  15854. "tradedate": {
  15855. "description": "交易日",
  15856. "type": "string"
  15857. },
  15858. "unitid": {
  15859. "description": "品类单位id",
  15860. "type": "integer"
  15861. },
  15862. "userid": {
  15863. "description": "机构id",
  15864. "type": "integer"
  15865. },
  15866. "wrstandardcode": {
  15867. "description": "品类代码",
  15868. "type": "string"
  15869. },
  15870. "wrstandardid": {
  15871. "description": "品类id",
  15872. "type": "integer"
  15873. },
  15874. "wrstandardname": {
  15875. "description": "品类名称",
  15876. "type": "string"
  15877. }
  15878. }
  15879. },
  15880. "models.Ermcp3ExposureDetail": {
  15881. "type": "object",
  15882. "properties": {
  15883. "areauserid": {
  15884. "description": "机构ID",
  15885. "type": "integer"
  15886. },
  15887. "changeQty": {
  15888. "description": "套保变动量",
  15889. "type": "number"
  15890. },
  15891. "contracttype": {
  15892. "description": "现货合同类型 - 1:采购 -1:销售",
  15893. "type": "integer"
  15894. },
  15895. "convertfactor": {
  15896. "description": "标仓系数",
  15897. "type": "number"
  15898. },
  15899. "convertratio": {
  15900. "description": "套保系数",
  15901. "type": "number"
  15902. },
  15903. "createtime": {
  15904. "description": "时间",
  15905. "type": "string"
  15906. },
  15907. "deliverygoodscode": {
  15908. "description": "现货品种代码",
  15909. "type": "string"
  15910. },
  15911. "deliverygoodsid": {
  15912. "description": "现货品种id",
  15913. "type": "integer"
  15914. },
  15915. "deliverygoodsname": {
  15916. "description": "现货品种名称",
  15917. "type": "string"
  15918. },
  15919. "enumdicname": {
  15920. "description": "现货商品单位名称",
  15921. "type": "string"
  15922. },
  15923. "logtype": {
  15924. "description": "类型 - 1:套保计划 2:现货合同",
  15925. "type": "integer"
  15926. },
  15927. "mgunitid": {
  15928. "description": "套保品种单位id",
  15929. "type": "integer"
  15930. },
  15931. "mgunitidname": {
  15932. "description": "套保品种单位名称",
  15933. "type": "string"
  15934. },
  15935. "middlegoodsId": {
  15936. "description": "套保商品id",
  15937. "type": "integer"
  15938. },
  15939. "middlegoodscode": {
  15940. "description": "套保商品代码",
  15941. "type": "string"
  15942. },
  15943. "middlegoodsname": {
  15944. "description": "套保商品名称",
  15945. "type": "string"
  15946. },
  15947. "qty": {
  15948. "description": "数量",
  15949. "type": "number"
  15950. },
  15951. "relateNo": {
  15952. "description": "现货合同/套保计划编号",
  15953. "type": "string"
  15954. }
  15955. }
  15956. },
  15957. "models.Ermcp3ExposureFutuDetail": {
  15958. "type": "object",
  15959. "properties": {
  15960. "accountid": {
  15961. "description": "交易账户id",
  15962. "type": "integer"
  15963. },
  15964. "accountname": {
  15965. "description": "交易账户",
  15966. "type": "string"
  15967. },
  15968. "begindate": {
  15969. "description": "开始交易日",
  15970. "type": "string"
  15971. },
  15972. "buyorsell": {
  15973. "description": "方向 0-买 1-卖",
  15974. "type": "integer"
  15975. },
  15976. "diffmgqty": {
  15977. "description": "套保品种今变化量",
  15978. "type": "number"
  15979. },
  15980. "diffneedqty": {
  15981. "description": "应套保总量变化量",
  15982. "type": "number"
  15983. },
  15984. "difftradeqty": {
  15985. "description": "交易品种今变化量",
  15986. "type": "number"
  15987. },
  15988. "enddate": {
  15989. "description": "结束交易日",
  15990. "type": "string"
  15991. },
  15992. "enumdicname": {
  15993. "description": "单位名称",
  15994. "type": "string"
  15995. },
  15996. "goodscode": {
  15997. "description": "商品代码",
  15998. "type": "string"
  15999. },
  16000. "goodsid": {
  16001. "description": "商品id",
  16002. "type": "integer"
  16003. },
  16004. "goodsname": {
  16005. "description": "商品名称",
  16006. "type": "string"
  16007. },
  16008. "holdqty": {
  16009. "description": "期末持仓量",
  16010. "type": "number"
  16011. },
  16012. "middlegoodscode": {
  16013. "description": "套保商品代码",
  16014. "type": "string"
  16015. },
  16016. "middlegoodsid": {
  16017. "description": "套保商品id",
  16018. "type": "integer"
  16019. },
  16020. "middlegoodsname": {
  16021. "description": "套保商品名称",
  16022. "type": "string"
  16023. },
  16024. "oriholdqty": {
  16025. "description": "期初持仓量",
  16026. "type": "number"
  16027. },
  16028. "todaycloseqty": {
  16029. "description": "今平仓量",
  16030. "type": "number"
  16031. },
  16032. "todayopenqty": {
  16033. "description": "今开仓量",
  16034. "type": "number"
  16035. },
  16036. "tradedate": {
  16037. "description": "交易日",
  16038. "type": "string"
  16039. }
  16040. }
  16041. },
  16042. "models.Ermcp3ExposureHedgeplanDetail": {
  16043. "type": "object",
  16044. "properties": {
  16045. "biztype": {
  16046. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16047. "type": "integer"
  16048. },
  16049. "changqty": {
  16050. "description": "应套保总量变化量",
  16051. "type": "number"
  16052. },
  16053. "contracttype": {
  16054. "description": "计划类型 - 1:采购 -1:销售",
  16055. "type": "integer"
  16056. },
  16057. "convertratio": {
  16058. "description": "折算系数(套保品种)",
  16059. "type": "number"
  16060. },
  16061. "deliverygoodscode": {
  16062. "description": "现货商品代码",
  16063. "type": "string"
  16064. },
  16065. "deliverygoodsid": {
  16066. "description": "现货商品id",
  16067. "type": "integer"
  16068. },
  16069. "deliverygoodsname": {
  16070. "description": "现货商吕名称",
  16071. "type": "string"
  16072. },
  16073. "dgunitid": {
  16074. "description": "现货商品单位id",
  16075. "type": "integer"
  16076. },
  16077. "dgunitidname": {
  16078. "description": "单位名称(现货商品)",
  16079. "type": "string"
  16080. },
  16081. "diffqty": {
  16082. "description": "套保品种今变动量",
  16083. "type": "number"
  16084. },
  16085. "enumdicname": {
  16086. "description": "单位名称(品类)",
  16087. "type": "string"
  16088. },
  16089. "hedgeplanid": {
  16090. "description": "套保计划id",
  16091. "type": "string"
  16092. },
  16093. "hedgeplanno": {
  16094. "description": "套保计划名称",
  16095. "type": "string"
  16096. },
  16097. "hedgeplanstatus": {
  16098. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16099. "type": "integer"
  16100. },
  16101. "mgunitidname": {
  16102. "description": "单位名称(套保商品)",
  16103. "type": "string"
  16104. },
  16105. "middlegoodscode": {
  16106. "description": "套保品种代码",
  16107. "type": "string"
  16108. },
  16109. "middlegoodsid": {
  16110. "description": "套保品种id",
  16111. "type": "integer"
  16112. },
  16113. "middlegoodsname": {
  16114. "description": "套保品种名称",
  16115. "type": "string"
  16116. },
  16117. "needarbitrageratio": {
  16118. "description": "应套利比例",
  16119. "type": "number"
  16120. },
  16121. "needhedgeratio": {
  16122. "description": "应套保比例",
  16123. "type": "number"
  16124. },
  16125. "pricedqty": {
  16126. "description": "已定价量",
  16127. "type": "number"
  16128. },
  16129. "qty": {
  16130. "description": "合同量",
  16131. "type": "number"
  16132. },
  16133. "tradedate": {
  16134. "description": "交易日(登记日)",
  16135. "type": "string"
  16136. },
  16137. "unitid": {
  16138. "description": "品类单位id",
  16139. "type": "integer"
  16140. },
  16141. "userid": {
  16142. "description": "机构id",
  16143. "type": "integer"
  16144. },
  16145. "wrstandardcode": {
  16146. "description": "品类代码",
  16147. "type": "string"
  16148. },
  16149. "wrstandardid": {
  16150. "description": "品类id",
  16151. "type": "integer"
  16152. },
  16153. "wrstandardname": {
  16154. "description": "品类名称",
  16155. "type": "string"
  16156. }
  16157. }
  16158. },
  16159. "models.Ermcp3ExpourseReport": {
  16160. "type": "object",
  16161. "properties": {
  16162. "accountid": {
  16163. "description": "期货账户ID (作废, 默认为0)",
  16164. "type": "integer"
  16165. },
  16166. "accountname": {
  16167. "description": "机构名称",
  16168. "type": "string"
  16169. },
  16170. "arbitrageqty": {
  16171. "description": "套利量",
  16172. "type": "number"
  16173. },
  16174. "areauserid": {
  16175. "description": "所属机构\\交易用户ID",
  16176. "type": "integer"
  16177. },
  16178. "begindate": {
  16179. "description": "开始交易日",
  16180. "type": "string"
  16181. },
  16182. "buyfutureqty": {
  16183. "description": "买入期货数量",
  16184. "type": "number"
  16185. },
  16186. "buyplanqty": {
  16187. "description": "采购计划数量",
  16188. "type": "number"
  16189. },
  16190. "buypricedqty": {
  16191. "description": "采购合同已定价数量",
  16192. "type": "number"
  16193. },
  16194. "cycletime": {
  16195. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16196. "type": "string"
  16197. },
  16198. "cycletype": {
  16199. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16200. "type": "integer"
  16201. },
  16202. "diffexposure": {
  16203. "description": "变动量(套保敞口)",
  16204. "type": "number"
  16205. },
  16206. "difffutuqty": {
  16207. "description": "变动量(期货)",
  16208. "type": "number"
  16209. },
  16210. "diffhedgeqty": {
  16211. "description": "变动量(现货应套保总量)",
  16212. "type": "number"
  16213. },
  16214. "diffmgqtya": {
  16215. "description": "套保变动量",
  16216. "type": "number"
  16217. },
  16218. "diffmgqtyb": {
  16219. "description": "套利变动量",
  16220. "type": "number"
  16221. },
  16222. "diffqty": {
  16223. "description": "变动量(总敞口)",
  16224. "type": "number"
  16225. },
  16226. "diffspotqty": {
  16227. "description": "变动量(现货)",
  16228. "type": "number"
  16229. },
  16230. "enddate": {
  16231. "description": "结束交易日",
  16232. "type": "string"
  16233. },
  16234. "enumdicname": {
  16235. "description": "单位名称",
  16236. "type": "string"
  16237. },
  16238. "hedgeqty": {
  16239. "description": "套保量",
  16240. "type": "number"
  16241. },
  16242. "mgneedhedgeratio": {
  16243. "description": "套保比例(套保品的)",
  16244. "type": "number"
  16245. },
  16246. "middlegoodsid": {
  16247. "description": "套保品种ID",
  16248. "type": "integer"
  16249. },
  16250. "middlegoodsname": {
  16251. "description": "套保商品名称",
  16252. "type": "string"
  16253. },
  16254. "middlgoodscode": {
  16255. "description": "套保商品代码",
  16256. "type": "string"
  16257. },
  16258. "needarbitrageqty": {
  16259. "description": "应套利量",
  16260. "type": "number"
  16261. },
  16262. "needarbitrageratio": {
  16263. "description": "套利比例(套保品的)",
  16264. "type": "number"
  16265. },
  16266. "needhedgeexposoure": {
  16267. "description": "应套保敞口(套保敞口)",
  16268. "type": "number"
  16269. },
  16270. "needhedgeqty": {
  16271. "description": "应套保量",
  16272. "type": "number"
  16273. },
  16274. "needhedgeratio": {
  16275. "description": "应套保敞口比例",
  16276. "type": "number"
  16277. },
  16278. "oriarbitrageqty": {
  16279. "description": "期初套利量",
  16280. "type": "number"
  16281. },
  16282. "oribuyfutureqty": {
  16283. "description": "期初买入期货数量",
  16284. "type": "number"
  16285. },
  16286. "oribuyplanqty": {
  16287. "description": "期初采购计划数量",
  16288. "type": "number"
  16289. },
  16290. "oribuypricedqty": {
  16291. "description": "期初采购合同已定价数量",
  16292. "type": "number"
  16293. },
  16294. "orihedgeqty": {
  16295. "description": "期初套保量",
  16296. "type": "number"
  16297. },
  16298. "orineedarbitrageqty": {
  16299. "description": "期初应套利量",
  16300. "type": "number"
  16301. },
  16302. "orineedhedgeexposoure": {
  16303. "description": "期初应套保敞口",
  16304. "type": "number"
  16305. },
  16306. "orineedhedgeqty": {
  16307. "description": "期初应套保量",
  16308. "type": "number"
  16309. },
  16310. "orisellfutureqty": {
  16311. "description": "期初卖出期货数量",
  16312. "type": "number"
  16313. },
  16314. "orisellplanqty": {
  16315. "description": "期初销售计划数量",
  16316. "type": "number"
  16317. },
  16318. "orisellpricedqty": {
  16319. "description": "期初销售合同已定价数量",
  16320. "type": "number"
  16321. },
  16322. "oritotalexposure": {
  16323. "description": "期初实时总敞口",
  16324. "type": "number"
  16325. },
  16326. "oritotalfutureqty": {
  16327. "description": "期初期货头寸总量",
  16328. "type": "number"
  16329. },
  16330. "oritotalneedhedgeqty": {
  16331. "description": "期初应套保总量",
  16332. "type": "number"
  16333. },
  16334. "oritotalspotqty": {
  16335. "description": "期初现货头寸总量",
  16336. "type": "number"
  16337. },
  16338. "reckondate": {
  16339. "description": "日照时期(yyyyMMdd)",
  16340. "type": "string"
  16341. },
  16342. "sellfutureqty": {
  16343. "description": "卖出期货数量",
  16344. "type": "number"
  16345. },
  16346. "sellplanqty": {
  16347. "description": "销售计划数量",
  16348. "type": "number"
  16349. },
  16350. "sellpricedqty": {
  16351. "description": "销售合同已定价数量",
  16352. "type": "number"
  16353. },
  16354. "totalexposure": {
  16355. "description": "实时总敞口(总敞口)",
  16356. "type": "number"
  16357. },
  16358. "totalfutureqty": {
  16359. "description": "期货头寸总量(期货总量)",
  16360. "type": "number"
  16361. },
  16362. "totalhedgeratio": {
  16363. "description": "敞口比例",
  16364. "type": "number"
  16365. },
  16366. "totalneedhedgeqty": {
  16367. "description": "应套保总量(现货应套保总量)",
  16368. "type": "number"
  16369. },
  16370. "totalspotqty": {
  16371. "description": "现货头寸总量",
  16372. "type": "number"
  16373. },
  16374. "unitid": {
  16375. "description": "单位id",
  16376. "type": "integer"
  16377. },
  16378. "updatetime": {
  16379. "description": "更新时间",
  16380. "type": "string"
  16381. }
  16382. }
  16383. },
  16384. "models.Ermcp3FinanceReport": {
  16385. "type": "object",
  16386. "properties": {
  16387. "accountname": {
  16388. "description": "机构名称",
  16389. "type": "string"
  16390. },
  16391. "areauserid": {
  16392. "description": "所属机构\\交易用户ID",
  16393. "type": "integer"
  16394. },
  16395. "begindate": {
  16396. "description": "开始交易日",
  16397. "type": "string"
  16398. },
  16399. "biztype": {
  16400. "description": "业务类型 - 1:套保 2:套利",
  16401. "type": "integer"
  16402. },
  16403. "brandname": {
  16404. "description": "品牌名称",
  16405. "type": "string"
  16406. },
  16407. "buypreinvoicedamount": {
  16408. "description": "采购预收票额(预收票额)",
  16409. "type": "number"
  16410. },
  16411. "buyprepaidamount": {
  16412. "description": "采购预付款额(预付货款额)",
  16413. "type": "number"
  16414. },
  16415. "buytodayinvoiceamount": {
  16416. "description": "采购今收票额(今收票额)",
  16417. "type": "number"
  16418. },
  16419. "buytodayrefundamount": {
  16420. "description": "采购今收退款额(今收退款额)",
  16421. "type": "number"
  16422. },
  16423. "buytodaysettleamount": {
  16424. "description": "采购今付款额(今付货款额)",
  16425. "type": "number"
  16426. },
  16427. "buyuninvoicedamount": {
  16428. "description": "采购应收票额(应收票额)",
  16429. "type": "number"
  16430. },
  16431. "buyunpaidamount": {
  16432. "description": "采购应付款额(应付货款额)",
  16433. "type": "number"
  16434. },
  16435. "currencyid": {
  16436. "description": "结算币种ID",
  16437. "type": "integer"
  16438. },
  16439. "currencyname": {
  16440. "description": "币种名称",
  16441. "type": "string"
  16442. },
  16443. "cycletime": {
  16444. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16445. "type": "string"
  16446. },
  16447. "cycletype": {
  16448. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16449. "type": "integer"
  16450. },
  16451. "deliverygoodscode": {
  16452. "description": "现货品种代码",
  16453. "type": "string"
  16454. },
  16455. "deliverygoodsid": {
  16456. "description": "现货品种ID",
  16457. "type": "integer"
  16458. },
  16459. "deliverygoodsname": {
  16460. "description": "现货品种名称",
  16461. "type": "string"
  16462. },
  16463. "enddate": {
  16464. "description": "结束交易日",
  16465. "type": "string"
  16466. },
  16467. "reckondate": {
  16468. "description": "日照时期(yyyyMMdd)",
  16469. "type": "string"
  16470. },
  16471. "sellpreinvoicedamount": {
  16472. "description": "销售预开票额(预开票额)",
  16473. "type": "number"
  16474. },
  16475. "sellprepaidamount": {
  16476. "description": "销售预收款额(预收货款额)",
  16477. "type": "number"
  16478. },
  16479. "selltodayinvoiceamount": {
  16480. "description": "销售今开票额(今开票额)",
  16481. "type": "number"
  16482. },
  16483. "selltodayrefundamount": {
  16484. "description": "销售今付退款额(今付退款额)",
  16485. "type": "number"
  16486. },
  16487. "selltodaysettleamount": {
  16488. "description": "销售今收款额(今收货款额)",
  16489. "type": "number"
  16490. },
  16491. "selluninvoicedamount": {
  16492. "description": "销售应开票额(应开票额)",
  16493. "type": "number"
  16494. },
  16495. "sellunpaidamount": {
  16496. "description": "销售应收款额(应收货款额)",
  16497. "type": "number"
  16498. },
  16499. "spotgoodsbrandid": {
  16500. "description": "现货品牌ID",
  16501. "type": "integer"
  16502. },
  16503. "todaypaysum": {
  16504. "description": "今付款合计",
  16505. "type": "number"
  16506. },
  16507. "todayreceivesum": {
  16508. "description": "今收款合计",
  16509. "type": "number"
  16510. },
  16511. "updatetime": {
  16512. "description": "更新时间",
  16513. "type": "string"
  16514. },
  16515. "wrfactortypeid": {
  16516. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16517. "type": "integer"
  16518. },
  16519. "wrstandardcode": {
  16520. "description": "品类代码",
  16521. "type": "string"
  16522. },
  16523. "wrstandardid": {
  16524. "description": "现货商品ID",
  16525. "type": "integer"
  16526. },
  16527. "wrstandardname": {
  16528. "description": "品类名称",
  16529. "type": "string"
  16530. }
  16531. }
  16532. },
  16533. "models.Ermcp3Goods": {
  16534. "type": "object",
  16535. "properties": {
  16536. "agreeunit": {
  16537. "description": "合约单位(合约乘数)",
  16538. "type": "number"
  16539. },
  16540. "enumdicname": {
  16541. "description": "单位名称",
  16542. "type": "string"
  16543. },
  16544. "exexchangecode": {
  16545. "description": "交易所代码",
  16546. "type": "string"
  16547. },
  16548. "goodscode": {
  16549. "description": "期货商品代码",
  16550. "type": "string"
  16551. },
  16552. "goodsid": {
  16553. "description": "期货商品id",
  16554. "type": "integer"
  16555. },
  16556. "goodsname": {
  16557. "description": "期货商品名称",
  16558. "type": "string"
  16559. }
  16560. }
  16561. },
  16562. "models.Ermcp3GoodsGroup": {
  16563. "type": "object",
  16564. "required": [
  16565. "areauserid"
  16566. ],
  16567. "properties": {
  16568. "agreeunit": {
  16569. "description": "合约单位",
  16570. "type": "number"
  16571. },
  16572. "areauserid": {
  16573. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16574. "type": "integer"
  16575. },
  16576. "canshort": {
  16577. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16578. "type": "integer"
  16579. },
  16580. "closepricemode": {
  16581. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16582. "type": "integer"
  16583. },
  16584. "createtime": {
  16585. "description": "创建时间",
  16586. "type": "string"
  16587. },
  16588. "creatorid": {
  16589. "description": "创建人",
  16590. "type": "integer"
  16591. },
  16592. "currencyid": {
  16593. "description": "报价货币ID",
  16594. "type": "integer"
  16595. },
  16596. "decimalplace": {
  16597. "description": "报价小数位",
  16598. "type": "integer"
  16599. },
  16600. "enumdicname": {
  16601. "description": "单位名称",
  16602. "type": "string"
  16603. },
  16604. "exchangefullname": {
  16605. "description": "交易所全称",
  16606. "type": "string"
  16607. },
  16608. "excludecfg": {
  16609. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16610. "type": "integer"
  16611. },
  16612. "exexchangecode": {
  16613. "description": "交易所代码",
  16614. "type": "string"
  16615. },
  16616. "exexchangeid": {
  16617. "description": "外部交易所ID[通道交易]",
  16618. "type": "integer"
  16619. },
  16620. "exexchangename": {
  16621. "description": "交易所名称",
  16622. "type": "string"
  16623. },
  16624. "goodsgroupid": {
  16625. "description": "商品组ID(自增ID)",
  16626. "type": "integer"
  16627. },
  16628. "goodsgroupname": {
  16629. "description": "商品组名称",
  16630. "type": "string"
  16631. },
  16632. "goodsgroupstatus": {
  16633. "description": "商品组状态 - 1:正常 2:注销",
  16634. "type": "integer"
  16635. },
  16636. "goodunitid": {
  16637. "description": "报价单位ID",
  16638. "type": "integer"
  16639. },
  16640. "groupcategroyid": {
  16641. "description": "品种分类ID",
  16642. "type": "integer"
  16643. },
  16644. "innerdealmode": {
  16645. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16646. "type": "integer"
  16647. },
  16648. "marketid": {
  16649. "description": "所属市场ID",
  16650. "type": "integer"
  16651. },
  16652. "modifierid": {
  16653. "description": "修改人",
  16654. "type": "integer"
  16655. },
  16656. "modifytime": {
  16657. "description": "修改时间",
  16658. "type": "string"
  16659. },
  16660. "outerdealmode": {
  16661. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16662. "type": "integer"
  16663. },
  16664. "outergroupcode": {
  16665. "description": "外部商品组代码[通道交易]",
  16666. "type": "string"
  16667. },
  16668. "quoteminunit": {
  16669. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16670. "type": "integer"
  16671. },
  16672. "quotesourcegroupid": {
  16673. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16674. "type": "integer"
  16675. },
  16676. "syncgoodsqty": {
  16677. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16678. "type": "integer"
  16679. }
  16680. }
  16681. },
  16682. "models.Ermcp3GoodsGroupEx": {
  16683. "type": "object",
  16684. "properties": {
  16685. "convertratio": {
  16686. "description": "折算系数(品种系数)",
  16687. "type": "number"
  16688. },
  16689. "enumdicname": {
  16690. "description": "单位名称",
  16691. "type": "string"
  16692. },
  16693. "exexchangecode": {
  16694. "description": "交易所代码",
  16695. "type": "string"
  16696. },
  16697. "glist": {
  16698. "description": "合约列表",
  16699. "type": "array",
  16700. "items": {
  16701. "$ref": "#/definitions/models.Ermcp3Goods"
  16702. }
  16703. },
  16704. "goodsgroupid": {
  16705. "description": "商品组id",
  16706. "type": "integer"
  16707. },
  16708. "goodsgroupname": {
  16709. "description": "商品组名称",
  16710. "type": "string"
  16711. },
  16712. "goodsunitid": {
  16713. "description": "单位id",
  16714. "type": "integer"
  16715. },
  16716. "middlegoodsid": {
  16717. "description": "套保商品id",
  16718. "type": "integer"
  16719. }
  16720. }
  16721. },
  16722. "models.Ermcp3HedgePlan": {
  16723. "type": "object",
  16724. "properties": {
  16725. "accountid": {
  16726. "description": "资金账号",
  16727. "type": "integer"
  16728. },
  16729. "areauserid": {
  16730. "description": "用户ID",
  16731. "type": "integer"
  16732. },
  16733. "audittime": {
  16734. "description": "审核时间",
  16735. "type": "string"
  16736. },
  16737. "contracttype": {
  16738. "description": "计划类型 - 1:采购 -1:销售",
  16739. "type": "integer"
  16740. },
  16741. "convertfactor": {
  16742. "description": "标仓系数",
  16743. "type": "number"
  16744. },
  16745. "createtime": {
  16746. "description": "创建时间",
  16747. "type": "string"
  16748. },
  16749. "currencyid": {
  16750. "description": "币种id",
  16751. "type": "integer"
  16752. },
  16753. "currencyname": {
  16754. "description": "币种名称",
  16755. "type": "string"
  16756. },
  16757. "deliverygoodscode": {
  16758. "description": "现货品种代码",
  16759. "type": "string"
  16760. },
  16761. "deliverygoodsid": {
  16762. "description": "现货品种ID",
  16763. "type": "integer"
  16764. },
  16765. "deliverygoodsname": {
  16766. "description": "现货品种名称",
  16767. "type": "string"
  16768. },
  16769. "enumdicname": {
  16770. "description": "单位名称(现货商品)",
  16771. "type": "string"
  16772. },
  16773. "hedgeplanid": {
  16774. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16775. "type": "string"
  16776. },
  16777. "hedgeplanno": {
  16778. "description": "套保计划编号(名称)",
  16779. "type": "string"
  16780. },
  16781. "hedgeplanstatus": {
  16782. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16783. "type": "integer"
  16784. },
  16785. "planqty": {
  16786. "description": "计划数量",
  16787. "type": "number"
  16788. },
  16789. "plantime": {
  16790. "description": "计划时间",
  16791. "type": "string"
  16792. },
  16793. "producttype": {
  16794. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16795. "type": "integer"
  16796. },
  16797. "remark": {
  16798. "description": "备注",
  16799. "type": "string"
  16800. },
  16801. "spotgoodsdesc": {
  16802. "description": "商品型号",
  16803. "type": "string"
  16804. },
  16805. "taaccountname": {
  16806. "description": "资金账号名称",
  16807. "type": "string"
  16808. },
  16809. "tradeuserid": {
  16810. "description": "交易用户id",
  16811. "type": "integer"
  16812. },
  16813. "tradeusername": {
  16814. "description": "交易用户名称",
  16815. "type": "string"
  16816. },
  16817. "unitid": {
  16818. "description": "单位id(现货商品)",
  16819. "type": "integer"
  16820. },
  16821. "updatetime": {
  16822. "description": "更新时间",
  16823. "type": "string"
  16824. },
  16825. "wrstandardcode": {
  16826. "description": "品类代码",
  16827. "type": "string"
  16828. },
  16829. "wrstandardid": {
  16830. "description": "品类id",
  16831. "type": "integer"
  16832. },
  16833. "wrstandardname": {
  16834. "description": "品类名称",
  16835. "type": "string"
  16836. },
  16837. "wrunitid": {
  16838. "description": "品类单位id",
  16839. "type": "integer"
  16840. },
  16841. "wrunitidame": {
  16842. "description": "品类单位名称",
  16843. "type": "string"
  16844. }
  16845. }
  16846. },
  16847. "models.Ermcp3MiddleGoodsDetail2": {
  16848. "type": "object",
  16849. "properties": {
  16850. "convertratio": {
  16851. "description": "套保系数(折算系数)",
  16852. "type": "number"
  16853. },
  16854. "gplist": {
  16855. "description": "关联商品组列表",
  16856. "type": "array",
  16857. "items": {
  16858. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16859. }
  16860. },
  16861. "mg": {
  16862. "description": "套保商品信息",
  16863. "type": "object",
  16864. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16865. }
  16866. }
  16867. },
  16868. "models.Ermcp3MiddleGoodsDetailEx": {
  16869. "type": "object",
  16870. "properties": {
  16871. "dglist": {
  16872. "description": "关联的现货品种列表",
  16873. "type": "array",
  16874. "items": {
  16875. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16876. }
  16877. },
  16878. "gplist": {
  16879. "description": "关联商品组列表",
  16880. "type": "array",
  16881. "items": {
  16882. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16883. }
  16884. },
  16885. "mg": {
  16886. "description": "套保商品信息",
  16887. "type": "object",
  16888. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16889. }
  16890. }
  16891. },
  16892. "models.Ermcp3RootUserAccount": {
  16893. "type": "object",
  16894. "properties": {
  16895. "accountname": {
  16896. "description": "账户名称(机构名称)",
  16897. "type": "string"
  16898. },
  16899. "accountstatus": {
  16900. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16901. "type": "integer"
  16902. },
  16903. "applysrc": {
  16904. "description": "申请来源 - 1:管理端 2:终端",
  16905. "type": "integer"
  16906. },
  16907. "auditremark": {
  16908. "description": "审核备注",
  16909. "type": "string"
  16910. },
  16911. "auditsrc": {
  16912. "description": "审核来源 - 1:管理端 2:终端",
  16913. "type": "integer"
  16914. },
  16915. "audittime": {
  16916. "description": "审核时间",
  16917. "type": "string"
  16918. },
  16919. "audituserid": {
  16920. "description": "审核人",
  16921. "type": "integer"
  16922. },
  16923. "broker": {
  16924. "description": "所属经纪人ID",
  16925. "type": "integer"
  16926. },
  16927. "canceltime": {
  16928. "description": "销户时间",
  16929. "type": "string"
  16930. },
  16931. "canceluserid": {
  16932. "description": "销户人",
  16933. "type": "integer"
  16934. },
  16935. "canrecommend": {
  16936. "description": "是否可推荐 - 0:不可 1;可",
  16937. "type": "integer"
  16938. },
  16939. "createtime": {
  16940. "description": "创建时间",
  16941. "type": "string"
  16942. },
  16943. "creatorid": {
  16944. "description": "创建人",
  16945. "type": "integer"
  16946. },
  16947. "hasauth": {
  16948. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16949. "type": "integer"
  16950. },
  16951. "isanonymous": {
  16952. "description": "是否匿名下单 - 0:否 1:是",
  16953. "type": "integer"
  16954. },
  16955. "maxinvestornum": {
  16956. "description": "最大用户数(经纪会员下投资者个数)",
  16957. "type": "integer"
  16958. },
  16959. "memberuserid": {
  16960. "description": "所属会员ID",
  16961. "type": "integer"
  16962. },
  16963. "modifierid": {
  16964. "description": "修改人",
  16965. "type": "integer"
  16966. },
  16967. "modifyremark": {
  16968. "description": "变更备注",
  16969. "type": "string"
  16970. },
  16971. "modifystatus": {
  16972. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16973. "type": "integer"
  16974. },
  16975. "modifytime": {
  16976. "description": "修改时间",
  16977. "type": "string"
  16978. },
  16979. "parenttopuser": {
  16980. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16981. "type": "string"
  16982. },
  16983. "parentuserid": {
  16984. "description": "所属机构ID",
  16985. "type": "integer"
  16986. },
  16987. "reckonaccountid": {
  16988. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16989. "type": "integer"
  16990. },
  16991. "refercount": {
  16992. "description": "推荐总人数",
  16993. "type": "integer"
  16994. },
  16995. "refereeuserid": {
  16996. "description": "推荐人ID",
  16997. "type": "integer"
  16998. },
  16999. "refernum": {
  17000. "description": "推荐码",
  17001. "type": "string"
  17002. },
  17003. "rootuserid": {
  17004. "description": "根用户ID",
  17005. "type": "integer"
  17006. },
  17007. "subaccountlevel": {
  17008. "description": "子账户层数",
  17009. "type": "integer"
  17010. },
  17011. "subarealevelpath": {
  17012. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17013. "type": "string"
  17014. },
  17015. "userid": {
  17016. "description": "用户ID",
  17017. "type": "integer"
  17018. },
  17019. "usertype": {
  17020. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17021. "type": "integer"
  17022. }
  17023. }
  17024. },
  17025. "models.Ermcp3SellBuyContract": {
  17026. "type": "object",
  17027. "properties": {
  17028. "accountid": {
  17029. "description": "期货账户id",
  17030. "type": "string"
  17031. },
  17032. "accountname": {
  17033. "description": "账户名称",
  17034. "type": "string"
  17035. },
  17036. "attachment": {
  17037. "description": "附件",
  17038. "type": "string"
  17039. },
  17040. "audittime": {
  17041. "description": "审核时间",
  17042. "type": "string"
  17043. },
  17044. "biztype": {
  17045. "description": "业务类型 1-套保 2-套利",
  17046. "type": "integer"
  17047. },
  17048. "brandname": {
  17049. "description": "品牌名称",
  17050. "type": "string"
  17051. },
  17052. "contracctstatus": {
  17053. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17054. "type": "integer"
  17055. },
  17056. "contractmargin": {
  17057. "description": "合同保证金",
  17058. "type": "number"
  17059. },
  17060. "contractno": {
  17061. "description": "合同编号",
  17062. "type": "string"
  17063. },
  17064. "contracttype": {
  17065. "description": "合同类型 1-采购, -1-销售",
  17066. "type": "integer"
  17067. },
  17068. "convertfactor": {
  17069. "description": "标仓系数(品类)",
  17070. "type": "number"
  17071. },
  17072. "createtime": {
  17073. "description": "创建时间",
  17074. "type": "string"
  17075. },
  17076. "currencyid": {
  17077. "description": "币种id",
  17078. "type": "integer"
  17079. },
  17080. "currencyname": {
  17081. "description": "币种名称",
  17082. "type": "string"
  17083. },
  17084. "daikaiamount": {
  17085. "description": "应收(开)票额",
  17086. "type": "number"
  17087. },
  17088. "deliveryenddate": {
  17089. "description": "交割结束日",
  17090. "type": "string"
  17091. },
  17092. "deliverygoodscode": {
  17093. "description": "现货品种代码",
  17094. "type": "string"
  17095. },
  17096. "deliverygoodsid": {
  17097. "description": "现货商品ID",
  17098. "type": "integer"
  17099. },
  17100. "deliverygoodsname": {
  17101. "description": "现货品种名称",
  17102. "type": "string"
  17103. },
  17104. "deliverystartdate": {
  17105. "description": "交割开始日",
  17106. "type": "string"
  17107. },
  17108. "enddate": {
  17109. "description": "点价结束日",
  17110. "type": "string"
  17111. },
  17112. "enumdicname": {
  17113. "description": "单位名称",
  17114. "type": "string"
  17115. },
  17116. "goodscode": {
  17117. "description": "点价商品代码",
  17118. "type": "string"
  17119. },
  17120. "goodsid": {
  17121. "description": "点价商品ID",
  17122. "type": "integer"
  17123. },
  17124. "goodsname": {
  17125. "description": "点价商品名称",
  17126. "type": "string"
  17127. },
  17128. "invoiceamount": {
  17129. "description": "已开票额",
  17130. "type": "number"
  17131. },
  17132. "loanamount": {
  17133. "description": "贷款总额=已定价额+调整金额",
  17134. "type": "number"
  17135. },
  17136. "margin": {
  17137. "description": "保证金",
  17138. "type": "number"
  17139. },
  17140. "meruserid": {
  17141. "description": "跟单员id",
  17142. "type": "integer"
  17143. },
  17144. "meruserlogincode": {
  17145. "description": "跟单员登录代码",
  17146. "type": "string"
  17147. },
  17148. "nickname": {
  17149. "description": "账户昵称",
  17150. "type": "string"
  17151. },
  17152. "payamount": {
  17153. "description": "已收付额(收款或付款)",
  17154. "type": "number"
  17155. },
  17156. "preinvoiceamount": {
  17157. "description": "预收(开)票额",
  17158. "type": "number"
  17159. },
  17160. "prepayamount": {
  17161. "description": "预收付额",
  17162. "type": "number"
  17163. },
  17164. "price": {
  17165. "description": "价格",
  17166. "type": "number"
  17167. },
  17168. "pricedamount": {
  17169. "description": "已定价额",
  17170. "type": "number"
  17171. },
  17172. "pricedavg": {
  17173. "description": "已点均价",
  17174. "type": "number"
  17175. },
  17176. "pricedqty": {
  17177. "description": "已定价量",
  17178. "type": "number"
  17179. },
  17180. "pricemove": {
  17181. "description": "升贴水",
  17182. "type": "number"
  17183. },
  17184. "pricetype": {
  17185. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17186. "type": "integer"
  17187. },
  17188. "producttype": {
  17189. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17190. "type": "integer"
  17191. },
  17192. "qty": {
  17193. "description": "合同量",
  17194. "type": "number"
  17195. },
  17196. "reckonadjustamount": {
  17197. "description": "调整金额",
  17198. "type": "number"
  17199. },
  17200. "reckonedamount": {
  17201. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17202. "type": "number"
  17203. },
  17204. "reckonotheramount": {
  17205. "description": "其它费用",
  17206. "type": "number"
  17207. },
  17208. "reckonrealqty": {
  17209. "description": "已确定量",
  17210. "type": "number"
  17211. },
  17212. "remark": {
  17213. "description": "备注",
  17214. "type": "string"
  17215. },
  17216. "saleuserid": {
  17217. "description": "业务员id",
  17218. "type": "integer"
  17219. },
  17220. "saleuserlogincode": {
  17221. "description": "业务员登录代码",
  17222. "type": "string"
  17223. },
  17224. "spotcontractid": {
  17225. "description": "合同ID",
  17226. "type": "string"
  17227. },
  17228. "spotgoodsbrandid": {
  17229. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17230. "type": "integer"
  17231. },
  17232. "spotgoodsdesc": {
  17233. "description": "商品型号(商品规格)",
  17234. "type": "string"
  17235. },
  17236. "startdate": {
  17237. "description": "点价开始日",
  17238. "type": "string"
  17239. },
  17240. "totalamount": {
  17241. "description": "合计总额",
  17242. "type": "number"
  17243. },
  17244. "tradeuserid": {
  17245. "description": "交易员id",
  17246. "type": "integer"
  17247. },
  17248. "tradeuserlogincode": {
  17249. "description": "交易员登录代码",
  17250. "type": "string"
  17251. },
  17252. "tradeusername": {
  17253. "description": "交易员名称",
  17254. "type": "string"
  17255. },
  17256. "unpayamount": {
  17257. "description": "应收付款额(应支付或应收款)",
  17258. "type": "number"
  17259. },
  17260. "unpricedqty": {
  17261. "description": "未定价量",
  17262. "type": "number"
  17263. },
  17264. "unsureqty": {
  17265. "description": "未确定量",
  17266. "type": "number"
  17267. },
  17268. "userid": {
  17269. "description": "机构ID",
  17270. "type": "integer"
  17271. },
  17272. "wrstandardcode": {
  17273. "description": "品类代码",
  17274. "type": "string"
  17275. },
  17276. "wrstandardid": {
  17277. "description": "品类ID",
  17278. "type": "integer"
  17279. },
  17280. "wrstandardname": {
  17281. "description": "品类名称",
  17282. "type": "string"
  17283. }
  17284. }
  17285. },
  17286. "models.Ermcp3SpotGoodsPrice": {
  17287. "type": "object",
  17288. "properties": {
  17289. "areauserid": {
  17290. "description": "所属机构id",
  17291. "type": "integer"
  17292. },
  17293. "brandname": {
  17294. "description": "品牌名称",
  17295. "type": "string"
  17296. },
  17297. "currencyid": {
  17298. "description": "报价货币ID",
  17299. "type": "integer"
  17300. },
  17301. "currencyname": {
  17302. "description": "币种名称",
  17303. "type": "string"
  17304. },
  17305. "deliverygoodscode": {
  17306. "description": "现货商品代码",
  17307. "type": "string"
  17308. },
  17309. "deliverygoodsid": {
  17310. "description": "现货商品id",
  17311. "type": "integer"
  17312. },
  17313. "deliverygoodsname": {
  17314. "description": "现货商品名称",
  17315. "type": "string"
  17316. },
  17317. "enumdicname": {
  17318. "description": "现货商品单位名称",
  17319. "type": "string"
  17320. },
  17321. "gbenumdicname": {
  17322. "description": "品类单位名称",
  17323. "type": "string"
  17324. },
  17325. "gmunitid": {
  17326. "description": "品类单位id",
  17327. "type": "integer"
  17328. },
  17329. "isvalid": {
  17330. "description": "是否有效 - 0:无效 1:有效",
  17331. "type": "integer"
  17332. },
  17333. "operateid": {
  17334. "description": "最后操作人",
  17335. "type": "integer"
  17336. },
  17337. "operatesrc": {
  17338. "description": "最后操作来源 - 1:管理端 2:终端",
  17339. "type": "integer"
  17340. },
  17341. "operatetime": {
  17342. "description": "最后操作时间",
  17343. "type": "string"
  17344. },
  17345. "operatorname": {
  17346. "description": "操作人名称",
  17347. "type": "string"
  17348. },
  17349. "spotgoodsbrandid": {
  17350. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17351. "type": "integer"
  17352. },
  17353. "spotgoodsprice": {
  17354. "description": "现货价格",
  17355. "type": "number"
  17356. },
  17357. "tradedate": {
  17358. "description": "交易日(yyyyMMdd)",
  17359. "type": "string"
  17360. },
  17361. "unitid": {
  17362. "description": "现货商品单位id",
  17363. "type": "integer"
  17364. },
  17365. "wrstandardcode": {
  17366. "description": "品类代码",
  17367. "type": "string"
  17368. },
  17369. "wrstandardid": {
  17370. "description": "现货品类ID(通用则为0)",
  17371. "type": "integer"
  17372. },
  17373. "wrstandardname": {
  17374. "description": "品类名称",
  17375. "type": "string"
  17376. }
  17377. }
  17378. },
  17379. "models.Ermcp3SpotGoodsPriceLog": {
  17380. "type": "object",
  17381. "properties": {
  17382. "areauserid": {
  17383. "description": "所属机构id",
  17384. "type": "integer"
  17385. },
  17386. "brandname": {
  17387. "description": "品牌名称",
  17388. "type": "string"
  17389. },
  17390. "currencyid": {
  17391. "description": "报价货币ID",
  17392. "type": "integer"
  17393. },
  17394. "deliverygoodscode": {
  17395. "description": "现货商品代码",
  17396. "type": "string"
  17397. },
  17398. "deliverygoodsid": {
  17399. "description": "现货商品id",
  17400. "type": "integer"
  17401. },
  17402. "deliverygoodsname": {
  17403. "description": "现货商品名称",
  17404. "type": "string"
  17405. },
  17406. "enumdicname": {
  17407. "description": "现货商品单位名称",
  17408. "type": "string"
  17409. },
  17410. "gbenumdicname": {
  17411. "description": "品类单位名称",
  17412. "type": "string"
  17413. },
  17414. "gmunitid": {
  17415. "description": "品类单位id",
  17416. "type": "integer"
  17417. },
  17418. "logid": {
  17419. "description": "日志id",
  17420. "type": "integer"
  17421. },
  17422. "operateid": {
  17423. "description": "最后操作人",
  17424. "type": "integer"
  17425. },
  17426. "operatesrc": {
  17427. "description": "最后操作来源 - 1:管理端 2:终端",
  17428. "type": "integer"
  17429. },
  17430. "operatetime": {
  17431. "description": "最后操作时间",
  17432. "type": "string"
  17433. },
  17434. "operatorname": {
  17435. "description": "操作人名称",
  17436. "type": "string"
  17437. },
  17438. "spotgoodsbrandid": {
  17439. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17440. "type": "integer"
  17441. },
  17442. "spotgoodsprice": {
  17443. "description": "现货价格",
  17444. "type": "number"
  17445. },
  17446. "tradedate": {
  17447. "description": "交易日(yyyyMMdd)",
  17448. "type": "string"
  17449. },
  17450. "unitid": {
  17451. "description": "现货商品单位id",
  17452. "type": "integer"
  17453. },
  17454. "wrstandardcode": {
  17455. "description": "品类代码",
  17456. "type": "string"
  17457. },
  17458. "wrstandardid": {
  17459. "description": "现货品类ID(通用则为0)",
  17460. "type": "integer"
  17461. },
  17462. "wrstandardname": {
  17463. "description": "品类名称",
  17464. "type": "string"
  17465. }
  17466. }
  17467. },
  17468. "models.Ermcp3TaFutuReDataReport": {
  17469. "type": "object",
  17470. "properties": {
  17471. "accountid": {
  17472. "description": "交易账户",
  17473. "type": "integer"
  17474. },
  17475. "accountname": {
  17476. "description": "交易账号名称",
  17477. "type": "string"
  17478. },
  17479. "begindate": {
  17480. "description": "开始交易日",
  17481. "type": "string"
  17482. },
  17483. "buyorsell": {
  17484. "description": "持仓方向",
  17485. "type": "integer"
  17486. },
  17487. "charge": {
  17488. "description": "手续费",
  17489. "type": "number"
  17490. },
  17491. "closeavgprice": {
  17492. "description": "平仓均价",
  17493. "type": "number"
  17494. },
  17495. "closepl": {
  17496. "description": "平仓损益",
  17497. "type": "number"
  17498. },
  17499. "currencyid": {
  17500. "description": "结算币种ID",
  17501. "type": "integer"
  17502. },
  17503. "cycletime": {
  17504. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17505. "type": "string"
  17506. },
  17507. "cycletype": {
  17508. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17509. "type": "integer"
  17510. },
  17511. "enddate": {
  17512. "description": "结束交易日",
  17513. "type": "string"
  17514. },
  17515. "enumdicname": {
  17516. "description": "单位名称(现货商品)",
  17517. "type": "string"
  17518. },
  17519. "floatpl": {
  17520. "description": "浮动损益",
  17521. "type": "number"
  17522. },
  17523. "goodscode": {
  17524. "description": "交易合约代码",
  17525. "type": "string"
  17526. },
  17527. "goodsgroupid": {
  17528. "description": "交易品种",
  17529. "type": "integer"
  17530. },
  17531. "goodsgroupname": {
  17532. "description": "交易品种名称",
  17533. "type": "string"
  17534. },
  17535. "goodsgroupspotqty": {
  17536. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17537. "type": "number"
  17538. },
  17539. "goodsid": {
  17540. "description": "交易合约",
  17541. "type": "integer"
  17542. },
  17543. "goodsname": {
  17544. "description": "交易合约名称",
  17545. "type": "string"
  17546. },
  17547. "goodunitid": {
  17548. "description": "交易合约单位id",
  17549. "type": "integer"
  17550. },
  17551. "holdamount": {
  17552. "description": "期末持仓额",
  17553. "type": "number"
  17554. },
  17555. "holdqty": {
  17556. "description": "期末持仓量",
  17557. "type": "number"
  17558. },
  17559. "lastholdamount": {
  17560. "description": "当前持仓额",
  17561. "type": "number"
  17562. },
  17563. "lastprice": {
  17564. "description": "最新价",
  17565. "type": "number"
  17566. },
  17567. "middlegoodsqty": {
  17568. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17569. "type": "number"
  17570. },
  17571. "openamount": {
  17572. "description": "期末开仓额",
  17573. "type": "number"
  17574. },
  17575. "openavgprice": {
  17576. "description": "开仓均价",
  17577. "type": "number"
  17578. },
  17579. "oriholdamount": {
  17580. "description": "期初持仓额",
  17581. "type": "number"
  17582. },
  17583. "oriholdqty": {
  17584. "description": "期初持仓量",
  17585. "type": "number"
  17586. },
  17587. "oriopenamount": {
  17588. "description": "期初开仓额",
  17589. "type": "number"
  17590. },
  17591. "outergroupcode": {
  17592. "description": "交易品种代码",
  17593. "type": "string"
  17594. },
  17595. "reckondate": {
  17596. "description": "日照时期(yyyyMMdd)",
  17597. "type": "string"
  17598. },
  17599. "reckonholdamount": {
  17600. "description": "结算持仓额",
  17601. "type": "number"
  17602. },
  17603. "reckonpl": {
  17604. "description": "结算损益",
  17605. "type": "number"
  17606. },
  17607. "reckonpl2": {
  17608. "description": "结算逐笔盈亏",
  17609. "type": "number"
  17610. },
  17611. "reckonprice": {
  17612. "description": "结算价",
  17613. "type": "number"
  17614. },
  17615. "relateduserid": {
  17616. "description": "账户关联用户ID",
  17617. "type": "integer"
  17618. },
  17619. "todaycloseamount": {
  17620. "description": "今平仓额",
  17621. "type": "number"
  17622. },
  17623. "todaycloseqty": {
  17624. "description": "今平仓量",
  17625. "type": "number"
  17626. },
  17627. "todaygoodsgroupspotqty": {
  17628. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17629. "type": "number"
  17630. },
  17631. "todaymiddlegoodsqty": {
  17632. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17633. "type": "number"
  17634. },
  17635. "todayopenamount": {
  17636. "description": "今开仓额",
  17637. "type": "number"
  17638. },
  17639. "todayopenqty": {
  17640. "description": "今开仓量",
  17641. "type": "number"
  17642. },
  17643. "userid": {
  17644. "description": "账户所属用户ID",
  17645. "type": "integer"
  17646. }
  17647. }
  17648. },
  17649. "models.Ermcp3Wrstandard": {
  17650. "type": "object",
  17651. "properties": {
  17652. "areauserid": {
  17653. "description": "所属机构",
  17654. "type": "integer"
  17655. },
  17656. "convertfactor": {
  17657. "description": "标仓系数",
  17658. "type": "number"
  17659. },
  17660. "createtime": {
  17661. "description": "创建时间",
  17662. "type": "string"
  17663. },
  17664. "creatorid": {
  17665. "description": "创建人",
  17666. "type": "integer"
  17667. },
  17668. "deliverygoodsid": {
  17669. "description": "现货品种ID",
  17670. "type": "integer"
  17671. },
  17672. "enumdicname": {
  17673. "description": "品类单位名称",
  17674. "type": "string"
  17675. },
  17676. "isvalid": {
  17677. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17678. "type": "integer"
  17679. },
  17680. "minivalue": {
  17681. "description": "最小变动值",
  17682. "type": "integer"
  17683. },
  17684. "minivaluedp": {
  17685. "description": "最小变动值小数位",
  17686. "type": "integer"
  17687. },
  17688. "realminivalue": {
  17689. "description": "实际最小变动值",
  17690. "type": "integer"
  17691. },
  17692. "realminivaluedp": {
  17693. "description": "实际最小变动值小数位",
  17694. "type": "integer"
  17695. },
  17696. "remark": {
  17697. "description": "备注",
  17698. "type": "string"
  17699. },
  17700. "unitid": {
  17701. "description": "品类单位ID",
  17702. "type": "integer"
  17703. },
  17704. "updatetime": {
  17705. "description": "更新时间",
  17706. "type": "string"
  17707. },
  17708. "wrstandardcode": {
  17709. "description": "品类代码",
  17710. "type": "string"
  17711. },
  17712. "wrstandardid": {
  17713. "description": "品类ID(SEQ_WRSTANDARD)",
  17714. "type": "integer"
  17715. },
  17716. "wrstandardname": {
  17717. "description": "品类名称",
  17718. "type": "string"
  17719. }
  17720. }
  17721. },
  17722. "models.ErmcpAreaSpotDetailModel": {
  17723. "type": "object",
  17724. "properties": {
  17725. "contracttype": {
  17726. "description": "合同类型 1-采购 -1-销售",
  17727. "type": "integer"
  17728. },
  17729. "createtime": {
  17730. "description": "创建时间",
  17731. "type": "string"
  17732. },
  17733. "enumdicname": {
  17734. "description": "现货商品单位名称",
  17735. "type": "string"
  17736. },
  17737. "logtype": {
  17738. "description": "记录类型 1-套保 2-现货合同",
  17739. "type": "integer"
  17740. },
  17741. "qty": {
  17742. "description": "数量",
  17743. "type": "number"
  17744. },
  17745. "recordname": {
  17746. "description": "类型名称",
  17747. "type": "string"
  17748. },
  17749. "relatedid": {
  17750. "description": "套保计划ID/现货合同ID",
  17751. "type": "string"
  17752. },
  17753. "relatedno": {
  17754. "description": "编号",
  17755. "type": "string"
  17756. },
  17757. "strtime": {
  17758. "description": "时间",
  17759. "type": "string"
  17760. },
  17761. "wrstandardcode": {
  17762. "description": "现货商品代码",
  17763. "type": "string"
  17764. },
  17765. "wrstandardname": {
  17766. "description": "现货商品名称",
  17767. "type": "string"
  17768. }
  17769. }
  17770. },
  17771. "models.ErmcpAvalidGoodsGroupModel": {
  17772. "type": "object",
  17773. "properties": {
  17774. "goodsgroupid": {
  17775. "description": "期货品种id",
  17776. "type": "integer"
  17777. },
  17778. "goodsgroupname": {
  17779. "description": "期货品种名称",
  17780. "type": "string"
  17781. },
  17782. "goodunitid": {
  17783. "description": "品种单位id",
  17784. "type": "integer"
  17785. },
  17786. "goodunitname": {
  17787. "description": "品种单位名称",
  17788. "type": "string"
  17789. },
  17790. "outergroupcode": {
  17791. "description": "期货品种代码",
  17792. "type": "string"
  17793. }
  17794. }
  17795. },
  17796. "models.ErmcpBizGroupEx": {
  17797. "type": "object",
  17798. "properties": {
  17799. "acclist": {
  17800. "description": "账号列表",
  17801. "type": "array",
  17802. "items": {
  17803. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17804. }
  17805. },
  17806. "bizgroupid": {
  17807. "description": "业务分组id",
  17808. "type": "integer"
  17809. },
  17810. "biztype": {
  17811. "description": "业务类型 1-套保 2-套利",
  17812. "type": "integer"
  17813. },
  17814. "wrlist": {
  17815. "description": "现货商品表",
  17816. "type": "array",
  17817. "items": {
  17818. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17819. }
  17820. }
  17821. }
  17822. },
  17823. "models.ErmcpBizGroupSpotGoods": {
  17824. "type": "object",
  17825. "properties": {
  17826. "areauserid": {
  17827. "description": "所属机构id",
  17828. "type": "integer"
  17829. },
  17830. "bizgroupid": {
  17831. "description": "分组id",
  17832. "type": "integer"
  17833. },
  17834. "biztype": {
  17835. "description": "业务类型 1-套保 2-套利",
  17836. "type": "integer"
  17837. },
  17838. "deliverygoodscode": {
  17839. "description": "现货商品代码",
  17840. "type": "string"
  17841. },
  17842. "deliverygoodsid": {
  17843. "description": "现货商品id",
  17844. "type": "integer"
  17845. },
  17846. "deliverygoodsname": {
  17847. "description": "现货商品名称",
  17848. "type": "string"
  17849. },
  17850. "unitid": {
  17851. "description": "现货商品单位id",
  17852. "type": "integer"
  17853. }
  17854. }
  17855. },
  17856. "models.ErmcpBizGroupTaAccount": {
  17857. "type": "object",
  17858. "properties": {
  17859. "accountid": {
  17860. "description": "账号id",
  17861. "type": "integer"
  17862. },
  17863. "accountname": {
  17864. "description": "账号名称",
  17865. "type": "string"
  17866. },
  17867. "areauserid": {
  17868. "description": "所属机构id",
  17869. "type": "integer"
  17870. },
  17871. "bizgroupid": {
  17872. "description": "业务分组id",
  17873. "type": "integer"
  17874. },
  17875. "ismain": {
  17876. "description": "是否主账号 1-是 0-否",
  17877. "type": "integer"
  17878. }
  17879. }
  17880. },
  17881. "models.ErmcpDGFactoryItem": {
  17882. "type": "object",
  17883. "properties": {
  17884. "areauserid": {
  17885. "description": "用户id",
  17886. "type": "integer"
  17887. },
  17888. "deliverygoodsid": {
  17889. "description": "现货品种ID",
  17890. "type": "integer"
  17891. },
  17892. "dgfactoryitemid": {
  17893. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17894. "type": "integer"
  17895. },
  17896. "dgfactoryitemtypeid": {
  17897. "description": "要素项类型",
  17898. "type": "integer"
  17899. },
  17900. "dgfactoryitemvalue": {
  17901. "description": "要素项值(类型为仓库时填写仓库名称)",
  17902. "type": "string"
  17903. },
  17904. "isvalid": {
  17905. "description": "是否有效 - 0:无效 1:有效",
  17906. "type": "integer"
  17907. },
  17908. "orderindex": {
  17909. "description": "顺序",
  17910. "type": "integer"
  17911. },
  17912. "warehouseid": {
  17913. "description": "仓库ID(类型为仓库时填写)",
  17914. "type": "integer"
  17915. }
  17916. }
  17917. },
  17918. "models.ErmcpDeliveryGoods": {
  17919. "type": "object",
  17920. "properties": {
  17921. "agreeunit": {
  17922. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17923. "type": "integer"
  17924. },
  17925. "areauserid": {
  17926. "description": "所属机构",
  17927. "type": "integer"
  17928. },
  17929. "auditflag": {
  17930. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17931. "type": "integer"
  17932. },
  17933. "categoryid": {
  17934. "description": "类别ID(SEQ_WRCATEGORY)",
  17935. "type": "integer"
  17936. },
  17937. "deliverygoodscode": {
  17938. "description": "现货品种代码",
  17939. "type": "string"
  17940. },
  17941. "deliverygoodsid": {
  17942. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17943. "type": "integer"
  17944. },
  17945. "deliverygoodsname": {
  17946. "description": "现货品种名称",
  17947. "type": "string"
  17948. },
  17949. "deliverygoodstype": {
  17950. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17951. "type": "integer"
  17952. },
  17953. "dgstatus": {
  17954. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17955. "type": "integer"
  17956. },
  17957. "enumdicname": {
  17958. "description": "现货品种单位名称",
  17959. "type": "string"
  17960. },
  17961. "goodsunitid": {
  17962. "description": "现货品种单位ID",
  17963. "type": "integer"
  17964. },
  17965. "isvalid": {
  17966. "description": "是否有效 - 0:无效 1:有效",
  17967. "type": "integer"
  17968. },
  17969. "qtydecimalplace": {
  17970. "description": "成交量小数位",
  17971. "type": "integer"
  17972. },
  17973. "remark": {
  17974. "description": "备注",
  17975. "type": "string"
  17976. },
  17977. "standardqty": {
  17978. "description": "标准数量(库位数量) [标准品特有]",
  17979. "type": "integer"
  17980. },
  17981. "standardqtyrange": {
  17982. "description": "标准数量偏差范围 [标准品特有]",
  17983. "type": "integer"
  17984. }
  17985. }
  17986. },
  17987. "models.ErmcpDeliveryGoodsDetail2": {
  17988. "type": "object",
  17989. "properties": {
  17990. "convertratio": {
  17991. "description": "套保系数(折算系数)",
  17992. "type": "number"
  17993. },
  17994. "data": {
  17995. "description": "现货商品基本信息(交割品种)",
  17996. "type": "object",
  17997. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17998. },
  17999. "gblist": {
  18000. "description": "品牌列表",
  18001. "type": "array",
  18002. "items": {
  18003. "$ref": "#/definitions/models.Ermcp3Brand"
  18004. }
  18005. },
  18006. "gmlist": {
  18007. "description": "品类列表(仓单标准)",
  18008. "type": "array",
  18009. "items": {
  18010. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18011. }
  18012. }
  18013. }
  18014. },
  18015. "models.ErmcpDeliveryGoodsDetailEx": {
  18016. "type": "object",
  18017. "properties": {
  18018. "data": {
  18019. "description": "现货商品基本信息(交割品种)",
  18020. "type": "object",
  18021. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18022. },
  18023. "gblist": {
  18024. "description": "品牌列表",
  18025. "type": "array",
  18026. "items": {
  18027. "$ref": "#/definitions/models.Ermcp3Brand"
  18028. }
  18029. },
  18030. "gmlist": {
  18031. "description": "品类列表(仓单标准)",
  18032. "type": "array",
  18033. "items": {
  18034. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18035. }
  18036. },
  18037. "mgList": {
  18038. "description": "套保列表",
  18039. "type": "array",
  18040. "items": {
  18041. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18042. }
  18043. }
  18044. }
  18045. },
  18046. "models.ErmcpExposureDetailModel": {
  18047. "type": "object",
  18048. "properties": {
  18049. "areauserid": {
  18050. "description": "机构ID",
  18051. "type": "integer"
  18052. },
  18053. "changeQty": {
  18054. "description": "套保变动量",
  18055. "type": "number"
  18056. },
  18057. "contracttype": {
  18058. "description": "现货合同类型 - 1:采购 -1:销售",
  18059. "type": "integer"
  18060. },
  18061. "convertfactor": {
  18062. "description": "标仓系数",
  18063. "type": "number"
  18064. },
  18065. "convertratio": {
  18066. "description": "套保系数",
  18067. "type": "number"
  18068. },
  18069. "createtime": {
  18070. "description": "时间",
  18071. "type": "string"
  18072. },
  18073. "enumdicname": {
  18074. "description": "现货商品单位名称",
  18075. "type": "string"
  18076. },
  18077. "logtype": {
  18078. "description": "类型 - 1:套保计划 2:现货合同",
  18079. "type": "integer"
  18080. },
  18081. "middlegoodsId": {
  18082. "description": "套保商品id",
  18083. "type": "integer"
  18084. },
  18085. "middlegoodscode": {
  18086. "description": "套保商品代码",
  18087. "type": "string"
  18088. },
  18089. "middlegoodsname": {
  18090. "description": "套保商品名称",
  18091. "type": "string"
  18092. },
  18093. "qty": {
  18094. "description": "数量",
  18095. "type": "number"
  18096. },
  18097. "relateNo": {
  18098. "description": "现货合同/套保计划编号",
  18099. "type": "string"
  18100. },
  18101. "wrstandardcode": {
  18102. "description": "现货商品代码",
  18103. "type": "string"
  18104. },
  18105. "wrstandardid": {
  18106. "description": "现货商品ID",
  18107. "type": "integer"
  18108. },
  18109. "wrstandardname": {
  18110. "description": "现货商品名称",
  18111. "type": "string"
  18112. }
  18113. }
  18114. },
  18115. "models.ErmcpExposurePostion": {
  18116. "type": "object",
  18117. "properties": {
  18118. "agreeunit": {
  18119. "description": "合约单位",
  18120. "type": "string"
  18121. },
  18122. "areauserid": {
  18123. "description": "所属机构id",
  18124. "type": "integer"
  18125. },
  18126. "convertratio": {
  18127. "description": "期货品种系数(折算系数)",
  18128. "type": "number"
  18129. },
  18130. "curqty": {
  18131. "description": "当前持仓",
  18132. "type": "integer"
  18133. },
  18134. "diffhedgeqty": {
  18135. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18136. "type": "number"
  18137. },
  18138. "diffqty": {
  18139. "description": "持仓变动量=当前持仓-昨日持仓",
  18140. "type": "integer"
  18141. },
  18142. "goodscode": {
  18143. "description": "商品代码",
  18144. "type": "string"
  18145. },
  18146. "goodsid": {
  18147. "description": "商品id",
  18148. "type": "integer"
  18149. },
  18150. "goodsname": {
  18151. "description": "商品名称",
  18152. "type": "string"
  18153. },
  18154. "middlegoodsid": {
  18155. "description": "套保商品id",
  18156. "type": "integer"
  18157. },
  18158. "ydqty": {
  18159. "description": "昨日持仓",
  18160. "type": "integer"
  18161. }
  18162. }
  18163. },
  18164. "models.ErmcpFuturesCompany": {
  18165. "type": "object",
  18166. "properties": {
  18167. "brokerid": {
  18168. "description": "经纪公司代码",
  18169. "type": "string"
  18170. },
  18171. "channeladdress": {
  18172. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18173. "type": "string"
  18174. },
  18175. "channelid": {
  18176. "description": "对冲渠道ID",
  18177. "type": "string"
  18178. },
  18179. "createtime": {
  18180. "description": "创建时间",
  18181. "type": "string"
  18182. },
  18183. "creatorid": {
  18184. "description": "创建人",
  18185. "type": "string"
  18186. },
  18187. "fcid": {
  18188. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18189. "type": "integer"
  18190. },
  18191. "fcname": {
  18192. "description": "期货公司名称",
  18193. "type": "string"
  18194. },
  18195. "isvalid": {
  18196. "description": "是否有效 - 0:无效 1:有效",
  18197. "type": "integer"
  18198. },
  18199. "mhpaddress": {
  18200. "description": "MHP服务地址(IP:Port)",
  18201. "type": "string"
  18202. },
  18203. "riskrulegroupid": {
  18204. "description": "风控规则组ID",
  18205. "type": "string"
  18206. },
  18207. "tradefeetmpid": {
  18208. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18209. "type": "string"
  18210. },
  18211. "trademargintmpid": {
  18212. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18213. "type": "string"
  18214. },
  18215. "traderatetmpid": {
  18216. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18217. "type": "string"
  18218. },
  18219. "updatetime": {
  18220. "description": "更新时间",
  18221. "type": "string"
  18222. },
  18223. "updatorid": {
  18224. "description": "更新人",
  18225. "type": "string"
  18226. }
  18227. }
  18228. },
  18229. "models.ErmcpGGConvertCfg": {
  18230. "type": "object",
  18231. "properties": {
  18232. "convertratio": {
  18233. "description": "折算系数",
  18234. "type": "number"
  18235. },
  18236. "destgoodsgroupid": {
  18237. "description": "目标品种ID",
  18238. "type": "integer"
  18239. },
  18240. "dstcode": {
  18241. "description": "目录品种代码",
  18242. "type": "string"
  18243. },
  18244. "dstexchangecode": {
  18245. "description": "目标期货交易所",
  18246. "type": "string"
  18247. },
  18248. "dstname": {
  18249. "description": "目标品种名称",
  18250. "type": "string"
  18251. },
  18252. "dstunitid": {
  18253. "description": "目标品种单位ID",
  18254. "type": "integer"
  18255. },
  18256. "dstunitidname": {
  18257. "description": "目标品种单位名称",
  18258. "type": "string"
  18259. },
  18260. "modifytime": {
  18261. "description": "修改时间",
  18262. "type": "string"
  18263. },
  18264. "srccode": {
  18265. "description": "源品种代码",
  18266. "type": "string"
  18267. },
  18268. "srcexchangecode": {
  18269. "description": "源期货交易所",
  18270. "type": "string"
  18271. },
  18272. "srcgoodsgroupid": {
  18273. "description": "源品种ID",
  18274. "type": "integer"
  18275. },
  18276. "srcname": {
  18277. "description": "源品种名称",
  18278. "type": "string"
  18279. },
  18280. "srcunitid": {
  18281. "description": "源品种单位ID",
  18282. "type": "integer"
  18283. },
  18284. "srcunitidname": {
  18285. "description": "源品种单位名称",
  18286. "type": "string"
  18287. }
  18288. }
  18289. },
  18290. "models.ErmcpGoods": {
  18291. "type": "object",
  18292. "required": [
  18293. "goodscode",
  18294. "goodsid",
  18295. "goodsname",
  18296. "marketid"
  18297. ],
  18298. "properties": {
  18299. "agreeunit": {
  18300. "description": "合约单位",
  18301. "type": "number"
  18302. },
  18303. "areauserid": {
  18304. "description": "所属机构",
  18305. "type": "integer"
  18306. },
  18307. "auditaccountid": {
  18308. "description": "审核操作员账号",
  18309. "type": "integer"
  18310. },
  18311. "audittime": {
  18312. "description": "审核时间",
  18313. "type": "string"
  18314. },
  18315. "cancelaccountid": {
  18316. "description": "注销操作员账号",
  18317. "type": "integer"
  18318. },
  18319. "canceltime": {
  18320. "description": "注销时间",
  18321. "type": "string"
  18322. },
  18323. "closepricemode": {
  18324. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18325. "type": "integer"
  18326. },
  18327. "closepriceparam": {
  18328. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18329. "type": "number"
  18330. },
  18331. "createtime": {
  18332. "description": "创建时间",
  18333. "type": "string"
  18334. },
  18335. "creatorid": {
  18336. "description": "创建人",
  18337. "type": "integer"
  18338. },
  18339. "currencyid": {
  18340. "description": "报价货币ID",
  18341. "type": "integer"
  18342. },
  18343. "cutmode": {
  18344. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18345. "type": "integer"
  18346. },
  18347. "decimalplace": {
  18348. "description": "报价小数位",
  18349. "type": "integer"
  18350. },
  18351. "delistingdate": {
  18352. "description": "商品退市时间(状态:退市) -- 已作废",
  18353. "type": "string"
  18354. },
  18355. "delistingmode": {
  18356. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18357. "type": "integer"
  18358. },
  18359. "deliveryflag": {
  18360. "description": "交割标志 - 0:不可交割 1:可交割",
  18361. "type": "integer"
  18362. },
  18363. "enumdicname": {
  18364. "description": "单位名称",
  18365. "type": "string"
  18366. },
  18367. "forceclosemode": {
  18368. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18369. "type": "integer"
  18370. },
  18371. "forceclosevalue": {
  18372. "description": "定期强平参数 [收益权]",
  18373. "type": "integer"
  18374. },
  18375. "goodscode": {
  18376. "description": "商品代码(内部)",
  18377. "type": "string"
  18378. },
  18379. "goodscurrencyid": {
  18380. "description": "合约货币ID",
  18381. "type": "integer"
  18382. },
  18383. "goodsgroupid": {
  18384. "description": "所属商品组ID",
  18385. "type": "integer"
  18386. },
  18387. "goodsid": {
  18388. "description": "商品ID(自增ID SEQ_GOODS)",
  18389. "type": "integer"
  18390. },
  18391. "goodsname": {
  18392. "description": "商品名称",
  18393. "type": "string"
  18394. },
  18395. "goodsquotetype": {
  18396. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18397. "type": "integer"
  18398. },
  18399. "goodsstatus": {
  18400. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18401. "type": "integer"
  18402. },
  18403. "goodstradetype": {
  18404. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18405. "type": "integer"
  18406. },
  18407. "goodunitid": {
  18408. "description": "报价单位ID",
  18409. "type": "integer"
  18410. },
  18411. "hasquoter": {
  18412. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18413. "type": "integer"
  18414. },
  18415. "hqprotecttime": {
  18416. "description": "行情保护时间(秒)",
  18417. "type": "integer"
  18418. },
  18419. "innerdealmode": {
  18420. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18421. "type": "integer"
  18422. },
  18423. "isbuylimited": {
  18424. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18425. "type": "integer"
  18426. },
  18427. "isvisible": {
  18428. "description": "游客是否可见 - 0:不可见 1:可见",
  18429. "type": "integer"
  18430. },
  18431. "lasttradedate": {
  18432. "description": "最后交易日期(状态:待退市)",
  18433. "type": "string"
  18434. },
  18435. "listingdate": {
  18436. "description": "交易开始日期",
  18437. "type": "string"
  18438. },
  18439. "marketid": {
  18440. "description": "所属市场ID",
  18441. "type": "integer"
  18442. },
  18443. "modifierid": {
  18444. "description": "修改人",
  18445. "type": "integer"
  18446. },
  18447. "modifystatus": {
  18448. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18449. "type": "integer"
  18450. },
  18451. "modifytime": {
  18452. "description": "修改时间",
  18453. "type": "string"
  18454. },
  18455. "outerdealmode": {
  18456. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18457. "type": "integer"
  18458. },
  18459. "outgoodscode": {
  18460. "description": "商品代码(外部)",
  18461. "type": "string"
  18462. },
  18463. "pictureurl": {
  18464. "description": "商品图片",
  18465. "type": "string"
  18466. },
  18467. "qtydecimalplace": {
  18468. "description": "成交量小数位",
  18469. "type": "integer"
  18470. },
  18471. "quotegear": {
  18472. "description": "行情档位(1-10)",
  18473. "type": "integer"
  18474. },
  18475. "quoteminunit": {
  18476. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18477. "type": "integer"
  18478. },
  18479. "quoteshowtype": {
  18480. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18481. "type": "integer"
  18482. },
  18483. "quoteshowtypeinterval": {
  18484. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18485. "type": "integer"
  18486. },
  18487. "relatedgoodsid": {
  18488. "description": "关联参考商品ID",
  18489. "type": "integer"
  18490. },
  18491. "remark": {
  18492. "description": "备注",
  18493. "type": "string"
  18494. },
  18495. "trademode": {
  18496. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18497. "type": "integer"
  18498. }
  18499. }
  18500. },
  18501. "models.ErmcpGoodsBrand": {
  18502. "type": "object",
  18503. "properties": {
  18504. "areauserid": {
  18505. "description": "所属机构",
  18506. "type": "integer"
  18507. },
  18508. "brandid": {
  18509. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18510. "type": "integer"
  18511. },
  18512. "brandname": {
  18513. "description": "品牌名称",
  18514. "type": "string"
  18515. },
  18516. "createtime": {
  18517. "description": "创建时间",
  18518. "type": "string"
  18519. },
  18520. "creatorid": {
  18521. "description": "创建人",
  18522. "type": "integer"
  18523. },
  18524. "creatorsrc": {
  18525. "description": "创建人来源 - 1:管理端 2:终端",
  18526. "type": "integer"
  18527. },
  18528. "deliverygoodsid": {
  18529. "description": "现货品种ID",
  18530. "type": "integer"
  18531. },
  18532. "isvalid": {
  18533. "description": "是否有效 - 0:无效 1:有效",
  18534. "type": "integer"
  18535. },
  18536. "updatetime": {
  18537. "description": "更新时间",
  18538. "type": "string"
  18539. },
  18540. "updatorid": {
  18541. "description": "更新人",
  18542. "type": "integer"
  18543. },
  18544. "updatorsrc": {
  18545. "description": "更新人来源 - 1:管理端 2:终端",
  18546. "type": "integer"
  18547. },
  18548. "wrstandardid": {
  18549. "description": "现货商品ID",
  18550. "type": "integer"
  18551. }
  18552. }
  18553. },
  18554. "models.ErmcpGoodsModel": {
  18555. "type": "object",
  18556. "properties": {
  18557. "areauserid": {
  18558. "description": "所属机构",
  18559. "type": "integer"
  18560. },
  18561. "convertfactor": {
  18562. "description": "标仓系数",
  18563. "type": "number"
  18564. },
  18565. "createtime": {
  18566. "description": "创建时间",
  18567. "type": "string"
  18568. },
  18569. "creatorid": {
  18570. "description": "创建人",
  18571. "type": "integer"
  18572. },
  18573. "creatorsrc": {
  18574. "description": "创建人来源 - 1:管理端 2:终端",
  18575. "type": "integer"
  18576. },
  18577. "deliverygoodsid": {
  18578. "description": "现货品种ID",
  18579. "type": "integer"
  18580. },
  18581. "isvalid": {
  18582. "description": "是否有效 - 0:无效 1:有效",
  18583. "type": "integer"
  18584. },
  18585. "modelid": {
  18586. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18587. "type": "integer"
  18588. },
  18589. "modelname": {
  18590. "description": "型号名称",
  18591. "type": "string"
  18592. },
  18593. "updatetime": {
  18594. "description": "更新时间",
  18595. "type": "string"
  18596. },
  18597. "updatorid": {
  18598. "description": "更新人",
  18599. "type": "integer"
  18600. },
  18601. "updatorsrc": {
  18602. "description": "更新人来源 - 1:管理端 2:终端",
  18603. "type": "integer"
  18604. },
  18605. "wrstandardid": {
  18606. "description": "现货商品ID",
  18607. "type": "integer"
  18608. }
  18609. }
  18610. },
  18611. "models.ErmcpHedgePosition": {
  18612. "type": "object",
  18613. "properties": {
  18614. "accountid": {
  18615. "description": "资金账号[外部母账户]",
  18616. "type": "integer"
  18617. },
  18618. "curbuyposition": {
  18619. "description": "期末买头寸",
  18620. "type": "integer"
  18621. },
  18622. "cursellposition": {
  18623. "description": "期末卖头寸",
  18624. "type": "integer"
  18625. },
  18626. "curtdbuyposition": {
  18627. "description": "期末今日买头寸",
  18628. "type": "integer"
  18629. },
  18630. "curtdsellposition": {
  18631. "description": "期末今日卖头寸",
  18632. "type": "integer"
  18633. },
  18634. "curydbuyposition": {
  18635. "description": "期末上日买头寸",
  18636. "type": "integer"
  18637. },
  18638. "curydsellposition": {
  18639. "description": "期末上日卖头寸",
  18640. "type": "integer"
  18641. },
  18642. "decreaseqty": {
  18643. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18644. "type": "integer"
  18645. },
  18646. "fretdbuyposition": {
  18647. "description": "冻结今日买头寸",
  18648. "type": "integer"
  18649. },
  18650. "fretdsellposition": {
  18651. "description": "冻结今日卖头寸",
  18652. "type": "integer"
  18653. },
  18654. "freydbuyposition": {
  18655. "description": "冻结上日买头寸",
  18656. "type": "integer"
  18657. },
  18658. "freydsellposition": {
  18659. "description": "冻结上日卖头寸",
  18660. "type": "integer"
  18661. },
  18662. "goodscode": {
  18663. "description": "商品代码",
  18664. "type": "string"
  18665. },
  18666. "goodsid": {
  18667. "description": "商品id",
  18668. "type": "integer"
  18669. },
  18670. "goodsname": {
  18671. "description": "商品名称",
  18672. "type": "string"
  18673. },
  18674. "hedgeaccountcode": {
  18675. "description": "对冲账号",
  18676. "type": "string"
  18677. },
  18678. "hedgegoodsid": {
  18679. "description": "对冲合约ID",
  18680. "type": "integer"
  18681. },
  18682. "increaseqty": {
  18683. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18684. "type": "integer"
  18685. },
  18686. "marketid": {
  18687. "description": "市场ID",
  18688. "type": "integer"
  18689. },
  18690. "relateduserid": {
  18691. "description": "关联用户id",
  18692. "type": "integer"
  18693. },
  18694. "totalcurqty": {
  18695. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18696. "type": "integer"
  18697. },
  18698. "totalydqty": {
  18699. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18700. "type": "integer"
  18701. },
  18702. "tradedate": {
  18703. "description": "交易日(yyyyMMdd)",
  18704. "type": "string"
  18705. },
  18706. "ydbuyposition": {
  18707. "description": "期初买头寸",
  18708. "type": "integer"
  18709. },
  18710. "ydsellposition": {
  18711. "description": "期初卖头寸",
  18712. "type": "integer"
  18713. }
  18714. }
  18715. },
  18716. "models.ErmcpHedgePositionDetail": {
  18717. "type": "object",
  18718. "properties": {
  18719. "buyorsell": {
  18720. "description": "买卖方向 0-买 1-卖",
  18721. "type": "integer"
  18722. },
  18723. "channelbuildtype": {
  18724. "description": "开平方向 1-建仓 2-平仓",
  18725. "type": "integer"
  18726. },
  18727. "goodscode": {
  18728. "description": "商品代码",
  18729. "type": "string"
  18730. },
  18731. "goodsname": {
  18732. "description": "商品名称",
  18733. "type": "string"
  18734. },
  18735. "hedgegoodsid": {
  18736. "description": "商品id",
  18737. "type": "integer"
  18738. },
  18739. "tradeqty": {
  18740. "description": "数量(成交数量)",
  18741. "type": "integer"
  18742. },
  18743. "tradetime": {
  18744. "description": "时间(成交时间)",
  18745. "type": "string"
  18746. }
  18747. }
  18748. },
  18749. "models.ErmcpHisExposure": {
  18750. "type": "object",
  18751. "properties": {
  18752. "needhedgeexposoure": {
  18753. "description": "应套保敞口",
  18754. "type": "number"
  18755. },
  18756. "reckondate": {
  18757. "description": "日照时期(yyyyMMdd)",
  18758. "type": "string"
  18759. },
  18760. "totalexposure": {
  18761. "description": "总敞口",
  18762. "type": "number"
  18763. }
  18764. }
  18765. },
  18766. "models.ErmcpHisExposureS": {
  18767. "type": "object",
  18768. "properties": {
  18769. "data": {
  18770. "description": "历史敞口",
  18771. "type": "array",
  18772. "items": {
  18773. "$ref": "#/definitions/models.ErmcpHisExposure"
  18774. }
  18775. },
  18776. "enumdicname": {
  18777. "description": "单位名称",
  18778. "type": "string"
  18779. },
  18780. "middlegoodscode": {
  18781. "description": "套保品种代码",
  18782. "type": "string"
  18783. },
  18784. "middlegoodsid": {
  18785. "description": "套保品种ID",
  18786. "type": "integer"
  18787. },
  18788. "middlegoodsname": {
  18789. "description": "套保品种名称",
  18790. "type": "string"
  18791. }
  18792. }
  18793. },
  18794. "models.ErmcpLoginTaAccount": {
  18795. "type": "object",
  18796. "properties": {
  18797. "accountid": {
  18798. "description": "账号id",
  18799. "type": "integer"
  18800. },
  18801. "accountname": {
  18802. "description": "账号名称",
  18803. "type": "string"
  18804. }
  18805. }
  18806. },
  18807. "models.ErmcpLoginUser": {
  18808. "type": "object",
  18809. "properties": {
  18810. "acclist": {
  18811. "description": "关联资金账号",
  18812. "type": "array",
  18813. "items": {
  18814. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18815. }
  18816. },
  18817. "accountname": {
  18818. "description": "用户名称",
  18819. "type": "string"
  18820. },
  18821. "clientroleid": {
  18822. "description": "角色id(usertype=2)",
  18823. "type": "integer"
  18824. },
  18825. "createtime": {
  18826. "description": "创建时间",
  18827. "type": "string"
  18828. },
  18829. "logincode": {
  18830. "description": "登录代码",
  18831. "type": "string"
  18832. },
  18833. "loginid": {
  18834. "description": "登录id(LOGINID)",
  18835. "type": "integer"
  18836. },
  18837. "loginname": {
  18838. "description": "登录名称(loginaccount表中的accountname字段)",
  18839. "type": "string"
  18840. },
  18841. "loginstatus": {
  18842. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18843. "type": "integer"
  18844. },
  18845. "memberuserid": {
  18846. "description": "所属会员id",
  18847. "type": "integer"
  18848. },
  18849. "mobile": {
  18850. "description": "手机号",
  18851. "type": "string"
  18852. },
  18853. "modifytime": {
  18854. "description": "修改时间",
  18855. "type": "string"
  18856. },
  18857. "password": {
  18858. "description": "密码(不可解密)",
  18859. "type": "string"
  18860. },
  18861. "rolename": {
  18862. "description": "角色名称",
  18863. "type": "string"
  18864. },
  18865. "rolestatus": {
  18866. "description": "角色状态 1-启用 2-停用",
  18867. "type": "integer"
  18868. },
  18869. "roletype": {
  18870. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18871. "type": "string"
  18872. },
  18873. "userid": {
  18874. "description": "用户id",
  18875. "type": "integer"
  18876. },
  18877. "usertype": {
  18878. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "models.ErmcpLoginUserEx": {
  18884. "type": "object",
  18885. "properties": {
  18886. "accountstatus": {
  18887. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18888. "type": "integer"
  18889. },
  18890. "mobile": {
  18891. "description": "手机号",
  18892. "type": "string"
  18893. },
  18894. "querytype": {
  18895. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18896. "type": "integer"
  18897. },
  18898. "roleid": {
  18899. "description": "角色id(交易账户-\u003e用户id)",
  18900. "type": "integer"
  18901. },
  18902. "rolename": {
  18903. "description": "角色名称(交易账户-\u003e用户名称)",
  18904. "type": "string"
  18905. },
  18906. "userlist": {
  18907. "description": "用户列表",
  18908. "type": "array",
  18909. "items": {
  18910. "$ref": "#/definitions/models.ErmcpLoginUser"
  18911. }
  18912. },
  18913. "usertype": {
  18914. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18915. "type": "integer"
  18916. }
  18917. }
  18918. },
  18919. "models.ErmcpMiddleGoodsChangeLog": {
  18920. "type": "object",
  18921. "properties": {
  18922. "aftervalue": {
  18923. "description": "变更后",
  18924. "type": "number"
  18925. },
  18926. "applyid": {
  18927. "description": "操作人",
  18928. "type": "integer"
  18929. },
  18930. "applyname": {
  18931. "description": "操作人名称",
  18932. "type": "string"
  18933. },
  18934. "applysrc": {
  18935. "description": "操作来源 - 1:管理端 2:终端",
  18936. "type": "integer"
  18937. },
  18938. "beforevalue": {
  18939. "description": "变更前",
  18940. "type": "number"
  18941. },
  18942. "changelogtype": {
  18943. "description": "变更流水类型 - 1:套保比率变更",
  18944. "type": "integer"
  18945. },
  18946. "handlestatus": {
  18947. "description": "处理状态",
  18948. "type": "integer"
  18949. },
  18950. "logdatetime": {
  18951. "description": "流水日期",
  18952. "type": "string"
  18953. },
  18954. "logid": {
  18955. "description": "流水ID",
  18956. "type": "integer"
  18957. },
  18958. "logremark": {
  18959. "description": "流水备注",
  18960. "type": "string"
  18961. },
  18962. "middlegoodsid": {
  18963. "description": "套保品种ID",
  18964. "type": "integer"
  18965. },
  18966. "tradedate": {
  18967. "description": "交易日(yyyyMMdd)",
  18968. "type": "string"
  18969. },
  18970. "updatetime": {
  18971. "description": "更新时间",
  18972. "type": "string"
  18973. }
  18974. }
  18975. },
  18976. "models.ErmcpMiddleGoodsDetail": {
  18977. "type": "object",
  18978. "properties": {
  18979. "cvList": {
  18980. "description": "期货品种折算列表",
  18981. "type": "array",
  18982. "items": {
  18983. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18984. }
  18985. },
  18986. "mg": {
  18987. "description": "套保品种基本信息",
  18988. "type": "object",
  18989. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18990. },
  18991. "wrcList": {
  18992. "description": "现货品种列表(现货商品折算配置)",
  18993. "type": "array",
  18994. "items": {
  18995. "$ref": "#/definitions/models.WRSConverTDetail"
  18996. }
  18997. }
  18998. }
  18999. },
  19000. "models.ErmcpMiddleGoodsModel": {
  19001. "type": "object",
  19002. "properties": {
  19003. "areauserid": {
  19004. "description": "机构用户ID",
  19005. "type": "integer"
  19006. },
  19007. "createtime": {
  19008. "description": "修改时间",
  19009. "type": "string"
  19010. },
  19011. "enumdicname": {
  19012. "description": "单位名称",
  19013. "type": "string"
  19014. },
  19015. "evaluateratio": {
  19016. "description": "估价系数",
  19017. "type": "number"
  19018. },
  19019. "goodsgroupid": {
  19020. "description": "关联期货品种ID",
  19021. "type": "integer"
  19022. },
  19023. "goodsunitid": {
  19024. "description": "单位ID",
  19025. "type": "integer"
  19026. },
  19027. "isvalid": {
  19028. "description": "状态 0-无效(停用) 1-有效(正常)",
  19029. "type": "integer"
  19030. },
  19031. "middlegoodscode": {
  19032. "description": "套保品种代码",
  19033. "type": "string"
  19034. },
  19035. "middlegoodsid": {
  19036. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19037. "type": "integer"
  19038. },
  19039. "middlegoodsname": {
  19040. "description": "套保品种名称",
  19041. "type": "string"
  19042. },
  19043. "modifytime": {
  19044. "description": "修改时间",
  19045. "type": "string"
  19046. },
  19047. "needarbitrageratio": {
  19048. "description": "套利比例",
  19049. "type": "number"
  19050. },
  19051. "needhedgeratio": {
  19052. "description": "套保比率",
  19053. "type": "number"
  19054. },
  19055. "qtydecimalplace": {
  19056. "description": "数量小数位",
  19057. "type": "integer"
  19058. },
  19059. "relatedgoodsid": {
  19060. "description": "关联交易商品ID",
  19061. "type": "integer"
  19062. },
  19063. "relatedgoodstype": {
  19064. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19065. "type": "integer"
  19066. },
  19067. "remark": {
  19068. "description": "备注",
  19069. "type": "string"
  19070. }
  19071. }
  19072. },
  19073. "models.ErmcpMiddlegoodsRelateGoods": {
  19074. "type": "object",
  19075. "properties": {
  19076. "agreeunit": {
  19077. "description": "合约乘数",
  19078. "type": "number"
  19079. },
  19080. "convertratio": {
  19081. "description": "折算系数",
  19082. "type": "number"
  19083. },
  19084. "enumdicname": {
  19085. "description": "单位名称(交易商品)",
  19086. "type": "string"
  19087. },
  19088. "goodscode": {
  19089. "description": "交易商品代码",
  19090. "type": "string"
  19091. },
  19092. "goodsgroupid": {
  19093. "description": "交易品种id",
  19094. "type": "integer"
  19095. },
  19096. "goodsid": {
  19097. "description": "商品Id",
  19098. "type": "integer"
  19099. },
  19100. "goodsname": {
  19101. "description": "交易商品名称",
  19102. "type": "string"
  19103. },
  19104. "goodunitid": {
  19105. "description": "交易商品单位id",
  19106. "type": "integer"
  19107. },
  19108. "middlegoodsid": {
  19109. "description": "套保商品id",
  19110. "type": "integer"
  19111. },
  19112. "middlegoodsname": {
  19113. "description": "套保商品名称",
  19114. "type": "string"
  19115. },
  19116. "middlegoodsswcode": {
  19117. "description": "套保商品代码",
  19118. "type": "string"
  19119. },
  19120. "needarbitrageratio": {
  19121. "description": "应套利比例",
  19122. "type": "number"
  19123. },
  19124. "needhedgeratio": {
  19125. "description": "应套保比例",
  19126. "type": "number"
  19127. }
  19128. }
  19129. },
  19130. "models.ErmcpOPLogModel": {
  19131. "type": "object",
  19132. "properties": {
  19133. "aftervalue": {
  19134. "description": "变更后",
  19135. "type": "number"
  19136. },
  19137. "applyid": {
  19138. "description": "操作人ID",
  19139. "type": "string"
  19140. },
  19141. "applyname": {
  19142. "description": "操作人名称",
  19143. "type": "string"
  19144. },
  19145. "beforevalue": {
  19146. "description": "变更前",
  19147. "type": "number"
  19148. },
  19149. "biztype": {
  19150. "description": "业务类型 - 1:套保计划 2:现货合同",
  19151. "type": "integer"
  19152. },
  19153. "contracttype": {
  19154. "description": "现货合同类型 - 1:采购 -1:销售",
  19155. "type": "integer"
  19156. },
  19157. "logvalue": {
  19158. "description": "数值",
  19159. "type": "number"
  19160. },
  19161. "operatelogtype": {
  19162. "description": "操作流水类型",
  19163. "type": "integer"
  19164. },
  19165. "operatelogtypedesc": {
  19166. "description": "操作流水类型名称",
  19167. "type": "string"
  19168. },
  19169. "relatedid": {
  19170. "description": "现货合同ID\\套保计划",
  19171. "type": "string"
  19172. },
  19173. "updatetime": {
  19174. "description": "更新时间",
  19175. "type": "string"
  19176. }
  19177. }
  19178. },
  19179. "models.ErmcpPendingAudit": {
  19180. "type": "object",
  19181. "properties": {
  19182. "areastockqty": {
  19183. "description": "待审核数量: 库存申请",
  19184. "type": "integer"
  19185. },
  19186. "businessdjqty": {
  19187. "description": "待审核数量: 点价",
  19188. "type": "integer"
  19189. },
  19190. "businessfpqty": {
  19191. "description": "待审核数量: 发票",
  19192. "type": "integer"
  19193. },
  19194. "businessjsqty": {
  19195. "description": "待审核数量: 结算",
  19196. "type": "integer"
  19197. },
  19198. "businesskxqty": {
  19199. "description": "待审核数量: 款项",
  19200. "type": "integer"
  19201. },
  19202. "hedgeplanqty": {
  19203. "description": "待审核数量: 套保计划",
  19204. "type": "integer"
  19205. },
  19206. "spotcontractqty": {
  19207. "description": "待审核数量: 现货合同",
  19208. "type": "integer"
  19209. },
  19210. "userqty": {
  19211. "description": "待审核数量: 用户",
  19212. "type": "integer"
  19213. }
  19214. }
  19215. },
  19216. "models.ErmcpRealExposureModel": {
  19217. "type": "object",
  19218. "properties": {
  19219. "AreaUserID": {
  19220. "description": "所属机构",
  19221. "type": "integer"
  19222. },
  19223. "BuyFutureQty": {
  19224. "description": "买入期货数量",
  19225. "type": "number"
  19226. },
  19227. "BuyPlanQty": {
  19228. "description": "采购计划数量",
  19229. "type": "number"
  19230. },
  19231. "BuyPricedQty": {
  19232. "description": "采购合同已定价数量",
  19233. "type": "number"
  19234. },
  19235. "MiddleGoodsCode": {
  19236. "description": "套保品种代码",
  19237. "type": "string"
  19238. },
  19239. "MiddleGoodsHedgeRatio": {
  19240. "description": "套保比例",
  19241. "type": "number"
  19242. },
  19243. "MiddleGoodsID": {
  19244. "description": "套保品种",
  19245. "type": "integer"
  19246. },
  19247. "MiddleGoodsName": {
  19248. "description": "套保品种名称",
  19249. "type": "string"
  19250. },
  19251. "NeedHedgeExposoure": {
  19252. "description": "应套保敞口(套保敞口)",
  19253. "type": "number"
  19254. },
  19255. "NeedHedgeRatio": {
  19256. "description": "应套保敞口比例",
  19257. "type": "number"
  19258. },
  19259. "OriBuyFutureQty": {
  19260. "description": "期初买入期货数量",
  19261. "type": "number"
  19262. },
  19263. "OriBuyPlanQty": {
  19264. "description": "期初采购计划数量",
  19265. "type": "number"
  19266. },
  19267. "OriBuyPricedQty": {
  19268. "description": "期初采购合同已定价数量",
  19269. "type": "number"
  19270. },
  19271. "OriSellFutureQty": {
  19272. "description": "期初卖出期货数量",
  19273. "type": "number"
  19274. },
  19275. "OriSellPlanQty": {
  19276. "description": "期初销售计划数量",
  19277. "type": "number"
  19278. },
  19279. "OriSellPricedQty": {
  19280. "description": "期初销售合同已定价数量",
  19281. "type": "number"
  19282. },
  19283. "SellFutureQty": {
  19284. "description": "卖出期货数量",
  19285. "type": "number"
  19286. },
  19287. "SellPlanQty": {
  19288. "description": "销售计划数量",
  19289. "type": "number"
  19290. },
  19291. "SellPricedQty": {
  19292. "description": "销售合同已定价数量",
  19293. "type": "number"
  19294. },
  19295. "TotalExposure": {
  19296. "description": "总敞口",
  19297. "type": "number"
  19298. },
  19299. "TotalFutureQty": {
  19300. "description": "期货总量",
  19301. "type": "number"
  19302. },
  19303. "TotalHedgeRatio": {
  19304. "description": "敞口比例",
  19305. "type": "number"
  19306. },
  19307. "TotalNeedHedgeQty": {
  19308. "description": "应套保总量(现货应套保总量)",
  19309. "type": "number"
  19310. },
  19311. "TotalSpotQty": {
  19312. "description": "现货总量",
  19313. "type": "number"
  19314. },
  19315. "arbitrageqty": {
  19316. "description": "套利量",
  19317. "type": "number"
  19318. },
  19319. "diffArbitrageQty": {
  19320. "description": "套利变动量",
  19321. "type": "number"
  19322. },
  19323. "diffExposoureQty": {
  19324. "description": "变动量(套保敞口)",
  19325. "type": "number"
  19326. },
  19327. "diffFutuQty": {
  19328. "description": "变动量(期货总量)",
  19329. "type": "number"
  19330. },
  19331. "diffHedgeQty": {
  19332. "description": "套保变动量",
  19333. "type": "number"
  19334. },
  19335. "diffQty": {
  19336. "description": "变动量(总敞口)",
  19337. "type": "number"
  19338. },
  19339. "diffSpotHedgeQty": {
  19340. "description": "变动量(现货应套保总量)",
  19341. "type": "number"
  19342. },
  19343. "diffSpotQty": {
  19344. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19345. "type": "number"
  19346. },
  19347. "enumdicname": {
  19348. "description": "单位名称",
  19349. "type": "string"
  19350. },
  19351. "hedgeqty": {
  19352. "description": "套保量",
  19353. "type": "number"
  19354. },
  19355. "needarbitrageqty": {
  19356. "description": "应套利量",
  19357. "type": "number"
  19358. },
  19359. "needarbitrageratio": {
  19360. "description": "套利比例",
  19361. "type": "number"
  19362. },
  19363. "needhedgeqty": {
  19364. "description": "应套保量",
  19365. "type": "number"
  19366. },
  19367. "oriTotalFutuQty": {
  19368. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19369. "type": "number"
  19370. },
  19371. "oriTotalSpotQty": {
  19372. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19373. "type": "number"
  19374. },
  19375. "oriarbitrageqty": {
  19376. "description": "期初套利量",
  19377. "type": "number"
  19378. },
  19379. "orihedgeqty": {
  19380. "description": "期初套保量",
  19381. "type": "number"
  19382. },
  19383. "orineedhedgeexposoure": {
  19384. "description": "期初套保敞口",
  19385. "type": "number"
  19386. },
  19387. "oritotalexposure": {
  19388. "description": "期初总敞口",
  19389. "type": "number"
  19390. },
  19391. "oritotalfutureqty": {
  19392. "description": "期初期货总量",
  19393. "type": "number"
  19394. },
  19395. "oritotalneedhedgeqty": {
  19396. "description": "期初现货应套保量",
  19397. "type": "number"
  19398. }
  19399. }
  19400. },
  19401. "models.ErmcpRole": {
  19402. "type": "object",
  19403. "properties": {
  19404. "areauserid": {
  19405. "description": "所属机构",
  19406. "type": "integer"
  19407. },
  19408. "autoid": {
  19409. "description": "角色ID(自增ID)",
  19410. "type": "integer"
  19411. },
  19412. "modifierid": {
  19413. "description": "修改人(创建人)",
  19414. "type": "integer"
  19415. },
  19416. "modifiername": {
  19417. "description": "修改人名称",
  19418. "type": "string"
  19419. },
  19420. "modifytime": {
  19421. "description": "修改时间(创建时间)",
  19422. "type": "string"
  19423. },
  19424. "rolename": {
  19425. "description": "角色名称",
  19426. "type": "string"
  19427. },
  19428. "rolestatus": {
  19429. "description": "角色状态 - 1:启用 2:停用",
  19430. "type": "integer"
  19431. },
  19432. "roletype": {
  19433. "description": "角色类型 - 1- 管理端 2- 交易端",
  19434. "type": "integer"
  19435. }
  19436. }
  19437. },
  19438. "models.ErmcpRoleMenu": {
  19439. "type": "object",
  19440. "properties": {
  19441. "iconame": {
  19442. "description": "菜单图标",
  19443. "type": "string"
  19444. },
  19445. "ishadrole": {
  19446. "description": "是否有权限",
  19447. "type": "boolean"
  19448. },
  19449. "menutype": {
  19450. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19451. "type": "integer"
  19452. },
  19453. "parentcode": {
  19454. "description": "上级资源代码",
  19455. "type": "string"
  19456. },
  19457. "remark": {
  19458. "description": "菜单备注",
  19459. "type": "string"
  19460. },
  19461. "resourcecode": {
  19462. "description": "菜单代码",
  19463. "type": "string"
  19464. },
  19465. "resourcelevel": {
  19466. "description": "级别",
  19467. "type": "integer"
  19468. },
  19469. "resourcename": {
  19470. "description": "菜单名称",
  19471. "type": "string"
  19472. },
  19473. "roleid": {
  19474. "description": "角色id",
  19475. "type": "integer"
  19476. },
  19477. "sort": {
  19478. "description": "排序",
  19479. "type": "integer"
  19480. },
  19481. "url": {
  19482. "description": "URL",
  19483. "type": "string"
  19484. },
  19485. "userid": {
  19486. "description": "用户id",
  19487. "type": "integer"
  19488. }
  19489. }
  19490. },
  19491. "models.ErmcpRoleMenuEx": {
  19492. "type": "object",
  19493. "properties": {
  19494. "menu": {
  19495. "description": "父级菜单",
  19496. "type": "object",
  19497. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19498. },
  19499. "subMenu": {
  19500. "description": "子级菜单",
  19501. "type": "array",
  19502. "items": {
  19503. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19504. }
  19505. }
  19506. }
  19507. },
  19508. "models.ErmcpTaAccount": {
  19509. "type": "object",
  19510. "properties": {
  19511. "accountid": {
  19512. "description": "账户id",
  19513. "type": "integer"
  19514. },
  19515. "accountname": {
  19516. "description": "账户名称",
  19517. "type": "string"
  19518. },
  19519. "currencyid": {
  19520. "description": "币种id",
  19521. "type": "integer"
  19522. },
  19523. "hedgeaccountcode": {
  19524. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19525. "type": "string"
  19526. },
  19527. "ismain": {
  19528. "description": "是否主账户 0-否 1-是",
  19529. "type": "integer"
  19530. },
  19531. "parentaccountid": {
  19532. "description": "父账户id",
  19533. "type": "integer"
  19534. },
  19535. "relateduserid": {
  19536. "description": "关联userid",
  19537. "type": "integer"
  19538. },
  19539. "tradefeetmpid": {
  19540. "description": "手续费模板id",
  19541. "type": "integer"
  19542. },
  19543. "tradefeetmpname": {
  19544. "description": "手续费模板名称",
  19545. "type": "string"
  19546. },
  19547. "trademargintmpid": {
  19548. "description": "保证金模板id",
  19549. "type": "integer"
  19550. },
  19551. "trademargintmpname": {
  19552. "description": "保证金模板名称",
  19553. "type": "string"
  19554. },
  19555. "traderatetmpid": {
  19556. "description": "汇率模板id",
  19557. "type": "integer"
  19558. },
  19559. "traderatetmpname": {
  19560. "description": "汇率模板名称",
  19561. "type": "string"
  19562. },
  19563. "tradestatus": {
  19564. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19565. "type": "integer"
  19566. },
  19567. "userid": {
  19568. "description": "用户id",
  19569. "type": "integer"
  19570. }
  19571. }
  19572. },
  19573. "models.ErmcpTaAccountEx": {
  19574. "type": "object",
  19575. "properties": {
  19576. "mainAcc": {
  19577. "description": "主账号",
  19578. "type": "object",
  19579. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19580. },
  19581. "subacclist": {
  19582. "description": "子账号列表",
  19583. "type": "array",
  19584. "items": {
  19585. "$ref": "#/definitions/models.ErmcpTaAccount"
  19586. }
  19587. }
  19588. }
  19589. },
  19590. "models.ErmcpTaAccountInfo": {
  19591. "type": "object",
  19592. "properties": {
  19593. "accountid": {
  19594. "description": "资金账户ID",
  19595. "type": "integer"
  19596. },
  19597. "accountname": {
  19598. "description": "账户名称",
  19599. "type": "string"
  19600. },
  19601. "balance": {
  19602. "description": "期初余额",
  19603. "type": "number"
  19604. },
  19605. "capitalbalance": {
  19606. "description": "本金余额[外部子账户实际出入金余额]",
  19607. "type": "number"
  19608. },
  19609. "closepl": {
  19610. "description": "今日平仓盈亏",
  19611. "type": "number"
  19612. },
  19613. "creditdecrease": {
  19614. "description": "今日授信减少",
  19615. "type": "number"
  19616. },
  19617. "creditincrease": {
  19618. "description": "今日授信增加",
  19619. "type": "number"
  19620. },
  19621. "curdebt": {
  19622. "description": "期末欠款",
  19623. "type": "number"
  19624. },
  19625. "currencyid": {
  19626. "description": "货币ID",
  19627. "type": "integer"
  19628. },
  19629. "currentbalance": {
  19630. "description": "期末余额",
  19631. "type": "number"
  19632. },
  19633. "freezecharge": {
  19634. "description": "手续费冻结",
  19635. "type": "number"
  19636. },
  19637. "freezemargin": {
  19638. "description": "冻结保证金",
  19639. "type": "number"
  19640. },
  19641. "fromaccountid": {
  19642. "description": "所属上级账户",
  19643. "type": "integer"
  19644. },
  19645. "inamount": {
  19646. "description": "今日入金金额(包括三方入金)",
  19647. "type": "number"
  19648. },
  19649. "ismain": {
  19650. "description": "是否母账号 0:不是母账户 1:是母账户",
  19651. "type": "integer"
  19652. },
  19653. "mortgagecredit": {
  19654. "description": "授信金额",
  19655. "type": "number"
  19656. },
  19657. "oridebt": {
  19658. "description": "期初欠款",
  19659. "type": "number"
  19660. },
  19661. "orifreezecharge": {
  19662. "description": "期初手续费冻结",
  19663. "type": "number"
  19664. },
  19665. "orifreezemargin": {
  19666. "description": "期初冻结保证金",
  19667. "type": "number"
  19668. },
  19669. "orimortgagecredit": {
  19670. "description": "期初授信金额",
  19671. "type": "number"
  19672. },
  19673. "oriothercredit": {
  19674. "description": "期初其它授信金额",
  19675. "type": "number"
  19676. },
  19677. "oriotherfreezemargin": {
  19678. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19679. "type": "number"
  19680. },
  19681. "orioutamountfreeze": {
  19682. "description": "期初出金冻结",
  19683. "type": "number"
  19684. },
  19685. "oriusedmargin": {
  19686. "description": "期初占用保证金",
  19687. "type": "number"
  19688. },
  19689. "othercredit": {
  19690. "description": "其它授信金额",
  19691. "type": "number"
  19692. },
  19693. "othercreditdecrease": {
  19694. "description": "今日其它授信减少",
  19695. "type": "number"
  19696. },
  19697. "othercreditincrease": {
  19698. "description": "今日其它授信增加",
  19699. "type": "number"
  19700. },
  19701. "otherfreezemargin": {
  19702. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19703. "type": "number"
  19704. },
  19705. "outamount": {
  19706. "description": "今日出金金额(包括三方出金)",
  19707. "type": "number"
  19708. },
  19709. "outamountfreeze": {
  19710. "description": "出金冻结",
  19711. "type": "number"
  19712. },
  19713. "outthreshold": {
  19714. "description": "出金阈值",
  19715. "type": "number"
  19716. },
  19717. "parentaccountid": {
  19718. "description": "所属根账号",
  19719. "type": "integer"
  19720. },
  19721. "paycharge": {
  19722. "description": "今日手续费支出",
  19723. "type": "number"
  19724. },
  19725. "relateduserid": {
  19726. "description": "关联用户",
  19727. "type": "integer"
  19728. },
  19729. "signstatus": {
  19730. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19731. "type": "integer"
  19732. },
  19733. "sublevelpath": {
  19734. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19735. "type": "string"
  19736. },
  19737. "taaccounttype": {
  19738. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19739. "type": "integer"
  19740. },
  19741. "thirdinamount": {
  19742. "description": "今日三方入金",
  19743. "type": "number"
  19744. },
  19745. "thirdoutamount": {
  19746. "description": "今日三方出金",
  19747. "type": "number"
  19748. },
  19749. "tradestatus": {
  19750. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19751. "type": "integer"
  19752. },
  19753. "transferamount": {
  19754. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19755. "type": "number"
  19756. },
  19757. "usedmargin": {
  19758. "description": "占用保证金",
  19759. "type": "number"
  19760. },
  19761. "userid": {
  19762. "description": "用户ID",
  19763. "type": "integer"
  19764. }
  19765. }
  19766. },
  19767. "models.ErmcpTaAccountM": {
  19768. "type": "object",
  19769. "properties": {
  19770. "accountid": {
  19771. "description": "账户id",
  19772. "type": "integer"
  19773. },
  19774. "accountname": {
  19775. "description": "账户名称",
  19776. "type": "string"
  19777. },
  19778. "currencyid": {
  19779. "description": "币种id",
  19780. "type": "integer"
  19781. },
  19782. "fcid": {
  19783. "description": "期货公司id",
  19784. "type": "integer"
  19785. },
  19786. "fcname": {
  19787. "description": "期货公司代码",
  19788. "type": "string"
  19789. },
  19790. "hedgeaccountcode": {
  19791. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19792. "type": "string"
  19793. },
  19794. "ismain": {
  19795. "description": "是否主账户 0-否 1-是",
  19796. "type": "integer"
  19797. },
  19798. "parentaccountid": {
  19799. "description": "父账户id",
  19800. "type": "integer"
  19801. },
  19802. "relateduserid": {
  19803. "description": "关联userid",
  19804. "type": "integer"
  19805. },
  19806. "tradefeetmpid": {
  19807. "description": "手续费模板id",
  19808. "type": "integer"
  19809. },
  19810. "tradefeetmpname": {
  19811. "description": "手续费模板名称",
  19812. "type": "string"
  19813. },
  19814. "trademargintmpid": {
  19815. "description": "保证金模板id",
  19816. "type": "integer"
  19817. },
  19818. "trademargintmpname": {
  19819. "description": "保证金模板名称",
  19820. "type": "string"
  19821. },
  19822. "traderatetmpid": {
  19823. "description": "汇率模板id",
  19824. "type": "integer"
  19825. },
  19826. "traderatetmpname": {
  19827. "description": "汇率模板名称",
  19828. "type": "string"
  19829. },
  19830. "tradestatus": {
  19831. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19832. "type": "integer"
  19833. },
  19834. "userid": {
  19835. "description": "用户id",
  19836. "type": "integer"
  19837. }
  19838. }
  19839. },
  19840. "models.ErmcpTradeConfigTMP": {
  19841. "type": "object",
  19842. "properties": {
  19843. "areauserid": {
  19844. "description": "所属机构",
  19845. "type": "integer"
  19846. },
  19847. "basiccurrencyid": {
  19848. "description": "基本币种ID[汇率] - 目标币种",
  19849. "type": "integer"
  19850. },
  19851. "mainaccountid": {
  19852. "description": "主账户ID",
  19853. "type": "integer"
  19854. },
  19855. "modifierid": {
  19856. "description": "修改人",
  19857. "type": "integer"
  19858. },
  19859. "remark": {
  19860. "description": "备注",
  19861. "type": "string"
  19862. },
  19863. "tradeconfigtmpid": {
  19864. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19865. "type": "integer"
  19866. },
  19867. "tradeconfigtmpname": {
  19868. "description": "交易配置模板名称",
  19869. "type": "string"
  19870. },
  19871. "tradeconfigtmptype": {
  19872. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19873. "type": "integer"
  19874. },
  19875. "updatetime": {
  19876. "description": "更新时间",
  19877. "type": "string"
  19878. }
  19879. }
  19880. },
  19881. "models.ErmcpUserModel": {
  19882. "type": "object",
  19883. "properties": {
  19884. "address": {
  19885. "description": "通讯地址",
  19886. "type": "string"
  19887. },
  19888. "attachment1": {
  19889. "description": "附件1",
  19890. "type": "string"
  19891. },
  19892. "audittime": {
  19893. "description": "审核时间",
  19894. "type": "string"
  19895. },
  19896. "cardbackphotourl": {
  19897. "description": "证件反面图片地址",
  19898. "type": "string"
  19899. },
  19900. "cardfrontphotourl": {
  19901. "description": "证件正面图片地址",
  19902. "type": "string"
  19903. },
  19904. "cardnum": {
  19905. "description": "证件号码",
  19906. "type": "string"
  19907. },
  19908. "cardtype": {
  19909. "description": "证件类型",
  19910. "type": "integer"
  19911. },
  19912. "cardtypename": {
  19913. "description": "证件类型名称",
  19914. "type": "string"
  19915. },
  19916. "cityid": {
  19917. "description": "市",
  19918. "type": "integer"
  19919. },
  19920. "contactname": {
  19921. "description": "联系人",
  19922. "type": "string"
  19923. },
  19924. "countryid": {
  19925. "description": "国家",
  19926. "type": "integer"
  19927. },
  19928. "createtime": {
  19929. "description": "创建时间",
  19930. "type": "string"
  19931. },
  19932. "customername": {
  19933. "description": "企业名称",
  19934. "type": "string"
  19935. },
  19936. "districtid": {
  19937. "description": "区域",
  19938. "type": "integer"
  19939. },
  19940. "email": {
  19941. "description": "邮件",
  19942. "type": "string"
  19943. },
  19944. "legalpersonname": {
  19945. "description": "法人姓名(企业)",
  19946. "type": "string"
  19947. },
  19948. "memberuserid": {
  19949. "description": "所属机构ID",
  19950. "type": "integer"
  19951. },
  19952. "mobile": {
  19953. "description": "手机号码",
  19954. "type": "string"
  19955. },
  19956. "modifytime": {
  19957. "description": "修改时间",
  19958. "type": "string"
  19959. },
  19960. "nickname": {
  19961. "description": "昵称",
  19962. "type": "string"
  19963. },
  19964. "provinceid": {
  19965. "description": "省",
  19966. "type": "integer"
  19967. },
  19968. "remark": {
  19969. "description": "备注",
  19970. "type": "string"
  19971. },
  19972. "status": {
  19973. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19974. "type": "integer"
  19975. },
  19976. "statusdesc": {
  19977. "description": "账户状态中文描述",
  19978. "type": "string"
  19979. },
  19980. "taxpayernum": {
  19981. "description": "纳税人识别号",
  19982. "type": "string"
  19983. },
  19984. "telphone": {
  19985. "description": "联系电话",
  19986. "type": "string"
  19987. },
  19988. "userid": {
  19989. "description": "用户ID",
  19990. "type": "integer"
  19991. },
  19992. "userinfotype": {
  19993. "description": "客户类型",
  19994. "type": "string"
  19995. }
  19996. }
  19997. },
  19998. "models.ErmcpWareHouseInfo": {
  19999. "type": "object",
  20000. "properties": {
  20001. "address": {
  20002. "description": "详细地址",
  20003. "type": "string"
  20004. },
  20005. "areauserid": {
  20006. "description": "所属机构",
  20007. "type": "integer"
  20008. },
  20009. "autoid": {
  20010. "description": "自增ID(仓库ID)",
  20011. "type": "integer"
  20012. },
  20013. "cityid": {
  20014. "description": "市",
  20015. "type": "integer"
  20016. },
  20017. "contactname": {
  20018. "description": "联系人",
  20019. "type": "string"
  20020. },
  20021. "contactnum": {
  20022. "description": "联系电话",
  20023. "type": "string"
  20024. },
  20025. "countryid": {
  20026. "description": "国家",
  20027. "type": "integer"
  20028. },
  20029. "createtime": {
  20030. "description": "创建时间",
  20031. "type": "string"
  20032. },
  20033. "districtid": {
  20034. "description": "区",
  20035. "type": "integer"
  20036. },
  20037. "hasvideo": {
  20038. "description": "是否有视频 - 0:无 1:有",
  20039. "type": "integer"
  20040. },
  20041. "provinceid": {
  20042. "description": "省",
  20043. "type": "integer"
  20044. },
  20045. "remark": {
  20046. "description": "审核备注",
  20047. "type": "string"
  20048. },
  20049. "videourl": {
  20050. "description": "视频地址",
  20051. "type": "string"
  20052. },
  20053. "warehousecode": {
  20054. "description": "仓库代码",
  20055. "type": "string"
  20056. },
  20057. "warehousename": {
  20058. "description": "仓库名称",
  20059. "type": "string"
  20060. },
  20061. "warehousestatus": {
  20062. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20063. "type": "integer"
  20064. },
  20065. "warehousetype": {
  20066. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20067. "type": "integer"
  20068. }
  20069. }
  20070. },
  20071. "models.Externalexchange": {
  20072. "type": "object",
  20073. "required": [
  20074. "autoid"
  20075. ],
  20076. "properties": {
  20077. "autoid": {
  20078. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20079. "type": "integer"
  20080. },
  20081. "exchangefullname": {
  20082. "description": "外部交易所全称",
  20083. "type": "string"
  20084. },
  20085. "exexchangecode": {
  20086. "description": "外部交易所代码",
  20087. "type": "string"
  20088. },
  20089. "exexchangename": {
  20090. "description": "外部交易所名称(简称)",
  20091. "type": "string"
  20092. },
  20093. "ismarketprice": {
  20094. "description": "是否支持市价 - 0:不支持 1:支持",
  20095. "type": "integer"
  20096. },
  20097. "quotegear": {
  20098. "description": "行情档位(1-10)",
  20099. "type": "integer"
  20100. },
  20101. "showbrokerflag": {
  20102. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20103. "type": "integer"
  20104. },
  20105. "updatetime": {
  20106. "description": "更新时间",
  20107. "type": "string"
  20108. }
  20109. }
  20110. },
  20111. "models.Funcmenulist": {
  20112. "type": "object",
  20113. "required": [
  20114. "resourcecode"
  20115. ],
  20116. "properties": {
  20117. "iconame": {
  20118. "description": "菜单图标",
  20119. "type": "string"
  20120. },
  20121. "menutype": {
  20122. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20123. "type": "integer"
  20124. },
  20125. "parentcode": {
  20126. "description": "上级资源代码",
  20127. "type": "string"
  20128. },
  20129. "remark": {
  20130. "description": "备注",
  20131. "type": "string"
  20132. },
  20133. "resourcecode": {
  20134. "description": "资源代码",
  20135. "type": "string"
  20136. },
  20137. "resourcelevel": {
  20138. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20139. "type": "integer"
  20140. },
  20141. "resourcename": {
  20142. "description": "资源名",
  20143. "type": "string"
  20144. },
  20145. "sort": {
  20146. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20147. "type": "integer"
  20148. },
  20149. "url": {
  20150. "description": "URL",
  20151. "type": "string"
  20152. }
  20153. }
  20154. },
  20155. "models.Goods": {
  20156. "type": "object",
  20157. "required": [
  20158. "goodscode",
  20159. "goodsid",
  20160. "goodsname",
  20161. "marketid"
  20162. ],
  20163. "properties": {
  20164. "agreeunit": {
  20165. "description": "合约单位",
  20166. "type": "number"
  20167. },
  20168. "areauserid": {
  20169. "description": "所属机构",
  20170. "type": "integer"
  20171. },
  20172. "auditaccountid": {
  20173. "description": "审核操作员账号",
  20174. "type": "integer"
  20175. },
  20176. "audittime": {
  20177. "description": "审核时间",
  20178. "type": "string"
  20179. },
  20180. "cancelaccountid": {
  20181. "description": "注销操作员账号",
  20182. "type": "integer"
  20183. },
  20184. "canceltime": {
  20185. "description": "注销时间",
  20186. "type": "string"
  20187. },
  20188. "closepricemode": {
  20189. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20190. "type": "integer"
  20191. },
  20192. "closepriceparam": {
  20193. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20194. "type": "number"
  20195. },
  20196. "createtime": {
  20197. "description": "创建时间",
  20198. "type": "string"
  20199. },
  20200. "creatorid": {
  20201. "description": "创建人",
  20202. "type": "integer"
  20203. },
  20204. "currencyid": {
  20205. "description": "报价货币ID",
  20206. "type": "integer"
  20207. },
  20208. "cutmode": {
  20209. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20210. "type": "integer"
  20211. },
  20212. "decimalplace": {
  20213. "description": "报价小数位",
  20214. "type": "integer"
  20215. },
  20216. "delistingdate": {
  20217. "description": "商品退市时间(状态:退市) -- 已作废",
  20218. "type": "string"
  20219. },
  20220. "delistingmode": {
  20221. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20222. "type": "integer"
  20223. },
  20224. "deliveryflag": {
  20225. "description": "交割标志 - 0:不可交割 1:可交割",
  20226. "type": "integer"
  20227. },
  20228. "forceclosemode": {
  20229. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20230. "type": "integer"
  20231. },
  20232. "forceclosevalue": {
  20233. "description": "定期强平参数 [收益权]",
  20234. "type": "integer"
  20235. },
  20236. "goodscode": {
  20237. "description": "商品代码(内部)",
  20238. "type": "string"
  20239. },
  20240. "goodscurrencyid": {
  20241. "description": "合约货币ID",
  20242. "type": "integer"
  20243. },
  20244. "goodsgroupid": {
  20245. "description": "所属商品组ID",
  20246. "type": "integer"
  20247. },
  20248. "goodsid": {
  20249. "description": "商品ID(自增ID SEQ_GOODS)",
  20250. "type": "integer"
  20251. },
  20252. "goodsname": {
  20253. "description": "商品名称",
  20254. "type": "string"
  20255. },
  20256. "goodsquotetype": {
  20257. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20258. "type": "integer"
  20259. },
  20260. "goodsstatus": {
  20261. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20262. "type": "integer"
  20263. },
  20264. "goodstradetype": {
  20265. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20266. "type": "integer"
  20267. },
  20268. "goodunitid": {
  20269. "description": "报价单位ID",
  20270. "type": "integer"
  20271. },
  20272. "hasquoter": {
  20273. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20274. "type": "integer"
  20275. },
  20276. "hqprotecttime": {
  20277. "description": "行情保护时间(秒)",
  20278. "type": "integer"
  20279. },
  20280. "innerdealmode": {
  20281. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20282. "type": "integer"
  20283. },
  20284. "isbuylimited": {
  20285. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20286. "type": "integer"
  20287. },
  20288. "isvisible": {
  20289. "description": "游客是否可见 - 0:不可见 1:可见",
  20290. "type": "integer"
  20291. },
  20292. "lasttradedate": {
  20293. "description": "最后交易日期(状态:待退市)",
  20294. "type": "string"
  20295. },
  20296. "listingdate": {
  20297. "description": "交易开始日期",
  20298. "type": "string"
  20299. },
  20300. "marketid": {
  20301. "description": "所属市场ID",
  20302. "type": "integer"
  20303. },
  20304. "modifierid": {
  20305. "description": "修改人",
  20306. "type": "integer"
  20307. },
  20308. "modifystatus": {
  20309. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20310. "type": "integer"
  20311. },
  20312. "modifytime": {
  20313. "description": "修改时间",
  20314. "type": "string"
  20315. },
  20316. "outerdealmode": {
  20317. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20318. "type": "integer"
  20319. },
  20320. "outgoodscode": {
  20321. "description": "商品代码(外部)",
  20322. "type": "string"
  20323. },
  20324. "pictureurl": {
  20325. "description": "商品图片",
  20326. "type": "string"
  20327. },
  20328. "qtydecimalplace": {
  20329. "description": "成交量小数位",
  20330. "type": "integer"
  20331. },
  20332. "quotegear": {
  20333. "description": "行情档位(1-10)",
  20334. "type": "integer"
  20335. },
  20336. "quoteminunit": {
  20337. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20338. "type": "integer"
  20339. },
  20340. "quoteshowtype": {
  20341. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20342. "type": "integer"
  20343. },
  20344. "quoteshowtypeinterval": {
  20345. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20346. "type": "integer"
  20347. },
  20348. "remark": {
  20349. "description": "备注",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "models.GoodsIDAndName": {
  20355. "type": "object",
  20356. "required": [
  20357. "goodscode",
  20358. "goodsid",
  20359. "goodsname",
  20360. "marketid"
  20361. ],
  20362. "properties": {
  20363. "goodscode": {
  20364. "description": "商品代码(内部)",
  20365. "type": "string"
  20366. },
  20367. "goodsid": {
  20368. "description": "商品ID(自增ID SEQ_GOODS)",
  20369. "type": "integer"
  20370. },
  20371. "goodsname": {
  20372. "description": "商品名称",
  20373. "type": "string"
  20374. },
  20375. "marketid": {
  20376. "description": "所属市场ID",
  20377. "type": "integer"
  20378. }
  20379. }
  20380. },
  20381. "models.Goodsgroup": {
  20382. "type": "object",
  20383. "required": [
  20384. "goodsgroupid",
  20385. "goodsgroupname",
  20386. "goodsgroupstatus",
  20387. "marketid"
  20388. ],
  20389. "properties": {
  20390. "agreeunit": {
  20391. "description": "合约单位",
  20392. "type": "number"
  20393. },
  20394. "canshort": {
  20395. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20396. "type": "integer"
  20397. },
  20398. "closepricemode": {
  20399. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20400. "type": "integer"
  20401. },
  20402. "closepriceparam": {
  20403. "description": "强平最新价浮动比例 - 方式为2时使用",
  20404. "type": "number"
  20405. },
  20406. "createtime": {
  20407. "description": "创建时间",
  20408. "type": "string"
  20409. },
  20410. "creatorid": {
  20411. "description": "创建人",
  20412. "type": "integer"
  20413. },
  20414. "currencyid": {
  20415. "description": "报价货币ID",
  20416. "type": "integer"
  20417. },
  20418. "decimalplace": {
  20419. "description": "报价小数位",
  20420. "type": "integer"
  20421. },
  20422. "exercisetype": {
  20423. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20424. "type": "integer"
  20425. },
  20426. "exexchangeid": {
  20427. "description": "外部交易所ID[通道交易]",
  20428. "type": "integer"
  20429. },
  20430. "goodsgroupid": {
  20431. "description": "商品组ID(自增ID)",
  20432. "type": "integer"
  20433. },
  20434. "goodsgroupname": {
  20435. "description": "商品组名称",
  20436. "type": "string"
  20437. },
  20438. "goodsgroupstatus": {
  20439. "description": "商品组状态 - 1:正常 2:注销",
  20440. "type": "integer"
  20441. },
  20442. "goodunitid": {
  20443. "description": "报价单位ID",
  20444. "type": "integer"
  20445. },
  20446. "innerdealmode": {
  20447. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20448. "type": "integer"
  20449. },
  20450. "isbuylimited": {
  20451. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20452. "type": "integer"
  20453. },
  20454. "marketid": {
  20455. "description": "所属市场ID",
  20456. "type": "integer"
  20457. },
  20458. "modifierid": {
  20459. "description": "修改人",
  20460. "type": "integer"
  20461. },
  20462. "modifytime": {
  20463. "description": "修改时间",
  20464. "type": "string"
  20465. },
  20466. "outerdealmode": {
  20467. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20468. "type": "integer"
  20469. },
  20470. "outergroupcode": {
  20471. "description": "外部商品组代码[通道交易]",
  20472. "type": "string"
  20473. },
  20474. "premiumdecimalplace": {
  20475. "description": "权利金小数位[场外期权]",
  20476. "type": "integer"
  20477. },
  20478. "premiumspreadalgorithm": {
  20479. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20480. "type": "integer"
  20481. },
  20482. "premiumspreadvalue": {
  20483. "description": "权利金点差值[场外期权]",
  20484. "type": "number"
  20485. },
  20486. "qtydecimalplace": {
  20487. "description": "成交量小数位",
  20488. "type": "integer"
  20489. },
  20490. "quotegear": {
  20491. "description": "行情档位(1-10)",
  20492. "type": "integer"
  20493. },
  20494. "quoteminunit": {
  20495. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20496. "type": "integer"
  20497. },
  20498. "quoterid": {
  20499. "description": "报价商ID[场外期权]",
  20500. "type": "integer"
  20501. },
  20502. "quotesourcegroupid": {
  20503. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20504. "type": "integer"
  20505. },
  20506. "syncgoodsqty": {
  20507. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20508. "type": "integer"
  20509. }
  20510. }
  20511. },
  20512. "models.Goodssortbypreposition": {
  20513. "type": "object",
  20514. "required": [
  20515. "goodscode",
  20516. "tradedate"
  20517. ],
  20518. "properties": {
  20519. "goodscode": {
  20520. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20521. "type": "string"
  20522. },
  20523. "goodsgroupcode": {
  20524. "description": "品种代码",
  20525. "type": "string"
  20526. },
  20527. "prepositionqty": {
  20528. "description": "昨持仓量",
  20529. "type": "integer"
  20530. },
  20531. "sortindex": {
  20532. "description": "排序",
  20533. "type": "integer"
  20534. },
  20535. "tradedate": {
  20536. "description": "交易日",
  20537. "type": "string"
  20538. },
  20539. "updatetime": {
  20540. "description": "更新时间",
  20541. "type": "string"
  20542. }
  20543. }
  20544. },
  20545. "models.Hedgeinnerholderdetail": {
  20546. "type": "object",
  20547. "required": [
  20548. "buyorsell",
  20549. "tradeid"
  20550. ],
  20551. "properties": {
  20552. "accountid": {
  20553. "description": "账号ID",
  20554. "type": "integer"
  20555. },
  20556. "buyorsell": {
  20557. "description": "方向 - 0:买 1:卖",
  20558. "type": "integer"
  20559. },
  20560. "freezeqty": {
  20561. "description": "冻结数量 - 按单平使用",
  20562. "type": "integer"
  20563. },
  20564. "goodsid": {
  20565. "description": "商品ID",
  20566. "type": "integer"
  20567. },
  20568. "holderamount": {
  20569. "description": "持仓金额 [商品币种]",
  20570. "type": "number"
  20571. },
  20572. "holderdays": {
  20573. "description": "剩余冻结天数",
  20574. "type": "integer"
  20575. },
  20576. "holderprice": {
  20577. "description": "持仓价格",
  20578. "type": "number"
  20579. },
  20580. "holderqty": {
  20581. "description": "持仓数量",
  20582. "type": "integer"
  20583. },
  20584. "marketid": {
  20585. "description": "市场ID",
  20586. "type": "integer"
  20587. },
  20588. "openprice": {
  20589. "description": "建仓价格",
  20590. "type": "number"
  20591. },
  20592. "openqty": {
  20593. "description": "建仓数量",
  20594. "type": "integer"
  20595. },
  20596. "parentaccountid": {
  20597. "description": "所属母账户",
  20598. "type": "integer"
  20599. },
  20600. "releaseamount": {
  20601. "description": "释放持仓金额[商品币种]",
  20602. "type": "number"
  20603. },
  20604. "tradeamount": {
  20605. "description": "成交金额[账户]",
  20606. "type": "number"
  20607. },
  20608. "tradedate": {
  20609. "description": "交易日(yyyyMMdd)",
  20610. "type": "string"
  20611. },
  20612. "tradeid": {
  20613. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20614. "type": "string"
  20615. },
  20616. "tradetime": {
  20617. "description": "交易时间",
  20618. "type": "string"
  20619. }
  20620. }
  20621. },
  20622. "models.Hedgemarketopenlog": {
  20623. "type": "object",
  20624. "required": [
  20625. "accountid"
  20626. ],
  20627. "properties": {
  20628. "accountid": {
  20629. "description": "资金账号[外部母账户]",
  20630. "type": "integer"
  20631. },
  20632. "fcname": {
  20633. "description": "期货公司名称",
  20634. "type": "string"
  20635. },
  20636. "handlestatus": {
  20637. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20638. "type": "integer"
  20639. },
  20640. "marketid": {
  20641. "description": "市场ID",
  20642. "type": "integer"
  20643. },
  20644. "status": {
  20645. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20646. "type": "integer"
  20647. },
  20648. "tradedate": {
  20649. "description": "交易日(yyyyMMdd)",
  20650. "type": "string"
  20651. },
  20652. "updatetime": {
  20653. "description": "更新时间",
  20654. "type": "string"
  20655. }
  20656. }
  20657. },
  20658. "models.HsbyBuyMyPayOrder": {
  20659. "type": "object",
  20660. "required": [
  20661. "goodscode",
  20662. "goodsname",
  20663. "tradeid",
  20664. "trademode"
  20665. ],
  20666. "properties": {
  20667. "agreeunit": {
  20668. "description": "合约单位",
  20669. "type": "number"
  20670. },
  20671. "buyaccountid": {
  20672. "description": "买方账号ID[报价币种]",
  20673. "type": "integer"
  20674. },
  20675. "buyorderid": {
  20676. "description": "买方委托单号",
  20677. "type": "string"
  20678. },
  20679. "createtime": {
  20680. "description": "创建时间",
  20681. "type": "string"
  20682. },
  20683. "currencysign": {
  20684. "description": "货币符号",
  20685. "type": "string"
  20686. },
  20687. "decimalplace": {
  20688. "description": "报价小数位",
  20689. "type": "integer"
  20690. },
  20691. "goodscode": {
  20692. "description": "商品代码(内部)",
  20693. "type": "string"
  20694. },
  20695. "goodsid": {
  20696. "description": "商品ID",
  20697. "type": "integer"
  20698. },
  20699. "goodsname": {
  20700. "description": "商品名称",
  20701. "type": "string"
  20702. },
  20703. "marketid": {
  20704. "description": "市场ID",
  20705. "type": "integer"
  20706. },
  20707. "offamount": {
  20708. "description": "优惠金额",
  20709. "type": "number"
  20710. },
  20711. "originalamount": {
  20712. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20713. "type": "number"
  20714. },
  20715. "payamount": {
  20716. "description": "支付金额 = TradeAmount + TradeCharge",
  20717. "type": "number"
  20718. },
  20719. "payflag": {
  20720. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20721. "type": "integer"
  20722. },
  20723. "paylimitedtime": {
  20724. "description": "支付期限",
  20725. "type": "string"
  20726. },
  20727. "paytime": {
  20728. "description": "付款时间",
  20729. "type": "string"
  20730. },
  20731. "picurls1": {
  20732. "description": "预售商品介绍图片[多张用逗号分隔]",
  20733. "type": "string"
  20734. },
  20735. "picurls2": {
  20736. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20737. "type": "string"
  20738. },
  20739. "sellaccountid": {
  20740. "description": "卖方账号ID[报价币种]",
  20741. "type": "integer"
  20742. },
  20743. "sellorderid": {
  20744. "description": "卖方委托单号",
  20745. "type": "string"
  20746. },
  20747. "tradeamount": {
  20748. "description": "成交金额",
  20749. "type": "number"
  20750. },
  20751. "tradecharge": {
  20752. "description": "成交手续费(买方)",
  20753. "type": "number"
  20754. },
  20755. "tradedate": {
  20756. "description": "交易日(yyyyMMdd)",
  20757. "type": "string"
  20758. },
  20759. "tradeid": {
  20760. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20761. "type": "string"
  20762. },
  20763. "trademode": {
  20764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20765. "type": "integer"
  20766. },
  20767. "tradeprice": {
  20768. "description": "成交价格",
  20769. "type": "number"
  20770. },
  20771. "tradeqty": {
  20772. "description": "成交数量",
  20773. "type": "integer"
  20774. },
  20775. "vendorname1": {
  20776. "description": "预售商品供应商名称",
  20777. "type": "string"
  20778. },
  20779. "vendorname2": {
  20780. "description": "挂牌商品供应商名称",
  20781. "type": "string"
  20782. }
  20783. }
  20784. },
  20785. "models.HsbyBuyMyTradeDetail": {
  20786. "type": "object",
  20787. "required": [
  20788. "accountid",
  20789. "buyorsell",
  20790. "goodscode",
  20791. "goodsid",
  20792. "goodsname",
  20793. "marketid",
  20794. "orderid",
  20795. "qty",
  20796. "time",
  20797. "trademode"
  20798. ],
  20799. "properties": {
  20800. "accountid": {
  20801. "description": "账户ID[报价币种]",
  20802. "type": "integer"
  20803. },
  20804. "agreeunit": {
  20805. "description": "合约单位",
  20806. "type": "number"
  20807. },
  20808. "amount": {
  20809. "description": "金额 = 价格 * 数量 * 合约单位",
  20810. "type": "number"
  20811. },
  20812. "buyorsell": {
  20813. "description": "买卖 - 0:买 1:卖",
  20814. "type": "integer"
  20815. },
  20816. "currencysign": {
  20817. "description": "货币符号",
  20818. "type": "string"
  20819. },
  20820. "decimalplace": {
  20821. "description": "报价小数位",
  20822. "type": "integer"
  20823. },
  20824. "goodscode": {
  20825. "description": "商品代码(内部)",
  20826. "type": "string"
  20827. },
  20828. "goodsid": {
  20829. "description": "商品ID",
  20830. "type": "integer"
  20831. },
  20832. "goodsname": {
  20833. "description": "商品名称",
  20834. "type": "string"
  20835. },
  20836. "marketid": {
  20837. "description": "市场ID",
  20838. "type": "integer"
  20839. },
  20840. "orderamount": {
  20841. "description": "委托金额",
  20842. "type": "number"
  20843. },
  20844. "orderid": {
  20845. "description": "单号(成交单号)",
  20846. "type": "string"
  20847. },
  20848. "picurls1": {
  20849. "description": "预售商品介绍图片[多张用逗号分隔]",
  20850. "type": "string"
  20851. },
  20852. "picurls2": {
  20853. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20854. "type": "string"
  20855. },
  20856. "price": {
  20857. "description": "价格",
  20858. "type": "number"
  20859. },
  20860. "qty": {
  20861. "description": "数量",
  20862. "type": "integer"
  20863. },
  20864. "time": {
  20865. "description": "时间",
  20866. "type": "string"
  20867. },
  20868. "trademode": {
  20869. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20870. "type": "integer"
  20871. },
  20872. "vendorname1": {
  20873. "description": "预售商品供应商名称",
  20874. "type": "string"
  20875. },
  20876. "vendorname2": {
  20877. "description": "挂牌商品供应商名称",
  20878. "type": "string"
  20879. }
  20880. }
  20881. },
  20882. "models.HsbyGoodsOrderDetail": {
  20883. "type": "object",
  20884. "required": [
  20885. "buyorsell",
  20886. "orderid",
  20887. "ordertime"
  20888. ],
  20889. "properties": {
  20890. "buyorsell": {
  20891. "description": "买卖 - 0:买 1:卖",
  20892. "type": "integer"
  20893. },
  20894. "currencysign": {
  20895. "description": "货币符号",
  20896. "type": "string"
  20897. },
  20898. "customername": {
  20899. "description": "客户名称(企业名称),已脱敏",
  20900. "type": "string"
  20901. },
  20902. "enableqty": {
  20903. "description": "可用数量",
  20904. "type": "integer"
  20905. },
  20906. "goodunit": {
  20907. "description": "报价单位",
  20908. "type": "string"
  20909. },
  20910. "orderid": {
  20911. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20912. "type": "string"
  20913. },
  20914. "orderprice": {
  20915. "description": "委托价格",
  20916. "type": "number"
  20917. },
  20918. "ordertime": {
  20919. "description": "委托时间",
  20920. "type": "string"
  20921. }
  20922. }
  20923. },
  20924. "models.HsbyListingGoodsDetail": {
  20925. "type": "object",
  20926. "required": [
  20927. "goodscode",
  20928. "goodsid",
  20929. "goodsname",
  20930. "marketid",
  20931. "trademode"
  20932. ],
  20933. "properties": {
  20934. "agreeunit": {
  20935. "description": "合约单位",
  20936. "type": "number"
  20937. },
  20938. "buymaxqty": {
  20939. "description": "购买上限 [71] - 0为不限",
  20940. "type": "integer"
  20941. },
  20942. "currency": {
  20943. "description": "货币",
  20944. "type": "string"
  20945. },
  20946. "currencysign": {
  20947. "description": "货币符号",
  20948. "type": "string"
  20949. },
  20950. "decimalplace": {
  20951. "description": "报价小数位",
  20952. "type": "integer"
  20953. },
  20954. "desccityid": {
  20955. "description": "目的地(市)ID",
  20956. "type": "integer"
  20957. },
  20958. "descprovinceid": {
  20959. "description": "目的地(省)ID",
  20960. "type": "integer"
  20961. },
  20962. "goodscode": {
  20963. "description": "商品代码(内部)",
  20964. "type": "string"
  20965. },
  20966. "goodsdesc": {
  20967. "description": "商品详情",
  20968. "type": "string"
  20969. },
  20970. "goodsid": {
  20971. "description": "商品ID(自增ID SEQ_GOODS)",
  20972. "type": "integer"
  20973. },
  20974. "goodsname": {
  20975. "description": "商品名称",
  20976. "type": "string"
  20977. },
  20978. "goodsprice": {
  20979. "description": "商品价格",
  20980. "type": "number"
  20981. },
  20982. "hotindex": {
  20983. "description": "景点热度",
  20984. "type": "integer"
  20985. },
  20986. "last": {
  20987. "description": "现价",
  20988. "type": "number"
  20989. },
  20990. "limitdown": {
  20991. "description": "跌停价",
  20992. "type": "number"
  20993. },
  20994. "limitup": {
  20995. "description": "涨停价",
  20996. "type": "number"
  20997. },
  20998. "lotsize": {
  20999. "description": "手数最小变动单位",
  21000. "type": "integer"
  21001. },
  21002. "marketid": {
  21003. "description": "所属市场ID",
  21004. "type": "integer"
  21005. },
  21006. "picurls": {
  21007. "description": "介绍图片[多张用逗号分隔]",
  21008. "type": "string"
  21009. },
  21010. "quoteminunit": {
  21011. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21012. "type": "integer"
  21013. },
  21014. "stepvalue": {
  21015. "description": "价格最小变动单位",
  21016. "type": "number"
  21017. },
  21018. "trademode": {
  21019. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21020. "type": "integer"
  21021. },
  21022. "vendorattr": {
  21023. "description": "供应商附件(多张,逗号分隔)",
  21024. "type": "string"
  21025. },
  21026. "vendorname": {
  21027. "description": "供应商名称",
  21028. "type": "string"
  21029. },
  21030. "vendorphone": {
  21031. "description": "供应商客服电话",
  21032. "type": "string"
  21033. },
  21034. "videourls": {
  21035. "description": "介绍视频[多张用逗号分隔]",
  21036. "type": "string"
  21037. }
  21038. }
  21039. },
  21040. "models.HsbyMarketGoods": {
  21041. "type": "object",
  21042. "required": [
  21043. "accountid",
  21044. "buyorsell",
  21045. "goodscode",
  21046. "goodsid",
  21047. "goodsname",
  21048. "marketid",
  21049. "orderid",
  21050. "trademode"
  21051. ],
  21052. "properties": {
  21053. "accountid": {
  21054. "description": "账户ID[报价币种]",
  21055. "type": "integer"
  21056. },
  21057. "agreeunit": {
  21058. "description": "合约单位",
  21059. "type": "number"
  21060. },
  21061. "buyorsell": {
  21062. "description": "买卖 - 0:买 1:卖",
  21063. "type": "integer"
  21064. },
  21065. "categoryid": {
  21066. "description": "类别ID(WRCATEGORY)",
  21067. "type": "integer"
  21068. },
  21069. "currency": {
  21070. "description": "货币",
  21071. "type": "string"
  21072. },
  21073. "currencysign": {
  21074. "description": "货币符号",
  21075. "type": "string"
  21076. },
  21077. "customername": {
  21078. "description": "卖家名称",
  21079. "type": "string"
  21080. },
  21081. "decimalplace": {
  21082. "description": "报价小数位",
  21083. "type": "integer"
  21084. },
  21085. "goodscode": {
  21086. "description": "商品代码(内部)",
  21087. "type": "string"
  21088. },
  21089. "goodsid": {
  21090. "description": "商品ID",
  21091. "type": "integer"
  21092. },
  21093. "goodsname": {
  21094. "description": "商品名称",
  21095. "type": "string"
  21096. },
  21097. "goodsprice": {
  21098. "description": "商品价格",
  21099. "type": "number"
  21100. },
  21101. "hascoupon": {
  21102. "description": "是否可用优惠卷",
  21103. "type": "boolean"
  21104. },
  21105. "hotindex": {
  21106. "description": "景点热度",
  21107. "type": "integer"
  21108. },
  21109. "marketid": {
  21110. "description": "市场ID",
  21111. "type": "integer"
  21112. },
  21113. "orderid": {
  21114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21115. "type": "string"
  21116. },
  21117. "orderprice": {
  21118. "description": "委托价格",
  21119. "type": "number"
  21120. },
  21121. "orderstatus": {
  21122. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21123. "type": "integer"
  21124. },
  21125. "picurls": {
  21126. "description": "介绍图片[多张用逗号分隔]",
  21127. "type": "string"
  21128. },
  21129. "quoteminunit": {
  21130. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21131. "type": "integer"
  21132. },
  21133. "sellUserID": {
  21134. "description": "卖方UserID",
  21135. "type": "integer"
  21136. },
  21137. "trademode": {
  21138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21139. "type": "integer"
  21140. },
  21141. "videourls": {
  21142. "description": "介绍视频[多张用逗号分隔]",
  21143. "type": "string"
  21144. }
  21145. }
  21146. },
  21147. "models.HsbyMarketGoodsDetail": {
  21148. "type": "object",
  21149. "required": [
  21150. "accountid",
  21151. "buyorsell",
  21152. "goodscode",
  21153. "goodsid",
  21154. "goodsname",
  21155. "marketid",
  21156. "orderid",
  21157. "orderqty",
  21158. "trademode"
  21159. ],
  21160. "properties": {
  21161. "accountid": {
  21162. "description": "账户ID[报价币种]",
  21163. "type": "integer"
  21164. },
  21165. "agreeunit": {
  21166. "description": "合约单位",
  21167. "type": "number"
  21168. },
  21169. "buymaxqty": {
  21170. "description": "购买上限 [71] - 0为不限",
  21171. "type": "integer"
  21172. },
  21173. "buyorsell": {
  21174. "description": "买卖 - 0:买 1:卖",
  21175. "type": "integer"
  21176. },
  21177. "cancelqty": {
  21178. "description": "撤单数量",
  21179. "type": "integer"
  21180. },
  21181. "categoryid": {
  21182. "description": "类别ID(WRCATEGORY)",
  21183. "type": "integer"
  21184. },
  21185. "currency": {
  21186. "description": "货币",
  21187. "type": "string"
  21188. },
  21189. "currencysign": {
  21190. "description": "货币符号",
  21191. "type": "string"
  21192. },
  21193. "customername": {
  21194. "description": "卖家名称",
  21195. "type": "string"
  21196. },
  21197. "decimalplace": {
  21198. "description": "报价小数位",
  21199. "type": "integer"
  21200. },
  21201. "goodscode": {
  21202. "description": "商品代码(内部)",
  21203. "type": "string"
  21204. },
  21205. "goodsdesc": {
  21206. "description": "商品详情",
  21207. "type": "string"
  21208. },
  21209. "goodsid": {
  21210. "description": "商品ID",
  21211. "type": "integer"
  21212. },
  21213. "goodsname": {
  21214. "description": "商品名称",
  21215. "type": "string"
  21216. },
  21217. "goodsprice": {
  21218. "description": "商品价格",
  21219. "type": "number"
  21220. },
  21221. "hotindex": {
  21222. "description": "景点热度",
  21223. "type": "integer"
  21224. },
  21225. "lotsize": {
  21226. "description": "手数最小变动单位",
  21227. "type": "integer"
  21228. },
  21229. "marketid": {
  21230. "description": "市场ID",
  21231. "type": "integer"
  21232. },
  21233. "orderid": {
  21234. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21235. "type": "string"
  21236. },
  21237. "orderprice": {
  21238. "description": "委托价格",
  21239. "type": "number"
  21240. },
  21241. "orderqty": {
  21242. "description": "委托数量",
  21243. "type": "integer"
  21244. },
  21245. "orderstatus": {
  21246. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21247. "type": "integer"
  21248. },
  21249. "picurls": {
  21250. "description": "介绍图片[多张用逗号分隔]",
  21251. "type": "string"
  21252. },
  21253. "quoteminunit": {
  21254. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21255. "type": "integer"
  21256. },
  21257. "sellUserID": {
  21258. "description": "卖方UserID",
  21259. "type": "integer"
  21260. },
  21261. "trademode": {
  21262. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21263. "type": "integer"
  21264. },
  21265. "tradeqty": {
  21266. "description": "成交数量",
  21267. "type": "integer"
  21268. },
  21269. "vendorattr": {
  21270. "description": "供应商附件(多张,逗号分隔)",
  21271. "type": "string"
  21272. },
  21273. "vendorname": {
  21274. "description": "供应商名称",
  21275. "type": "string"
  21276. },
  21277. "vendorphone": {
  21278. "description": "供应商客服电话",
  21279. "type": "string"
  21280. },
  21281. "videourls": {
  21282. "description": "介绍视频[多张用逗号分隔]",
  21283. "type": "string"
  21284. }
  21285. }
  21286. },
  21287. "models.HsbyMarketInfo": {
  21288. "type": "object",
  21289. "required": [
  21290. "marketid",
  21291. "marketstatus",
  21292. "trademode"
  21293. ],
  21294. "properties": {
  21295. "marketid": {
  21296. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21297. "type": "integer"
  21298. },
  21299. "marketname": {
  21300. "description": "市场名称",
  21301. "type": "string"
  21302. },
  21303. "marketstatus": {
  21304. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21305. "type": "integer"
  21306. },
  21307. "trademode": {
  21308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21309. "type": "integer"
  21310. }
  21311. }
  21312. },
  21313. "models.HsbyMyGoods": {
  21314. "type": "object",
  21315. "required": [
  21316. "accountid",
  21317. "goodscode",
  21318. "goodsid",
  21319. "goodsname",
  21320. "marketid",
  21321. "trademode"
  21322. ],
  21323. "properties": {
  21324. "accountid": {
  21325. "description": "账号Id",
  21326. "type": "integer"
  21327. },
  21328. "agreeunit": {
  21329. "description": "合约单位",
  21330. "type": "number"
  21331. },
  21332. "buyaverageprice": {
  21333. "description": "持仓均价",
  21334. "type": "number"
  21335. },
  21336. "buycurholderamount": {
  21337. "description": "买当前持仓总金额[商品币种]",
  21338. "type": "number"
  21339. },
  21340. "buycurpositionqty": {
  21341. "description": "买当前持仓总数量",
  21342. "type": "integer"
  21343. },
  21344. "buymaxqty": {
  21345. "description": "购买上限 [71] - 0为不限",
  21346. "type": "integer"
  21347. },
  21348. "currencysign": {
  21349. "description": "货币符号",
  21350. "type": "string"
  21351. },
  21352. "decimalplace": {
  21353. "description": "报价小数位",
  21354. "type": "integer"
  21355. },
  21356. "enableqty": {
  21357. "description": "可用数量",
  21358. "type": "integer"
  21359. },
  21360. "goodscode": {
  21361. "description": "商品代码(内部)",
  21362. "type": "string"
  21363. },
  21364. "goodsid": {
  21365. "description": "商品Id",
  21366. "type": "integer"
  21367. },
  21368. "goodsname": {
  21369. "description": "商品名称",
  21370. "type": "string"
  21371. },
  21372. "goodsprice": {
  21373. "description": "商品价格",
  21374. "type": "number"
  21375. },
  21376. "goodsstatus": {
  21377. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21378. "type": "integer"
  21379. },
  21380. "last": {
  21381. "description": "现价(仅使用于挂牌点选)",
  21382. "type": "number"
  21383. },
  21384. "limitdown": {
  21385. "description": "跌停价(仅使用于挂牌点选)",
  21386. "type": "number"
  21387. },
  21388. "limitup": {
  21389. "description": "涨停价(仅使用于挂牌点选)",
  21390. "type": "number"
  21391. },
  21392. "lotsize": {
  21393. "description": "手数最小变动单位",
  21394. "type": "integer"
  21395. },
  21396. "marketid": {
  21397. "description": "所属市场ID",
  21398. "type": "integer"
  21399. },
  21400. "picurls": {
  21401. "description": "介绍图片[多张用逗号分隔]",
  21402. "type": "string"
  21403. },
  21404. "quoteminunit": {
  21405. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21406. "type": "integer"
  21407. },
  21408. "stepvalue": {
  21409. "description": "价格最小变动单位",
  21410. "type": "number"
  21411. },
  21412. "trademode": {
  21413. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21414. "type": "integer"
  21415. }
  21416. }
  21417. },
  21418. "models.HsbyMyPackage": {
  21419. "type": "object",
  21420. "required": [
  21421. "goodscode",
  21422. "goodsname",
  21423. "takeorderid",
  21424. "trademode"
  21425. ],
  21426. "properties": {
  21427. "accountid": {
  21428. "description": "账户ID",
  21429. "type": "integer"
  21430. },
  21431. "address": {
  21432. "description": "提货人详细地址",
  21433. "type": "string"
  21434. },
  21435. "agreeunit": {
  21436. "description": "合约单位",
  21437. "type": "number"
  21438. },
  21439. "amount": {
  21440. "description": "提货金额",
  21441. "type": "number"
  21442. },
  21443. "auditer": {
  21444. "description": "审核人",
  21445. "type": "integer"
  21446. },
  21447. "audittime": {
  21448. "description": "审核时间",
  21449. "type": "string"
  21450. },
  21451. "averageprice": {
  21452. "description": "均价",
  21453. "type": "number"
  21454. },
  21455. "cardnum": {
  21456. "description": "提货人证件号码",
  21457. "type": "string"
  21458. },
  21459. "cardtypeid": {
  21460. "description": "提货人证件类型",
  21461. "type": "integer"
  21462. },
  21463. "checkremark": {
  21464. "description": "审核备注",
  21465. "type": "string"
  21466. },
  21467. "currencysign": {
  21468. "description": "货币符号",
  21469. "type": "string"
  21470. },
  21471. "decimalplace": {
  21472. "description": "报价小数位",
  21473. "type": "integer"
  21474. },
  21475. "goodscode": {
  21476. "description": "商品代码(内部)",
  21477. "type": "string"
  21478. },
  21479. "goodsid": {
  21480. "description": "商品ID",
  21481. "type": "integer"
  21482. },
  21483. "goodsname": {
  21484. "description": "商品名称",
  21485. "type": "string"
  21486. },
  21487. "handlestatus": {
  21488. "description": "处理状态",
  21489. "type": "integer"
  21490. },
  21491. "marketid": {
  21492. "description": "市场ID",
  21493. "type": "integer"
  21494. },
  21495. "phonenum": {
  21496. "description": "提货人联系方式",
  21497. "type": "string"
  21498. },
  21499. "picurls": {
  21500. "description": "介绍图片[多张用逗号分隔]",
  21501. "type": "string"
  21502. },
  21503. "qty": {
  21504. "description": "提货数量",
  21505. "type": "number"
  21506. },
  21507. "recivername": {
  21508. "description": "提货人姓名",
  21509. "type": "string"
  21510. },
  21511. "reqtime": {
  21512. "description": "更新时间",
  21513. "type": "string"
  21514. },
  21515. "takemode": {
  21516. "description": "提货方式 - 2:自提 3:配送",
  21517. "type": "integer"
  21518. },
  21519. "takeorderid": {
  21520. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21521. "type": "string"
  21522. },
  21523. "takeorderstatus": {
  21524. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21525. "type": "integer"
  21526. },
  21527. "takeremark": {
  21528. "description": "提货备注",
  21529. "type": "string"
  21530. },
  21531. "tradedate": {
  21532. "description": "交易日(yyyyMMdd)",
  21533. "type": "string"
  21534. },
  21535. "trademode": {
  21536. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21537. "type": "integer"
  21538. },
  21539. "userid": {
  21540. "description": "用户ID",
  21541. "type": "integer"
  21542. },
  21543. "vendorname": {
  21544. "description": "供应商名称",
  21545. "type": "string"
  21546. }
  21547. }
  21548. },
  21549. "models.HsbyPreGoods": {
  21550. "type": "object",
  21551. "required": [
  21552. "goodscode",
  21553. "goodsid",
  21554. "goodsname",
  21555. "marketid",
  21556. "trademode"
  21557. ],
  21558. "properties": {
  21559. "agreeunit": {
  21560. "description": "合约单位",
  21561. "type": "number"
  21562. },
  21563. "currency": {
  21564. "description": "货币",
  21565. "type": "string"
  21566. },
  21567. "currencysign": {
  21568. "description": "货币符号",
  21569. "type": "string"
  21570. },
  21571. "decimalplace": {
  21572. "description": "报价小数位",
  21573. "type": "integer"
  21574. },
  21575. "desccityid": {
  21576. "description": "目的地(市)",
  21577. "type": "integer"
  21578. },
  21579. "descprovinceid": {
  21580. "description": "目的地(省)",
  21581. "type": "integer"
  21582. },
  21583. "enableqty": {
  21584. "description": "剩余数量",
  21585. "type": "integer"
  21586. },
  21587. "goodscode": {
  21588. "description": "商品代码(内部)",
  21589. "type": "string"
  21590. },
  21591. "goodsid": {
  21592. "description": "商品ID(自增ID SEQ_GOODS)",
  21593. "type": "integer"
  21594. },
  21595. "goodsname": {
  21596. "description": "商品名称",
  21597. "type": "string"
  21598. },
  21599. "goodsstatus": {
  21600. "description": "商品状态- 2:未上市 3:上市",
  21601. "type": "integer"
  21602. },
  21603. "lasttradedate": {
  21604. "description": "最后交易日期(状态:待退市)",
  21605. "type": "string"
  21606. },
  21607. "listingdate": {
  21608. "description": "交易开始日期",
  21609. "type": "string"
  21610. },
  21611. "marketid": {
  21612. "description": "所属市场ID",
  21613. "type": "integer"
  21614. },
  21615. "picurls": {
  21616. "description": "介绍图片[多张用逗号分隔]",
  21617. "type": "string"
  21618. },
  21619. "presaledqty": {
  21620. "description": "已预售量(预售结束时更新)",
  21621. "type": "integer"
  21622. },
  21623. "presaleqty": {
  21624. "description": "预售数量",
  21625. "type": "integer"
  21626. },
  21627. "quoteminunit": {
  21628. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21629. "type": "integer"
  21630. },
  21631. "refprice": {
  21632. "description": "参考价格[一口价]",
  21633. "type": "number"
  21634. },
  21635. "relatedgoodsid": {
  21636. "description": "关联交易合约ID",
  21637. "type": "integer"
  21638. },
  21639. "trademode": {
  21640. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21641. "type": "integer"
  21642. },
  21643. "videourls": {
  21644. "description": "介绍视频[多张用逗号分隔]",
  21645. "type": "string"
  21646. }
  21647. }
  21648. },
  21649. "models.HsbyPreGoodsDetail": {
  21650. "type": "object",
  21651. "required": [
  21652. "goodscode",
  21653. "goodsid",
  21654. "goodsname",
  21655. "marketid",
  21656. "trademode"
  21657. ],
  21658. "properties": {
  21659. "agreeunit": {
  21660. "description": "合约单位",
  21661. "type": "number"
  21662. },
  21663. "buymaxqty": {
  21664. "description": "购买上限 [71] - 0为不限",
  21665. "type": "integer"
  21666. },
  21667. "currency": {
  21668. "description": "货币",
  21669. "type": "string"
  21670. },
  21671. "currencysign": {
  21672. "description": "货币符号",
  21673. "type": "string"
  21674. },
  21675. "customername": {
  21676. "description": "发行单位",
  21677. "type": "string"
  21678. },
  21679. "decimalplace": {
  21680. "description": "报价小数位",
  21681. "type": "integer"
  21682. },
  21683. "desccityid": {
  21684. "description": "目的地(市)ID",
  21685. "type": "integer"
  21686. },
  21687. "descprovinceid": {
  21688. "description": "目的地(省)ID",
  21689. "type": "integer"
  21690. },
  21691. "enableqty": {
  21692. "description": "剩余数量",
  21693. "type": "integer"
  21694. },
  21695. "goodscode": {
  21696. "description": "商品代码(内部)",
  21697. "type": "string"
  21698. },
  21699. "goodsdesc": {
  21700. "description": "商品详情",
  21701. "type": "string"
  21702. },
  21703. "goodsid": {
  21704. "description": "商品ID(自增ID SEQ_GOODS)",
  21705. "type": "integer"
  21706. },
  21707. "goodsname": {
  21708. "description": "商品名称",
  21709. "type": "string"
  21710. },
  21711. "goodsstatus": {
  21712. "description": "商品状态- 2:未上市 3:上市",
  21713. "type": "integer"
  21714. },
  21715. "goodunit": {
  21716. "description": "报价单位",
  21717. "type": "string"
  21718. },
  21719. "lasttradedate": {
  21720. "description": "最后交易日期(状态:待退市)",
  21721. "type": "string"
  21722. },
  21723. "listingdate": {
  21724. "description": "交易开始日期",
  21725. "type": "string"
  21726. },
  21727. "lotsize": {
  21728. "description": "手数最小变动单位",
  21729. "type": "integer"
  21730. },
  21731. "marketid": {
  21732. "description": "所属市场ID",
  21733. "type": "integer"
  21734. },
  21735. "picurls": {
  21736. "description": "介绍图片[多张用逗号分隔]",
  21737. "type": "string"
  21738. },
  21739. "presaledqty": {
  21740. "description": "已预售量(预售结束时更新)",
  21741. "type": "integer"
  21742. },
  21743. "presaleqty": {
  21744. "description": "预售数量",
  21745. "type": "integer"
  21746. },
  21747. "quoteminunit": {
  21748. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21749. "type": "integer"
  21750. },
  21751. "refprice": {
  21752. "description": "参考价格[一口价]",
  21753. "type": "number"
  21754. },
  21755. "relatedgoodsid": {
  21756. "description": "关联交易合约ID",
  21757. "type": "integer"
  21758. },
  21759. "stepvalue": {
  21760. "description": "价格最小变动单位",
  21761. "type": "number"
  21762. },
  21763. "trademode": {
  21764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21765. "type": "integer"
  21766. },
  21767. "vendorattr": {
  21768. "description": "供应商附件(多张,逗号分隔)",
  21769. "type": "string"
  21770. },
  21771. "vendorname": {
  21772. "description": "供应商名称",
  21773. "type": "string"
  21774. },
  21775. "vendorphone": {
  21776. "description": "供应商客服电话",
  21777. "type": "string"
  21778. },
  21779. "videourls": {
  21780. "description": "介绍视频[多张用逗号分隔]",
  21781. "type": "string"
  21782. }
  21783. }
  21784. },
  21785. "models.HsbySellCollectionOrder": {
  21786. "type": "object",
  21787. "required": [
  21788. "goodscode",
  21789. "goodsname",
  21790. "tradeid",
  21791. "trademode"
  21792. ],
  21793. "properties": {
  21794. "agreeunit": {
  21795. "description": "合约单位",
  21796. "type": "number"
  21797. },
  21798. "buyaccountid": {
  21799. "description": "买方账号ID[报价币种]",
  21800. "type": "integer"
  21801. },
  21802. "buyorderid": {
  21803. "description": "买方委托单号",
  21804. "type": "string"
  21805. },
  21806. "createtime": {
  21807. "description": "创建时间",
  21808. "type": "string"
  21809. },
  21810. "currencysign": {
  21811. "description": "货币符号",
  21812. "type": "string"
  21813. },
  21814. "decimalplace": {
  21815. "description": "报价小数位",
  21816. "type": "integer"
  21817. },
  21818. "goodscode": {
  21819. "description": "商品代码(内部)",
  21820. "type": "string"
  21821. },
  21822. "goodsid": {
  21823. "description": "商品ID",
  21824. "type": "integer"
  21825. },
  21826. "goodsname": {
  21827. "description": "商品名称",
  21828. "type": "string"
  21829. },
  21830. "marketid": {
  21831. "description": "市场ID",
  21832. "type": "integer"
  21833. },
  21834. "offamount": {
  21835. "description": "优惠金额",
  21836. "type": "number"
  21837. },
  21838. "payamount": {
  21839. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21840. "type": "number"
  21841. },
  21842. "payflag": {
  21843. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21844. "type": "integer"
  21845. },
  21846. "paylimitedtime": {
  21847. "description": "支付期限",
  21848. "type": "string"
  21849. },
  21850. "paytime": {
  21851. "description": "付款时间",
  21852. "type": "string"
  21853. },
  21854. "picurls": {
  21855. "description": "商品介绍图片[多张用逗号分隔]",
  21856. "type": "string"
  21857. },
  21858. "sellaccountid": {
  21859. "description": "卖方账号ID[报价币种]",
  21860. "type": "integer"
  21861. },
  21862. "sellorderid": {
  21863. "description": "卖方委托单号",
  21864. "type": "string"
  21865. },
  21866. "tradeamount": {
  21867. "description": "成交金额",
  21868. "type": "number"
  21869. },
  21870. "tradecharge": {
  21871. "description": "成交手续费(买方)",
  21872. "type": "number"
  21873. },
  21874. "tradedate": {
  21875. "description": "交易日(yyyyMMdd)",
  21876. "type": "string"
  21877. },
  21878. "tradeid": {
  21879. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21880. "type": "string"
  21881. },
  21882. "trademode": {
  21883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21884. "type": "integer"
  21885. },
  21886. "tradeprice": {
  21887. "description": "成交价格",
  21888. "type": "number"
  21889. },
  21890. "tradeqty": {
  21891. "description": "成交数量",
  21892. "type": "integer"
  21893. }
  21894. }
  21895. },
  21896. "models.HsbySellMyDetail": {
  21897. "type": "object",
  21898. "required": [
  21899. "accountid",
  21900. "buyorsell",
  21901. "goodscode",
  21902. "goodsid",
  21903. "goodsname",
  21904. "marketid",
  21905. "orderid",
  21906. "time",
  21907. "trademode"
  21908. ],
  21909. "properties": {
  21910. "accountid": {
  21911. "description": "账户ID[报价币种]",
  21912. "type": "integer"
  21913. },
  21914. "agreeunit": {
  21915. "description": "合约单位",
  21916. "type": "number"
  21917. },
  21918. "buyorsell": {
  21919. "description": "买卖 - 0:买 1:卖",
  21920. "type": "integer"
  21921. },
  21922. "currencysign": {
  21923. "description": "货币符号",
  21924. "type": "string"
  21925. },
  21926. "decimalplace": {
  21927. "description": "报价小数位",
  21928. "type": "integer"
  21929. },
  21930. "goodscode": {
  21931. "description": "商品代码(内部)",
  21932. "type": "string"
  21933. },
  21934. "goodsid": {
  21935. "description": "商品ID",
  21936. "type": "integer"
  21937. },
  21938. "goodsname": {
  21939. "description": "商品名称",
  21940. "type": "string"
  21941. },
  21942. "marketid": {
  21943. "description": "市场ID",
  21944. "type": "integer"
  21945. },
  21946. "orderid": {
  21947. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21948. "type": "string"
  21949. },
  21950. "ordertype": {
  21951. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21952. "type": "integer"
  21953. },
  21954. "picurls": {
  21955. "description": "介绍图片[多张用逗号分隔]",
  21956. "type": "string"
  21957. },
  21958. "price": {
  21959. "description": "价格",
  21960. "type": "number"
  21961. },
  21962. "qty": {
  21963. "description": "数量",
  21964. "type": "integer"
  21965. },
  21966. "time": {
  21967. "description": "时间",
  21968. "type": "string"
  21969. },
  21970. "trademode": {
  21971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21972. "type": "integer"
  21973. },
  21974. "vendorname": {
  21975. "description": "供应商名称",
  21976. "type": "string"
  21977. }
  21978. }
  21979. },
  21980. "models.HsbyTopGoods": {
  21981. "type": "object",
  21982. "required": [
  21983. "goodscode",
  21984. "goodsid",
  21985. "goodsname",
  21986. "marketid",
  21987. "trademode"
  21988. ],
  21989. "properties": {
  21990. "agreeunit": {
  21991. "description": "合约单位",
  21992. "type": "number"
  21993. },
  21994. "currency": {
  21995. "description": "货币",
  21996. "type": "string"
  21997. },
  21998. "currencysign": {
  21999. "description": "货币符号",
  22000. "type": "string"
  22001. },
  22002. "decimalplace": {
  22003. "description": "报价小数位",
  22004. "type": "integer"
  22005. },
  22006. "desccityid": {
  22007. "description": "目的地(市)",
  22008. "type": "integer"
  22009. },
  22010. "descprovinceid": {
  22011. "description": "目的地(省)",
  22012. "type": "integer"
  22013. },
  22014. "goodscode": {
  22015. "description": "商品代码(内部)",
  22016. "type": "string"
  22017. },
  22018. "goodsid": {
  22019. "description": "商品ID(自增ID SEQ_GOODS)",
  22020. "type": "integer"
  22021. },
  22022. "goodsname": {
  22023. "description": "商品名称",
  22024. "type": "string"
  22025. },
  22026. "hotindex": {
  22027. "description": "景点热度",
  22028. "type": "integer"
  22029. },
  22030. "last": {
  22031. "description": "现价",
  22032. "type": "number"
  22033. },
  22034. "marketid": {
  22035. "description": "所属市场ID",
  22036. "type": "integer"
  22037. },
  22038. "picurls": {
  22039. "description": "介绍图片[多张用逗号分隔]",
  22040. "type": "string"
  22041. },
  22042. "quoteminunit": {
  22043. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22044. "type": "integer"
  22045. },
  22046. "trademode": {
  22047. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22048. "type": "integer"
  22049. },
  22050. "videourls": {
  22051. "description": "介绍视频[多张用逗号分隔]",
  22052. "type": "string"
  22053. }
  22054. }
  22055. },
  22056. "models.HybsMyBuyOrderDetail": {
  22057. "type": "object",
  22058. "required": [
  22059. "accountid",
  22060. "buyorsell",
  22061. "goodscode",
  22062. "goodsid",
  22063. "goodsname",
  22064. "marketid",
  22065. "orderid",
  22066. "orderqty",
  22067. "ordertime",
  22068. "trademode"
  22069. ],
  22070. "properties": {
  22071. "accountid": {
  22072. "description": "账户ID[报价币种]",
  22073. "type": "integer"
  22074. },
  22075. "agreeunit": {
  22076. "description": "合约单位",
  22077. "type": "number"
  22078. },
  22079. "buyorsell": {
  22080. "description": "买卖 - 0:买 1:卖",
  22081. "type": "integer"
  22082. },
  22083. "cancelqty": {
  22084. "description": "撤单数量",
  22085. "type": "integer"
  22086. },
  22087. "currencysign": {
  22088. "description": "货币符号",
  22089. "type": "string"
  22090. },
  22091. "decimalplace": {
  22092. "description": "报价小数位",
  22093. "type": "integer"
  22094. },
  22095. "goodscode": {
  22096. "description": "商品代码(内部)",
  22097. "type": "string"
  22098. },
  22099. "goodsid": {
  22100. "description": "商品ID",
  22101. "type": "integer"
  22102. },
  22103. "goodsname": {
  22104. "description": "商品名称",
  22105. "type": "string"
  22106. },
  22107. "listingselecttype": {
  22108. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22109. "type": "integer"
  22110. },
  22111. "marketid": {
  22112. "description": "市场ID",
  22113. "type": "integer"
  22114. },
  22115. "mybuystatus": {
  22116. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22117. "type": "integer"
  22118. },
  22119. "orderamount": {
  22120. "description": "委托金额",
  22121. "type": "number"
  22122. },
  22123. "orderid": {
  22124. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22125. "type": "string"
  22126. },
  22127. "orderprice": {
  22128. "description": "委托价格",
  22129. "type": "number"
  22130. },
  22131. "orderqty": {
  22132. "description": "委托数量",
  22133. "type": "integer"
  22134. },
  22135. "orderstatus": {
  22136. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22137. "type": "integer"
  22138. },
  22139. "ordertime": {
  22140. "description": "委托时间",
  22141. "type": "string"
  22142. },
  22143. "picurls1": {
  22144. "description": "预售商品介绍图片[多张用逗号分隔]",
  22145. "type": "string"
  22146. },
  22147. "picurls2": {
  22148. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22149. "type": "string"
  22150. },
  22151. "trademode": {
  22152. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22153. "type": "integer"
  22154. },
  22155. "tradeqty": {
  22156. "description": "成交数量",
  22157. "type": "integer"
  22158. },
  22159. "vendorname1": {
  22160. "description": "预售商品供应商名称",
  22161. "type": "string"
  22162. },
  22163. "vendorname2": {
  22164. "description": "挂牌商品供应商名称",
  22165. "type": "string"
  22166. }
  22167. }
  22168. },
  22169. "models.Loginaccount": {
  22170. "type": "object",
  22171. "required": [
  22172. "loginid"
  22173. ],
  22174. "properties": {
  22175. "canoutin": {
  22176. "description": "是否可出入金 - 0:不可 1:可",
  22177. "type": "integer"
  22178. },
  22179. "clientroleid": {
  22180. "description": "终端角色ID",
  22181. "type": "integer"
  22182. },
  22183. "haslogined": {
  22184. "description": "是否已登录 - 0:未登录 1:已登录",
  22185. "type": "integer"
  22186. },
  22187. "hasupdatedpwd": {
  22188. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22189. "type": "integer"
  22190. },
  22191. "lastloginip": {
  22192. "description": "最新登录地址",
  22193. "type": "string"
  22194. },
  22195. "lastloginmode": {
  22196. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22197. "type": "integer"
  22198. },
  22199. "lastloginremark": {
  22200. "description": "最新登录描述",
  22201. "type": "string"
  22202. },
  22203. "lastlogintime": {
  22204. "description": "最新登录时间",
  22205. "type": "string"
  22206. },
  22207. "logincode": {
  22208. "description": "登录代码",
  22209. "type": "string"
  22210. },
  22211. "loginfailnum": {
  22212. "description": "连续登录失败次数(登录成功时清零)",
  22213. "type": "integer"
  22214. },
  22215. "loginid": {
  22216. "description": "登陆账号",
  22217. "type": "integer"
  22218. },
  22219. "loginport": {
  22220. "description": "最新登录端口",
  22221. "type": "integer"
  22222. },
  22223. "loginstatus": {
  22224. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22225. "type": "integer"
  22226. },
  22227. "loginusertype": {
  22228. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22229. "type": "integer"
  22230. },
  22231. "modifierid": {
  22232. "description": "修改人",
  22233. "type": "integer"
  22234. },
  22235. "modifytime": {
  22236. "description": "修改时间",
  22237. "type": "string"
  22238. },
  22239. "pwdwrongcount": {
  22240. "description": "密码错误次数",
  22241. "type": "integer"
  22242. },
  22243. "taaccountrighttype": {
  22244. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22245. "type": "integer"
  22246. },
  22247. "unfreezetime": {
  22248. "description": "账户解冻时间",
  22249. "type": "string"
  22250. },
  22251. "userid": {
  22252. "description": "用户ID",
  22253. "type": "integer"
  22254. }
  22255. }
  22256. },
  22257. "models.MainAccountInfo": {
  22258. "type": "object",
  22259. "properties": {
  22260. "accountid": {
  22261. "description": "账号id",
  22262. "type": "integer"
  22263. },
  22264. "accountname": {
  22265. "description": "账号名称(taaccount表中的名称)",
  22266. "type": "string"
  22267. },
  22268. "appid": {
  22269. "description": "AppID",
  22270. "type": "string"
  22271. },
  22272. "authcode": {
  22273. "description": "授权码",
  22274. "type": "string"
  22275. },
  22276. "brokerid": {
  22277. "description": "经纪商id",
  22278. "type": "string"
  22279. },
  22280. "fcid": {
  22281. "description": "期货公司id",
  22282. "type": "integer"
  22283. },
  22284. "fcname": {
  22285. "description": "期货公司代码",
  22286. "type": "string"
  22287. },
  22288. "hedgeaccountcode": {
  22289. "description": "外部账号代码(主账号登录代码)",
  22290. "type": "string"
  22291. },
  22292. "hedgeaccountpwd": {
  22293. "description": "密码",
  22294. "type": "string"
  22295. },
  22296. "ismain": {
  22297. "description": "是否主账号",
  22298. "type": "integer"
  22299. },
  22300. "relateduserid": {
  22301. "description": "关联用户id",
  22302. "type": "integer"
  22303. },
  22304. "userid": {
  22305. "description": "关联用户id",
  22306. "type": "integer"
  22307. }
  22308. }
  22309. },
  22310. "models.Market": {
  22311. "type": "object",
  22312. "required": [
  22313. "marketid",
  22314. "marketstatus",
  22315. "openmethod",
  22316. "reckonpricealgorithm",
  22317. "trademode",
  22318. "tradeproperty"
  22319. ],
  22320. "properties": {
  22321. "auctionwrtype": {
  22322. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22323. "type": "integer"
  22324. },
  22325. "canacceptquote": {
  22326. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22327. "type": "integer"
  22328. },
  22329. "cangoodsexercise": {
  22330. "description": "[期权]是否可现货行权- 0:否 1:是",
  22331. "type": "integer"
  22332. },
  22333. "cangoodsexercisetype": {
  22334. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22335. "type": "integer"
  22336. },
  22337. "canmanualquotestrike": {
  22338. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22339. "type": "integer"
  22340. },
  22341. "canmutistage": {
  22342. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22343. "type": "integer"
  22344. },
  22345. "canpreexercise": {
  22346. "description": "[期权]是否可预申报- 0:否 1:是",
  22347. "type": "integer"
  22348. },
  22349. "clearinterval": {
  22350. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22351. "type": "integer"
  22352. },
  22353. "contracttmp": {
  22354. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22355. "type": "string"
  22356. },
  22357. "exchareaid": {
  22358. "description": "所属交易所,可以没有",
  22359. "type": "integer"
  22360. },
  22361. "goodstype": {
  22362. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22363. "type": "integer"
  22364. },
  22365. "hasrebate": {
  22366. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22367. "type": "integer"
  22368. },
  22369. "hastradecredit": {
  22370. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22371. "type": "integer"
  22372. },
  22373. "haswr": {
  22374. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22375. "type": "integer"
  22376. },
  22377. "isdeductmargin": {
  22378. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22379. "type": "integer"
  22380. },
  22381. "isrecordsource": {
  22382. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22383. "type": "integer"
  22384. },
  22385. "isreleasemargin": {
  22386. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22387. "type": "integer"
  22388. },
  22389. "marginformula": {
  22390. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22391. "type": "integer"
  22392. },
  22393. "marginformula2": {
  22394. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22395. "type": "integer"
  22396. },
  22397. "marketid": {
  22398. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22399. "type": "integer"
  22400. },
  22401. "marketname": {
  22402. "description": "市场名称",
  22403. "type": "string"
  22404. },
  22405. "marketserviceid": {
  22406. "description": "市场服务ID",
  22407. "type": "integer"
  22408. },
  22409. "marketstatus": {
  22410. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22411. "type": "integer"
  22412. },
  22413. "markettype": {
  22414. "description": "市场类型- 1:非交易服务 2:交易服务",
  22415. "type": "integer"
  22416. },
  22417. "matchermode": {
  22418. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22419. "type": "integer"
  22420. },
  22421. "openmethod": {
  22422. "description": "开盘模式 - 0 自动 1手动",
  22423. "type": "integer"
  22424. },
  22425. "otcuserid": {
  22426. "description": "场外期权做市商[场外期权]",
  22427. "type": "integer"
  22428. },
  22429. "outersynctime": {
  22430. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22431. "type": "string"
  22432. },
  22433. "pendingflag": {
  22434. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22435. "type": "integer"
  22436. },
  22437. "pendingtime": {
  22438. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22439. "type": "string"
  22440. },
  22441. "performancetempid": {
  22442. "description": "履约计划模板ID - 作废",
  22443. "type": "integer"
  22444. },
  22445. "premiumquotemode": {
  22446. "description": "权利金报价方式 - 1:自动 2:手动",
  22447. "type": "integer"
  22448. },
  22449. "rebateratio": {
  22450. "description": "返利比率[竞价式]",
  22451. "type": "number"
  22452. },
  22453. "reckonorder": {
  22454. "description": "结算顺序",
  22455. "type": "integer"
  22456. },
  22457. "reckonpricealgorithm": {
  22458. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22459. "type": "integer"
  22460. },
  22461. "reckonpriceparam": {
  22462. "description": "结算价参数",
  22463. "type": "integer"
  22464. },
  22465. "reckontime": {
  22466. "description": "结算时间[通道交易-对冲](HH:mm)",
  22467. "type": "string"
  22468. },
  22469. "roleprioritytype": {
  22470. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22471. "type": "integer"
  22472. },
  22473. "selllistingauditflag": {
  22474. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22475. "type": "integer"
  22476. },
  22477. "trademarkettype": {
  22478. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22479. "type": "integer"
  22480. },
  22481. "trademode": {
  22482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22483. "type": "integer"
  22484. },
  22485. "tradeproperty": {
  22486. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22487. "type": "integer"
  22488. },
  22489. "tradetype": {
  22490. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22491. "type": "integer"
  22492. }
  22493. }
  22494. },
  22495. "models.Marketrun": {
  22496. "type": "object",
  22497. "required": [
  22498. "marketid",
  22499. "nexttradedate",
  22500. "reckonflag",
  22501. "runstatus",
  22502. "tradedate",
  22503. "tradedate2"
  22504. ],
  22505. "properties": {
  22506. "afternexttradedate": {
  22507. "description": "下下交易日",
  22508. "type": "string"
  22509. },
  22510. "clearquoteflag": {
  22511. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22512. "type": "integer"
  22513. },
  22514. "lastreckondate": {
  22515. "description": "最新交易日(结算成功)",
  22516. "type": "string"
  22517. },
  22518. "machinedate": {
  22519. "description": "机器时间",
  22520. "type": "string"
  22521. },
  22522. "manualflag": {
  22523. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22524. "type": "integer"
  22525. },
  22526. "marketid": {
  22527. "description": "市场ID",
  22528. "type": "integer"
  22529. },
  22530. "nexttradedate": {
  22531. "description": "下一交易日",
  22532. "type": "string"
  22533. },
  22534. "pretradedate": {
  22535. "description": "上一交易日",
  22536. "type": "string"
  22537. },
  22538. "reckonflag": {
  22539. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22540. "type": "integer"
  22541. },
  22542. "runstatus": {
  22543. "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.今日免清算",
  22544. "type": "integer"
  22545. },
  22546. "sectionid": {
  22547. "description": "时间段号[多时段时用]",
  22548. "type": "integer"
  22549. },
  22550. "tradedate": {
  22551. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22552. "type": "string"
  22553. },
  22554. "tradedate2": {
  22555. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22556. "type": "string"
  22557. },
  22558. "updatetime": {
  22559. "description": "更新时间",
  22560. "type": "string"
  22561. }
  22562. }
  22563. },
  22564. "models.Messageboard": {
  22565. "type": "object",
  22566. "required": [
  22567. "messageboardid"
  22568. ],
  22569. "properties": {
  22570. "contactnum": {
  22571. "description": "联系电话",
  22572. "type": "string"
  22573. },
  22574. "createtime": {
  22575. "description": "创建时间",
  22576. "type": "string"
  22577. },
  22578. "message": {
  22579. "description": "留言信息",
  22580. "type": "string"
  22581. },
  22582. "messageboardid": {
  22583. "description": "留言簿ID(SEQ_MessageBoard)",
  22584. "type": "integer"
  22585. },
  22586. "userid": {
  22587. "description": "用户ID",
  22588. "type": "integer"
  22589. }
  22590. }
  22591. },
  22592. "models.MyCoupon": {
  22593. "type": "object",
  22594. "required": [
  22595. "accountid",
  22596. "coupontypeid"
  22597. ],
  22598. "properties": {
  22599. "accountid": {
  22600. "description": "资金账户ID",
  22601. "type": "integer"
  22602. },
  22603. "areauserid": {
  22604. "description": "所属机构",
  22605. "type": "integer"
  22606. },
  22607. "conditionvalue": {
  22608. "description": "条件阈值(可为0)",
  22609. "type": "number"
  22610. },
  22611. "couponcategroy": {
  22612. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22613. "type": "integer"
  22614. },
  22615. "couponname": {
  22616. "description": "优惠券名称",
  22617. "type": "string"
  22618. },
  22619. "coupontypeid": {
  22620. "description": "优惠券类型ID",
  22621. "type": "string"
  22622. },
  22623. "couponvalue": {
  22624. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22625. "type": "number"
  22626. },
  22627. "curfreezeqty": {
  22628. "description": "期末冻结数量",
  22629. "type": "integer"
  22630. },
  22631. "curqty": {
  22632. "description": "期末数量",
  22633. "type": "integer"
  22634. },
  22635. "isgeneral": {
  22636. "description": "是否通用券 - 0:否 1:是",
  22637. "type": "integer"
  22638. },
  22639. "isunusable": {
  22640. "description": "是否不可用",
  22641. "type": "boolean"
  22642. },
  22643. "limitedflag": {
  22644. "description": "是否指定商品 - 0:不限 1:限制",
  22645. "type": "integer"
  22646. },
  22647. "limitedgoodsids": {
  22648. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22649. "type": "string"
  22650. },
  22651. "orifreezeqty": {
  22652. "description": "期初冻结数量",
  22653. "type": "integer"
  22654. },
  22655. "oriqty": {
  22656. "description": "期初数量",
  22657. "type": "integer"
  22658. },
  22659. "reasontype": {
  22660. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22661. "type": "integer"
  22662. },
  22663. "todaydecrease": {
  22664. "description": "今日减少",
  22665. "type": "integer"
  22666. },
  22667. "todayincrease": {
  22668. "description": "今日增加",
  22669. "type": "integer"
  22670. },
  22671. "userid": {
  22672. "description": "用户ID",
  22673. "type": "integer"
  22674. },
  22675. "userscope": {
  22676. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22677. "type": "string"
  22678. }
  22679. }
  22680. },
  22681. "models.MyCouponHold": {
  22682. "type": "object",
  22683. "required": [
  22684. "couponholdid"
  22685. ],
  22686. "properties": {
  22687. "accountid": {
  22688. "description": "资金账户ID",
  22689. "type": "integer"
  22690. },
  22691. "conditionvalue": {
  22692. "description": "条件阈值(可为0)",
  22693. "type": "number"
  22694. },
  22695. "couponcategroy": {
  22696. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22697. "type": "integer"
  22698. },
  22699. "couponholdid": {
  22700. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22701. "type": "string"
  22702. },
  22703. "couponname": {
  22704. "description": "优惠券名称",
  22705. "type": "string"
  22706. },
  22707. "coupontypeid": {
  22708. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22709. "type": "string"
  22710. },
  22711. "couponvalue": {
  22712. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22713. "type": "number"
  22714. },
  22715. "createtime": {
  22716. "description": "创建时间",
  22717. "type": "string"
  22718. },
  22719. "enddate": {
  22720. "description": "结束日期",
  22721. "type": "string"
  22722. },
  22723. "giveapplyid": {
  22724. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22725. "type": "integer"
  22726. },
  22727. "holdstatus": {
  22728. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22729. "type": "integer"
  22730. },
  22731. "isgeneral": {
  22732. "description": "是否通用券 - 0:否 1:是",
  22733. "type": "integer"
  22734. },
  22735. "limitedflag": {
  22736. "description": "是否指定商品 - 0:不限 1:限制",
  22737. "type": "integer"
  22738. },
  22739. "limitedgoodsids": {
  22740. "description": "指定商品IDs[逗号分隔]",
  22741. "type": "string"
  22742. },
  22743. "qty": {
  22744. "description": "数量(按1平铺)",
  22745. "type": "integer"
  22746. },
  22747. "startdate": {
  22748. "description": "开始日期",
  22749. "type": "string"
  22750. },
  22751. "userid": {
  22752. "description": "用户ID",
  22753. "type": "integer"
  22754. },
  22755. "userscope": {
  22756. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22757. "type": "string"
  22758. }
  22759. }
  22760. },
  22761. "models.MyUsedCoupon": {
  22762. "type": "object",
  22763. "required": [
  22764. "coupontypeid",
  22765. "orderid"
  22766. ],
  22767. "properties": {
  22768. "accountid": {
  22769. "description": "资金账户ID(买方)",
  22770. "type": "integer"
  22771. },
  22772. "conditionvalue": {
  22773. "description": "条件阈值(可为0)",
  22774. "type": "number"
  22775. },
  22776. "couponcategroy": {
  22777. "description": "种类 - 1:现金券 2:折扣券",
  22778. "type": "integer"
  22779. },
  22780. "couponname": {
  22781. "description": "优惠券名称",
  22782. "type": "string"
  22783. },
  22784. "coupontypeid": {
  22785. "description": "优惠券类型ID(买方)",
  22786. "type": "string"
  22787. },
  22788. "couponvalue": {
  22789. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22790. "type": "number"
  22791. },
  22792. "createtime": {
  22793. "description": "创建时间",
  22794. "type": "string"
  22795. },
  22796. "goodsid": {
  22797. "description": "商品ID",
  22798. "type": "integer"
  22799. },
  22800. "handlestatus": {
  22801. "description": "处理状态",
  22802. "type": "integer"
  22803. },
  22804. "marketid": {
  22805. "description": "市场ID",
  22806. "type": "integer"
  22807. },
  22808. "offamount": {
  22809. "description": "优惠金额",
  22810. "type": "number"
  22811. },
  22812. "orderid": {
  22813. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22814. "type": "string"
  22815. },
  22816. "sellaccountid": {
  22817. "description": "资金账户ID(卖方)",
  22818. "type": "integer"
  22819. },
  22820. "tradeamount": {
  22821. "description": "成交金额",
  22822. "type": "number"
  22823. },
  22824. "tradeid": {
  22825. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22826. "type": "string"
  22827. },
  22828. "usedqty": {
  22829. "description": "使用数量",
  22830. "type": "integer"
  22831. }
  22832. }
  22833. },
  22834. "models.OperationPrimaryMenu": {
  22835. "type": "object",
  22836. "properties": {
  22837. "Children": {
  22838. "description": "二级功能菜单",
  22839. "type": "array",
  22840. "items": {
  22841. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22842. }
  22843. },
  22844. "Key": {
  22845. "description": "菜单KEY",
  22846. "type": "string"
  22847. },
  22848. "Label": {
  22849. "description": "菜单标题",
  22850. "type": "string"
  22851. }
  22852. }
  22853. },
  22854. "models.OperationSecondaryMenu": {
  22855. "type": "object",
  22856. "properties": {
  22857. "Key": {
  22858. "description": "菜单KEY",
  22859. "type": "string"
  22860. },
  22861. "Label": {
  22862. "description": "菜单标题",
  22863. "type": "string"
  22864. },
  22865. "TabList": {
  22866. "description": "三级功能菜单",
  22867. "type": "array",
  22868. "items": {
  22869. "$ref": "#/definitions/models.OperationTabMenu"
  22870. }
  22871. }
  22872. }
  22873. },
  22874. "models.OperationTabMenu": {
  22875. "type": "object",
  22876. "properties": {
  22877. "Key": {
  22878. "description": "菜单KEY",
  22879. "type": "string"
  22880. },
  22881. "Label": {
  22882. "description": "菜单标题",
  22883. "type": "string"
  22884. }
  22885. }
  22886. },
  22887. "models.PendingAuditBizModel": {
  22888. "type": "object",
  22889. "properties": {
  22890. "accountid": {
  22891. "description": "现货账户",
  22892. "type": "string"
  22893. },
  22894. "areaname": {
  22895. "description": "所属部门",
  22896. "type": "string"
  22897. },
  22898. "bizid": {
  22899. "description": "业务ID",
  22900. "type": "string"
  22901. },
  22902. "bizname": {
  22903. "description": "业务名称",
  22904. "type": "string"
  22905. },
  22906. "status": {
  22907. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22908. "type": "integer"
  22909. },
  22910. "type": {
  22911. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22912. "type": "integer"
  22913. }
  22914. }
  22915. },
  22916. "models.QhjAccountOutInApply": {
  22917. "type": "object",
  22918. "properties": {
  22919. "accountcode": {
  22920. "description": "资金账号",
  22921. "type": "string"
  22922. },
  22923. "accountname": {
  22924. "description": "用户名称(名称)",
  22925. "type": "string"
  22926. },
  22927. "accountpwd": {
  22928. "description": "资金密码",
  22929. "type": "string"
  22930. },
  22931. "accountticket": {
  22932. "description": "最新账户服务流水号",
  22933. "type": "string"
  22934. },
  22935. "amount": {
  22936. "description": "金额",
  22937. "type": "number"
  22938. },
  22939. "applyremark": {
  22940. "description": "申请备注",
  22941. "type": "string"
  22942. },
  22943. "applystatus": {
  22944. "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: 复审通过,账户冻结金额检查中;",
  22945. "type": "integer"
  22946. },
  22947. "auditid": {
  22948. "description": "审核人",
  22949. "type": "integer"
  22950. },
  22951. "audittime": {
  22952. "description": "审核时间",
  22953. "type": "string"
  22954. },
  22955. "bank_apply_ticket": {
  22956. "description": "银行申请流水",
  22957. "type": "string"
  22958. },
  22959. "bankaccountname": {
  22960. "description": "银行账户名",
  22961. "type": "string"
  22962. },
  22963. "bankaccountno": {
  22964. "description": "银行卡号",
  22965. "type": "string"
  22966. },
  22967. "bankid": {
  22968. "description": "银行编号",
  22969. "type": "string"
  22970. },
  22971. "bankticket": {
  22972. "description": "银行流水",
  22973. "type": "string"
  22974. },
  22975. "branchbankid": {
  22976. "description": "银行支行号",
  22977. "type": "string"
  22978. },
  22979. "branchbankname": {
  22980. "description": "银行支行名称",
  22981. "type": "string"
  22982. },
  22983. "capamountout": {
  22984. "description": "出金(劣后本金) - 外部子账户",
  22985. "type": "number"
  22986. },
  22987. "certificatephotourl": {
  22988. "description": "凭证地址",
  22989. "type": "string"
  22990. },
  22991. "charge": {
  22992. "description": "手续费",
  22993. "type": "number"
  22994. },
  22995. "checkerrorflag": {
  22996. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22997. "type": "integer"
  22998. },
  22999. "currency": {
  23000. "description": "币种",
  23001. "type": "string"
  23002. },
  23003. "cusbankid": {
  23004. "description": "托管银行编号",
  23005. "type": "string"
  23006. },
  23007. "exchticket": {
  23008. "description": "银行服务流水号",
  23009. "type": "string"
  23010. },
  23011. "executetype": {
  23012. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23013. "type": "integer"
  23014. },
  23015. "extendinfo": {
  23016. "description": "扩展信息",
  23017. "type": "string"
  23018. },
  23019. "extoperateid": {
  23020. "description": "交易服务流水号",
  23021. "type": "integer"
  23022. },
  23023. "infamount": {
  23024. "description": "劣后金额(自有)",
  23025. "type": "number"
  23026. },
  23027. "logincode": {
  23028. "description": "登录账号(账号)",
  23029. "type": "string"
  23030. },
  23031. "netaddr": {
  23032. "description": "调转网址",
  23033. "type": "string"
  23034. },
  23035. "priamount": {
  23036. "description": "优先金额(授信)",
  23037. "type": "number"
  23038. },
  23039. "reauditid": {
  23040. "description": "复审人",
  23041. "type": "integer"
  23042. },
  23043. "reauditremark": {
  23044. "description": "复审备注",
  23045. "type": "string"
  23046. },
  23047. "reaudittime": {
  23048. "description": "复审时间",
  23049. "type": "string"
  23050. },
  23051. "relatedorderid": {
  23052. "description": "三方关联ID",
  23053. "type": "string"
  23054. },
  23055. "remark": {
  23056. "description": "备注",
  23057. "type": "string"
  23058. },
  23059. "remark2": {
  23060. "description": "备注(失败原因)",
  23061. "type": "string"
  23062. },
  23063. "soucreamount": {
  23064. "description": "原始出入金金额",
  23065. "type": "number"
  23066. },
  23067. "soucrecurrencyid": {
  23068. "description": "原始出入金币种",
  23069. "type": "integer"
  23070. },
  23071. "tradedate": {
  23072. "description": "交易日(yyyyMMdd)",
  23073. "type": "string"
  23074. },
  23075. "updatetime": {
  23076. "description": "更新时间(申请时间)",
  23077. "type": "string"
  23078. },
  23079. "userid": {
  23080. "description": "用户id",
  23081. "type": "integer"
  23082. },
  23083. "userinfotype": {
  23084. "description": "账户类型 1-个人 2-企业",
  23085. "type": "integer"
  23086. }
  23087. }
  23088. },
  23089. "models.QhjAgreementChangeLog": {
  23090. "type": "object",
  23091. "properties": {
  23092. "agreementcontent": {
  23093. "description": "协议内容",
  23094. "type": "string"
  23095. },
  23096. "agreementfrequency": {
  23097. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23098. "type": "integer"
  23099. },
  23100. "agreementid": {
  23101. "description": "协议ID",
  23102. "type": "integer"
  23103. },
  23104. "agreementname": {
  23105. "description": "协议名称",
  23106. "type": "string"
  23107. },
  23108. "agreementno": {
  23109. "description": "协议编号",
  23110. "type": "string"
  23111. },
  23112. "agreementtype": {
  23113. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23114. "type": "integer"
  23115. },
  23116. "agreementversion": {
  23117. "description": "协议版本号",
  23118. "type": "integer"
  23119. },
  23120. "logid": {
  23121. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23122. "type": "integer"
  23123. },
  23124. "reviserid": {
  23125. "description": "修改人",
  23126. "type": "integer"
  23127. },
  23128. "revisersrc": {
  23129. "description": "修改来源 - 1:管理端 2:终端",
  23130. "type": "integer"
  23131. },
  23132. "updatetime": {
  23133. "description": "更新时间",
  23134. "type": "string"
  23135. }
  23136. }
  23137. },
  23138. "models.QhjAgreementConfig": {
  23139. "type": "object",
  23140. "properties": {
  23141. "agreementcontent": {
  23142. "description": "协议内容",
  23143. "type": "string"
  23144. },
  23145. "agreementfrequency": {
  23146. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23147. "type": "integer"
  23148. },
  23149. "agreementid": {
  23150. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23151. "type": "integer"
  23152. },
  23153. "agreementname": {
  23154. "description": "协议名称",
  23155. "type": "string"
  23156. },
  23157. "agreementno": {
  23158. "description": "协议编号",
  23159. "type": "string"
  23160. },
  23161. "agreementtype": {
  23162. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23163. "type": "integer"
  23164. },
  23165. "agreementversion": {
  23166. "description": "协议版本号(从1开始每次修改加1)",
  23167. "type": "integer"
  23168. },
  23169. "createtime": {
  23170. "description": "创建时间",
  23171. "type": "string"
  23172. },
  23173. "creatorid": {
  23174. "description": "创建人",
  23175. "type": "integer"
  23176. },
  23177. "creatorsrc": {
  23178. "description": "创建来源 - 1:管理端 2:终端",
  23179. "type": "integer"
  23180. },
  23181. "isvalid": {
  23182. "description": "是否有效 - 0:无效 1:有效",
  23183. "type": "integer"
  23184. },
  23185. "reviserid": {
  23186. "description": "修改人",
  23187. "type": "integer"
  23188. },
  23189. "revisersrc": {
  23190. "description": "修改来源 - 1:管理端 2:终端",
  23191. "type": "integer"
  23192. },
  23193. "updatetime": {
  23194. "description": "更新时间",
  23195. "type": "string"
  23196. }
  23197. }
  23198. },
  23199. "models.QhjAreaFinanceConfig": {
  23200. "type": "object",
  23201. "properties": {
  23202. "additionalratio": {
  23203. "description": "追加款比例",
  23204. "type": "number"
  23205. },
  23206. "advanceratio": {
  23207. "description": "预付款比例",
  23208. "type": "number"
  23209. },
  23210. "alarmratio": {
  23211. "description": "告警比例",
  23212. "type": "number"
  23213. },
  23214. "consumptiondirectreward": {
  23215. "description": "消费直推奖励值",
  23216. "type": "number"
  23217. },
  23218. "consumptionenabled": {
  23219. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23220. "type": "integer"
  23221. },
  23222. "consumptionindirectreward": {
  23223. "description": "消费间推奖励值",
  23224. "type": "number"
  23225. },
  23226. "consumptionmodel": {
  23227. "description": "消费奖励方式 - 1:比率 2:固定",
  23228. "type": "integer"
  23229. },
  23230. "customerservicenum": {
  23231. "description": "客服电话",
  23232. "type": "string"
  23233. },
  23234. "dayinterestrate": {
  23235. "description": "日利率",
  23236. "type": "number"
  23237. },
  23238. "disableconsumptiontips": {
  23239. "description": "关闭消费奖励提示",
  23240. "type": "string"
  23241. },
  23242. "modifierid": {
  23243. "description": "修改人ID",
  23244. "type": "integer"
  23245. },
  23246. "modifysrc": {
  23247. "description": "审核来源 - 1:管理端 2:终端",
  23248. "type": "integer"
  23249. },
  23250. "modifytime": {
  23251. "description": "修改时间",
  23252. "type": "string"
  23253. },
  23254. "promotionvalue": {
  23255. "description": "推广奖励值(固定)",
  23256. "type": "number"
  23257. },
  23258. "scoreconfigvalue1": {
  23259. "description": "提货积分配置1",
  23260. "type": "integer"
  23261. },
  23262. "scoreconfigvalue2": {
  23263. "description": "提货积分配置2",
  23264. "type": "integer"
  23265. },
  23266. "userid": {
  23267. "description": "机构用户ID其他做市关系,都设置为 1",
  23268. "type": "integer"
  23269. },
  23270. "username": {
  23271. "description": "用户名称",
  23272. "type": "string"
  23273. }
  23274. }
  23275. },
  23276. "models.QhjBankAccountSign": {
  23277. "type": "object",
  23278. "properties": {
  23279. "accountcode": {
  23280. "description": "资金账号",
  23281. "type": "string"
  23282. },
  23283. "accountname": {
  23284. "description": "资金账号对应的账号名(UserName)",
  23285. "type": "string"
  23286. },
  23287. "accountname2": {
  23288. "description": "资金账号对应的账号名(UserName) - 密文",
  23289. "type": "string"
  23290. },
  23291. "accounttype": {
  23292. "description": "账户类型(UserType)",
  23293. "type": "integer"
  23294. },
  23295. "applicationtime": {
  23296. "description": "最后一次更新的时间",
  23297. "type": "string"
  23298. },
  23299. "applyexchticket": {
  23300. "description": "申请流水",
  23301. "type": "string"
  23302. },
  23303. "auditid": {
  23304. "description": "审核人",
  23305. "type": "integer"
  23306. },
  23307. "audittime": {
  23308. "description": "审核时间",
  23309. "type": "string"
  23310. },
  23311. "bankaccountname": {
  23312. "description": "签约银行卡账号名",
  23313. "type": "string"
  23314. },
  23315. "bankaccountname2": {
  23316. "description": "签约银行卡账号名 - 密文",
  23317. "type": "string"
  23318. },
  23319. "bankaccountno": {
  23320. "description": "银行卡号",
  23321. "type": "string"
  23322. },
  23323. "bankaccountno2": {
  23324. "description": "银行卡号 - 密文",
  23325. "type": "string"
  23326. },
  23327. "bankaccounttype": {
  23328. "description": "银行账户类型 - 1-对私; 2-对公",
  23329. "type": "integer"
  23330. },
  23331. "bankcardtype": {
  23332. "description": "银行卡类型",
  23333. "type": "integer"
  23334. },
  23335. "bankchildaccount": {
  23336. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23337. "type": "string"
  23338. },
  23339. "bankcity": {
  23340. "description": "开户行城市",
  23341. "type": "string"
  23342. },
  23343. "bankid": {
  23344. "description": "签约银行ID",
  23345. "type": "string"
  23346. },
  23347. "bankname": {
  23348. "description": "签约银行名称",
  23349. "type": "string"
  23350. },
  23351. "bankprovince": {
  23352. "description": "开户行省份",
  23353. "type": "string"
  23354. },
  23355. "branchbankid": {
  23356. "description": "签约银行支行号",
  23357. "type": "string"
  23358. },
  23359. "branchbankname": {
  23360. "description": "签约银行支行名称",
  23361. "type": "string"
  23362. },
  23363. "cardno": {
  23364. "description": "证件号码",
  23365. "type": "string"
  23366. },
  23367. "cardno2": {
  23368. "description": "证件号码 - 密文",
  23369. "type": "string"
  23370. },
  23371. "cardtype": {
  23372. "description": "证件类型",
  23373. "type": "string"
  23374. },
  23375. "currency": {
  23376. "description": "币种",
  23377. "type": "string"
  23378. },
  23379. "cusbankid": {
  23380. "description": "托管银行编号",
  23381. "type": "string"
  23382. },
  23383. "direct": {
  23384. "description": "方向(可以判断那方先发起的签约)",
  23385. "type": "integer"
  23386. },
  23387. "exchticket": {
  23388. "description": "最后一次签约成功的流水号",
  23389. "type": "string"
  23390. },
  23391. "extendinfo": {
  23392. "description": "扩展信息(JSON字符串)",
  23393. "type": "string"
  23394. },
  23395. "mobilephone": {
  23396. "description": "手机号",
  23397. "type": "string"
  23398. },
  23399. "mobilephone2": {
  23400. "description": "手机号 - 密文",
  23401. "type": "string"
  23402. },
  23403. "netaddr": {
  23404. "description": "调转网址",
  23405. "type": "string"
  23406. },
  23407. "relateduserid": {
  23408. "description": "关联使用者userid",
  23409. "type": "integer"
  23410. },
  23411. "signstatus": {
  23412. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23413. "type": "integer"
  23414. },
  23415. "updatetime": {
  23416. "description": "更新时间(签解约更新时间)",
  23417. "type": "string"
  23418. }
  23419. }
  23420. },
  23421. "models.QhjBankInfo": {
  23422. "type": "object",
  23423. "properties": {
  23424. "bankid": {
  23425. "description": "银行ID",
  23426. "type": "string"
  23427. },
  23428. "bankname": {
  23429. "description": "银行名称",
  23430. "type": "string"
  23431. },
  23432. "clearbankno": {
  23433. "description": "清算系统银行编号",
  23434. "type": "string"
  23435. },
  23436. "orderindex": {
  23437. "description": "排序顺序",
  23438. "type": "integer"
  23439. },
  23440. "status": {
  23441. "description": "状态 - 0:正常 1:注销",
  23442. "type": "integer"
  23443. }
  23444. }
  23445. },
  23446. "models.QhjContract": {
  23447. "type": "object",
  23448. "properties": {
  23449. "contractconfirmtime": {
  23450. "description": "合同确认时间(时间)",
  23451. "type": "string"
  23452. },
  23453. "currisklevel": {
  23454. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23455. "type": "integer"
  23456. },
  23457. "decimalplace": {
  23458. "description": "商品报价小数位",
  23459. "type": "integer"
  23460. },
  23461. "enumdicname": {
  23462. "description": "单位名称",
  23463. "type": "string"
  23464. },
  23465. "goodscode": {
  23466. "description": "商品代码",
  23467. "type": "string"
  23468. },
  23469. "goodsid": {
  23470. "description": "商品ID [5:融资单]",
  23471. "type": "integer"
  23472. },
  23473. "goodsname": {
  23474. "description": "商品名称",
  23475. "type": "string"
  23476. },
  23477. "goodunitid": {
  23478. "description": "商品单位id",
  23479. "type": "integer"
  23480. },
  23481. "initmargin": {
  23482. "description": "初始保证金(首付款)",
  23483. "type": "number"
  23484. },
  23485. "lenderamount": {
  23486. "description": "贷款金额(总额|订单总额)",
  23487. "type": "number"
  23488. },
  23489. "marginratio": {
  23490. "description": "保证金比率(首付比例)",
  23491. "type": "number"
  23492. },
  23493. "payamount": {
  23494. "description": "已付(已付货款)",
  23495. "type": "number"
  23496. },
  23497. "reckonrecovermargin": {
  23498. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23499. "type": "number"
  23500. },
  23501. "recoveredmargin": {
  23502. "description": "已追缴保证金",
  23503. "type": "number"
  23504. },
  23505. "remainamount": {
  23506. "description": "合同剩余金额(融资额)",
  23507. "type": "number"
  23508. },
  23509. "scfcontractid": {
  23510. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23511. "type": "string"
  23512. },
  23513. "scfcontractstatus": {
  23514. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23515. "type": "integer"
  23516. },
  23517. "scfcontracttype": {
  23518. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23519. "type": "integer"
  23520. },
  23521. "totalinterest": {
  23522. "description": "已计总利息(利息)",
  23523. "type": "number"
  23524. },
  23525. "tradeprice": {
  23526. "description": "成交价格(成本价格)",
  23527. "type": "number"
  23528. },
  23529. "userid": {
  23530. "description": "用户ID",
  23531. "type": "integer"
  23532. },
  23533. "username": {
  23534. "description": "用户名称",
  23535. "type": "string"
  23536. },
  23537. "wrqty": {
  23538. "description": "仓单数量(数量)",
  23539. "type": "number"
  23540. }
  23541. }
  23542. },
  23543. "models.QhjContractLog": {
  23544. "type": "object",
  23545. "properties": {
  23546. "amount": {
  23547. "description": "支付金额",
  23548. "type": "number"
  23549. },
  23550. "amounttype": {
  23551. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  23552. "type": "integer"
  23553. },
  23554. "logid": {
  23555. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23556. "type": "string"
  23557. },
  23558. "remainamount": {
  23559. "description": "剩余货款",
  23560. "type": "number"
  23561. },
  23562. "scfcontractid": {
  23563. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23564. "type": "integer"
  23565. },
  23566. "updatetime": {
  23567. "description": "更新时间",
  23568. "type": "string"
  23569. }
  23570. }
  23571. },
  23572. "models.QhjCusBankSignBankEx": {
  23573. "type": "object",
  23574. "properties": {
  23575. "banklst": {
  23576. "description": "银行列表",
  23577. "type": "array",
  23578. "items": {
  23579. "$ref": "#/definitions/models.QhjBankInfo"
  23580. }
  23581. },
  23582. "canallot": {
  23583. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  23584. "type": "integer"
  23585. },
  23586. "canallotquery": {
  23587. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  23588. "type": "integer"
  23589. },
  23590. "canbindcard": {
  23591. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  23592. "type": "integer"
  23593. },
  23594. "caninamount": {
  23595. "description": "是否可入金 - 0:不可 1:可以",
  23596. "type": "integer"
  23597. },
  23598. "caninamount2": {
  23599. "description": "是否可入金(网银端) - 0:不可 1:可以",
  23600. "type": "integer"
  23601. },
  23602. "canmodifybankcard": {
  23603. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  23604. "type": "integer"
  23605. },
  23606. "canmodifyphone": {
  23607. "description": "是否可修改手机号 - 0:不可 1:可以",
  23608. "type": "integer"
  23609. },
  23610. "canmodifysigninfo": {
  23611. "description": "是否可修改签约信息 - 0:不可 1:可以",
  23612. "type": "integer"
  23613. },
  23614. "canoutamount": {
  23615. "description": "是否可出金 - 0:不可 1:可以",
  23616. "type": "integer"
  23617. },
  23618. "canoutamount2": {
  23619. "description": "是否可出金(网银端) - 0:不可 1:可以",
  23620. "type": "integer"
  23621. },
  23622. "canrelease": {
  23623. "description": "是否可解约 - 0:不可 1:可以",
  23624. "type": "integer"
  23625. },
  23626. "canrelease2": {
  23627. "description": "是否可解约(网银端) - 0:不可 1:可以",
  23628. "type": "integer"
  23629. },
  23630. "cansign": {
  23631. "description": "是否可签约 - 0:不可 1:可以",
  23632. "type": "integer"
  23633. },
  23634. "cansign2": {
  23635. "description": "是否可签约(网银端) - 0:不可 1:可以",
  23636. "type": "integer"
  23637. },
  23638. "currency": {
  23639. "description": "币种",
  23640. "type": "string"
  23641. },
  23642. "cusbankid": {
  23643. "description": "托管银行编号(对应清算中心TRAN_NO)",
  23644. "type": "string"
  23645. },
  23646. "cusbankname": {
  23647. "description": "银行业务名称",
  23648. "type": "string"
  23649. },
  23650. "cusbankshortname": {
  23651. "description": "银行业务简称",
  23652. "type": "string"
  23653. },
  23654. "exchbankid": {
  23655. "description": "交易所开户银行ID",
  23656. "type": "string"
  23657. },
  23658. "exchpaybankaccname": {
  23659. "description": "交易所支出结算账户户名",
  23660. "type": "string"
  23661. },
  23662. "exchpaybankaccno": {
  23663. "description": "交易所支出结算账户",
  23664. "type": "string"
  23665. },
  23666. "isneedcheck": {
  23667. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  23668. "type": "integer"
  23669. },
  23670. "isneedclear": {
  23671. "description": "是否需要清算 - 0:不需要 1:需要",
  23672. "type": "integer"
  23673. },
  23674. "lastcheckstatus": {
  23675. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  23676. "type": "integer"
  23677. },
  23678. "lastchecktime": {
  23679. "description": "最后对账时间",
  23680. "type": "string"
  23681. },
  23682. "lastclearstatus": {
  23683. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  23684. "type": "integer"
  23685. },
  23686. "lastcleartime": {
  23687. "description": "最后清算时间",
  23688. "type": "string"
  23689. },
  23690. "lastsignintime": {
  23691. "description": "最后签到时间",
  23692. "type": "string"
  23693. },
  23694. "lastsignouttime": {
  23695. "description": "最后签退时间",
  23696. "type": "string"
  23697. },
  23698. "riskinfo": {
  23699. "description": "签约风险提示书",
  23700. "type": "string"
  23701. },
  23702. "signstatus": {
  23703. "description": "当前签到/签退状态 - 1:签到 2:签退",
  23704. "type": "integer"
  23705. },
  23706. "tradedate": {
  23707. "description": "交易日(yyyyMMdd)",
  23708. "type": "string"
  23709. },
  23710. "updatetime": {
  23711. "description": "当前签到/签退更新时间",
  23712. "type": "string"
  23713. }
  23714. }
  23715. },
  23716. "models.QhjCustomer": {
  23717. "type": "object",
  23718. "properties": {
  23719. "address": {
  23720. "description": "通讯地址",
  23721. "type": "string"
  23722. },
  23723. "attachment1": {
  23724. "description": "附件1",
  23725. "type": "string"
  23726. },
  23727. "audittime": {
  23728. "description": "审核时间",
  23729. "type": "string"
  23730. },
  23731. "cardbackphotourl": {
  23732. "description": "证件反面图片地址",
  23733. "type": "string"
  23734. },
  23735. "cardfrontphotourl": {
  23736. "description": "证件正面图片地址",
  23737. "type": "string"
  23738. },
  23739. "cardnum": {
  23740. "description": "证件号码",
  23741. "type": "string"
  23742. },
  23743. "cardtype": {
  23744. "description": "证件类型",
  23745. "type": "integer"
  23746. },
  23747. "cardtypename": {
  23748. "description": "证件类型名称",
  23749. "type": "string"
  23750. },
  23751. "cityid": {
  23752. "description": "市",
  23753. "type": "integer"
  23754. },
  23755. "cityname": {
  23756. "description": "城市名称",
  23757. "type": "string"
  23758. },
  23759. "contactname": {
  23760. "description": "联系人",
  23761. "type": "string"
  23762. },
  23763. "countryid": {
  23764. "description": "国家",
  23765. "type": "integer"
  23766. },
  23767. "countryname": {
  23768. "description": "国家名称",
  23769. "type": "string"
  23770. },
  23771. "createtime": {
  23772. "description": "创建时间",
  23773. "type": "string"
  23774. },
  23775. "customername": {
  23776. "description": "客户名称",
  23777. "type": "string"
  23778. },
  23779. "districtid": {
  23780. "description": "区域",
  23781. "type": "integer"
  23782. },
  23783. "districtname": {
  23784. "description": "地区名称",
  23785. "type": "string"
  23786. },
  23787. "email": {
  23788. "description": "邮件",
  23789. "type": "string"
  23790. },
  23791. "legalpersonname": {
  23792. "description": "法人姓名(企业)",
  23793. "type": "string"
  23794. },
  23795. "logincode": {
  23796. "description": "登录账号(代码)",
  23797. "type": "string"
  23798. },
  23799. "memberuserid": {
  23800. "description": "所属机构ID(所属会员)",
  23801. "type": "integer"
  23802. },
  23803. "memberusername": {
  23804. "description": "所属会员名称",
  23805. "type": "string"
  23806. },
  23807. "mobile": {
  23808. "description": "手机号码",
  23809. "type": "string"
  23810. },
  23811. "modifytime": {
  23812. "description": "修改时间",
  23813. "type": "string"
  23814. },
  23815. "nickname": {
  23816. "description": "昵称",
  23817. "type": "string"
  23818. },
  23819. "parentuserid": {
  23820. "description": "上级机构(所属机构)",
  23821. "type": "integer"
  23822. },
  23823. "parentusername": {
  23824. "description": "所属机构名称",
  23825. "type": "string"
  23826. },
  23827. "provinceid": {
  23828. "description": "省",
  23829. "type": "integer"
  23830. },
  23831. "provincename": {
  23832. "description": "省名称",
  23833. "type": "string"
  23834. },
  23835. "proxystatementurl": {
  23836. "description": "授权委托书",
  23837. "type": "string"
  23838. },
  23839. "remark": {
  23840. "description": "备注",
  23841. "type": "string"
  23842. },
  23843. "status": {
  23844. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23845. "type": "integer"
  23846. },
  23847. "statusdesc": {
  23848. "description": "账户状态中文描述",
  23849. "type": "string"
  23850. },
  23851. "taxpayernum": {
  23852. "description": "纳税人识别号",
  23853. "type": "string"
  23854. },
  23855. "telphone": {
  23856. "description": "联系电话",
  23857. "type": "string"
  23858. },
  23859. "userid": {
  23860. "description": "用户ID",
  23861. "type": "integer"
  23862. },
  23863. "userinfotype": {
  23864. "description": "客户类型 1-个人 2-企业",
  23865. "type": "integer"
  23866. },
  23867. "username": {
  23868. "description": "用户名称",
  23869. "type": "string"
  23870. }
  23871. }
  23872. },
  23873. "models.QhjCustomerSignLog": {
  23874. "type": "object",
  23875. "properties": {
  23876. "agreementcontent": {
  23877. "description": "协议内容",
  23878. "type": "string"
  23879. },
  23880. "agreementid": {
  23881. "description": "协议ID",
  23882. "type": "integer"
  23883. },
  23884. "agreementname": {
  23885. "description": "协议名称",
  23886. "type": "string"
  23887. },
  23888. "agreementno": {
  23889. "description": "协议编号",
  23890. "type": "string"
  23891. },
  23892. "agreementtype": {
  23893. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23894. "type": "integer"
  23895. },
  23896. "agreementversion": {
  23897. "description": "协议版本号",
  23898. "type": "integer"
  23899. },
  23900. "createtime": {
  23901. "description": "创建时间",
  23902. "type": "string"
  23903. },
  23904. "goodscode": {
  23905. "description": "商品代码",
  23906. "type": "string"
  23907. },
  23908. "goodsid": {
  23909. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23910. "type": "integer"
  23911. },
  23912. "goodsname": {
  23913. "description": "商品名称",
  23914. "type": "string"
  23915. },
  23916. "logid": {
  23917. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  23918. "type": "integer"
  23919. },
  23920. "nodetype": {
  23921. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  23922. "type": "integer"
  23923. },
  23924. "signadressurl": {
  23925. "description": "签约文件地址",
  23926. "type": "string"
  23927. },
  23928. "signtimestamp": {
  23929. "description": "签约状态时间戳",
  23930. "type": "string"
  23931. },
  23932. "userid": {
  23933. "description": "客户ID",
  23934. "type": "integer"
  23935. },
  23936. "username": {
  23937. "description": "客户名称",
  23938. "type": "string"
  23939. }
  23940. }
  23941. },
  23942. "models.QhjCustomerSignStatus": {
  23943. "type": "object",
  23944. "properties": {
  23945. "createtime": {
  23946. "description": "创建时间",
  23947. "type": "string"
  23948. },
  23949. "goodscode": {
  23950. "description": "商品代码",
  23951. "type": "string"
  23952. },
  23953. "goodsid": {
  23954. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23955. "type": "integer"
  23956. },
  23957. "goodsname": {
  23958. "description": "商品名称",
  23959. "type": "string"
  23960. },
  23961. "nodetype": {
  23962. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  23963. "type": "integer"
  23964. },
  23965. "signtimestamp": {
  23966. "description": "签约状态时间戳",
  23967. "type": "string"
  23968. },
  23969. "tradedate": {
  23970. "description": "创建交易日(yyyyMMdd)",
  23971. "type": "string"
  23972. },
  23973. "updatetime": {
  23974. "description": "更新时间",
  23975. "type": "string"
  23976. },
  23977. "userid": {
  23978. "description": "客户ID",
  23979. "type": "integer"
  23980. },
  23981. "username": {
  23982. "description": "客户名称",
  23983. "type": "string"
  23984. }
  23985. }
  23986. },
  23987. "models.QhjMgrAccountOutInApply": {
  23988. "type": "object",
  23989. "properties": {
  23990. "accountcode": {
  23991. "description": "资金账号",
  23992. "type": "string"
  23993. },
  23994. "accountname": {
  23995. "description": "用户名称(名称)",
  23996. "type": "string"
  23997. },
  23998. "accountpwd": {
  23999. "description": "资金密码",
  24000. "type": "string"
  24001. },
  24002. "accountticket": {
  24003. "description": "最新账户服务流水号",
  24004. "type": "string"
  24005. },
  24006. "amount": {
  24007. "description": "金额",
  24008. "type": "number"
  24009. },
  24010. "applyremark": {
  24011. "description": "申请备注",
  24012. "type": "string"
  24013. },
  24014. "applystatus": {
  24015. "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: 复审通过,账户冻结金额检查中;",
  24016. "type": "integer"
  24017. },
  24018. "auditid": {
  24019. "description": "审核人",
  24020. "type": "integer"
  24021. },
  24022. "audittime": {
  24023. "description": "审核时间",
  24024. "type": "string"
  24025. },
  24026. "bank_apply_ticket": {
  24027. "description": "银行申请流水",
  24028. "type": "string"
  24029. },
  24030. "bankaccountname": {
  24031. "description": "银行账户名",
  24032. "type": "string"
  24033. },
  24034. "bankaccountno": {
  24035. "description": "银行卡号",
  24036. "type": "string"
  24037. },
  24038. "bankid": {
  24039. "description": "银行编号",
  24040. "type": "string"
  24041. },
  24042. "bankname": {
  24043. "description": "银行名称",
  24044. "type": "string"
  24045. },
  24046. "bankticket": {
  24047. "description": "银行流水",
  24048. "type": "string"
  24049. },
  24050. "branchbankid": {
  24051. "description": "银行支行号",
  24052. "type": "string"
  24053. },
  24054. "branchbankname": {
  24055. "description": "银行支行名称",
  24056. "type": "string"
  24057. },
  24058. "capamountout": {
  24059. "description": "出金(劣后本金) - 外部子账户",
  24060. "type": "number"
  24061. },
  24062. "certificatephotourl": {
  24063. "description": "凭证地址",
  24064. "type": "string"
  24065. },
  24066. "charge": {
  24067. "description": "手续费",
  24068. "type": "number"
  24069. },
  24070. "checkerrorflag": {
  24071. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24072. "type": "integer"
  24073. },
  24074. "currency": {
  24075. "description": "币种",
  24076. "type": "string"
  24077. },
  24078. "cusbankid": {
  24079. "description": "托管银行编号",
  24080. "type": "string"
  24081. },
  24082. "exchticket": {
  24083. "description": "银行服务流水号",
  24084. "type": "string"
  24085. },
  24086. "executetype": {
  24087. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24088. "type": "integer"
  24089. },
  24090. "extendinfo": {
  24091. "description": "扩展信息",
  24092. "type": "string"
  24093. },
  24094. "extoperateid": {
  24095. "description": "交易服务流水号",
  24096. "type": "integer"
  24097. },
  24098. "infamount": {
  24099. "description": "劣后金额(自有)",
  24100. "type": "number"
  24101. },
  24102. "logincode": {
  24103. "description": "登录账号(账号)",
  24104. "type": "string"
  24105. },
  24106. "netaddr": {
  24107. "description": "调转网址",
  24108. "type": "string"
  24109. },
  24110. "priamount": {
  24111. "description": "优先金额(授信)",
  24112. "type": "number"
  24113. },
  24114. "reauditid": {
  24115. "description": "复审人",
  24116. "type": "integer"
  24117. },
  24118. "reauditremark": {
  24119. "description": "复审备注",
  24120. "type": "string"
  24121. },
  24122. "reaudittime": {
  24123. "description": "复审时间",
  24124. "type": "string"
  24125. },
  24126. "relatedorderid": {
  24127. "description": "三方关联ID",
  24128. "type": "string"
  24129. },
  24130. "remark": {
  24131. "description": "备注",
  24132. "type": "string"
  24133. },
  24134. "remark2": {
  24135. "description": "备注(失败原因)",
  24136. "type": "string"
  24137. },
  24138. "soucreamount": {
  24139. "description": "原始出入金金额",
  24140. "type": "number"
  24141. },
  24142. "soucrecurrencyid": {
  24143. "description": "原始出入金币种",
  24144. "type": "integer"
  24145. },
  24146. "tradedate": {
  24147. "description": "交易日(yyyyMMdd)",
  24148. "type": "string"
  24149. },
  24150. "updatetime": {
  24151. "description": "更新时间(申请时间)",
  24152. "type": "string"
  24153. },
  24154. "userid": {
  24155. "description": "用户id",
  24156. "type": "integer"
  24157. },
  24158. "userinfotype": {
  24159. "description": "账户类型 1-个人 2-企业",
  24160. "type": "integer"
  24161. }
  24162. }
  24163. },
  24164. "models.QhjMgrBrokerApply": {
  24165. "type": "object",
  24166. "properties": {
  24167. "applicantid": {
  24168. "description": "申请人",
  24169. "type": "integer"
  24170. },
  24171. "applysrc": {
  24172. "description": "申请来源 - 1:管理端 2:终端",
  24173. "type": "integer"
  24174. },
  24175. "applystatus": {
  24176. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24177. "type": "integer"
  24178. },
  24179. "applytime": {
  24180. "description": "申请时间",
  24181. "type": "string"
  24182. },
  24183. "auditorid": {
  24184. "description": "审核人",
  24185. "type": "integer"
  24186. },
  24187. "auditremark": {
  24188. "description": "审核备注",
  24189. "type": "string"
  24190. },
  24191. "auditsrc": {
  24192. "description": "审核来源 - 1:管理端 2:终端",
  24193. "type": "integer"
  24194. },
  24195. "audittime": {
  24196. "description": "审核时间",
  24197. "type": "string"
  24198. },
  24199. "audittradedate": {
  24200. "description": "审核交易日(yyyyMMdd)",
  24201. "type": "string"
  24202. },
  24203. "brokerapplyid": {
  24204. "description": "申请ID(SEQ_BROKERAPPLY)",
  24205. "type": "integer"
  24206. },
  24207. "cardbackphotourl": {
  24208. "description": "证件背面图片地址",
  24209. "type": "string"
  24210. },
  24211. "cardfrontphotourl": {
  24212. "description": "证件正面图片地址",
  24213. "type": "string"
  24214. },
  24215. "cardnum": {
  24216. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24217. "type": "string"
  24218. },
  24219. "customername": {
  24220. "description": "姓名",
  24221. "type": "string"
  24222. },
  24223. "filterstatus": {
  24224. "description": "筛选条件",
  24225. "type": "string"
  24226. },
  24227. "logincode": {
  24228. "description": "登录代码",
  24229. "type": "string"
  24230. },
  24231. "mobile": {
  24232. "description": "手机号码",
  24233. "type": "string"
  24234. },
  24235. "parentuserid": {
  24236. "description": "所属机构id",
  24237. "type": "integer"
  24238. },
  24239. "parentusername": {
  24240. "description": "所属机构名称",
  24241. "type": "string"
  24242. },
  24243. "refereeuserid": {
  24244. "description": "推荐人id(经纪人)",
  24245. "type": "integer"
  24246. },
  24247. "refernum": {
  24248. "description": "推荐码",
  24249. "type": "string"
  24250. },
  24251. "remark": {
  24252. "description": "备注",
  24253. "type": "string"
  24254. },
  24255. "subarealevelpath": {
  24256. "description": "层级路径",
  24257. "type": "string"
  24258. },
  24259. "tradedate": {
  24260. "description": "交易日(yyyyMMdd)",
  24261. "type": "string"
  24262. },
  24263. "userid": {
  24264. "description": "申请人用户ID",
  24265. "type": "integer"
  24266. },
  24267. "userinfotype": {
  24268. "description": "用户类型 1-个人 2-企业",
  24269. "type": "integer"
  24270. },
  24271. "username": {
  24272. "description": "用户名称",
  24273. "type": "string"
  24274. }
  24275. }
  24276. },
  24277. "models.QhjMgrContract": {
  24278. "type": "object",
  24279. "properties": {
  24280. "contractconfirmtime": {
  24281. "description": "合同确认时间(时间)",
  24282. "type": "string"
  24283. },
  24284. "currisklevel": {
  24285. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24286. "type": "integer"
  24287. },
  24288. "decimalplace": {
  24289. "description": "商品报价小数位",
  24290. "type": "integer"
  24291. },
  24292. "enumdicname": {
  24293. "description": "单位名称",
  24294. "type": "string"
  24295. },
  24296. "goodscode": {
  24297. "description": "商品代码",
  24298. "type": "string"
  24299. },
  24300. "goodsid": {
  24301. "description": "商品ID [5:融资单]",
  24302. "type": "integer"
  24303. },
  24304. "goodsname": {
  24305. "description": "商品名称",
  24306. "type": "string"
  24307. },
  24308. "goodunitid": {
  24309. "description": "商品单位id",
  24310. "type": "integer"
  24311. },
  24312. "initmargin": {
  24313. "description": "初始保证金(首付款)",
  24314. "type": "number"
  24315. },
  24316. "lenderamount": {
  24317. "description": "贷款金额(总额|订单总额)",
  24318. "type": "number"
  24319. },
  24320. "logincode": {
  24321. "description": "账号(登录代码)",
  24322. "type": "string"
  24323. },
  24324. "marginratio": {
  24325. "description": "保证金比率(首付比例)",
  24326. "type": "number"
  24327. },
  24328. "mobile": {
  24329. "description": "电话号码(用户资料里的电话)",
  24330. "type": "string"
  24331. },
  24332. "payamount": {
  24333. "description": "已付(已付货款)",
  24334. "type": "number"
  24335. },
  24336. "reckonrecovermargin": {
  24337. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24338. "type": "number"
  24339. },
  24340. "recoveredmargin": {
  24341. "description": "已追缴保证金",
  24342. "type": "number"
  24343. },
  24344. "remainamount": {
  24345. "description": "合同剩余金额(融资额)",
  24346. "type": "number"
  24347. },
  24348. "scfcontractid": {
  24349. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24350. "type": "string"
  24351. },
  24352. "scfcontractstatus": {
  24353. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24354. "type": "integer"
  24355. },
  24356. "scfcontracttype": {
  24357. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24358. "type": "integer"
  24359. },
  24360. "totalinterest": {
  24361. "description": "已计总利息(利息)",
  24362. "type": "number"
  24363. },
  24364. "tradedate": {
  24365. "description": "交易日",
  24366. "type": "string"
  24367. },
  24368. "tradeprice": {
  24369. "description": "成交价格(成本价格)",
  24370. "type": "number"
  24371. },
  24372. "userid": {
  24373. "description": "用户ID",
  24374. "type": "integer"
  24375. },
  24376. "userinfotype": {
  24377. "description": "用户类型 1-个人 2-企业",
  24378. "type": "integer"
  24379. },
  24380. "username": {
  24381. "description": "用户名称",
  24382. "type": "string"
  24383. },
  24384. "wrqty": {
  24385. "description": "仓单数量(数量)",
  24386. "type": "number"
  24387. }
  24388. }
  24389. },
  24390. "models.QhjMgrCustomer": {
  24391. "type": "object",
  24392. "properties": {
  24393. "address": {
  24394. "description": "通讯地址",
  24395. "type": "string"
  24396. },
  24397. "attachment1": {
  24398. "description": "附件1",
  24399. "type": "string"
  24400. },
  24401. "audittime": {
  24402. "description": "审核时间",
  24403. "type": "string"
  24404. },
  24405. "cardbackphotourl": {
  24406. "description": "证件反面图片地址",
  24407. "type": "string"
  24408. },
  24409. "cardfrontphotourl": {
  24410. "description": "证件正面图片地址",
  24411. "type": "string"
  24412. },
  24413. "cardnum": {
  24414. "description": "证件号码",
  24415. "type": "string"
  24416. },
  24417. "cardtype": {
  24418. "description": "证件类型",
  24419. "type": "integer"
  24420. },
  24421. "cardtypename": {
  24422. "description": "证件类型名称",
  24423. "type": "string"
  24424. },
  24425. "cityid": {
  24426. "description": "市",
  24427. "type": "integer"
  24428. },
  24429. "cityname": {
  24430. "description": "城市名称",
  24431. "type": "string"
  24432. },
  24433. "contactname": {
  24434. "description": "联系人",
  24435. "type": "string"
  24436. },
  24437. "countryid": {
  24438. "description": "国家",
  24439. "type": "integer"
  24440. },
  24441. "countryname": {
  24442. "description": "国家名称",
  24443. "type": "string"
  24444. },
  24445. "createtime": {
  24446. "description": "创建时间",
  24447. "type": "string"
  24448. },
  24449. "customername": {
  24450. "description": "客户名称",
  24451. "type": "string"
  24452. },
  24453. "districtid": {
  24454. "description": "区域",
  24455. "type": "integer"
  24456. },
  24457. "districtname": {
  24458. "description": "地区名称",
  24459. "type": "string"
  24460. },
  24461. "email": {
  24462. "description": "邮件",
  24463. "type": "string"
  24464. },
  24465. "legalpersonname": {
  24466. "description": "法人姓名(企业)",
  24467. "type": "string"
  24468. },
  24469. "logincode": {
  24470. "description": "登录账号(代码)",
  24471. "type": "string"
  24472. },
  24473. "memberuserid": {
  24474. "description": "所属机构ID(所属会员)",
  24475. "type": "integer"
  24476. },
  24477. "memberusername": {
  24478. "description": "所属会员名称",
  24479. "type": "string"
  24480. },
  24481. "mobile": {
  24482. "description": "手机号码",
  24483. "type": "string"
  24484. },
  24485. "modifytime": {
  24486. "description": "修改时间",
  24487. "type": "string"
  24488. },
  24489. "nickname": {
  24490. "description": "昵称",
  24491. "type": "string"
  24492. },
  24493. "parentuserid": {
  24494. "description": "上级机构(所属机构)",
  24495. "type": "integer"
  24496. },
  24497. "parentusername": {
  24498. "description": "所属机构名称",
  24499. "type": "string"
  24500. },
  24501. "provinceid": {
  24502. "description": "省",
  24503. "type": "integer"
  24504. },
  24505. "provincename": {
  24506. "description": "省名称",
  24507. "type": "string"
  24508. },
  24509. "proxystatementurl": {
  24510. "description": "授权委托书",
  24511. "type": "string"
  24512. },
  24513. "querytype": {
  24514. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  24515. "type": "integer"
  24516. },
  24517. "remark": {
  24518. "description": "备注",
  24519. "type": "string"
  24520. },
  24521. "status": {
  24522. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24523. "type": "integer"
  24524. },
  24525. "statusdesc": {
  24526. "description": "账户状态中文描述",
  24527. "type": "string"
  24528. },
  24529. "taxpayernum": {
  24530. "description": "纳税人识别号",
  24531. "type": "string"
  24532. },
  24533. "telphone": {
  24534. "description": "联系电话",
  24535. "type": "string"
  24536. },
  24537. "userid": {
  24538. "description": "用户ID",
  24539. "type": "integer"
  24540. },
  24541. "userinfotype": {
  24542. "description": "客户类型 1-个人 2-企业",
  24543. "type": "integer"
  24544. },
  24545. "username": {
  24546. "description": "用户名称",
  24547. "type": "string"
  24548. }
  24549. }
  24550. },
  24551. "models.QhjMgrPositionRsp": {
  24552. "type": "object",
  24553. "properties": {
  24554. "accountid": {
  24555. "description": "账号Id",
  24556. "type": "integer"
  24557. },
  24558. "accountname": {
  24559. "description": "用户名称",
  24560. "type": "string"
  24561. },
  24562. "agreeunit": {
  24563. "description": "合约乘数",
  24564. "type": "number"
  24565. },
  24566. "averageprice": {
  24567. "description": "均价",
  24568. "type": "number"
  24569. },
  24570. "avialqty": {
  24571. "description": "可用数量",
  24572. "type": "number"
  24573. },
  24574. "decimalplace": {
  24575. "description": "报价小数位",
  24576. "type": "integer"
  24577. },
  24578. "enumdicname": {
  24579. "description": "单位名称(商品)",
  24580. "type": "string"
  24581. },
  24582. "frozenqty": {
  24583. "description": "冻结数量",
  24584. "type": "number"
  24585. },
  24586. "goodscode": {
  24587. "description": "商品代码(内部)",
  24588. "type": "string"
  24589. },
  24590. "goodsid": {
  24591. "description": "商品Id",
  24592. "type": "integer"
  24593. },
  24594. "goodsname": {
  24595. "description": "商品名称",
  24596. "type": "string"
  24597. },
  24598. "goodunitid": {
  24599. "description": "报价单位ID",
  24600. "type": "integer"
  24601. },
  24602. "holderamount": {
  24603. "description": "金额",
  24604. "type": "number"
  24605. },
  24606. "holderqty": {
  24607. "description": "持有数量",
  24608. "type": "number"
  24609. },
  24610. "holdertype": {
  24611. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  24612. "type": "integer"
  24613. },
  24614. "logincode": {
  24615. "description": "登录代码(账户)",
  24616. "type": "string"
  24617. },
  24618. "marketid": {
  24619. "description": "市场id",
  24620. "type": "integer"
  24621. },
  24622. "qtydecimalplace": {
  24623. "description": "成交量小数位",
  24624. "type": "integer"
  24625. },
  24626. "trademode": {
  24627. "description": "交易模式",
  24628. "type": "integer"
  24629. },
  24630. "userid": {
  24631. "description": "用户id",
  24632. "type": "integer"
  24633. },
  24634. "userinfotype": {
  24635. "description": "账户类型 1-个人 2-企业",
  24636. "type": "integer"
  24637. }
  24638. }
  24639. },
  24640. "models.QhjMgrSubArea": {
  24641. "type": "object",
  24642. "properties": {
  24643. "accountname": {
  24644. "description": "账户名称(机构名称)",
  24645. "type": "string"
  24646. },
  24647. "memberuserid": {
  24648. "description": "所属会员ID",
  24649. "type": "integer"
  24650. },
  24651. "parenttopuser": {
  24652. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24653. "type": "string"
  24654. },
  24655. "parentuserid": {
  24656. "description": "所属机构ID",
  24657. "type": "integer"
  24658. },
  24659. "rootuserid": {
  24660. "description": "根用户ID",
  24661. "type": "string"
  24662. },
  24663. "subaccountlevel": {
  24664. "description": "子账户层数",
  24665. "type": "integer"
  24666. },
  24667. "subarealevelpath": {
  24668. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24669. "type": "string"
  24670. },
  24671. "userid": {
  24672. "description": "用户ID",
  24673. "type": "integer"
  24674. },
  24675. "usertype": {
  24676. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24677. "type": "integer"
  24678. }
  24679. }
  24680. },
  24681. "models.QhjMgrTradeDetailRsp": {
  24682. "type": "object",
  24683. "properties": {
  24684. "accountid": {
  24685. "description": "资金账号",
  24686. "type": "integer"
  24687. },
  24688. "accountname": {
  24689. "description": "用户名称",
  24690. "type": "string"
  24691. },
  24692. "agreeunit": {
  24693. "description": "合约乘数",
  24694. "type": "number"
  24695. },
  24696. "buyorsell": {
  24697. "description": "成交类型(方向) 0:买 1:卖",
  24698. "type": "integer"
  24699. },
  24700. "decimalplace": {
  24701. "description": "报价小数位",
  24702. "type": "integer"
  24703. },
  24704. "enumdicname": {
  24705. "description": "单位名称(商品)",
  24706. "type": "string"
  24707. },
  24708. "goodscode": {
  24709. "description": "商品代码(内部)",
  24710. "type": "string"
  24711. },
  24712. "goodsid": {
  24713. "description": "商品id",
  24714. "type": "integer"
  24715. },
  24716. "goodsname": {
  24717. "description": "商品名称",
  24718. "type": "string"
  24719. },
  24720. "goodunitid": {
  24721. "description": "报价单位ID",
  24722. "type": "integer"
  24723. },
  24724. "logincode": {
  24725. "description": "登录代码(账户)",
  24726. "type": "string"
  24727. },
  24728. "marketid": {
  24729. "description": "市场id",
  24730. "type": "integer"
  24731. },
  24732. "orderid": {
  24733. "description": "关联委托单号",
  24734. "type": "string"
  24735. },
  24736. "qtydecimalplace": {
  24737. "description": "成交量小数位",
  24738. "type": "integer"
  24739. },
  24740. "tradeamount": {
  24741. "description": "金额",
  24742. "type": "number"
  24743. },
  24744. "tradedate": {
  24745. "description": "交易日",
  24746. "type": "string"
  24747. },
  24748. "tradeid": {
  24749. "description": "成交单号",
  24750. "type": "string"
  24751. },
  24752. "trademode": {
  24753. "description": "交易模式",
  24754. "type": "integer"
  24755. },
  24756. "tradeprice": {
  24757. "description": "价格",
  24758. "type": "number"
  24759. },
  24760. "tradeqty": {
  24761. "description": "数量",
  24762. "type": "number"
  24763. },
  24764. "tradetime": {
  24765. "description": "成交时间",
  24766. "type": "string"
  24767. },
  24768. "userid": {
  24769. "description": "用户id",
  24770. "type": "integer"
  24771. },
  24772. "userinfotype": {
  24773. "description": "账户类型 1-个人 2-企业",
  24774. "type": "integer"
  24775. }
  24776. }
  24777. },
  24778. "models.QhjMgrTradeOrderDetailRsp": {
  24779. "type": "object",
  24780. "properties": {
  24781. "accountid": {
  24782. "description": "资金账号",
  24783. "type": "integer"
  24784. },
  24785. "accountname": {
  24786. "description": "用户名称",
  24787. "type": "string"
  24788. },
  24789. "agreeunit": {
  24790. "description": "合约乘数",
  24791. "type": "number"
  24792. },
  24793. "amount": {
  24794. "description": "金额",
  24795. "type": "number"
  24796. },
  24797. "decimalplace": {
  24798. "description": "报价小数位",
  24799. "type": "integer"
  24800. },
  24801. "enumdicname": {
  24802. "description": "单位名称(商品)",
  24803. "type": "string"
  24804. },
  24805. "goodscode": {
  24806. "description": "商品代码(内部)",
  24807. "type": "string"
  24808. },
  24809. "goodsid": {
  24810. "description": "商品id",
  24811. "type": "integer"
  24812. },
  24813. "goodsname": {
  24814. "description": "商品名称",
  24815. "type": "string"
  24816. },
  24817. "goodunitid": {
  24818. "description": "报价单位ID",
  24819. "type": "integer"
  24820. },
  24821. "logincode": {
  24822. "description": "登录代码(账户)",
  24823. "type": "string"
  24824. },
  24825. "marketid": {
  24826. "description": "市场id",
  24827. "type": "integer"
  24828. },
  24829. "orderid": {
  24830. "description": "关联委托单号",
  24831. "type": "string"
  24832. },
  24833. "orderprice": {
  24834. "description": "价格",
  24835. "type": "number"
  24836. },
  24837. "orderqty": {
  24838. "description": "数量",
  24839. "type": "number"
  24840. },
  24841. "orderstatus": {
  24842. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24843. "type": "integer"
  24844. },
  24845. "ordertime": {
  24846. "description": "委托时间",
  24847. "type": "string"
  24848. },
  24849. "qtydecimalplace": {
  24850. "description": "成交量小数位",
  24851. "type": "integer"
  24852. },
  24853. "tradedate": {
  24854. "description": "交易日",
  24855. "type": "string"
  24856. },
  24857. "trademode": {
  24858. "description": "交易模式",
  24859. "type": "integer"
  24860. },
  24861. "userid": {
  24862. "description": "用户id",
  24863. "type": "integer"
  24864. },
  24865. "userinfotype": {
  24866. "description": "账户类型 1-个人 2-企业",
  24867. "type": "integer"
  24868. }
  24869. }
  24870. },
  24871. "models.QhjMgrTradePayOrder": {
  24872. "type": "object",
  24873. "properties": {
  24874. "accountname": {
  24875. "description": "用户名称",
  24876. "type": "string"
  24877. },
  24878. "advanceratio": {
  24879. "description": "首付比率",
  24880. "type": "number"
  24881. },
  24882. "agreeunit": {
  24883. "description": "合约乘数",
  24884. "type": "number"
  24885. },
  24886. "buyaccountid": {
  24887. "description": "买方账号ID[报价币种]",
  24888. "type": "integer"
  24889. },
  24890. "buyorderid": {
  24891. "description": "买方委托单号(关联单号)",
  24892. "type": "string"
  24893. },
  24894. "createtime": {
  24895. "description": "创建时间",
  24896. "type": "string"
  24897. },
  24898. "decimalplace": {
  24899. "description": "报价小数位",
  24900. "type": "integer"
  24901. },
  24902. "enumdicname": {
  24903. "description": "单位名称(商品)",
  24904. "type": "string"
  24905. },
  24906. "goodscode": {
  24907. "description": "商品代码(内部)",
  24908. "type": "string"
  24909. },
  24910. "goodsid": {
  24911. "description": "商品ID",
  24912. "type": "integer"
  24913. },
  24914. "goodsname": {
  24915. "description": "商品名称",
  24916. "type": "string"
  24917. },
  24918. "goodunitid": {
  24919. "description": "报价单位ID",
  24920. "type": "integer"
  24921. },
  24922. "logincode": {
  24923. "description": "登录代码(账户)",
  24924. "type": "string"
  24925. },
  24926. "marketid": {
  24927. "description": "市场id",
  24928. "type": "integer"
  24929. },
  24930. "offamount": {
  24931. "description": "优惠金额",
  24932. "type": "number"
  24933. },
  24934. "operatetype": {
  24935. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  24936. "type": "integer"
  24937. },
  24938. "payamount": {
  24939. "description": "支付金额(金额)",
  24940. "type": "number"
  24941. },
  24942. "payflag": {
  24943. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24944. "type": "integer"
  24945. },
  24946. "paylimitedtime": {
  24947. "description": "支付期限",
  24948. "type": "string"
  24949. },
  24950. "paytime": {
  24951. "description": "付款时间",
  24952. "type": "string"
  24953. },
  24954. "qtydecimalplace": {
  24955. "description": "成交量小数位",
  24956. "type": "integer"
  24957. },
  24958. "sellaccountid": {
  24959. "description": "卖方账号ID[报价币种]",
  24960. "type": "integer"
  24961. },
  24962. "sellorderid": {
  24963. "description": "卖方委托单号",
  24964. "type": "string"
  24965. },
  24966. "tradeamount": {
  24967. "description": "成交金额(优惠后金额)",
  24968. "type": "number"
  24969. },
  24970. "tradecharge": {
  24971. "description": "成交手续费(买方)",
  24972. "type": "number"
  24973. },
  24974. "tradedate": {
  24975. "description": "交易日(yyyyMMdd)",
  24976. "type": "string"
  24977. },
  24978. "tradeid": {
  24979. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24980. "type": "string"
  24981. },
  24982. "trademode": {
  24983. "description": "交易模式",
  24984. "type": "integer"
  24985. },
  24986. "tradeprice": {
  24987. "description": "成交价格(价格)",
  24988. "type": "number"
  24989. },
  24990. "tradeqty": {
  24991. "description": "成交数量(数量)",
  24992. "type": "number"
  24993. },
  24994. "tradetime": {
  24995. "description": "成交时间",
  24996. "type": "string"
  24997. },
  24998. "userid": {
  24999. "description": "用户id",
  25000. "type": "integer"
  25001. },
  25002. "userinfotype": {
  25003. "description": "账户类型 1-个人 2-企业",
  25004. "type": "integer"
  25005. }
  25006. }
  25007. },
  25008. "models.QhjNodeAgreementConfig": {
  25009. "type": "object",
  25010. "properties": {
  25011. "agreementcontent": {
  25012. "description": "协议内容",
  25013. "type": "string"
  25014. },
  25015. "agreementid": {
  25016. "description": "协议ID",
  25017. "type": "integer"
  25018. },
  25019. "agreementname": {
  25020. "description": "协议名称",
  25021. "type": "string"
  25022. },
  25023. "agreementno": {
  25024. "description": "协议编号",
  25025. "type": "string"
  25026. },
  25027. "agreementtype": {
  25028. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25029. "type": "integer"
  25030. },
  25031. "agreementversion": {
  25032. "description": "协议版本号",
  25033. "type": "integer"
  25034. },
  25035. "configid": {
  25036. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25037. "type": "integer"
  25038. },
  25039. "createtime": {
  25040. "description": "创建时间",
  25041. "type": "string"
  25042. },
  25043. "goodsid": {
  25044. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25045. "type": "integer"
  25046. },
  25047. "nodetype": {
  25048. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25049. "type": "integer"
  25050. }
  25051. }
  25052. },
  25053. "models.QhjParentAreaList": {
  25054. "type": "object",
  25055. "properties": {
  25056. "accountname": {
  25057. "description": "账户名称(机构名称)",
  25058. "type": "string"
  25059. },
  25060. "userid": {
  25061. "description": "用户ID",
  25062. "type": "integer"
  25063. },
  25064. "usertype": {
  25065. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25066. "type": "integer"
  25067. }
  25068. }
  25069. },
  25070. "models.QhjPayOrder": {
  25071. "type": "object",
  25072. "properties": {
  25073. "advanceratio": {
  25074. "description": "首付比率",
  25075. "type": "number"
  25076. },
  25077. "buyaccountid": {
  25078. "description": "买方账号ID[报价币种]",
  25079. "type": "integer"
  25080. },
  25081. "buyorderid": {
  25082. "description": "买方委托单号",
  25083. "type": "string"
  25084. },
  25085. "createtime": {
  25086. "description": "创建时间",
  25087. "type": "string"
  25088. },
  25089. "decimalplace": {
  25090. "description": "商品报价小数位",
  25091. "type": "integer"
  25092. },
  25093. "enumdicname": {
  25094. "description": "单位名称",
  25095. "type": "string"
  25096. },
  25097. "goodscode": {
  25098. "description": "商品代码",
  25099. "type": "string"
  25100. },
  25101. "goodsid": {
  25102. "description": "商品ID",
  25103. "type": "integer"
  25104. },
  25105. "goodsname": {
  25106. "description": "商品名称",
  25107. "type": "string"
  25108. },
  25109. "goodunitid": {
  25110. "description": "商品单位id",
  25111. "type": "integer"
  25112. },
  25113. "marketid": {
  25114. "description": "市场ID",
  25115. "type": "integer"
  25116. },
  25117. "offamount": {
  25118. "description": "优惠金额",
  25119. "type": "number"
  25120. },
  25121. "operatetype": {
  25122. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25123. "type": "integer"
  25124. },
  25125. "payamount": {
  25126. "description": "支付金额",
  25127. "type": "number"
  25128. },
  25129. "payflag": {
  25130. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25131. "type": "integer"
  25132. },
  25133. "paylimitedtime": {
  25134. "description": "支付期限",
  25135. "type": "string"
  25136. },
  25137. "paytime": {
  25138. "description": "付款时间",
  25139. "type": "string"
  25140. },
  25141. "qtydecimalplace": {
  25142. "description": "成交量小数位",
  25143. "type": "integer"
  25144. },
  25145. "sellaccountid": {
  25146. "description": "卖方账号ID[报价币种]",
  25147. "type": "integer"
  25148. },
  25149. "sellorderid": {
  25150. "description": "卖方委托单号",
  25151. "type": "string"
  25152. },
  25153. "tradeamount": {
  25154. "description": "成交金额(优惠后金额)",
  25155. "type": "number"
  25156. },
  25157. "tradecharge": {
  25158. "description": "成交手续费(买方)",
  25159. "type": "number"
  25160. },
  25161. "tradedate": {
  25162. "description": "交易日(yyyyMMdd)",
  25163. "type": "string"
  25164. },
  25165. "tradeid": {
  25166. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25167. "type": "string"
  25168. },
  25169. "tradeprice": {
  25170. "description": "成交价格",
  25171. "type": "number"
  25172. },
  25173. "tradeqty": {
  25174. "description": "成交数量",
  25175. "type": "number"
  25176. }
  25177. }
  25178. },
  25179. "models.QhjPickArea": {
  25180. "type": "object",
  25181. "properties": {
  25182. "address": {
  25183. "description": "详细地址",
  25184. "type": "string"
  25185. },
  25186. "cityid": {
  25187. "description": "市",
  25188. "type": "integer"
  25189. },
  25190. "cityname": {
  25191. "description": "城市名称",
  25192. "type": "string"
  25193. },
  25194. "countryid": {
  25195. "description": "国家",
  25196. "type": "integer"
  25197. },
  25198. "countryname": {
  25199. "description": "国家名称",
  25200. "type": "string"
  25201. },
  25202. "districtid": {
  25203. "description": "地区",
  25204. "type": "integer"
  25205. },
  25206. "districtname": {
  25207. "description": "地区名称",
  25208. "type": "string"
  25209. },
  25210. "fromuserid": {
  25211. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  25212. "type": "integer"
  25213. },
  25214. "fromusername": {
  25215. "description": "所属机构名称",
  25216. "type": "string"
  25217. },
  25218. "provinceid": {
  25219. "description": "省",
  25220. "type": "integer"
  25221. },
  25222. "provincename": {
  25223. "description": "省名称",
  25224. "type": "string"
  25225. },
  25226. "suborgtype": {
  25227. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  25228. "type": "integer"
  25229. },
  25230. "userid": {
  25231. "description": "机构用户ID 其他做市关系,都设置为 1",
  25232. "type": "integer"
  25233. },
  25234. "username": {
  25235. "description": "机构用户名称(门店门称)",
  25236. "type": "string"
  25237. }
  25238. }
  25239. },
  25240. "models.QhjPickGoods": {
  25241. "type": "object",
  25242. "properties": {
  25243. "enumdicname": {
  25244. "description": "单位名称(提货商品)",
  25245. "type": "string"
  25246. },
  25247. "goodsid": {
  25248. "description": "商品id",
  25249. "type": "integer"
  25250. },
  25251. "imageaddress": {
  25252. "description": "图片",
  25253. "type": "string"
  25254. },
  25255. "modifierid": {
  25256. "description": "修改人",
  25257. "type": "integer"
  25258. },
  25259. "modifiername": {
  25260. "description": "修改人名称",
  25261. "type": "string"
  25262. },
  25263. "modifysrc": {
  25264. "description": "修改来源 - 1:管理端 2:终端",
  25265. "type": "integer"
  25266. },
  25267. "pickupgoodsagreeunit": {
  25268. "description": "合约乘数",
  25269. "type": "number"
  25270. },
  25271. "pickupgoodsdesc": {
  25272. "description": "描述",
  25273. "type": "string"
  25274. },
  25275. "pickupgoodsid": {
  25276. "description": "提货商品ID",
  25277. "type": "string"
  25278. },
  25279. "pickupgoodsname": {
  25280. "description": "提货商品名称",
  25281. "type": "string"
  25282. },
  25283. "pickupgoodsstatus": {
  25284. "description": "状态 - 1:正常 2:停用 3:注销",
  25285. "type": "integer"
  25286. },
  25287. "pickupgoodsunitid": {
  25288. "description": "单位ID",
  25289. "type": "integer"
  25290. },
  25291. "pickupratio": {
  25292. "description": "提货系数",
  25293. "type": "number"
  25294. },
  25295. "preparedays": {
  25296. "description": "备货期(天)",
  25297. "type": "integer"
  25298. },
  25299. "remark": {
  25300. "description": "备注",
  25301. "type": "string"
  25302. },
  25303. "updatetime": {
  25304. "description": "更新时间",
  25305. "type": "string"
  25306. }
  25307. }
  25308. },
  25309. "models.QhjRSTriggerLog": {
  25310. "type": "object",
  25311. "properties": {
  25312. "accountid": {
  25313. "description": "用户资金账户",
  25314. "type": "integer"
  25315. },
  25316. "accountname": {
  25317. "description": "账号名称(ACCOUNTID对应的名称)",
  25318. "type": "string"
  25319. },
  25320. "currencyid": {
  25321. "description": "币种id",
  25322. "type": "integer"
  25323. },
  25324. "currencyname": {
  25325. "description": "币种名称",
  25326. "type": "string"
  25327. },
  25328. "decimalplace": {
  25329. "description": "商品报价小数位",
  25330. "type": "integer"
  25331. },
  25332. "enumdicname": {
  25333. "description": "单位名称",
  25334. "type": "string"
  25335. },
  25336. "goodscode": {
  25337. "description": "定投商品代码",
  25338. "type": "string"
  25339. },
  25340. "goodsid": {
  25341. "description": "定投商品ID",
  25342. "type": "integer"
  25343. },
  25344. "goodsname": {
  25345. "description": "定投商品名称",
  25346. "type": "string"
  25347. },
  25348. "goodunitid": {
  25349. "description": "定投商品单位id",
  25350. "type": "integer"
  25351. },
  25352. "logid": {
  25353. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  25354. "type": "string"
  25355. },
  25356. "logincode": {
  25357. "description": "账号(登录代码)",
  25358. "type": "string"
  25359. },
  25360. "qtydecimalplace": {
  25361. "description": "成交量小数位",
  25362. "type": "integer"
  25363. },
  25364. "regularlycycle": {
  25365. "description": "定投频率 - 1:每周 2:每月",
  25366. "type": "integer"
  25367. },
  25368. "regularlycyclevalue": {
  25369. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25370. "type": "string"
  25371. },
  25372. "regularlymode": {
  25373. "description": "定投方式 - 1:按数量 2:按金额",
  25374. "type": "integer"
  25375. },
  25376. "regularlymodevalue": {
  25377. "description": "定投方式值 - 数量或金额",
  25378. "type": "number"
  25379. },
  25380. "regularlystrategyid": {
  25381. "description": "定投策略ID",
  25382. "type": "integer"
  25383. },
  25384. "retcode": {
  25385. "description": "错误码",
  25386. "type": "string"
  25387. },
  25388. "tradeid": {
  25389. "description": "成交单ID",
  25390. "type": "string"
  25391. },
  25392. "triggeramount": {
  25393. "description": "触发金额",
  25394. "type": "number"
  25395. },
  25396. "triggerqty": {
  25397. "description": "触发数量",
  25398. "type": "number"
  25399. },
  25400. "triggerstatus": {
  25401. "description": "触发状态 - 1:成功 2:失败",
  25402. "type": "integer"
  25403. },
  25404. "triggertime": {
  25405. "description": "触发时间",
  25406. "type": "string"
  25407. },
  25408. "triggertradedate": {
  25409. "description": "触发交易日",
  25410. "type": "string"
  25411. },
  25412. "userid": {
  25413. "description": "所属用户ID",
  25414. "type": "integer"
  25415. },
  25416. "userinfotype": {
  25417. "description": "用户类型 1-个人 2-企业",
  25418. "type": "integer"
  25419. },
  25420. "username": {
  25421. "description": "用户名称(userid对应的名称)",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.QhjRStrategy": {
  25427. "type": "object",
  25428. "properties": {
  25429. "accountid": {
  25430. "description": "用户资金账户",
  25431. "type": "integer"
  25432. },
  25433. "accountname": {
  25434. "description": "账号名称(ACCOUNTID对应的名称)",
  25435. "type": "string"
  25436. },
  25437. "currencyid": {
  25438. "description": "币种id",
  25439. "type": "integer"
  25440. },
  25441. "currencyname": {
  25442. "description": "币种名称",
  25443. "type": "string"
  25444. },
  25445. "decimalplace": {
  25446. "description": "商品报价小数位",
  25447. "type": "integer"
  25448. },
  25449. "enumdicname": {
  25450. "description": "单位名称",
  25451. "type": "string"
  25452. },
  25453. "goodscode": {
  25454. "description": "定投商品代码",
  25455. "type": "string"
  25456. },
  25457. "goodsid": {
  25458. "description": "定投商品ID",
  25459. "type": "integer"
  25460. },
  25461. "goodsname": {
  25462. "description": "定投商品名称",
  25463. "type": "string"
  25464. },
  25465. "goodunitid": {
  25466. "description": "定投商品单位id",
  25467. "type": "integer"
  25468. },
  25469. "lasteffecttradedate": {
  25470. "description": "最新生效交易日",
  25471. "type": "string"
  25472. },
  25473. "laststoptradedate": {
  25474. "description": "最新暂停交易日",
  25475. "type": "string"
  25476. },
  25477. "lasttriggertradedate": {
  25478. "description": "最新触发交易日",
  25479. "type": "string"
  25480. },
  25481. "logincode": {
  25482. "description": "账号(登录代码)",
  25483. "type": "string"
  25484. },
  25485. "nexttriggeramount": {
  25486. "description": "下次触发金额",
  25487. "type": "number"
  25488. },
  25489. "nexttriggerdate": {
  25490. "description": "下次触发日期",
  25491. "type": "string"
  25492. },
  25493. "nexttriggerqty": {
  25494. "description": "下次触发数量 [按小数位放大值]",
  25495. "type": "number"
  25496. },
  25497. "qtydecimalplace": {
  25498. "description": "成交量小数位",
  25499. "type": "integer"
  25500. },
  25501. "regularlycycle": {
  25502. "description": "定投频率 - 1:每周 2:每月",
  25503. "type": "integer"
  25504. },
  25505. "regularlycyclevalue": {
  25506. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25507. "type": "string"
  25508. },
  25509. "regularlymode": {
  25510. "description": "定投方式 - 1:按数量 2:按金额",
  25511. "type": "integer"
  25512. },
  25513. "regularlymodevalue": {
  25514. "description": "定投方式值 - 数量或金额",
  25515. "type": "number"
  25516. },
  25517. "regularlystrategyid": {
  25518. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  25519. "type": "integer"
  25520. },
  25521. "regularlystrategystatus": {
  25522. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  25523. "type": "integer"
  25524. },
  25525. "remark": {
  25526. "description": "备注",
  25527. "type": "string"
  25528. },
  25529. "triggersuccesstimes": {
  25530. "description": "累计定投成功次数",
  25531. "type": "string"
  25532. },
  25533. "triggertotalamount": {
  25534. "description": "累计定投金额(成功)",
  25535. "type": "number"
  25536. },
  25537. "triggertotalqty": {
  25538. "description": "累计定投数量(成功) [按小数位放大值]",
  25539. "type": "number"
  25540. },
  25541. "triggertotaltimes": {
  25542. "description": "累计定投总次数",
  25543. "type": "string"
  25544. },
  25545. "updatesrc": {
  25546. "description": "更新来源 - 1:管理端 2:终端",
  25547. "type": "integer"
  25548. },
  25549. "updatetime": {
  25550. "description": "更新时间",
  25551. "type": "string"
  25552. },
  25553. "updatorid": {
  25554. "description": "更新人",
  25555. "type": "string"
  25556. },
  25557. "userid": {
  25558. "description": "所属用户ID",
  25559. "type": "integer"
  25560. },
  25561. "userinfotype": {
  25562. "description": "用户类型 1-个人 2-企业",
  25563. "type": "integer"
  25564. },
  25565. "username": {
  25566. "description": "用户名称(userid对应的名称)",
  25567. "type": "string"
  25568. }
  25569. }
  25570. },
  25571. "models.QhjReckonPriceLog": {
  25572. "type": "object",
  25573. "properties": {
  25574. "decimalplace": {
  25575. "description": "商品报价小数位",
  25576. "type": "integer"
  25577. },
  25578. "goodscode": {
  25579. "description": "商品代码",
  25580. "type": "string"
  25581. },
  25582. "goodsid": {
  25583. "description": "商品ID",
  25584. "type": "integer"
  25585. },
  25586. "goodsname": {
  25587. "description": "商品名称",
  25588. "type": "string"
  25589. },
  25590. "lastreckonprice": {
  25591. "description": "上日结算价",
  25592. "type": "number"
  25593. },
  25594. "nextdnlimitprice": {
  25595. "description": "下个交易日跌停价",
  25596. "type": "number"
  25597. },
  25598. "nexttrade": {
  25599. "description": "下个交易日",
  25600. "type": "string"
  25601. },
  25602. "nextuplimitprice": {
  25603. "description": "下个交易日涨停价",
  25604. "type": "number"
  25605. },
  25606. "reckonprice": {
  25607. "description": "今日结算价(定投价)",
  25608. "type": "number"
  25609. },
  25610. "reckontime": {
  25611. "description": "结算时间",
  25612. "type": "string"
  25613. },
  25614. "totalholderqty": {
  25615. "description": "总持仓数",
  25616. "type": "integer"
  25617. },
  25618. "totalstock": {
  25619. "description": "总库存",
  25620. "type": "integer"
  25621. },
  25622. "tradedate": {
  25623. "description": "交易日",
  25624. "type": "string"
  25625. },
  25626. "updowncount": {
  25627. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  25628. "type": "integer"
  25629. },
  25630. "updownflag": {
  25631. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  25632. "type": "integer"
  25633. },
  25634. "updownrate": {
  25635. "description": "今日涨跌幅",
  25636. "type": "number"
  25637. },
  25638. "updownrate_2d": {
  25639. "description": "连续两日涨跌幅",
  25640. "type": "number"
  25641. },
  25642. "updownrate_3d": {
  25643. "description": "连续三日涨跌幅",
  25644. "type": "number"
  25645. }
  25646. }
  25647. },
  25648. "models.QhjSiteColumnDetail": {
  25649. "type": "object",
  25650. "properties": {
  25651. "author": {
  25652. "description": "作者",
  25653. "type": "string"
  25654. },
  25655. "brief": {
  25656. "description": "简介",
  25657. "type": "string"
  25658. },
  25659. "columnid": {
  25660. "description": "所属栏目",
  25661. "type": "integer"
  25662. },
  25663. "context": {
  25664. "description": "内容",
  25665. "type": "string"
  25666. },
  25667. "coverimage": {
  25668. "description": "封面图片",
  25669. "type": "string"
  25670. },
  25671. "creaedate": {
  25672. "description": "创建时间",
  25673. "type": "string"
  25674. },
  25675. "creatorid": {
  25676. "description": "创建人",
  25677. "type": "integer"
  25678. },
  25679. "hits": {
  25680. "description": "点击数",
  25681. "type": "integer"
  25682. },
  25683. "id": {
  25684. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  25685. "type": "integer"
  25686. },
  25687. "isshow": {
  25688. "description": "是否展示 - 0:不展示 1:展示",
  25689. "type": "integer"
  25690. },
  25691. "istop": {
  25692. "description": "是否置顶 - 0:不置 1:置顶",
  25693. "type": "integer"
  25694. },
  25695. "modifierid": {
  25696. "description": "操作人",
  25697. "type": "integer"
  25698. },
  25699. "publishdate": {
  25700. "description": "发布日期",
  25701. "type": "string"
  25702. },
  25703. "status": {
  25704. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  25705. "type": "integer"
  25706. },
  25707. "title": {
  25708. "description": "标题",
  25709. "type": "string"
  25710. },
  25711. "updatedate": {
  25712. "description": "修改时间",
  25713. "type": "string"
  25714. },
  25715. "userid": {
  25716. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  25717. "type": "integer"
  25718. },
  25719. "username": {
  25720. "description": "用户名称",
  25721. "type": "string"
  25722. }
  25723. }
  25724. },
  25725. "models.QhjTradeGoodsPickup": {
  25726. "type": "object",
  25727. "properties": {
  25728. "accountid": {
  25729. "description": "账户ID",
  25730. "type": "integer"
  25731. },
  25732. "address": {
  25733. "description": "提货人详细地址",
  25734. "type": "string"
  25735. },
  25736. "amount": {
  25737. "description": "提货金额",
  25738. "type": "number"
  25739. },
  25740. "artradedate": {
  25741. "description": "自动收货交易日(yyyyMMdd)",
  25742. "type": "string"
  25743. },
  25744. "auditer": {
  25745. "description": "审核人",
  25746. "type": "integer"
  25747. },
  25748. "auditsrc": {
  25749. "description": "更新来源 - 1:管理端 2:终端",
  25750. "type": "integer"
  25751. },
  25752. "audittime": {
  25753. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  25754. "type": "string"
  25755. },
  25756. "audittradedate": {
  25757. "description": "审核交易日(yyyyMMdd)",
  25758. "type": "string"
  25759. },
  25760. "cardnum": {
  25761. "description": "提货人证件号码",
  25762. "type": "string"
  25763. },
  25764. "cardtypeid": {
  25765. "description": "提货人证件类型",
  25766. "type": "integer"
  25767. },
  25768. "checkremark": {
  25769. "description": "审核备注",
  25770. "type": "string"
  25771. },
  25772. "cityid": {
  25773. "description": "市",
  25774. "type": "integer"
  25775. },
  25776. "cityname": {
  25777. "description": "城市名称",
  25778. "type": "string"
  25779. },
  25780. "confirmtime": {
  25781. "description": "取货时间 或 收货时间",
  25782. "type": "string"
  25783. },
  25784. "countryid": {
  25785. "description": "国家",
  25786. "type": "integer"
  25787. },
  25788. "countryname": {
  25789. "description": "国家名称",
  25790. "type": "string"
  25791. },
  25792. "decimalplace": {
  25793. "description": "商品报价小数位",
  25794. "type": "integer"
  25795. },
  25796. "districtid": {
  25797. "description": "地区",
  25798. "type": "integer"
  25799. },
  25800. "districtname": {
  25801. "description": "地区名称",
  25802. "type": "string"
  25803. },
  25804. "enumdicname": {
  25805. "description": "单位名称(提货商品)",
  25806. "type": "string"
  25807. },
  25808. "expresscompany": {
  25809. "description": "物流公司",
  25810. "type": "string"
  25811. },
  25812. "expressnum": {
  25813. "description": "物流单号",
  25814. "type": "string"
  25815. },
  25816. "goodsagreeunit": {
  25817. "description": "交易商品乘数",
  25818. "type": "number"
  25819. },
  25820. "goodscode": {
  25821. "description": "商品代码",
  25822. "type": "string"
  25823. },
  25824. "goodsid": {
  25825. "description": "商品ID",
  25826. "type": "integer"
  25827. },
  25828. "goodsname": {
  25829. "description": "商品名称",
  25830. "type": "string"
  25831. },
  25832. "goodsqty": {
  25833. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  25834. "type": "number"
  25835. },
  25836. "handlestatus": {
  25837. "description": "处理状态",
  25838. "type": "integer"
  25839. },
  25840. "logincode": {
  25841. "description": "账号(登录代码, 有可能为空)",
  25842. "type": "string"
  25843. },
  25844. "marketid": {
  25845. "description": "市场ID",
  25846. "type": "integer"
  25847. },
  25848. "phonenum": {
  25849. "description": "提货人联系方式",
  25850. "type": "string"
  25851. },
  25852. "pickupgoodsagreeunit": {
  25853. "description": "提货商品合约乘数",
  25854. "type": "number"
  25855. },
  25856. "pickupgoodsid": {
  25857. "description": "提货商品ID",
  25858. "type": "string"
  25859. },
  25860. "pickupgoodsname": {
  25861. "description": "提货商品名称",
  25862. "type": "string"
  25863. },
  25864. "pickupgoodsqty": {
  25865. "description": "提货商品手数(数量)",
  25866. "type": "number"
  25867. },
  25868. "pickupgoodsunitid": {
  25869. "description": "单位ID(提货商品)",
  25870. "type": "integer"
  25871. },
  25872. "pickupratio": {
  25873. "description": "提货系数",
  25874. "type": "number"
  25875. },
  25876. "preparedays": {
  25877. "description": "备货期(天)-提货单明细表",
  25878. "type": "integer"
  25879. },
  25880. "provinceid": {
  25881. "description": "省",
  25882. "type": "integer"
  25883. },
  25884. "provincename": {
  25885. "description": "省名称",
  25886. "type": "string"
  25887. },
  25888. "qty": {
  25889. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  25890. "type": "number"
  25891. },
  25892. "qtydecimalplace": {
  25893. "description": "商品数量小数位",
  25894. "type": "integer"
  25895. },
  25896. "recivername": {
  25897. "description": "提货人姓名",
  25898. "type": "string"
  25899. },
  25900. "reqtime": {
  25901. "description": "提货申请时间",
  25902. "type": "string"
  25903. },
  25904. "storeuserid": {
  25905. "description": "门店用户ID (千海金)",
  25906. "type": "integer"
  25907. },
  25908. "storeusername": {
  25909. "description": "门店用户名称",
  25910. "type": "string"
  25911. },
  25912. "takemode": {
  25913. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  25914. "type": "integer"
  25915. },
  25916. "takeorderid": {
  25917. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25918. "type": "string"
  25919. },
  25920. "takeorderstatus": {
  25921. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  25922. "type": "integer"
  25923. },
  25924. "takeremark": {
  25925. "description": "提货备注",
  25926. "type": "string"
  25927. },
  25928. "tradedate": {
  25929. "description": "交易日(yyyyMMdd)",
  25930. "type": "string"
  25931. },
  25932. "updatetime": {
  25933. "description": "更新时间",
  25934. "type": "string"
  25935. },
  25936. "userid": {
  25937. "description": "用户ID",
  25938. "type": "integer"
  25939. },
  25940. "userinfotype": {
  25941. "description": "客户类型 1-个人 2-企业",
  25942. "type": "integer"
  25943. },
  25944. "username": {
  25945. "description": "用户名称",
  25946. "type": "string"
  25947. }
  25948. }
  25949. },
  25950. "models.QhjUserNodeCfgAndStatus": {
  25951. "type": "object",
  25952. "properties": {
  25953. "agreementcontent": {
  25954. "description": "协议内容",
  25955. "type": "string"
  25956. },
  25957. "agreementid": {
  25958. "description": "协议ID",
  25959. "type": "integer"
  25960. },
  25961. "agreementname": {
  25962. "description": "协议名称",
  25963. "type": "string"
  25964. },
  25965. "agreementno": {
  25966. "description": "协议编号",
  25967. "type": "string"
  25968. },
  25969. "agreementtype": {
  25970. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25971. "type": "integer"
  25972. },
  25973. "agreementversion": {
  25974. "description": "协议版本号",
  25975. "type": "integer"
  25976. },
  25977. "configid": {
  25978. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25979. "type": "integer"
  25980. },
  25981. "createtime": {
  25982. "description": "创建时间",
  25983. "type": "string"
  25984. },
  25985. "goodsid": {
  25986. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25987. "type": "integer"
  25988. },
  25989. "nodetype": {
  25990. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25991. "type": "integer"
  25992. },
  25993. "signtimestamp": {
  25994. "description": "签约状态时间戳(最近一次)",
  25995. "type": "string"
  25996. },
  25997. "tradedate": {
  25998. "description": "签约交易日(yyyyMMdd)",
  25999. "type": "string"
  26000. },
  26001. "userid": {
  26002. "description": "客户ID",
  26003. "type": "integer"
  26004. }
  26005. }
  26006. },
  26007. "models.Qhjgoodsex": {
  26008. "type": "object",
  26009. "properties": {
  26010. "canfinance": {
  26011. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  26012. "type": "integer"
  26013. },
  26014. "canregularlybuy": {
  26015. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  26016. "type": "integer"
  26017. },
  26018. "defaulttradeuserid": {
  26019. "description": "默认交易用户ID",
  26020. "type": "integer"
  26021. },
  26022. "deliverygoodsid": {
  26023. "description": "现货品种ID",
  26024. "type": "integer"
  26025. },
  26026. "goodsid": {
  26027. "description": "商品ID(自增ID SEQ_GOODS)",
  26028. "type": "integer"
  26029. },
  26030. "minamount": {
  26031. "description": "最小购买金额",
  26032. "type": "number"
  26033. },
  26034. "regularlybuyminamount": {
  26035. "description": "定投最小金额",
  26036. "type": "number"
  26037. },
  26038. "regularlybuyminqty": {
  26039. "description": "定投最小数量",
  26040. "type": "number"
  26041. },
  26042. "spotgoodsbrandid": {
  26043. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  26044. "type": "integer"
  26045. },
  26046. "visibilityforenterprise": {
  26047. "description": "企业客户是否可见 - 0:不可见 1:可见",
  26048. "type": "integer"
  26049. },
  26050. "visibilityforpersonal": {
  26051. "description": "个人客户是否可见 - 0:不可见 1:可见",
  26052. "type": "integer"
  26053. },
  26054. "wrstandardid": {
  26055. "description": "现货商品ID",
  26056. "type": "integer"
  26057. }
  26058. }
  26059. },
  26060. "models.QueryErrorInfosRsp": {
  26061. "type": "object",
  26062. "required": [
  26063. "errorid"
  26064. ],
  26065. "properties": {
  26066. "description": {
  26067. "description": "异常描述",
  26068. "type": "string"
  26069. },
  26070. "errorcode": {
  26071. "description": "异常代码",
  26072. "type": "string"
  26073. },
  26074. "errorid": {
  26075. "description": "异常ID",
  26076. "type": "integer"
  26077. },
  26078. "modulecode": {
  26079. "description": "所属模块",
  26080. "type": "string"
  26081. },
  26082. "operatecode": {
  26083. "description": "所属操作",
  26084. "type": "string"
  26085. },
  26086. "rownumber": {
  26087. "description": "行号",
  26088. "type": "string"
  26089. }
  26090. }
  26091. },
  26092. "models.QueryHedgeOrderDetailRsp": {
  26093. "type": "object",
  26094. "properties": {
  26095. "accountid": {
  26096. "description": "账户ID",
  26097. "type": "integer"
  26098. },
  26099. "buyorsell": {
  26100. "description": "买卖 - 0:买 1:卖",
  26101. "type": "integer"
  26102. },
  26103. "cancellogincode": {
  26104. "description": "撤单人",
  26105. "type": "string"
  26106. },
  26107. "channelbuildtype": {
  26108. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  26109. "type": "integer"
  26110. },
  26111. "channelinnerorderstatus": {
  26112. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  26113. "type": "integer"
  26114. },
  26115. "channeloperatetype": {
  26116. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  26117. "type": "integer"
  26118. },
  26119. "closetype": {
  26120. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26121. "type": "integer"
  26122. },
  26123. "curexchangerate": {
  26124. "description": "当前汇率",
  26125. "type": "number"
  26126. },
  26127. "exchangefullname": {
  26128. "description": "外部交易所全称",
  26129. "type": "string"
  26130. },
  26131. "goodscode": {
  26132. "description": "商品代码(内部)",
  26133. "type": "string"
  26134. },
  26135. "goodsid": {
  26136. "description": "商品ID",
  26137. "type": "integer"
  26138. },
  26139. "goodsname": {
  26140. "description": "商品名称",
  26141. "type": "string"
  26142. },
  26143. "marketid": {
  26144. "description": "市场ID",
  26145. "type": "integer"
  26146. },
  26147. "openfreezemargin": {
  26148. "description": "冻结保证金(冻结交易金额)",
  26149. "type": "number"
  26150. },
  26151. "orderid": {
  26152. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26153. "type": "string"
  26154. },
  26155. "orderlogincode": {
  26156. "description": "委托人",
  26157. "type": "string"
  26158. },
  26159. "orderprice": {
  26160. "description": "委托价格(账户)",
  26161. "type": "number"
  26162. },
  26163. "orderqty": {
  26164. "description": "委托数量",
  26165. "type": "integer"
  26166. },
  26167. "ordertime": {
  26168. "description": "委托时间",
  26169. "type": "string"
  26170. },
  26171. "pricemode": {
  26172. "description": "取价方式 - 1:市价 2: 限价",
  26173. "type": "integer"
  26174. },
  26175. "tradedate": {
  26176. "description": "交易日(yyyyMMdd)",
  26177. "type": "string"
  26178. },
  26179. "tradeqty": {
  26180. "description": "成交数量",
  26181. "type": "integer"
  26182. }
  26183. }
  26184. },
  26185. "models.QueryHedgeTradeDetailRsp": {
  26186. "type": "object",
  26187. "properties": {
  26188. "accountid": {
  26189. "description": "账号ID",
  26190. "type": "integer"
  26191. },
  26192. "buyorsell": {
  26193. "description": "方向 - 0:买 1:卖",
  26194. "type": "integer"
  26195. },
  26196. "channelbuildtype": {
  26197. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26198. "type": "integer"
  26199. },
  26200. "closecharge": {
  26201. "description": "平仓手续费(账户)",
  26202. "type": "number"
  26203. },
  26204. "closecharge2": {
  26205. "description": "平仓手续费(商品)",
  26206. "type": "number"
  26207. },
  26208. "closepl": {
  26209. "description": "平仓盈亏(账户)",
  26210. "type": "number"
  26211. },
  26212. "closepl2": {
  26213. "description": "平仓盈亏(商品)",
  26214. "type": "number"
  26215. },
  26216. "closepl3": {
  26217. "description": "平仓盈亏(账户)(逐笔)",
  26218. "type": "number"
  26219. },
  26220. "closepl4": {
  26221. "description": "平仓盈亏(商品)(逐笔)",
  26222. "type": "number"
  26223. },
  26224. "closetype": {
  26225. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26226. "type": "integer"
  26227. },
  26228. "curexchangerate": {
  26229. "description": "当前汇率",
  26230. "type": "number"
  26231. },
  26232. "exchangefullname": {
  26233. "description": "外部交易所全称",
  26234. "type": "string"
  26235. },
  26236. "goodscode": {
  26237. "description": "商品代码(内部)",
  26238. "type": "string"
  26239. },
  26240. "goodsid": {
  26241. "description": "商品ID",
  26242. "type": "integer"
  26243. },
  26244. "goodsname": {
  26245. "description": "商品名称",
  26246. "type": "string"
  26247. },
  26248. "marketid": {
  26249. "description": "市场ID",
  26250. "type": "integer"
  26251. },
  26252. "opencharge": {
  26253. "description": "建仓手续费(账户)",
  26254. "type": "number"
  26255. },
  26256. "opencharge2": {
  26257. "description": "建仓手续费(商品)",
  26258. "type": "number"
  26259. },
  26260. "orderid": {
  26261. "description": "委托单号",
  26262. "type": "string"
  26263. },
  26264. "orderlogincode": {
  26265. "description": "委托人",
  26266. "type": "string"
  26267. },
  26268. "tradeamount": {
  26269. "description": "成交金额(账户)",
  26270. "type": "number"
  26271. },
  26272. "tradedate": {
  26273. "description": "交易日(yyyyMMdd)",
  26274. "type": "string"
  26275. },
  26276. "tradeid": {
  26277. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26278. "type": "string"
  26279. },
  26280. "tradeprice": {
  26281. "description": "成交价格",
  26282. "type": "number"
  26283. },
  26284. "tradeqty": {
  26285. "description": "成交数量",
  26286. "type": "integer"
  26287. },
  26288. "tradetime": {
  26289. "description": "成交时间",
  26290. "type": "string"
  26291. },
  26292. "tradetype": {
  26293. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26294. "type": "integer"
  26295. }
  26296. }
  26297. },
  26298. "models.QuotePrimaryMenu": {
  26299. "type": "object",
  26300. "properties": {
  26301. "Index": {
  26302. "description": "序号",
  26303. "type": "integer"
  26304. },
  26305. "Key": {
  26306. "description": "键名",
  26307. "type": "string"
  26308. },
  26309. "Name": {
  26310. "description": "菜单名称",
  26311. "type": "string"
  26312. },
  26313. "SubMenus": {
  26314. "description": "子菜单",
  26315. "type": "array",
  26316. "items": {
  26317. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  26318. }
  26319. },
  26320. "SubTitleType": {
  26321. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  26322. "type": "integer"
  26323. },
  26324. "TradeModes": {
  26325. "description": "包含市场交易类型",
  26326. "type": "string"
  26327. }
  26328. }
  26329. },
  26330. "models.QuoteSecondaryMenu": {
  26331. "type": "object",
  26332. "properties": {
  26333. "ExExchangeCode": {
  26334. "description": "外部交易所代码",
  26335. "type": "string"
  26336. },
  26337. "ExExchangeID": {
  26338. "description": "外部交易所ID",
  26339. "type": "integer"
  26340. },
  26341. "GoodsGroupIDs": {
  26342. "description": "商品组ID列表",
  26343. "type": "array",
  26344. "items": {
  26345. "type": "integer"
  26346. }
  26347. },
  26348. "Index": {
  26349. "description": "序号",
  26350. "type": "integer"
  26351. },
  26352. "MarketID": {
  26353. "description": "市场ID",
  26354. "type": "integer"
  26355. },
  26356. "MenuTitle": {
  26357. "description": "菜单标题(市场名称或外部交易所名称)",
  26358. "type": "string"
  26359. },
  26360. "TradeMode": {
  26361. "description": "交易模式",
  26362. "type": "integer"
  26363. }
  26364. }
  26365. },
  26366. "models.SearchGoods": {
  26367. "type": "object",
  26368. "required": [
  26369. "goodscode",
  26370. "goodsid",
  26371. "goodsname",
  26372. "marketid",
  26373. "trademode"
  26374. ],
  26375. "properties": {
  26376. "goodscode": {
  26377. "description": "商品代码(内部)",
  26378. "type": "string"
  26379. },
  26380. "goodsid": {
  26381. "description": "商品ID(自增ID SEQ_GOODS)",
  26382. "type": "integer"
  26383. },
  26384. "goodsname": {
  26385. "description": "商品名称",
  26386. "type": "string"
  26387. },
  26388. "marketid": {
  26389. "description": "所属市场ID",
  26390. "type": "integer"
  26391. },
  26392. "marketname": {
  26393. "description": "市场名称",
  26394. "type": "string"
  26395. },
  26396. "trademode": {
  26397. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26398. "type": "integer"
  26399. }
  26400. }
  26401. },
  26402. "models.Systemparam": {
  26403. "type": "object",
  26404. "required": [
  26405. "paramcode"
  26406. ],
  26407. "properties": {
  26408. "loginid": {
  26409. "description": "更新用户账号,登录账号",
  26410. "type": "string"
  26411. },
  26412. "modifyflag": {
  26413. "description": "修改标志0 不允许修改 1 允许修改",
  26414. "type": "integer"
  26415. },
  26416. "paramcode": {
  26417. "description": "参数代码",
  26418. "type": "string"
  26419. },
  26420. "paramname": {
  26421. "description": "参数名",
  26422. "type": "string"
  26423. },
  26424. "paramtype": {
  26425. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  26426. "type": "integer"
  26427. },
  26428. "paramvalue": {
  26429. "description": "参数值",
  26430. "type": "string"
  26431. },
  26432. "paramvalue2": {
  26433. "description": "参数值(CLOB)",
  26434. "type": "string"
  26435. },
  26436. "regexpress": {
  26437. "description": "正则表达式",
  26438. "type": "string"
  26439. },
  26440. "remark": {
  26441. "description": "备注",
  26442. "type": "string"
  26443. },
  26444. "serverip": {
  26445. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  26446. "type": "string"
  26447. },
  26448. "showflag": {
  26449. "description": "是否显示0 不显示 1 显示",
  26450. "type": "integer"
  26451. },
  26452. "updatetime": {
  26453. "description": "更新时间",
  26454. "type": "string"
  26455. },
  26456. "userid": {
  26457. "description": "更新用户ID",
  26458. "type": "integer"
  26459. }
  26460. }
  26461. },
  26462. "models.Szdz3convertconfig": {
  26463. "type": "object",
  26464. "required": [
  26465. "converttype",
  26466. "innergoodsid",
  26467. "outergoodscode"
  26468. ],
  26469. "properties": {
  26470. "canin": {
  26471. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  26472. "type": "integer"
  26473. },
  26474. "canout": {
  26475. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  26476. "type": "integer"
  26477. },
  26478. "converttype": {
  26479. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  26480. "type": "integer"
  26481. },
  26482. "createtime": {
  26483. "description": "创建时间",
  26484. "type": "string"
  26485. },
  26486. "creatorid": {
  26487. "description": "创建人",
  26488. "type": "integer"
  26489. },
  26490. "daymaxvalue": {
  26491. "description": "当日最大转入限制",
  26492. "type": "number"
  26493. },
  26494. "freezedays": {
  26495. "description": "冻结天数 [5:花生米转交易]",
  26496. "type": "integer"
  26497. },
  26498. "innergoodsid": {
  26499. "description": "内部商品ID[交易]",
  26500. "type": "integer"
  26501. },
  26502. "inratio": {
  26503. "description": "目标值",
  26504. "type": "integer"
  26505. },
  26506. "modifierid": {
  26507. "description": "修改人",
  26508. "type": "integer"
  26509. },
  26510. "modifytime": {
  26511. "description": "修改时间",
  26512. "type": "string"
  26513. },
  26514. "outergoodscode": {
  26515. "description": "外部商品代码[JD\\PD]",
  26516. "type": "string"
  26517. },
  26518. "outratio": {
  26519. "description": "源值",
  26520. "type": "integer"
  26521. },
  26522. "pddecimalplace": {
  26523. "description": "PD小数位",
  26524. "type": "integer"
  26525. },
  26526. "timemaxvalue": {
  26527. "description": "单次最大转入限制",
  26528. "type": "number"
  26529. },
  26530. "timeminvalue": {
  26531. "description": "单次最小转入限制",
  26532. "type": "number"
  26533. }
  26534. }
  26535. },
  26536. "models.Szdz3searchwhitelist": {
  26537. "type": "object",
  26538. "required": [
  26539. "userid"
  26540. ],
  26541. "properties": {
  26542. "createtime": {
  26543. "description": "创建时间",
  26544. "type": "string"
  26545. },
  26546. "creatorid": {
  26547. "description": "创建人",
  26548. "type": "integer"
  26549. },
  26550. "modifierid": {
  26551. "description": "修改人",
  26552. "type": "integer"
  26553. },
  26554. "modifytime": {
  26555. "description": "修改时间",
  26556. "type": "string"
  26557. },
  26558. "userid": {
  26559. "description": "用户ID",
  26560. "type": "integer"
  26561. }
  26562. }
  26563. },
  26564. "models.Taaccount": {
  26565. "type": "object",
  26566. "required": [
  26567. "accountid",
  26568. "userid"
  26569. ],
  26570. "properties": {
  26571. "accountflag": {
  26572. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  26573. "type": "integer"
  26574. },
  26575. "accountid": {
  26576. "description": "资金账户ID",
  26577. "type": "integer"
  26578. },
  26579. "accountname": {
  26580. "description": "账户名称",
  26581. "type": "string"
  26582. },
  26583. "balance": {
  26584. "description": "期初余额",
  26585. "type": "number"
  26586. },
  26587. "capitalbalance": {
  26588. "description": "本金余额[外部子账户实际出入金余额]",
  26589. "type": "number"
  26590. },
  26591. "changeflag": {
  26592. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  26593. "type": "integer"
  26594. },
  26595. "changetime": {
  26596. "description": "账户状态变更时间",
  26597. "type": "string"
  26598. },
  26599. "closepl": {
  26600. "description": "今日平仓盈亏",
  26601. "type": "number"
  26602. },
  26603. "creditdecrease": {
  26604. "description": "今日授信减少",
  26605. "type": "number"
  26606. },
  26607. "creditincrease": {
  26608. "description": "今日授信增加",
  26609. "type": "number"
  26610. },
  26611. "currencyid": {
  26612. "description": "货币ID",
  26613. "type": "integer"
  26614. },
  26615. "currentbalance": {
  26616. "description": "期末余额",
  26617. "type": "number"
  26618. },
  26619. "freezecharge": {
  26620. "description": "手续费冻结",
  26621. "type": "number"
  26622. },
  26623. "freezemargin": {
  26624. "description": "冻结保证金",
  26625. "type": "number"
  26626. },
  26627. "fromaccountid": {
  26628. "description": "所属上级账户",
  26629. "type": "integer"
  26630. },
  26631. "inamount": {
  26632. "description": "今日入金金额(包括三方入金)",
  26633. "type": "number"
  26634. },
  26635. "ismain": {
  26636. "description": "是否母账号 0:不是母账户 1:是母账户",
  26637. "type": "integer"
  26638. },
  26639. "ismarketaccount": {
  26640. "description": "是否机构接单账号 0:不是 1:是",
  26641. "type": "integer"
  26642. },
  26643. "isreckonaccount": {
  26644. "description": "是否机构分润账号 0:不是 1:是",
  26645. "type": "integer"
  26646. },
  26647. "mortgagecredit": {
  26648. "description": "授信金额",
  26649. "type": "number"
  26650. },
  26651. "orifreezecharge": {
  26652. "description": "期初手续费冻结",
  26653. "type": "number"
  26654. },
  26655. "orifreezemargin": {
  26656. "description": "期初冻结保证金",
  26657. "type": "number"
  26658. },
  26659. "orimortgagecredit": {
  26660. "description": "期初授信金额",
  26661. "type": "number"
  26662. },
  26663. "oriothercredit": {
  26664. "description": "期初其它授信金额",
  26665. "type": "number"
  26666. },
  26667. "oriotherfreezemargin": {
  26668. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  26669. "type": "number"
  26670. },
  26671. "orioutamountfreeze": {
  26672. "description": "期初出金冻结",
  26673. "type": "number"
  26674. },
  26675. "oriusedmargin": {
  26676. "description": "期初占用保证金",
  26677. "type": "number"
  26678. },
  26679. "othercredit": {
  26680. "description": "其它授信金额",
  26681. "type": "number"
  26682. },
  26683. "othercreditdecrease": {
  26684. "description": "今日其它授信减少",
  26685. "type": "number"
  26686. },
  26687. "othercreditincrease": {
  26688. "description": "今日其它授信增加",
  26689. "type": "number"
  26690. },
  26691. "otherfreezemargin": {
  26692. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  26693. "type": "number"
  26694. },
  26695. "otherincome": {
  26696. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  26697. "type": "number"
  26698. },
  26699. "otherpay": {
  26700. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  26701. "type": "number"
  26702. },
  26703. "outamount": {
  26704. "description": "今日出金金额(包括三方出金)",
  26705. "type": "number"
  26706. },
  26707. "outamountfreeze": {
  26708. "description": "出金冻结",
  26709. "type": "number"
  26710. },
  26711. "outthreshold": {
  26712. "description": "出金阈值",
  26713. "type": "number"
  26714. },
  26715. "parentaccountid": {
  26716. "description": "所属根账号",
  26717. "type": "integer"
  26718. },
  26719. "paycharge": {
  26720. "description": "今日手续费支出",
  26721. "type": "number"
  26722. },
  26723. "relatedaccountstatus": {
  26724. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  26725. "type": "integer"
  26726. },
  26727. "relateduserid": {
  26728. "description": "关联用户",
  26729. "type": "integer"
  26730. },
  26731. "serivcegroup": {
  26732. "description": "服务分组",
  26733. "type": "integer"
  26734. },
  26735. "signstatus": {
  26736. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  26737. "type": "integer"
  26738. },
  26739. "sublevelpath": {
  26740. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  26741. "type": "string"
  26742. },
  26743. "taaccounttype": {
  26744. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  26745. "type": "integer"
  26746. },
  26747. "thirdinamount": {
  26748. "description": "今日三方入金",
  26749. "type": "number"
  26750. },
  26751. "thirdoutamount": {
  26752. "description": "今日三方出金",
  26753. "type": "number"
  26754. },
  26755. "tradestatus": {
  26756. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26757. "type": "integer"
  26758. },
  26759. "tradestatuschangetime": {
  26760. "description": "激活时间",
  26761. "type": "string"
  26762. },
  26763. "transferamount": {
  26764. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  26765. "type": "number"
  26766. },
  26767. "usedmargin": {
  26768. "description": "占用保证金",
  26769. "type": "number"
  26770. },
  26771. "userid": {
  26772. "description": "用户ID",
  26773. "type": "integer"
  26774. }
  26775. }
  26776. },
  26777. "models.Tablecolumnconfig": {
  26778. "type": "object",
  26779. "required": [
  26780. "autoid"
  26781. ],
  26782. "properties": {
  26783. "aligntype": {
  26784. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  26785. "type": "integer"
  26786. },
  26787. "autoid": {
  26788. "description": "AutoID",
  26789. "type": "integer"
  26790. },
  26791. "columnfield": {
  26792. "description": "列字段",
  26793. "type": "string"
  26794. },
  26795. "columntitle": {
  26796. "description": "列Title",
  26797. "type": "string"
  26798. },
  26799. "columnwidth": {
  26800. "description": "列宽",
  26801. "type": "string"
  26802. },
  26803. "formatterstring": {
  26804. "description": "格式化字符",
  26805. "type": "string"
  26806. },
  26807. "formattertype": {
  26808. "description": "格式化类型",
  26809. "type": "string"
  26810. },
  26811. "groupname": {
  26812. "description": "表头分组名称",
  26813. "type": "string"
  26814. },
  26815. "isshow": {
  26816. "description": "是否显示 - 0:不显示 1:显示",
  26817. "type": "integer"
  26818. },
  26819. "needsummary": {
  26820. "description": "是否需要汇总 - 0:不需要 1:需要",
  26821. "type": "integer"
  26822. },
  26823. "orderindex": {
  26824. "description": "顺序",
  26825. "type": "integer"
  26826. },
  26827. "remark": {
  26828. "description": "备注",
  26829. "type": "string"
  26830. },
  26831. "summarytype": {
  26832. "description": "汇总类型 - 1:加总 2:最后一个",
  26833. "type": "integer"
  26834. },
  26835. "tablekey": {
  26836. "description": "列表Key",
  26837. "type": "string"
  26838. }
  26839. }
  26840. },
  26841. "models.UserCollectConfig": {
  26842. "type": "object",
  26843. "properties": {
  26844. "accountstatus": {
  26845. "description": "账户状态 - 1:正常 2:停用 3:注销",
  26846. "type": "integer"
  26847. },
  26848. "collectaccountname": {
  26849. "description": "收款人账户名称",
  26850. "type": "string"
  26851. },
  26852. "collectaccountno": {
  26853. "description": "收款人账户",
  26854. "type": "string"
  26855. },
  26856. "collectbankname": {
  26857. "description": "收款人开户行",
  26858. "type": "string"
  26859. },
  26860. "collectbranchbankname": {
  26861. "description": "收款人开户支行",
  26862. "type": "string"
  26863. },
  26864. "collectconfigid": {
  26865. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  26866. "type": "string"
  26867. },
  26868. "remark": {
  26869. "description": "备注",
  26870. "type": "string"
  26871. },
  26872. "userid": {
  26873. "description": "收款人用户ID",
  26874. "type": "integer"
  26875. }
  26876. }
  26877. },
  26878. "models.UserReceiveInfo": {
  26879. "type": "object",
  26880. "properties": {
  26881. "address": {
  26882. "description": "提货人详细地址",
  26883. "type": "string"
  26884. },
  26885. "autoid": {
  26886. "description": "AutoID",
  26887. "type": "integer"
  26888. },
  26889. "cardnum": {
  26890. "description": "证件号码(加密存储)",
  26891. "type": "string"
  26892. },
  26893. "cardtypeid": {
  26894. "description": "证件类型",
  26895. "type": "integer"
  26896. },
  26897. "cityid": {
  26898. "description": "市",
  26899. "type": "integer"
  26900. },
  26901. "cityname": {
  26902. "description": "城市名称",
  26903. "type": "string"
  26904. },
  26905. "countryid": {
  26906. "description": "国家",
  26907. "type": "integer"
  26908. },
  26909. "countryname": {
  26910. "description": "国家名称",
  26911. "type": "string"
  26912. },
  26913. "districtid": {
  26914. "description": "地区",
  26915. "type": "integer"
  26916. },
  26917. "districtname": {
  26918. "description": "地区名称",
  26919. "type": "string"
  26920. },
  26921. "hasencrypt": {
  26922. "description": "数据是否已加密 - 0:未加密 1:已加密",
  26923. "type": "integer"
  26924. },
  26925. "isdefault": {
  26926. "description": "是否默认地址 - 0:否 1:是",
  26927. "type": "integer"
  26928. },
  26929. "phonenum": {
  26930. "description": "提货人联系方式(加密存储)",
  26931. "type": "string"
  26932. },
  26933. "provinceid": {
  26934. "description": "省",
  26935. "type": "integer"
  26936. },
  26937. "provincename": {
  26938. "description": "省名称",
  26939. "type": "string"
  26940. },
  26941. "receivername": {
  26942. "description": "提货人姓名",
  26943. "type": "string"
  26944. },
  26945. "takeremark": {
  26946. "description": "提货备注",
  26947. "type": "string"
  26948. },
  26949. "userid": {
  26950. "description": "用户ID",
  26951. "type": "integer"
  26952. }
  26953. }
  26954. },
  26955. "models.Useraccount": {
  26956. "type": "object",
  26957. "required": [
  26958. "userid"
  26959. ],
  26960. "properties": {
  26961. "accountname": {
  26962. "description": "账户名称(机构名称)",
  26963. "type": "string"
  26964. },
  26965. "accountstatus": {
  26966. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26967. "type": "integer"
  26968. },
  26969. "applysrc": {
  26970. "description": "申请来源 - 1:管理端 2:终端",
  26971. "type": "integer"
  26972. },
  26973. "auditremark": {
  26974. "description": "审核备注",
  26975. "type": "string"
  26976. },
  26977. "auditsrc": {
  26978. "description": "审核来源 - 1:管理端 2:终端",
  26979. "type": "integer"
  26980. },
  26981. "audittime": {
  26982. "description": "审核时间",
  26983. "type": "string"
  26984. },
  26985. "audituserid": {
  26986. "description": "审核人",
  26987. "type": "integer"
  26988. },
  26989. "broker": {
  26990. "description": "所属经纪人ID",
  26991. "type": "integer"
  26992. },
  26993. "canceltime": {
  26994. "description": "销户时间",
  26995. "type": "string"
  26996. },
  26997. "canceluserid": {
  26998. "description": "销户人",
  26999. "type": "integer"
  27000. },
  27001. "canrecommend": {
  27002. "description": "是否可推荐 - 0:不可 1;可",
  27003. "type": "integer"
  27004. },
  27005. "createtime": {
  27006. "description": "创建时间",
  27007. "type": "string"
  27008. },
  27009. "creatorid": {
  27010. "description": "创建人",
  27011. "type": "integer"
  27012. },
  27013. "hasauth": {
  27014. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27015. "type": "integer"
  27016. },
  27017. "isanonymous": {
  27018. "description": "是否匿名下单 - 0:否 1:是",
  27019. "type": "integer"
  27020. },
  27021. "maxinvestornum": {
  27022. "description": "最大用户数(经纪会员下投资者个数)",
  27023. "type": "integer"
  27024. },
  27025. "memberuserid": {
  27026. "description": "所属会员ID",
  27027. "type": "integer"
  27028. },
  27029. "modifierid": {
  27030. "description": "修改人",
  27031. "type": "integer"
  27032. },
  27033. "modifyremark": {
  27034. "description": "变更备注",
  27035. "type": "string"
  27036. },
  27037. "modifystatus": {
  27038. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27039. "type": "integer"
  27040. },
  27041. "modifytime": {
  27042. "description": "修改时间",
  27043. "type": "string"
  27044. },
  27045. "parenttopuser": {
  27046. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27047. "type": "string"
  27048. },
  27049. "parentuserid": {
  27050. "description": "所属机构ID",
  27051. "type": "integer"
  27052. },
  27053. "reckonaccountid": {
  27054. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27055. "type": "integer"
  27056. },
  27057. "refercount": {
  27058. "description": "推荐总人数",
  27059. "type": "integer"
  27060. },
  27061. "refereeuserid": {
  27062. "description": "推荐人ID",
  27063. "type": "integer"
  27064. },
  27065. "refernum": {
  27066. "description": "推荐码",
  27067. "type": "string"
  27068. },
  27069. "rootuserid": {
  27070. "description": "根用户ID",
  27071. "type": "integer"
  27072. },
  27073. "subaccountlevel": {
  27074. "description": "子账户层数",
  27075. "type": "integer"
  27076. },
  27077. "subarealevelpath": {
  27078. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27079. "type": "string"
  27080. },
  27081. "userid": {
  27082. "description": "用户ID",
  27083. "type": "integer"
  27084. },
  27085. "usertype": {
  27086. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27087. "type": "integer"
  27088. }
  27089. }
  27090. },
  27091. "models.Userfavoritegoods": {
  27092. "type": "object",
  27093. "required": [
  27094. "goodsid"
  27095. ],
  27096. "properties": {
  27097. "goodsid": {
  27098. "description": "商品ID",
  27099. "type": "integer"
  27100. }
  27101. }
  27102. },
  27103. "models.Userinfo": {
  27104. "type": "object",
  27105. "required": [
  27106. "userid"
  27107. ],
  27108. "properties": {
  27109. "address": {
  27110. "description": "地址",
  27111. "type": "string"
  27112. },
  27113. "attachment1": {
  27114. "description": "附件1",
  27115. "type": "string"
  27116. },
  27117. "attachment2": {
  27118. "description": "附件2",
  27119. "type": "string"
  27120. },
  27121. "bankaccount": {
  27122. "description": "银行帐号 (加密存储)",
  27123. "type": "string"
  27124. },
  27125. "bankaccountname": {
  27126. "description": "收款人名称",
  27127. "type": "string"
  27128. },
  27129. "bankcardfrontphotourl": {
  27130. "description": "银行卡正面照地址",
  27131. "type": "string"
  27132. },
  27133. "bankid": {
  27134. "description": "银行编码",
  27135. "type": "string"
  27136. },
  27137. "bankname": {
  27138. "description": "银行名称",
  27139. "type": "string"
  27140. },
  27141. "biznature": {
  27142. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  27143. "type": "integer"
  27144. },
  27145. "bizscope": {
  27146. "description": "企业经营范围(企业)",
  27147. "type": "string"
  27148. },
  27149. "cardbackphotourl": {
  27150. "description": "证件背面图片地址",
  27151. "type": "string"
  27152. },
  27153. "cardfrontphotourl": {
  27154. "description": "证件正面图片地址",
  27155. "type": "string"
  27156. },
  27157. "cardnum": {
  27158. "description": "证件号码(加密存储)",
  27159. "type": "string"
  27160. },
  27161. "cardtypeid": {
  27162. "description": "证件类型ID",
  27163. "type": "integer"
  27164. },
  27165. "cityid": {
  27166. "description": "市",
  27167. "type": "integer"
  27168. },
  27169. "company": {
  27170. "description": "公司(个人)",
  27171. "type": "string"
  27172. },
  27173. "contactname": {
  27174. "description": "联系人",
  27175. "type": "string"
  27176. },
  27177. "countryid": {
  27178. "description": "国家",
  27179. "type": "integer"
  27180. },
  27181. "createtime": {
  27182. "description": "创建时间",
  27183. "type": "string"
  27184. },
  27185. "creatorid": {
  27186. "description": "创建人",
  27187. "type": "integer"
  27188. },
  27189. "customername": {
  27190. "description": "客户名称(企业名称)",
  27191. "type": "string"
  27192. },
  27193. "districtid": {
  27194. "description": "地区",
  27195. "type": "integer"
  27196. },
  27197. "email": {
  27198. "description": "邮件(加密存储)",
  27199. "type": "string"
  27200. },
  27201. "fax": {
  27202. "description": "传真(加密存储)",
  27203. "type": "string"
  27204. },
  27205. "halfbodyphotourl": {
  27206. "description": "半身照地址",
  27207. "type": "string"
  27208. },
  27209. "hasencrypt": {
  27210. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27211. "type": "integer"
  27212. },
  27213. "headurl": {
  27214. "description": "头像地址",
  27215. "type": "string"
  27216. },
  27217. "legalcardbackphotourl": {
  27218. "description": "法人身份证背面照地址",
  27219. "type": "string"
  27220. },
  27221. "legalcardfrontphotourl": {
  27222. "description": "法人身份证正面照地址",
  27223. "type": "string"
  27224. },
  27225. "legalpersonname": {
  27226. "description": "法人姓名(企业)",
  27227. "type": "string"
  27228. },
  27229. "mobile": {
  27230. "description": "手机号码(加密存储)",
  27231. "type": "string"
  27232. },
  27233. "mobile2": {
  27234. "description": "手机号码[明文-尚志]",
  27235. "type": "string"
  27236. },
  27237. "modifierid": {
  27238. "description": "修改人",
  27239. "type": "integer"
  27240. },
  27241. "modifiertime": {
  27242. "description": "修改时间",
  27243. "type": "string"
  27244. },
  27245. "needinvoice": {
  27246. "description": "是否需要发票 - 0:不需要 1:需要",
  27247. "type": "integer"
  27248. },
  27249. "nickname": {
  27250. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  27251. "type": "string"
  27252. },
  27253. "openmode": {
  27254. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  27255. "type": "integer"
  27256. },
  27257. "otherurl": {
  27258. "description": "其它图片地址[使用分号分隔]",
  27259. "type": "string"
  27260. },
  27261. "postalcode": {
  27262. "description": "邮政编码",
  27263. "type": "string"
  27264. },
  27265. "provinceid": {
  27266. "description": "省",
  27267. "type": "integer"
  27268. },
  27269. "qq": {
  27270. "description": "QQ(加密存储",
  27271. "type": "string"
  27272. },
  27273. "remark": {
  27274. "description": "备注",
  27275. "type": "string"
  27276. },
  27277. "sex": {
  27278. "description": "用户性别 0: 女 1: 男",
  27279. "type": "integer"
  27280. },
  27281. "signpdfurl": {
  27282. "description": "签约pdf文件",
  27283. "type": "string"
  27284. },
  27285. "telphone": {
  27286. "description": "联系电话(加密存储)",
  27287. "type": "string"
  27288. },
  27289. "userid": {
  27290. "description": "用户ID",
  27291. "type": "integer"
  27292. },
  27293. "userinfotype": {
  27294. "description": "用户信息类型 - 1:个人 2:企业",
  27295. "type": "integer"
  27296. },
  27297. "userstatus": {
  27298. "description": "用户状态 - 1:正常 2:注销",
  27299. "type": "integer"
  27300. },
  27301. "usertype": {
  27302. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  27303. "type": "integer"
  27304. },
  27305. "wechat": {
  27306. "description": "微信(加密存储)",
  27307. "type": "string"
  27308. },
  27309. "wskhinfo": {
  27310. "description": "开户申请信息(JSON)",
  27311. "type": "string"
  27312. }
  27313. }
  27314. },
  27315. "models.WRSConverTDetail": {
  27316. "type": "object",
  27317. "properties": {
  27318. "convertratio": {
  27319. "description": "套保系数",
  27320. "type": "number"
  27321. },
  27322. "deliverygoodscode": {
  27323. "description": "现货商品代码",
  27324. "type": "string"
  27325. },
  27326. "deliverygoodsid": {
  27327. "description": "现货品种ID",
  27328. "type": "integer"
  27329. },
  27330. "deliverygoodsname": {
  27331. "description": "现货商品名称",
  27332. "type": "string"
  27333. },
  27334. "enumdicname": {
  27335. "description": "单位名称",
  27336. "type": "string"
  27337. },
  27338. "goodsunitid": {
  27339. "description": "套保品种单位id",
  27340. "type": "integer"
  27341. },
  27342. "middlegoodscode": {
  27343. "description": "套保品种代码",
  27344. "type": "string"
  27345. },
  27346. "middlegoodsid": {
  27347. "description": "套保品种ID",
  27348. "type": "integer"
  27349. },
  27350. "middlegoodsname": {
  27351. "description": "套保品种名称",
  27352. "type": "string"
  27353. },
  27354. "modifytime": {
  27355. "description": "修改时间",
  27356. "type": "string"
  27357. },
  27358. "wrstandardid": {
  27359. "description": "品类ID",
  27360. "type": "integer"
  27361. }
  27362. }
  27363. },
  27364. "models.WRStandardInfo": {
  27365. "type": "object",
  27366. "required": [
  27367. "wrstandardid"
  27368. ],
  27369. "properties": {
  27370. "areauserid": {
  27371. "description": "所属机构",
  27372. "type": "integer"
  27373. },
  27374. "convertfactor": {
  27375. "description": "标仓系数",
  27376. "type": "number"
  27377. },
  27378. "createtime": {
  27379. "description": "创建时间",
  27380. "type": "string"
  27381. },
  27382. "creatorid": {
  27383. "description": "创建人",
  27384. "type": "integer"
  27385. },
  27386. "deliverygoodsid": {
  27387. "description": "品种ID",
  27388. "type": "integer"
  27389. },
  27390. "deliverygoodsname": {
  27391. "description": "交割商品名称",
  27392. "type": "string"
  27393. },
  27394. "factoryitemjson": {
  27395. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  27396. "type": "string"
  27397. },
  27398. "isvalid": {
  27399. "description": "是否有效 - 0:无效 1:有效",
  27400. "type": "integer"
  27401. },
  27402. "minivalue": {
  27403. "description": "最小变动值",
  27404. "type": "integer"
  27405. },
  27406. "minivaluedp": {
  27407. "description": "最小变动值小数位",
  27408. "type": "integer"
  27409. },
  27410. "realminivalue": {
  27411. "description": "实际最小变动值",
  27412. "type": "integer"
  27413. },
  27414. "realminivaluedp": {
  27415. "description": "实际最小变动值小数位",
  27416. "type": "integer"
  27417. },
  27418. "remark": {
  27419. "description": "备注",
  27420. "type": "string"
  27421. },
  27422. "unitid": {
  27423. "description": "单位ID",
  27424. "type": "integer"
  27425. },
  27426. "unitname": {
  27427. "description": "单位",
  27428. "type": "string"
  27429. },
  27430. "updatetime": {
  27431. "description": "更新时间",
  27432. "type": "string"
  27433. },
  27434. "updatorid": {
  27435. "description": "更新人",
  27436. "type": "integer"
  27437. },
  27438. "wrsstatus": {
  27439. "description": "状态 - 作废 - 0:未激活 1:正常",
  27440. "type": "integer"
  27441. },
  27442. "wrstandardcode": {
  27443. "description": "现货品类代码",
  27444. "type": "string"
  27445. },
  27446. "wrstandardid": {
  27447. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27448. "type": "integer"
  27449. },
  27450. "wrstandardname": {
  27451. "description": "现货品类名称",
  27452. "type": "string"
  27453. }
  27454. }
  27455. },
  27456. "models.Warehouseinfo": {
  27457. "type": "object",
  27458. "required": [
  27459. "autoid",
  27460. "warehousecode"
  27461. ],
  27462. "properties": {
  27463. "address": {
  27464. "description": "详细地址",
  27465. "type": "string"
  27466. },
  27467. "areauserid": {
  27468. "description": "所属机构",
  27469. "type": "integer"
  27470. },
  27471. "autoid": {
  27472. "description": "自增ID",
  27473. "type": "integer"
  27474. },
  27475. "cityid": {
  27476. "description": "市",
  27477. "type": "integer"
  27478. },
  27479. "contactname": {
  27480. "description": "联系人",
  27481. "type": "string"
  27482. },
  27483. "contactnum": {
  27484. "description": "联系电话",
  27485. "type": "string"
  27486. },
  27487. "countryid": {
  27488. "description": "国家",
  27489. "type": "integer"
  27490. },
  27491. "createtime": {
  27492. "description": "创建时间",
  27493. "type": "string"
  27494. },
  27495. "districtid": {
  27496. "description": "区",
  27497. "type": "integer"
  27498. },
  27499. "hasvideo": {
  27500. "description": "是否有视频 - 0:无 1:有",
  27501. "type": "integer"
  27502. },
  27503. "provinceid": {
  27504. "description": "省",
  27505. "type": "integer"
  27506. },
  27507. "remark": {
  27508. "description": "审核备注",
  27509. "type": "string"
  27510. },
  27511. "videourl": {
  27512. "description": "视频地址",
  27513. "type": "string"
  27514. },
  27515. "warehousecode": {
  27516. "description": "仓库代码",
  27517. "type": "string"
  27518. },
  27519. "warehousename": {
  27520. "description": "仓库名称",
  27521. "type": "string"
  27522. },
  27523. "warehousestatus": {
  27524. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  27525. "type": "integer"
  27526. },
  27527. "warehousetype": {
  27528. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  27529. "type": "integer"
  27530. }
  27531. }
  27532. },
  27533. "order.QueryHisTradeDetailRsp": {
  27534. "type": "object",
  27535. "required": [
  27536. "accountid",
  27537. "buyorsell",
  27538. "goodsid",
  27539. "histradedate",
  27540. "marketid",
  27541. "memberuserid",
  27542. "orderid",
  27543. "tradeamount",
  27544. "tradedate",
  27545. "tradeid",
  27546. "tradeprice",
  27547. "tradeqty",
  27548. "tradetime"
  27549. ],
  27550. "properties": {
  27551. "accountid": {
  27552. "description": "账户ID[报价币种]",
  27553. "type": "integer"
  27554. },
  27555. "advanceratio": {
  27556. "description": "首付比率",
  27557. "type": "number"
  27558. },
  27559. "buildtype": {
  27560. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27561. "type": "integer"
  27562. },
  27563. "buyorsell": {
  27564. "description": "方向 - 0:买 1:卖",
  27565. "type": "integer"
  27566. },
  27567. "charge": {
  27568. "description": "手续费",
  27569. "type": "number"
  27570. },
  27571. "closecharge": {
  27572. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27573. "type": "number"
  27574. },
  27575. "closeexchagechargevalue": {
  27576. "description": "平仓交易所手续费设置值",
  27577. "type": "number"
  27578. },
  27579. "closefeealgorithm": {
  27580. "description": "平仓手续费收取方式 1:比率 2:固定",
  27581. "type": "integer"
  27582. },
  27583. "closememberchargevalue": {
  27584. "description": "平仓会员手续费设置值",
  27585. "type": "number"
  27586. },
  27587. "closepl": {
  27588. "description": "平仓盈亏",
  27589. "type": "number"
  27590. },
  27591. "closepl2": {
  27592. "description": "平仓盈亏[逐笔]",
  27593. "type": "number"
  27594. },
  27595. "closeqty": {
  27596. "description": "平仓数量(先建后平操作 需要记录)",
  27597. "type": "number"
  27598. },
  27599. "creditamount": {
  27600. "description": "授信金额",
  27601. "type": "number"
  27602. },
  27603. "decimalplace": {
  27604. "description": "商品报价小数位",
  27605. "type": "integer"
  27606. },
  27607. "enumdicname": {
  27608. "description": "单位名称",
  27609. "type": "string"
  27610. },
  27611. "gcaccountid": {
  27612. "description": "账户ID[合约币种]",
  27613. "type": "integer"
  27614. },
  27615. "goodscode": {
  27616. "description": "商品代码",
  27617. "type": "string"
  27618. },
  27619. "goodsid": {
  27620. "description": "商品ID",
  27621. "type": "integer"
  27622. },
  27623. "goodsname": {
  27624. "description": "商品名称",
  27625. "type": "string"
  27626. },
  27627. "goodunitid": {
  27628. "description": "商品单位id",
  27629. "type": "integer"
  27630. },
  27631. "histradedate": {
  27632. "description": "历史交易日",
  27633. "type": "string"
  27634. },
  27635. "intclosepl": {
  27636. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  27637. "type": "integer"
  27638. },
  27639. "isconfirmexercise": {
  27640. "description": "是否确认行权- 0:否 1:是",
  27641. "type": "integer"
  27642. },
  27643. "ismain": {
  27644. "description": "是否主单 - 0:不是 1:是",
  27645. "type": "integer"
  27646. },
  27647. "ispreexercise": {
  27648. "description": "是否预申报- 0:否 1:是",
  27649. "type": "integer"
  27650. },
  27651. "isreckoned": {
  27652. "description": "是否结算 - 0:未结算 1:已结算",
  27653. "type": "integer"
  27654. },
  27655. "isvaliddata": {
  27656. "description": "是否有效 - 0:无效 1:有效",
  27657. "type": "integer"
  27658. },
  27659. "listingselecttype": {
  27660. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27661. "type": "integer"
  27662. },
  27663. "marketid": {
  27664. "description": "市场ID",
  27665. "type": "integer"
  27666. },
  27667. "marketname": {
  27668. "description": "市场名称",
  27669. "type": "string"
  27670. },
  27671. "matchaccountid": {
  27672. "description": "对手账号id",
  27673. "type": "integer"
  27674. },
  27675. "memberuserid": {
  27676. "description": "会员id 个人投资者 需要填写",
  27677. "type": "integer"
  27678. },
  27679. "opencharge": {
  27680. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27681. "type": "number"
  27682. },
  27683. "openexchagechargevalue": {
  27684. "description": "建仓交易所手续费设置值",
  27685. "type": "number"
  27686. },
  27687. "openfeealgorithm": {
  27688. "description": "建仓手续费收取方式 1:比率 2:固定",
  27689. "type": "integer"
  27690. },
  27691. "openmemberchargevalue": {
  27692. "description": "建仓会员手续费设置值",
  27693. "type": "number"
  27694. },
  27695. "openqty": {
  27696. "description": "开仓数量(先建后平操作 需要记录)",
  27697. "type": "number"
  27698. },
  27699. "optiontype": {
  27700. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27701. "type": "integer"
  27702. },
  27703. "orderid": {
  27704. "description": "委托单号",
  27705. "type": "string"
  27706. },
  27707. "payamount": {
  27708. "description": "支付金额(付款金额)",
  27709. "type": "number"
  27710. },
  27711. "performanceplanid": {
  27712. "description": "履约计划ID[期权]",
  27713. "type": "integer"
  27714. },
  27715. "performancestatus": {
  27716. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  27717. "type": "integer"
  27718. },
  27719. "preexerciseprice": {
  27720. "description": "预申报价格",
  27721. "type": "number"
  27722. },
  27723. "premium": {
  27724. "description": "权利金 - [持仓单的权利金]",
  27725. "type": "number"
  27726. },
  27727. "qtydecimalplace": {
  27728. "description": "商品报价小数位",
  27729. "type": "integer"
  27730. },
  27731. "recvamount": {
  27732. "description": "到账金额 = 成交金额 - 手续费",
  27733. "type": "number"
  27734. },
  27735. "relatedouttradeid": {
  27736. "description": "关联外部成交单ID",
  27737. "type": "integer"
  27738. },
  27739. "status": {
  27740. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  27741. "type": "integer"
  27742. },
  27743. "totalamount": {
  27744. "description": "订单总额 = 成交金额 + 手续费",
  27745. "type": "number"
  27746. },
  27747. "tradeamount": {
  27748. "description": "成交金额[账户币种,用于所有权]",
  27749. "type": "number"
  27750. },
  27751. "tradedate": {
  27752. "description": "交易日(yyyyMMdd)",
  27753. "type": "string"
  27754. },
  27755. "tradeid": {
  27756. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27757. "type": "string"
  27758. },
  27759. "trademode": {
  27760. "description": "交易模式",
  27761. "type": "integer"
  27762. },
  27763. "tradeprice": {
  27764. "description": "成交价格",
  27765. "type": "number"
  27766. },
  27767. "tradeproperty": {
  27768. "description": "交易属性",
  27769. "type": "integer"
  27770. },
  27771. "tradeqty": {
  27772. "description": "成交数量",
  27773. "type": "number"
  27774. },
  27775. "tradetime": {
  27776. "description": "成交时间",
  27777. "type": "string"
  27778. },
  27779. "tradetype": {
  27780. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  27781. "type": "integer"
  27782. }
  27783. }
  27784. },
  27785. "order.QueryHisTradeOrderDetailRsp": {
  27786. "type": "object",
  27787. "required": [
  27788. "accountid",
  27789. "buildtype",
  27790. "buyorsell",
  27791. "goodsid",
  27792. "histradedate",
  27793. "marketid",
  27794. "memberuserid",
  27795. "operatetype",
  27796. "orderid",
  27797. "orderqty",
  27798. "ordertime",
  27799. "pricemode",
  27800. "tradedate",
  27801. "validtype"
  27802. ],
  27803. "properties": {
  27804. "accountid": {
  27805. "description": "账户ID[报价币种]",
  27806. "type": "integer"
  27807. },
  27808. "buildtype": {
  27809. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  27810. "type": "integer"
  27811. },
  27812. "buyorsell": {
  27813. "description": "买卖 - 0:买 1:卖",
  27814. "type": "integer"
  27815. },
  27816. "cancelorderid": {
  27817. "description": "撤单单号(撤单时填写)",
  27818. "type": "string"
  27819. },
  27820. "cancelqty": {
  27821. "description": "撤单数量",
  27822. "type": "number"
  27823. },
  27824. "clientordertime": {
  27825. "description": "客户端委托时间",
  27826. "type": "string"
  27827. },
  27828. "clientticket": {
  27829. "description": "客户端流水号",
  27830. "type": "string"
  27831. },
  27832. "clienttype": {
  27833. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27834. "type": "integer"
  27835. },
  27836. "closeexchagechargevalue": {
  27837. "description": "平仓交易所手续费设置值",
  27838. "type": "number"
  27839. },
  27840. "closefeealgorithm": {
  27841. "description": "平仓手续费收取方式 1:比率 2:固定",
  27842. "type": "integer"
  27843. },
  27844. "closefreezecharge": {
  27845. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  27846. "type": "number"
  27847. },
  27848. "closememberchargevalue": {
  27849. "description": "平仓会员手续费设置值",
  27850. "type": "number"
  27851. },
  27852. "closeqty": {
  27853. "description": "平仓数量(先建后平操作 需要记录)",
  27854. "type": "number"
  27855. },
  27856. "closetradeqty": {
  27857. "description": "平仓成交数量(先建后平操作,需要记录)",
  27858. "type": "number"
  27859. },
  27860. "closeunfreezecharge": {
  27861. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  27862. "type": "number"
  27863. },
  27864. "decimalplace": {
  27865. "description": "商品报价小数位",
  27866. "type": "integer"
  27867. },
  27868. "delistingtype": {
  27869. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  27870. "type": "integer"
  27871. },
  27872. "enumdicname": {
  27873. "description": "单位名称",
  27874. "type": "string"
  27875. },
  27876. "freezecharge": {
  27877. "description": "冻结手续费",
  27878. "type": "number"
  27879. },
  27880. "freezemargin": {
  27881. "description": "冻结保证金(冻结交易金额)",
  27882. "type": "number"
  27883. },
  27884. "gcaccountid": {
  27885. "description": "账户ID[合约币种]",
  27886. "type": "integer"
  27887. },
  27888. "goodscode": {
  27889. "description": "商品代码",
  27890. "type": "string"
  27891. },
  27892. "goodsid": {
  27893. "description": "商品ID",
  27894. "type": "integer"
  27895. },
  27896. "goodsname": {
  27897. "description": "商品名称",
  27898. "type": "string"
  27899. },
  27900. "goodunitid": {
  27901. "description": "商品单位id",
  27902. "type": "integer"
  27903. },
  27904. "histradedate": {
  27905. "description": "历史交易日",
  27906. "type": "string"
  27907. },
  27908. "isconfirmexercise": {
  27909. "description": "是否确认行权- 0:否 1:是",
  27910. "type": "integer"
  27911. },
  27912. "ispreexercise": {
  27913. "description": "是否预申报- 0:否 1:是",
  27914. "type": "integer"
  27915. },
  27916. "isvaliddata": {
  27917. "description": "是否有效 - 0:无效 1:有效",
  27918. "type": "integer"
  27919. },
  27920. "listingselecttype": {
  27921. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27922. "type": "integer"
  27923. },
  27924. "marginalgorithm": {
  27925. "description": "保证金收取方式 1:比率 2:固定",
  27926. "type": "integer"
  27927. },
  27928. "marginvalue": {
  27929. "description": "即市保证金设置值",
  27930. "type": "number"
  27931. },
  27932. "marketid": {
  27933. "description": "市场ID",
  27934. "type": "integer"
  27935. },
  27936. "marketmaxsub": {
  27937. "description": "市价最大偏移范围",
  27938. "type": "number"
  27939. },
  27940. "marketname": {
  27941. "description": "市场名称",
  27942. "type": "string"
  27943. },
  27944. "memberuserid": {
  27945. "description": "所属会员UserID",
  27946. "type": "integer"
  27947. },
  27948. "openexchagechargevalue": {
  27949. "description": "建仓交易所手续费设置值",
  27950. "type": "number"
  27951. },
  27952. "openfeealgorithm": {
  27953. "description": "建仓手续费收取方式 1:比率 2:固定",
  27954. "type": "integer"
  27955. },
  27956. "openfreezecharge": {
  27957. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  27958. "type": "number"
  27959. },
  27960. "openmemberchargevalue": {
  27961. "description": "建仓会员手续费设置值",
  27962. "type": "number"
  27963. },
  27964. "openqty": {
  27965. "description": "开仓数量(先建后平操作,需要记录)",
  27966. "type": "number"
  27967. },
  27968. "opentradeqty": {
  27969. "description": "开仓成交数量(先建后平操作,需要记录)",
  27970. "type": "number"
  27971. },
  27972. "openunfreezecharge": {
  27973. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  27974. "type": "number"
  27975. },
  27976. "operatetype": {
  27977. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  27978. "type": "integer"
  27979. },
  27980. "operatorid": {
  27981. "description": "登录账号(LoginID)",
  27982. "type": "integer"
  27983. },
  27984. "optiontype": {
  27985. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27986. "type": "integer"
  27987. },
  27988. "orderid": {
  27989. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27990. "type": "string"
  27991. },
  27992. "orderprice": {
  27993. "description": "委托价格",
  27994. "type": "number"
  27995. },
  27996. "orderqty": {
  27997. "description": "委托数量",
  27998. "type": "number"
  27999. },
  28000. "ordersrc": {
  28001. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28002. "type": "integer"
  28003. },
  28004. "orderstatus": {
  28005. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28006. "type": "integer"
  28007. },
  28008. "ordertime": {
  28009. "description": "委托时间",
  28010. "type": "string"
  28011. },
  28012. "preexerciseprice": {
  28013. "description": "预申报价格",
  28014. "type": "number"
  28015. },
  28016. "premium": {
  28017. "description": "权利金",
  28018. "type": "number"
  28019. },
  28020. "preorderid": {
  28021. "description": "关联预埋单号(止盈止损单时填写)",
  28022. "type": "string"
  28023. },
  28024. "pricemode": {
  28025. "description": "取价方式 - 1:市价 2: 限价",
  28026. "type": "integer"
  28027. },
  28028. "qtydecimalplace": {
  28029. "description": "成交量小数位",
  28030. "type": "integer"
  28031. },
  28032. "quoteid": {
  28033. "description": "报价单ID",
  28034. "type": "integer"
  28035. },
  28036. "relatedid": {
  28037. "description": "关联单号(交割单)",
  28038. "type": "string"
  28039. },
  28040. "retcode": {
  28041. "description": "错误代码",
  28042. "type": "integer"
  28043. },
  28044. "sessionid": {
  28045. "description": "会话ID",
  28046. "type": "integer"
  28047. },
  28048. "tradedate": {
  28049. "description": "交易日(yyyyMMdd)",
  28050. "type": "string"
  28051. },
  28052. "trademode": {
  28053. "description": "交易模式",
  28054. "type": "integer"
  28055. },
  28056. "tradeproperty": {
  28057. "description": "交易属性",
  28058. "type": "integer"
  28059. },
  28060. "tradeqty": {
  28061. "description": "成交数量",
  28062. "type": "number"
  28063. },
  28064. "unfreezecharge": {
  28065. "description": "解冻手续费",
  28066. "type": "number"
  28067. },
  28068. "unfreezemargin": {
  28069. "description": "解冻保证金",
  28070. "type": "number"
  28071. },
  28072. "updatetime": {
  28073. "description": "更新时间",
  28074. "type": "string"
  28075. },
  28076. "uuid": {
  28077. "description": "发起端唯一id",
  28078. "type": "string"
  28079. },
  28080. "validtime": {
  28081. "description": "有效期限",
  28082. "type": "string"
  28083. },
  28084. "validtype": {
  28085. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28086. "type": "integer"
  28087. },
  28088. "volumetype": {
  28089. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28090. "type": "integer"
  28091. }
  28092. }
  28093. },
  28094. "order.QueryTradeDetailRsp": {
  28095. "type": "object",
  28096. "required": [
  28097. "accountid",
  28098. "buyorsell",
  28099. "goodsid",
  28100. "marketid",
  28101. "memberuserid",
  28102. "orderid",
  28103. "tradeamount",
  28104. "tradedate",
  28105. "tradeid",
  28106. "tradeprice",
  28107. "tradeqty",
  28108. "tradetime"
  28109. ],
  28110. "properties": {
  28111. "accountid": {
  28112. "description": "账户ID[报价币种]",
  28113. "type": "integer"
  28114. },
  28115. "advanceratio": {
  28116. "description": "首付比率",
  28117. "type": "number"
  28118. },
  28119. "buildtype": {
  28120. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28121. "type": "integer"
  28122. },
  28123. "buyorsell": {
  28124. "description": "方向 - 0:买 1:卖",
  28125. "type": "integer"
  28126. },
  28127. "charge": {
  28128. "description": "手续费",
  28129. "type": "number"
  28130. },
  28131. "closecharge": {
  28132. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28133. "type": "number"
  28134. },
  28135. "closeexchagechargevalue": {
  28136. "description": "平仓交易所手续费设置值",
  28137. "type": "number"
  28138. },
  28139. "closefeealgorithm": {
  28140. "description": "平仓手续费收取方式 1:比率 2:固定",
  28141. "type": "integer"
  28142. },
  28143. "closememberchargevalue": {
  28144. "description": "平仓会员手续费设置值",
  28145. "type": "number"
  28146. },
  28147. "closepl": {
  28148. "description": "平仓盈亏",
  28149. "type": "number"
  28150. },
  28151. "closepl2": {
  28152. "description": "平仓盈亏[逐笔]",
  28153. "type": "number"
  28154. },
  28155. "closeqty": {
  28156. "description": "平仓数量(先建后平操作 需要记录)",
  28157. "type": "number"
  28158. },
  28159. "creditamount": {
  28160. "description": "授信金额",
  28161. "type": "number"
  28162. },
  28163. "decimalplace": {
  28164. "description": "商品报价小数位",
  28165. "type": "integer"
  28166. },
  28167. "enumdicname": {
  28168. "description": "单位名称",
  28169. "type": "string"
  28170. },
  28171. "gcaccountid": {
  28172. "description": "账户ID[合约币种]",
  28173. "type": "integer"
  28174. },
  28175. "goodscode": {
  28176. "description": "商品代码",
  28177. "type": "string"
  28178. },
  28179. "goodsid": {
  28180. "description": "商品ID",
  28181. "type": "integer"
  28182. },
  28183. "goodsname": {
  28184. "description": "商品名称",
  28185. "type": "string"
  28186. },
  28187. "goodunitid": {
  28188. "description": "商品单位id",
  28189. "type": "integer"
  28190. },
  28191. "intclosepl": {
  28192. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28193. "type": "integer"
  28194. },
  28195. "isconfirmexercise": {
  28196. "description": "是否确认行权- 0:否 1:是",
  28197. "type": "integer"
  28198. },
  28199. "ismain": {
  28200. "description": "是否主单 - 0:不是 1:是",
  28201. "type": "integer"
  28202. },
  28203. "ispreexercise": {
  28204. "description": "是否预申报- 0:否 1:是",
  28205. "type": "integer"
  28206. },
  28207. "isreckoned": {
  28208. "description": "是否结算 - 0:未结算 1:已结算",
  28209. "type": "integer"
  28210. },
  28211. "listingselecttype": {
  28212. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28213. "type": "integer"
  28214. },
  28215. "marketid": {
  28216. "description": "市场ID",
  28217. "type": "integer"
  28218. },
  28219. "marketname": {
  28220. "description": "市场名称",
  28221. "type": "string"
  28222. },
  28223. "matchaccountid": {
  28224. "description": "对手账号id",
  28225. "type": "integer"
  28226. },
  28227. "memberuserid": {
  28228. "description": "会员id 个人投资者 需要填写",
  28229. "type": "integer"
  28230. },
  28231. "opencharge": {
  28232. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28233. "type": "number"
  28234. },
  28235. "openexchagechargevalue": {
  28236. "description": "建仓交易所手续费设置值",
  28237. "type": "number"
  28238. },
  28239. "openfeealgorithm": {
  28240. "description": "建仓手续费收取方式 1:比率 2:固定",
  28241. "type": "integer"
  28242. },
  28243. "openmemberchargevalue": {
  28244. "description": "建仓会员手续费设置值",
  28245. "type": "number"
  28246. },
  28247. "openqty": {
  28248. "description": "开仓数量(先建后平操作 需要记录)",
  28249. "type": "number"
  28250. },
  28251. "optiontype": {
  28252. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28253. "type": "integer"
  28254. },
  28255. "orderid": {
  28256. "description": "委托单号",
  28257. "type": "string"
  28258. },
  28259. "payamount": {
  28260. "description": "支付金额(付款金额)",
  28261. "type": "number"
  28262. },
  28263. "performanceplanid": {
  28264. "description": "履约计划ID[期权]",
  28265. "type": "integer"
  28266. },
  28267. "performancestatus": {
  28268. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28269. "type": "integer"
  28270. },
  28271. "preexerciseprice": {
  28272. "description": "预申报价格",
  28273. "type": "number"
  28274. },
  28275. "premium": {
  28276. "description": "权利金 - [持仓单的权利金]",
  28277. "type": "number"
  28278. },
  28279. "qtydecimalplace": {
  28280. "description": "商品报价小数位",
  28281. "type": "integer"
  28282. },
  28283. "recvamount": {
  28284. "description": "到账金额 = 成交金额 - 手续费",
  28285. "type": "number"
  28286. },
  28287. "relatedouttradeid": {
  28288. "description": "关联外部成交单ID",
  28289. "type": "integer"
  28290. },
  28291. "status": {
  28292. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28293. "type": "integer"
  28294. },
  28295. "totalamount": {
  28296. "description": "订单总额 = 成交金额 + 手续费",
  28297. "type": "number"
  28298. },
  28299. "tradeamount": {
  28300. "description": "成交金额[账户币种,用于所有权]",
  28301. "type": "number"
  28302. },
  28303. "tradedate": {
  28304. "description": "交易日(yyyyMMdd)",
  28305. "type": "string"
  28306. },
  28307. "tradeid": {
  28308. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28309. "type": "string"
  28310. },
  28311. "trademode": {
  28312. "description": "交易模式",
  28313. "type": "integer"
  28314. },
  28315. "tradeprice": {
  28316. "description": "成交价格",
  28317. "type": "number"
  28318. },
  28319. "tradeproperty": {
  28320. "description": "交易属性",
  28321. "type": "integer"
  28322. },
  28323. "tradeqty": {
  28324. "description": "成交数量",
  28325. "type": "number"
  28326. },
  28327. "tradetime": {
  28328. "description": "成交时间",
  28329. "type": "string"
  28330. },
  28331. "tradetype": {
  28332. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28333. "type": "integer"
  28334. }
  28335. }
  28336. },
  28337. "order.QueryTradeOrderDetailRsp": {
  28338. "type": "object",
  28339. "required": [
  28340. "accountid",
  28341. "buildtype",
  28342. "buyorsell",
  28343. "goodsid",
  28344. "marketid",
  28345. "operatetype",
  28346. "orderqty",
  28347. "ordertime",
  28348. "pricemode",
  28349. "tradedate",
  28350. "validtype"
  28351. ],
  28352. "properties": {
  28353. "accountid": {
  28354. "description": "账户ID[报价币种]",
  28355. "type": "integer"
  28356. },
  28357. "buildtype": {
  28358. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28359. "type": "integer"
  28360. },
  28361. "buyorsell": {
  28362. "description": "买卖 - 0:买 1:卖",
  28363. "type": "integer"
  28364. },
  28365. "cancelorderid": {
  28366. "description": "撤单单号(撤单时填写)",
  28367. "type": "string"
  28368. },
  28369. "cancelqty": {
  28370. "description": "撤单数量",
  28371. "type": "number"
  28372. },
  28373. "clienttype": {
  28374. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28375. "type": "integer"
  28376. },
  28377. "closefreezecharge": {
  28378. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28379. "type": "number"
  28380. },
  28381. "closeqty": {
  28382. "description": "平仓数量(先建后平操作 需要记录)",
  28383. "type": "number"
  28384. },
  28385. "closetradeqty": {
  28386. "description": "平仓成交数量(先建后平操作,需要记录)",
  28387. "type": "number"
  28388. },
  28389. "closeunfreezecharge": {
  28390. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28391. "type": "number"
  28392. },
  28393. "decimalplace": {
  28394. "description": "商品报价小数位",
  28395. "type": "integer"
  28396. },
  28397. "delistingtype": {
  28398. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28399. "type": "integer"
  28400. },
  28401. "enableqty": {
  28402. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  28403. "type": "number"
  28404. },
  28405. "enumdicname": {
  28406. "description": "单位名称",
  28407. "type": "string"
  28408. },
  28409. "freezecharge": {
  28410. "description": "冻结手续费",
  28411. "type": "number"
  28412. },
  28413. "freezemargin": {
  28414. "description": "冻结保证金(冻结交易金额)",
  28415. "type": "number"
  28416. },
  28417. "goodscode": {
  28418. "description": "商品代码",
  28419. "type": "string"
  28420. },
  28421. "goodsid": {
  28422. "description": "商品ID",
  28423. "type": "integer"
  28424. },
  28425. "goodsname": {
  28426. "description": "商品名称",
  28427. "type": "string"
  28428. },
  28429. "goodunitid": {
  28430. "description": "商品单位id",
  28431. "type": "integer"
  28432. },
  28433. "listingselecttype": {
  28434. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28435. "type": "integer"
  28436. },
  28437. "marketid": {
  28438. "description": "市场ID",
  28439. "type": "integer"
  28440. },
  28441. "marketname": {
  28442. "description": "市场名称",
  28443. "type": "string"
  28444. },
  28445. "openfreezecharge": {
  28446. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28447. "type": "number"
  28448. },
  28449. "openqty": {
  28450. "description": "开仓数量(先建后平操作,需要记录)",
  28451. "type": "number"
  28452. },
  28453. "opentradeqty": {
  28454. "description": "开仓成交数量(先建后平操作,需要记录)",
  28455. "type": "number"
  28456. },
  28457. "openunfreezecharge": {
  28458. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28459. "type": "number"
  28460. },
  28461. "operatetype": {
  28462. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28463. "type": "integer"
  28464. },
  28465. "operatorid": {
  28466. "description": "登录账号(LoginID)",
  28467. "type": "integer"
  28468. },
  28469. "orderid": {
  28470. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28471. "type": "string"
  28472. },
  28473. "orderprice": {
  28474. "description": "委托价格",
  28475. "type": "number"
  28476. },
  28477. "orderqty": {
  28478. "description": "委托数量",
  28479. "type": "number"
  28480. },
  28481. "ordersrc": {
  28482. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28483. "type": "integer"
  28484. },
  28485. "orderstatus": {
  28486. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28487. "type": "integer"
  28488. },
  28489. "ordertime": {
  28490. "description": "委托时间",
  28491. "type": "string"
  28492. },
  28493. "preorderid": {
  28494. "description": "关联预埋单号(止盈止损单时填写)",
  28495. "type": "string"
  28496. },
  28497. "pricemode": {
  28498. "description": "取价方式 - 1:市价 2: 限价",
  28499. "type": "integer"
  28500. },
  28501. "qtydecimalplace": {
  28502. "description": "商品报价小数位",
  28503. "type": "integer"
  28504. },
  28505. "relatedid": {
  28506. "description": "关联单号(交割单)",
  28507. "type": "string"
  28508. },
  28509. "tradedate": {
  28510. "description": "交易日(yyyyMMdd)",
  28511. "type": "string"
  28512. },
  28513. "trademode": {
  28514. "description": "交易模式",
  28515. "type": "integer"
  28516. },
  28517. "tradeqty": {
  28518. "description": "成交数量",
  28519. "type": "number"
  28520. },
  28521. "unfreezecharge": {
  28522. "description": "解冻手续费",
  28523. "type": "number"
  28524. },
  28525. "unfreezemargin": {
  28526. "description": "解冻保证金",
  28527. "type": "number"
  28528. },
  28529. "validtime": {
  28530. "description": "有效期限",
  28531. "type": "string"
  28532. },
  28533. "validtype": {
  28534. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28535. "type": "integer"
  28536. },
  28537. "volumetype": {
  28538. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28539. "type": "integer"
  28540. }
  28541. }
  28542. },
  28543. "order.QueryTradePositionRsp": {
  28544. "type": "object",
  28545. "required": [
  28546. "goodsid"
  28547. ],
  28548. "properties": {
  28549. "accountid": {
  28550. "description": "资金账户",
  28551. "type": "integer"
  28552. },
  28553. "agreeunit": {
  28554. "description": "合约单位",
  28555. "type": "number"
  28556. },
  28557. "averageprice": {
  28558. "description": "持仓均价",
  28559. "type": "number"
  28560. },
  28561. "buyorsell": {
  28562. "description": "方向 - 0:买 1:卖",
  28563. "type": "integer"
  28564. },
  28565. "closetotalqty": {
  28566. "description": "平仓总数量",
  28567. "type": "number"
  28568. },
  28569. "curholderamount": {
  28570. "description": "当前持仓总金额[商品币种]",
  28571. "type": "number"
  28572. },
  28573. "curpositionqty": {
  28574. "description": "当前持仓总数量",
  28575. "type": "number"
  28576. },
  28577. "currencyid": {
  28578. "description": "报价货币ID",
  28579. "type": "integer"
  28580. },
  28581. "curtdposition": {
  28582. "description": "期末今日头寸",
  28583. "type": "number"
  28584. },
  28585. "decimalplace": {
  28586. "description": "报价小数位",
  28587. "type": "integer"
  28588. },
  28589. "enableqty": {
  28590. "description": "可用量",
  28591. "type": "number"
  28592. },
  28593. "fretdposition": {
  28594. "description": "冻结今日头寸",
  28595. "type": "number"
  28596. },
  28597. "frozenqty": {
  28598. "description": "持仓冻结数量",
  28599. "type": "number"
  28600. },
  28601. "goodscode": {
  28602. "description": "商品代码",
  28603. "type": "string"
  28604. },
  28605. "goodsid": {
  28606. "description": "商品Id",
  28607. "type": "integer"
  28608. },
  28609. "goodsname": {
  28610. "description": "商品名称",
  28611. "type": "string"
  28612. },
  28613. "goodunit": {
  28614. "description": "报价单位",
  28615. "type": "string"
  28616. },
  28617. "goodunitid": {
  28618. "description": "报价单位ID",
  28619. "type": "integer"
  28620. },
  28621. "holderamount": {
  28622. "description": "期初持仓总金额[商品币种]",
  28623. "type": "number"
  28624. },
  28625. "marketid": {
  28626. "description": "所属市场ID",
  28627. "type": "integer"
  28628. },
  28629. "openreqqty": {
  28630. "description": "开仓申请数量(用于比较最大持仓数量)",
  28631. "type": "number"
  28632. },
  28633. "opentotalqty": {
  28634. "description": "开仓总数量",
  28635. "type": "number"
  28636. },
  28637. "otherfrozenqty": {
  28638. "description": "持仓其他冻结数量(交割冻结)",
  28639. "type": "number"
  28640. },
  28641. "positionqty": {
  28642. "description": "期初持仓数量",
  28643. "type": "number"
  28644. },
  28645. "qtydecimalplace": {
  28646. "description": "成交量小数位",
  28647. "type": "integer"
  28648. },
  28649. "tnqty": {
  28650. "description": "T+N冻结总量",
  28651. "type": "number"
  28652. },
  28653. "tnusedqty": {
  28654. "description": "T+N使用量(可以使用T+N的冻结数量)",
  28655. "type": "number"
  28656. },
  28657. "trademode": {
  28658. "description": "交易模式",
  28659. "type": "integer"
  28660. },
  28661. "usedmargin": {
  28662. "description": "占用保证金[商品币种]",
  28663. "type": "number"
  28664. }
  28665. }
  28666. },
  28667. "quote.HistoryData": {
  28668. "type": "object",
  28669. "properties": {
  28670. "c": {
  28671. "description": "收盘价",
  28672. "type": "number"
  28673. },
  28674. "f": {
  28675. "description": "是否补充数据",
  28676. "type": "boolean"
  28677. },
  28678. "h": {
  28679. "description": "最高价",
  28680. "type": "number"
  28681. },
  28682. "hv": {
  28683. "description": "持仓量",
  28684. "type": "integer"
  28685. },
  28686. "l": {
  28687. "description": "最低价",
  28688. "type": "number"
  28689. },
  28690. "o": {
  28691. "description": "开盘价",
  28692. "type": "number"
  28693. },
  28694. "s": {
  28695. "description": "结算价,日线周期(包括)以上才有",
  28696. "type": "number"
  28697. },
  28698. "ts": {
  28699. "description": "时间",
  28700. "type": "string"
  28701. },
  28702. "tt": {
  28703. "description": "总金额",
  28704. "type": "number"
  28705. },
  28706. "tv": {
  28707. "description": "总量",
  28708. "type": "integer"
  28709. }
  28710. }
  28711. },
  28712. "quote.HistoryTikData": {
  28713. "type": "object",
  28714. "properties": {
  28715. "AV": {
  28716. "description": "卖量",
  28717. "type": "integer"
  28718. },
  28719. "Ask": {
  28720. "description": "卖价",
  28721. "type": "number"
  28722. },
  28723. "BV": {
  28724. "description": "买量",
  28725. "type": "integer"
  28726. },
  28727. "Bid": {
  28728. "description": "买价",
  28729. "type": "number"
  28730. },
  28731. "HI": {
  28732. "description": "单笔持仓",
  28733. "type": "integer"
  28734. },
  28735. "HV": {
  28736. "description": "持仓量",
  28737. "type": "integer"
  28738. },
  28739. "PE": {
  28740. "description": "现价",
  28741. "type": "number"
  28742. },
  28743. "TDR": {
  28744. "description": "交易方向,0:买 1:卖",
  28745. "type": "integer"
  28746. },
  28747. "TK": {
  28748. "description": "交易类型",
  28749. "type": "integer"
  28750. },
  28751. "TS": {
  28752. "description": "行情时间文本",
  28753. "type": "string"
  28754. },
  28755. "TT": {
  28756. "description": "现金额",
  28757. "type": "number"
  28758. },
  28759. "Vol": {
  28760. "description": "现量",
  28761. "type": "integer"
  28762. }
  28763. }
  28764. },
  28765. "quote.QueryQuoteDayRsp": {
  28766. "type": "object",
  28767. "properties": {
  28768. "ask": {
  28769. "description": "卖1",
  28770. "type": "number"
  28771. },
  28772. "ask10": {
  28773. "description": "卖10",
  28774. "type": "number"
  28775. },
  28776. "ask2": {
  28777. "description": "卖2",
  28778. "type": "number"
  28779. },
  28780. "ask3": {
  28781. "description": "卖3",
  28782. "type": "number"
  28783. },
  28784. "ask4": {
  28785. "description": "卖4",
  28786. "type": "number"
  28787. },
  28788. "ask5": {
  28789. "description": "卖5",
  28790. "type": "number"
  28791. },
  28792. "ask6": {
  28793. "description": "卖6",
  28794. "type": "number"
  28795. },
  28796. "ask7": {
  28797. "description": "卖7",
  28798. "type": "number"
  28799. },
  28800. "ask8": {
  28801. "description": "卖8",
  28802. "type": "number"
  28803. },
  28804. "ask9": {
  28805. "description": "卖9",
  28806. "type": "number"
  28807. },
  28808. "askorderid": {
  28809. "description": "卖单号1",
  28810. "type": "integer"
  28811. },
  28812. "askorderid2": {
  28813. "description": "卖单号2",
  28814. "type": "integer"
  28815. },
  28816. "askorderid3": {
  28817. "description": "卖单号3",
  28818. "type": "integer"
  28819. },
  28820. "askorderid4": {
  28821. "description": "卖单号4",
  28822. "type": "integer"
  28823. },
  28824. "askorderid5": {
  28825. "description": "卖单号5",
  28826. "type": "integer"
  28827. },
  28828. "askordervolume": {
  28829. "description": "卖单量1",
  28830. "type": "integer"
  28831. },
  28832. "askordervolume10": {
  28833. "description": "卖单量10",
  28834. "type": "integer"
  28835. },
  28836. "askordervolume2": {
  28837. "description": "卖单量2",
  28838. "type": "integer"
  28839. },
  28840. "askordervolume3": {
  28841. "description": "卖单量3",
  28842. "type": "integer"
  28843. },
  28844. "askordervolume4": {
  28845. "description": "卖单量4",
  28846. "type": "integer"
  28847. },
  28848. "askordervolume5": {
  28849. "description": "卖单量5",
  28850. "type": "integer"
  28851. },
  28852. "askordervolume6": {
  28853. "description": "卖单量6",
  28854. "type": "integer"
  28855. },
  28856. "askordervolume7": {
  28857. "description": "卖单量7",
  28858. "type": "integer"
  28859. },
  28860. "askordervolume8": {
  28861. "description": "卖单量8",
  28862. "type": "integer"
  28863. },
  28864. "askordervolume9": {
  28865. "description": "卖单量9",
  28866. "type": "integer"
  28867. },
  28868. "askqueueinfo": {
  28869. "description": "大利市卖港股用",
  28870. "type": "string"
  28871. },
  28872. "askvolume": {
  28873. "description": "卖量1",
  28874. "type": "integer"
  28875. },
  28876. "askvolume10": {
  28877. "description": "卖量10",
  28878. "type": "integer"
  28879. },
  28880. "askvolume2": {
  28881. "description": "卖量2",
  28882. "type": "integer"
  28883. },
  28884. "askvolume3": {
  28885. "description": "卖量3",
  28886. "type": "integer"
  28887. },
  28888. "askvolume4": {
  28889. "description": "卖量4",
  28890. "type": "integer"
  28891. },
  28892. "askvolume5": {
  28893. "description": "卖量5",
  28894. "type": "integer"
  28895. },
  28896. "askvolume6": {
  28897. "description": "卖量6",
  28898. "type": "integer"
  28899. },
  28900. "askvolume7": {
  28901. "description": "卖量7",
  28902. "type": "integer"
  28903. },
  28904. "askvolume8": {
  28905. "description": "卖量8",
  28906. "type": "integer"
  28907. },
  28908. "askvolume9": {
  28909. "description": "卖量9",
  28910. "type": "integer"
  28911. },
  28912. "averageprice": {
  28913. "description": "均价",
  28914. "type": "number"
  28915. },
  28916. "bid": {
  28917. "description": "买1",
  28918. "type": "number"
  28919. },
  28920. "bid10": {
  28921. "description": "买10",
  28922. "type": "number"
  28923. },
  28924. "bid2": {
  28925. "description": "买2",
  28926. "type": "number"
  28927. },
  28928. "bid3": {
  28929. "description": "买3",
  28930. "type": "number"
  28931. },
  28932. "bid4": {
  28933. "description": "买4",
  28934. "type": "number"
  28935. },
  28936. "bid5": {
  28937. "description": "买5",
  28938. "type": "number"
  28939. },
  28940. "bid6": {
  28941. "description": "买6",
  28942. "type": "number"
  28943. },
  28944. "bid7": {
  28945. "description": "买7",
  28946. "type": "number"
  28947. },
  28948. "bid8": {
  28949. "description": "买8",
  28950. "type": "number"
  28951. },
  28952. "bid9": {
  28953. "description": "买9",
  28954. "type": "number"
  28955. },
  28956. "bidorderid": {
  28957. "description": "买单号1",
  28958. "type": "integer"
  28959. },
  28960. "bidorderid2": {
  28961. "description": "买单号2",
  28962. "type": "integer"
  28963. },
  28964. "bidorderid3": {
  28965. "description": "买单号3",
  28966. "type": "integer"
  28967. },
  28968. "bidorderid4": {
  28969. "description": "买单号4",
  28970. "type": "integer"
  28971. },
  28972. "bidorderid5": {
  28973. "description": "买单号5",
  28974. "type": "integer"
  28975. },
  28976. "bidordervolume": {
  28977. "description": "买单量1",
  28978. "type": "integer"
  28979. },
  28980. "bidordervolume10": {
  28981. "description": "买单量10",
  28982. "type": "integer"
  28983. },
  28984. "bidordervolume2": {
  28985. "description": "买单量2",
  28986. "type": "integer"
  28987. },
  28988. "bidordervolume3": {
  28989. "description": "买单量3",
  28990. "type": "integer"
  28991. },
  28992. "bidordervolume4": {
  28993. "description": "买单量4",
  28994. "type": "integer"
  28995. },
  28996. "bidordervolume5": {
  28997. "description": "买单量5",
  28998. "type": "integer"
  28999. },
  29000. "bidordervolume6": {
  29001. "description": "买单量6",
  29002. "type": "integer"
  29003. },
  29004. "bidordervolume7": {
  29005. "description": "买单量7",
  29006. "type": "integer"
  29007. },
  29008. "bidordervolume8": {
  29009. "description": "买单量8",
  29010. "type": "integer"
  29011. },
  29012. "bidordervolume9": {
  29013. "description": "买单量9",
  29014. "type": "integer"
  29015. },
  29016. "bidqueueinfo": {
  29017. "description": "大利市买港股用",
  29018. "type": "string"
  29019. },
  29020. "bidvolume": {
  29021. "description": "买量1",
  29022. "type": "integer"
  29023. },
  29024. "bidvolume10": {
  29025. "description": "买量10",
  29026. "type": "integer"
  29027. },
  29028. "bidvolume2": {
  29029. "description": "买量2",
  29030. "type": "integer"
  29031. },
  29032. "bidvolume3": {
  29033. "description": "买量3",
  29034. "type": "integer"
  29035. },
  29036. "bidvolume4": {
  29037. "description": "买量4",
  29038. "type": "integer"
  29039. },
  29040. "bidvolume5": {
  29041. "description": "买量5",
  29042. "type": "integer"
  29043. },
  29044. "bidvolume6": {
  29045. "description": "买量6",
  29046. "type": "integer"
  29047. },
  29048. "bidvolume7": {
  29049. "description": "买量7",
  29050. "type": "integer"
  29051. },
  29052. "bidvolume8": {
  29053. "description": "买量8",
  29054. "type": "integer"
  29055. },
  29056. "bidvolume9": {
  29057. "description": "买量9",
  29058. "type": "integer"
  29059. },
  29060. "calloptionpremiums": {
  29061. "description": "认购期权1",
  29062. "type": "integer"
  29063. },
  29064. "calloptionpremiums2": {
  29065. "description": "认购期权2",
  29066. "type": "integer"
  29067. },
  29068. "calloptionpremiums3": {
  29069. "description": "认购期权3",
  29070. "type": "integer"
  29071. },
  29072. "calloptionpremiums4": {
  29073. "description": "认购期权4",
  29074. "type": "integer"
  29075. },
  29076. "calloptionpremiums5": {
  29077. "description": "认购期权5",
  29078. "type": "integer"
  29079. },
  29080. "cleartime": {
  29081. "description": "清盘时间",
  29082. "type": "integer"
  29083. },
  29084. "exchangecode": {
  29085. "description": "交易所代码",
  29086. "type": "integer"
  29087. },
  29088. "exchangedate": {
  29089. "description": "交易日",
  29090. "type": "integer"
  29091. },
  29092. "goodscode": {
  29093. "description": "商品代码",
  29094. "type": "string"
  29095. },
  29096. "grepmarketprice": {
  29097. "description": "暗盘价 港股专用",
  29098. "type": "number"
  29099. },
  29100. "highest": {
  29101. "description": "最高价",
  29102. "type": "number"
  29103. },
  29104. "holdincrement": {
  29105. "description": "单笔持仓",
  29106. "type": "integer"
  29107. },
  29108. "holdvolume": {
  29109. "description": "持仓",
  29110. "type": "integer"
  29111. },
  29112. "iep": {
  29113. "description": "平衡价 港股专用",
  29114. "type": "number"
  29115. },
  29116. "iev": {
  29117. "description": "平衡量 港股专用",
  29118. "type": "number"
  29119. },
  29120. "inventory": {
  29121. "description": "库存",
  29122. "type": "integer"
  29123. },
  29124. "iscleared": {
  29125. "description": "是否清盘标志",
  29126. "type": "integer"
  29127. },
  29128. "issettled": {
  29129. "description": "是否结算标志",
  29130. "type": "integer"
  29131. },
  29132. "last": {
  29133. "description": "最新价",
  29134. "type": "number"
  29135. },
  29136. "lastlot": {
  29137. "description": "最新成交手数",
  29138. "type": "integer"
  29139. },
  29140. "lasttime": {
  29141. "description": "行情时间(只有现价变化行情时间才变化)",
  29142. "type": "string"
  29143. },
  29144. "lastturnover": {
  29145. "description": "最新成交金额",
  29146. "type": "number"
  29147. },
  29148. "lastvolume": {
  29149. "description": "最新成交量",
  29150. "type": "integer"
  29151. },
  29152. "limitdown": {
  29153. "description": "跌停价",
  29154. "type": "number"
  29155. },
  29156. "limitup": {
  29157. "description": "涨停价",
  29158. "type": "number"
  29159. },
  29160. "lowest": {
  29161. "description": "最低价",
  29162. "type": "number"
  29163. },
  29164. "nontotalholdervolume": {
  29165. "description": "非交易持仓量",
  29166. "type": "integer"
  29167. },
  29168. "nontotallot": {
  29169. "description": "非交易总手数",
  29170. "type": "integer"
  29171. },
  29172. "nontotalturnover": {
  29173. "description": "非交易总金额",
  29174. "type": "integer"
  29175. },
  29176. "nontotalvolume": {
  29177. "description": "非交易总量",
  29178. "type": "integer"
  29179. },
  29180. "opened": {
  29181. "description": "开盘价",
  29182. "type": "number"
  29183. },
  29184. "opentime": {
  29185. "description": "开盘时间",
  29186. "type": "string"
  29187. },
  29188. "orderid": {
  29189. "description": "序号",
  29190. "type": "integer"
  29191. },
  29192. "preclose": {
  29193. "description": "昨收",
  29194. "type": "number"
  29195. },
  29196. "preholdvolume": {
  29197. "description": "昨持仓",
  29198. "type": "integer"
  29199. },
  29200. "presettle": {
  29201. "description": "昨结价",
  29202. "type": "number"
  29203. },
  29204. "publictradetype": {
  29205. "description": "公共交易标志类型 港股专用",
  29206. "type": "string"
  29207. },
  29208. "putoptionpremiums": {
  29209. "description": "认沽期权1",
  29210. "type": "integer"
  29211. },
  29212. "putoptionpremiums2": {
  29213. "description": "认沽期权2",
  29214. "type": "integer"
  29215. },
  29216. "putoptionpremiums3": {
  29217. "description": "认沽期权3",
  29218. "type": "integer"
  29219. },
  29220. "putoptionpremiums4": {
  29221. "description": "认沽期权4",
  29222. "type": "integer"
  29223. },
  29224. "putoptionpremiums5": {
  29225. "description": "认沽期权5",
  29226. "type": "integer"
  29227. },
  29228. "settle": {
  29229. "description": "结算价",
  29230. "type": "number"
  29231. },
  29232. "strikeprice": {
  29233. "description": "发行价",
  29234. "type": "number"
  29235. },
  29236. "totalaskvolume": {
  29237. "description": "内盘",
  29238. "type": "integer"
  29239. },
  29240. "totalbidvolume": {
  29241. "description": "外盘",
  29242. "type": "integer"
  29243. },
  29244. "totallot": {
  29245. "description": "总手数",
  29246. "type": "integer"
  29247. },
  29248. "totalturnover": {
  29249. "description": "总金额",
  29250. "type": "number"
  29251. },
  29252. "totalvolume": {
  29253. "description": "总量",
  29254. "type": "integer"
  29255. },
  29256. "utclasttime": {
  29257. "description": "utc的行情时间",
  29258. "type": "string"
  29259. }
  29260. }
  29261. },
  29262. "quote.QueryTSDataRsp": {
  29263. "type": "object",
  29264. "properties": {
  29265. "Count": {
  29266. "description": "交易日应有数据个数",
  29267. "type": "integer"
  29268. },
  29269. "decimalPlace": {
  29270. "description": "小数位",
  29271. "type": "integer"
  29272. },
  29273. "endTime": {
  29274. "description": "结束时间",
  29275. "type": "string"
  29276. },
  29277. "goodsCode": {
  29278. "description": "商品代码",
  29279. "type": "string"
  29280. },
  29281. "historyDatas": {
  29282. "description": "历史数据",
  29283. "type": "array",
  29284. "items": {
  29285. "$ref": "#/definitions/quote.HistoryData"
  29286. }
  29287. },
  29288. "outGoodsCode": {
  29289. "description": "外部商品代码",
  29290. "type": "string"
  29291. },
  29292. "preSettle": {
  29293. "description": "昨结价",
  29294. "type": "number"
  29295. },
  29296. "runSteps": {
  29297. "description": "交易日开休市计划",
  29298. "type": "array",
  29299. "items": {
  29300. "$ref": "#/definitions/quote.TSDataRunStep"
  29301. }
  29302. },
  29303. "startTime": {
  29304. "description": "开始时间",
  29305. "type": "string"
  29306. },
  29307. "tradeDate": {
  29308. "description": "交易日",
  29309. "type": "string"
  29310. }
  29311. }
  29312. },
  29313. "quote.TSDataRunStep": {
  29314. "type": "object",
  29315. "properties": {
  29316. "end": {
  29317. "description": "真实结束时间",
  29318. "type": "string"
  29319. },
  29320. "endflag": {
  29321. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  29322. "type": "integer"
  29323. },
  29324. "endtime": {
  29325. "description": "结束时间(HH:mm)",
  29326. "type": "string"
  29327. },
  29328. "endweekday": {
  29329. "description": "结束周几",
  29330. "type": "integer"
  29331. },
  29332. "groupid": {
  29333. "description": "分组ID",
  29334. "type": "integer"
  29335. },
  29336. "runstep": {
  29337. "description": "运行阶段 - 2:连续交易",
  29338. "type": "integer"
  29339. },
  29340. "sectionid": {
  29341. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  29342. "type": "integer"
  29343. },
  29344. "start": {
  29345. "description": "真实开始时间",
  29346. "type": "string"
  29347. },
  29348. "startflag": {
  29349. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  29350. "type": "integer"
  29351. },
  29352. "starttime": {
  29353. "description": "起始时间(HH:mm)",
  29354. "type": "string"
  29355. },
  29356. "startweekday": {
  29357. "description": "起始周几",
  29358. "type": "integer"
  29359. },
  29360. "tradeweekday": {
  29361. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  29362. "type": "integer"
  29363. }
  29364. }
  29365. },
  29366. "szdz.QueryConvertLogRsp": {
  29367. "type": "object",
  29368. "required": [
  29369. "logid"
  29370. ],
  29371. "properties": {
  29372. "accountid": {
  29373. "description": "资金账户ID",
  29374. "type": "integer"
  29375. },
  29376. "clientticket": {
  29377. "description": "客户端流水号",
  29378. "type": "string"
  29379. },
  29380. "converttype": {
  29381. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  29382. "type": "integer"
  29383. },
  29384. "createtime": {
  29385. "description": "记账时间",
  29386. "type": "string"
  29387. },
  29388. "daymaxvalue": {
  29389. "description": "配置当日最大转入限制",
  29390. "type": "number"
  29391. },
  29392. "daymaxvalue2": {
  29393. "description": "配置当日最大转入限制(转入)",
  29394. "type": "number"
  29395. },
  29396. "goodscode": {
  29397. "description": "商品代码",
  29398. "type": "string"
  29399. },
  29400. "goodsname": {
  29401. "description": "商品名称",
  29402. "type": "string"
  29403. },
  29404. "handlestatus": {
  29405. "description": "处理状态",
  29406. "type": "integer"
  29407. },
  29408. "innergoodsid": {
  29409. "description": "内部商品ID",
  29410. "type": "integer"
  29411. },
  29412. "inratio": {
  29413. "description": "配置转入比值",
  29414. "type": "integer"
  29415. },
  29416. "invalue": {
  29417. "description": "目标值",
  29418. "type": "number"
  29419. },
  29420. "logid": {
  29421. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29422. "type": "integer"
  29423. },
  29424. "mobile": {
  29425. "description": "手机号码(加密存储)",
  29426. "type": "string"
  29427. },
  29428. "outergoodscode": {
  29429. "description": "外部商品代码[JD\\PD]",
  29430. "type": "string"
  29431. },
  29432. "outratio": {
  29433. "description": "配置转出比值",
  29434. "type": "integer"
  29435. },
  29436. "outvalue": {
  29437. "description": "源值",
  29438. "type": "number"
  29439. },
  29440. "pddecimalplace": {
  29441. "description": "PD小数位",
  29442. "type": "integer"
  29443. },
  29444. "qty": {
  29445. "description": "数量",
  29446. "type": "string"
  29447. },
  29448. "remark": {
  29449. "description": "备注",
  29450. "type": "string"
  29451. },
  29452. "sessionid": {
  29453. "description": "会话ID",
  29454. "type": "integer"
  29455. },
  29456. "timemaxvalue": {
  29457. "description": "配置单次最大转入限制",
  29458. "type": "number"
  29459. },
  29460. "timemaxvalue2": {
  29461. "description": "配置单次最大转入限制(转入)",
  29462. "type": "number"
  29463. },
  29464. "timeminvalue": {
  29465. "description": "配置单次最小数量限制",
  29466. "type": "number"
  29467. },
  29468. "timeminvalue2": {
  29469. "description": "配置单次最小数量限制(转入)",
  29470. "type": "number"
  29471. },
  29472. "tradedate": {
  29473. "description": "交易日(yyyyMMdd)",
  29474. "type": "string"
  29475. },
  29476. "userid": {
  29477. "description": "用户ID",
  29478. "type": "integer"
  29479. }
  29480. }
  29481. },
  29482. "szdz.QueryGoodsPickupRsp": {
  29483. "type": "object",
  29484. "required": [
  29485. "takeorderid"
  29486. ],
  29487. "properties": {
  29488. "accountid": {
  29489. "description": "账户ID",
  29490. "type": "integer"
  29491. },
  29492. "address": {
  29493. "description": "提货人详细地址",
  29494. "type": "string"
  29495. },
  29496. "auditer": {
  29497. "description": "审核人",
  29498. "type": "integer"
  29499. },
  29500. "audittime": {
  29501. "description": "审核时间",
  29502. "type": "string"
  29503. },
  29504. "cardnum": {
  29505. "description": "提货人证件号码",
  29506. "type": "string"
  29507. },
  29508. "cardtypeid": {
  29509. "description": "提货人证件类型",
  29510. "type": "integer"
  29511. },
  29512. "checkremark": {
  29513. "description": "审核备注",
  29514. "type": "string"
  29515. },
  29516. "goodscode": {
  29517. "description": "商品代码",
  29518. "type": "string"
  29519. },
  29520. "goodsid": {
  29521. "description": "商品ID",
  29522. "type": "integer"
  29523. },
  29524. "goodsname": {
  29525. "description": "商品名称",
  29526. "type": "string"
  29527. },
  29528. "handlestatus": {
  29529. "description": "处理状态",
  29530. "type": "integer"
  29531. },
  29532. "marketid": {
  29533. "description": "市场ID",
  29534. "type": "integer"
  29535. },
  29536. "phonenum": {
  29537. "description": "提货人联系方式",
  29538. "type": "string"
  29539. },
  29540. "qty": {
  29541. "description": "提货数量",
  29542. "type": "number"
  29543. },
  29544. "recivername": {
  29545. "description": "提货人姓名",
  29546. "type": "string"
  29547. },
  29548. "reqtime": {
  29549. "description": "更新时间",
  29550. "type": "string"
  29551. },
  29552. "takemode": {
  29553. "description": "提货方式 - 2:自提 3:配送",
  29554. "type": "integer"
  29555. },
  29556. "takeorderid": {
  29557. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29558. "type": "string"
  29559. },
  29560. "takeorderstatus": {
  29561. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29562. "type": "integer"
  29563. },
  29564. "takeremark": {
  29565. "description": "提货备注",
  29566. "type": "string"
  29567. },
  29568. "tradedate": {
  29569. "description": "交易日(yyyyMMdd)",
  29570. "type": "string"
  29571. },
  29572. "userid": {
  29573. "description": "用户ID",
  29574. "type": "integer"
  29575. }
  29576. }
  29577. },
  29578. "szdz.QueryRecieptOrderRsp": {
  29579. "type": "object",
  29580. "required": [
  29581. "ordertime"
  29582. ],
  29583. "properties": {
  29584. "accountName": {
  29585. "description": "所属账号名称(已脱敏)",
  29586. "type": "string"
  29587. },
  29588. "accountid": {
  29589. "description": "资金账号",
  29590. "type": "integer"
  29591. },
  29592. "buyorsell": {
  29593. "description": "方向 - 0:买 1:卖",
  29594. "type": "integer"
  29595. },
  29596. "enableqty": {
  29597. "description": "可摘数量",
  29598. "type": "integer"
  29599. },
  29600. "goodscode": {
  29601. "description": "商品代码",
  29602. "type": "string"
  29603. },
  29604. "goodsid": {
  29605. "description": "商品ID",
  29606. "type": "integer"
  29607. },
  29608. "goodsname": {
  29609. "description": "商品名称",
  29610. "type": "string"
  29611. },
  29612. "orderid": {
  29613. "description": "委托单号",
  29614. "type": "string"
  29615. },
  29616. "orderprice": {
  29617. "description": "委托价格",
  29618. "type": "number"
  29619. },
  29620. "ordertime": {
  29621. "description": "委托时间",
  29622. "type": "string"
  29623. },
  29624. "tradedate": {
  29625. "description": "交易日(yyyyMMdd)",
  29626. "type": "string"
  29627. }
  29628. }
  29629. },
  29630. "szdz.QuerySZDZTradePositionRsp": {
  29631. "type": "object",
  29632. "properties": {
  29633. "accountid": {
  29634. "description": "账号Id",
  29635. "type": "integer"
  29636. },
  29637. "agreeunit": {
  29638. "description": "合约单位",
  29639. "type": "number"
  29640. },
  29641. "averageprice": {
  29642. "description": "持仓均价",
  29643. "type": "number"
  29644. },
  29645. "buyorsell": {
  29646. "description": "方向 - 0:买 1:卖",
  29647. "type": "integer"
  29648. },
  29649. "closetotalqty": {
  29650. "description": "平仓总数量",
  29651. "type": "integer"
  29652. },
  29653. "curholderamount": {
  29654. "description": "当前持仓总金额",
  29655. "type": "number"
  29656. },
  29657. "curpositionqty": {
  29658. "description": "当前持仓总数量",
  29659. "type": "integer"
  29660. },
  29661. "currencyid": {
  29662. "description": "报价货币ID",
  29663. "type": "integer"
  29664. },
  29665. "curtdposition": {
  29666. "description": "期末今日头寸",
  29667. "type": "integer"
  29668. },
  29669. "decimalplace": {
  29670. "description": "报价小数位",
  29671. "type": "integer"
  29672. },
  29673. "enableqty": {
  29674. "description": "可用量",
  29675. "type": "integer"
  29676. },
  29677. "fretdposition": {
  29678. "description": "冻结今日头寸",
  29679. "type": "integer"
  29680. },
  29681. "frozenqty": {
  29682. "description": "持仓冻结数量",
  29683. "type": "integer"
  29684. },
  29685. "goodscode": {
  29686. "description": "商品代码(内部)",
  29687. "type": "string"
  29688. },
  29689. "goodsid": {
  29690. "description": "商品Id",
  29691. "type": "integer"
  29692. },
  29693. "goodsname": {
  29694. "description": "商品名称",
  29695. "type": "string"
  29696. },
  29697. "goodunit": {
  29698. "description": "报价单位",
  29699. "type": "string"
  29700. },
  29701. "goodunitid": {
  29702. "description": "报价单位ID",
  29703. "type": "integer"
  29704. },
  29705. "holderamount": {
  29706. "description": "期初持仓总金额",
  29707. "type": "number"
  29708. },
  29709. "marketid": {
  29710. "description": "市场ID",
  29711. "type": "integer"
  29712. },
  29713. "openreqqty": {
  29714. "description": "开仓申请数量",
  29715. "type": "integer"
  29716. },
  29717. "opentotalqty": {
  29718. "description": "开仓总数量",
  29719. "type": "integer"
  29720. },
  29721. "otherfrozenqty": {
  29722. "description": "持仓其他冻结数量(交割冻结)",
  29723. "type": "integer"
  29724. },
  29725. "positionqty": {
  29726. "description": "期初持仓数量",
  29727. "type": "integer"
  29728. },
  29729. "szdz3freezqty": {
  29730. "description": "尚志大宗转换冻结总数量",
  29731. "type": "integer"
  29732. },
  29733. "tnqty": {
  29734. "description": "T+N冻结总量",
  29735. "type": "integer"
  29736. },
  29737. "tnusedqty": {
  29738. "description": "T+N使用量",
  29739. "type": "integer"
  29740. },
  29741. "trademode": {
  29742. "description": "交易模式",
  29743. "type": "integer"
  29744. },
  29745. "usedmargin": {
  29746. "description": "占用保证金",
  29747. "type": "number"
  29748. }
  29749. }
  29750. },
  29751. "taaccount.QueryAmountLogRsp": {
  29752. "type": "object",
  29753. "required": [
  29754. "accountid",
  29755. "amount",
  29756. "amountadjusttype",
  29757. "autoid",
  29758. "balance",
  29759. "createtime",
  29760. "currentbalance",
  29761. "operatetype"
  29762. ],
  29763. "properties": {
  29764. "OPERATETYPENAME": {
  29765. "description": "资金操作类型名称",
  29766. "type": "string"
  29767. },
  29768. "accountid": {
  29769. "description": "资金账户ID",
  29770. "type": "integer"
  29771. },
  29772. "agoodscode": {
  29773. "description": "竞拍商品代码",
  29774. "type": "string"
  29775. },
  29776. "agoodsname": {
  29777. "description": "竞拍商品名称",
  29778. "type": "string"
  29779. },
  29780. "amount": {
  29781. "description": "资金金额",
  29782. "type": "number"
  29783. },
  29784. "amountadjusttype": {
  29785. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29786. "type": "integer"
  29787. },
  29788. "autoid": {
  29789. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29790. "type": "integer"
  29791. },
  29792. "balance": {
  29793. "description": "期初余额",
  29794. "type": "number"
  29795. },
  29796. "businesscode": {
  29797. "description": "业务编号",
  29798. "type": "integer"
  29799. },
  29800. "createtime": {
  29801. "description": "发生时间",
  29802. "type": "string"
  29803. },
  29804. "currencyid": {
  29805. "description": "币种ID",
  29806. "type": "integer"
  29807. },
  29808. "currentbalance": {
  29809. "description": "期末余额(变动后金额)",
  29810. "type": "number"
  29811. },
  29812. "dgoodscode": {
  29813. "description": "交割商品代码",
  29814. "type": "string"
  29815. },
  29816. "dgoodsname": {
  29817. "description": "交割商品名称",
  29818. "type": "string"
  29819. },
  29820. "goodscode": {
  29821. "description": "商品代码",
  29822. "type": "string"
  29823. },
  29824. "goodsid": {
  29825. "description": "商品ID",
  29826. "type": "integer"
  29827. },
  29828. "goodsname": {
  29829. "description": "商品名称",
  29830. "type": "string"
  29831. },
  29832. "marketid": {
  29833. "description": "市场ID",
  29834. "type": "integer"
  29835. },
  29836. "marketname": {
  29837. "description": "市场名称",
  29838. "type": "string"
  29839. },
  29840. "moneyticket": {
  29841. "description": "资金流水号:银行端流水号",
  29842. "type": "integer"
  29843. },
  29844. "operatetype": {
  29845. "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:营销收款",
  29846. "type": "integer"
  29847. },
  29848. "relationorderid": {
  29849. "description": "关联单号",
  29850. "type": "string"
  29851. },
  29852. "remark": {
  29853. "description": "备注",
  29854. "type": "string"
  29855. },
  29856. "trademode": {
  29857. "description": "交易模式",
  29858. "type": "integer"
  29859. }
  29860. }
  29861. },
  29862. "taaccount.QueryHisAmountLogRsp": {
  29863. "type": "object",
  29864. "required": [
  29865. "accountid",
  29866. "amount",
  29867. "amountadjusttype",
  29868. "autoid",
  29869. "balance",
  29870. "createtime",
  29871. "currentbalance",
  29872. "histradedate",
  29873. "operatetype"
  29874. ],
  29875. "properties": {
  29876. "OPERATETYPENAME": {
  29877. "description": "资金操作类型名称",
  29878. "type": "string"
  29879. },
  29880. "accountid": {
  29881. "description": "资金账户ID",
  29882. "type": "integer"
  29883. },
  29884. "agoodscode": {
  29885. "description": "竞拍商品代码",
  29886. "type": "string"
  29887. },
  29888. "agoodsname": {
  29889. "description": "竞拍商品名称",
  29890. "type": "string"
  29891. },
  29892. "amount": {
  29893. "description": "资金金额",
  29894. "type": "number"
  29895. },
  29896. "amountadjusttype": {
  29897. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29898. "type": "integer"
  29899. },
  29900. "autoid": {
  29901. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29902. "type": "integer"
  29903. },
  29904. "balance": {
  29905. "description": "期初余额",
  29906. "type": "number"
  29907. },
  29908. "businesscode": {
  29909. "description": "业务编号",
  29910. "type": "integer"
  29911. },
  29912. "createtime": {
  29913. "description": "发生时间",
  29914. "type": "string"
  29915. },
  29916. "currencyid": {
  29917. "description": "币种ID",
  29918. "type": "integer"
  29919. },
  29920. "currentbalance": {
  29921. "description": "期末余额(变动后金额)",
  29922. "type": "number"
  29923. },
  29924. "dgoodscode": {
  29925. "description": "交割商品代码",
  29926. "type": "string"
  29927. },
  29928. "dgoodsname": {
  29929. "description": "交割商品名称",
  29930. "type": "string"
  29931. },
  29932. "goodscode": {
  29933. "description": "商品代码",
  29934. "type": "string"
  29935. },
  29936. "goodsid": {
  29937. "description": "商品ID",
  29938. "type": "integer"
  29939. },
  29940. "goodsname": {
  29941. "description": "商品名称",
  29942. "type": "string"
  29943. },
  29944. "histradedate": {
  29945. "description": "历史交易日",
  29946. "type": "string"
  29947. },
  29948. "isvaliddata": {
  29949. "description": "是否有效 - 0:无效 1:有效",
  29950. "type": "integer"
  29951. },
  29952. "marketid": {
  29953. "description": "市场ID",
  29954. "type": "integer"
  29955. },
  29956. "marketname": {
  29957. "description": "市场名称",
  29958. "type": "string"
  29959. },
  29960. "moneyticket": {
  29961. "description": "资金流水号:银行端流水号",
  29962. "type": "integer"
  29963. },
  29964. "operatetype": {
  29965. "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:营销收款",
  29966. "type": "integer"
  29967. },
  29968. "relationorderid": {
  29969. "description": "关联单号",
  29970. "type": "string"
  29971. },
  29972. "remark": {
  29973. "description": "备注",
  29974. "type": "string"
  29975. },
  29976. "trademode": {
  29977. "description": "交易模式",
  29978. "type": "integer"
  29979. }
  29980. }
  29981. },
  29982. "trade.QueryRecieptOrderRsp": {
  29983. "type": "object",
  29984. "required": [
  29985. "ordertime"
  29986. ],
  29987. "properties": {
  29988. "accountName": {
  29989. "description": "所属账号名称(已脱敏)",
  29990. "type": "string"
  29991. },
  29992. "accountid": {
  29993. "description": "资金账号",
  29994. "type": "integer"
  29995. },
  29996. "buyorsell": {
  29997. "description": "方向 - 0:买 1:卖",
  29998. "type": "integer"
  29999. },
  30000. "enableqty": {
  30001. "description": "可摘数量",
  30002. "type": "integer"
  30003. },
  30004. "goodscode": {
  30005. "description": "商品代码",
  30006. "type": "string"
  30007. },
  30008. "goodsid": {
  30009. "description": "商品ID",
  30010. "type": "integer"
  30011. },
  30012. "goodsname": {
  30013. "description": "商品名称",
  30014. "type": "string"
  30015. },
  30016. "orderid": {
  30017. "description": "委托单号",
  30018. "type": "string"
  30019. },
  30020. "orderprice": {
  30021. "description": "委托价格",
  30022. "type": "number"
  30023. },
  30024. "ordertime": {
  30025. "description": "委托时间",
  30026. "type": "string"
  30027. },
  30028. "tradedate": {
  30029. "description": "交易日(yyyyMMdd)",
  30030. "type": "string"
  30031. }
  30032. }
  30033. },
  30034. "user.LoginQueryRsp": {
  30035. "type": "object",
  30036. "properties": {
  30037. "areaRoles": {
  30038. "description": "所属角色信息",
  30039. "type": "array",
  30040. "items": {
  30041. "$ref": "#/definitions/models.Arearole"
  30042. }
  30043. },
  30044. "externalExchanges": {
  30045. "description": "外部交易所",
  30046. "type": "array",
  30047. "items": {
  30048. "$ref": "#/definitions/models.Externalexchange"
  30049. }
  30050. },
  30051. "goodsgroups": {
  30052. "description": "商品组",
  30053. "type": "array",
  30054. "items": {
  30055. "$ref": "#/definitions/models.Goodsgroup"
  30056. }
  30057. },
  30058. "loginAccount": {
  30059. "description": "登录账号",
  30060. "type": "object",
  30061. "$ref": "#/definitions/models.Loginaccount"
  30062. },
  30063. "markets": {
  30064. "description": "市场",
  30065. "type": "array",
  30066. "items": {
  30067. "$ref": "#/definitions/models.Market"
  30068. }
  30069. },
  30070. "systemParams": {
  30071. "description": "系统参数",
  30072. "type": "array",
  30073. "items": {
  30074. "$ref": "#/definitions/models.Systemparam"
  30075. }
  30076. },
  30077. "userAccount": {
  30078. "description": "用户账号",
  30079. "type": "object",
  30080. "$ref": "#/definitions/models.Useraccount"
  30081. },
  30082. "userInfo": {
  30083. "description": "用户信息",
  30084. "type": "object",
  30085. "$ref": "#/definitions/models.Userinfo"
  30086. },
  30087. "username": {
  30088. "description": "用户姓名",
  30089. "type": "string"
  30090. }
  30091. }
  30092. }
  30093. },
  30094. "securityDefinitions": {
  30095. "ApiKeyAuth": {
  30096. "type": "apiKey",
  30097. "name": "Authorization",
  30098. "in": "header"
  30099. }
  30100. }
  30101. }`
  30102. type swaggerInfo struct {
  30103. Version string
  30104. Host string
  30105. BasePath string
  30106. Schemes []string
  30107. Title string
  30108. Description string
  30109. }
  30110. // SwaggerInfo holds exported Swagger Info so clients can modify it
  30111. var SwaggerInfo = swaggerInfo{
  30112. Version: "1.0",
  30113. Host: "",
  30114. BasePath: "/api",
  30115. Schemes: []string{},
  30116. Title: "MTP2.0 查询服务 API",
  30117. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  30118. }
  30119. type s struct{}
  30120. func (s *s) ReadDoc() string {
  30121. sInfo := SwaggerInfo
  30122. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  30123. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  30124. "marshal": func(v interface{}) string {
  30125. a, _ := json.Marshal(v)
  30126. return string(a)
  30127. },
  30128. }).Parse(doc)
  30129. if err != nil {
  30130. return doc
  30131. }
  30132. var tpl bytes.Buffer
  30133. if err := t.Execute(&tpl, sInfo); err != nil {
  30134. return doc
  30135. }
  30136. return tpl.String()
  30137. }
  30138. func init() {
  30139. swag.Register(swag.Name, &s{})
  30140. }